/* ════════════════════════════════════════════════
   ATECH WEB SOLUTIONS — Motion Engine Stylesheet
   ════════════════════════════════════════════════ */

:root {
  --bg: #05060f;
  --bg-2: #0a0d1f;
  --panel: #10142b;
  --line: rgba(90, 105, 255, 0.18);
  --ink: #eef0ff;
  --muted: #9aa3c7;
  --blue: #3d47ff;
  --cyan: #22d3ee;
  --violet: #7c5cff;
  --grad: linear-gradient(100deg, #22d3ee 0%, #3d47ff 50%, #7c5cff 100%);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--violet); color: #fff; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ══════════ SCROLLBAR ══════════ */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1c2246; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ══════════ PRELOADER ══════════ */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-logo {
  font-family: var(--font-display); font-size: 4rem; font-weight: 700;
  letter-spacing: -0.04em;
  animation: preloader-pulse 1.2s ease-in-out infinite;
}
.preloader-logo span { color: var(--cyan); }
@keyframes preloader-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.preloader-bar {
  width: 220px; height: 3px; margin: 1.4rem auto 0.9rem;
  background: #171c3a; border-radius: 3px; overflow: hidden;
}
.preloader-bar-fill { height: 100%; width: 0%; background: var(--grad); transition: width 0.25s ease; }
.preloader-text { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); letter-spacing: 0.25em; }

/* ══════════ CURSOR ══════════ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 999;
  border-radius: 50%; transform: translate(-50%, -50%);
}
.cursor-dot { width: 7px; height: 7px; background: var(--cyan); }
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(34, 211, 238, 0.5);
  transition: width 0.25s, height 0.25s, border-color 0.25s, background 0.25s;
}
.cursor-ring.hovering { width: 62px; height: 62px; border-color: var(--violet); background: rgba(124, 92, 255, 0.08); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ══════════ BACKGROUND ══════════ */
#bgCanvas { position: fixed; inset: 0; z-index: -2; }
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(61, 71, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 71, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
}

/* ══════════ NAV ══════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.2rem, 4vw, 3.5rem);
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 6, 15, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  padding-top: 0.75rem; padding-bottom: 0.75rem;
}
.nav-logo { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); }
.nav-logo-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--grad); border-radius: 10px;
  font-weight: 700; font-size: 1.15rem; color: #fff;
  box-shadow: 0 0 24px rgba(61, 71, 255, 0.45);
}
.nav-logo-text { font-weight: 500; font-size: 0.95rem; letter-spacing: 0.06em; }
.nav-logo-text b { font-weight: 700; color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 1.9rem; font-size: 0.88rem; font-weight: 500; }
.nav-links a { color: var(--muted); transition: color 0.25s; position: relative; }
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0;
  background: var(--grad); transition: width 0.3s var(--ease-out); border-radius: 2px;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  color: var(--ink) !important;
  border: 1px solid var(--line); padding: 0.55rem 1.2rem; border-radius: 999px;
  background: rgba(61, 71, 255, 0.12);
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}
.nav-cta:hover { background: rgba(61, 71, 255, 0.3); box-shadow: 0 0 24px rgba(61, 71, 255, 0.35); transform: translateY(-1px); }
.nav-burger { display: none; background: none; border: 0; flex-direction: column; gap: 5px; padding: 6px; }
.nav-burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════ HERO ══════════ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(0, 3.2fr) minmax(140px, 1fr);
  align-items: center;
  padding: 7.5rem clamp(1rem, 3vw, 3rem) 4rem;
  position: relative;
  gap: 1rem;
}
.hero-side { display: flex; flex-direction: column; gap: 2.4rem; }
.hero-side--left { align-items: flex-start; }
.hero-side--right { align-items: flex-end; text-align: right; }
.hero-side-item {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em;
  color: var(--muted); line-height: 1.9;
  border-left: 2px solid var(--line); padding-left: 0.9rem;
}
.hero-side--right .hero-side-item { border-left: 0; border-right: 2px solid var(--line); padding-left: 0; padding-right: 0.9rem; }
.hero-side-num { display: block; font-size: 1.25rem; font-weight: 600; color: var(--cyan); font-family: var(--font-display); letter-spacing: 0; }

.hero-center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-eyebrow {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.22em; color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.25); padding: 0.5rem 1.1rem; border-radius: 999px;
  background: rgba(34, 211, 238, 0.06);
  display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1.6rem;
}
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; animation: pulse-dot 1.8s infinite; }
@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); } 55% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.2vw, 5.6rem);
  font-weight: 700; line-height: 1.02; letter-spacing: -0.035em;
}
.hero-title-line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.reveal-word {
  display: inline-block;
  transform: translateY(120%) rotate(3deg);
  animation: word-in 0.9s var(--ease-out) forwards;
  animation-delay: calc(var(--wd, 0) * 0.09s + 0.35s);
}
@keyframes word-in { to { transform: translateY(0) rotate(0); } }
/* hold hero animations until preloader finishes */
body:not(.loaded) .reveal-word { animation-play-state: paused; }

.hero-sub { max-width: 560px; color: var(--muted); font-size: clamp(0.95rem, 1.4vw, 1.1rem); margin-top: 1.4rem; }
.hero-sub em { color: var(--cyan); font-style: normal; font-weight: 600; }
.hero-ctas { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; justify-content: center; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.92rem;
  padding: 0.9rem 1.7rem; border-radius: 999px; border: 0;
  position: relative; overflow: hidden; transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
  will-change: transform;
}
.btn i { font-style: normal; transition: transform 0.3s; }
.btn:hover i { transform: translateX(4px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 32px rgba(61, 71, 255, 0.35); }
.btn-primary:hover { box-shadow: 0 12px 44px rgba(124, 92, 255, 0.5); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--cyan); background: rgba(34, 211, 238, 0.06); }
.btn-lg { padding: 1.1rem 2.2rem; font-size: 1rem; }
.btn:disabled { opacity: 0.35; pointer-events: none; }

