/* SplitIt — matches Flutter app theme (Space Grotesk + neon palette) */
:root {
  --bg: #000000;
  --bg-2: #0d0d0d;
  --surface: #0d0d0d;
  --surface-solid: #161616;
  --glass: rgba(13, 13, 13, 0.92);
  --text: #ffffff;
  --muted: #888888;
  --muted-2: #444444;
  --border: #1f1f1f;
  --border-bright: rgba(0, 255, 136, 0.35);
  --lime: #00ff88;
  --lime-soft: #33ffaa;
  --lime-glow: rgba(0, 255, 136, 0.45);
  --lime-dim: rgba(0, 255, 136, 0.1);
  --cyan: #00d4ff;
  --cyan-dim: rgba(0, 212, 255, 0.12);
  --pink: #ff006e;
  --amber: #ffb800;
  --max: 1180px;
  --nav-h: 72px;
  --radius: 0;
  --radius-sm: 0;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 48px rgba(0, 255, 136, 0.18);
  --play-store: https://play.google.com/store/apps/details?id=com.agevole.split.it;
  --app-store: https://apps.apple.com/in/app/splitit-split-track-settle/id6764776675;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 10% -5%, rgba(0, 255, 136, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 40% at 95% 0%, rgba(0, 212, 255, 0.08), transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, #050505 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { position: relative; z-index: 1; }
.container { width: min(var(--max), 92vw); margin: 0 auto; }

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 14px 0;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
}
.site-header.scrolled {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}
.header-shell {
  width: min(var(--max), 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}
.logo-ring {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  padding: 2px;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  box-shadow: 0 0 20px var(--lime-glow);
}
.logo-ring img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}
.logo span { color: var(--lime); }
.nav-center {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: rgba(0,0,0,0.25);
  border-radius: 999px;
  border: 1px solid var(--border);
}
.nav-center a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav-center a:hover,
.nav-center a.active { color: var(--text); background: rgba(255,255,255,0.06); }
.header-cta { display: flex; gap: 8px; align-items: center; }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-solid);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.25s, background 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lime {
  background: linear-gradient(135deg, var(--lime-soft), var(--lime));
  color: #031004;
  box-shadow: 0 4px 24px var(--lime-glow), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-lime:hover { box-shadow: 0 8px 36px var(--lime-glow); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--border-bright); background: var(--lime-dim); }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }

/* ── Hero ── */
.hero {
  padding: calc(var(--nav-h) + 56px) 0 80px;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: var(--lime-dim);
  border: 1px solid rgba(57,255,20,0.25);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--lime);
  margin-bottom: 22px;
}
.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
  font-weight: 800;
}
.hero h1 .line { display: block; }
.hero h1 .accent {
  background: linear-gradient(90deg, var(--lime), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 0 32px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.metric {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--lime);
  margin-bottom: 2px;
}
.metric span { font-size: 0.78rem; color: var(--muted-2); }

/* Hero visual — bento phone */
.hero-bento {
  position: relative;
}
.hero-bento::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, var(--lime-glow) 0%, transparent 65%);
  filter: blur(40px);
  opacity: 0.4;
}
.bento-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.bento-card {
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(18,26,48,0.95), rgba(8,12,22,0.98));
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  transition: border-color 0.3s, transform 0.3s;
}
.bento-card:hover { border-color: var(--border-bright); transform: translateY(-4px); }
.bento-card.wide { grid-column: span 2; }
.bento-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-2); margin-bottom: 8px; }
.bento-value { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--lime); }
.bento-sub { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
.bento-pill {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--violet-dim);
  color: var(--violet);
}
.bento-icon { font-size: 1.6rem; margin-bottom: 10px; }

/* ── Sections ── */
.section { padding: 88px 0; }
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  line-height: 1.1;
}
.section-lead { color: var(--muted); max-width: 560px; margin: 0 0 48px; font-size: 1.02rem; }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }

.features-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.f-card {
  grid-column: span 4;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.f-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.f-card:hover { transform: translateY(-6px); border-color: rgba(57,255,20,0.2); }
.f-card:hover::after { opacity: 1; }
.f-card.span-6 { grid-column: span 6; }
.f-card.span-8 { grid-column: span 8; }
.f-card.span-4 { grid-column: span 4; }
.f-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  background: var(--lime-dim);
  border: 1px solid rgba(57,255,20,0.15);
}
.f-card h3 { font-family: var(--font-display); margin: 0 0 8px; font-size: 1.1rem; }
.f-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Timeline */
.timeline { max-width: 680px; margin: 0 auto; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--lime), var(--violet), transparent);
  border-radius: 2px;
}
.t-item {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
  position: relative;
}
.t-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 2px solid var(--lime);
  color: var(--lime);
  font-family: var(--font-display);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  z-index: 1;
  box-shadow: 0 0 20px var(--lime-glow);
}
.t-body {
  flex: 1;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}
.t-body h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 1rem; }
.t-body p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Trust row */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.trust-item {
  text-align: center;
  padding: 28px 18px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), transparent);
  border: 1px solid var(--border);
}
.trust-item .ico { font-size: 2rem; margin-bottom: 12px; }
.trust-item h4 { margin: 0 0 6px; font-family: var(--font-display); font-size: 0.95rem; }
.trust-item p { margin: 0; font-size: 0.82rem; color: var(--muted); }

