/* ============================================================
   Connekto – Shared Design System
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

:root {
  --purple:     #7C3AED;
  --purple-mid: #8B5CF6;
  --blue:       #3B82F6;
  --blue-light: #60A5FA;
  --blue-dark:  #2563EB;
  --wa-green:   #25D366;
  --bg:         #090E1A;
  --surface:    #0F1729;
  --surface-2:  #162035;
  --border:     rgba(255,255,255,.08);
  --text:       #E2E8F0;
  --muted:      #94A3B8;
  --radius:     14px;
  --max-w:      780px;
  /* legacy aliases kept for compatibility */
  --teal:       #7C3AED;
  --teal-light: #8B5CF6;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(9,14,26,.82);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1200px; margin: auto;
  display: flex; align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
}
.nav-logo-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-text-wrap {
  display: flex; flex-direction: column; line-height: 1.1;
}
.nav-logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 1.2rem; letter-spacing: .04em;
  color: var(--text);
  -webkit-text-fill-color: var(--text);
  background: none;
}
.nav-logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: .6rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.nav-links { display: flex; gap: 8px; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: .875rem; font-weight: 500;
  padding: 6px 14px; border-radius: 8px;
  transition: all .2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: rgba(255,255,255,.07);
}

/* ── HERO (index only) ───────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 110px 24px 90px;
  text-align: center;
}
.hero-glow {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 0%, rgba(13,148,136,.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 60%, rgba(59,130,246,.15) 0%, transparent 70%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,211,102,.1); border: 1px solid rgba(37,211,102,.25);
  color: var(--wa-green); border-radius: 999px;
  padding: 6px 16px; font-size: .8rem; font-weight: 600;
  margin-bottom: 28px; position: relative; z-index: 1;
}
.hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800; line-height: 1.15;
  position: relative; z-index: 1;
  margin-bottom: 20px;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--purple-mid) 0%, var(--blue-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub {
  max-width: 600px; margin: 0 auto 40px;
  color: var(--muted); font-size: 1.1rem;
  position: relative; z-index: 1;
}
.hero-cta {
  display: inline-flex; gap: 14px; flex-wrap: wrap;
  justify-content: center; position: relative; z-index: 1;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--purple), var(--blue-dark));
  color: #fff; text-decoration: none;
  padding: 14px 30px; border-radius: 10px;
  font-weight: 600; font-size: .95rem;
  box-shadow: 0 0 30px rgba(124,58,237,.35);
  transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 40px rgba(124,58,237,.5); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); color: var(--text); text-decoration: none;
  padding: 14px 30px; border-radius: 10px;
  font-weight: 600; font-size: .95rem;
  background: rgba(255,255,255,.04);
  transition: background .2s, border-color .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.2); }

/* ── FEATURES GRID ───────────────────────────────────────── */
.section { padding: 80px 24px; }
.section-label {
  text-align: center;
  font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--teal-light);
  margin-bottom: 12px;
}
.section-title {
  text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800;
  margin-bottom: 14px;
}
.section-sub {
  text-align: center; color: var(--muted); max-width: 520px;
  margin: 0 auto 56px; font-size: 1rem;
}
.grid-3 {
  display: grid; gap: 24px; max-width: 1120px; margin: auto;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: rgba(124,58,237,.4); transform: translateY(-4px); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  background: linear-gradient(135deg, rgba(13,148,136,.2), rgba(59,130,246,.2));
}
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.card p  { color: var(--muted); font-size: .9rem; line-height: 1.65; }

/* ── STAT STRIP ──────────────────────────────────────────── */
.stats {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 24px;
}
.stats-inner {
  max-width: 1000px; margin: auto;
  display: flex; gap: 0; flex-wrap: wrap; justify-content: space-around;
}
.stat { text-align: center; padding: 16px 32px; }
.stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.4rem; font-weight: 800;
  background: linear-gradient(90deg, var(--purple-mid), var(--blue-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { color: var(--muted); font-size: .85rem; margin-top: 4px; }

/* ── LEGAL PAGES ─────────────────────────────────────────── */
.legal-wrap {
  max-width: var(--max-w); margin: 0 auto;
  padding: 60px 24px 80px;
  flex: 1;
}
.legal-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.legal-chip {
  display: inline-block;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 999px;
  margin-bottom: 18px;
}
.chip-privacy  { background: rgba(124,58,237,.15); color: #A78BFA; border: 1px solid rgba(124,58,237,.3); }
.chip-terms    { background: rgba(59,130,246,.15);  color: #60A5FA; border: 1px solid rgba(59,130,246,.3); }
.chip-deletion { background: rgba(239,68,68,.15);   color: #F87171; border: 1px solid rgba(239,68,68,.3); }
.legal-header h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800;
  margin-bottom: 12px;
}
.legal-meta { color: var(--muted); font-size: .9rem; }
.legal-meta span { color: var(--teal-light); font-weight: 600; }

.legal-body h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem; font-weight: 700;
  margin: 40px 0 14px;
  color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.legal-body h2::before {
  content: ''; width: 4px; height: 22px; border-radius: 4px;
  background: linear-gradient(180deg, var(--purple), var(--blue));
  flex-shrink: 0;
}
.legal-body p  { color: var(--muted); margin-bottom: 16px; font-size: .95rem; }
.legal-body ul { margin: 0 0 16px 0; padding-left: 0; list-style: none; }
.legal-body ul li {
  color: var(--muted); font-size: .95rem;
  padding: 6px 0 6px 26px; position: relative; border-bottom: 1px solid rgba(255,255,255,.04);
}
.legal-body ul li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--purple-mid); font-weight: 700;
}
.legal-body ol { margin: 0 0 16px 20px; }
.legal-body ol li { color: var(--muted); font-size: .95rem; margin-bottom: 8px; }

.callout {
  border-radius: 10px; padding: 18px 22px;
  margin: 24px 0; font-size: .9rem; line-height: 1.7;
}
.callout-info  { background: rgba(59,130,246,.08);  border-left: 3px solid #3B82F6; color: #93C5FD; }
.callout-warn  { background: rgba(245,158,11,.08);  border-left: 3px solid #F59E0B; color: #FCD34D; }
.callout-red   { background: rgba(239,68,68,.08);   border-left: 3px solid #EF4444; color: #FCA5A5; }
.callout-green { background: rgba(37,211,102,.08);  border-left: 3px solid #25D366; color: #86EFAC; }
.callout strong { color: #fff; }

/* Deletion steps */
.steps { counter-reset: step; margin: 24px 0; }
.step {
  counter-increment: step;
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px; margin-bottom: 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px;
}
.step-num {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff; font-weight: 700; font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
}
.step-num::before { content: counter(step); }
.step-body h4 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.step-body p  { color: var(--muted); font-size: .875rem; margin: 0; }
.step-body a  { color: var(--blue-light); text-decoration: none; }
.step-body a:hover { text-decoration: underline; }
.step-body code {
  background: rgba(255,255,255,.07); border-radius: 4px;
  padding: 2px 7px; font-size: .85rem; color: #60A5FA;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1200px; margin: auto;
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center; gap: 20px;
}
.footer-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 1.1rem;
  background: linear-gradient(90deg, var(--purple-mid), var(--blue-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.footer-copy { color: var(--muted); font-size: .8rem; margin-top: 4px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
  color: var(--muted); text-decoration: none; font-size: .85rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--blue-light); }

/* ── MOBILE ──────────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 80px 20px 60px; }
  .stats-inner { flex-direction: column; align-items: center; }
  .step { flex-direction: column; }
}