/* ══════════ SELF-BUILDING WEBSITE ══════════ */
.build-stage {
  position: relative; margin-top: 3rem;
  width: min(620px, 92vw);
  perspective: 1200px;
}
.build-glow {
  position: absolute; inset: -10% -6%;
  background: radial-gradient(circle, rgba(61, 71, 255, 0.28) 0%, transparent 62%);
  filter: blur(30px); animation: glow-breathe 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glow-breathe { 0%,100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.07); } }
.build-tilt { position: relative; transform-style: preserve-3d; transition: transform 0.35s ease-out; }

/* browser window */
.browser {
  position: relative;
  border: 1px solid rgba(90, 105, 255, 0.35);
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(170deg, #0c102400, #0c1024) , #0a0d1f;
  background-color: #0a0d1f;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(34, 211, 238, 0.06);
  opacity: 0; transform: translateY(26px) scale(0.92);
}
.build-stage.go .browser {
  animation: browser-in 0.8s var(--ease-spring) forwards,
             browser-bob 5.5s ease-in-out 6.5s infinite;
}
@keyframes browser-in { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes browser-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.browser-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 0.6rem 0.8rem; background: #0d1230;
  border-bottom: 1px solid rgba(90, 105, 255, 0.25);
}
.bdot { width: 10px; height: 10px; border-radius: 50%; }
.bdot--r { background: #fb7185; } .bdot--y { background: #fbbf24; } .bdot--g { background: #34d399; }
.browser-url {
  flex: 1; display: flex; align-items: center; gap: 0.4rem;
  margin: 0 0.7rem; padding: 0.34rem 0.8rem;
  background: #05060f; border: 1px solid rgba(90, 105, 255, 0.25); border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.66rem; color: var(--cyan);
  min-width: 0; overflow: hidden; white-space: nowrap;
}
.url-lock { font-size: 0.6rem; font-style: normal; }
.url-caret { width: 6px; height: 11px; background: var(--cyan); animation: caret-blink 0.9s steps(1) infinite; }
@keyframes caret-blink { 50% { opacity: 0; } }
.deploy-badge {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em;
  color: #34d399; background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.35); border-radius: 999px;
  padding: 0.3rem 0.7rem; white-space: nowrap;
  opacity: 0; transform: scale(0.6);
}
.build-stage.go .deploy-badge { animation: badge-pop 0.55s var(--ease-spring) 5.5s forwards; }
@keyframes badge-pop {
  60% { transform: scale(1.12); }
  to { opacity: 1; transform: scale(1); box-shadow: 0 0 18px rgba(52, 211, 153, 0.35); }
}

.browser-view { position: relative; padding: 1.1rem 1.2rem 1.3rem; min-height: 240px; }

/* site parts: skeleton first, then materialize via ::after fill */
.part {
  position: relative; border-radius: 8px;
  background: #141936; border: 1px dashed rgba(90, 105, 255, 0.4);
  opacity: 0; transform: translateY(14px);
}
.part::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  opacity: 0; pointer-events: none;
}
.build-stage.go .part { animation: part-in 0.5s var(--ease-out) forwards; }
.build-stage.go .part::after { animation: fill-in 0.55s ease-out forwards; }
@keyframes part-in { to { opacity: 1; transform: translateY(0); } }
@keyframes fill-in { to { opacity: 1; } }

/* stagger: skeleton in, then colorize */
.build-stage.go .b1 { animation-delay: 1.35s; } .build-stage.go .b1::after { animation-delay: 2.75s; }
.build-stage.go .b2 { animation-delay: 1.5s; }  .build-stage.go .b2::after { animation-delay: 2.9s; }
.build-stage.go .b3 { animation-delay: 1.62s; } .build-stage.go .b3::after { animation-delay: 3.02s; }
.build-stage.go .b4 { animation-delay: 1.74s; } .build-stage.go .b4::after { animation-delay: 3.14s; }
.build-stage.go .b5 { animation-delay: 1.86s; } .build-stage.go .b5::after { animation-delay: 3.26s; }
.build-stage.go .b6 { animation-delay: 2.0s; }  .build-stage.go .b6::after { animation-delay: 3.4s; }
.build-stage.go .b7 { animation-delay: 2.15s; } .build-stage.go .b7::after { animation-delay: 3.55s; }
.build-stage.go .b8 { animation-delay: 2.3s; }  .build-stage.go .b8::after { animation-delay: 3.7s; }
.build-stage.go .b9 { animation-delay: 2.45s; } .build-stage.go .b9::after { animation-delay: 3.85s; }

.part-nav { height: 26px; display: flex; align-items: center; gap: 8px; padding: 0 10px; margin-bottom: 14px; }
.part-nav i { position: relative; z-index: 1; border-radius: 4px; }
.p-logo { width: 34px; height: 10px; background: var(--cyan); }
.p-link { width: 22px; height: 6px; background: rgba(238, 240, 255, 0.45); }
.p-pill { width: 40px; height: 12px; border-radius: 999px; background: var(--violet); margin-left: auto; }
.part-nav::after { background: linear-gradient(90deg, rgba(34, 211, 238, 0.12), rgba(124, 92, 255, 0.14)); border: 1px solid rgba(34, 211, 238, 0.35); }

.part-h1 { height: 18px; width: 62%; margin-bottom: 9px; }
.part-h1--short { width: 44%; margin-bottom: 13px; }
.part-h1::after { background: var(--grad); }
.part-line { height: 7px; width: 55%; margin-bottom: 7px; border-radius: 4px; }
.part-line--short { width: 40%; margin-bottom: 14px; }
.part-line::after { background: rgba(154, 163, 199, 0.5); }

.part-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 30px; padding: 0 16px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.58rem; letter-spacing: 0.12em;
  color: transparent; margin-bottom: 16px;
}
.part-btn::after { background: var(--grad); box-shadow: 0 6px 22px rgba(61, 71, 255, 0.45); }
.build-stage.go .part-btn { animation: part-in 0.5s var(--ease-out) forwards, btn-text 0.3s linear 3.5s forwards, btn-click 0.45s var(--ease-spring) 5.05s; }
@keyframes btn-text { to { color: #fff; } }
@keyframes btn-click { 0% { transform: scale(1); } 40% { transform: scale(0.88); } 100% { transform: scale(1); } }
.part-btn span { position: relative; z-index: 1; }
.part-btn { z-index: 0; }
.part-btn { overflow: visible; }
.part-btn::before {
  content: ""; position: absolute; inset: -2px; border-radius: 999px;
  border: 2px solid rgba(34, 211, 238, 0.8); opacity: 0;
}
.build-stage.go .part-btn::before { animation: btn-ripple 0.7s ease-out 5.15s; }
@keyframes btn-ripple { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }

.part-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.part-card { height: 52px; }
.part-card::after { background: linear-gradient(160deg, rgba(34, 211, 238, 0.16), rgba(124, 92, 255, 0.18)); border: 1px solid rgba(124, 92, 255, 0.4); }

/* scanline sweep while assembling */
.scanline {
  position: absolute; left: 4%; right: 4%; top: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.7);
  opacity: 0; pointer-events: none;
}
.build-stage.go .scanline { animation: scan-sweep 1.9s ease-in-out 1.4s; }
@keyframes scan-sweep { 0% { opacity: 0; top: 2%; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; top: 96%; } }

/* flying cursor */
.fly-cursor {
  position: absolute; width: 22px; height: 22px; z-index: 5;
  top: -8%; left: 96%; opacity: 0;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
}
.build-stage.go .fly-cursor {
  animation: cursor-fly 1.5s cubic-bezier(0.5, 0, 0.3, 1) 3.7s forwards,
             cursor-click 0.4s ease-out 5.1s;
}
@keyframes cursor-fly {
  0% { opacity: 0; top: -8%; left: 96%; }
  15% { opacity: 1; }
  55% { top: 40%; left: 55%; }
  100% { opacity: 1; top: 56%; left: 20%; }
}
@keyframes cursor-click { 0% { transform: scale(1); } 40% { transform: scale(0.7); } 100% { transform: scale(1); } }

/* floating code editor */
.codebox {
  position: absolute; z-index: 6;
  left: -13%; bottom: -12%;
  width: min(300px, 62%);
  border: 1px solid rgba(34, 211, 238, 0.3); border-radius: 12px;
  background: rgba(6, 8, 20, 0.92); backdrop-filter: blur(8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  transform: rotate(-3deg) translateY(20px); opacity: 0;
}
.build-stage.go .codebox { animation: codebox-in 0.7s var(--ease-spring) 0.7s forwards; }
@keyframes codebox-in { to { opacity: 1; transform: rotate(-3deg) translateY(0); } }
.codebox-bar { display: flex; align-items: center; gap: 5px; padding: 0.5rem 0.7rem; border-bottom: 1px solid rgba(90, 105, 255, 0.2); }
.codebox-bar span { width: 8px; height: 8px; border-radius: 50%; background: #1c2246; }
.codebox-bar b { margin-left: auto; font-family: var(--font-mono); font-weight: 400; font-size: 0.58rem; color: var(--muted); letter-spacing: 0.1em; }
.codebox-lines { padding: 0.7rem 0.85rem 0.85rem; display: flex; flex-direction: column; gap: 0.45rem; }
.cline {
  font-family: var(--font-mono); font-size: 0.64rem; color: #c3c9ec;
  white-space: nowrap; overflow: hidden; width: 0;
}
.cline em { color: var(--violet); font-style: normal; }
.cline b { color: var(--cyan); font-weight: 400; }
.cline i { color: #fbbf24; font-style: normal; }
.c-ok { color: #34d399; }
.build-stage.go .c1 { animation: type-in 0.55s steps(22) 1.1s forwards; }
.build-stage.go .c2 { animation: type-in 0.55s steps(22) 1.75s forwards; }
.build-stage.go .c3 { animation: type-in 0.55s steps(22) 2.4s forwards; }
.build-stage.go .c4 { animation: type-in 0.7s steps(26) 3.1s forwards; }
@keyframes type-in { to { width: 100%; } }

.build-shadow {
  position: absolute; bottom: -13%; left: 50%; transform: translateX(-50%);
  width: 70%; height: 20px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(34, 211, 238, 0.25), transparent 70%);
  filter: blur(8px);
}

.build-chip {
  position: absolute; font-family: var(--font-mono); font-size: 0.68rem;
  padding: 0.4rem 0.75rem; border-radius: 8px;
  background: rgba(16, 20, 43, 0.85); border: 1px solid var(--line);
  backdrop-filter: blur(6px); color: var(--muted); white-space: nowrap;
  opacity: 0; z-index: 7;
}
.build-stage.go .build-chip { animation: chip-in 0.7s var(--ease-out) forwards; }
.build-chip--1 { top: -6%; left: -16%; animation-delay: 4.4s !important; }
.build-chip--2 { top: 16%; right: -17%; animation-delay: 4.65s !important; }
.build-chip--3 { bottom: 30%; left: -19%; animation-delay: 4.9s !important; }
.build-chip--4 { bottom: -4%; right: -12%; animation-delay: 5.15s !important; }
@keyframes chip-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.hero-scroll {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.3em; color: var(--muted);
}
.hero-scroll-mouse {
  width: 22px; height: 34px; border: 1.5px solid var(--muted); border-radius: 12px;
  display: flex; justify-content: center; padding-top: 6px;
}
.hero-scroll-mouse span { width: 3px; height: 7px; background: var(--cyan); border-radius: 2px; animation: scroll-wheel 1.6s ease-in-out infinite; }
@keyframes scroll-wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* ══════════ REVEALS ══════════ */
.reveal-up { opacity: 0; transform: translateY(36px); transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out); }
.reveal-up.in { opacity: 1; transform: translateY(0); }
.reveal-side { opacity: 0; transform: translateX(-24px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.hero-side--right .reveal-side { transform: translateX(24px); }
.reveal-side.in { opacity: 1; transform: translateX(0); }

/* ══════════ MARQUEE ══════════ */
.marquee-wrap { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(10, 13, 31, 0.6); }
.marquee { overflow: hidden; padding: 1.1rem 0; }
.marquee-track {
  display: flex; align-items: center; gap: 2.4rem; width: max-content;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: 0.12em;
  color: var(--muted);
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track i { color: var(--violet); font-style: normal; }
.marquee-track span:hover { color: var(--cyan); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ══════════ STATS ══════════ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 1100px; margin: 0 auto; padding: 4rem 1.5rem 1rem; gap: 1rem;
  text-align: center;
}
.stat-num { font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.2rem; }

/* ══════════ SECTIONS ══════════ */
.section { max-width: 1180px; margin: 0 auto; padding: 6.5rem clamp(1.2rem, 4vw, 2.5rem); }
.section--tight { padding-top: 0; padding-bottom: 3rem; }
.section-head { margin-bottom: 3.2rem; }
.section-tag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.28em; color: var(--cyan); margin-bottom: 1rem; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; }
.section-sub { color: var(--muted); margin-top: 1rem; max-width: 560px; }

/* ══════════ SERVICES ══════════ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.service-card {
  background: linear-gradient(160deg, rgba(16, 20, 43, 0.9), rgba(10, 13, 31, 0.7));
  border: 1px solid var(--line); border-radius: 20px; padding: 1.9rem 1.7rem;
  position: relative; overflow: hidden;
  transition: border-color 0.35s, box-shadow 0.35s;
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(61, 71, 255, 0.14), transparent 45%);
  opacity: 0; transition: opacity 0.35s;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover { border-color: rgba(34, 211, 238, 0.4); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); }
.service-icon { font-size: 1.9rem; margin-bottom: 1rem; }
.service-card h3 { font-family: var(--font-display); font-size: 1.18rem; margin-bottom: 0.55rem; }
.service-card p { color: var(--muted); font-size: 0.9rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.1rem; }
.service-tags span, .work-tags span {
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.08em;
  padding: 0.28rem 0.65rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); background: rgba(5, 6, 15, 0.5);
}

/* ══════════ WORK ══════════ */
.work-filters { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2rem; }
.work-filter {
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem;
  padding: 0.55rem 1.25rem; border-radius: 999px; transition: all 0.3s;
}
.work-filter:hover { color: var(--ink); border-color: var(--cyan); }
.work-filter.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 24px rgba(61, 71, 255, 0.35); }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.work-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color 0.35s, box-shadow 0.35s, opacity 0.4s, transform 0.55s var(--ease-out);
}
.work-card.hide { opacity: 0; transform: scale(0.92); pointer-events: none; position: absolute; visibility: hidden; }
.work-card:hover { border-color: rgba(124, 92, 255, 0.5); box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5); }
.work-card--featured { grid-column: span 2; }
.work-card-media {
  position: relative; height: 150px; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(circle at 25% 20%, color-mix(in srgb, var(--wc) 22%, transparent), transparent 55%),
    linear-gradient(160deg, #0d1128, #070919);
  border-bottom: 1px solid var(--line);
}
.work-card--featured .work-card-media { height: 190px; }
.work-card-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.92; transition: transform 0.7s var(--ease-out);
}
.work-card:hover .work-card-media img { transform: scale(1.09); }
.work-card-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 6, 15, 0.05), rgba(5, 6, 15, 0.55));
}
.work-live {
  position: absolute; top: 0.9rem; right: 0.9rem; z-index: 2;
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.14em;
  color: #34d399; background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 0.3rem 0.65rem; border-radius: 999px;
}
.work-card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.55rem; }
.work-card-body h3 { font-family: var(--font-display); font-size: 1.15rem; display: flex; justify-content: space-between; align-items: center; }
.work-card-body h3 i { font-style: normal; color: var(--cyan); transition: transform 0.3s; }
.work-card:hover h3 i { transform: translate(3px, -3px); }
.work-card-body p { color: var(--muted); font-size: 0.88rem; flex: 1; }
.work-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }

