:root {
  --bg-main: #020617;
  --bg-elevated: #050816;
  --bg-elevated-alt: #020819;
  --border-subtle: rgba(148, 163, 184, 0.18);

  --accent: #4f46e5;
  --accent-soft: #6366f1;
  --accent-strong: #7c3aed;
  --accent-green: #22c55e;
  --accent-red: #ef4444;

  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --text-soft: #6b7280;
  --text-contrast: #0b1020;

  --radius-lg: 24px;
  --radius-pill: 999px;

  --shell-width: 1120px;
}

/* Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #050816 55%, #020617 100%);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.shell {
  max-width: var(--shell-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.8));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, #22c55e, #4f46e5 45%, #020617 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #e5e7eb;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--text-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-link:hover {
  color: #e5e7eb;
  background-color: rgba(148, 163, 184, 0.16);
}

.nav-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-tag-text {
  font-size: 0.75rem;
  color: var(--text-soft);
}

/* Pills / badges */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 0.28rem 0.8rem;
  font-size: 0.75rem;
  border: 1px solid transparent;
  white-space: nowrap;
}

.pill-accent {
  background: linear-gradient(to right, var(--accent), var(--accent-strong));
  color: #e5e7eb;
}

.pill-dark {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.2);
  color: var(--text-muted);
}

.pill-outline {
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.6);
}

.pill-success {
  background: rgba(22, 163, 74, 0.12);
  border-color: rgba(34, 197, 94, 0.6);
  color: #bbf7d0;
}

.pill-small {
  padding: 0.18rem 0.6rem;
  font-size: 0.7rem;
}

/* Hero */

.hero {
  padding: 4rem 0 3.5rem;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.75rem;
  align-items: center;
}

.hero-title {
  font-size: 2.6rem;
  line-height: 1.1;
  margin: 1.5rem 0 1rem;
}

.hero-title .accent {
  background: linear-gradient(to right, #a5b4fc, #4f46e5);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--text-muted);
  max-width: 34rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.4rem 0 1.7rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text-soft);
  max-width: 34rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.4rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: linear-gradient(to right, var(--accent), var(--accent-strong));
  color: #e5e7eb;
  box-shadow: 0 18px 40px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 45px rgba(79, 70, 229, 0.4);
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.35);
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.7);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.9);
}

.btn-submit .btn-icon {
  margin-left: 0.4rem;
}

/* Hero card */

.hero-card {
  background: radial-gradient(circle at top left, #111827 0, #020617 60%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1.4rem 1.3rem 1.3rem;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.8);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}

.card-title {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbd5f5;
}

.card-subtitle {
  font-size: 0.75rem;
  color: var(--text-soft);
}

.hero-card-balance {
  margin-bottom: 1.3rem;
}

.balance-label {
  font-size: 0.75rem;
  color: var(--text-soft);
}

.balance-value {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 0.2rem;
}

.balance-meta {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.balance-meta span {
  color: #c4b5fd;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.asset-card {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
  border-radius: 14px;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.asset-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

.asset-name {
  font-weight: 500;
}

.asset-change {
  font-size: 0.75rem;
}

.asset-change.positive {
  color: #4ade80;
}

.asset-change.negative {
  color: #f97373;
}

.asset-amount {
  font-size: 0.9rem;
}

.asset-fiat {
  font-size: 0.75rem;
  color: var(--text-soft);
}

.hero-card-actions {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.chip {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.9);
  font-size: 0.8rem;
  color: var(--text-main);
  cursor: pointer;
}

.hero-card-footnote {
  font-size: 0.7rem;
  color: var(--text-soft);
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.85), #020617 65%);
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
}

.section-lead {
  color: var(--text-muted);
  max-width: 38rem;
  margin-bottom: 1.8rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.feature-card {
  background: rgba(15, 23, 42, 0.86);
  border-radius: 18px;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border-subtle);
}

.feature-card h3 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 0.45rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Company */

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.7rem;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.5rem;
  font-size: 0.9rem;
}

.info-list li + li {
  margin-top: 0.3rem;
}

.company-card {
  background: rgba(15, 23, 42, 0.88);
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  padding: 1.2rem 1.3rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 1.7rem;
  align-items: flex-start;
}

.contact-card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  padding: 1.4rem 1.5rem 1.3rem;
}

.contact-form .field {
  margin-bottom: 0.8rem;
}

.contact-form label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.95);
  padding: 0.55rem 0.75rem;
  font-size: 0.88rem;
  color: var(--text-main);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.5);
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.cta-footnote {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-soft);
}

.cta-footnote span {
  color: #e5e7eb;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(2, 6, 23, 0.96);
  padding: 1.2rem 0 1.4rem;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-title {
  margin: 0 0 0.2rem;
  font-size: 0.85rem;
}

.footer-text {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.8rem;
}

.footer-link {
  color: var(--text-muted);
}

.footer-link:hover {
  color: #e5e7eb;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .company-grid,
  .contact-grid,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav {
    display: none;
  }

  .header-shell {
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3rem;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .section {
    padding: 3rem 0;
  }
}
