/* ═══════════════════════════════════════════════════════
   Obzek.io — landing page styles
   ═══════════════════════════════════════════════════════ */

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

:root {
  --bg:           #05020F;
  --bg-surface:   #0A0619;
  --bg-card:      #0F0A22;
  --purple-deep:  #1E0845;
  --purple-mid:   #4A1D96;
  --purple-vivid: #6D28D9;
  --purple-glow:  rgba(109, 40, 217, 0.45);
  --gold:         #C47B0A;
  --gold-bright:  #F59E0B;
  --gold-light:   #FCD34D;
  --gold-glow:    rgba(245, 158, 11, 0.35);
  --text:         #EDE8FF;
  --text-sub:     #9D8EC4;
  --text-muted:   #4D4068;
  --border:       rgba(109, 40, 217, 0.22);
  --border-gold:  rgba(245, 158, 11, 0.32);

  --font-head:    'Sora', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ─── NOISE OVERLAY ─────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.6;
}

/* ─── NAV ───────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.75rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding .4s ease, background .4s ease, border-color .4s ease;
}
#nav.scrolled {
  padding: 1rem 4rem;
  background: rgba(5, 2, 15, 0.88);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: var(--font-head);
  font-weight: 800; font-size: 1.45rem;
  letter-spacing: -0.03em; text-decoration: none;
  color: var(--text);
}
.logo em { font-style: normal; color: var(--gold-bright); }

.nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--text-sub); text-decoration: none;
  font-size: 0.875rem; letter-spacing: 0.01em;
  transition: color .25s;
}
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta {
  color: var(--bg) !important;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  padding: .55rem 1.35rem; border-radius: 4px;
  font-weight: 500; letter-spacing: 0.02em;
  transition: box-shadow .3s, transform .2s !important;
  box-shadow: 0 0 18px rgba(245,158,11,.25);
}
.nav-links .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 28px rgba(245,158,11,.4) !important;
}

/* ─── HERO ──────────────────────────────────────────── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 9rem 2rem 5rem;
  overflow: hidden;
}

.hero-blobs { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0;
  animation: blobIn 1.2s ease forwards;
}
@keyframes blobIn { to { opacity: 1; } }
.b1 { width: 680px; height: 680px; background: var(--purple-mid);
      top: -160px; left: -180px; opacity: 0.22;
      animation: float1 22s ease-in-out infinite, blobIn 1.4s ease forwards; }
.b2 { width: 420px; height: 420px; background: var(--purple-vivid);
      bottom: -60px; right: -80px; opacity: 0.18;
      animation: float2 28s ease-in-out infinite, blobIn 1.8s .3s ease forwards; }
.b3 { width: 260px; height: 260px; background: var(--gold);
      top: 38%; right: 18%; opacity: 0.08;
      animation: float3 20s ease-in-out infinite, blobIn 2s .6s ease forwards; }

@keyframes float1 {
  0%,100% { transform: translate(0,0) scale(1); }
  40%     { transform: translate(70px,50px) scale(1.08); }
  70%     { transform: translate(-30px,80px) scale(0.96); }
}
@keyframes float2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-50px,-70px) scale(1.12); }
}
@keyframes float3 {
  0%,100% { transform: translate(0,0) rotate(0deg) scale(1); }
  50%     { transform: translate(35px,55px) rotate(18deg) scale(1.25); }
}

.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(109,40,217,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109,40,217,.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, black 10%, transparent 90%);
}

.hero-side {
  position: absolute; left: 3.5rem; top: 50%; transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  font-family: var(--font-head); font-weight: 600;
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 1rem;
  white-space: nowrap;
}
.hero-side::before {
  content: ''; display: block; width: 40px; height: 1px;
  background: var(--text-muted);
}

.hero-content { position: relative; z-index: 1; max-width: 860px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(245,158,11,.08);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: .38rem 1rem; border-radius: 100px;
  margin-bottom: 2.25rem;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px var(--gold-bright);
  animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.75)} }

.hero-h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.8rem, 7.5vw, 6.8rem);
  line-height: 1.0; letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}
.hero-h1 .w1 { display: block; color: var(--text); }
.hero-h1 .w2 {
  display: block;
  background: linear-gradient(115deg, var(--gold-bright) 0%, var(--gold-light) 60%, var(--gold) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-p {
  font-size: clamp(.95rem, 1.8vw, 1.15rem);
  color: var(--text-sub); font-weight: 300;
  max-width: 540px; margin: 0 auto 3rem; line-height: 1.75;
}

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

.btn-gold {
  display: inline-flex; align-items: center; gap: .45rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #160800; font-family: var(--font-body);
  font-weight: 500; font-size: .95rem;
  padding: .875rem 1.875rem; border-radius: 4px;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 0 28px rgba(245,158,11,.28);
  transition: transform .2s, box-shadow .3s;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(245,158,11,.44); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: .45rem;
  background: transparent; color: var(--text);
  font-family: var(--font-body); font-weight: 400; font-size: .95rem;
  padding: .875rem 1.875rem; border-radius: 4px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color .3s, background .3s;
}
.btn-ghost:hover { border-color: rgba(109,40,217,.55); background: rgba(109,40,217,.09); }

.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  color: var(--text-muted); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
}
.scroll-bar {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--gold-bright), transparent);
  animation: scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  49%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ─── SHARED ─────────────────────────────────────────── */
