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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: #080808;
  color: #F0F0EB;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ─── Tokens ────────────────────────────────────────────────── */
:root {
  --bg: #080808;
  --surface: #111111;
  --surface-2: #161616;
  --border: #1E1E1E;
  --border-2: #2A2A2A;
  --text-primary: #F0F0EB;
  --text-secondary: #6B7280;
  --text-tertiary: #3F3F46;
  --accent: #39FF14;
  --accent-dim: rgba(57, 255, 20, 0.12);
}

/* ─── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: 1.25rem; font-weight: 600; }

p { color: var(--text-secondary); line-height: 1.7; }

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

/* ─── Layout ────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 1rem;
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s cubic-bezier(0.23, 1, 0.32, 1),
              color 0.15s cubic-bezier(0.23, 1, 0.32, 1),
              border-color 0.15s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.2s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.15s cubic-bezier(0.23, 1, 0.32, 1);
  white-space: nowrap;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent);
  color: #080808;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #2ee010;
  border-color: #2ee010;
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-2);
}

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

.btn-outline-green {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline-green:hover {
  background: var(--accent);
  color: #080808;
}

/* ─── NAV ───────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.nav-logo-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.nav-logo-slash {
  color: var(--text-tertiary);
  font-weight: 400;
  margin: 0 0.1rem;
}

.nav-logo-sub {
  color: var(--text-secondary);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--bg);
  z-index: 99;
  flex-direction: column;
  padding: 2rem;
  border-top: 1px solid var(--border);
}

.nav-overlay.open {
  display: flex;
}

.nav-overlay .nav-links {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.nav-overlay .nav-links li {
  width: 100%;
  border-bottom: 1px solid var(--border);
}

.nav-overlay .nav-links a {
  display: block;
  padding: 1.25rem 0;
  font-size: 1.125rem;
  color: var(--text-primary);
}

.nav-overlay .btn {
  margin-top: 2rem;
  width: 100%;
  justify-content: center;
}

/* ─── HERO ──────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  padding: 6rem 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 2rem;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--text-tertiary);
}

#hero h1 {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

#hero p {
  font-size: 1.125rem;
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-metrics {
  margin-top: 5rem;
  display: flex;
  gap: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.hero-metric-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-metric-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* ─── TESTIMONIAL ───────────────────────────────────────────── */
#testimonial {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0;
}

.testimonial-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem;
}

.testimonial-quote-mark {
  font-size: 5rem;
  line-height: 0.8;
  color: var(--border-2);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  background: var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.1rem;
}

.badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--border-2);
  color: var(--text-secondary);
  margin-left: auto;
  text-decoration: none;
}

.badge--a16z {
  color: #C9A84C;
  border-color: rgba(201, 168, 76, 0.45);
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.18), 0 0 28px rgba(201, 168, 76, 0.07);
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.badge--a16z:hover {
  color: #E2BC5A;
  border-color: rgba(201, 168, 76, 0.75);
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.38), 0 0 48px rgba(201, 168, 76, 0.14);
}

/* ─── SERVICES ──────────────────────────────────────────────── */
#services {
  border-bottom: 1px solid var(--border);
}

.services-header {
  margin-bottom: 3rem;
}

.accordion {
  border-top: 1px solid var(--border);
}

.accordion-item {
  border-bottom: 1px solid var(--border);
  box-shadow: inset 2px 0 0 transparent;
  transition: box-shadow 0.2s ease;
}

.accordion-item.open {
  box-shadow: inset 2px 0 0 var(--accent);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.75rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  transition: transform 0.15s cubic-bezier(0.23, 1, 0.32, 1);
}

.accordion-trigger:active {
  transform: scale(0.99);
}

.accordion-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
}

.accordion-number {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
  min-width: 2rem;
}

.accordion-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}

.accordion-icon::before {
  width: 12px;
  height: 1.5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.accordion-icon::after {
  width: 1.5px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.accordion-item.open .accordion-icon {
  color: var(--accent);
}

.accordion-item.open .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-body-inner {
  padding-bottom: 2rem;
}

.accordion-body-inner p {
  font-size: 1rem;
  line-height: 1.75;
  max-width: 600px;
}

.accordion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border-2);
  color: var(--text-secondary);
}

/* ─── PRICING ───────────────────────────────────────────────── */
#pricing {
  border-bottom: 1px solid var(--border);
}

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

.pricing-header p {
  margin-top: 1rem;
  max-width: 480px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.pricing-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  position: relative;
}

.pricing-card--featured {
  background: var(--surface);
  outline: 1px solid var(--accent);
  z-index: 1;
}

