/* ============================================================
   DIGITALLY INFINITE — luxury agency landing
   Typography: Space Grotesk (display) · Manrope (body)
   Palette: near-black · electric blue/purple · subtle gold accent
   ============================================================ */

:root {
  /* surfaces */
  --bg:       #03040c;
  --bg-2:     #06070f;
  --bg-3:     #0a0c18;
  --surface:  #0c0f1e;
  --surface-2:#10142480;
  /* borders */
  --line:       rgba(255,255,255,.07);
  --line-2:     rgba(255,255,255,.04);
  --line-strong:rgba(255,255,255,.14);
  /* text */
  --text:      #eff2fc;
  --text-soft: #9aa4be;
  --text-mute: #525c78;
  /* accent — electric blue/purple */
  --acc:      #5b8cff;
  --acc-2:    #9d6bff;
  --acc-bright:#93b4ff;
  --acc-ink:  #dce8ff;
  --acc-soft: rgba(91,140,255,.13);
  --acc-soft-2:rgba(157,107,255,.13);
  --acc-glow: rgba(91,140,255,.55);
  --grad:     linear-gradient(118deg,#5b8cff 0%,#7d77ff 50%,#9d6bff 100%);
  --grad-soft:linear-gradient(118deg,rgba(91,140,255,.16),rgba(157,107,255,.16));
  /* gold accent for premium details */
  --gold:     #e4c97a;
  --gold-soft:rgba(228,201,122,.1);
  /* geometry */
  --radius:   14px;
  --radius-lg:22px;
  --radius-sm:9px;
  --maxw:     1200px;
  /* motion */
  --ease:     cubic-bezier(.22,.61,.36,1);
  --ease-spring:cubic-bezier(.34,1.56,.64,1);
  /* shadow */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.5);
  --shadow:    0 20px 60px -24px rgba(0,0,0,.85);
  --shadow-lg: 0 48px 110px -40px rgba(0,0,0,.95);
  --glow-acc:  0 0 60px -20px var(--acc-glow);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a  { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--acc); color: #04102e; }
h1,h2,h3,h4 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.028em;
  color: #fff;
}

/* ---- noise overlay ---- */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

/* ---- layout ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.band { padding: 100px 0; }
.band.tight { padding: 76px 0; }
.band.paper2 { background: var(--bg-2); }
section { position: relative; }

/* ---- eyebrow ---- */
.eyebrow {
  font-family: "Space Grotesk";
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--acc-bright);
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  flex-shrink: 0;
}
.eyebrow.on-ink { color: var(--acc-bright); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }

/* ---- sec-head ---- */
.sec-head { max-width: 680px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; }
.sec-head h2 { font-size: clamp(30px, 4vw, 50px); margin: 18px 0 16px; }
.sec-head p  { font-size: 18px; color: var(--text-soft); line-height: 1.65; }

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  border: 0;
  font-family: "Space Grotesk";
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -.01em;
  padding: 16px 26px;
  border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); flex-shrink: 0; }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 36px -12px var(--acc-glow), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.12) 0%, transparent 60%);
  border-radius: inherit;
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px -14px var(--acc-glow), inset 0 1px 0 rgba(255,255,255,.28);
  filter: brightness(1.08);
}
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--acc);
  background: rgba(91,140,255,.1);
  transform: translateY(-2px);
}
.btn-on-ink {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1.5px solid var(--line);
  backdrop-filter: blur(8px);
}
.btn-on-ink:hover { transform: translateY(-2px); background: rgba(255,255,255,.14); }
.btn-lg { padding: 20px 36px; font-size: 17.5px; }
.btn-full { width: 100%; justify-content: center; }

/* ===========================================================
   NAV
=========================================================== */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 500;
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease), box-shadow .35s var(--ease);
}
.nav-in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: "Space Grotesk";
  font-weight: 700;
  font-size: 18.5px;
  letter-spacing: -.025em;
  color: #fff;
  flex-shrink: 0;
}
.brand .mk {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 20px -6px var(--acc-glow);
  flex-shrink: 0;
}
.brand .mk svg { width: 19px; height: 19px; }
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-weight: 600;
  font-size: 15px;
}
.nav-links a {
  color: var(--text-soft);
  transition: color .2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 100%;
  height: 1.5px;
  background: var(--grad);
  border-radius: 2px;
  transition: right .25s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { right: 0; }
nav .btn { padding: 11px 22px; font-size: 15px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5.5px;
  margin-left: auto;
  background: none;
  border: 0;
  cursor: pointer;
  width: 42px;
  height: 42px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .3s var(--ease), opacity .2s, width .3s var(--ease);
}
.nav-toggle span:nth-child(2) { width: 70%; }
nav.solid {
  background: rgba(5,6,14,.82);
  backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line), 0 16px 40px -28px rgba(0,0,0,.9);
}
nav.open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===========================================================
   HERO
