/* ================= THEME TOKENS ================= */
:root, :root[data-theme="dark"] {
  --bg: #07031a;
  --bg-2: #0e0830;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.11);
  --text: #f4f2ff;
  --muted: #a9a3cf;
  --blue: #12a8ff;
  --violet: #8b5cf6;
  --yellow: #ffd60a;
  --pink: #ff3d9a;
  --grad: linear-gradient(100deg, #12a8ff 0%, #8b5cf6 45%, #ff3d9a 70%, #ffd60a 100%);
  --grad-soft: linear-gradient(135deg, rgba(18,168,255,.18), rgba(139,92,246,.18) 50%, rgba(255,214,10,.12));
  --shadow: 0 30px 80px -30px rgba(18, 168, 255, .45);
  --on-grad: #07031a;
  --grid-line: rgba(255,255,255,.05);
  --logo-tile: #ffffff;
  --nav-bg: rgba(7, 3, 26, .72);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f7f6ff;
  --bg-2: #ecebff;
  --surface: rgba(255, 255, 255, 0.75);
  --surface-2: #ffffff;
  --border: rgba(30, 20, 90, 0.1);
  --text: #120a3a;
  --muted: #565084;
  --blue: #0284e8;
  --violet: #7c3aed;
  --yellow: #e0a800;
  --pink: #e11d74;
  --grad: linear-gradient(100deg, #0284e8 0%, #7c3aed 45%, #e11d74 72%, #f5b400 100%);
  --grad-soft: linear-gradient(135deg, rgba(2,132,232,.12), rgba(124,58,237,.12) 50%, rgba(245,180,0,.12));
  --shadow: 0 30px 70px -30px rgba(76, 29, 149, .35);
  --on-grad: #ffffff;
  --grid-line: rgba(30,20,90,.06);
  --logo-tile: #ffffff;
  --nav-bg: rgba(247, 246, 255, .78);
  color-scheme: light;
}
:root { --radius: 24px; --ease: cubic-bezier(.16, 1, .3, 1); }

/* ================= BASE ================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Manrope", system-ui, sans-serif; background: var(--bg); color: var(--text);
  line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased;
  transition: background .5s, color .5s;
}
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: "Unbounded", sans-serif; line-height: 1.12; letter-spacing: -0.02em; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
::selection { background: var(--yellow); color: #111; }
.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.gradient-text {
  background: var(--grad); background-size: 220% auto; -webkit-background-clip: text; background-clip: text;
  color: transparent; animation: shine 7s linear infinite;
}
@keyframes shine { to { background-position: 220% center; } }
.noise { position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
:root[data-theme="light"] .noise { opacity: .02; }

/* ================= LOADER ================= */
.loader { position: fixed; inset: 0; z-index: 1000; background: var(--bg); display: grid; place-content: center; justify-items: center; gap: 18px;
  transition: clip-path 1s var(--ease), visibility 1s; clip-path: circle(150% at 50% 50%); }
.loader.hide { clip-path: circle(0% at 50% 50%); visibility: hidden; }
.loader-core { position: relative; width: 130px; height: 130px; display: grid; place-items: center; }
.loader-core img { width: 84px; border-radius: 24px; animation: pulseLogo 1.4s ease-in-out infinite; }
.loader-core svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.loader-core circle { fill: none; stroke: url(#g); stroke: var(--blue); stroke-width: 3; stroke-dasharray: 340; stroke-dashoffset: 340; animation: ring 1.6s var(--ease) forwards; stroke-linecap: round; }
@keyframes ring { to { stroke-dashoffset: 0; } }
@keyframes pulseLogo { 50% { transform: scale(1.06); filter: drop-shadow(0 0 24px rgba(18,168,255,.7)); } }
.loader-pct { font-size: 2.2rem; font-weight: 600; }
.loader-text { color: var(--muted); font-size: .85rem; letter-spacing: .08em; }

/* ================= CURSOR ================= */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 999; border-radius: 50%; transform: translate(-100px, -100px); }
.cursor { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid var(--blue); transition: width .25s, height .25s, margin .25s, background .25s, border-color .25s; mix-blend-mode: difference; }
.cursor.hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(255,214,10,.15); border-color: var(--yellow); }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--yellow); }
@media (pointer: coarse) { .cursor, .cursor-dot { display: none; } }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad); z-index: 300; }

