/* ── Reset ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

/* ── Design Tokens ────────────────────────────────── */
:root {
  --bg:        #F2F5FC;
  --surface:   #FFFFFF;
  --text:      #0D1526;
  --text-2:    #5A6380;
  --accent:    #2563EB;
  --accent-2:  #5C35CC;
  --accent-lt: #EEF2FF;
  --border:    #DDE3EF;
  --dark:      #090E1C;
  --radius:    18px;
  --shadow:    0 2px 16px rgba(13,21,38,.08);
  --shadow-lg: 0 24px 64px rgba(13,21,38,.15);
}

/* ── Base ─────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── Typography ───────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.1;
  letter-spacing: -.02em;
}

/* ── Accent ───────────────────────────────────────── */
.accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all .22s ease;
  white-space: nowrap;
}
.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,99,235,.28);
}
.btn-primary:hover {
  opacity: .9;
  box-shadow: 0 8px 28px rgba(37,99,235,.4);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: #a0aec8;
  background: var(--surface);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-lt);
}
.btn-block { width: 100%; justify-content: center; }

/* ── Header ───────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242,245,252,.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.logo-img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
}
.logo-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
}

/* ── Hero ─────────────────────────────────────────── */
.hero { padding: 88px 0 80px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent-lt);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
  border: 1px solid rgba(37,99,235,.2);
  letter-spacing: .02em;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
}

.hero-text h1 {
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 800;
  margin-bottom: 22px;
}
.hero-text h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.subtitle {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 440px;
}
.cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cta-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.tick { color: #22c55e; font-weight: 700; }

/* ── Phone Mockup ─────────────────────────────────── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-wrap {
  position: relative;
}
.phone-wrap::after {
  content: '';
  position: absolute;
  inset: -32px;
  background: radial-gradient(ellipse, rgba(37,99,235,.1) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.phone-mockup {
  background: linear-gradient(150deg, #2C271F, #18140D);
  border-radius: 44px;
  padding: 14px;
  box-shadow:
    0 40px 80px rgba(0,0,0,.38),
    0 0 0 1px rgba(255,255,255,.05);
  width: 284px;
  position: relative;
  z-index: 1;
  transform: rotate(2.5deg);
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 6px;
  background: #18140D;
  border-radius: 3px;
  z-index: 2;
}
.phone-screen {
  background: var(--bg);
  border-radius: 32px;
  padding: 28px 16px 18px;
  min-height: 422px;
  overflow: hidden;
}
.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}
.mock-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.02em;
  color: var(--text);
}
.mock-greeting {
  font-size: 11px;
  color: var(--text-2);
  margin-top: 2px;
}
.mock-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.mock-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border-radius: 12px;
  padding: 11px;
  margin-bottom: 7px;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.mock-icon {
  font-size: 17px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  flex-shrink: 0;
}
.mock-icon--blue  { background: #EEF2FF; }
.mock-icon--green { background: #F0FDF4; }
.mock-icon--amber { background: #FFF7ED; }
.mock-info { flex: 1; min-width: 0; }
.mock-label { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-sub   { font-size: 10px; color: var(--text-2); margin-top: 1px; }
.mock-badge { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 50px; flex-shrink: 0; }
.mock-badge--warn { background: #FEF3C7; color: #B45309; }
.mock-badge--ok   { background: #F0FDF4; color: #16A34A; }
.mock-stats {
  display: flex;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 12px;
  padding: 14px 12px;
  margin-top: 8px;
  box-shadow: 0 8px 20px rgba(37,99,235,.28);
}
.mock-stat { text-align: center; }
.mock-stat-val { color: #fff; font-size: 15px; font-weight: 800; }
.mock-stat-lbl  { color: rgba(255,255,255,.6); font-size: 8.5px; margin-top: 2px; font-weight: 500; }

/* ── Proof Bar ────────────────────────────────────── */
.proof {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
}
.proof-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
}
.proof-item { display: flex; align-items: center; gap: 10px; }
.proof-val {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.proof-label { font-size: 14px; color: var(--text-2); font-weight: 500; }
.proof-divider { width: 1px; height: 28px; background: var(--border); }

/* ── Section Header ───────────────────────────────── */
.section-header { margin-bottom: 52px; }
.section-header--center { text-align: center; }
.section-header--center .section-sub { margin-left: auto; margin-right: auto; }
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 520px;
}

