@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --bg: #faf9f7;
  --bg-alt: #f2f0ec;
  --fg: #111111;
  --fg-muted: #6b6b6b;
  --accent: #c87d0a;
  --accent-light: #f59e0b;
  --accent-dim: rgba(200, 125, 10, 0.12);
  --ink: #1a1a1a;
  --border: rgba(17, 17, 17, 0.1);
  --card: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 48px;
}

/* ─── Nav ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav-tagline {
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17,17,17,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,17,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200, 125, 10, 0.08) 0%, transparent 70%);
  bottom: 0;
  left: 10%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

.hero-content {
  max-width: 560px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 32px;
  background: var(--bg-alt);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

.label-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.0;
  color: var(--ink);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

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

.hero-sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--fg-muted);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--ink);
  line-height: 1;
}

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

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

/* ─── Terminal ─── */
.terminal-card {
  background: #0e0e0e;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.05);
}

.terminal-header {
  background: #1a1a1a;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.term-dot.red { background: #ff5f57; }
.term-dot.yellow { background: #ffbd2e; }
.term-dot.green { background: #28c840; }

.term-title {
  margin-left: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-family: 'DM Sans', sans-serif;
}

.terminal-body {
  padding: 24px 24px 20px;
}

.term-line {
  font-family: 'DM Sans', monospace;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
}

.term-prompt {
  color: var(--accent);
  font-weight: 600;
}

.term-ok {
  color: rgba(40, 200, 64, 0.85);
  padding-left: 20px;
}

.term-blank {
  height: 8px;
}

.term-cursor {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  font-family: 'DM Sans', monospace;
}

.cursor-blink {
  animation: blink 1s step-end infinite;
  color: var(--accent);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ─── Proof ─── */
.proof {
  padding: 80px 0;
  background: var(--ink);
  color: white;
}

.proof-quote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.quote-mark {
  font-family: 'DM Serif Display', serif;
  font-size: 8rem;
  line-height: 0.5;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 24px;
}

.proof-quote blockquote {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  line-height: 1.5;
  color: white;
  margin-bottom: 28px;
  font-style: normal;
}

.proof-quote cite {
  font-size: 13px;
  font-style: normal;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ─── Services ─── */
.services {
  padding: 100px 0;
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 36px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.service-num {
  font-family: 'DM Serif Display', serif;
  font-size: 3.5rem;
  color: rgba(17,17,17,0.08);
  line-height: 1;
  margin-bottom: 20px;
}

.service-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.375rem;
  color: var(--ink);
  margin-bottom: 12px;
  font-weight: 400;
}

.service-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-muted);
  margin-bottom: 24px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
}

/* ─── How ─── */
.how {
  padding: 100px 0;
  background: var(--bg-alt);
  position: relative;
}

.how-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17,17,17,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,17,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.how-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
}

.how-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--fg-muted);
  margin-bottom: 20px;
}

.pricing-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.07);
  border: 1px solid var(--border);
}

.pricing-header {
  background: var(--ink);
  color: white;
  padding: 28px 32px;
}

.pricing-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}

.pricing-price {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  color: white;
  line-height: 1;
}

.pricing-price small {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.5;
  font-family: 'DM Sans', sans-serif;
}

.pricing-list {
  list-style: none;
  padding: 28px 32px;
}

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

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

.pricing-note {
  padding: 16px 32px 28px;
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.6;
}

.math-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 24px;
  background: rgba(17,17,17,0.03);
  border-radius: 12px;
}

.math-item {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.math-op {
  color: var(--fg-muted);
  font-size: 18px;
}

.math-result {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--accent);
  margin-left: auto;
}

/* ─── Results ─── */
.results {
  padding: 100px 0;
  background: var(--bg);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.result-card {
  padding: 36px 32px;
}

.result-icon {
  margin-bottom: 20px;
}

.result-card h4 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
}

.result-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-muted);
}

/* ─── Closing ─── */
.closing {
  padding: 120px 0;
  background: var(--ink);
  color: white;
  position: relative;
  overflow: hidden;
}

.closing-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(200,125,10,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 50%, rgba(245,158,11,0.08) 0%, transparent 60%);
}

.closing-inner {
  position: relative;
  text-align: center;
}

.closing-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: white;
  margin-bottom: 32px;
}

.closing-sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 580px;
  margin: 0 auto 56px;
}

.closing-cta {
  display: inline-block;
}

.cta-label {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--accent-light);
  margin-bottom: 8px;
}

.cta-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}

/* ─── Footer ─── */
.footer {
  background: #0a0a0a;
  color: rgba(255,255,255,0.4);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: white;
  display: block;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.35);
}

.footer-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.footer-bottom {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero .container,
  .how-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    display: none;
  }

  .services-grid,
  .results-grid {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-meta {
    text-align: left;
  }

  .math-row {
    margin-top: 12px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 100px 0 60px;
  }

  .hero-headline {
    font-size: 2.5rem;
  }

  .services,
  .how,
  .results,
  .closing {
    padding: 64px 0;
  }

  .proof {
    padding: 60px 0;
  }

  .service-card,
  .result-card {
    padding: 28px 24px;
  }
}