/* ==========================================================================
   Njangi Estate — Landing Page Styles
   Modern fintech theme: dark navy base, emerald + gold accents
   ========================================================================== */

:root {
  --bg-0: #060a12;
  --bg-1: #0a1120;
  --bg-2: #0d1626;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-soft: rgba(255, 255, 255, 0.05);

  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-glow: rgba(16, 185, 129, 0.35);

  --gold-400: #e6b657;
  --gold-500: #c9942f;
  --gold-glow: rgba(201, 148, 47, 0.35);

  --text-hi: #f4f7fb;
  --text-mid: #b9c3d4;
  --text-lo: #7c8aa0;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-glow: 0 0 0 1px var(--border), 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-0);
  color: var(--text-hi);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

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

section { position: relative; }

/* ---------- Background atmosphere ---------- */
.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 0%, black, transparent 75%);
  opacity: 0.5;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 8px var(--emerald-400);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 16px 0 14px;
}
.section-head p { color: var(--text-mid); font-size: 17px; }

.grad-text {
  background: linear-gradient(90deg, var(--emerald-400), var(--gold-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--emerald-400), var(--emerald-600));
  color: #04150e;
  box-shadow: 0 10px 30px -8px var(--emerald-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px var(--emerald-glow); }
.btn-ghost {
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text-hi);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--panel-hover); transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(6, 10, 18, 0.75);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: auto; }
.brand-word { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.brand-word span { color: var(--text-lo); font-weight: 500; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--text-hi); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { padding: 10px 20px; font-size: 14px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  background: var(--panel);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  display: block;
  width: 18px; height: 2px;
  background: var(--text-hi);
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle.active span { background: transparent; }
.nav-toggle.active span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(6, 9, 16, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  pointer-events: none;
}
.mobile-menu.active { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { font-size: 22px; font-weight: 600; }
.mobile-menu .nav-actions { flex-direction: column; margin-top: 12px; width: 220px; }

/* ---------- Hero ---------- */
.hero {
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero .blob-1 { width: 520px; height: 520px; background: var(--emerald-500); top: -180px; left: -120px; }
.hero .blob-2 { width: 460px; height: 460px; background: var(--gold-500); top: 60px; right: -160px; opacity: 0.22; }

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 22px 0 22px;
}
.hero p.lead {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-mid);
  max-width: 620px;
  margin: 0 auto 38px;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-note {
  font-size: 13px;
  color: var(--text-lo);
  margin-top: 10px;
}

/* Hero dashboard mockup */
.hero-visual {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 72px auto 0;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  box-shadow: var(--shadow-glow);
  padding: 10px;
}
.hero-visual-inner {
  border-radius: calc(var(--radius-xl) - 8px);
  background: var(--bg-1);
  overflow: hidden;
  border: 1px solid var(--border-soft);
}
.mock-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-soft);
}
.mock-topbar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mock-topbar .dot:nth-child(1) { background: #ef4444; opacity: 0.6; }
.mock-topbar .dot:nth-child(2) { background: #eab308; opacity: 0.6; }
.mock-topbar .dot:nth-child(3) { background: #22c55e; opacity: 0.6; }

.mock-body { padding: 28px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
@media (max-width: 720px) { .mock-body { grid-template-columns: 1fr; } }

.mock-card {
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 20px;
}
.mock-card h4 { font-size: 13px; color: var(--text-lo); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 14px; }

.mock-cycle-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--border-soft); }
.mock-cycle-row:last-child { border-bottom: none; }
.mock-avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--emerald-400), var(--gold-500)); display: inline-block; margin-right: 10px; vertical-align: middle; }
.mock-member { display: flex; align-items: center; font-size: 14px; }
.mock-status { font-size: 12px; padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.mock-status.paid { background: rgba(16,185,129,0.15); color: var(--emerald-400); }
.mock-status.pending { background: rgba(234,179,8,0.15); color: #eab308; }

.mock-progress-track { height: 8px; border-radius: 999px; background: rgba(255,255,255,0.06); overflow: hidden; margin-top: 8px; }
.mock-progress-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--emerald-400), var(--emerald-600)); width: 0%; transition: width 1.6s var(--ease); }

