/* =========================================================
   ZeroCodeLogic Landing Page â€” FIXED SPACING + RESPONSIVENESS
   - NO design change (colors, look & feel preserved)
   - Fix hero-to-next-section gap on desktop
   - Fix mobile responsiveness / overflow issues
   ========================================================= */

:root{
  --bg0:#06161c;
  --bg1:#071b22;
  --panel:#0b2732;
  --panel2:#0c2f3b;
  --stroke:rgba(255,255,255,.10);
  --stroke2:rgba(255,255,255,.14);
  --text:#eaf6fb;
  --muted:rgba(234,246,251,.70);
  --muted2:rgba(234,246,251,.55);

  --accent:#ff7a18;
  --accent2:#ffb100;
  --cool:#00d4ff;
  --cool2:#00ffa8;
  --shadow: 0 18px 55px rgba(0,0,0,.45);
  --shadow2: 0 10px 30px rgba(0,0,0,.35);
  --shadowSoft: 0 14px 34px rgba(0,0,0,.22);

  --radius-xl:22px;
  --radius-lg:18px;
  --radius-md:14px;
  --radius-sm:12px;

  --container: 1180px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; overflow-x:hidden; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(0,212,255,.18), transparent 55%),
    radial-gradient(900px 600px at 95% 10%, rgba(255,122,24,.18), transparent 55%),
    radial-gradient(900px 700px at 30% 115%, rgba(0,255,168,.12), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg0) 55%, var(--bg1));
  overflow-x:hidden;
}

/* âœ… Extra hard-stop against horizontal overflow on mobile */
main, header, section, footer, .container, .nav, .hero{ overflow-x: clip; }

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }


/* Ensure content stays above fixed background blobs */
header.nav, main, footer, section{ position:relative; z-index:1; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; }
  .floaty, .marquee__inner{ animation:none !important; }
  html.js .reveal{ transition:none !important; transform:none !important; opacity:1 !important; }
}

/* Layout helpers */
.container{
  width:min(var(--container), calc(100% - 40px));
  margin:0 auto;
}

/* =========================================================
   âœ… FIX 1: Desktop gap control
   - The original spacing was stacking: hero padding + section padding
   - We keep design, just reduce the combined vertical whitespace slightly
   ========================================================= */
.section{
  padding:74px 0; /* was 84px */
  position:relative;
}
.logo{
    width:250px;
}
.section--tight{ padding:56px 0; } /* was 64px */

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(234,246,251,.78);
}
.eyebrow .dot{
  width:10px;height:10px;border-radius:999px;
  background: linear-gradient(135deg, var(--cool), var(--accent));
  box-shadow: 0 0 0 6px rgba(0,212,255,.08);
}

.h1{
  font-size: clamp(36px, 4.2vw, 54px);
  line-height:1.05;
  margin:14px 0 14px;
  font-weight:800;
  letter-spacing:-.02em;
}
.h2{
  font-size: clamp(26px, 3.1vw, 38px);
  line-height:1.1;
  margin:10px 0 10px;
  font-weight:800;
  letter-spacing:-.015em;
}
.lead{
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--muted);
  line-height:1.6;
  margin: 0;
  max-width: 60ch;
}
.sublead{
  font-size: 15px;
  color: var(--muted2);
  line-height:1.6;
  margin: 10px 0 0;
  max-width: 62ch;
}

/* Top nav */
.nav{
  position:sticky;
  top:0;
  z-index:60;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(7,27,34,.80), rgba(7,27,34,.55));
  border-bottom:1px solid rgba(255,255,255,.06);
}
.nav__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:18px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:800;
  letter-spacing:-.01em;
  font-size:16px;
}
.brand__mark{
  width:34px;height:34px;border-radius:12px;
  background:
    radial-gradient(10px 10px at 30% 30%, rgba(255,255,255,.35), transparent 60%),
    linear-gradient(135deg, rgba(0,212,255,.9), rgba(255,122,24,.9));
  box-shadow: 0 18px 55px rgba(0,212,255,.10);
  border:1px solid rgba(255,255,255,.16);
}
.nav__links{
  display:flex;
  gap:18px;
  align-items:center;
}
.nav__links a{
  font-size:14px;
  color: rgba(234,246,251,.78);
  padding:10px 10px;
  border-radius:12px;
  transition: .2s ease;
}
.nav__links a:hover{
  color: rgba(234,246,251,.95);
  background: rgba(255,255,255,.06);
}

.nav__cta{
  display:flex; align-items:center; gap:10px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(234,246,251,.95);
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease, color .22s ease;
  user-select:none;
  white-space:nowrap;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
  box-shadow: var(--shadowSoft);
}