=========================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 152px 0 120px;
  background: var(--bg);
}
/* gradient orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.orb-1 {
  width: 900px; height: 900px;
  right: -280px; top: -380px;
  background: radial-gradient(circle, rgba(91,140,255,.28) 0%, rgba(157,107,255,.10) 45%, transparent 68%);
  filter: blur(4px);
  animation: orb-float 9s ease-in-out infinite;
}
.orb-2 {
  width: 600px; height: 600px;
  left: -160px; bottom: -220px;
  background: radial-gradient(circle, rgba(157,107,255,.18) 0%, transparent 65%);
  filter: blur(2px);
  animation: orb-float 12s ease-in-out infinite reverse;
}
.orb-3 {
  width: 440px; height: 440px;
  left: 38%; top: 10%;
  background: radial-gradient(circle, rgba(228,201,122,.06) 0%, transparent 65%);
  animation: orb-float 7s ease-in-out infinite 2s;
}
@keyframes orb-float {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(26px,-18px) scale(1.04); }
  66%      { transform: translate(-18px,14px) scale(.97); }
}
/* grid overlay */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .55;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(110% 80% at 60% 10%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(110% 80% at 60% 10%, #000 10%, transparent 72%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
/* hero pill */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(91,140,255,.1);
  border: 1px solid rgba(91,140,255,.25);
  border-radius: 999px;
  padding: 8px 16px 8px 10px;
  font-family: "Space Grotesk";
  font-weight: 600;
  font-size: 13px;
  color: var(--acc-bright);
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
}
.pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 8px 2px var(--acc-glow);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.75); }
}
/* h1 */
.hero h1 {
  font-size: clamp(40px, 5.8vw, 72px);
  margin-bottom: 26px;
  color: #fff;
  text-wrap: balance;
  line-height: 1.04;
}
.hero h1 .hl {
  position: relative;
  white-space: nowrap;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -.06em;
  height: .45em;
  background: linear-gradient(90deg, rgba(91,140,255,.22), rgba(157,107,255,0));
  z-index: -1;
  border-radius: 4px;
}
.hero .lede {
  font-size: clamp(17px,1.5vw,20px);
  color: var(--text-soft);
  max-width: 48ch;
  margin-bottom: 36px;
  line-height: 1.65;
}
.hero .lede b { color: #fff; font-weight: 700; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-assure {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
}
.hero-assure span { display: inline-flex; align-items: center; gap: 7px; }
.hero-assure svg { width: 15px; height: 15px; color: var(--acc-bright); }

