:root {
  --primary: #2563eb;
  --primary-soft: rgba(37, 99, 235, 0.12);
  --primary-dark: #1d4ed8;
  --bg: #020617;
  --bg-soft: #020617;
  --card-bg: #020617;
  --card-border: rgba(148, 163, 184, 0.15);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --accent-green: #22c55e;
  --accent-yellow: #fbbf24;
  --danger: #ef4444;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.7);
  --shadow-card: 0 18px 38px rgba(15, 23, 42, 0.8);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0f172a 0, #020617 45%, #000 100%);
  color: var(--text-main);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15,23,42,0.96), rgba(15,23,42,0.85), transparent);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0 1.25rem;
  gap: 1.5rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 20%, #60a5fa, #2563eb 45%, #1e3a8a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.55);
  overflow: hidden;
}

.header-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.header-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.header-nav a {
  position: relative;
  transition: color 0.15s ease;
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #60a5fa, #2563eb, #22c55e);
  transition: width 0.18s ease-out;
}

.header-nav a:hover {
  color: #e5e7eb;
}

.header-nav a:hover::after {
  width: 60%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.16s ease-out;
  white-space: nowrap;
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.9);
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 1);
  border-color: rgba(148, 163, 184, 0.9);
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #f9fafb;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.65);
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
}

.mobile-nav-toggle {
  display: none;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 999px;
  padding: 0.4rem 0.6rem;
  background: rgba(15, 23, 42, 0.98);
  cursor: pointer;
}

.mobile-nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  position: relative;
}

.mobile-nav-toggle span::before,
.mobile-nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

.mobile-nav-toggle span::before {
  top: -5px;
}

.mobile-nav-toggle span::after {
  top: 5px;
}

/* MOBILE NAV – full height, solid */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: #020617;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
  z-index: 60;
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 260px;
  max-width: 80%;
  height: 100vh;
  background: #020617;
  box-shadow: 24px 0 80px rgba(0, 0, 0, 0.85);
  transform: translateX(-100%);
  transition: transform 0.22s ease-out;
  z-index: 61;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.1rem;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.mobile-nav-close {
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 1.3rem;
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.mobile-nav-links a {
  color: var(--text-muted);
}

.mobile-nav-links a:hover {
  color: #e5e7eb;
}

.mobile-nav-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mobile-nav-footer .btn {
  width: 100%;
  justify-content: center;
}

/* HERO */
.hero {
  padding: 2.5rem 0 3.75rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.25fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.22rem 0.6rem 0.22rem 0.25rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-muted);
  font-size: 0.7rem;
  margin-bottom: 1.1rem;
}

.hero-badge-pill {
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(34, 197, 94, 0.15);
  color: #bbf7d0;
}

.hero-title {
  font-size: clamp(2.15rem, 2.9vw + 1rem, 3rem);
  line-height: 1.07;
  margin-bottom: 0.9rem;
}

.hero-title span.highlight {
  background: linear-gradient(120deg, #60a5fa, #22c55e, #eab308);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.2);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.4rem;
}

.hero-stat {
  min-width: 120px;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.hero-stat-value {
  font-size: 1.1rem;
  font-weight: 600;
}

.hero-right {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), rgba(15, 23, 42, 0.95));
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
  padding: 1.35rem 1.35rem 1.25rem;
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}

.hero-card-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e5e7eb;
}

.hero-card-badge {
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: rgba(34, 197, 94, 0.18);
  color: #bbf7d0;
}

.hero-balance {
  margin-bottom: 1rem;
}

.hero-balance-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.hero-balance-value {
  font-size: 1.6rem;
  font-weight: 600;
}

.hero-progress {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  overflow: hidden;
  margin-top: 0.5rem;
  margin-bottom: 1.2rem;
}

.hero-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #a3e635);
  width: 62%;
}