.pricing-popular {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.pricing-name {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0;
}

.pricing-period {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 1.75rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-check {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

/* ─── WORK ──────────────────────────────────────────────────── */
#work {
  border-bottom: 1px solid var(--border);
}

.work-header {
  margin-bottom: 3rem;
}

.work-header p {
  margin-top: 1rem;
  max-width: 480px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.work-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  transition: background 0.15s ease;
}

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

.work-stat {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.work-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.work-context {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

/* ─── WORK SAMPLES ──────────────────────────────────────────── */
.work-samples-header {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  margin-bottom: 1rem;
}

.work-samples-sub {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-top: 0.4rem;
}

.work-samples-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.work-sample {
  background: var(--bg);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}

/* Mockup spans full width — landscape photo gets proper room */
.work-sample--main {
  grid-column: span 2;
}

.work-sample--main img {
  height: 420px;
  object-position: center center;
}

/* Screenshots sit side by side below — taller so portrait content shows */
.work-sample:not(.work-sample--main) img {
  height: 380px;
  object-position: top center;
}

.work-sample img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.23, 1, 0.32, 1),
              filter 0.4s ease;
  filter: brightness(0.88);
}

.work-sample:hover img {
  transform: scale(1.03);
  filter: brightness(1);
}

.work-sample:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.work-sample-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem 1.5rem 1.25rem;
  background: linear-gradient(to top, rgba(8, 8, 8, 0.9) 0%, rgba(8, 8, 8, 0.35) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transform: translateY(6px);
  opacity: 0.9;
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.3s ease;
}

.work-sample:hover .work-sample-caption {
  transform: translateY(0);
  opacity: 1;
}

.work-sample-type {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.work-sample-desc {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
}

/* ─── Expand hint on samples ─────────────────────────────────── */
.work-sample::after {
  content: '';
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 30px;
  height: 30px;
  background: rgba(8, 8, 8, 0.75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 14px no-repeat;
  border: 1px solid var(--border-2);
  opacity: 0;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.work-sample:hover::after {
  opacity: 1;
  border-color: rgba(57, 255, 20, 0.3);
  background-color: rgba(8, 8, 8, 0.85);
}

/* ─── LIGHTBOX ───────────────────────────────────────────────── */
.work-lightbox {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 8, 8, 0.97);
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease,
              visibility 0s linear 0.25s;
}

.work-lightbox.open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.25s ease,
              visibility 0s linear 0s;
}

.work-lightbox-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.work-lightbox img {
  max-width: 80vw;
  max-height: 86vh;
  object-fit: contain;
  display: block;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.8);
  transform: scale(0.94);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease;
  cursor: default;
}

.work-lightbox.open img {
  transform: scale(1);
  opacity: 1;
}

.work-lightbox img.is-switching {
  transform: scale(0.94);
  opacity: 0;
}

.work-lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: 1px solid var(--border-2);
  color: var(--text-secondary);
  font-size: 1.1rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
  line-height: 1;
}

.work-lightbox-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.work-lightbox-nav {
  background: none;
  border: 1px solid var(--border-2);
  color: var(--text-secondary);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 1rem;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.work-lightbox-nav:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.work-lightbox-counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

@media (max-width: 600px) {
  .work-lightbox {
    padding: 1rem;
    gap: 0.75rem;
  }

  .work-lightbox img {
    max-width: 92vw;
    max-height: 80vh;
  }

  .work-lightbox-nav {
    width: 36px;
    height: 36px;
    font-size: 0.875rem;
  }
}

@media (max-width: 640px) {
  .work-samples-grid {
    grid-template-columns: 1fr;
  }

  .work-sample--main {
    grid-column: span 1;
  }

  .work-sample--main img {
    height: 280px;
  }

  .work-sample:not(.work-sample--main) img {
    height: 300px;
  }

  .work-sample-caption {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ─── WHY ───────────────────────────────────────────────────── */
#why {
  border-bottom: 1px solid var(--border);
}

.why-header {
  margin-bottom: 4rem;
}

.why-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.why-item {
  background: var(--bg);
  padding: 2.5rem 2rem;
  transition: background 0.25s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
  .why-item:hover {
    background: var(--surface);
    box-shadow: inset 2px 0 0 var(--accent);
  }
}

.why-number {
  font-size: 4.5rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--border-2);
  line-height: 1;
  margin-bottom: 1.5rem;
  font-variant-numeric: tabular-nums;
}

.why-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.why-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── FINAL CTA ─────────────────────────────────────────────── */
#cta-final {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

#cta-final .container--narrow {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#cta-final .section-label {
  align-self: center;
}

#cta-final h2 {
  margin-bottom: 1.25rem;
}

#cta-final p {
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.cta-note {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-bottom: 0;
}

/* ─── FOOTER ────────────────────────────────────────────────── */
footer {
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  transition: color 0.15s ease;
}

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

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.footer-logo--external {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  transition: color 0.15s ease;
}

.footer-logo--external:hover {
  color: var(--text-primary);
}

.footer-logo-ext {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  text-transform: none;
  transition: color 0.15s ease;
}

.footer-logo--external:hover .footer-logo-ext {
  color: var(--accent);
}

/* ─── HOW IT WORKS ──────────────────────────────────────────── */
#process {
  border-bottom: 1px solid var(--border);
}

.process-header {
  margin-bottom: 3rem;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-bottom: 1px;
}