/* device mockup */
.device {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 450px;
}
.device-aura {
  position: absolute;
  inset: -40px;
  border-radius: 40px;
  background: radial-gradient(ellipse at 55% 45%, rgba(91,140,255,.22), rgba(157,107,255,.10) 55%, transparent 72%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}
.browser {
  position: relative;
  z-index: 2;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.09);
  transform: perspective(1400px) rotateY(-10deg) rotateX(3deg);
  transition: transform .5s var(--ease);
}
.device:hover .browser { transform: perspective(1400px) rotateY(-4deg) rotateX(1deg); }
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: #f0f3f2;
  border-bottom: 1px solid #e4e9e6;
}
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d7dedb; }
.browser-bar .url {
  margin-left: 10px;
  flex: 1;
  height: 20px;
  border-radius: 5px;
  background: #fff;
  border: 1px solid #e4e9e6;
  display: flex;
  align-items: center;
  padding: 0 9px;
  font-size: 10.5px;
  color: #8a949b;
  font-family: "Space Grotesk";
}
.phone {
  position: absolute;
  right: -28px;
  bottom: -44px;
  width: 126px;
  border-radius: 22px;
  background: #06070e;
  padding: 7px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-strong);
  z-index: 4;
}
.phone .screen { border-radius: 16px; overflow: hidden; background: #fff; }
/* floating badge */
.float-badge {
  position: absolute;
  left: -28px;
  top: 36px;
  z-index: 5;
  background: #fff;
  color: #06070e;
  border-radius: 15px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-family: "Space Grotesk";
  font-size: 13.5px;
  animation: badge-float 4s ease-in-out infinite;
}
@keyframes badge-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.badge-ic {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--acc-soft);
  color: var(--acc);
  flex-shrink: 0;
}
.badge-ic svg { width: 17px; height: 17px; }
.badge-text small {
  display: block;
  font-family: "Manrope";
  font-weight: 600;
  font-size: 11px;
  color: var(--text-mute);
}
/* live toast */
.live-toast {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(10,12,24,.92);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 12px 18px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  opacity: 0;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  white-space: nowrap;
  font-size: 13.5px;
}
.live-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Space Grotesk";
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
}
.toast-body strong { display: block; color: #fff; font-weight: 700; }
.toast-body span   { display: block; color: var(--text-mute); font-size: 12px; }
/* scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 54px;
  background: linear-gradient(to bottom, var(--line-strong), transparent);
  margin: 0 auto;
  animation: scroll-drop 2s ease-in-out infinite;
}
@keyframes scroll-drop {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: top; }
}

/* mini preview (hero + portfolio) */
.mini { font-family: "Space Grotesk"; background: #fff; text-align: left; overflow: hidden; }
.mini .m-hero { padding: 20px 18px 22px; position: relative; overflow: hidden; }
.mini .m-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; font-size: 9px; font-weight: 700; letter-spacing: .02em; }
.mini .m-nav .dots { display: flex; gap: 9px; font-weight: 600; font-size: 8.5px; }
.mini .m-eye { font-size: 7.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin-bottom: 7px; }
.mini .m-h  { font-size: 19px; line-height: 1.08; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.mini .m-sub { font-family: "Manrope"; font-size: 9.5px; line-height: 1.5; color: #5a6671; margin-bottom: 12px; max-width: 90%; }
.mini .m-btn { display: inline-flex; font-size: 9px; font-weight: 700; padding: 7px 13px; border-radius: 999px; }
.mini .m-row { display: flex; gap: 7px; margin-top: 14px; }
.mini .m-card { flex: 1; height: 34px; border-radius: 7px; background: #f1f4f3; }
.mini .m-img  { height: 74px; border-radius: 9px; margin-top: 14px; }

/* ===========================================================
   TICKER
=========================================================== */
.ticker {
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  position: relative;
}
.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.ticker::after  { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }
.ticker-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}
.ticker-track span {
  font-family: "Space Grotesk";
  font-weight: 600;
  font-size: 14px;
  color: var(--text-soft);
  white-space: nowrap;
}
.ticker-track .sep { color: var(--acc); opacity: .6; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===========================================================
   STATS
=========================================================== */
.stats-band { background: var(--bg-3); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 64px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 2px;
  background: var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stat-card {
  background: var(--surface);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: background .25s var(--ease);
}
.stat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.stat-card:hover::after { opacity: 1; }
.stat-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  margin-bottom: 10px;
}
.stat-n {
  font-family: "Space Grotesk";
  font-weight: 800;
  font-size: clamp(40px,5vw,62px);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-unit {
  font-family: "Space Grotesk";
  font-weight: 700;
  font-size: clamp(18px,2.5vw,28px);
  color: var(--acc-bright);
  padding-bottom: 6px;
  line-height: 1;
}
.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mute);
  letter-spacing: .01em;
}

/* ===========================================================
   PROBLEM
=========================================================== */
.problem {
  background: var(--bg-2);
  overflow: hidden;
}
.problem::before {
  content: "";
  position: absolute;
  left: -160px; bottom: -160px;
  width: 540px; height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157,107,255,.14), transparent 65%);
  pointer-events: none;
}
.problem h2 {
  font-size: clamp(28px,3.6vw,46px);
  max-width: 18ch;
  text-wrap: balance;
  margin: 18px 0;
}
.problem .lede { color: var(--text-soft); font-size: 18px; max-width: 56ch; margin-bottom: 0; }
.prob-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 52px; }
.prob-col {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
  position: relative;
  overflow: hidden;
  transition: border-color .28s var(--ease);
}
.prob-col:hover { border-color: var(--line-strong); }
.prob-col h3 { color: #fff; font-size: 19px; display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.tag {
  font-family: "Space Grotesk";
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.prob-col.bad  .tag { background: rgba(255,100,100,.13); color: #ff9b9b; }
.prob-col.none .tag { background: rgba(255,195,80,.13);  color: #ffc850; }
.prob-col ul { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.prob-col li { display: flex; gap: 12px; color: var(--text-soft); font-size: 15.5px; line-height: 1.5; align-items: flex-start; }
.x-ic { flex-shrink: 0; margin-top: 2px; }
.x-ic svg { width: 18px; height: 18px; }
.prob-col.bad  .x-ic svg { color: #ff8585; }
.prob-col.none .x-ic svg { color: #ffc850; }

/* ===========================================================
   HOW IT WORKS
=========================================================== */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.step {
  position: relative;
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.step-num {
  font-family: "Space Grotesk";
  font-weight: 800;
  font-size: 14.5px;
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  margin-bottom: 24px;
  box-shadow: 0 10px 28px -12px var(--acc-glow);
}
.step h3 { font-size: 22px; margin-bottom: 12px; }
.step p  { color: var(--text-soft); font-size: 15.5px; }
.step-connector {
  position: absolute;
  top: 60px;
  right: -12px;
  width: 24px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 5px, transparent 5px 10px);
  z-index: 1;
}
.step:last-child .step-connector { display: none; }

/* ===========================================================
   SERVICES
=========================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.svc-card {
  position: relative;
  display: flex;
  gap: 22px;
  padding: 34px 30px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
/* gradient border on hover */
.svc-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--grad);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .3s var(--ease);
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.svc-card:hover::before { transform: scaleY(1); }
.svc-ic {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--acc-soft);
  color: var(--acc-bright);
  transition: background .25s, transform .25s var(--ease-spring);
}
.svc-card:hover .svc-ic { background: var(--acc-soft-2); transform: scale(1.08) rotate(-3deg); }
.svc-ic svg { width: 27px; height: 27px; }
.svc-card h3 { font-size: 21px; margin-bottom: 8px; }
.svc-card p  { color: var(--text-soft); font-size: 15px; line-height: 1.55; }
.svc-meta {
  margin-top: 14px;
  font-family: "Space Grotesk";
  font-weight: 600;
  font-size: 13px;
  color: var(--acc-bright);
  display: block;
}

/* ===========================================================
   PORTFOLIO
=========================================================== */
.port-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.port-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.port-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg), var(--glow-acc); border-color: rgba(91,140,255,.3); }
.port-shot { aspect-ratio: 4/3; overflow: hidden; position: relative; border-bottom: 1px solid var(--line); }
.port-shot .mini { position: absolute; inset: 0; }
.port-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(91,140,255,.0);
  transition: background .3s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.port-card:hover .port-shot::after { background: rgba(91,140,255,.04); }
.port-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; }
.port-meta h3 { font-size: 17px; }
.niche { font-family: "Space Grotesk"; font-weight: 600; font-size: 12px; color: var(--text-mute); letter-spacing: .02em; }
.port-tag {
  font-family: "Space Grotesk";
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--acc-bright);
  background: var(--acc-soft);
  padding: 5px 12px;
  border-radius: 999px;
  flex-shrink: 0;
}