.hero-card-row {
      display: flex;
      justify-content: space-between;
      gap: 0.75rem;
      margin-bottom: 0.6rem;
      font-size: 0.78rem;
    }

    .hero-card-row span.label {
      color: var(--text-muted);
    }

    .hero-card-row span.value {
      font-weight: 500;
    }

    .hero-tag-pill {
      margin-top: 0.6rem;
      padding: 0.3rem 0.65rem;
      border-radius: 999px;
      font-size: 0.72rem;
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      background: rgba(15, 23, 42, 0.8);
      color: var(--text-muted);
      border: 1px solid rgba(148, 163, 184, 0.35);
    }

    .hero-tag-pill-dot {
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: var(--accent-yellow);
    }

    .hero-floating-card {
      position: absolute;
      right: -8px;
      bottom: -20px;
      width: 68%;
      border-radius: 18px;
      background: rgba(15, 23, 42, 0.96);
      border: 1px solid rgba(148, 163, 184, 0.35);
      padding: 0.75rem 0.8rem;
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
    }

    .hero-floating-row {
      display: flex;
      justify-content: space-between;
      font-size: 0.75rem;
    }

    .hero-floating-label {
      color: var(--text-muted);
    }

    .hero-floating-value {
      font-weight: 500;
    }

    .hero-chip-row {
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
    }

    .hero-chip {
      padding: 0.2rem 0.55rem;
      border-radius: 999px;
      border: 1px solid rgba(55, 65, 81, 0.7);
      font-size: 0.7rem;
      color: var(--text-muted);
    }

    /* SECTION BASE */
    .section {
      padding: 0 0 3.5rem;
    }

    .section-header {
      text-align: center;
      margin-bottom: 2.2rem;
    }

    .section-eyebrow {
      font-size: 0.75rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 0.3rem;
    }

    .section-title {
      font-size: 1.6rem;
      font-weight: 600;
      margin-bottom: 0.4rem;
    }

    .section-title span.highlight {
      color: #60a5fa;
    }

    .section-subtitle {
      font-size: 0.9rem;
      color: var(--text-muted);
      max-width: 520px;
      margin: 0 auto;
      line-height: 1.6;
    }

    /* FEATURES */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 1.3rem;
    }

    .feature-card {
      background: radial-gradient(circle at top, rgba(56, 189, 248, 0.08), rgba(15, 23, 42, 0.95));
      border-radius: var(--radius-md);
      padding: 1.15rem 1.1rem;
      border: 1px solid var(--card-border);
      box-shadow: 0 10px 30px rgba(15, 23, 42, 0.8);
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
    }

    .feature-icon {
      width: 32px;
      height: 32px;
      border-radius: 999px;
      background: rgba(37, 99, 235, 0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
    }

    .feature-title {
      font-size: 0.95rem;
      font-weight: 600;
    }

    .feature-text {
      font-size: 0.8rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* HOW IT WORKS (extra content) */
    .how-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.3rem;
      margin-top: 1.5rem;
    }
    .how-card {
      border-radius: var(--radius-md);
      border: 1px solid var(--card-border);
      background: rgba(15,23,42,0.95);
      padding: 1.2rem 1.1rem;
      box-shadow: 0 10px 30px rgba(15,23,42,0.9);
      font-size: 0.85rem;
      color: var(--text-muted);
    }
    .how-step {
      font-size: 0.78rem;
      color: #a5b4fc;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      margin-bottom: 0.45rem;
    }
    .how-card h3 {
      font-size: 0.98rem;
      margin-bottom: 0.4rem;
      color: #e5e7eb;
    }

    /* PLANS */
    .plans-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
      gap: 1.8rem;
      align-items: flex-start;
    }

    .plans-intro-card {
      border-radius: var(--radius-lg);
      padding: 1.5rem 1.4rem;
      border: 1px solid var(--card-border);
      background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.11), rgba(15, 23, 42, 0.97));
      box-shadow: var(--shadow-card);
    }

    .plans-intro-card h3 {
      font-size: 1.2rem;
      margin-bottom: 0.6rem;
    }

    .plans-intro-card p {
      font-size: 0.88rem;
      color: var(--text-muted);
      line-height: 1.7;
      margin-bottom: 1rem;
    }

    .plans-checklist {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-bottom: 1.2rem;
    }

    .plans-checklist li {
      display: flex;
      align-items: center;
      gap: 0.45rem;
    }

    .plans-check-icon {
      width: 16px;
      height: 16px;
      border-radius: 999px;
      background: rgba(34, 197, 94, 0.15);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
      color: #bbf7d0;
    }

    .plans-meta {
      display: flex;
      gap: 1.1rem;
      flex-wrap: wrap;
      font-size: 0.76rem;
      color: var(--text-muted);
    }

    .plans-meta span strong {
      color: #e5e7eb;
    }

    .plans-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.1rem;
    }

    .plan-card {
      border-radius: var(--radius-md);
      border: 1px solid var(--card-border);
      background: rgba(15, 23, 42, 0.96);
      padding: 1rem 0.95rem 1.05rem;
      display: flex;
      flex-direction: column;
      gap: 0.45rem;
    }

    .plan-badge {
      font-size: 0.7rem;
      padding: 0.18rem 0.55rem;
      border-radius: 999px;
      background: rgba(55, 65, 81, 0.9);
      color: #e5e7eb;
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      width: fit-content;
      margin-bottom: 0.3rem;
    }

    .plan-badge.popular {
      background: rgba(37, 99, 235, 0.25);
      color: #bfdbfe;
      border: 1px solid rgba(59, 130, 246, 0.7);
    }

    .plan-name {
      font-size: 0.95rem;
      font-weight: 600;
    }

    .plan-rate {
      font-size: 1.15rem;
      font-weight: 600;
      margin-top: 0.15rem;
    }

    .plan-rate span {
      font-size: 0.75rem;
      color: var(--text-muted);
      font-weight: 400;
    }

    .plan-meta {
      font-size: 0.78rem;
      color: var(--text-muted);
      margin-bottom: 0.25rem;
    }

    .plan-list {
      list-style: none;
      margin: 0.4rem 0 0.6rem;
      display: flex;
      flex-direction: column;
      gap: 0.3rem;
      font-size: 0.78rem;
      color: var(--text-muted);
    }

    .plan-list li {
      display: flex;
      align-items: center;
      gap: 0.35rem;
    }

    .plan-dot {
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: rgba(148, 163, 184, 0.9);
    }

    .plan-footer {
      margin-top: auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 0.4rem;
    }

    .plan-min {
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    .plan-min strong {
      color: #e5e7eb;
    }

    .plan-btn {
      padding: 0.32rem 0.8rem;
      font-size: 0.78rem;
    }

    /* CTA BANNER */
    .cta-banner {
      margin-bottom: 3.5rem;
      border-radius: 20px;
      padding: 1.6rem 1.5rem;
      background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.4), rgba(15, 23, 42, 0.98));
      border: 1px solid rgba(96, 165, 250, 0.4);
      box-shadow: 0 20px 65px rgba(30, 64, 175, 0.7);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
      flex-wrap: wrap;
    }

    .cta-text h3 {
      font-size: 1.2rem;
      margin-bottom: 0.35rem;
    }

    .cta-text p {
      font-size: 0.85rem;
      color: #e5e7eb;
      max-width: 420px;
      line-height: 1.6;
    }

    .cta-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
    }

    /* TRADING VIEW SECTION */
    .markets-section-inner {
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
      gap: 1.5rem;
      align-items: center;
    }
    .markets-copy {
      font-size: 0.88rem;
      color: var(--text-muted);
      line-height: 1.7;
    }
    .markets-copy h3 {
      font-size: 1.1rem;
      margin-bottom: 0.5rem;
      color: #e5e7eb;
    }
    .markets-copy ul {
      margin-top: 0.6rem;
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
    }
    .markets-copy ul li {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.84rem;
    }
    .markets-copy ul li span {
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: rgba(96,165,250,0.9);
    }
    .markets-widget-card {
      border-radius: var(--radius-lg);
      border: 1px solid var(--card-border);
      background: rgba(15,23,42,0.98);
      padding: 0.8rem;
      box-shadow: 0 18px 45px rgba(15,23,42,0.9);
    }

    /* FOOTER */
    .footer {
      border-top: 1px solid rgba(30, 41, 59, 0.9);
      padding: 1.6rem 0 2rem;
      margin-top: auto;
    }

    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.2rem;
      flex-wrap: wrap;
      font-size: 0.78rem;
      color: var(--text-muted);
    }

    .footer-links {
      display: flex;
      gap: 1.2rem;
      flex-wrap: wrap;
    }

    .footer-links a {
      transition: color 0.15s ease;
    }

    .footer-links a:hover {
      color: #e5e7eb;
    }

    .footer-right {
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .footer-dot {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: #22c55e;
    }

    /* RESPONSIVE */
    @media (max-width: 960px) {
      .header-nav {
        display: none;
      }

      .header-actions {
        display: none;
      }

      .mobile-nav-toggle {
        display: inline-flex;
      }

      .hero-grid {
        grid-template-columns: minmax(0, 1fr);
      }

      .hero-right {
        order: -1;
      }

      .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .plans-layout {
        grid-template-columns: minmax(0, 1fr);
      }

      .plans-intro-card {
        order: -1;
      }

      .plans-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .how-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .markets-section-inner {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    @media (max-width: 640px) {
      .hero {
        padding-top: 1.9rem;
      }

      .features-grid,
      .plans-grid,
      .how-grid {
        grid-template-columns: minmax(0, 1fr);
      }

      .cta-banner {
        padding: 1.4rem 1.2rem;
      }

      .site-header-inner {
        padding-top: 0.9rem;
      }
    }
    /* CONTACT PAGE LAYOUT */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.contact-info-card,
.contact-form-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 2rem;
    border-radius: 14px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}
.contact-list li {
    margin-bottom: .5rem;
    opacity: 0.85;
}

.contact-form .form-row {
    margin-bottom: 1.2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
}

/* MOBILE FIX */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