section { position: relative; padding: 8rem 2rem; }
.wrap { max-width: 1080px; margin: 0 auto; }

.tag {
  font-size: .72rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-bright); margin-bottom: .9rem;
}
.stitle {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}
.ssub {
  font-size: 1rem; color: var(--text-sub);
  font-weight: 300; line-height: 1.8;
}

/* ─── SERVICES ──────────────────────────────────────── */
#services { background: var(--bg); }

.srv-head { max-width: 580px; margin-bottom: 3.5rem; }

.srv-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden;
}
.srv-card {
  background: var(--bg-card); padding: 2.5rem 2rem;
  position: relative; overflow: hidden;
  transition: background .4s;
}
.srv-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(109,40,217,.08), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.srv-card:hover { background: #130C28; }
.srv-card:hover::before { opacity: 1; }
.srv-card:hover .srv-icon { border-color: var(--border-gold); }

.srv-icon {
  width: 50px; height: 50px;
  border: 1px solid var(--border); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; transition: border-color .4s;
}
.srv-icon svg { width: 22px; height: 22px; color: var(--gold-bright); }

.srv-n {
  font-family: var(--font-head); font-size: .68rem;
  font-weight: 700; letter-spacing: .1em;
  color: var(--text-muted); margin-bottom: .9rem;
}
.srv-title {
  font-family: var(--font-head); font-weight: 700;
  font-size: 1.2rem; line-height: 1.3; margin-bottom: .75rem;
}
.srv-desc { font-size: .875rem; color: var(--text-sub); line-height: 1.75; font-weight: 300; }

/* ─── WHY ───────────────────────────────────────────── */
#why { background: var(--bg-surface); }

.why-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.why-props {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}

.prop {
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--border); border-radius: 6px;
  transition: border-color .3s, background .3s;
}
.prop:hover { border-color: var(--border-gold); background: rgba(245,158,11,.03); }

.prop-num {
  font-family: var(--font-head); font-weight: 800;
  font-size: 2.2rem; line-height: 1;
  background: linear-gradient(120deg, var(--gold-bright), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: .5rem;
}
.prop-label {
  font-family: var(--font-head); font-weight: 600;
  font-size: .9rem; margin-bottom: .4rem;
}
.prop-desc { font-size: .82rem; color: var(--text-sub); line-height: 1.65; font-weight: 300; }

/* ─── HOW IT WORKS ──────────────────────────────────── */
#how { background: var(--bg); }

.how-head { text-align: center; max-width: 480px; margin: 0 auto 5rem; }

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
}

.step { text-align: center; padding: 0 1.5rem; }