.mock-stat-big { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.mock-stat-sub { font-size: 13px; color: var(--text-lo); margin-top: 4px; }

.mock-chart { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-top: 16px; }
.mock-chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--emerald-400), rgba(16,185,129,0.15)); height: 0%; transition: height 1.2s var(--ease); }

/* ---------- Stats bar ---------- */
.stats-bar {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 46px 0;
  background: var(--bg-1);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-value {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--emerald-400), var(--gold-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { font-size: 13.5px; color: var(--text-lo); margin-top: 6px; }

/* ---------- How it works ---------- */
.how { padding: 140px 0 100px; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step-card {
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.step-card:hover { border-color: rgba(16,185,129,0.35); transform: translateY(-6px); background: var(--panel-hover); }
.step-num {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px;
  background: linear-gradient(135deg, rgba(16,185,129,0.25), rgba(201,148,47,0.2));
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--emerald-400);
  margin-bottom: 18px;
}
.step-card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 14.5px; color: var(--text-mid); }

/* ---------- Features ---------- */
.features { padding: 100px 0; background: var(--bg-1); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--border); background: var(--panel-hover); }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(16,185,129,0.12);
  color: var(--emerald-400);
  margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-mid); }

/* ---------- Security ---------- */
.security { padding: 120px 0; position: relative; overflow: hidden; }
.security .blob-3 { width: 480px; height: 480px; background: var(--gold-500); bottom: -200px; left: -150px; opacity: 0.18; }

.security-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) { .security-layout { grid-template-columns: 1fr; gap: 40px; } }

.security-copy h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 700; letter-spacing: -0.02em; margin: 16px 0 16px; }
.security-copy p.lead { color: var(--text-mid); font-size: 16.5px; margin-bottom: 8px; }

.security-list { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.security-item { display: flex; gap: 14px; align-items: flex-start; }
.security-item .ico {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(201,148,47,0.15);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
}
.security-item .ico svg { width: 18px; height: 18px; }
.security-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.security-item p { font-size: 13.5px; color: var(--text-mid); }

.security-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-glow);
}
.trust-score-ring { display: flex; align-items: center; gap: 22px; margin-bottom: 24px; }
.ring { position: relative; width: 96px; height: 96px; flex-shrink: 0; }
.ring svg { transform: rotate(-90deg); width: 96px; height: 96px; }
.ring circle { fill: none; stroke-width: 8; }
.ring .track { stroke: rgba(255,255,255,0.07); }
.ring .fill { stroke: url(#ringGrad); stroke-linecap: round; stroke-dasharray: 251; stroke-dashoffset: 251; transition: stroke-dashoffset 1.4s var(--ease); }
.ring-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }
.trust-score-text h4 { font-size: 15px; font-weight: 700; }
.trust-score-text p { font-size: 13px; color: var(--text-lo); margin-top: 4px; }

.security-log { display: flex; flex-direction: column; gap: 12px; }
.security-log .log-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; padding: 10px 14px; background: rgba(255,255,255,0.03); border-radius: 10px; border: 1px solid var(--border-soft); }
.security-log .log-row span:first-child { color: var(--text-mid); }
.security-log .ok { color: var(--emerald-400); font-weight: 600; }

/* ---------- Mobile app ---------- */
.mobile-app {
  padding: 110px 0;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
  border-top: 1px solid var(--border-soft);
}
.mobile-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 900px) { .mobile-layout { grid-template-columns: 1fr; text-align: center; } }

.mobile-copy h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 700; letter-spacing: -0.02em; margin: 16px 0; }
.mobile-copy p { color: var(--text-mid); font-size: 16.5px; margin-bottom: 30px; }

.store-badges { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 900px) { .store-badges { justify-content: center; } }

.store-badge {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  transition: transform 0.25s var(--ease), background 0.25s;
}
.store-badge:hover { transform: translateY(-3px); background: var(--panel-hover); }
.store-badge svg { width: 24px; height: 24px; }
.store-badge .txt { text-align: left; }
.store-badge .txt small { display: block; font-size: 10.5px; color: var(--text-lo); }
.store-badge .txt strong { display: block; font-size: 15px; font-weight: 700; }