/* CTA strip */
.cta-strip {
  margin: 0;
  padding: 48px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(57,255,20,0.08), rgba(139,92,246,0.06)),
    var(--surface-solid);
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -80px;
  top: -100px;
  background: radial-gradient(circle, var(--lime-glow), transparent 70%);
  pointer-events: none;
}
.cta-strip h2 { font-family: var(--font-display); margin: 0 0 8px; font-size: 1.75rem; position: relative; }
.cta-strip p { margin: 0; color: var(--muted); position: relative; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; position: relative; }

/* ── Legal / inner pages ── */
.page-top { padding: calc(var(--nav-h) + 48px) 0 0; }
.doc-hero {
  padding: 40px 0 36px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.doc-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}
.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.doc-badge {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--lime-dim);
  border: 1px solid rgba(57,255,20,0.2);
  color: var(--lime);
}
.doc-meta span { color: var(--muted); font-size: 0.88rem; }
.doc-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  padding-bottom: 80px;
  align-items: start;
}
.doc-nav {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.doc-nav-title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 14px;
}
.doc-nav a {
  display: block;
  padding: 10px 12px;
  margin: 0 -12px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
  border-left: 2px solid transparent;
  transition: all 0.2s;
}
.doc-nav a:hover,
.doc-nav a.active {
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border-left-color: var(--lime);
}
.doc-content { min-width: 0; }
.doc-intro {
  padding: 24px 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--violet-dim), var(--cyan-dim));
  border: 1px solid var(--border);
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 0.95rem;
}
.doc-intro strong { color: var(--text); }
.doc-section {
  margin-bottom: 36px;
  padding-left: 20px;
  border-left: 3px solid transparent;
  transition: border-color 0.3s;
}
.doc-section:hover { border-left-color: rgba(57,255,20,0.4); }
.doc-section h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 12px;
  color: var(--lime);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.doc-section p,
.doc-section li { color: var(--muted); font-size: 0.94rem; }
.doc-section ul { margin: 10px 0 0; padding-left: 20px; }
.doc-section li { margin-bottom: 8px; }
.doc-section strong { color: var(--text); }
.callout {
  margin: 16px 0;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: var(--lime-dim);
  border: 1px solid rgba(57,255,20,0.22);
}
.callout p { margin: 0; color: var(--text) !important; font-size: 0.9rem !important; }
.callout-warn {
  background: rgba(251,113,133,0.08);
  border-color: rgba(251,113,133,0.25);
}

/* About page cards */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.about-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.about-card h2 { font-family: var(--font-display); font-size: 1.1rem; color: var(--cyan); margin: 0 0 10px; }
.about-card p, .about-card li { color: var(--muted); font-size: 0.92rem; }
.about-card ul { margin: 8px 0 0; padding-left: 18px; }

/* Deletion page */
.delete-hero-card {
  padding: 40px;
  border-radius: 24px;
  text-align: center;
  background: linear-gradient(160deg, var(--surface-solid), var(--bg-2));
  border: 1px solid var(--border);
  margin-bottom: 32px;
}
.delete-hero-card h2 { font-family: var(--font-display); margin: 0 0 12px; font-size: 1.5rem; }
.delete-hero-card p { color: var(--muted); margin: 0 0 24px; max-width: 480px; margin-left: auto; margin-right: auto; }
.delete-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.delete-step {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}
.delete-step .num {
  width: 36px; height: 36px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--lime-dim);
  color: var(--lime);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  margin-top: 40px;
  background: rgba(0,0,0,0.35);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo { margin-bottom: 14px; }
.footer-tagline { color: var(--muted); font-size: 0.88rem; max-width: 260px; line-height: 1.6; }
.footer-col h5 {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 14px;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s, padding-left 0.2s;
}
.footer-col a:hover { color: var(--lime); padding-left: 4px; }
.footer-bar {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--muted-2);
}
.footer-bar a { color: var(--cyan); }

/* Mobile drawer */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
}
.drawer-overlay.open { display: block; }
.drawer {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: min(320px, 88vw);
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  padding: 28px 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.drawer-overlay.open .drawer { transform: translateX(0); }
.drawer-close {
  background: none; border: none;
  color: var(--muted); font-size: 1.8rem;
  cursor: pointer; margin-bottom: 20px;
}
.drawer a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 1rem;
}
.drawer .btn { width: 100%; margin-top: 20px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Progress bar (legal pages) */
.read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--lime), var(--cyan));
  z-index: 500;
  box-shadow: 0 0 12px var(--lime-glow);
}

@media (max-width: 1024px) {
  .features-bento .f-card { grid-column: span 6; }
  .features-bento .f-card.span-8 { grid-column: span 12; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-bento { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .nav-center, .header-cta .btn-outline { display: none; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .header-shell { border-radius: 16px; }
  .hero-metrics { grid-template-columns: 1fr; }
  .features-bento .f-card { grid-column: span 12; }
  .trust-row { grid-template-columns: 1fr; }
  .doc-layout { grid-template-columns: 1fr; }
  .doc-nav { position: static; }
  .about-grid, .delete-steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-strip { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.wide { grid-column: span 1; }
}

/* App store badges */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.store-badge:hover {
  border-color: var(--lime);
  box-shadow: 0 0 24px var(--lime-dim);
}
.store-badge .store-icon { font-size: 1.4rem; line-height: 1; }
.store-badge .store-label { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.store-badge .store-label small { font-size: 0.65rem; color: var(--muted); font-weight: 500; }
.store-badge .store-label strong { font-size: 0.95rem; }
.bento-value, .metric strong { font-family: var(--font-mono); }