.btn--primary{
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#071b22;
  box-shadow: 0 18px 45px rgba(255,122,24,.22);
}
.btn--primary:hover{
  transform: translateY(-2px);
   color: rgba(255,255,255,.96);
  box-shadow: 0 14px 34px rgba(255,122,24,.18);
  filter:saturate(1.05);
}
.btn--primary:hover .btn__icon{ color: rgba(255,255,255,.96); }

.btn__icon{ width:18px;height:18px; display:inline-block; }

/* Hamburger */
.hamburger{
  display:none;
  width:44px;height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:var(--text);
  cursor:pointer;
}
.hamburger span{
  display:block;
  width:18px;height:2px;
  background: rgba(234,246,251,.92);
  margin:0 auto;
  position:relative;
}
.hamburger span::before,
.hamburger span::after{
  content:"";
  position:absolute; left:0; right:0;
  height:2px;
  background: rgba(234,246,251,.92);
}
.hamburger span::before{ top:-6px; }
.hamburger span::after{ top:6px; }

/* =========================================================
   HERO (Desktop gap fix)
   ========================================================= */
.hero{
  padding: 54px 0 18px; /* was 64px 0 42px */
  position:relative;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 34px;
  align-items:start;
}
.hero__left{
  padding-top: 14px; /* slightly reduced */
  position:relative;
  min-width: 0;
  z-index:2;
}
.hero__title strong{
  background: linear-gradient(135deg, rgba(0,212,255,1), rgba(255,122,24,1));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero__bullets{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 18px 0 18px;
  padding:0;
  list-style:none;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(234,246,251,.86);
  font-size:13px;
  line-height:1;
  backdrop-filter: blur(10px);
}
.pill svg{ width:14px;height:14px; opacity:.9; }

.hero__actions{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  margin-top: 16px;
}

/* Proof */
.proof{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  margin-top: 16px;
}
.proof__item{
  display:flex;
  gap:10px;
  align-items:center;
  padding:12px 14px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(12,47,59,.45);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.proof__icon{
  width:34px;height:34px;border-radius:12px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.10);
}
.proof__meta{ display:flex; flex-direction:column; gap:2px; }
.proof__num{ font-weight:800; letter-spacing:-.01em; font-size:14px; line-height:1.2; }
.proof__label{ font-size:12px; color: rgba(234,246,251,.65); }

/* Right card */
.card{
  border-radius: var(--radius-xl);
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(500px 220px at 20% 0%, rgba(0,212,255,.10), transparent 65%),
    radial-gradient(450px 260px at 90% 10%, rgba(255,122,24,.10), transparent 65%),
    rgba(11,39,50,.82);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card__inner{ padding: 22px 22px 18px; }
.card__title{
  font-weight:800;
  font-size:16px;
  margin:0 0 8px;
  letter-spacing:-.01em;
}
.card__hint{
  margin:0 0 14px;
  color: rgba(234,246,251,.65);
  font-size:13px;
  line-height:1.5;
}

/* Forms */
.form{ display:grid; gap:10px; }
.field{ display:grid; gap:6px; min-width:0; }
label{
  display:block;
  margin:0;
  font-size:12px;
  line-height:1.2;
  color: rgba(234,246,251,.72);
}
.req{ color: rgba(255,255,255,.92); opacity:.9; }
.opt{ color: rgba(234,246,251,.55); font-weight:500; }

input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(7,27,34,.55);
  color: rgba(234,246,251,.92);
  outline:none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  min-width:0;
}
textarea{ min-height: 92px; resize: vertical; }
input:focus, select:focus, textarea:focus{
  border-color: rgba(0,212,255,.45);
  box-shadow: 0 0 0 6px rgba(0,212,255,.10);
}
.form__row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
.form__cta{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top: 6px;
  flex-wrap:wrap;
}
.mini{
  font-size:12px;
  color: rgba(234,246,251,.62);
  line-height:1.4;
}

/* Validation UI */
.error{
  font-size:12px;
  color: rgba(255,180,180,.92);
  min-height: 14px;
}
.is-invalid{
  border-color: rgba(255,180,180,.55) !important;
  box-shadow: 0 0 0 6px rgba(255,180,180,.10) !important;
}
.success{
  margin-top: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid rgba(0,255,168,.22);
  background: rgba(0,255,168,.08);
  color: rgba(234,246,251,.90);
  font-size: 13px;
  line-height: 1.5;
}

/* Budget dropdown UI */
select#budget, select#q-budget{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  padding-right: 44px;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10l5 5 5-5' stroke='%23eaf6fb' stroke-opacity='0.85' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position: 0 0, right 14px center;
  background-size:auto, 18px 18px;
}
select#budget:hover, select#q-budget:hover{
  border-color: rgba(255,255,255,.22);
  background: rgba(7,27,34,.58);
}
select#budget:focus, select#q-budget:focus{
  border-color: rgba(0,212,255,.45);
  box-shadow: 0 0 0 6px rgba(0,212,255,.10);
}