.mobile-visual { position: relative; display: flex; justify-content: center; }
.phone-mock {
  width: 250px;
  border-radius: 36px;
  border: 10px solid #111a2c;
  background: var(--bg-1);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
  position: relative;
}
.phone-mock .notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 90px; height: 20px; background: #111a2c; border-radius: 0 0 14px 14px; z-index: 2; }
.phone-screen { padding: 34px 16px 20px; }
.phone-screen .ph-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.phone-screen .ph-title { font-size: 13px; font-weight: 700; }
.phone-screen .ph-bell { width: 26px; height: 26px; border-radius: 50%; background: var(--panel); display: flex; align-items: center; justify-content: center; }
.phone-screen .ph-bell svg { width: 13px; height: 13px; color: var(--gold-400); }
.ph-card { background: var(--panel); border: 1px solid var(--border-soft); border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.ph-card .amt { font-size: 20px; font-weight: 800; }
.ph-card .lbl { font-size: 11px; color: var(--text-lo); margin-top: 2px; }
.ph-notif { display: flex; gap: 8px; align-items: flex-start; background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2); border-radius: 12px; padding: 10px; font-size: 11px; color: var(--text-mid); }
.ph-notif b { color: var(--emerald-400); }
.floaty { animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Testimonials ---------- */
.testimonials { padding: 110px 0; }

.t-track-wrap { position: relative; max-width: 780px; margin: 0 auto; }
.t-track { overflow: hidden; }
.t-slides { display: flex; transition: transform 0.6s var(--ease); }
.t-slide { min-width: 100%; padding: 4px; }

.t-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.t-card .stars { color: var(--gold-400); font-size: 15px; letter-spacing: 3px; margin-bottom: 18px; }
.t-card p.quote { font-size: 18px; line-height: 1.6; color: var(--text-hi); margin-bottom: 24px; }
.t-person { display: flex; align-items: center; justify-content: center; gap: 12px; }
.t-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--emerald-400), var(--gold-500)); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; color: #04150e; }
.t-person .who { text-align: left; }
.t-person .who strong { display: block; font-size: 14.5px; }
.t-person .who span { font-size: 12.5px; color: var(--text-lo); }

.t-dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.t-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: all 0.3s; }
.t-dots button.active { background: var(--emerald-400); width: 22px; border-radius: 4px; }

.t-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--panel); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.t-arrow:hover { background: var(--panel-hover); }
.t-arrow.prev { left: -60px; }
.t-arrow.next { right: -60px; }
@media (max-width: 900px) { .t-arrow { display: none; } }

/* ---------- FAQ ---------- */
.faq { padding: 100px 0; background: var(--bg-1); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border-soft); border-radius: var(--radius-md); background: var(--panel); overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  font-weight: 600; font-size: 15.5px;
  text-align: left;
}
.faq-q .plus { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after { content:''; position: absolute; background: var(--emerald-400); transition: transform 0.3s var(--ease); }
.faq-q .plus::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-q .plus::after { left: 50%; top: 0; height: 100%; width: 2px; transform: translateX(-50%); }
.faq-item.active .faq-q .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding: 0 24px 20px; color: var(--text-mid); font-size: 14.5px; }
.faq-item.active .faq-a { max-height: 240px; }

/* ---------- Final CTA ---------- */
.cta-banner { padding: 100px 0; }
.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 70px 40px;
  text-align: center;
  background: linear-gradient(135deg, rgba(16,185,129,0.16), rgba(201,148,47,0.12));
  border: 1px solid rgba(16,185,129,0.25);
}
.cta-box h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 14px; }
.cta-box p { color: var(--text-mid); font-size: 16.5px; max-width: 520px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { padding: 70px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand p { color: var(--text-lo); font-size: 14px; margin: 14px 0 20px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 10px; background: var(--panel); border: 1px solid var(--border-soft); display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.footer-social a:hover { background: var(--panel-hover); }
.footer-social svg { width: 16px; height: 16px; color: var(--text-mid); }

.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-lo); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--text-mid); transition: color 0.2s; }
.footer-col a:hover { color: var(--text-hi); }

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 26px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--text-lo);
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.3s var(--ease);
  z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 18px; height: 18px; }
.to-top:hover { background: var(--panel-hover); }

/* ---------- Misc ---------- */
::selection { background: var(--emerald-500); color: #04150e; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
}