.process-track-node {
  background: var(--bg);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.process-track-node::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--border-2);
  flex-shrink: 0;
}

.process-track-node::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-2);
}

.process-track-node:last-child::after {
  display: none;
}

.process-track-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.process-step {
  background: var(--bg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background 0.25s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
  .process-step:hover {
    background: var(--surface);
    box-shadow: inset 0 2px 0 var(--accent);
  }
}

.process-step-num {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  border: 1px solid var(--border-2);
  padding: 0.2rem 0.55rem;
  margin-bottom: 1.5rem;
}

.process-step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.process-step-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── FAQ ────────────────────────────────────────────────────── */
#faq {
  border-bottom: 1px solid var(--border);
}

.faq-header {
  margin-bottom: 3rem;
}

.faq-list {
  border-top: 1px solid var(--border);
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  transition: transform 0.15s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-trigger:active {
  transform: scale(0.99);
}

.faq-question {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
  line-height: 1.4;
}

.faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  position: relative;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-icon::before {
  width: 12px;
  height: 1.5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 1.5px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.open .faq-icon {
  color: var(--accent);
}

.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-body-inner {
  padding-bottom: 1.75rem;
}

.faq-body-inner p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .pricing-grid,
  .work-grid,
  .why-list {
    grid-template-columns: 1fr;
  }

  .pricing-card--featured {
    outline-offset: 0;
  }

  .process-track {
    display: none;
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-right .btn {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  section {
    padding: 4rem 0;
  }

  .hero-inner {
    padding: 2rem 0 2.5rem;
  }

  .hero-metrics {
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 1.25rem;
  }
}

@media (max-width: 480px) {
  .container,
  .container--narrow {
    padding: 0 1.25rem;
  }

  section {
    padding: 3rem 0;
  }

  .hero-inner {
    padding: 1.5rem 0 2rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .testimonial-author {
    flex-wrap: wrap;
  }

  .badge {
    margin-left: 0;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  /* Tighter card & item padding on small phones */
  .pricing-card,
  .work-card,
  .why-item,
  .process-step {
    padding: 1.75rem 1.5rem;
  }

  /* Slightly smaller large numerics so they don't crowd */
  .pricing-price { font-size: 2rem; }
  .work-stat     { font-size: 2.25rem; }
  .why-number    { font-size: 3.25rem; }

  /* Footer */
  .footer-links  { gap: 1rem; }
}

/* ─── Glow effects ──────────────────────────────────────────── */
.btn-primary {
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.18), 0 0 40px rgba(57, 255, 20, 0.06);
}
.btn-outline-green {
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.08);
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    box-shadow: 0 0 28px rgba(57, 255, 20, 0.45), 0 0 70px rgba(57, 255, 20, 0.15);
  }
  .btn-outline-green:hover {
    box-shadow: 0 0 22px rgba(57, 255, 20, 0.38), 0 0 55px rgba(57, 255, 20, 0.12);
  }
  .btn-ghost:hover {
    box-shadow: 0 0 0 1px rgba(57, 255, 20, 0.3);
  }
}
.pricing-card--featured {
  box-shadow: 0 0 60px rgba(57, 255, 20, 0.07), 0 0 120px rgba(57, 255, 20, 0.03);
}

/* ─── Booking modal ─────────────────────────────────────────── */
.book-modal {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 8, 8, 0.88);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  visibility: hidden;
  opacity: 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.book-modal.open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.25s ease, visibility 0s linear 0s;
}

.book-modal-inner {
  background: var(--bg);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 2rem 2rem 0;
}

.book-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: 1px solid var(--border-2);
  color: var(--text-secondary);
  font-size: 1.1rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
  line-height: 1;
  z-index: 1;
}

.book-modal-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.book-modal-header {
  margin-bottom: 1.5rem;
}

.book-modal-sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .book-modal {
    padding: 0;
    align-items: flex-end;
  }

  .book-modal-inner {
    max-height: 92vh;
    padding: 1.5rem 1rem 0;
  }
}

/* ─── Calendly embed ─────────────────────────────────────────── */
.calendly-wrap {
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid var(--border);
  overflow: hidden;
}

.cta-email-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.15s ease;
}

.cta-email-link:hover {
  opacity: 0.75;
}

/* ─── Scanline grain overlay ────────────────────────────────── */
#es-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.038;
  background-repeat: repeat;
}

/* ─── Scroll fade-in ────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .fade-d1 { transition-delay: 0.08s; }
  .fade-d2 { transition-delay: 0.17s; }
  .fade-d3 { transition-delay: 0.26s; }

  /* Hero entrance on load */
  .hero-tag     { animation: es-rise 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both; }
  #hero h1      { animation: es-rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both; }
  .hero-sub     { animation: es-rise 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both; }
  .hero-ctas    { animation: es-rise 0.7s  cubic-bezier(0.16, 1, 0.3, 1) 0.5s  both; }
  .hero-metrics { animation: es-rise 0.7s  cubic-bezier(0.16, 1, 0.3, 1) 0.65s both; }

  @keyframes es-rise {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}