.step-num-box {
  position: relative; display: inline-flex;
  align-items: center; justify-content: center;
  width: 70px; height: 70px; margin: 0 auto 1.5rem;
}
.step-num-bg {
  position: absolute; inset: 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color .3s;
}
.step:hover .step-num-bg { border-color: var(--border-gold); }
.step-num {
  font-family: var(--font-head); font-weight: 800; font-size: 1.6rem;
  background: linear-gradient(120deg, var(--gold-bright), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; position: relative; z-index: 1;
}

.step-conn {
  align-self: center;
  padding-bottom: 2.8rem;
}
.conn-line {
  width: 72px; height: 1px;
  background: linear-gradient(90deg, var(--border), var(--border-gold), var(--border));
  position: relative;
}
.conn-line::after {
  content: '›'; position: absolute;
  right: -7px; top: 50%; transform: translateY(-50%);
  color: var(--gold-bright); font-size: .9rem; line-height: 0;
}

.step-title {
  font-family: var(--font-head); font-weight: 700;
  font-size: 1.1rem; margin-bottom: .65rem; letter-spacing: -0.01em;
}
.step-desc { font-size: .85rem; color: var(--text-sub); line-height: 1.72; font-weight: 300; }

/* ─── CTA SECTION ───────────────────────────────────── */
#cta { background: var(--bg); padding: 7rem 2rem; }

.cta-box {
  max-width: 900px; margin: 0 auto;
  text-align: center;
  padding: 4rem 3.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(109,40,217,.16), transparent 70%);
  pointer-events: none;
}
.cta-box::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--purple-vivid) 35%, var(--gold-bright) 65%, transparent 95%);
}

.cta-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  letter-spacing: -0.03em; line-height: 1.12;
  margin-bottom: 1.1rem; position: relative;
}
.cta-sub {
  color: var(--text-sub); font-weight: 300; font-size: 1rem;
  margin-bottom: 2.75rem; line-height: 1.75; position: relative;
}

.cta-founding {
  display: inline-flex; align-items: center; gap: .5rem;
  position: relative;
  background: rgba(245,158,11,.08);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: .74rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .42rem 1.05rem; border-radius: 100px;
  margin-bottom: 1.6rem;
}
.cta-founding-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-bright); box-shadow: 0 0 8px var(--gold-bright);
  animation: blink 2.2s ease-in-out infinite;
}

/* ─── CONTACT FORM ───────────────────────────────────── */
.contact-form {
  position: relative; z-index: 1;
  text-align: left;
}

.form-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
  margin-bottom: 1rem;
}
.form-full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: .45rem; }

.field label {
  font-size: .78rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-sub);
}
.field label .req { color: var(--gold-bright); margin-left: .15rem; }

.field input,
.field select,
.field textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem; font-weight: 400;
  padding: .75rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
  appearance: none;
  -webkit-appearance: none;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-muted); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(245,158,11,.55);
  box-shadow: 0 0 0 3px rgba(245,158,11,.1);
  background: rgba(255,255,255,.06);
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239D8EC4' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.field select option { background: #0F0A22; color: var(--text); }
.field select optgroup { background: #0F0A22; color: var(--text-sub); font-style: normal; }

.field textarea { resize: vertical; min-height: 110px; line-height: 1.65; }

.form-footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem;
}
.form-note {
  font-size: .8rem; color: var(--text-muted); font-weight: 300;
}
.form-note a { color: var(--text-sub); text-decoration: none; }
.form-note a:hover { color: var(--gold-bright); }

.btn-submit {
  display: inline-flex; align-items: center; gap: .5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #160800;
  font-family: var(--font-body);
  font-weight: 600; font-size: .95rem;
  padding: .875rem 2.25rem; border-radius: 4px;
  border: none; cursor: pointer;
  box-shadow: 0 0 28px rgba(245,158,11,.28);
  transition: transform .2s, box-shadow .3s;
  white-space: nowrap;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(245,158,11,.44); }
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled {
  opacity: .6; cursor: not-allowed; transform: none;
  box-shadow: none;
}

