/* ============================================================
   OfferSummary — Master Design System CSS
   Dual-Mode: Light (Executive Paper) / Dark (Midnight Slate)
   PropTech Suite — US Real Estate Market
   ============================================================ */

:root {
  --primary: #0EA5E9;
  --primary-dark: #0284C7;
  --accent: #38BDF8;
  --navy: #0F172A;
  --emerald: #10B981;
  --amber: #F59E0B;
  --red: #EF4444;

  /* Light Mode Tokens */
  --bg: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-alt: #F1F5F9;
  --text: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.04);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.04);
  --header-bg: rgba(248,250,252,0.92);
  --glow-color: rgba(14, 165, 233, 0.08);
  --nav-link: #334155;
}

[data-theme="dark"] {
  --bg: #0A0D14;
  --bg-card: #131B2E;
  --bg-alt: #0F1623;
  --text: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border: #1E293B;
  --border-strong: #334155;
  --shadow: 0 1px 3px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.2);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.4), 0 2px 8px rgba(0,0,0,.2);
  --header-bg: rgba(10,13,20,0.92);
  --glow-color: rgba(56, 189, 248, 0.06);
  --nav-link: #CBD5E1;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.25s, color 0.25s;
}

/* ── Ambient Glow ── */
.ambient-glow {
  position: fixed;
  top: -20vh;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 60vh;
  background: radial-gradient(ellipse at center, var(--glow-color) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Header ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  flex-shrink: 0;
}

.logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.logo-badge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: rgba(14,165,233,0.12);
  border: 1px solid rgba(14,165,233,0.25);
  padding: 1px 6px;
  border-radius: 4px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
}

.nav-desktop a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--nav-link);
  transition: color 0.15s;
}

.nav-desktop a:hover { color: var(--primary); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.15s;
}

.theme-toggle:hover {
  background: var(--bg-alt);
  color: var(--text);
}

.theme-toggle svg { width: 16px; height: 16px; }

[data-theme="light"] .moon-icon { display: block; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="dark"] .sun-icon { display: block; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  height: 36px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.15s ease;
}

.lang-toggle:hover {
  background: var(--card-bg);
  border-color: var(--primary);
  color: var(--text);
}

.lang-toggle .lang-badge {
  color: var(--primary);
  font-weight: 800;
}

.drawer-lang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 8px;
}

.drawer-lang-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.drawer-lang-options {
  display: flex;
  gap: 6px;
}

.drawer-lang-btn {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: var(--card-bg);
  transition: all 0.15s;
}

.drawer-lang-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.btn-nav:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* ── Mobile Nav ── */
.hamburger-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 99;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.mobile-drawer.open { display: flex; }

.drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.15s;
}

.drawer-link:hover { background: var(--bg-alt); }
.drawer-link svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--text-secondary); }

.drawer-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.drawer-btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 24px;
  border-radius: 14px;
  text-decoration: none;
  transition: background 0.15s;
}

.drawer-btn-cta:hover { background: var(--primary-dark); }

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 96px 24px 80px;
  max-width: 900px;
  margin: 0 auto;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.25);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.pill-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text);
}

