/* ============================================================
   AtlasWealth – Premium Fintech Landing Page
   Color Palette:
     --navy:      #1a3a52
     --teal:      #0ea5a8
     --light-gray:#f5f7fa
     --white:     #ffffff
     --text-dark: #2c3e50
     --text-light:#666666
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #2c3e50;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s, opacity 0.2s;
}

ul { list-style: none; }

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.75rem 1.75rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s, border-color 0.2s;
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: #0ea5a8;
  color: #ffffff;
  border: 2px solid #0ea5a8;
}
.btn-primary:hover {
  background: #0b8f92;
  border-color: #0b8f92;
  box-shadow: 0 6px 20px rgba(14,165,168,0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #1a3a52;
  border: 2px solid #1a3a52;
}
.btn-outline:hover {
  background: #1a3a52;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-1px);
}

.btn-large {
  font-size: 1.0625rem;
  padding: 0.95rem 2.25rem;
  min-height: 54px;
}

.btn-nav {
  background: #0ea5a8;
  color: #ffffff;
  border: 2px solid #0ea5a8;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}
.btn-nav:hover {
  background: #0b8f92;
  border-color: #0b8f92;
}

.btn-submit {
  width: 100%;
  background: #0ea5a8;
  color: #ffffff;
  border: 2px solid #0ea5a8;
  font-size: 1.0625rem;
  padding: 1rem;
  min-height: 54px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.btn-submit:hover {
  background: #0b8f92;
  box-shadow: 0 6px 24px rgba(14,165,168,0.4);
  transform: translateY(-1px);
}
.btn-submit:active { transform: translateY(0); }

/* ── Section helpers ──────────────────────────────────────── */
.section-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0ea5a8;
  margin-bottom: 0.75rem;
}
.section-eyebrow--light { color: #5dd8db; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #1a3a52;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.0625rem;
  color: #666666;
  line-height: 1.65;
}

