/* ─── FONT FALLBACKS — size-adjusted pour éviter le CLS ─── */
@font-face {
  font-family: 'DM Sans Fallback';
  src: local('Arial');
  ascent-override: 92%;
  descent-override: 23.5%;
  line-gap-override: 0%;
  size-adjust: 101.91%;
}

@font-face {
  font-family: 'Bebas Neue Fallback';
  src: local('Impact'), local('Arial Narrow');
  ascent-override: 82.5%;
  descent-override: 20.6%;
  line-gap-override: 0%;
  size-adjust: 96.87%;
}

@font-face {
  font-family: 'DM Mono Fallback';
  src: local('Courier New');
  ascent-override: 77.5%;
  descent-override: 20.4%;
  line-gap-override: 0%;
  size-adjust: 122.52%;
}

:root {
  --bg: #242424;
  --surface: #2e2e2e;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f0ede8;
  --muted: #888078;
  --accent: #e17055;
  --accent2: #c85a3e;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', 'DM Sans Fallback', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  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)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.6;
}

/* ─── ANIMATIONS ─── */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.from-left {
  transform: translateX(-48px);
}

.reveal.from-right {
  transform: translateX(48px);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── STAGGER GRIDS ─── */
.stagger > * {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.stagger.visible > *:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}

.stagger.visible > *:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}

.stagger.visible > *:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 0.25s;
}

.stagger.visible > *:nth-child(4) {
  opacity: 1;
  transform: none;
  transition-delay: 0.35s;
}

/* ─── NAVIGATION ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(20px + env(safe-area-inset-top)) 48px 20px;
  background: rgba(36, 36, 36, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s ease;
}

nav.scrolled {
  padding: calc(12px + env(safe-area-inset-top)) 48px 12px;
}

.logo {
  font-family: 'DM Mono', 'DM Mono Fallback', monospace;
  font-size: 16px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.nav-links a:hover {
  color: var(--text);
}

/* ───── HAMBURGER MENU ───── */
.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 6px;
  z-index: 101;
}

.menu-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
  transform-origin: center;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 11px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.nav-cta {
  background: var(--accent) !important;
  color: #000 !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 700 !important;
}

.nav-cta:hover {
  opacity: 0.85;
}

/* ─── HERO ─── */
.hero {
  min-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 104px 48px 56px;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 1200px;
  height: 800px;
  background: radial-gradient(circle, rgba(225, 112, 85, 0.12) 0%, transparent 65%);
  top: 5%;
  right: -300px;
  pointer-events: none;
  animation: float 3s ease-in-out infinite, shift 6s ease-in-out infinite;
}

.hero::before {
  content: '';
  position: absolute;
  width: 1000px;
  height: 700px;
  background: radial-gradient(circle, rgba(200, 90, 62, 0.08) 0%, transparent 65%);
  bottom: 5%;
  left: -400px;
  pointer-events: none;
  animation: float 4s ease-in-out infinite reverse, shift 7s ease-in-out infinite reverse;
}

@keyframes shift {
  0%,
  100% {
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(250px) translateY(-80px);
  }
}

