:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --fg: #e8e6e1;
  --fg-muted: #8a8880;
  --accent: #f04e23;
  --accent-glow: rgba(240, 78, 35, 0.15);
  --accent-secondary: #ff7a50;
  --border: rgba(255,255,255,0.06);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-width: 1200px;
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 24px 60px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -300px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  border: 1px solid rgba(240, 78, 35, 0.3);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 40px;
  width: fit-content;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  max-width: 800px;
}

.hero h1 .accent {
  color: var(--accent);
}

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

.hero-platforms {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.platform-tag {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

/* ===== PROBLEM ===== */
.problem {
  padding: 120px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  align-items: start;
}

.problem-left h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.problem-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.stat-block {
  padding-left: 24px;
  border-left: 2px solid var(--accent);
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.problem-statement {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 720px;
  line-height: 1.8;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

/* ===== SERVICES ===== */
.services {
  padding: 120px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.services-header {
  margin-bottom: 64px;
}

.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.services-header h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
}

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

.service-card {
  background: var(--bg-elevated);
  padding: 40px 32px;
  position: relative;
  transition: background 0.2s;
}

.service-card:hover {
  background: rgba(255,255,255,0.03);
}

.service-icon {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== PROCESS ===== */
.process {
  padding: 120px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.process-header {
  margin-bottom: 64px;
}

.process-header h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 4px 1fr;
  gap: 40px;
}

.step-line {
  width: 4px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-secondary));
  border-radius: 2px;
  min-height: 100%;
}

.step-content {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.step:last-child .step-content {
  border-bottom: none;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.step-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ===== CLOSING ===== */
.closing {
  padding: 140px 24px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
}

.closing-inner {
  max-width: 780px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.closing-text {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 48px;
}

.closing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.price-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.price-period {
  font-size: 1.2rem;
  color: var(--fg-muted);
  font-weight: 500;
}

.price-detail {
  display: block;
  width: 100%;
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin-top: 8px;
}

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

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

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .step {
    grid-template-columns: 3px 1fr;
    gap: 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .closing-price {
    flex-direction: column;
    align-items: center;
  }

  .price-amount {
    font-size: 2.4rem;
  }

  .hero {
    min-height: auto;
    padding: 100px 20px 60px;
  }
}

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

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  transition: color 0.15s;
}

.nav-link:hover {
  color: var(--fg);
}

.nav-link--cta {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.15s;
}

.nav-link--cta:hover {
  background: var(--accent-secondary);
  color: #fff;
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
}

@media (max-width: 640px) {
  .nav-mobile-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 4px;
  }

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

  .nav-link { width: 100%; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  border: none;
}

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

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

.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.03);
}

.btn-lg {
  font-size: 1rem;
  padding: 16px 40px;
}

/* ===== PAGE LAYOUT ===== */
.page-main {
  padding-top: 64px; /* nav height offset */
}

.page-header {
  padding: 100px 24px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.page-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  margin-top: 16px;
}

.page-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.7;
}

/* ===== PRICING PAGE ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  max-width: var(--max-width);
  margin: 80px auto 0;
  padding: 0 24px;
}

.pricing-card {
  background: var(--bg-elevated);
  padding: 48px 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.pricing-card--featured {
  background: rgba(240, 78, 35, 0.06);
  border: 1px solid rgba(240, 78, 35, 0.2);
}

.plan-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  border: 1px solid rgba(240, 78, 35, 0.35);
  padding: 4px 12px;
  border-radius: 100px;
  width: fit-content;
  margin-bottom: -16px;
}

.plan-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  letter-spacing: -0.03em;
}

.plan-period {
  font-size: 1.1rem;
  color: var(--fg-muted);
}

.plan-volume {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: -20px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.plan-features li {
  font-size: 0.95rem;
  color: var(--fg-muted);
  padding-left: 20px;
  position: relative;
}

.plan-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
}

.pricing-faq {
  max-width: var(--max-width);
  margin: 100px auto 80px;
  padding: 0 24px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 60px;
  margin-top: 40px;
}

.faq-item h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.faq-item p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
}

/* ===== INTAKE FORM ===== */
.intake-wrapper {
  max-width: 760px;
  margin: 64px auto 100px;
  padding: 0 24px;
}

.intake-success {
  text-align: center;
  padding: 80px 40px;
  background: var(--bg-elevated);
  border: 1px solid rgba(240, 78, 35, 0.2);
  border-radius: 4px;
}

.success-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 800;
}

.intake-success h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: 16px;
}