/* ===========================================================
   WHY US
=========================================================== */
.why { background: var(--bg); overflow: hidden; }
.why::before {
  content: "";
  position: absolute;
  right: -120px; top: -100px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,140,255,.14), transparent 65%);
  pointer-events: none;
}
.why .sec-head p { color: var(--text-soft); }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.why-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
  transition: background .28s var(--ease), border-color .28s var(--ease), transform .28s var(--ease);
}
.why-card:hover {
  background: var(--grad-soft);
  border-color: rgba(91,140,255,.3);
  transform: translateY(-4px);
}
.why-ic {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--acc-soft);
  color: var(--acc-bright);
  margin-bottom: 18px;
  transition: transform .28s var(--ease-spring), background .28s;
}
.why-card:hover .why-ic { transform: scale(1.1) rotate(-4deg); background: var(--acc-soft-2); }
.why-ic svg { width: 23px; height: 23px; }
.why-card h3 { color: #fff; font-size: 19px; margin-bottom: 8px; }
.why-card p  { color: var(--text-soft); font-size: 14.5px; line-height: 1.55; }

/* ===========================================================
   TESTIMONIALS
=========================================================== */
.tst-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.tst {
  padding: 34px 30px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color .28s, box-shadow .28s, transform .28s var(--ease);
}
.tst::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.tst:hover { border-color: rgba(91,140,255,.28); box-shadow: var(--shadow); transform: translateY(-5px); }
.tst:hover::before { opacity: 1; }
.tst-stars {
  display: flex;
  gap: 3px;
  color: var(--gold);
  position: relative;
  z-index: 1;
}
.tst-stars svg { width: 17px; height: 17px; }
.tst-quote {
  font-family: "Space Grotesk";
  font-size: 72px;
  line-height: .6;
  color: var(--acc);
  opacity: .3;
  position: relative;
  z-index: 1;
}
.tst blockquote {
  font-family: "Space Grotesk";
  font-weight: 500;
  font-size: 17.5px;
  line-height: 1.5;
  letter-spacing: -.01em;
  color: #fff;
  position: relative;
  z-index: 1;
  flex: 1;
}
.tst-who {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: auto;
  position: relative;
  z-index: 1;
}
.tst-av {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line-strong);
  flex-shrink: 0;
}
.tst-who b { display: block; font-family: "Space Grotesk"; font-size: 15px; color: #fff; font-weight: 700; }
.tst-who span span { font-size: 13px; color: var(--text-mute); }

/* ===========================================================
   CONTACT FORM
=========================================================== */
.form-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.form-copy .eyebrow { margin-bottom: 14px; }
.form-copy h2 { font-size: clamp(28px,3.6vw,46px); margin-bottom: 18px; }
.form-copy > p { color: var(--text-soft); font-size: 17px; line-height: 1.65; margin-bottom: 36px; }
.form-contacts { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.form-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 15.5px;
  transition: color .2s;
}
.form-contact-link:hover { color: #fff; }
.contact-ic {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--acc-soft);
  color: var(--acc-bright);
  flex-shrink: 0;
}
.contact-ic svg { width: 18px; height: 18px; }
.form-guarantee {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-mute);
  font-weight: 600;
}
.form-guarantee svg { width: 17px; height: 17px; color: var(--acc-bright); flex-shrink: 0; }
/* form card */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  font-family: "Space Grotesk";
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text-soft);
  letter-spacing: .01em;
}
.field .opt { color: var(--text-mute); font-weight: 500; }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-3);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: "Manrope";
  font-size: 15.5px;
  font-weight: 500;
  color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-mute); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--acc);
  box-shadow: 0 0 0 3px rgba(91,140,255,.15);
}
.field select { cursor: pointer; color: var(--text-soft); }
.field select option { background: var(--bg-3); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-mute);
  font-weight: 600;
}