.form-success {
  display: none;
  flex-direction: column; align-items: center;
  gap: 1rem; padding: 2rem 0 1rem;
  color: var(--text-sub); font-size: .95rem; font-weight: 300;
}
.form-success .check {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(245,158,11,.12);
  border: 1px solid var(--border-gold);
  display: flex; align-items: center; justify-content: center;
}
.form-success .check svg { width: 22px; height: 22px; color: var(--gold-bright); }
.form-success strong { font-weight: 600; color: var(--text); font-size: 1.05rem; }

/* ─── FOOTER ─────────────────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2.75rem 2rem;
}
.foot-in {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.75rem;
}
.foot-logo {
  font-family: var(--font-head); font-weight: 800;
  font-size: 1.2rem; letter-spacing: -0.03em;
  color: var(--text); text-decoration: none;
}
.foot-logo em { font-style: normal; color: var(--gold-bright); }

.foot-nav { display: flex; gap: 2rem; list-style: none; }
.foot-nav a {
  color: var(--text-muted); text-decoration: none;
  font-size: .82rem; transition: color .25s;
}
.foot-nav a:hover { color: var(--text-sub); }

.foot-copy { color: var(--text-muted); font-size: .78rem; }

/* ─── PROBLEMS ──────────────────────────────────────── */
#problems { background: var(--bg-surface); }

.prob-head { max-width: 620px; margin-bottom: 3.5rem; }

.pain-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.pain-card {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.6rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 8px;
  transition: border-color .3s, transform .3s;
}
.pain-card:hover { border-color: var(--border-gold); transform: translateY(-3px); }
.pain-card p { font-size: .9rem; color: var(--text-sub); line-height: 1.65; font-weight: 300; }

.pain-x {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3);
}
.pain-x svg { width: 15px; height: 15px; color: #F87171; }

.prob-foot {
  margin-top: 2.5rem;
  font-size: 1rem; color: var(--text-sub); font-weight: 300;
}
.prob-foot a {
  color: var(--gold-bright); text-decoration: none; font-weight: 500;
  white-space: nowrap;
}
.prob-foot a:hover { color: var(--gold-light); }

/* ─── FAQ ───────────────────────────────────────────── */
#faq { background: var(--bg-surface); }

.faq-head { text-align: center; max-width: 520px; margin: 0 auto 3.5rem; }

.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 0 1.5rem;
  transition: border-color .3s;
}
.faq-item[open] { border-color: var(--border-gold); }

.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.35rem 0;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-mark { position: relative; flex-shrink: 0; width: 18px; height: 18px; }
.faq-mark::before, .faq-mark::after {
  content: ''; position: absolute;
  background: var(--gold-bright); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.faq-mark::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-mark::after  { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item[open] .faq-mark::after { transform: rotate(90deg); opacity: 0; }

.faq-a { padding: 0 0 1.4rem; }
.faq-a p { font-size: .92rem; color: var(--text-sub); line-height: 1.75; font-weight: 300; }

/* ─── REVEAL ANIMATIONS ────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .18s; }
.d3 { transition-delay: .28s; }
.d4 { transition-delay: .38s; }
.d5 { transition-delay: .48s; }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 960px) {
  #nav, #nav.scrolled { padding-left: 1.75rem; padding-right: 1.75rem; }
  .nav-links { gap: 1.75rem; }
  .hero-side { display: none; }
  .srv-grid { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .why-layout { grid-template-columns: 1fr; gap: 3rem; }
  .steps { grid-template-columns: 1fr; gap: 1rem; max-width: 360px; margin: 0 auto; }
  .step-conn { padding-bottom: 0; transform: rotate(90deg); margin: .5rem auto; }
  .cta-box { padding: 3rem 1.75rem; }
  .foot-in { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  section { padding: 5rem 1.25rem; }
  .nav-links { display: none; }
  .why-props { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-gold, .btn-ghost { width: 100%; justify-content: center; }
  .form-grid { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; align-items: stretch; }
  .btn-submit { justify-content: center; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