/* ── Features ─────────────────────────────────────── */
.features { padding: 96px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 36px 30px;
  transition: background .2s ease;
}
.feature-card:hover { background: var(--accent-lt); }
.feature-num {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 400;
  color: var(--border);
  margin-bottom: 18px;
  line-height: 1;
  transition: color .2s;
}
.feature-card:hover .feature-num { color: rgba(37,99,235,.18); }
.feature-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.feature-card p { font-size: 14px; color: var(--text-2); line-height: 1.8; }

/* ── Pricing ──────────────────────────────────────── */
.pricing { padding: 96px 0; background: var(--surface); }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1.5px solid var(--border);
  position: relative;
}
.pricing-card--featured {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.plan-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: .04em;
}
.plan-name {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-2);
  margin-bottom: 10px;
}
.pricing-card--featured .plan-name { color: rgba(255,255,255,.45); }
.plan-price {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 4px;
}
.plan-period { font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 400; opacity: .55; }
.plan-alt {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.pricing-card--featured .plan-alt {
  color: rgba(255,255,255,.45);
  border-color: rgba(255,255,255,.1);
}
.save-badge {
  display: inline-block;
  background: #F0FDF4;
  color: #16A34A;
  font-weight: 700;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 50px;
  margin-left: 4px;
}
.plan-features { list-style: none; margin-bottom: 32px; }
.plan-features li {
  font-size: 14px;
  padding: 9px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.pricing-card--featured .plan-features li { border-color: rgba(255,255,255,.08); }
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pricing-card--featured .plan-features li::before { color: #86efac; }

/* ── Footer ───────────────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.5);
  padding: 52px 0 36px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.footer-logo .logo-text { color: #fff; }
.footer-logo .accent { color: var(--accent); }
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 13px; }

/* ── Privacy Page ─────────────────────────────────── */
.privacy-page { padding: 64px 0 96px; }
.tldr {
  background: var(--accent-lt);
  border: 1px solid rgba(37,99,235,.18);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 32px 0 8px;
}
.tldr-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.tldr ul { list-style: none; padding-left: 0; margin: 0; }
.tldr ul li {
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 10px;
  padding-left: 26px;
  position: relative;
}
.tldr ul li:last-child { margin-bottom: 0; }
.tldr ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
}
.tldr ul li strong { color: var(--text); }
.privacy-inner { max-width: 760px; margin: 0 auto; }
.privacy-inner h1 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 8px;
}
.privacy-inner h1 em { font-style: italic; color: var(--accent); }
.updated {
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.privacy-inner h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 40px 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.privacy-inner h2::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 16px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  flex-shrink: 0;
}
.privacy-inner h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin: 22px 0 8px;
}
.privacy-inner p { color: var(--text-2); margin-bottom: 14px; line-height: 1.85; }
.privacy-inner ul { padding-left: 0; margin-bottom: 14px; list-style: none; }
.privacy-inner ul li {
  color: var(--text-2);
  margin-bottom: 10px;
  line-height: 1.75;
  padding-left: 20px;
  position: relative;
}
.privacy-inner ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
  top: 3px;
}
.privacy-inner a { color: var(--accent); text-decoration: none; font-weight: 500; }
.privacy-inner a:hover { text-decoration: underline; }
.privacy-inner ul li::before { color: var(--accent); }
.privacy-inner code {
  background: var(--accent-lt);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

/* ── Scroll Reveal ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: .07s; }
.reveal-d2 { transition-delay: .14s; }
.reveal-d3 { transition-delay: .21s; }
.reveal-d4 { transition-delay: .07s; }
.reveal-d5 { transition-delay: .14s; }
.reveal-d6 { transition-delay: .21s; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero { padding: 60px 0 52px; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { display: none; }
  .subtitle { max-width: 100%; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
  .proof-inner { gap: 20px; }
  .proof-divider { display: none; }
}
@media (max-width: 480px) {
  .cta-group { flex-direction: column; align-items: stretch; }
  .cta-group .btn { justify-content: center; }
  .pricing-grid { max-width: 100%; }
}