/* github strip */
.gh-strip { margin-top: 4rem; border: 1px solid var(--line); border-radius: 24px; padding: 2.2rem; background: linear-gradient(160deg, rgba(16, 20, 43, 0.65), rgba(5, 6, 15, 0.4)); }
.gh-strip-head h3 { font-family: var(--font-display); font-size: 1.3rem; }
.gh-strip-head h3 a { color: var(--cyan); border-bottom: 1px dashed rgba(34, 211, 238, 0.4); }
.gh-strip-head p { color: var(--muted); font-size: 0.9rem; margin-top: 0.4rem; }
.gh-icon { color: var(--violet); }
.gh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; margin-top: 1.6rem; }
.gh-card {
  border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.2rem;
  background: rgba(5, 6, 15, 0.45); display: flex; flex-direction: column; gap: 0.35rem;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.gh-card:hover { border-color: var(--cyan); transform: translateY(-3px); background: rgba(34, 211, 238, 0.04); }
.gh-card b { font-family: var(--font-mono); font-size: 0.85rem; color: var(--cyan); }
.gh-card span { font-size: 0.8rem; color: var(--muted); flex: 1; }
.gh-card em { font-family: var(--font-mono); font-style: normal; font-size: 0.62rem; color: var(--violet); letter-spacing: 0.1em; }

/* ══════════ PROCESS ══════════ */
.process-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.process-line { position: absolute; top: 26px; left: 4%; right: 4%; height: 2px; background: #171c3a; border-radius: 2px; }
.process-line-fill { height: 100%; width: 0%; background: var(--grad); border-radius: 2px; transition: width 1.4s var(--ease-out); }
.process-step { position: relative; padding-top: 4.2rem; }
.process-num {
  position: absolute; top: 0; left: 0;
  width: 52px; height: 52px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  border-radius: 50%; border: 1px solid var(--line); background: var(--bg-2); color: var(--cyan);
  box-shadow: 0 0 0 6px var(--bg);
}
.process-step h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 0.5rem; }
.process-step p { color: var(--muted); font-size: 0.88rem; }

/* ══════════ ESTIMATOR ══════════ */
.estimator { display: grid; grid-template-columns: 1.75fr 1fr; gap: 1.4rem; align-items: start; }
.estimator-form {
  background: linear-gradient(160deg, rgba(16, 20, 43, 0.85), rgba(10, 13, 31, 0.65));
  border: 1px solid var(--line); border-radius: 24px; padding: 2.1rem;
}
.est-progress { height: 4px; background: #171c3a; border-radius: 4px; overflow: hidden; margin-bottom: 1.8rem; }
.est-progress-fill { height: 100%; width: 25%; background: var(--grad); border-radius: 4px; transition: width 0.5s var(--ease-out); }
.est-step { display: none; animation: est-in 0.5s var(--ease-out); }
.est-step.active { display: block; }
@keyframes est-in { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: translateX(0); } }
.est-step h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 1.3rem; }
.est-step-num { font-family: var(--font-mono); font-size: 0.7rem; color: var(--cyan); letter-spacing: 0.14em; margin-right: 0.5rem; }
.est-sub-label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.2em; color: var(--muted); margin: 1.4rem 0 0.7rem; }
.est-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.est-opt { display: block; }
.est-opt input { position: absolute; opacity: 0; pointer-events: none; }
.est-opt span {
  display: block; border: 1px solid var(--line); border-radius: 14px;
  padding: 0.95rem 1.1rem; transition: all 0.25s; background: rgba(5, 6, 15, 0.4);
}
.est-opt b { display: block; font-family: var(--font-display); font-size: 0.92rem; font-weight: 600; }
.est-opt small { color: var(--muted); font-size: 0.74rem; }
.est-opt:hover span { border-color: rgba(34, 211, 238, 0.45); }
.est-opt input:checked + span {
  border-color: var(--cyan); background: rgba(34, 211, 238, 0.07);
  box-shadow: 0 0 0 1px var(--cyan), 0 8px 28px rgba(34, 211, 238, 0.12);
}
.est-fields { display: flex; flex-direction: column; gap: 0.8rem; }
.est-fields input, .est-fields textarea {
  background: rgba(5, 6, 15, 0.6); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.9rem 1.1rem; color: var(--ink); font-family: var(--font-body); font-size: 0.92rem;
  outline: none; transition: border-color 0.25s, box-shadow 0.25s; resize: vertical;
}
.est-fields input:focus, .est-fields textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12); }
.est-summary { margin-top: 1.3rem; font-size: 0.85rem; color: var(--muted); line-height: 1.8; }
.est-summary b { color: var(--cyan); }
.est-nav { display: flex; justify-content: space-between; margin-top: 1.9rem; gap: 1rem; }