/* ===========================================================
   FOOTER
=========================================================== */
footer {
  background: #020308;
  color: var(--text-soft);
  padding: 72px 0 36px;
  border-top: 1px solid var(--line);
}
.foot-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.foot-brand .brand { color: #fff; margin-bottom: 18px; }
.foot-brand > p { max-width: 34ch; font-size: 15px; line-height: 1.65; }
.foot-col h4 {
  color: #fff;
  font-family: "Space Grotesk";
  font-size: 13.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: .7;
}
.foot-col a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 15px;
  transition: color .2s;
}
.foot-col a:hover { color: var(--acc-bright); }
.foot-col a svg { width: 16px; height: 16px; color: var(--acc); flex-shrink: 0; }
.socials { display: flex; gap: 11px; margin-top: 20px; }
.socials a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--text-soft);
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease-spring);
}
.socials a:hover {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}
.socials svg { width: 18px; height: 18px; }
.foot-bot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  font-size: 13.5px;
  color: var(--text-mute);
}

/* ===========================================================
   REVEAL ANIMATION
=========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(4px);
  transition:
    opacity .75s var(--ease),
    transform .75s var(--ease),
    filter .75s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ===========================================================
   RESPONSIVE
=========================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding: 130px 0 100px; text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-assure { justify-content: center; }
  .device { order: -1; max-width: 400px; margin: 0 auto; }
  .float-badge { left: auto; right: 16px; top: 16px; }
  .prob-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .form-layout { grid-template-columns: 1fr; gap: 48px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .step-connector { display: none; }
  .port-grid, .tst-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links, nav .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(5,6,15,.96);
    backdrop-filter: blur(20px);
    padding: 10px 24px 20px;
    box-shadow: var(--shadow);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  nav.open .nav-links a {
    color: var(--text);
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }
  nav.open .nav-cta {
    display: inline-flex;
    margin: 16px 24px 0;
    width: calc(100% - 48px);
    justify-content: center;
  }
  .hero { padding: 110px 0 80px; }
  .band { padding: 68px 0; }
  .hero h1 { font-size: clamp(36px, 9vw, 52px); }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .port-grid, .tst-grid, .why-grid, .foot-top { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 28px 18px; }
  .phone { display: none; }
  .float-badge { display: none; }
  .contact-form { padding: 28px 22px; }
  .field-row { grid-template-columns: 1fr; }
  .live-toast { display: none; }
  .scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .browser { transform: none !important; }
}