.intake-success p {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.form-error-banner {
  background: rgba(240, 78, 35, 0.1);
  border: 1px solid rgba(240, 78, 35, 0.3);
  color: var(--accent-secondary);
  padding: 14px 20px;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.intake-form {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

.required {
  color: var(--accent);
}

.form-group input,
.form-group textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 16px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border-color 0.15s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(240, 78, 35, 0.5);
}

.form-group textarea {
  resize: vertical;
}

/* Plan selector in intake form */
.plan-select-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.plan-select-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.plan-select-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.plan-select-card:hover {
  border-color: rgba(240, 78, 35, 0.3);
}

.plan-select-card.selected,
.plan-select-card--featured.selected {
  border-color: var(--accent);
  background: rgba(240, 78, 35, 0.06);
}

.plan-select-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 4px;
}

.plan-select-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.plan-select-price {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
}

.plan-select-vol {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .plan-select-grid { grid-template-columns: 1fr; }
}

/* ===== PORTFOLIO PAGE ===== */
.portfolio-capabilities {
  max-width: var(--max-width);
  margin: 80px auto 0;
  padding: 0 24px 80px;
  border-bottom: 1px solid var(--border);
}

.portfolio-capabilities .section-label,
.portfolio-niches .section-label,
.portfolio-samples .section-label {
  display: block;
  margin-bottom: 40px;
}

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

.capability-card {
  background: var(--bg-elevated);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.capability-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.capability-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.capability-card p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
  flex: 1;
}

.capability-meta {
  font-size: 0.78rem;
  color: var(--fg-muted);
  opacity: 0.6;
  margin-top: 4px;
}

.portfolio-niches {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
  border-bottom: 1px solid var(--border);
}

.niche-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.niche-tag {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 6px;
}

.portfolio-samples {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
  border-bottom: 1px solid var(--border);
}

.samples-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.sample-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sample-thumb {
  aspect-ratio: 9/16;
  border-radius: 6px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sample-thumb--1 { background: linear-gradient(135deg, #1a0a05 0%, #3d1508 100%); }
.sample-thumb--2 { background: linear-gradient(135deg, #0a0f1a 0%, #0f1f3d 100%); }
.sample-thumb--3 { background: linear-gradient(135deg, #0a1a0a 0%, #0f3d15 100%); }
.sample-thumb--4 { background: linear-gradient(135deg, #1a0a1a 0%, #2d0a2d 100%); }

.sample-play {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.3);
}

.sample-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: rgba(0,0,0,0.6);
  color: var(--fg-muted);
  padding: 4px 10px;
  border-radius: 4px;
}

.sample-title {
  font-weight: 600;
  font-size: 0.9rem;
}

.sample-detail {
  font-size: 0.78rem;
  color: var(--fg-muted);
}

.samples-note {
  font-size: 0.82rem;
  color: var(--fg-muted);
  opacity: 0.6;
  font-style: italic;
}

.portfolio-cta {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 24px;
  text-align: center;
}

.portfolio-cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .samples-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .capability-grid { grid-template-columns: 1fr; }
  .samples-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== HERO PADDING FIX (nav offset) ===== */
/* The landing page hero sits behind the fixed nav — offset it */
.hero {
  padding-top: 144px; /* 80px original + 64px nav */
}