.estimator-panel {
  position: sticky; top: 96px;
  border: 1px solid rgba(124, 92, 255, 0.35); border-radius: 24px; padding: 1.9rem;
  background:
    radial-gradient(circle at 80% 0%, rgba(124, 92, 255, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(16, 20, 43, 0.95), rgba(10, 13, 31, 0.85));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}
.est-panel-label { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.3em; color: var(--violet); margin-bottom: 0.8rem; }
.est-price { font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.4rem); font-weight: 700; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; transition: transform 0.2s; }
.est-price.bump { animation: price-bump 0.4s var(--ease-spring); }
@keyframes price-bump { 30% { transform: scale(1.07); } }
.est-price-ngn { font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted); margin-top: 0.15rem; }
.est-monthly { font-family: var(--font-mono); font-size: 0.78rem; color: var(--cyan); margin-top: 0.5rem; min-height: 1.1em; }
.est-breakdown { list-style: none; margin-top: 1.3rem; border-top: 1px solid var(--line); padding-top: 1.1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.est-breakdown li { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--muted); gap: 1rem; }
.est-breakdown li b { color: var(--ink); font-weight: 500; white-space: nowrap; }
.est-note { margin-top: 1.4rem; font-size: 0.72rem; color: var(--muted); opacity: 0.8; line-height: 1.6; }