.hero-inner {
  max-width: 900px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(225, 112, 85, 0.1);
  border: 1px solid rgba(225, 112, 85, 0.25);
  color: var(--accent);
  font-size: 12px;
  font-family: 'DM Mono', 'DM Mono Fallback', monospace;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeUp 0.6s ease both;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

h1 {
  font-family: 'Bebas Neue', 'Bebas Neue Fallback', sans-serif;
  font-size: clamp(64px, 10vw, 120px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease 0.1s both;
}

h1 em {
  font-style: normal;
  -webkit-text-stroke: 1px var(--accent);
  color: transparent;
}

.hero-sub {
  font-size: 20px;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 48px;
  line-height: 1.7;
  font-weight: 300;
  position: relative;
  height: 5.5em;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-sub.exit {
  animation: slideOutDown 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-sub.enter {
  animation: slideInUp 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes slideOutDown {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.6s ease 0.3s both;
}

.hero-video-wrap {
  margin-top: 48px;
  margin-bottom: 36px;
  width: 100%;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(225, 112, 85, 0.2), 0 16px 48px rgba(225, 112, 85, 0.16);
  cursor: pointer;
  transition: box-shadow 0.25s ease;
  animation: fadeUp 0.6s ease 0.35s both;
}

.hero-video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  transition: opacity 0.2s;
}

.hero-video-wrap:hover .hero-video {
  opacity: 0.88;
}

.hero-video-wrap:hover {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(225, 112, 85, 0.28), 0 22px 56px rgba(225, 112, 85, 0.24);
}

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--accent);
  color: #000;
  padding: 16px 36px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 40px rgba(225, 112, 85, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 50px rgba(225, 112, 85, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

/* ─── STATS BAR ─── */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.6s ease 0.4s both;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: 'Bebas Neue', 'Bebas Neue Fallback', sans-serif;
  font-size: 48px;
  line-height: 1;
  color: var(--accent);
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

/* ─── SECTIONS ─── */
section {
  padding: 76px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  font-family: 'DM Mono', 'DM Mono Fallback', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

h2 {
  font-family: 'Bebas Neue', 'Bebas Neue Fallback', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

h2 em {
  font-style: normal;
  color: var(--accent);
}

.section-desc {
  color: var(--muted);
  font-size: 18px;
  max-width: 520px;
  line-height: 1.7;
  font-weight: 300;
}

/* ─── PAIN/SOLUTION ─── */
.pain-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 60px;
}

.pain-col,
.solution-col {
  padding: 48px;
}

.pain-col {
  background: rgba(255, 60, 60, 0.05);
  border: 1px solid rgba(255, 60, 60, 0.1);
  border-radius: 14px 0 0 14px;
}

.solution-col {
  background: rgba(225, 112, 85, 0.05);
  border: 1px solid rgba(225, 112, 85, 0.12);
  border-radius: 0 14px 14px 0;
}

.col-label {
  font-family: 'DM Mono', 'DM Mono Fallback', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.pain-col .col-label {
  color: #ff6060;
  background: rgba(255, 96, 96, 0.08);
  border-color: rgba(255, 96, 96, 0.25);
}

.solution-col .col-label {
  color: var(--accent);
}

.solution-col .col-label-featured {
  color: var(--accent);
  background: rgba(225, 112, 85, 0.12);
  border-color: rgba(225, 112, 85, 0.42);
  box-shadow: inset 0 0 0 1px rgba(225, 112, 85, 0.18), 0 8px 20px rgba(225, 112, 85, 0.18);
}

.item-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.item-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.item-list li .icon {
  flex-shrink: 0;
  width: 14px;
  height: 2px;
  margin-top: 10px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.65;
  position: relative;
}

.item-list li .icon::after {
  content: none;
}

.pain-col .item-list li {
  color: #cdb8b1;
}

.solution-col .item-list li {
  color: #f0d6cd;
}

/* ─── SERVICES ─── */
#services {
  padding-top: 72px;
  padding-bottom: 72px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: visible;
}

.service-card:hover {
  border-color: rgba(225, 112, 85, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 0 0 3px rgba(225, 112, 85, 0.26), 0 20px 50px rgba(225, 112, 85, 0.1);
}

.service-icon {
  font-size: 32px;
  margin-bottom: 20px;
  display: block;
}

.service-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

/* ─── VIDEO LIGHTBOX ─── */
#video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.88);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}

#video-modal.open {
  display: flex;
}

#video-modal video {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

#video-modal-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}

#video-modal-close:hover {
  opacity: 1;
}

.service-title {
  font-family: 'Bebas Neue', 'Bebas Neue Fallback', sans-serif;
  font-size: 28px;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  line-height: 1;
}

.service-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: 'DM Mono', 'DM Mono Fallback', monospace;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

/* ─── PROCESS ─── */
.process-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 0;
  max-width: 100%;
}

.process-section > div {
  max-width: 1200px;
  margin: 0 auto;
  padding: 76px 48px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 60px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.step {
  padding: 0 24px;
  text-align: center;
  position: relative;
}

.step:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 30px;
  right: -8px;
  color: var(--accent);
  font-size: 20px;
  opacity: 0.4;
}

.step-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: 'Bebas Neue', 'Bebas Neue Fallback', sans-serif;
  font-size: 32px;
  color: var(--accent);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.step:hover .step-num {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(225, 112, 85, 0.2);
}

.step-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── TESTIMONIALS ─── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 60px;
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color 0.3s, transform 0.3s;
}

.testimonial:hover {
  border-color: rgba(225, 112, 85, 0.2);
  transform: translateY(-3px);
}

.stars {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
  opacity: 0.9;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #c85a3e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #000;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 14px;
}

.author-role {
  font-size: 12px;
  color: var(--muted);
}

/* ─── PRICING ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 60px;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: rgba(225, 112, 85, 0.4);
  background: rgba(225, 112, 85, 0.04);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-name {
  font-family: 'Bebas Neue', 'Bebas Neue Fallback', sans-serif;
  font-size: 32px;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.5;
}

.plan-price {
  font-family: 'Bebas Neue', 'Bebas Neue Fallback', sans-serif;
  font-size: 56px;
  line-height: 1;
  margin-bottom: 4px;
}

.plan-price span {
  font-size: 24px;
  vertical-align: top;
  margin-top: 10px;
  display: inline-block;
  color: var(--muted);
}

.plan-period {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.plan-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.plan-cta {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
}

.plan-cta-outline {
  border: 1px solid var(--border);
  color: var(--text);
}

.plan-cta-outline:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.plan-cta-filled {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 30px rgba(225, 112, 85, 0.2);
}

.plan-cta-filled:hover {
  box-shadow: 0 4px 40px rgba(225, 112, 85, 0.4);
  transform: translateY(-1px);
}

/* ─── FINAL CTA ─── */
.final-cta {
  background: var(--surface);
  border-top: 1px solid var(--border);
  max-width: 100%;
  margin: 0;
  text-align: center;
}

.final-cta > div {
  max-width: 700px;
  margin: 0 auto;
  padding: 120px 48px;
}

.final-cta h2 {
  font-size: clamp(48px, 7vw, 80px);
  margin-bottom: 24px;
}

.final-cta .section-desc {
  max-width: 100%;
  margin: 0 auto 40px;
  text-align: center;
}

.cta-footer-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .logo {
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: var(--accent);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}

.footer-socials a:hover {
  opacity: 1;
  transform: scale(1.15) translateY(-2px);
}

.footer-socials .social-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

/* ─── MODALS ─── */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  overflow-y: auto;
}

.modal.open {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.modal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  max-width: 700px;
  width: 90%;
  position: relative;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--text);
}

.modal-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
}