.text-light { color: #f0f6ff; }
.text-light-muted { color: rgba(240,246,255,0.7); }

/* ── Fade-in on scroll ────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 58, 82, 0.0);
  backdrop-filter: blur(0px);
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
  border-bottom: 1px solid transparent;
}
.nav-header.scrolled {
  background: rgba(26, 58, 82, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
  border-bottom-color: rgba(255,255,255,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.nav-logo:hover { opacity: 0.88; }
.logo-icon { flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: #ffffff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(26,58,82,0.98);
  padding: 1rem 1.5rem 1.5rem;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.nav-mobile a {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}
.nav-mobile a:last-child { border-bottom: none; margin-top: 0.75rem; }
.nav-mobile a.btn-nav {
  display: inline-flex;
  max-width: 180px;
  border-bottom: none;
}
.nav-mobile.open { display: flex; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,22,38,0.82) 0%,
    rgba(14,50,76,0.72) 50%,
    rgba(14,165,168,0.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  padding: 8rem 1.5rem 4rem;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5dd8db;
  background: rgba(14,165,168,0.15);
  border: 1px solid rgba(14,165,168,0.35);
  border-radius: 100px;
  padding: 0.375rem 1rem;
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(240,246,255,0.85);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(240,246,255,0.75);
  font-weight: 500;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: #1a3a52;
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item {
  border-right: 1px solid rgba(255,255,255,0.1);
  padding: 0 1rem;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #0ea5a8;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 6rem 0;
  background: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background: #f5f7fa;
  border: 1px solid rgba(26,58,82,0.08);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26,58,82,0.12);
  border-color: rgba(14,165,168,0.3);
}

.feature-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, rgba(14,165,168,0.15), rgba(14,165,168,0.05));
  border: 1px solid rgba(14,165,168,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0ea5a8;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a3a52;
  margin-bottom: 0.6rem;
}
.feature-card p {
  font-size: 0.9375rem;
  color: #666666;
  line-height: 1.6;
}

/* ============================================================
   RISK PREVIEW
   ============================================================ */
.risk-preview {
  background: #f5f7fa;
  padding: 6rem 0;
}

.risk-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.risk-questions {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.risk-question-card {
  background: #ffffff;
  border: 2px solid rgba(26,58,82,0.1);
  border-radius: 14px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.risk-question-card.active {
  border-color: #0ea5a8;
  box-shadow: 0 4px 20px rgba(14,165,168,0.12);
}

.q-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0ea5a8;
  display: block;
  margin-bottom: 0.5rem;
}
.q-text {
  font-size: 1rem;
  font-weight: 700;
  color: #1a3a52;
  margin-bottom: 1rem;
}

.q-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.q-option {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1a3a52;
  background: #f5f7fa;
  border: 1.5px solid rgba(26,58,82,0.15);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  cursor: default;
  transition: none;
}
.q-option--selected {
  background: rgba(14,165,168,0.12);
  border-color: #0ea5a8;
  color: #0ea5a8;
}

/* Result card */
.risk-result {
  background: #ffffff;
  border: 2px solid rgba(14,165,168,0.25);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(14,165,168,0.1);
  position: sticky;
  top: 90px;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0ea5a8;
  background: rgba(14,165,168,0.1);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1rem;
}
.result-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a3a52;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.result-sub {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.5rem;
}

/* Allocation chart (horizontal bars) */
.allocation-chart {
  background: #f5f7fa;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.chart-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 1rem;
}
.chart-bars { display: flex; flex-direction: column; gap: 0.65rem; }
.chart-bar-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 0.75rem;
}
.chart-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1a3a52;
  text-align: right;
}
.chart-bar-track {
  background: rgba(26,58,82,0.08);
  border-radius: 100px;
  height: 20px;
  overflow: hidden;
}
.chart-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0ea5a8, #0dd1d5);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
  min-width: 30px;
  transition: width 0.8s cubic-bezier(0.4,0,0.2,1);
}
.chart-bar-fill--2 { background: linear-gradient(90deg, #1a3a52, #266b9a); }
.chart-bar-fill--3 { background: linear-gradient(90deg, #5dd8db, #a8f0f2); }
.chart-pct {
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}
.chart-legend {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: #666;
  font-weight: 500;
}
.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}
.legend-dot--1 { background: #0ea5a8; }
.legend-dot--2 { background: #1a3a52; }
.legend-dot--3 { background: #5dd8db; }

.result-return {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14,165,168,0.06);
  border: 1px solid rgba(14,165,168,0.15);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}
.return-label { font-size: 0.875rem; color: #666; font-weight: 500; }
.return-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0ea5a8;
}

/* ============================================================
   PORTFOLIOS
   ============================================================ */
.portfolios {
  padding: 6rem 0;
  background: #ffffff;
}

.portfolios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.portfolio-card {
  border: 2px solid rgba(26,58,82,0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(26,58,82,0.14);
  border-color: rgba(14,165,168,0.4);
}
.portfolio-card--featured {
  border-color: #0ea5a8;
  box-shadow: 0 8px 32px rgba(14,165,168,0.18);
}

.portfolio-card-header {
  padding: 1.75rem 1.75rem 1.5rem;
  position: relative;
}
.portfolio-header--conservative {
  background: linear-gradient(135deg, #1a3a52 0%, #244e6e 100%);
}
.portfolio-header--balanced {
  background: linear-gradient(135deg, #0c2f47 0%, #0ea5a8 100%);
}
.portfolio-header--growth {
  background: linear-gradient(135deg, #0a1e30 0%, #1a3a52 100%);
}

.portfolio-card-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}
.portfolio-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}
.portfolio-risk-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.75rem;
  display: block;
  width: fit-content;
}
.portfolio-popular-badge {
  position: absolute;
  top: 0;
  right: 1.25rem;
  background: #0ea5a8;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 0 0 8px 8px;
}

.portfolio-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Allocation bar */
.portfolio-allocation {}
.alloc-bar {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  height: 12px;
  margin-bottom: 0.75rem;
}
.alloc-segment { height: 100%; transition: width 0.4s ease; }
.alloc-stocks { background: #1a3a52; }
.alloc-bonds  { background: #0ea5a8; }
.alloc-etfs   { background: #5dd8db; }
.alloc-crypto { background: #c8f0f2; }

.alloc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
}
.alloc-legend span { display: flex; align-items: center; gap: 0.3rem; }
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-stocks { background: #1a3a52; }
.dot-bonds  { background: #0ea5a8; }
.dot-etfs   { background: #5dd8db; }
.dot-crypto { background: #c8f0f2; border: 1px solid #aaa; }

.portfolio-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}
.metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(26,58,82,0.06);
}
.metric:last-child { border-bottom: none; }
.metric-label { color: #666; font-weight: 500; }
.metric-value { font-weight: 700; color: #1a3a52; }
.metric-low    { color: #16a34a; }
.metric-moderate { color: #d97706; }
.metric-high   { color: #dc2626; }

/* ============================================================
   DASHBOARD SHOWCASE
   ============================================================ */
.dashboard-showcase {
  padding: 6rem 0;
  background: #f5f7fa;
}

.showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}
.showcase-text .section-eyebrow { margin-bottom: 0.75rem; }
.showcase-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #1a3a52;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.showcase-text p {
  font-size: 1rem;
  color: #666;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}
.showcase-img {
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(26,58,82,0.2);
  width: 100%;
}

/* ============================================================
   SECURITY & TRUST
   ============================================================ */
.security {
  background: linear-gradient(135deg, #1a3a52 0%, #0d2234 100%);
  padding: 6rem 0;
}

.security .section-header h2 { color: #f0f6ff; }

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.security-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 1.75rem;
  transition: background 0.25s, border-color 0.25s;
}
.security-item:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(14,165,168,0.35);
}

.security-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(14,165,168,0.15);
  border: 1px solid rgba(14,165,168,0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #0ea5a8;
}
.security-icon-wrap--accent { background: rgba(14,165,168,0.2); }

.security-icon {
  width: 28px;
  height: 28px;
  filter: invert(55%) sepia(78%) saturate(400%) hue-rotate(155deg) brightness(100%);
}

.security-text h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #f0f6ff;
  margin-bottom: 0.5rem;
}
.security-text p {
  font-size: 0.9rem;
  color: rgba(240,246,255,0.7);
  line-height: 1.6;
}

.security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.security-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
}
.security-badge:hover {
  background: rgba(14,165,168,0.15);
  color: #5dd8db;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: 6rem 0;
  background: #ffffff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.pricing-card {
  border: 2px solid rgba(26,58,82,0.1);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26,58,82,0.1);
  border-color: rgba(14,165,168,0.3);
}
.pricing-card--featured {
  border-color: #0ea5a8;
  background: linear-gradient(180deg, rgba(14,165,168,0.04) 0%, rgba(255,255,255,1) 40%);
  box-shadow: 0 12px 40px rgba(14,165,168,0.15);
}

.pricing-popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: #0ea5a8;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1.1rem;
  border-radius: 0 0 10px 10px;
}

.pricing-card-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1a3a52;
  margin-bottom: 0.75rem;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 0.25rem;
}
.price-amount {
  font-size: 2.5rem;
  font-weight: 900;
  color: #1a3a52;
  letter-spacing: -0.02em;
}
.price-period {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}
.price-sub {
  font-size: 0.8125rem;
  color: #999;
}

.pricing-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #2c3e50;
  line-height: 1.4;
}
.pricing-features li.feature-unavailable { color: #bbb; }
.check-icon, .x-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.pricing-fee-breakdown {
  background: #f5f7fa;
  border-radius: 10px;
  padding: 0.9rem 1rem;
}
.fee-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 0.5rem;
}
.fee-rows {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.8125rem;
  color: #1a3a52;
  font-weight: 600;
}

/* ============================================================
   DISCLAIMER
   ============================================================ */
.disclaimer {
  background: #f5f7fa;
  padding: 2rem 0;
  border-top: 1px solid rgba(26,58,82,0.08);
  border-bottom: 1px solid rgba(26,58,82,0.08);
}
.disclaimer-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 860px;
  margin: 0 auto;
}
.disclaimer-inner svg { flex-shrink: 0; margin-top: 2px; }
.disclaimer-inner p {
  font-size: 0.8125rem;
  color: #666;
  line-height: 1.65;
}
.disclaimer-link {
  color: #0ea5a8;
  text-decoration: underline;
  font-weight: 600;
  margin-left: 0.35rem;
}
.disclaimer-link:hover { color: #0b8f92; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 6rem 0;
  background: #ffffff;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(26,58,82,0.1);
}
.faq-item:first-child { border-top: 1px solid rgba(26,58,82,0.1); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 700;
  color: #1a3a52;
  gap: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-question:hover { color: #0ea5a8; }
.faq-question[aria-expanded="true"] { color: #0ea5a8; }

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: #666;
}
.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: #0ea5a8;
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0;
}
.faq-answer.open {
  max-height: 400px;
  padding-bottom: 1.25rem;
}
.faq-answer p {
  font-size: 0.9375rem;
  color: #666;
  line-height: 1.65;
}

/* ============================================================
   WAITLIST
   ============================================================ */
.waitlist {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}
.waitlist-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d2234 0%, #1a3a52 45%, #0c6e6f 100%);
  z-index: 0;
}

.waitlist-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.waitlist-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 800;
  color: #f0f6ff;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.waitlist-text .section-sub {
  margin-bottom: 1.75rem;
}

.waitlist-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.waitlist-benefits li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9375rem;
  color: rgba(240,246,255,0.85);
  font-weight: 500;
}

.waitlist-form-wrap {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(8px);
}

.waitlist-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(240,246,255,0.85);
}
.optional { font-weight: 400; color: rgba(240,246,255,0.45); font-size: 0.8rem; }
.required { color: #0ea5a8; }

.form-input {
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  color: #ffffff;
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}
.form-input::placeholder { color: rgba(255,255,255,0.35); }
.form-input:focus {
  border-color: #0ea5a8;
  background: rgba(255,255,255,0.14);
}
.form-input.input-error { border-color: #f87171; }

.form-error {
  font-size: 0.8125rem;
  color: #fca5a5;
  min-height: 1.1em;
  display: block;
}

.form-privacy {
  font-size: 0.78rem;
  color: rgba(240,246,255,0.45);
  text-align: center;
  margin-top: 0.75rem;
}

/* Success state */
.waitlist-success {
  text-align: center;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.waitlist-success h3 {
  font-size: 1.375rem;
  font-weight: 800;
  color: #f0f6ff;
}
.waitlist-success p {
  font-size: 0.9375rem;
  color: rgba(240,246,255,0.75);
  line-height: 1.55;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0d2234;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 24px 3rem;
}

.footer-logo { margin-bottom: 0.75rem; }
.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  max-width: 240px;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}
.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.social-link:hover {
  background: rgba(14,165,168,0.2);
  color: #5dd8db;
  border-color: rgba(14,165,168,0.35);
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #5dd8db; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.25rem 24px;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}
.footer-reg {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.28);
  max-width: 520px;
  text-align: right;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── Tablet (≤ 1024px) ──────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .portfolios-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .security-grid { grid-template-columns: 1fr; }
  .waitlist-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ── Mobile (≤ 768px) ───────────────────────────────────── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero-content { padding: 7rem 1rem 3rem; }
  .hero-headline { font-size: 2.5rem; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .hero-cta-group .btn { width: 100%; max-width: 320px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 1rem; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }

  /* Risk preview */
  .risk-layout { grid-template-columns: 1fr; }
  .risk-result { position: static; }

  /* Showcase */
  .showcase-inner { grid-template-columns: 1fr; gap: 2rem; }

  /* Portfolios */
  .portfolios-grid { max-width: 100%; }

  /* Pricing */
  .pricing-grid { max-width: 100%; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 24px 2rem;
  }
  .footer-brand { grid-column: auto; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .footer-reg { text-align: left; max-width: 100%; }

  /* Waitlist */
  .waitlist-form-wrap { padding: 1.75rem; }

  /* Section headers */
  .section-header { margin-bottom: 2.5rem; }
}

/* ── Small mobile (≤ 420px) ─────────────────────────────── */
@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .hero-headline { font-size: 2rem; }
  .features-grid { gap: 1rem; }
  .feature-card { padding: 1.5rem; }
  .chart-bar-row { grid-template-columns: 56px 1fr; }
}
