/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0D0D0D;
  --bg-surface: #161616;
  --bg-card: #1C1C1C;
  --accent: #F59E0B;
  --accent-dim: rgba(245,158,11,0.12);
  --text: #F5F5F5;
  --text-muted: #8A8A8A;
  --text-dim: #5A5A5A;
  --border: rgba(255,255,255,0.07);
  --radius: 10px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  letter-spacing: -0.5px;
}

.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 48px;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(245,158,11,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(245,158,11,0.04) 0%, transparent 60%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px;
}

.hero-content {
  position: relative;
  z-index: 1;
  grid-column: 1;
}

.hero-overline {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-lede {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  padding: 40px 0;
}

/* === MOCKUP CARD === */
.mockup-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 380px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(245,158,11,0.05);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
}

.mockup-title {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.mockup-body {
  padding: 20px;
}

.mockup-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.mockup-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(245,158,11,0.3), rgba(245,158,11,0.1));
  border: 1px solid rgba(245,158,11,0.2);
  flex-shrink: 0;
}

.mockup-lines {
  flex: 1;
}

.mockup-line {
  height: 8px;
  background: var(--bg-surface);
  border-radius: 4px;
  margin-bottom: 6px;
}

.mockup-line.w75 { width: 75%; }
.mockup-line.w60 { width: 60%; }
.mockup-line.w55 { width: 55%; }
.mockup-line.w50 { width: 50%; }
.mockup-line.w40 { width: 40%; }
.mockup-line.w35 { width: 35%; }

.mockup-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

.mockup-badge.paid {
  background: rgba(34,197,94,0.15);
  color: #4ade80;
}

.mockup-badge.pending {
  background: rgba(245,158,11,0.12);
  color: var(--accent);
}

.mockup-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.mockup-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.mockup-stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

.mockup-stat-value {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--accent);
}

.mockup-bar {
  height: 6px;
  background: var(--bg-surface);
  border-radius: 3px;
  overflow: hidden;
}

.mockup-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), rgba(245,158,11,0.5));
  border-radius: 3px;
}

/* === STATS === */
.stats {
  padding: 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 20px 40px;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -2px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* === FEATURES === */
.features {
  padding: 100px 48px;
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-overline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 64px;
  letter-spacing: -0.5px;
  max-width: 540px;
}

.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(--bg-card);
  padding: 36px 32px;
  transition: background 0.2s;
}

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

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

.feature-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

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

/* === PRICING === */
.pricing {
  padding: 100px 48px;
  background: var(--bg-surface);
}

.pricing-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(245,158,11,0.06) 0%, var(--bg-card) 100%);
}

.pricing-tier {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -1px;
}

.pricing-period {
  font-size: 15px;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* === MANIFESTO === */
.manifesto {
  padding: 100px 48px;
  background: var(--bg);
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 28px;
  letter-spacing: -0.3px;
}

.manifesto-attribution {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.03em;
}

/* === CLOSING === */
.closing {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.closing-sub {
  font-size: 18px;
  color: var(--text-muted);
}

/* === FOOTER === */
.footer {
  padding: 32px 48px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.footer-tagline {
  font-size: 12px;
  color: var(--text-dim);
}

.footer-legal {
  font-size: 12px;
  color: var(--text-dim);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card:last-child { grid-column: 1 / -1; max-width: 400px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .hero {
    grid-template-columns: 1fr;
    padding: 120px 24px 60px;
    min-height: auto;
  }
  .hero-visual { justify-content: center; padding: 40px 0 0; }
  .mockup-card { width: 100%; max-width: 360px; }
  .stats { padding: 36px 24px; }
  .stats-grid { flex-direction: column; gap: 0; }
  .stat-item { padding: 20px; }
  .stat-divider { width: 60px; height: 1px; }
  .features { padding: 60px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing { padding: 60px 24px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .manifesto { padding: 60px 24px; }
  .closing { padding: 60px 24px; }
  .footer { padding: 24px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}