.modal-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 12px;
  color: var(--text);
}

.modal-body {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.modal-body p {
  margin-bottom: 16px;
}

.modal-body ul {
  margin-left: 20px;
  margin-bottom: 16px;
}

.modal-body li {
  margin-bottom: 8px;
}

.modal-body a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

.modal-body a:hover {
  opacity: 0.8;
}

.call-modal-content {
  max-width: 760px;
}

.call-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.call-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.call-form label,
.availability-fieldset legend {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.call-form input,
.call-form textarea {
  background: #252525;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.call-form input:focus,
.call-form textarea:focus {
  outline: none;
  border-color: rgba(225, 112, 85, 0.7);
  box-shadow: 0 0 0 3px rgba(225, 112, 85, 0.16);
}

.call-form textarea {
  resize: vertical;
  min-height: 110px;
}

.full-width {
  grid-column: 1 / -1;
}

.availability-fieldset {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}

.availability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin-top: 12px;
}

.availability-grid label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.availability-grid input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
}

.call-submit {
  width: 100%;
  justify-content: center;
}

.call-form-status {
  min-height: 20px;
  font-size: 13px;
  color: var(--muted);
  margin-top: -2px;
}

.call-form-status.is-success {
  color: #9dde8b;
}

.call-form-status.is-error {
  color: #ff8b8b;
}

/* ─── TECH STRIP ─── */
.stack-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 48px;
  background: var(--surface);
  overflow: hidden;
  margin: 0;
}

.stack-scroll {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 20s linear infinite;
}

.stack-item {
  font-family: 'DM Mono', 'DM Mono Fallback', monospace;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stack-item::before {
  content: '◆';
  color: var(--accent);
  font-size: 8px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav {
    padding: calc(16px + env(safe-area-inset-top)) 20px 16px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    flex-direction: column;
    gap: 0;
    padding: 16px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  }

  .nav-links.open {
    max-height: 400px;
    background: rgba(36, 36, 36, 0.96);
    backdrop-filter: blur(20px);
    border-bottom-color: var(--border);
  }

  .nav-links li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    font-size: 15px;
  }

  .nav-cta {
    margin-top: 8px;
    background: var(--accent) !important;
    color: #000 !important;
    padding: 10px 16px !important;
    border-radius: 6px;
    display: inline-block;
    font-weight: 700 !important;
  }

  section {
    padding: 48px 20px;
  }

  .hero {
    padding: calc(140px + env(safe-area-inset-top)) 20px 56px;
    min-height: 100dvh;
  }

  .hero-sub {
    height: 9em;
  }

  h1 {
    font-size: 56px;
  }

  .pain-solution {
    grid-template-columns: 1fr;
  }

  .pain-col {
    border-radius: 14px 14px 0 0;
  }

  .solution-col {
    border-radius: 0 0 14px 14px;
  }

  .services-grid,
  .testimonials-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .steps-grid::before,
  .step:not(:last-child)::after {
    display: none;
  }

  .stats-bar {
    gap: 32px;
    flex-wrap: wrap;
  }

  footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .footer-socials {
    justify-content: center;
  }

  .modal-content {
    width: 95%;
    padding: 24px;
    margin: auto;
  }

  .modal-content h2 {
    font-size: 20px;
  }

  .modal-content h3 {
    font-size: 14px;
  }

  .modal-body {
    font-size: 13px;
  }

  .call-form-grid,
  .availability-grid {
    grid-template-columns: 1fr;
  }
}