/* ================= NAV ================= */
.nav { position: fixed; inset: 0 0 auto; z-index: 200; transition: background .35s, border-color .35s, transform .4s var(--ease); border-bottom: 1px solid transparent; }
.nav.scrolled { background: var(--nav-bg); backdrop-filter: blur(18px) saturate(1.4); border-color: var(--border); }
.nav.hidden { transform: translateY(-100%); }
.nav-inner { display: flex; align-items: center; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: "Unbounded"; font-weight: 800; font-size: .92rem; line-height: 1.05; flex-shrink: 0; }
.brand img { width: 42px; height: 42px; border-radius: 12px; }
.brand span { display: flex; flex-direction: column; }
.brand b { font-size: .68rem; letter-spacing: .32em; color: var(--yellow); font-weight: 600; }
.menu { display: flex; gap: 24px; margin-left: auto; }
.menu a { font-weight: 600; font-size: .92rem; color: var(--muted); position: relative; transition: color .2s; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.menu a:hover, .menu a.active { color: var(--text); }
.menu a:hover::after, .menu a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; display: flex; padding: 3px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.lang button { position: relative; z-index: 1; padding: 5px 11px; font-size: .78rem; font-weight: 800; color: var(--muted); transition: color .3s; }
.lang button.on { color: var(--on-grad); }
.lang-pill { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--grad); transition: transform .4s var(--ease); }
html[lang="en"] .lang-pill { transform: translateX(100%); }
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); overflow: hidden; position: relative; }
.theme-toggle svg { width: 19px; height: 19px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; position: absolute; transition: transform .5s var(--ease), opacity .3s; }
.theme-toggle .moon { fill: var(--text); stroke: none; }
:root[data-theme="dark"] .theme-toggle .sun { transform: translateY(30px) rotate(90deg); opacity: 0; }
:root[data-theme="light"] .theme-toggle .moon { transform: translateY(-30px) rotate(-90deg); opacity: 0; }
.burger { display: none; width: 42px; height: 42px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 20px; } .burger span:nth-child(3) { top: 26px; }
.burger.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ================= BUTTONS ================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 800; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s, background .3s; }
.btn-sm { padding: 10px 18px; font-size: .86rem; }
.btn-lg { padding: 18px 32px; font-size: 1.02rem; }
.btn-primary { background: var(--grad); background-size: 200% auto; color: var(--on-grad); box-shadow: 0 12px 34px -12px rgba(139,92,246,.8); }
.btn-primary:hover { background-position: right center; box-shadow: 0 18px 44px -12px rgba(255,61,154,.7); }
.btn-ghost { background: var(--surface); border: 1.5px solid var(--border); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--blue); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45), transparent 70%); transform: translateX(-130%); transition: transform .8s var(--ease); }
.btn:hover::after { transform: translateX(130%); }
.btn i { font-style: normal; transition: transform .3s var(--ease); }
.btn:hover i { transform: translateX(5px); }
.ico { width: 18px; height: 18px; fill: currentColor; }

/* ================= HERO ================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; }
#scene3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-grid-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 200px; background: linear-gradient(transparent, var(--bg)); z-index: 0; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr .9fr; gap: 40px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(10px); font-size: .84rem; font-weight: 700; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.7); } 70% { box-shadow: 0 0 0 12px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.hero-title { font-size: clamp(2.5rem, 7vw, 5.6rem); font-weight: 900; margin: 24px 0 22px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.hero-title.in .line > span { transform: none; }
.hero-title .line:nth-child(2) > span { transition-delay: .12s; }
.typed-line { font-size: .45em; font-weight: 600; color: var(--muted); margin-top: 8px; opacity: 0; transition: opacity 1s .4s; }
.hero-title.in .typed-line { opacity: 1; }
.typed { color: var(--text); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.caret { color: var(--yellow); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
/* glitch */
.glitch { position: relative; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; }
.glitch.go::before { animation: glitch1 .5s steps(2) both; opacity: .8; }
.glitch.go::after { animation: glitch2 .5s steps(2) both; opacity: .8; }
@keyframes glitch1 { 0% { clip-path: inset(10% 0 60% 0); transform: translate(-6px, -2px); } 50% { clip-path: inset(50% 0 20% 0); transform: translate(6px, 2px); } 100% { clip-path: inset(80% 0 0 0); transform: translate(-3px, 0); opacity: 0; } }
@keyframes glitch2 { 0% { clip-path: inset(70% 0 5% 0); transform: translate(6px, 2px); filter: hue-rotate(90deg); } 50% { clip-path: inset(20% 0 55% 0); transform: translate(-6px, -2px); } 100% { clip-path: inset(0 0 85% 0); transform: translate(3px, 0); opacity: 0; } }

