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

:root {
  --bg: #ffffff;
  --surface: #f7f7f8;
  --border: #e2e2e5;
  --text: #1a1a1e;
  --text-muted: #6b6b78;
  --accent: #1a1a1e;
  --accent-fg: #ffffff;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'SF Mono', 'Fira Code', monospace;
  --max-w: 1100px;
  --space: clamp(1rem, 3vw, 2rem);
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* === Nav === */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem var(--space);
}

.nav-logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.nav-cta {
  font-size: 0.875rem;
  color: var(--accent-fg) !important;
  background: var(--accent);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  transition: opacity 0.2s;
}

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

/* === Hero === */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem var(--space) 4rem;
  text-align: center;
}

.hero-eyebrow {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-qualifier {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--mono);
}

/* === Buttons === */
.btn {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 100px;
  transition: opacity 0.2s;
  cursor: pointer;
}

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

.btn-primary:hover {
  opacity: 0.8;
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.btn-ghost:hover {
  border-color: var(--text);
  color: var(--text);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-full {
  display: block;
  text-align: center;
  width: 100%;
}

/* === Marquee === */
.marquee-section {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: scroll 20s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}

/* === Section Shared === */
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: -2rem;
  margin-bottom: 3rem;
}

/* === Services === */
.services {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem var(--space);
}

.services h2,
.how h2,
.pricing h2,
.cta-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.service-num {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === Why === */
.why {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--space);
  max-width: 700px;
}

.why h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.why p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* === How === */
.how {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem var(--space);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.step-num {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === Pricing === */
.pricing {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem var(--space);
  border-top: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--accent);
  border-width: 2px;
}

.pricing-header {
  margin-bottom: 1.5rem;
}

.pricing-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card ul {
  list-style: none;
  flex: 1;
  margin-bottom: 2rem;
}

.pricing-card li {
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

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

.pricing-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-note a {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pricing-note a:hover {
  opacity: 0.7;
}

/* === CTA === */
.cta-section {
  text-align: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem var(--space);
  border-top: 1px solid var(--border);
}

.cta-section p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* === Footer === */
.footer {
  text-align: center;
  padding: 2rem var(--space);
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

/* === Responsive === */
@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding: 4rem var(--space) 3rem;
  }

  .hero h1 br {
    display: none;
  }

  .services, .how, .pricing {
    padding: 4rem var(--space);
  }

  .why-content {
    padding: 3rem var(--space);
  }
}