/* ══════════ CEO ══════════ */
.ceo-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3.5rem; align-items: center; }
.ceo-frame {
  position: relative; aspect-ratio: 1; border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 25%, rgba(34, 211, 238, 0.14), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(124, 92, 255, 0.18), transparent 55%),
    var(--bg-2);
  display: grid; place-items: center; overflow: hidden;
}
.ceo-avatar {
  font-family: var(--font-display); font-size: 7rem; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 40px rgba(61, 71, 255, 0.5));
}
.ceo-orbit { position: absolute; inset: 0; animation: ring-spin 30s linear infinite; }
.ceo-orbit span {
  position: absolute; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.2em;
  color: var(--muted); padding: 0.3rem 0.7rem; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(5, 6, 15, 0.8);
}
.ceo-orbit span:nth-child(1) { top: 8%; left: 50%; transform: translateX(-50%); }
.ceo-orbit span:nth-child(2) { top: 50%; right: 3%; transform: translateY(-50%); }
.ceo-orbit span:nth-child(3) { bottom: 8%; left: 50%; transform: translateX(-50%); }
.ceo-orbit span:nth-child(4) { top: 50%; left: 3%; transform: translateY(-50%); }
.ceo-links { display: flex; gap: 0.7rem; margin-top: 1.1rem; }
.ceo-links a {
  flex: 1; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 0.82rem;
  border: 1px solid var(--line); border-radius: 12px; padding: 0.75rem 0.5rem;
  transition: all 0.3s; color: var(--muted);
}
.ceo-links a:hover { color: var(--ink); border-color: var(--cyan); background: rgba(34, 211, 238, 0.06); transform: translateY(-2px); }
.ceo-bio { color: var(--muted); margin-top: 1.4rem; font-size: 0.98rem; }
.ceo-bio b { color: var(--ink); font-weight: 600; }
.ceo-skills { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 1rem; }
.skill-head { display: flex; justify-content: space-between; font-size: 0.84rem; margin-bottom: 0.4rem; }
.skill-head span { color: var(--muted); }
.skill-head b { color: var(--cyan); font-family: var(--font-mono); font-size: 0.78rem; }
.skill-bar { height: 6px; background: #171c3a; border-radius: 4px; overflow: hidden; }
.skill-bar i {
  display: block; height: 100%; width: 0; border-radius: 4px; background: var(--grad);
  transition: width 1.3s var(--ease-out) 0.25s;
}
.reveal-up.in .skill-bar i, .skills-in .skill-bar i { width: var(--w); }
.ceo-quote {
  margin-top: 1.9rem; padding-left: 1.1rem; border-left: 3px solid var(--violet);
  font-family: var(--font-display); font-size: 1.12rem; color: var(--ink);
}
.ceo-quote em { color: var(--cyan); font-style: normal; }

/* ══════════ TRUST BAND ══════════ */
.trust-band {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: rgba(10, 13, 31, 0.55);
}
.trust-item { padding: 1.6rem 1.8rem; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item b { font-family: var(--font-display); display: block; color: var(--cyan); }
.trust-item span { font-size: 0.82rem; color: var(--muted); }

/* ══════════ CONTACT ══════════ */
.contact { text-align: center; }
.contact-inner {
  border: 1px solid var(--line); border-radius: 32px; padding: clamp(2.5rem, 6vw, 5rem) 2rem;
  background:
    radial-gradient(circle at 50% -20%, rgba(61, 71, 255, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(16, 20, 43, 0.8), rgba(5, 6, 15, 0.6));
  position: relative; overflow: hidden;
}
.contact-title { font-family: var(--font-display); font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 700; line-height: 1.06; letter-spacing: -0.03em; }
.contact-sub { color: var(--muted); margin: 1.2rem auto 2.2rem; max-width: 460px; }
.contact-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ══════════ FOOTER ══════════ */
.footer { border-top: 1px solid var(--line); background: rgba(5, 6, 15, 0.9); }
.footer-top {
  max-width: 1180px; margin: 0 auto; padding: 3.5rem clamp(1.2rem, 4vw, 2.5rem);
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.2rem;
}
.footer-brand p { color: var(--muted); font-size: 0.86rem; margin-top: 1rem; max-width: 300px; }
.footer-col { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col h4 { font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.3rem; }
.footer-col a { color: var(--muted); font-size: 0.86rem; transition: color 0.25s, transform 0.25s; }
.footer-col a:hover { color: var(--cyan); transform: translateX(3px); }
.footer-bottom {
  max-width: 1180px; margin: 0 auto; padding: 1.4rem clamp(1.2rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.76rem; color: var(--muted);
}
.footer-mono { font-family: var(--font-mono); letter-spacing: 0.12em; color: var(--violet); }

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 1024px) {
  .services-grid, .work-grid, .gh-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card--featured { grid-column: span 2; }
  .process-track { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .process-line { display: none; }
  .estimator { grid-template-columns: 1fr; }
  .estimator-panel { position: static; }
  .ceo-wrap { grid-template-columns: 1fr; gap: 2.4rem; }
  .ceo-frame { max-width: 380px; margin: 0 auto; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 6.5rem; }
  .hero-side { flex-direction: row; justify-content: center; gap: 1.2rem; flex-wrap: wrap; order: 2; margin-top: 2rem; }
  .hero-side--right { display: none; }
  .hero-side-item { border: 0 !important; padding: 0 !important; text-align: center; }
  .hero-scroll { display: none; }
  .build-chip--1, .build-chip--3 { left: -2%; }
  .build-chip--2, .build-chip--4 { right: -2%; }
  .codebox { left: -2%; bottom: -14%; }

  .nav-links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center;
    background: rgba(5, 6, 15, 0.97); backdrop-filter: blur(20px);
    font-size: 1.3rem; gap: 2.2rem;
    opacity: 0; pointer-events: none; transition: opacity 0.35s;
  }
  .nav-links.open { opacity: 1; pointer-events: all; z-index: 99; }
  .nav-burger { display: flex; z-index: 101; }
}

@media (max-width: 640px) {
  .services-grid, .work-grid, .gh-grid, .trust-band { grid-template-columns: 1fr; }
  .work-card--featured { grid-column: span 1; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
  .est-options { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .est-nav { flex-direction: column-reverse; }
  .est-nav .btn { justify-content: center; }
}

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

/* ══════════ VIDEO HERO + SLIDESHOW ══════════ */
.hero { overflow: hidden; }
.hero-video, .hero-veil { position: absolute; inset: 0; }
.hero-video video { width: 100%; height: 100%; object-fit: cover; }
.hero-veil {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(61,71,255,0.25), transparent 60%),
    linear-gradient(180deg, rgba(5,6,15,0.72), rgba(5,6,15,0.5) 45%, var(--bg) 97%);
}
.hero-side, .hero-center, .hero-scroll { position: relative; z-index: 2; }
.nav-logo-img { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; }

.slides { position: relative; width: 100%; min-height: clamp(400px, 52vh, 540px); }
.slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.55s ease;
}
.slide.active { opacity: 1; pointer-events: auto; }
.s-item { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.slide.active .s-item { opacity: 1; transform: none; }
.slide.active .s-item:nth-child(1) { transition-delay: 0.1s; }
.slide.active .s-item:nth-child(2) { transition-delay: 0.22s; }
.slide.active .s-item:nth-child(3) { transition-delay: 0.34s; }
.slide.active .s-item:nth-child(4) { transition-delay: 0.46s; }
.slide.active .s-item:nth-child(5) { transition-delay: 0.58s; }
body:not(.loaded) .slide.active .s-item { opacity: 0; transform: translateY(28px); transition: none; }
.hero-sub { margin-left: auto; margin-right: auto; }

.slide-badge {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.22em;
  padding: 0.55rem 1.2rem; border-radius: 999px; color: #ffb86b;
  border: 1px solid rgba(255, 159, 28, 0.5); background: rgba(255, 159, 28, 0.08);
  margin-bottom: 1.5rem; animation: badge-glow 2s ease-in-out infinite;
}
@keyframes badge-glow { 0%,100% { box-shadow: 0 0 8px rgba(255,159,28,0.25);} 50% { box-shadow: 0 0 26px rgba(255,159,28,0.6);} }
.slide-badge--ai { color: var(--cyan); border-color: rgba(34,211,238,0.5); background: rgba(34,211,238,0.08); animation-name: badge-glow-ai; }
@keyframes badge-glow-ai { 0%,100% { box-shadow: 0 0 8px rgba(34,211,238,0.25);} 50% { box-shadow: 0 0 26px rgba(34,211,238,0.6);} }

.domain-chip {
  margin-top: 1.6rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 1rem;
  background: rgba(5,6,15,0.55); backdrop-filter: blur(6px);
}
.domain-chip span { color: var(--cyan); }

.slide-nav { display: flex; align-items: center; justify-content: center; gap: 1.1rem; margin-top: 1.8rem; }
.slide-arrow {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(16,20,43,0.6); color: var(--ink); font-size: 0.95rem;
  transition: all 0.25s;
}
.slide-arrow:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(34,211,238,0.08); }
.slide-dots { display: flex; gap: 8px; }
.slide-dots i { width: 9px; height: 9px; border-radius: 999px; background: #2a3160; cursor: pointer; transition: all 0.35s; }
.slide-dots i.active { width: 28px; background: var(--grad); box-shadow: 0 0 12px rgba(61,71,255,0.6); }

/* glowing bootcamp nav link */
.nav-bootcamp {
  color: #ffb86b !important; font-weight: 600;
  text-shadow: 0 0 12px rgba(255,159,28,0.6);
  animation: navGlow 2.2s ease-in-out infinite;
}
@keyframes navGlow { 0%,100% { text-shadow: 0 0 6px rgba(255,159,28,0.4);} 50% { text-shadow: 0 0 18px rgba(255,159,28,0.95);} }
.nav-bootcamp::after { display: none !important; }

/* ══════════ MAGIC QUOTE ══════════ */
.magic-quote {
  border: 1px solid rgba(34,211,238,0.35); border-radius: 24px; padding: 1.9rem;
  margin-bottom: 1.5rem;
  background:
    radial-gradient(circle at 12% 0%, rgba(34,211,238,0.12), transparent 45%),
    linear-gradient(160deg, rgba(16,20,43,0.9), rgba(10,13,31,0.7));
}
.magic-head { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 1rem; }
.magic-flash { filter: drop-shadow(0 0 8px rgba(255,220,60,0.8)); }
.magic-quote textarea {
  width: 100%; background: rgba(5,6,15,0.6); border: 1px solid var(--line); border-radius: 14px;
  padding: 1rem 1.2rem; color: var(--ink); font-family: var(--font-body); font-size: 0.95rem;
  outline: none; resize: vertical; transition: border-color 0.25s, box-shadow 0.25s;
}
.magic-quote textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,211,238,0.12); }
.magic-result { margin-top: 1.3rem; animation: est-in 0.5s var(--ease-out); }
.magic-row { display: grid; grid-template-columns: 1.1fr 0.8fr 1.4fr; gap: 1rem; }
@media (max-width: 860px) { .magic-row { grid-template-columns: 1fr; } }
.magic-cell { border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; background: rgba(5,6,15,0.45); }
.magic-cell small { display: block; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.22em; color: var(--muted); margin-bottom: 0.35rem; }
.magic-cell b { font-family: var(--font-display); font-size: 1.45rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.magic-cell span { display: block; font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); margin-top: 0.15rem; }
.magic-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.3rem; }
.magic-chips span {
  font-family: var(--font-mono); font-size: 0.66rem; padding: 0.3rem 0.7rem; border-radius: 999px;
  border: 1px solid rgba(34,211,238,0.4); color: var(--cyan); background: rgba(34,211,238,0.06);
}
.magic-suggest { margin-top: 1rem; }
.magic-suggest small { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.18em; color: #ffb86b; }
.magic-suggest .magic-chips span { border-color: rgba(255,159,28,0.4); color: #ffb86b; background: rgba(255,159,28,0.06); cursor: default; }
.magic-actions { display: flex; gap: 0.8rem; margin-top: 1.2rem; flex-wrap: wrap; }
.magic-actions input {
  flex: 1; min-width: 240px; background: rgba(5,6,15,0.6); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.85rem 1.3rem; color: var(--ink); font-size: 0.9rem; outline: none;
}
.magic-actions input:focus { border-color: var(--cyan); }
.magic-note { margin-top: 0.9rem; font-size: 0.74rem; color: var(--muted); }

/* ══════════ CEO PHOTO FRAME ══════════ */
.ceo-photo {
  width: 190px; height: 190px; border-radius: 50%; overflow: hidden;
  border: 3px solid transparent;
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box;
  display: grid; place-items: center;
  box-shadow: 0 0 50px rgba(61,71,255,0.4);
}
.ceo-photo img { width: 100%; height: 100%; object-fit: cover; }
.ceo-name-plate {
  position: absolute; bottom: 12%; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.08em;
  text-align: center; background: rgba(5,6,15,0.85); border: 1px solid var(--line);
  padding: 0.5rem 1.2rem; border-radius: 12px; white-space: nowrap;
}
.ceo-name-plate small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 0.6rem; letter-spacing: 0.24em; color: var(--cyan); margin-top: 0.15rem; }
.ceo-role { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.22em; color: var(--cyan); margin-top: 0.8rem; }

@media (max-width: 860px) {
  .slides { min-height: 480px; }
  .slide-nav { margin-top: 1rem; }
}

/* ══════════ CONTACT FORM + CHAT CHIPS ══════════ */
.contact-form { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.9rem; text-align: left; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
@media (max-width: 640px) { .cf-row { grid-template-columns: 1fr; } }
.contact-form input, .contact-form textarea {
  background: rgba(5,6,15,0.65); border: 1px solid var(--line); border-radius: 14px;
  padding: 0.95rem 1.2rem; color: var(--ink); font-family: var(--font-body); font-size: 0.95rem;
  outline: none; resize: vertical; transition: border-color 0.25s, box-shadow 0.25s; width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,211,238,0.12); }
.contact-form .btn { justify-content: center; }
.cf-status { font-family: var(--font-mono); font-size: 0.78rem; min-height: 1.2em; text-align: center; }
.cf-status.ok { color: #34d399; } .cf-status.err { color: #fb7185; }
.contact-alt { margin-top: 1.8rem; display: flex; align-items: center; justify-content: center; gap: 0.8rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); }
.chat-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
  padding: 0.6rem 1.3rem; border-radius: 999px; border: 1px solid var(--line);
  transition: all 0.25s;
}
.chat-chip--wa { border-color: rgba(37,211,102,0.5); color: #4ade80; background: rgba(37,211,102,0.08); }
.chat-chip--wa:hover { background: rgba(37,211,102,0.2); box-shadow: 0 0 20px rgba(37,211,102,0.3); transform: translateY(-2px); }
.chat-chip--tg { border-color: rgba(56,169,240,0.5); color: #5ec2f7; background: rgba(56,169,240,0.08); }
.chat-chip--tg:hover { background: rgba(56,169,240,0.2); box-shadow: 0 0 20px rgba(56,169,240,0.3); transform: translateY(-2px); }

/* ══════════ LIVE CHAT WIDGET ══════════ */
.chat-fab {
  position: fixed; bottom: 1.6rem; right: 1.6rem; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%; border: 0; font-size: 1.5rem;
  background: var(--grad); color: #fff; cursor: pointer;
  box-shadow: 0 12px 34px rgba(61,71,255,0.5);
  transition: transform 0.25s var(--ease-spring);
}
.chat-fab:hover { transform: scale(1.1); }
.chat-fab-dot {
  position: absolute; top: 4px; right: 4px; width: 13px; height: 13px; border-radius: 50%;
  background: #34d399; border: 2px solid var(--bg); animation: pulse-dot 1.8s infinite;
}
.chat-panel {
  position: fixed; bottom: 6.4rem; right: 1.6rem; z-index: 200;
  width: min(370px, calc(100vw - 2rem));
  background: linear-gradient(170deg, #10142b, #0a0d1f);
  border: 1px solid rgba(90,105,255,0.35); border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  display: flex; flex-direction: column;
  animation: chat-pop 0.35s var(--ease-spring);
}
@keyframes chat-pop { from { opacity: 0; transform: translateY(20px) scale(0.95); } }
.chat-head { display: flex; align-items: center; gap: 0.7rem; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--line); background: rgba(5,6,15,0.5); }
.chat-head-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--grad); display: grid; place-items: center; overflow: hidden; }
.chat-head-mark img { width: 80%; height: 80%; object-fit: contain; }
.chat-head-txt b { font-family: var(--font-display); font-size: 0.95rem; display: block; }
.chat-head-txt small { font-size: 0.7rem; color: var(--muted); display: flex; align-items: center; gap: 0.35rem; }
.chat-online { width: 8px; height: 8px; border-radius: 50%; background: #34d399; display: inline-block; animation: pulse-dot 1.8s infinite; }
.chat-close { margin-left: auto; background: none; border: 0; color: var(--muted); font-size: 1rem; cursor: pointer; }
.chat-close:hover { color: var(--ink); }
.chat-body { height: 300px; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.chat-msg { max-width: 85%; padding: 0.65rem 0.95rem; border-radius: 14px; font-size: 0.86rem; line-height: 1.5; animation: est-in 0.3s var(--ease-out); }
.chat-msg--bot { background: rgba(61,71,255,0.14); border: 1px solid rgba(90,105,255,0.25); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-msg--bot a { color: var(--cyan); text-decoration: underline; }
.chat-msg--user { background: var(--grad); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-typing { display: flex; gap: 4px; padding: 0.8rem 1rem; }
.chat-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: chat-tp 1s infinite; }
.chat-typing i:nth-child(2) { animation-delay: 0.15s; } .chat-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-tp { 0%,100% { opacity: 0.3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.chat-quick { display: flex; flex-wrap: wrap; gap: 0.45rem; padding: 0 1rem 0.6rem; }
.chat-quick button {
  font-family: var(--font-body); font-size: 0.74rem; color: var(--cyan);
  background: rgba(34,211,238,0.07); border: 1px solid rgba(34,211,238,0.35);
  border-radius: 999px; padding: 0.4rem 0.85rem; cursor: pointer; transition: all 0.2s;
}
.chat-quick button:hover { background: rgba(34,211,238,0.18); }
.chat-inputbar { display: flex; gap: 0.5rem; padding: 0.8rem; border-top: 1px solid var(--line); background: rgba(5,6,15,0.5); }
.chat-inputbar input {
  flex: 1; background: rgba(16,20,43,0.8); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.65rem 1.1rem; color: var(--ink); font-size: 0.86rem; outline: none;
}
.chat-inputbar input:focus { border-color: var(--cyan); }
.chat-inputbar button {
  width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--grad);
  color: #fff; font-size: 0.95rem; cursor: pointer; transition: transform 0.2s;
}
.chat-inputbar button:hover { transform: scale(1.08); }
@media (max-width: 640px) { .chat-panel { bottom: 5.8rem; right: 1rem; } .chat-fab { bottom: 1.2rem; right: 1.2rem; } }

.chat-panel[hidden] { display: none !important; }

/* ══════════ WANT-THIS BAR ══════════ */
.want-bar { display: flex; align-items: center; gap: 0.55rem; margin-top: 0.9rem; padding-top: 0.85rem; border-top: 1px dashed var(--line); flex-wrap: wrap; }
.want-bar span { font-size: 0.76rem; color: var(--muted); font-style: italic; }
.want-wa {
  font-family: var(--font-display); font-weight: 600; font-size: 0.74rem;
  color: #4ade80; border: 1px solid rgba(37, 211, 102, 0.45); border-radius: 999px;
  padding: 0.38rem 0.9rem; background: rgba(37, 211, 102, 0.08); transition: all 0.25s;
}
.want-wa:hover { background: rgba(37, 211, 102, 0.22); box-shadow: 0 0 16px rgba(37, 211, 102, 0.35); transform: translateY(-2px); }
.want-tg {
  width: 30px; height: 30px; display: grid; place-items: center; font-size: 0.8rem;
  border: 1px solid rgba(56, 169, 240, 0.45); border-radius: 50%; background: rgba(56, 169, 240, 0.08); transition: all 0.25s;
}
.want-tg:hover { background: rgba(56, 169, 240, 0.22); transform: translateY(-2px); }
