:root {
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --surface: #f5f5f7;
  --surface-2: #e8e8ed;
  --text: #1d1d1f;
  --text-2: #86868b;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --border: #d2d2d7;
  --border-light: #e8e8ed;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

::selection { background: var(--accent); color: #fff; }

/* ── NAV ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
  height: 52px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.nav-logo {
  font-size: 21px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.03em;
}

.nav-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  font-size: 14px;
  font-weight: 500;
  color: var(--bg) !important;
  background: var(--text);
  padding: 6px 14px;
  border-radius: 980px;
  transition: opacity 0.2s !important;
}

.nav-cta:hover { opacity: 0.8; }

/* ── HERO ─────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(52px + var(--space-2xl)) var(--space-md) var(--space-2xl);
}

.hero-eyebrow {
  font-size: 17px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.01em;
  margin-bottom: var(--space-sm);
}

.hero-headline {
  font-size: clamp(52px, 10vw, 96px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
  max-width: 900px;
  margin-bottom: var(--space-md);
}

.hero-sub {
  font-size: clamp(17px, 2.2vw, 24px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-2);
  max-width: 620px;
  margin-bottom: var(--space-lg);
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
  font-weight: 500;
  color: var(--bg);
  background: var(--accent);
  padding: 12px 24px;
  border-radius: 980px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
  font-weight: 400;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-secondary:hover { opacity: 0.7; }

.hero-divider {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin: var(--space-sm) auto;
}

.hero-stats {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  margin-top: var(--space-xl);
}

.stat-item { text-align: center; }

.stat-value {
  font-size: 32px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 14px;
  color: var(--text-2);
  margin-top: 2px;
}

.hero-mask {
  margin-top: var(--space-2xl);
  width: 100%;
  max-width: 1100px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 24px 64px rgba(0,0,0,0.08);
}

/* ── MANIFESTO ───────────────────────────────────── */
.manifesto {
  padding: var(--space-2xl) var(--space-lg);
  background: var(--bg-2);
  text-align: center;
}

.manifesto-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.manifesto-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 760px;
  margin: 0 auto var(--space-lg);
}

.manifesto-title em {
  font-style: normal;
  color: var(--accent);
}

.manifesto-sub {
  font-size: clamp(16px, 1.8vw, 21px);
  line-height: 1.65;
  color: var(--text-2);
  max-width: 580px;
  margin: 0 auto;
}

/* ── FEATURES ───────────────────────────────────── */
.features {
  padding: var(--space-2xl) var(--space-lg);
}

.features-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: var(--space-xs);
}

.features-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-xl);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  max-width: 1060px;
  margin: 0 auto;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  text-align: left;
  transition: background 0.2s, transform 0.2s;
}

.feature-card:hover {
  background: var(--surface-2);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

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

.feature-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
}

/* ── HOW IT WORKS ─────────────────────────────────── */
.how {
  padding: var(--space-2xl) var(--space-lg);
  background: var(--text);
  color: var(--bg);
}

.how-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: var(--space-xs);
}

.how-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--bg);
  text-align: center;
  max-width: 660px;
  margin: 0 auto var(--space-xl);
}

.how-steps {
  display: flex;
  gap: var(--space-sm);
  max-width: 980px;
  margin: 0 auto;
  counter-reset: step;
}

.step {
  flex: 1;
  position: relative;
  padding: 32px 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
}

.step::before {
  content: counter(step);
  counter-increment: step;
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.step-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--bg);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
}

.how-tools {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: var(--space-xl);
}

.how-tools-label {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.how-tools-list {
  display: flex;
  gap: 6px;
}

.how-tool {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
  padding: 4px 10px;
  border-radius: 980px;
}

/* ── PRICING ─────────────────────────────────────── */
.pricing {
  padding: var(--space-2xl) var(--space-lg);
}

.pricing-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: var(--space-xs);
}

.pricing-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
  text-align: center;
  margin-bottom: var(--space-xl);
}

.pricing-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.05), 0 8px 32px rgba(0,0,0,0.05);
}

.pricing-price {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}

.pricing-price sup {
  font-size: 28px;
  font-weight: 500;
  vertical-align: super;
  margin-right: 2px;
}

.pricing-period {
  font-size: 17px;
  color: var(--text-2);
  margin-top: 8px;
}

.pricing-divider {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin: var(--space-md) auto;
}

.pricing-items {
  list-style: none;
  text-align: left;
  margin-bottom: var(--space-lg);
}

.pricing-items li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

.pricing-items li:last-child { border-bottom: none; }

.pricing-items li svg {
  flex-shrink: 0;
  color: var(--accent);
}

.btn-full {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 17px;
  font-weight: 500;
  color: var(--bg);
  background: var(--accent);
  padding: 14px 28px;
  border-radius: 980px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-full:hover { background: var(--accent-hover); }

/* ── CLOSING ─────────────────────────────────────── */
.closing {
  padding: var(--space-2xl) var(--space-lg);
  background: var(--bg-2);
  text-align: center;
}

.closing-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
  max-width: 680px;
  margin: 0 auto var(--space-md);
}

.closing-title em {
  font-style: normal;
  color: var(--accent);
}

.closing-cta {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  align-items: center;
  margin-top: var(--space-lg);
}

/* ── FOOTER ──────────────────────────────────────── */
.footer {
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.footer-tag {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-2);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-2);
}

/* ── SCROLL ANIMATIONS ────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.10s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.20s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.30s; }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1000px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .how-steps { flex-direction: column; }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 60px;
    --space-2xl: 80px;
  }
  .nav { padding: 0 var(--space-md); }
  .nav-links { display: none; }
  .hero { padding-top: calc(52px + 60px); }
  .hero-stats { gap: var(--space-md); }
  .stat-value { font-size: 26px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 32px 24px; }
  .closing-cta { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 24px; }
}