.highlight-text {
  background: linear-gradient(135deg, var(--primary) 0%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: -0.01em;
}

.btn-appstore:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-appstore svg { width: 22px; height: 22px; flex-shrink: 0; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.hero-highlights {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-highlights .bullet {
  margin: 0 8px;
  color: var(--border-strong);
}

/* ── Mockup / Hero Visual ── */
.mockup-wrapper {
  margin-top: 56px;
  position: relative;
  display: flex;
  justify-content: center;
}

.mockup-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 28px;
  max-width: 720px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* Offer Card Preview */
.offer-preview-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.offer-preview-topbar {
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.offer-preview-topbar .tag {
  background: var(--emerald);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

.offer-matrix-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.offer-cell {
  background: var(--bg-card);
  padding: 10px 12px;
  text-align: center;
}

.offer-cell .label {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.offer-cell .value {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text);
}

.offer-cell .value.green { color: var(--emerald); }
.offer-cell .value.blue { color: var(--primary); }

.offer-rank-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
}

.rank-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}

.rank-badge.gold { background: #FEF3C7; color: #92400E; }
.rank-badge.silver { background: #F1F5F9; color: #475569; }
.rank-badge.bronze { background: #FEF9C3; color: #78350F; }

.rank-info { flex: 1; }
.rank-name { font-size: 0.78rem; font-weight: 700; color: var(--text); }
.rank-price { font-size: 0.7rem; color: var(--text-secondary); }

.tier-pill {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.tier-pill.cash { background: #D1FAE5; color: #065F46; }
.tier-pill.conv { background: #DBEAFE; color: #1E40AF; }
.tier-pill.fha { background: #FEF3C7; color: #92400E; }

/* Floating card */
.hero-float-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.float-card-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.float-card-header .title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.float-card-header .badge-pdf {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.2);
  padding: 2px 8px;
  border-radius: 4px;
}

.float-card-body { padding: 14px 16px; }

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.stat-row:last-child { border-bottom: none; }

.stat-label { font-size: 0.72rem; color: var(--text-secondary); font-weight: 500; }
.stat-value { font-size: 0.78rem; font-weight: 700; color: var(--text); }
.stat-value.positive { color: var(--emerald); }

/* ── Sections ── */
.section {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Features Grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14,165,233,0.3);
}

.feature-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(14,165,233,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
}

.feature-icon-wrapper svg { width: 22px; height: 22px; }

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Use Cases Grid ── */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.use-case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.use-case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.use-case-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.use-case-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(14,165,233,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.use-case-icon svg { width: 20px; height: 20px; }

.use-case-pill {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary);
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.2);
  padding: 3px 10px;
  border-radius: 100px;
}

.use-case-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.use-case-card p {
  font-size: 0.865rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── How It Works ── */
.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  text-align: center;
  padding: 24px 16px;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Pricing ── */
.pricing-section {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(14,165,233,0.15), var(--shadow-lg);
}

.pricing-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.pricing-card > p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 8px;
}

.pricing-currency { font-size: 1.2rem; font-weight: 700; color: var(--text); }
.pricing-amount { font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.pricing-period { font-size: 0.9rem; color: var(--text-secondary); }
.pricing-subtext { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 24px; }

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pricing-features-list li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--emerald);
}

.pricing-cta-btn {
  display: block;
  text-align: center;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.pricing-cta-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.pricing-card.featured .pricing-cta-btn {
  background: linear-gradient(135deg, var(--primary), #818CF8);
}

/* ── Trial Banner ── */
.trial-banner {
  max-width: 800px;
  margin: 0 auto 28px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.trial-banner-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--emerald);
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.trial-banner-text {
  font-size: 0.855rem;
  color: var(--text-secondary);
  flex: 1;
}

/* ── FAQ ── */
.faq-section {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.935rem;
  font-weight: 600;
  color: var(--text);
  transition: background 0.15s;
}

.faq-question:hover { background: var(--bg-alt); }

.faq-question svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.faq-item.open .faq-question svg { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.2s;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 20px 18px;
}

/* ── CTA Banner ── */
.cta-banner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(135deg, #0EA5E9 0%, #818CF8 100%);
  color: #fff;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-secondary-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 15px 24px;
  border-radius: 14px;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-secondary-lg:hover { background: rgba(255,255,255,0.25); }

/* ── Footer ── */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 56px 24px 32px;
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.855rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-top: 12px;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.footer-col ul li a {
  text-decoration: none;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.15s;
}

.footer-col ul li a:hover { color: var(--primary); }

.footer-disclaimer-box {
  max-width: 1100px;
  margin: 0 auto 28px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 8px;
}

/* ── Legal Pages ── */
.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  position: relative;
  z-index: 1;
}

.legal-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow);
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.2);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.legal-box h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-box h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 10px;
  color: var(--text);
}

.legal-box h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--text);
}

.legal-box p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-box ul, .legal-box ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-box li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}

.terms-lead {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 28px;
  line-height: 1.65;
}

.contact-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-top: 12px;
}

.contact-box a { color: var(--primary); text-decoration: none; }
.contact-box a:hover { text-decoration: underline; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.15s;
}

.back-link:hover { color: var(--primary); }

/* ── Support Page ── */
.support-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  position: relative;
  z-index: 1;
}

.support-hero {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px 32px;
  box-shadow: var(--shadow);
  text-align: center;
  margin-bottom: 32px;
}

.support-hero .badge {
  display: inline-flex;
  margin-bottom: 12px;
}

.support-hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  color: var(--text);
}

.support-hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.support-card:hover {
  transform: translateY(-2px);
  border-color: rgba(14,165,233,0.3);
  box-shadow: var(--shadow-lg);
}

.support-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(14,165,233,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.support-card-icon svg { width: 22px; height: 22px; }

.support-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.35;
}

.support-card p {
  font-size: 0.865rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 960px) {
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .support-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .support-hero {
    padding: 28px 20px;
  }
  .support-hero h1 {
    font-size: 1.75rem;
  }
}

/* ── Contact Form ── */
.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 48px;
  box-shadow: var(--shadow);
  margin-top: 52px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form-header {
  margin-bottom: 28px;
  text-align: center;
}

.contact-form-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.contact-form-header p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form-box { padding: 28px 20px; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

.form-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  align-self: flex-start;
}

.form-submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.form-status {
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.88rem;
  display: none;
  margin-top: 16px;
  line-height: 1.5;
}

.form-status.success {
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

[data-theme="dark"] .form-status.success {
  background: rgba(16, 185, 129, 0.12);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.form-status.error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

[data-theme="dark"] .form-status.error {
  background: rgba(239, 68, 68, 0.12);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.28);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .hamburger-btn { display: flex; }
  .btn-nav { display: none; }

  .mockup-inner {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .hero { padding: 72px 20px 56px; }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-brand { grid-column: 1 / -1; }

  .legal-box { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .footer-container { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-cta { flex-direction: column; }
}