/* =========================================================
   âœ… FIX 2: Logo strip spacing + prevent mobile overflow
   ========================================================= */
.logos{
  margin-top: 18px;      /* was 26px */
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 14px;     /* was 18px */
}
.logos__label{
  font-size:12px;
  color: rgba(234,246,251,.60);
  margin-bottom: 10px;
}
.marquee{
  position:relative;
  overflow:hidden;
  /*border-radius: 16px;*/
  /*border:1px solid rgba(255,255,255,.10);*/
  background: rgba(255,255,255,.04);
  width:1200px;
}
.marquee::before,
.marquee::after{
  content:"";
  position:absolute; top:0; bottom:0;
  width:90px;
  pointer-events:none;
  z-index:2;
}
.marquee::before{
  left:0;
  background: linear-gradient(90deg, rgba(7,27,34,.95), transparent);
}
.marquee::after{
  right:0;
  background: linear-gradient(270deg, rgba(7,27,34,.95), transparent);
}
.marquee__inner{
  display:flex;
  gap:14px;
  padding: 12px;
  width:max-content;
  animation: scroll 24s linear infinite;
  will-change: transform;
}
@keyframes scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

.logo-chip{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(12,47,59,.35);
  color: rgba(234,246,251,.80);
  font-size:13px;
  white-space:nowrap;
}
.logo-ico{ width:18px; height:18px; display:inline-grid; place-items:center; flex:0 0 auto; }
.logo-ico svg{ width:18px;height:18px; display:block; }

/* Split / media */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items:center;
}
.media{
  border-radius: var(--radius-xl);
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(500px 300px at 20% 10%, rgba(0,212,255,.16), transparent 60%),
    radial-gradient(500px 320px at 90% 30%, rgba(255,122,24,.14), transparent 60%),
    rgba(12,47,59,.42);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
  min-height: 320px;
}
.media__grid{
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity:.35;
  mask-image: radial-gradient(360px 260px at 40% 40%, black 55%, transparent 80%);
}
.media__spark{
  position:absolute;
  inset:-120px -100px auto auto;
  width: 420px; height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(0,212,255,.35), transparent 60%),
              radial-gradient(circle at 70% 60%, rgba(255,122,24,.30), transparent 60%);
  filter: blur(12px);
  opacity:.75;
  transform: translate3d(0,0,0);
}
.media__mock{
  position:absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  top: 18px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(7,27,34,.55);
  overflow:hidden;
}
.mock__top{
  height:42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 0 14px;
  border-bottom:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  font-size:12px;
  color: rgba(234,246,251,.70);
}
.mock__dots{ display:flex; gap:6px; }
.mock__dots span{ width:10px;height:10px;border-radius:999px; background: rgba(234,246,251,.22); }
.mock__body{
  padding:14px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:12px;
  height: calc(100% - 42px);
}
.mock__panel{
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(12,47,59,.30);
  padding: 12px;
  position:relative;
  overflow:hidden;
}
.mock__panel h4{
  margin:0 0 8px;
  font-size:12px;
  color: rgba(234,246,251,.80);
  letter-spacing:.02em;
}
.bar{
  height:10px;
  border-radius: 999px;
  background: rgba(234,246,251,.10);
  overflow:hidden;
  margin: 8px 0;
}
.bar > i{
  display:block;
  height:100%;
  width:40%;
  border-radius:999px;
  background: linear-gradient(135deg, rgba(0,212,255,.9), rgba(255,122,24,.9));
  animation: load 2.2s ease-in-out infinite;
  opacity:.9;
}
.bar:nth-child(3) > i{ width:62%; animation-delay:.2s; }
.bar:nth-child(4) > i{ width:48%; animation-delay:.4s; }
.bar:nth-child(5) > i{ width:74%; animation-delay:.6s; }
@keyframes load{
  0%,100%{ transform: translateX(-6%); filter:saturate(1); }
  50%{ transform: translateX(6%); filter:saturate(1.15); }
}
.mock__badge{
  position:absolute;
  right:12px;
  top:8px;
  padding:4px 10px;
  border-radius: 999px;
  font-size:11px;
  color: rgba(234,246,251,.85);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}

