@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700;9..40,800;9..40,900&display=swap');

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

:root {
  --purple: #7c3aed;
  --purple-mid: #6d28d9;
  --purple-light: #ede9fe;
  --purple-xlight: #f5f3ff;
  --text: #0f0a1e;
  --muted: #6b7280;
  --bg: #f5f2ec;
  --card: #ffffff;
  --border: #e2ddd6;
  --radius: 16px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 36px; height: 36px;
  background: var(--purple);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 16px;
}
.nav-logo-img {
  width: 36px; height: 36px;
  border-radius: 10px;
  object-fit: contain;
}
.nav-logo-text {
  font-weight: 800; font-size: 17px; color: var(--text); letter-spacing: -0.3px;
}
.nav-links {
  display: flex; gap: 36px; list-style: none; flex: 1;
}
.nav-links a {
  text-decoration: none; color: var(--text); font-size: 13px;
  font-weight: 600; letter-spacing: 0.6px; opacity: 0.55; transition: opacity 0.2s;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-cta {
  display: flex; align-items: center; gap: 8px;
  background: var(--purple); color: #fff;
  text-decoration: none; font-size: 13px; font-weight: 700;
  padding: 10px 22px; border-radius: 100px;
  letter-spacing: 0.3px; transition: background 0.2s; white-space: nowrap;
}
.nav-cta:hover { background: var(--purple-mid); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  padding-top: 64px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

/* Visual area */
.hero-visual {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.deco-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* App cards */
.app-card {
  position: absolute;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 12px 48px rgba(15,10,30,0.1), 0 2px 8px rgba(15,10,30,0.06);
  z-index: 10;
}
.app-card-main {
  width: 320px;
  left: 50%;
  top: 50%;
  transform: translate(-55%, -48%);
}
.app-card-secondary {
  width: 220px;
  left: 50%;
  top: 50%;
  transform: translate(12%, -60%);
}
.app-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.app-card-title {
  font-size: 11px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.8px;
}
.app-card-badge {
  font-size: 10px; font-weight: 600; color: var(--purple);
  background: var(--purple-light); padding: 3px 8px; border-radius: 100px;
}
.app-card-stats {
  display: flex; gap: 0; margin-bottom: 14px;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.app-stat { flex: 1; padding: 12px 10px; text-align: center; }
.app-stat-divider { width: 1px; background: var(--border); }
.app-stat-val { font-size: 14px; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 3px; }
.app-stat-val.green { color: #059669; }
.app-stat-val.blue  { color: #2563eb; }
.app-stat-val.orange{ color: #dc2626; }
.app-stat-lbl { font-size: 9px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.app-card-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0; border-top: 1px solid var(--border);
}
.app-row-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.app-row-dot.green { background: #059669; }
.app-row-dot.blue  { background: #2563eb; }
.app-row-dot.orange{ background: #dc2626; }
.app-row-info { flex: 1; }
.app-row-name { font-size: 12px; font-weight: 600; color: var(--text); }
.app-row-sub  { font-size: 10px; color: var(--muted); }
.app-row-amt  { font-size: 12px; font-weight: 700; color: var(--text); }

/* Rate card */
.app-card-rate {
  font-size: 24px; font-weight: 900; color: var(--purple);
  letter-spacing: -0.8px; margin-bottom: 4px;
}
.app-card-rate-sub {
  font-size: 10px; color: var(--muted); margin-bottom: 12px; line-height: 1.5;
}
.app-card-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  font-size: 10px; font-weight: 600; padding: 4px 9px;
  border-radius: 100px; background: var(--border); color: var(--muted);
}
.chip.active { background: var(--purple-light); color: var(--purple); }

/* Pitch pill */
.app-pill {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border-radius: 100px;
  padding: 10px 18px 10px 12px;
  box-shadow: 0 8px 32px rgba(15,10,30,0.1);
  z-index: 10;
  left: 50%;
  bottom: 14%;
  transform: translateX(-80%);
  white-space: nowrap;
}
.app-pill-icon { font-size: 20px; }
.app-pill-title { font-size: 12px; font-weight: 700; color: var(--text); }
.app-pill-sub   { font-size: 10px; color: var(--muted); }

/* Hero bottom text */
.hero-bottom {
  padding: 48px 40px 32px;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: flex-end;
  gap: 40px;
}
.hero-headline {
  font-size: clamp(56px, 7.5vw, 108px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -3px;
  color: var(--text);
}
.hero-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  padding-bottom: 6px;
}

/* Full-width CTA bar */
.hero-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--purple);
  color: #fff;
  text-decoration: none;
  padding: 20px 40px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: background 0.2s;
  margin: 24px 40px 0;
  border-radius: 100px;
}
.hero-cta-bar:hover { background: var(--purple-mid); }
.hero-cta-left { display: flex; align-items: center; gap: 12px; }
.hero-cta-arrow {
  width: 38px; height: 38px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ══════════════════════════════════════
   SECTIONS
══════════════════════════════════════ */
.page-divider { height: 1px; background: var(--border); margin: 0 40px; }

.section {
  padding: 100px 40px;
  max-width: 1300px;
  margin: 0 auto;
}
.section-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--purple); margin-bottom: 16px;
}
.section-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900; letter-spacing: -1.5px; line-height: 1.05;
  margin-bottom: 48px; max-width: 640px;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.feature-item {
  background: var(--bg);
  padding: 36px 32px;
  transition: background 0.2s;
}
.feature-item:hover { background: var(--purple-xlight); }
.feature-icon { font-size: 28px; margin-bottom: 16px; display: block; }
.feature-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.3px; }
.feature-item p  { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
.contact-card {
  background: var(--purple);
  border-radius: 24px;
  padding: 64px 40px;
  text-align: center;
  color: #fff;
}
.contact-card h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900; letter-spacing: -1px; margin-bottom: 12px;
}
.contact-card p { font-size: 16px; opacity: 0.8; margin-bottom: 28px; }
.btn-white {
  display: inline-block; background: #fff; color: var(--purple);
  font-weight: 700; font-size: 14px; padding: 14px 28px;
  border-radius: 100px; text-decoration: none; transition: opacity 0.2s;
}
.btn-white:hover { opacity: 0.9; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.4);
  padding: 36px 40px;
}
.footer-inner {
  max-width: 1300px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-logo-icon {
  width: 32px; height: 32px; background: var(--purple); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 14px;
}
.footer-logo-img {
  width: 32px; height: 32px;
  border-radius: 9px;
  object-fit: contain;
}
.footer-logo-text { color: rgba(255,255,255,0.7); font-weight: 700; font-size: 15px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
  color: rgba(255,255,255,0.4); text-decoration: none; font-size: 13px; transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-copy { font-size: 13px; }

/* ══════════════════════════════════════
   INNER PAGES (FAQ, Privacy, Terms)
══════════════════════════════════════ */
.page-header {
  text-align: center;
  padding-top: 108px;
  margin-bottom: 48px;
}
.pill {
  display: inline-block; background: var(--purple-light); color: var(--purple);
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 16px;
}
.page-header h1 {
  font-size: clamp(32px, 4vw, 52px); font-weight: 900;
  letter-spacing: -1.5px; margin-bottom: 12px;
}
.page-header p {
  font-size: 16px; color: var(--muted); max-width: 480px; margin: 0 auto; line-height: 1.6;
}
.tab-bar {
  display: flex; background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 4px; margin-bottom: 32px; max-width: 380px;
}
.tab-bar a {
  flex: 1; text-align: center; padding: 10px; border-radius: 11px;
  font-size: 14px; font-weight: 600; text-decoration: none; color: var(--muted); transition: all 0.2s;
}
.tab-bar a.active { background: var(--purple); color: #fff; }
.legal-intro {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; margin-bottom: 24px;
}
.legal-intro .updated { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.legal-intro p { font-size: 14px; line-height: 1.7; color: var(--text); }
.legal-intro hr { border: none; border-top: 1px solid var(--border); margin: 16px 0; }
.legal-section {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; margin-bottom: 12px;
}
.legal-section h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.legal-section h4 { font-size: 14px; font-weight: 700; margin: 14px 0 6px; }
.legal-section p  { font-size: 14px; color: var(--muted); line-height: 1.7; }
.container-sm { max-width: 720px; margin: 0 auto; padding: 0 24px 80px; }

/* FAQ */
.faq-section { margin-bottom: 36px; }
.faq-category { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.faq-category-icon {
  width: 32px; height: 32px; background: var(--purple-light);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.faq-category-title {
  font-size: 11px; font-weight: 700; color: var(--purple);
  text-transform: uppercase; letter-spacing: 1px;
}
.faq-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 8px;
}
.faq-q {
  width: 100%; background: none; border: none; padding: 18px 20px;
  text-align: left; font-family: 'DM Sans', sans-serif; font-size: 15px;
  font-weight: 600; color: var(--text); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-q:hover { background: #faf8f5; }
.faq-q svg { flex-shrink: 0; transition: transform 0.25s; }
.faq-q.open svg { transform: rotate(180deg); }
.faq-a {
  display: none; padding: 16px 20px 18px;
  font-size: 14px; color: var(--muted); line-height: 1.7;
  border-top: 1px solid var(--border);
}
.faq-a.open { display: block; }
.faq-page-top { padding-top: 108px; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .app-card-secondary { display: none; }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-sub { max-width: 480px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-visual { height: 380px; }
  .app-card-main { width: 280px; }
  .hero-headline { letter-spacing: -2px; }
  .hero-cta-bar, .page-divider { margin-left: 20px; margin-right: 20px; }
  .hero-bottom { padding: 32px 20px 24px; }
  .section { padding: 60px 20px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  footer { padding: 32px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .app-card-main { width: 240px; }
  .app-pill { display: none; }
}