.lead { font-size: 1.16rem; color: var(--muted); max-width: 590px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-mini { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.hero-mini div { display: flex; flex-direction: column; }
.hero-mini b { font-family: "Unbounded"; font-size: 1.7rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-mini span { font-size: .85rem; color: var(--muted); }

.hero-side { position: relative; }
.code-window { border-radius: 20px; background: rgba(10, 6, 34, .78); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(16px); box-shadow: var(--shadow); overflow: hidden; color: #e8e6ff; }
:root[data-theme="light"] .code-window { background: rgba(18, 10, 58, .92); }
.cw-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.cw-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .cw-bar i:nth-child(2) { background: #febc2e; } .cw-bar i:nth-child(3) { background: #28c840; }
.cw-bar span { margin-left: 10px; font-size: .78rem; color: #8f88c0; }
.code-window pre { padding: 20px; font-size: .86rem; line-height: 1.75; min-height: 300px; white-space: pre-wrap; }
.tok-k { color: #c792ea; } .tok-s { color: #ffd60a; } .tok-f { color: #12a8ff; } .tok-c { color: #6b6694; } .tok-n { color: #ff3d9a; }
.code-window pre::after { content: "▋"; color: #12a8ff; animation: blink 1s steps(1) infinite; }
.float-chip { position: absolute; padding: 10px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); backdrop-filter: blur(12px); font-weight: 800; font-size: .85rem; box-shadow: var(--shadow); animation: float 5s ease-in-out infinite; display: flex; gap: 8px; align-items: center; }
.c1 { top: -26px; right: -14px; } .c2 { bottom: 40px; left: -40px; animation-delay: -2s; } .c3 { bottom: -22px; right: 30px; animation-delay: -3.5s; }
@keyframes float { 50% { transform: translateY(-14px); } }
.scroll-down { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--border); border-radius: 20px; z-index: 2; }
.scroll-down span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--yellow); animation: wheel 1.6s infinite; }
@keyframes wheel { to { transform: translateY(14px); opacity: 0; } }

/* ================= MARQUEE ================= */
.marquee-wrap { position: relative; z-index: 3; padding: 30px 0; overflow: hidden; }
.marquee { overflow: hidden; padding: 16px 0; }
.m1 { background: var(--grad); transform: rotate(-2deg); margin: 0 -30px; }
.m2 { background: var(--text); transform: rotate(1.5deg); margin: -14px -30px 0; }
.marquee-track { display: flex; gap: 30px; width: max-content; animation: marquee 32s linear infinite; }
.m2 .marquee-track { animation-direction: reverse; animation-duration: 38s; }
.marquee span { font-family: "Unbounded"; font-weight: 900; font-size: clamp(1.1rem, 2.4vw, 1.7rem); text-transform: uppercase; color: var(--on-grad); }
.m1 span, .m1 i { color: #07031a; }
.m2 span, .m2 i { color: var(--bg); }
.marquee i { font-style: normal; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ================= SECTIONS ================= */
.section { padding: 130px 0; position: relative; }
.section-alt { background: var(--bg-2); }
.eyebrow { font-family: "JetBrains Mono", monospace; color: var(--blue); font-weight: 600; margin-bottom: 16px; font-size: .92rem; }
.section h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); margin-bottom: 26px; max-width: 900px; }
.section-lead { color: var(--muted); max-width: 700px; margin-bottom: 56px; font-size: 1.08rem; }
.section p { color: var(--muted); }
.section p b { color: var(--text); }
.section p + p { margin-top: 14px; }
.reveal { opacity: 0; transform: translateY(46px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.tilt { transform-style: preserve-3d; will-change: transform; }

/* ================= ABOUT ================= */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; align-items: center; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 34px; }
.value { padding: 18px 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
.value span { font-size: 1.5rem; }
.value b { font-size: .95rem; }
.value small { color: var(--muted); font-size: .78rem; line-height: 1.35; }
.cube-stage { perspective: 1100px; height: 420px; display: grid; place-items: center; position: relative; }
.cube { --s: 220px; width: var(--s); height: var(--s); position: relative; transform-style: preserve-3d; animation: cubeSpin 18s linear infinite; }
.face { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; font-family: "Unbounded"; font-weight: 800; font-size: 1.1rem; color: #fff;
  border-radius: 26px; border: 1.5px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); box-shadow: inset 0 0 40px rgba(255,255,255,.15); }
.face span { font-size: 3rem; }
.face img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.f1 { background: linear-gradient(135deg, rgba(59,130,246,.85), rgba(18,168,255,.6)); transform: translateZ(calc(var(--s) / 2)); }
.f2 { background: linear-gradient(135deg, rgba(239,68,68,.85), rgba(255,61,154,.6)); transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.f3 { background: linear-gradient(135deg, rgba(34,197,94,.85), rgba(20,184,166,.6)); transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.f4 { background: linear-gradient(135deg, rgba(234,179,8,.9), rgba(249,115,22,.6)); transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.f5 { background: linear-gradient(135deg, rgba(168,85,247,.85), rgba(139,92,246,.6)); transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.f6 { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); padding: 0; }
@keyframes cubeSpin { from { transform: rotateX(-22deg) rotateY(0); } to { transform: rotateX(-22deg) rotateY(360deg); } }
.cube-shadow { position: absolute; bottom: 30px; width: 240px; height: 40px; border-radius: 50%; background: radial-gradient(rgba(139,92,246,.55), transparent 70%); filter: blur(10px); animation: shadowPulse 4s ease-in-out infinite; }
@keyframes shadowPulse { 50% { transform: scale(.8); opacity: .6; } }

/* ================= SERVICES GRID ================= */
.srv-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.srv-card { position: relative; padding: 28px 22px; border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; gap: 10px; min-height: 250px; isolation: isolate; overflow: hidden; transition: transform .5s var(--ease); }
.srv-card::before { content: ""; position: absolute; inset: -60%; z-index: -2; background: conic-gradient(from 0deg, transparent 0 65%, var(--c) 80%, transparent 95%); animation: spin 5s linear infinite; opacity: .0; transition: opacity .4s; }
.srv-card::after { content: ""; position: absolute; inset: 1.5px; z-index: -1; border-radius: calc(var(--radius) - 1.5px); background: var(--bg-2); }
.srv-card { border: 1px solid var(--border); }
.srv-card:hover { transform: translateY(-10px); }
.srv-card:hover::before { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.srv-ico { width: 60px; height: 60px; display: grid; place-items: center; font-size: 1.9rem; border-radius: 18px; background: color-mix(in srgb, var(--c) 22%, transparent); transition: transform .5s var(--ease); }
.srv-card:hover .srv-ico { transform: rotate(-10deg) scale(1.1); }
.srv-card h3 { font-size: 1.02rem; margin-top: 8px; }
.srv-card p { font-size: .88rem; color: var(--muted); flex: 1; }
.srv-price { font-weight: 800; color: var(--c); }

/* ================= SERVICES DETAIL ================= */
.services-detail { padding-top: 60px; }
.srv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 70px 0; border-bottom: 1px dashed var(--border); }
.srv-row:last-of-type { border-bottom: 0; }
.srv-row.reverse .srv-visual { order: 2; }
.srv-num { color: var(--c); font-weight: 600; font-size: .85rem; letter-spacing: .12em; }
.srv-content h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 12px 0 18px; }
.srv-content h3 small { display: block; font-family: "Manrope"; font-size: 1rem; font-weight: 700; color: var(--c); margin-top: 8px; letter-spacing: 0; }
.checks { list-style: none; display: grid; gap: 10px; margin: 24px 0; }
.checks li { position: relative; padding-left: 34px; font-weight: 600; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: .75rem; font-weight: 900; color: #fff; background: var(--c); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 700; background: var(--surface); border: 1px solid var(--border); transition: all .25s; }
.chips li:hover { border-color: var(--c); color: var(--c); }
.srv-foot { display: flex; align-items: center; gap: 18px; margin-top: 30px; flex-wrap: wrap; }
.srv-price-big { font-family: "Unbounded"; font-weight: 800; font-size: 1.5rem; color: var(--c); margin-right: 8px; }
.note { font-size: .88rem; margin-top: 30px; text-align: center; }

.srv-visual { position: relative; height: 440px; display: grid; place-items: center; border-radius: 32px;
  background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--c) 35%, transparent), transparent 60%), var(--surface); border: 1px solid var(--border); overflow: hidden; }
.srv-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 32px 32px; }

/* phone mockup */
.phone { position: relative; z-index: 2; width: 200px; height: 400px; border-radius: 36px; background: #0b0820; padding: 10px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.6), 0 0 0 2px rgba(255,255,255,.12); animation: float 6s ease-in-out infinite; transform: rotate(-6deg); }
.phone-back { position: absolute; z-index: 1; transform: rotate(10deg) translate(90px, 20px) scale(.88); opacity: .7; animation-delay: -3s; }
.phone-notch { position: absolute; top: 14px; left: 50%; width: 70px; height: 18px; margin-left: -35px; border-radius: 12px; background: #000; z-index: 3; }
.phone-screen { height: 100%; border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, #1d1450, #0f0a2c); padding: 36px 14px 14px; display: flex; flex-direction: column; gap: 12px; color: #fff; }
.phone-screen.alt { background: linear-gradient(160deg, #12a8ff, #8b5cf6); }
.app-head { display: flex; justify-content: space-between; font-size: .65rem; opacity: .7; }
.app-hero { padding: 14px; border-radius: 18px; background: linear-gradient(135deg, #3b82f6, #8b5cf6); position: relative; }
.app-hero b { font-size: .85rem; display: block; } .app-hero small { font-size: .65rem; opacity: .8; }
.app-ring { position: absolute; right: 10px; top: 10px; width: 46px; height: 46px; display: grid; place-items: center; font-size: .62rem; font-weight: 800; }
.app-ring svg, .lh-score svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.app-ring circle, .lh-score circle { fill: none; stroke: rgba(255,255,255,.25); stroke-width: 3.5; }
.app-ring circle.v { stroke: #ffd60a; stroke-dasharray: 100; stroke-dashoffset: 22; stroke-linecap: round; }
.app-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: 1; }
.app-cards i { border-radius: 14px; background: rgba(255,255,255,.08); animation: shimmer 2.4s ease-in-out infinite; }
.app-cards i:nth-child(2) { animation-delay: .3s; } .app-cards i:nth-child(3) { animation-delay: .6s; } .app-cards i:nth-child(4) { animation-delay: .9s; }
@keyframes shimmer { 50% { background: rgba(255,255,255,.18); } }
.app-tab { display: flex; justify-content: space-around; padding: 10px; border-radius: 16px; background: rgba(255,255,255,.08); }
.app-tab i { width: 16px; height: 16px; border-radius: 5px; background: rgba(255,255,255,.3); } .app-tab i.on { background: #ffd60a; }

/* browser mockup */
.browser { position: relative; z-index: 2; width: 86%; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -20px rgba(0,0,0,.5); animation: float 7s ease-in-out infinite; }
.br-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #ecebf5; }
.br-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; } .br-bar i:nth-child(2) { background: #febc2e; } .br-bar i:nth-child(3) { background: #28c840; }
.br-bar span { margin-left: 10px; font-size: .7rem; color: #555; background: #fff; padding: 3px 12px; border-radius: 8px; flex: 1; }
.br-body { padding: 16px; display: grid; gap: 14px; background: linear-gradient(180deg, #fff, #f3f1ff); }
.br-nav { display: flex; align-items: center; gap: 10px; } .br-nav b { width: 50px; height: 10px; border-radius: 5px; background: #ef4444; margin-right: auto; } .br-nav i { width: 30px; height: 6px; border-radius: 3px; background: #d4d1e8; }
.br-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: center; }
.br-hero b { display: block; height: 14px; border-radius: 7px; background: #1e1450; margin-bottom: 8px; width: 90%; } .br-hero b.s { width: 60%; background: #c9c5e0; }
.br-btn { display: block; width: 70px; height: 20px; border-radius: 10px; background: linear-gradient(90deg, #ef4444, #ff3d9a); margin-top: 12px; }
.br-img { height: 90px; border-radius: 12px; background: linear-gradient(135deg, #ef4444, #8b5cf6, #12a8ff); background-size: 200% 200%; animation: gradMove 4s ease infinite; }
@keyframes gradMove { 50% { background-position: 100% 100%; } }
.br-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; } .br-cols i { height: 50px; border-radius: 10px; background: #ebe8fa; }
.lh-score { position: absolute; z-index: 3; right: 24px; bottom: 24px; width: 96px; height: 96px; border-radius: 50%; background: var(--surface-2); display: grid; place-content: center; text-align: center; box-shadow: var(--shadow); }
.lh-score circle { stroke: rgba(34,197,94,.2); } .lh-score circle.v { stroke: #22c55e; stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; transition: stroke-dashoffset 2s var(--ease); }
.srv-visual.in .lh-score circle.v { stroke-dashoffset: 2; }
.lh-score b { font-family: "Unbounded"; color: #22c55e; font-size: 1.4rem; line-height: 1; } .lh-score small { font-size: .55rem; color: var(--muted); }

/* design canvas */
.canvas-ui { position: relative; z-index: 2; width: 88%; height: 330px; border-radius: 16px; background: #1e1e2a; display: grid; grid-template-columns: 50px 1fr; box-shadow: 0 40px 80px -20px rgba(0,0,0,.5); overflow: hidden; }
.cu-side { background: #2a2a38; display: flex; flex-direction: column; gap: 12px; padding: 14px 12px; } .cu-side i { width: 26px; height: 26px; border-radius: 8px; background: #3a3a4c; } .cu-side i:first-child { background: #22c55e; }
.cu-board { position: relative; background-image: radial-gradient(#3a3a4c 1px, transparent 1px); background-size: 16px 16px; }
.cu-frame { position: absolute; border-radius: 12px; border: 2px solid #22c55e; }
.cu-frame.a { left: 8%; top: 12%; width: 34%; height: 70%; background: linear-gradient(180deg, #12a8ff, #8b5cf6); animation: frameA 6s var(--ease) infinite; }
.cu-frame.b { left: 48%; top: 12%; width: 40%; height: 32%; background: #ffd60a; border-color: transparent; animation: frameB 6s var(--ease) infinite; }
.cu-frame.c { left: 48%; top: 52%; width: 40%; height: 30%; background: #ff3d9a; border-color: transparent; }
@keyframes frameA { 50% { width: 38%; } } @keyframes frameB { 50% { height: 26%; background: #22c55e; } }
.cu-cursor { position: absolute; left: 30%; top: 40%; display: flex; align-items: flex-start; animation: cursorMove 6s var(--ease) infinite; }
.cu-cursor svg { width: 22px; fill: #22c55e; } .cu-cursor span { background: #22c55e; color: #000; font-size: .65rem; font-weight: 800; padding: 2px 8px; border-radius: 6px; margin-top: 16px; }
@keyframes cursorMove { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(140px, -60px); } 66% { transform: translate(120px, 80px); } }
.cu-palette { position: absolute; bottom: 14px; right: 14px; display: flex; gap: 6px; padding: 8px; border-radius: 12px; background: #2a2a38; } .cu-palette i { width: 20px; height: 20px; border-radius: 50%; }

/* dashboard */
.dash { position: relative; z-index: 2; width: 72%; padding: 22px; border-radius: 20px; background: var(--surface-2); border: 1px solid var(--border); box-shadow: var(--shadow); transform: rotate(-3deg); }
.dash-head { display: flex; justify-content: space-between; margin-bottom: 18px; } .dash-head .up { color: #22c55e; font-weight: 800; font-size: .85rem; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 150px; }
.bars i { flex: 1; height: 0; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #c084fc, #12a8ff); transition: height 1.4s var(--ease); }
.srv-visual.in .bars i { height: var(--h); }
.bars i:nth-child(2) { transition-delay: .08s; } .bars i:nth-child(3) { transition-delay: .16s; } .bars i:nth-child(4) { transition-delay: .24s; } .bars i:nth-child(5) { transition-delay: .32s; } .bars i:nth-child(6) { transition-delay: .4s; } .bars i:nth-child(7) { transition-delay: .48s; } .bars i:nth-child(8) { transition-delay: .56s; }
.dash-line { position: absolute; left: 22px; right: 22px; bottom: 22px; height: 150px; width: calc(100% - 44px); overflow: visible; }
.dash-line path { fill: none; stroke: #ffd60a; stroke-width: 2.5; stroke-dasharray: 300; stroke-dashoffset: 300; transition: stroke-dashoffset 2s .6s var(--ease); vector-effect: non-scaling-stroke; }
.srv-visual.in .dash-line path { stroke-dashoffset: 0; }
.post-card { position: absolute; z-index: 3; right: 8%; bottom: 8%; width: 130px; padding: 8px; border-radius: 16px; background: var(--surface-2); box-shadow: var(--shadow); transform: rotate(6deg); animation: float 5s ease-in-out infinite; }
.pc-img { height: 110px; border-radius: 10px; background: linear-gradient(135deg, #ff3d9a, #c084fc, #ffd60a); }
.pc-row { display: flex; gap: 10px; padding: 6px 4px 0; font-size: .9rem; }

/* game scene */
.game-scene { position: relative; z-index: 2; width: 88%; height: 330px; border-radius: 18px; overflow: hidden; perspective: 600px; background: linear-gradient(180deg, #4f46e5 0%, #a855f7 55%, #f59e0b 100%); box-shadow: 0 40px 80px -20px rgba(0,0,0,.5); }
.gs-floor { position: absolute; left: -50%; right: -50%; bottom: -40%; height: 100%; transform: rotateX(70deg);
  background-image: linear-gradient(rgba(255,255,255,.5) 2px, transparent 2px), linear-gradient(90deg, rgba(255,255,255,.5) 2px, transparent 2px); background-size: 50px 50px; animation: floorMove 1.2s linear infinite; }
@keyframes floorMove { to { background-position: 0 50px; } }
.gs-cube { position: absolute; width: 40px; height: 40px; border-radius: 8px; background: #ffd60a; box-shadow: inset -6px -6px 0 rgba(0,0,0,.2); animation: bob 2s ease-in-out infinite; }
.q1 { left: 18%; top: 38%; } .q2 { left: 70%; top: 30%; background: #12a8ff; animation-delay: -.7s; } .q3 { left: 44%; top: 22%; background: #ff3d9a; animation-delay: -1.3s; }
@keyframes bob { 50% { transform: translateY(-16px) rotate(20deg); } }
.gs-player { position: absolute; left: 50%; bottom: 18%; width: 46px; height: 70px; margin-left: -23px; border-radius: 23px; background: linear-gradient(180deg, #fff, #c7d2fe); box-shadow: 0 16px 20px -8px rgba(0,0,0,.4); animation: jump 1.6s var(--ease) infinite; }
@keyframes jump { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-60px) scaleY(1.05); } 80% { transform: translateY(0) scaleY(.92); } }
.gs-hud { position: absolute; top: 12px; left: 14px; right: 14px; display: flex; justify-content: space-between; font-size: .72rem; font-weight: 600; color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.3); }

/* ================= TIMELINE ================= */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 60px; }
.tl-line { position: absolute; top: 28px; left: 28px; right: 28px; height: 3px; border-radius: 3px; background: var(--border); }
.tl-line span { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--grad); transition: width .2s linear; }
.tl-step { position: relative; display: flex; flex-direction: column; gap: 18px; }
.tl-dot { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-family: "Unbounded"; font-weight: 800; background: var(--bg-2); border: 2px solid var(--border); position: relative; z-index: 1; transition: all .5s var(--ease); }
.tl-step.lit .tl-dot { background: var(--grad); color: var(--on-grad); border-color: transparent; box-shadow: 0 0 30px rgba(139,92,246,.6); }
.tl-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.tl-step p { font-size: .9rem; }

/* ================= CASES ================= */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filters button { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--border); font-weight: 700; color: var(--muted); background: var(--surface); transition: all .3s var(--ease); }
.filters button:hover { color: var(--text); border-color: var(--blue); }
.filters button.active { background: var(--grad); color: var(--on-grad); border-color: transparent; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s; }
.case:hover { border-color: color-mix(in srgb, var(--blue) 60%, transparent); }
.case.hidden { display: none; }
.case-cover { height: 210px; position: relative; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--g1, #12a8ff), var(--g2, #8b5cf6)); }
.case-cover.white { background: #fff; }
.case-cover img { max-height: 80%; max-width: 70%; object-fit: contain; transition: transform .8s var(--ease); }
.case-cover img.cover { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.case:hover .case-cover img { transform: scale(1.08); }
.case-emoji { font-size: 5rem; transition: transform .8s var(--ease); }
.case:hover .case-emoji { transform: scale(1.15) rotate(-8deg); }
.case-emoji.small { font-size: 2.6rem; }
.case-body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-tag { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.case h3 { font-size: 1.3rem; }
.case p { font-size: .94rem; flex: 1; }
.case-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.case-links a { font-weight: 800; font-size: .88rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case-links a:hover { filter: brightness(1.3); }
.case-cta { background: var(--grad-soft); border-style: dashed; justify-content: center; }
.case-cta .btn { align-self: flex-start; margin-top: 10px; }

/* ================= REVIEWS ================= */
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.review { padding: 38px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; }
.review::before { content: "“"; position: absolute; top: -20px; right: 24px; font-family: "Unbounded"; font-size: 9rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .35; }
.stars { color: var(--yellow); letter-spacing: 3px; margin-bottom: 12px; }
.review p { font-size: 1.15rem; color: var(--text) !important; font-weight: 600; }
.review footer { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--on-grad); font-weight: 900; }
.review small { display: block; color: var(--muted); }

/* ================= CEO / TEAM ================= */
.ceo { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: center; padding: 50px; border-radius: 36px; margin: 50px 0 30px;
  background: var(--grad-soft); border: 1px solid var(--border); position: relative; overflow: hidden; }
.ceo::before { content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(rgba(255,214,10,.25), transparent 65%); right: -120px; top: -120px; }
.ceo-photo { position: relative; aspect-ratio: 4 / 5; }
.ceo-frame { position: absolute; inset: -10px; border-radius: 34px; background: conic-gradient(from var(--a, 0deg), #12a8ff, #8b5cf6, #ff3d9a, #ffd60a, #12a8ff); animation: frameSpin 6s linear infinite; filter: blur(.5px); }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes frameSpin { to { --a: 360deg; } }
.ceo-photo img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; border-radius: 28px; border: 4px solid var(--bg); }
.ceo-badge { position: absolute; bottom: 18px; left: 18px; padding: 8px 14px; border-radius: 12px; background: rgba(7,3,26,.75); color: #fff; backdrop-filter: blur(8px); font-size: .75rem; font-weight: 600; letter-spacing: .12em; }
.ceo-info { position: relative; }
.ceo h3 { font-size: clamp(2rem, 4vw, 3rem); margin: 10px 0 8px; }
.ceo-sub { color: var(--blue) !important; font-weight: 700; margin-bottom: 18px; }
.mission { margin-top: 24px; padding: 22px 24px; border-radius: 20px; background: var(--surface); border-left: 4px solid var(--yellow); }
.mission .mono { color: var(--yellow); font-size: .85rem; font-weight: 600; }
.mission p { color: var(--text) !important; font-size: 1.1rem; font-weight: 700; margin-top: 6px !important; font-style: italic; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.socials a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-weight: 700; font-size: .86rem; transition: all .3s var(--ease); }
.socials a:hover { background: var(--text); color: var(--bg); transform: translateY(-3px); }
.socials a.hl { background: var(--grad); color: var(--on-grad); border-color: transparent; }
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.member { padding: 26px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .3s; }
.member:hover { border-color: var(--yellow); }
.m-icon { font-size: 2rem; display: block; margin-bottom: 14px; }
.member h4 { font-size: .98rem; margin-bottom: 8px; }
.member p { font-size: .86rem; }

/* ================= SCHOOL ================= */
.school { overflow: hidden; }
.school::before { content: ""; position: absolute; width: 700px; height: 700px; left: -250px; bottom: -350px; border-radius: 50%; background: radial-gradient(rgba(255,214,10,.22), rgba(18,168,255,.15) 40%, transparent 70%); }
.school-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; position: relative; }
.school-head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.school-head img { width: 72px; height: 72px; border-radius: 18px; }
.school-head h2 { margin: 0; }
.school-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.school-links a { padding: 9px 15px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); font-weight: 700; font-size: .86rem; transition: all .3s var(--ease); }
.school-links a:hover { border-color: var(--yellow); transform: translateY(-3px); }
.courses { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.course { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); transition: transform .4s var(--ease), border-color .3s; }
.course:hover { transform: translateX(8px); border-color: var(--blue); }
.course span { font-size: 1.6rem; }
.course b { font-size: .93rem; }
.course-link { background: var(--grad-soft); }

/* ================= PARTNERS ================= */
.partners { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.partner { aspect-ratio: 1.25; border-radius: 20px; background: var(--logo-tile); border: 1px solid var(--border); display: grid; place-items: center; padding: 16px; position: relative; overflow: hidden; transition: transform .5s var(--ease), box-shadow .4s; }
.partner.dark { background: #1b1240; }
.partner:hover { transform: translateY(-8px) scale(1.03); box-shadow: var(--shadow); }
.partner img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(.2); transition: filter .4s; }
.partner:hover img { filter: none; }
.partner .p-text { font-family: "Unbounded"; font-weight: 800; font-size: .78rem; text-align: center; line-height: 1.25; color: #1e1450; }
.partner .p-text small { display: block; margin-top: 6px; font-size: 1.4rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.partner .p-tip { position: absolute; inset: auto 0 0; padding: 6px 8px; font-size: .62rem; font-weight: 700; text-align: center; background: rgba(7,3,26,.85); color: #fff; transform: translateY(100%); transition: transform .35s var(--ease); }
.partner:hover .p-tip { transform: none; }

/* ================= FAQ ================= */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-grid .btn { margin-top: 24px; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 20px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; transition: border-color .3s; }
.faq details[open] { border-color: var(--violet); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; font-weight: 800; font-size: 1.04rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: 1.2rem; transition: transform .4s var(--ease), background .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--grad); color: var(--on-grad); }
.faq details p { padding: 0 24px 22px; }

/* ================= CONTACT / FORM ================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: start; }
.contact-cards { display: grid; gap: 12px; margin-top: 30px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); transition: all .4s var(--ease); }
.contact-card:hover { border-color: var(--blue); transform: translateX(8px); }
.contact-card > span { font-size: 1.4rem; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--surface-2); flex-shrink: 0; }
.contact-card div { flex: 1; min-width: 0; }
.contact-card small { display: block; color: var(--muted); font-size: .8rem; }
.contact-card b { word-break: break-word; }
.contact-card i { font-style: normal; opacity: 0; transform: translateX(-10px); transition: all .3s var(--ease); }
.contact-card:hover i { opacity: 1; transform: none; }

.lead-form { position: relative; padding: 38px; border-radius: 32px; background: var(--surface-2); border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; isolation: isolate; }
:root[data-theme="dark"] .lead-form { background: rgba(20, 12, 60, .75); backdrop-filter: blur(20px); }
.lf-glow { position: absolute; z-index: -1; width: 360px; height: 360px; border-radius: 50%; top: -180px; right: -140px; background: radial-gradient(rgba(139,92,246,.45), transparent 65%); }
.lf-head { display: flex; justify-content: space-between; align-items: center; }
.lf-head h3 { font-size: 1.45rem; }
.lf-step-label { color: var(--muted); font-weight: 600; }
.lf-progress { height: 6px; border-radius: 6px; background: var(--border); margin: 18px 0 28px; overflow: hidden; }
.lf-progress span { display: block; height: 100%; width: 33.3%; background: var(--grad); border-radius: 6px; transition: width .6s var(--ease); }
.lf-step { border: 0; display: none; animation: stepIn .6s var(--ease); }
.lf-step.active { display: grid; gap: 14px; }
@keyframes stepIn { from { opacity: 0; transform: translateX(30px); } }
.lf-step legend { font-family: "Unbounded"; font-weight: 600; font-size: 1.05rem; margin-bottom: 14px; }
.lf-sub { font-weight: 700; font-size: .9rem; color: var(--muted); margin-top: 4px; }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt input, .pill input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: flex; align-items: center; gap: 10px; padding: 16px; border-radius: 16px; border: 1.5px solid var(--border); background: var(--surface); cursor: pointer; font-size: 1.2rem; transition: all .3s var(--ease); height: 100%; }
.opt b { font-size: .88rem; }
.opt span:hover { border-color: var(--blue); }
.opt input:checked + span { border-color: transparent; background: var(--grad-soft); box-shadow: 0 0 0 2px var(--violet); transform: scale(1.02); }
.opt input:focus-visible + span, .pill input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface); font-weight: 700; font-size: .86rem; cursor: pointer; transition: all .25s; }
.pill span:hover { border-color: var(--blue); }
.pill input:checked + span { background: var(--grad); color: var(--on-grad); border-color: transparent; }
.field { position: relative; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--text); background: var(--surface); border: 1.5px solid var(--border); border-radius: 16px; padding: 24px 16px 10px; outline: none; transition: border-color .25s, box-shadow .25s; resize: vertical; }
.field label { position: absolute; left: 17px; top: 17px; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); }
.field input:focus, .field textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139,92,246,.18); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 7px; font-size: .72rem; color: var(--violet); font-weight: 700; }
.field.bad input { border-color: #ef4444; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--muted); cursor: pointer; margin-top: 4px; }
.consent input { margin-top: 3px; accent-color: var(--violet); width: 18px; height: 18px; flex-shrink: 0; }
.lf-error { display: none; color: #ef4444; font-weight: 700; font-size: .86rem; }
.lf-step.err .lf-error { display: block; animation: shake .4s; }
.hp { position: absolute; left: -9999px; }
.lf-nav { display: flex; gap: 12px; margin-top: 28px; }
.lf-nav .btn { flex: 1; }
#lfBack { flex: 0 0 auto; }
.lead-form[data-step="1"] #lfBack { display: none; }
.lead-form:not([data-step="3"]) #lfSubmit { display: none; }
.lead-form[data-step="3"] #lfNext { display: none; }
.lead-form.sent .lf-step, .lead-form.sent .lf-nav, .lead-form.sent .lf-progress, .lead-form.sent .lf-head { display: none; }
.lf-success { display: none; text-align: center; padding: 30px 10px; gap: 14px; justify-items: center; }
.lead-form.sent .lf-success { display: grid; animation: stepIn .6s var(--ease); }
.lf-success p { color: var(--muted); }
.ok-circle svg { width: 90px; height: 90px; }
.ok-circle circle { fill: none; stroke: #22c55e; stroke-width: 3; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .8s var(--ease) forwards; }
.ok-circle path { fill: none; stroke: #22c55e; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.btn.loading { pointer-events: none; opacity: .8; }

/* ================= FOOTER ================= */
.footer { padding: 80px 0 30px; border-top: 1px solid var(--border); overflow: hidden; }
.footer-big { font-family: "Unbounded"; font-weight: 900; font-size: clamp(2.4rem, 9vw, 8rem); line-height: 1; letter-spacing: -.04em; margin-bottom: 60px; white-space: nowrap; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid p { color: var(--muted); margin-top: 16px; max-width: 320px; }
.footer-grid h4 { font-size: .9rem; margin-bottom: 16px; }
.footer-grid div > a:not(.brand) { display: block; color: var(--muted); margin-bottom: 8px; font-weight: 600; transition: color .2s, transform .2s; }
.footer-grid div > a:not(.brand):hover { color: var(--text); transform: translateX(4px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; }
.to-top { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border); font-size: 1.2rem; transition: all .3s var(--ease); }
.to-top:hover { background: var(--grad); color: var(--on-grad); transform: translateY(-5px); }

/* ================= FLOATING / TOAST / CONFETTI ================= */
.float-tg { position: fixed; right: 20px; bottom: 20px; z-index: 150; display: flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px; border-radius: 999px; background: #229ED9; color: #fff; font-weight: 800; font-size: .9rem;
  box-shadow: 0 14px 34px -10px rgba(34,158,217,.9); animation: bounceIn 1s 3s both var(--ease); transition: transform .3s var(--ease); }
.float-tg svg { width: 24px; height: 24px; fill: #fff; }
.float-tg::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #229ED9; animation: ping 2s infinite; }
@keyframes ping { to { transform: scale(1.35); opacity: 0; } }
.float-tg:hover { transform: translateY(-4px) scale(1.04); }
@keyframes bounceIn { from { transform: translateY(120px); opacity: 0; } }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 120px); padding: 14px 24px; border-radius: 16px; background: var(--text); color: var(--bg); font-weight: 800; z-index: 600; opacity: 0; transition: all .45s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 700; width: 100%; height: 100%; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1180px) {
  .menu { gap: 16px; } .menu a { font-size: .85rem; }
  .srv-grid { grid-template-columns: repeat(3, 1fr); }
  .partners { grid-template-columns: repeat(5, 1fr); }
  .team { grid-template-columns: repeat(3, 1fr); }
  .cases { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .menu { position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; background: var(--nav-bg); backdrop-filter: blur(20px); padding: 10px 16px 24px; border-bottom: 1px solid var(--border);
    clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease); }
  .menu.open { clip-path: inset(0 0 0 0); }
  .menu a { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--border); }
  .burger { display: block; }
  .nav-cta { display: none; }
  .nav-tools { margin-left: auto; }
  .hero-inner, .about-grid, .school-grid, .contact-grid, .faq-grid, .srv-row { grid-template-columns: 1fr; }
  .srv-row { gap: 40px; } .srv-row.reverse .srv-visual { order: 0; }
  .hero-side { max-width: 520px; margin: 30px auto 0; width: 100%; }
  .c2 { left: -10px; }
  .timeline { grid-template-columns: 1fr; gap: 26px; }
  .tl-line { top: 0; bottom: 0; left: 28px; right: auto; width: 3px; height: auto; }
  .tl-line span { width: 100% !important; height: var(--fill, 0%); }
  .tl-step { flex-direction: row; }
  .ceo { grid-template-columns: 1fr; padding: 30px 22px; gap: 40px; }
  .ceo-photo { max-width: 340px; width: 100%; margin-inline: auto; }
  .values { grid-template-columns: 1fr 1fr; }
  .cube-stage { height: 340px; } .cube { --s: 180px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 96px 0; }
}
@media (max-width: 640px) {
  .brand > span { display: none; }
  .srv-grid, .cases, .reviews, .courses, .opt-grid { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .partners { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .partner { padding: 10px; border-radius: 14px; }
  .partner .p-text { font-size: .6rem; }
  .srv-visual { height: 360px; }
  .phone { width: 170px; height: 340px; }
  .lead-form { padding: 26px 18px; border-radius: 24px; }
  .float-tg span { display: none; }
  .float-tg { padding: 14px; }
  .btn-lg { width: 100%; }
  .hero-mini { gap: 22px; }
  .float-chip { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .lf-nav { flex-wrap: wrap; }
  .school-head img { width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .hero-title .line > span { opacity: 1; transform: none; }
}