/* Grids */
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.feat{
  border-radius: var(--radius-xl);
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(240px 140px at 10% 0%, rgba(0,212,255,.10), transparent 60%),
    radial-gradient(240px 160px at 100% 15%, rgba(255,122,24,.10), transparent 60%),
    rgba(12,47,59,.38);
  box-shadow: 0 14px 38px rgba(0,0,0,.28);
  padding: 18px 18px 16px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  position:relative;
  overflow:hidden;
  min-height: 168px;
}
.feat:hover{
  transform: translateY(-3px);
  border-color: rgba(0,212,255,.28);
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
}
.feat__icon{
  width:44px;height:44px;border-radius:16px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  margin-bottom: 12px;
}
.feat__icon svg{ width:20px;height:20px; opacity:.95; }
.feat__title{
  margin:0 0 8px;
  font-size:16px;
  font-weight:800;
  letter-spacing:-.01em;
}
.feat__text{
  margin:0;
  color: rgba(234,246,251,.70);
  line-height:1.55;
  font-size: 14px;
}
.feat__meta{ margin-top: 10px; display:flex; flex-wrap:wrap; gap:8px; }
.tag{
  font-size:12px;
  padding:7px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: rgba(234,246,251,.78);
}

.link-btn{
  margin-top: 12px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:700;
  color: rgba(234,246,251,.86);
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  width: fit-content;
}
.link-btn:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.06);
  border-color: rgba(0,212,255,.22);
  box-shadow: var(--shadowSoft);
}

.projects__controls{ margin-top: 18px; display:flex; justify-content:center; }

/* Steps */
.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.step{
  border-radius: var(--radius-xl);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(11,39,50,.55);
  box-shadow: 0 14px 38px rgba(0,0,0,.25);
  padding: 18px;
  position:relative;
  overflow:hidden;
}
.step::before{
  content:"";
  position:absolute;
  inset:-120px -120px auto auto;
  width:260px;height:260px;border-radius:999px;
  background: radial-gradient(circle at 30% 30%, rgba(0,212,255,.22), transparent 60%),
              radial-gradient(circle at 70% 60%, rgba(255,122,24,.18), transparent 60%);
  filter: blur(12px);
  opacity:.85;
}
.step__num{
  width:34px;height:34px;border-radius:14px;
  display:grid; place-items:center;
  font-weight:800;
  color:#071b22;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  margin-bottom: 12px;
  position:relative;
  z-index:1;
}
.step__title{ margin:0 0 8px; font-size:16px; font-weight:800; position:relative; z-index:1; }
.step__text{ margin:0; color: rgba(234,246,251,.70); line-height:1.6; font-size: 14px; position:relative; z-index:1; }

/* CTA band */
.cta{
  border-radius: var(--radius-xl);
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(620px 260px at 20% 0%, rgba(0,212,255,.14), transparent 60%),
    radial-gradient(620px 280px at 95% 10%, rgba(255,122,24,.14), transparent 60%),
    rgba(12,47,59,.42);
  box-shadow: var(--shadow);
  padding: 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  flex-wrap:wrap;
  margin-top: 26px;
}
.cta__left{ display:flex; flex-direction:column; gap:6px; }
.cta__title{ margin:0; font-weight:800; letter-spacing:-.01em; font-size:18px; }
.cta__text{ margin:0; color: rgba(234,246,251,.68); font-size:14px; line-height:1.5; max-width: 64ch; }

/* Quote section layout */
.quote-wrap{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 16px;
  margin-top: 22px;
  align-items:start;
}
.quote-side{ display:grid; gap: 16px; }
.quote-side__card{ min-height: unset; }

.contact-email{
  margin-top: 12px;
  font-size: 13px;
  color: rgba(234,246,251,.70);
}
.contact-email a{
  color: rgba(234,246,251,.92);
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.contact-email a:hover{ border-bottom-color: rgba(0,212,255,.35); }

/* Footer */
.footer{
  padding: 36px 0;
  border-top:1px solid rgba(255,255,255,.08);
  color: rgba(234,246,251,.62);
  font-size: 13px;
}
.footer__grid{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  flex-wrap:wrap;
}

/* Background float shapes */
.floaty{
  position:fixed;
  z-index:0;
  will-change: transform;
  inset:auto;
  border-radius: 999px;
  filter: blur(14px);
  opacity:.6;
  pointer-events:none;
  transform: translate3d(0,0,0);
  animation: float 10s ease-in-out infinite;
}
@keyframes float{
  0%,100%{ transform: translate3d(0,0,0); }
  50%{ transform: translate3d(0,-14px,0); }
}
.floaty--a{
  width:340px;height:340px;
  left:-120px; top: 170px;
  background: radial-gradient(circle at 30% 30%, rgba(0,212,255,.30), transparent 60%);
  animation-duration: 11s;
}
.floaty--b{
  width:420px;height:420px;
  right:-160px; top: 120px;
  background: radial-gradient(circle at 30% 30%, rgba(255,122,24,.26), transparent 60%);
  animation-duration: 13s;
}
.floaty--c{
  width:380px;height:380px;
  right: 10%; bottom: -180px;
  background: radial-gradient(circle at 30% 30%, rgba(0,255,168,.18), transparent 60%);
  animation-duration: 12s;
}

/* Reveal SAFE */
.reveal{ opacity:1; transform:none; }
html.js .reveal{
  opacity:0;
  transform: translateY(12px);
  transition: opacity .7s ease, transform .7s ease;
}
html.js .reveal.is-visible{ opacity:1; transform: translateY(0); }
.reveal--delay1{ transition-delay: .06s; }
.reveal--delay2{ transition-delay: .12s; }
.reveal--delay3{ transition-delay: .18s; }

/* Mobile nav drawer */
.drawer{
  display:none;
  position:fixed;
  inset: 64px 14px auto 14px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(7,27,34,.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  padding: 10px;
  z-index:80;
}
.drawer a{
  display:block;
  padding: 12px 12px;
  border-radius: 14px;
  color: rgba(234,246,251,.86);
}
.drawer a:hover{ background: rgba(255,255,255,.06); color: rgba(234,246,251,.96); }

/* Modal */
.modal{ position:fixed; inset:0; display:none; z-index:120; }
.modal.is-open{ display:block; }
.modal__backdrop{ position:absolute; inset:0; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); }
.modal__panel{
  position:relative;
  width:min(560px, calc(100% - 28px));
  margin: 84px auto 0;
  border-radius: var(--radius-xl);
  border:1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(500px 220px at 20% 0%, rgba(0,212,255,.10), transparent 65%),
    radial-gradient(450px 260px at 90% 10%, rgba(255,122,24,.10), transparent 65%),
    rgba(11,39,50,.92);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.modal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.modal__title{ margin:0; font-size:14px; font-weight:800; letter-spacing:-.01em; }
.modal__close{
  width:40px;height:40px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(234,246,251,.92);
  display:grid;
  place-items:center;
  cursor:pointer;
  transition: .2s ease;
}
.modal__close:hover{ background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }
.modal__body{ padding: 18px; }
.modal__success{ margin-top: 10px; }

/* =========================================================
   âœ… FIX 3: Mobile responsiveness
   - Same sections, same styling
   - Proper stacking + spacing + no overflow
   ========================================================= */
@media (max-width: 980px){
  .container{ width:min(var(--container), calc(100% - 28px)); } /* better fit */

  .logo{ width:170px; }
  .btn{ white-space:nowrap; }

  .nav__links{ display:none; }
  .hamburger{ display:inline-grid; place-items:center; }

  /* Drawer remains fixed; doesn't affect layout */
  .drawer{
    display:block;
    opacity:0;
    pointer-events:none;
    transform: translateY(-6px);
    transition: .2s ease;
  }
  .drawer.is-open{ opacity:1; pointer-events:auto; transform: translateY(0); }

  /* Hero layout: stack */
  .hero{ padding: 44px 0 14px; }
  .hero__grid{ grid-template-columns: 1fr; gap: 18px; }
  .hero__left{ padding-top: 6px; min-width: 100%; }

  /* Buttons should wrap nicely */
  .hero__actions{ gap:10px; }
  .btn{ max-width: 100%; }

  /* Proof cards full width so nothing squishes */
  .proof{ gap:12px; }
  .proof__item{ width:100%; }

  /* Common grids stack but keep same design */
  .form__row{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .quote-wrap{ grid-template-columns: 1fr; }

  /* CTA: same look, just stacked */
  .cta{
    flex-direction:column;
    align-items:stretch;
  }

  /* Media mock: prevent overflow inside */
  .mock__body{ grid-template-columns: 1fr; }
}

/* Tablet 2 columns where it looks identical but fits */
@media (min-width: 640px) and (max-width: 980px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
}

/* Desktop */
@media (min-width: 981px){
  .grid{ grid-template-columns: repeat(3, 1fr); }
}

/* Very small phones */
@media (max-width: 360px){
  .btn{ padding:12px 12px; }
  .modal__panel{ margin-top: 64px; }
} 
