/* ==========================================================================
   OPS ERA — styles
   Deep navy + electric cyan, animated grid, photo tiles, subtle motion.
   ========================================================================== */

@font-face { font-family: "Space Grotesk"; src: url("space-grotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
	--ink: #050B1F;
	--navy: #071433;
	--navy-2: #0B1C45;
	--surface: #0E2153;
	--line: rgba(140, 180, 255, .16);
	--line-2: rgba(140, 180, 255, .3);
	--text: #E8EEFF;
	--muted: #A3B2D4;
	--cyan: #3EE6FF;
	--cyan-2: #00C2E8;
	--blue: #2F7BFF;
	--ph: #FFB547;
	--radius: 18px;
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(64px, 9vw, 112px);
	--head: "Space Grotesk", "Inter", system-ui, sans-serif;
	--body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
	/* theme tokens (dark = default) */
	--head-c: #fff;
	--text-2: rgba(232, 238, 255, .84);
	--topbar: rgba(5, 11, 31, .86);
	--menu: rgba(5, 11, 31, .97);
	--hover: rgba(255, 255, 255, .06);
	--glass: rgba(8, 24, 70, .55);
	--grid: rgba(120, 180, 255, .11);
	--floor-line: rgba(62, 230, 255, .35);
	--layer: rgba(10, 30, 80, .6);
	--layer-deep: rgba(6, 18, 52, .9);
	--btn-c: #050B1F;
	--btn-bg: linear-gradient(90deg, #3EE6FF, #6FB3FF);
	--tech-bg:
		radial-gradient(900px 480px at 88% -8%, rgba(47, 123, 255, .45), transparent 62%),
		radial-gradient(760px 420px at -6% 108%, rgba(0, 194, 232, .25), transparent 60%),
		linear-gradient(160deg, #050d2a 0%, #0a2264 55%, #061641 100%);
	--banner-ov: linear-gradient(100deg, rgba(5, 11, 31, .95) 15%, rgba(7, 20, 51, .7) 60%, rgba(7, 20, 51, .45));
	--shadow: rgba(0, 0, 0, .4);
	color-scheme: dark;
}

/* Light theme: white-ish, clear colours, same layout */
:root[data-theme="light"] {
	--ink: #F4F7FC;
	--navy: #FFFFFF;
	--navy-2: #E9F0FB;
	--surface: #DDE8F8;
	--line: rgba(20, 50, 120, .12);
	--line-2: rgba(20, 50, 120, .24);
	--text: #0D1A36;
	--muted: #4B5A7A;
	--cyan: #0A93B8;
	--blue: #2563EB;
	--ph: #B45309;
	--head-c: #071433;
	--text-2: #2C3A5A;
	--topbar: rgba(255, 255, 255, .88);
	--menu: rgba(255, 255, 255, .98);
	--hover: rgba(20, 60, 140, .06);
	--glass: rgba(255, 255, 255, .8);
	--grid: rgba(37, 99, 235, .1);
	--floor-line: rgba(37, 99, 235, .25);
	--layer: rgba(255, 255, 255, .78);
	--layer-deep: rgba(214, 228, 250, .95);
	--btn-c: #fff;
	--btn-bg: linear-gradient(90deg, #0891B2, #2563EB);
	--tech-bg:
		radial-gradient(900px 480px at 88% -8%, rgba(37, 99, 235, .16), transparent 62%),
		radial-gradient(760px 420px at -6% 108%, rgba(8, 145, 178, .14), transparent 60%),
		linear-gradient(160deg, #F7FAFF 0%, #EAF1FD 55%, #F2F7FF 100%);
	--banner-ov: linear-gradient(100deg, rgba(244, 247, 252, .97) 15%, rgba(244, 247, 252, .85) 60%, rgba(244, 247, 252, .55));
	--shadow: rgba(20, 40, 90, .14);
	color-scheme: light;
}
:root[data-theme="light"] .tech::after { background: radial-gradient(circle, rgba(8, 145, 178, .12), transparent 65%); }
:root[data-theme="light"] .btn:hover { box-shadow: 0 12px 32px rgba(37, 99, 235, .3); }
:root[data-theme="light"] .btn { box-shadow: 0 8px 22px rgba(37, 99, 235, .22); }
:root[data-theme="light"] .btn--ghost { box-shadow: inset 0 0 0 1.5px var(--line-2); }
:root[data-theme="light"] .tile, :root[data-theme="light"] .feature__img { box-shadow: 0 0 0 1px var(--line), 0 14px 34px var(--shadow); }
:root[data-theme="light"] .steps li, :root[data-theme="light"] .course, :root[data-theme="light"] .cinfo, :root[data-theme="light"] .form { box-shadow: inset 0 0 0 1px var(--line), 0 10px 30px var(--shadow); }
:root[data-theme="light"] .course { background: #fff; }
:root[data-theme="light"] .layer { box-shadow: inset 0 0 0 1.5px rgba(37, 99, 235, .4), 0 30px 50px var(--shadow); }
:root[data-theme="light"] .layer i { background: rgba(37, 99, 235, .22); }
:root[data-theme="light"] .layer.is-on { background: rgba(8, 145, 178, .18); }
:root[data-theme="light"] .tile__more li { color: #C9F6FF; }
:root[data-theme="light"] .map, :root[data-theme="light"] mark.ph { background: rgba(180, 83, 9, .08); }
:root[data-theme="light"] .cta__img { opacity: .12; }
:root[data-theme="light"] .steps__n { -webkit-text-stroke-color: rgba(10, 147, 184, .8); }
/* Always-dark surfaces keep white text in both themes */
.tile h3, .sdlg__title h2, .codewin, .chip { color: #fff; }
html { transition: background-color .3s; }
body, .topbar, .ticker, .why__item, .course, .cinfo, .form, .steps li { transition: background-color .35s, color .35s, box-shadow .35s; }

/* Theme toggle (moon / sun) */
.theme { position: relative; width: 44px; height: 44px; flex: none; border: 0; border-radius: 12px; cursor: pointer; color: var(--head-c); background: var(--hover); box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; transition: box-shadow .2s, background .2s; }
.theme:hover { box-shadow: inset 0 0 0 1px var(--cyan); }
.theme svg { position: absolute; left: 11px; top: 11px; width: 22px; height: 22px; transition: transform .5s var(--ease), opacity .3s; }
.theme__moon { color: #9FD8FF; }
.theme__sun { color: #F59E0B; opacity: 0; transform: rotate(-90deg) scale(.4); }
[data-theme="light"] .theme__moon { opacity: 0; transform: rotate(90deg) scale(.4); }
[data-theme="light"] .theme__sun { opacity: 1; transform: none; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--ink);
	color: var(--text);
	font: 400 clamp(16px, 1.05vw, 17px)/1.65 var(--body);
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--head-c); }
h1 { font-size: clamp(36px, 5.6vw, 68px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; }
h3 { font-size: clamp(19px, 1.6vw, 22px); font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--cyan), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cyan); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
mark.ph { background: rgba(255, 181, 71, .16); color: var(--ph); border: 1px dashed rgba(255, 181, 71, .6); border-radius: 6px; padding: 0 .35em; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding-top: 0; }
.eyebrow { font: 600 13px/1.4 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--cyan); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(62, 230, 255, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(62, 230, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 230, 255, 0); } }
.lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); max-width: 680px; }
.shead { margin-bottom: clamp(32px, 4vw, 56px); max-width: 760px; }
.hint { color: var(--muted); font-size: 14px; margin: -8px 0 18px; display: flex; align-items: center; gap: 8px; }
.hint::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); animation: pulse 2.4s infinite; }

/* ---------------------------------------------------------------- tech bg */
.tech {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--tech-bg);
}
.tech::before {
	content: "";
	position: absolute;
	inset: -60px;
	z-index: -1;
	background-image:
		linear-gradient(var(--grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--grid) 1px, transparent 1px);
	background-size: 48px 48px;
	-webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 30%, transparent 85%);
	mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 30%, transparent 85%);
	animation: grid 24s linear infinite;
	pointer-events: none;
}
.tech::after {
	content: "";
	position: absolute;
	z-index: -1;
	top: 10%;
	left: -20%;
	width: 520px;
	height: 520px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(62, 230, 255, .22), transparent 65%);
	filter: blur(10px);
	animation: orb 18s ease-in-out infinite alternate;
	pointer-events: none;
}
@keyframes grid { to { transform: translate3d(48px, 48px, 0); } }
@keyframes orb { to { transform: translate3d(120vw, 25%, 0); } }

/* ---------------------------------------------------------------- buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 0 24px; border-radius: 12px; border: 0;
	font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
	color: var(--btn-c); background: var(--btn-bg);
	box-shadow: 0 8px 24px rgba(62, 230, 255, .25);
	transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(62, 230, 255, .4); }
.btn--ghost { background: var(--hover); color: var(--head-c); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--cyan); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--wa { width: 100%; }
.btn .arr, .tlink .arr { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .arr, .tlink:hover .arr { transform: translateX(4px); }
.ico { width: 20px; height: 20px; flex: none; }
.tlink { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-weight: 600; text-decoration: none; }

/* ---------------------------------------------------------------- header */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.topbar.is-solid, .page-legal .topbar, .page-privacy .topbar { background: var(--topbar); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--head-c); }
.logo .mark { width: 36px; height: 36px; }
.logo__word { font: 700 21px/1 var(--head); letter-spacing: .04em; }
.logo__word b { color: var(--cyan); margin-left: .28em; font-weight: 700; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 500; color: var(--text-2); transition: color .2s, background .2s; }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--head-c); background: var(--hover); }
.nav ul a[aria-current] { box-shadow: inset 0 -2px 0 var(--cyan); }
.nav__extra { display: flex; align-items: center; gap: 12px; }
.lang { font: 600 13px/1 var(--body); letter-spacing: .08em; text-decoration: none; padding: 10px 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-2); }
.lang:hover { box-shadow: inset 0 0 0 1px var(--cyan); }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--hover); cursor: pointer; position: relative; }
.burger span:not(.sr) { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--head-c); border-radius: 2px; transition: transform .25s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 960px) {
	.burger { display: block; }
	.topbar__in { height: 64px; }
	.nav {
		position: fixed; inset: 64px 0 auto 0; z-index: 49;
		flex-direction: column; align-items: stretch; gap: 16px;
		padding: 16px var(--gutter) 24px;
		background: var(--menu); box-shadow: 0 1px 0 var(--line), 0 24px 48px rgba(0, 0, 0, .5);
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .25s, transform .25s var(--ease), visibility .25s;
	}
	.nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.nav ul { flex-direction: column; }
	.nav ul a { padding: 14px 12px; font-size: 18px; }
	.nav__extra { justify-content: space-between; }
	.nav__extra .btn { flex: 1; }
	.topbar:has(.nav.is-open) { background: var(--menu); }
}

/* ---------------------------------------------------------------- hero */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 90px; }
.hero.tech::before { z-index: -1; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { max-width: 760px; }
.hero h1 { font-size: clamp(36px, 4.4vw, 62px); }
.hero h1 em { white-space: nowrap; }
.hero .lead { color: var(--text-2); margin-bottom: 32px; }

/* 3D globe (canvas, drawn by main.js) */
.globe { position: absolute; z-index: -1; top: 50%; right: -8vw; width: min(64vw, 880px); height: min(64vw, 880px); transform: translateY(-50%); pointer-events: none; }

/* Moving perspective grid floor */
.floor { position: absolute; left: 0; right: 0; bottom: 0; height: 42%; z-index: -1; perspective: 380px; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(0deg, #000 10%, transparent 95%); mask-image: linear-gradient(0deg, #000 10%, transparent 95%); }
.floor div { position: absolute; left: -50%; right: -50%; top: 0; height: 200%; transform-origin: 50% 0; transform: rotateX(72deg); background-image: linear-gradient(var(--floor-line) 1px, transparent 1px), linear-gradient(90deg, var(--floor-line) 1px, transparent 1px); background-size: 60px 60px; animation: floor 3s linear infinite; }
@keyframes floor { to { background-position: 0 60px; } }
.banner .floor { height: 50%; opacity: .55; }

/* Floating code window with 3D tilt */
.hero__visual { position: relative; perspective: 1200px; min-height: 360px; display: grid; place-items: center; }
.codewin { width: min(100%, 470px); border-radius: 16px; background: rgba(6, 16, 44, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 0 0 1px rgba(120, 180, 255, .25), 0 40px 80px rgba(0, 0, 0, .55), 0 0 60px rgba(62, 230, 255, .12); transform: rotateY(-16deg) rotateX(8deg); transform-style: preserve-3d; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: rotateY(-10deg) rotateX(4deg) translateY(-12px); } }
.codewin__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.codewin__bar span { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.codewin__bar span:nth-child(2) { background: #FEBC2E; }
.codewin__bar span:nth-child(3) { background: #28C840; }
.codewin__bar em { font: 500 12px/1 ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--muted); font-style: normal; margin-left: 10px; }
.codewin__code { margin: 0; padding: 20px 20px 24px; min-height: 230px; font: 13.5px/1.75 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; color: #DCE6FF; white-space: pre-wrap; word-break: break-word; }
.tk-c { color: #6F86B8; } .tk-k { color: #C792EA; } .tk-s { color: #7EF0C6; } .tk-f { color: var(--cyan); }
.caret { display: inline-block; width: 8px; height: 1.1em; vertical-align: -2px; background: var(--cyan); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chip { position: absolute; font: 600 13px/1 ui-monospace, Consolas, monospace; padding: 10px 14px; border-radius: 10px; color: var(--cyan); background: rgba(6, 16, 44, .85); box-shadow: 0 0 0 1px rgba(62, 230, 255, .35), 0 12px 30px rgba(0, 0, 0, .4); animation: float2 6s ease-in-out infinite; }
.chip--a { top: 4%; right: 6%; }
.chip--b { bottom: 8%; left: 0; animation-delay: -2s; color: #C792EA; box-shadow: 0 0 0 1px rgba(199, 146, 234, .4), 0 12px 30px rgba(0, 0, 0, .4); }
.chip--c { bottom: 2%; right: 14%; animation-delay: -4s; color: #7EF0C6; box-shadow: 0 0 0 1px rgba(126, 240, 198, .4), 0 12px 30px rgba(0, 0, 0, .4); }
@keyframes float2 { 50% { transform: translateY(-14px) rotate(-2deg); } }

.scrollcue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.scrollcue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 60% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------------------------------------------------------------- 3D stack */
.stack-sec { overflow: hidden; }
.stack-sec::before { content: ""; position: absolute; right: -10%; top: 10%; width: 60vw; height: 60vw; max-width: 800px; max-height: 800px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 123, 255, .18), transparent 60%); pointer-events: none; }
.stack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.stack__labels { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.stack__labels li { display: flex; gap: 18px; padding: 16px 20px; border-radius: 14px; cursor: default; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s, background .25s, transform .25s var(--ease); }
.stack__labels li.is-on { background: rgba(62, 230, 255, .07); box-shadow: inset 0 0 0 1px rgba(62, 230, 255, .6); transform: translateX(6px); }
.stack__labels h3 { margin: 0 0 4px; font-size: 18px; }
.stack__labels p { margin: 0; color: var(--muted); font-size: 15px; }
.stack__n { font: 600 13px/1.6 var(--head); color: var(--cyan); }
.stack-scene { height: 540px; perspective: 1400px; display: grid; place-items: center; }
.stack { position: relative; width: 250px; height: 250px; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-42deg); transition: transform 1s var(--ease); }
.stack-scene:hover .stack { transform: rotateX(54deg) rotateZ(-34deg); }
.layer { position: absolute; inset: 0; border-radius: 22px; transform: translateZ(calc(var(--z, 0) * 1px)); transition: transform 1s var(--ease), box-shadow .3s, background .3s; background: var(--layer); box-shadow: inset 0 0 0 1.5px rgba(120, 180, 255, .45), 0 30px 50px rgba(0, 0, 0, .35); }
.layer--0 { --z: 36; background: linear-gradient(135deg, rgba(62, 230, 255, .28), rgba(47, 123, 255, .22)); }
.layer--1 { --z: 12; }
.layer--2 { --z: -12; }
.layer--3 { --z: -36; background: var(--layer-deep); }
.stack.is-open .layer--0 { --z: 165; }
.stack.is-open .layer--1 { --z: 55; }
.stack.is-open .layer--2 { --z: -55; }
.stack.is-open .layer--3 { --z: -165; }
.layer.is-on { background: rgba(62, 230, 255, .3); box-shadow: inset 0 0 0 2px var(--cyan), 0 0 50px rgba(62, 230, 255, .45); }
.layer i { position: absolute; border-radius: 6px; background: rgba(160, 210, 255, .35); }
.layer--0 i:nth-child(1) { left: 18px; top: 18px; right: 18px; height: 22px; }
.layer--0 i:nth-child(2) { left: 18px; top: 54px; width: 46%; bottom: 18px; }
.layer--0 i:nth-child(3) { right: 18px; top: 54px; width: 38%; height: 70px; background: rgba(62, 230, 255, .55); }
.layer--1 i { left: 22px; right: 22px; height: 10px; }
.layer--1 i:nth-child(1) { top: 60px; }
.layer--1 i:nth-child(2) { top: 110px; right: 80px; }
.layer--1 i:nth-child(3) { top: 160px; right: 50px; background: rgba(199, 146, 234, .5); }
.layer--2 i { bottom: 26px; width: 34px; border-radius: 6px 6px 2px 2px; background: rgba(126, 240, 198, .5); }
.layer--2 i:nth-child(1) { left: 40px; height: 90px; }
.layer--2 i:nth-child(2) { left: 108px; height: 150px; }
.layer--2 i:nth-child(3) { left: 176px; height: 60px; }
.layer--3 i { top: 24px; bottom: 24px; width: 46px; background: repeating-linear-gradient(0deg, rgba(120, 180, 255, .35) 0 8px, transparent 8px 16px); }
.layer--3 i:nth-child(1) { left: 30px; }
.layer--3 i:nth-child(2) { left: 102px; }
.layer--3 i:nth-child(3) { left: 174px; }

/* ---------------------------------------------------------------- spotlight + extras */
.spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(62, 230, 255, .13), transparent 65%); }
.tech:hover > .spot { opacity: 1; }
.steps--line { position: relative; }
.steps--line::before { content: ""; position: absolute; left: 0; right: 0; top: -28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--cyan), var(--blue), transparent); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .14) 50%, transparent 65%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.tile:hover::after { transform: translateX(120%); }

@media (max-width: 1099px) {
	.hero__in { grid-template-columns: 1fr; }
	.hero__visual { min-height: 0; margin-top: 8px; }
	.codewin { transform: none; animation: none; }
	.chip { display: none; }
	.globe { right: -30vw; top: 30%; width: 110vw; height: 110vw; opacity: .55; }
	.stack-grid { grid-template-columns: 1fr; }
	.stack-scene { height: 440px; order: -1; }
}
@media (max-width: 760px) {
	.hero { padding-bottom: 70px; }
	.hero__visual { display: none; }
	.stack-scene { height: 360px; }
	.stack { width: 190px; height: 190px; }
	.stack.is-open .layer--0 { --z: 120; }
	.stack.is-open .layer--1 { --z: 40; }
	.stack.is-open .layer--2 { --z: -40; }
	.stack.is-open .layer--3 { --z: -120; }
	.layer i { display: none; }
	.steps--line::before { display: none; }
}

/* ---------------------------------------------------------------- banner */
.banner { padding: clamp(130px, 16vw, 200px) 0 clamp(56px, 8vw, 96px); }
.banner__img { position: absolute; inset: 0; z-index: -2; }
.banner__img img { width: 100%; height: 100%; object-fit: cover; }
.banner__img::after { content: ""; position: absolute; inset: 0; background: var(--banner-ov), linear-gradient(0deg, var(--ink), transparent 40%); }
.banner.tech::before { z-index: -1; }
.banner h1 { max-width: 860px; }
.banner--404 { min-height: 80vh; display: flex; align-items: center; }

/* ---------------------------------------------------------------- ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--navy); padding: 18px 0; }
.ticker__track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker span { font: 600 clamp(18px, 2vw, 24px)/1 var(--head); color: var(--text-2); padding: 0 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.ticker span::after { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--cyan); transform: rotate(45deg); margin-left: 28px; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- intro */
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.why__item { background: var(--ink); padding: clamp(22px, 2.6vw, 32px); transition: background .3s; }
.why__item:hover { background: var(--navy-2); }
.why__item h3 { color: var(--cyan); }
.why__item p { color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
	position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 4.4;
	background: var(--navy-2); cursor: pointer; outline-offset: 4px;
	box-shadow: 0 0 0 1px var(--line), 0 14px 34px rgba(0, 0, 0, .35);
	transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: saturate(.85); }
.tile__body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; z-index: 1; }
.tile__body::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 11, 31, 0) 30%, rgba(5, 11, 31, .9) 85%); transition: background .45s; }
.tile__num { font: 600 13px/1 var(--head); color: var(--cyan); letter-spacing: .1em; margin-bottom: 10px; }
.tile h3 { margin: 0; font-size: clamp(20px, 1.8vw, 24px); }
.tile__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s var(--ease), opacity .35s, margin .45s; }
.tile__more > div { min-height: 0; overflow: hidden; }
.tile__more p { color: var(--text-2); font-size: 15px; margin: 0 0 12px; }
.tile__more ul { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.tile__more li { font-size: 13px; padding: 5px 10px; border-radius: 99px; background: rgba(62, 230, 255, .12); color: #C9F6FF; }
.tile:hover, .tile.is-open, .tile:focus-visible { box-shadow: 0 0 0 1px rgba(62, 230, 255, .55), 0 0 36px rgba(47, 123, 255, .35), 0 24px 48px rgba(0, 0, 0, .45); }
.tile:hover > img, .tile.is-open > img { transform: scale(1.07); filter: saturate(1); }
.tile:hover .tile__body::before, .tile.is-open .tile__body::before, .tile:focus-visible .tile__body::before { background: linear-gradient(180deg, rgba(5, 11, 31, .1) 0%, rgba(7, 20, 51, .86) 45%, rgba(5, 11, 31, .97) 100%); }
.tile:hover .tile__more, .tile.is-open .tile__more, .tile:focus-visible .tile__more { grid-template-rows: 1fr; opacity: 1; margin-top: 14px; }

/* ---------------------------------------------------------------- steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.steps li { padding: 28px; border-radius: var(--radius); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: box-shadow .3s, transform .3s var(--ease); }
.steps li:hover { box-shadow: inset 0 0 0 1px rgba(62, 230, 255, .5); transform: translateY(-4px); }
.steps__n { display: block; font: 700 40px/1 var(--head); color: transparent; -webkit-text-stroke: 1px rgba(62, 230, 255, .7); margin-bottom: 18px; }
.steps p { color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- feature */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature__img { border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 30px 60px rgba(0, 0, 0, .45); }
.feature__img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: baseline; }
.checks li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--cyan); transform: rotate(45deg) translateY(-1px); }
.prose p { color: var(--muted); }
.prose h2 { margin-top: 1.2em; }
.prose h2:first-child { margin-top: 0; }

/* ---------------------------------------------------------------- courses */
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.course { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius); background: linear-gradient(180deg, var(--navy-2), var(--navy)); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.course:hover { box-shadow: inset 0 0 0 1px rgba(62, 230, 255, .5), 0 20px 40px rgba(0, 0, 0, .35); }
.course__n { font: 600 13px/1 var(--head); color: var(--cyan); letter-spacing: .1em; margin-bottom: 18px; }
.course > p { color: var(--muted); }
.course dl { margin: 6px 0 24px; display: grid; gap: 10px; font-size: 14px; border-top: 1px solid var(--line); padding-top: 18px; }
.course dl div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.course dt { color: var(--muted); }
.course dd { margin: 0; color: var(--head-c); }
.course .tlink { margin-top: auto; }

/* ---------------------------------------------------------------- CTA */
.cta { border-radius: 26px; padding: clamp(40px, 6vw, 80px); box-shadow: 0 0 0 1px var(--line-2); }
.cta__img { position: absolute; inset: 0; z-index: -2; opacity: .25; }
.cta__img img { width: 100%; height: 100%; object-fit: cover; }
.cta.tech::before { z-index: -1; }
.cta__in { max-width: 680px; }
.cta p { color: var(--text-2); font-size: 18px; margin-bottom: 28px; }

/* ---------------------------------------------------------------- contact */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact__info { display: grid; gap: 14px; }
.cinfo { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 14px; background: var(--navy); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: box-shadow .2s; }
a.cinfo:hover { box-shadow: inset 0 0 0 1px var(--cyan); }
.cinfo .ico { width: 24px; height: 24px; color: var(--cyan); }
.cinfo small { display: block; color: var(--muted); font-size: 13px; }
.form { padding: clamp(24px, 4vw, 40px); border-radius: 22px; background: var(--navy); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 18px; }
.form h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 0 0 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label span { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: var(--muted); }
.form input, .form select, .form textarea {
	width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
	font: inherit; color: var(--head-c); background: var(--ink); border: 1px solid var(--line-2);
	transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(62, 230, 255, .2); }
.form [aria-invalid="true"] { border-color: #FF6B6B; }
.form__err { color: #FF8A8A; margin: 0; }
.form__note { font-size: 14px; color: var(--muted); margin: 0; }
.btn--wa { background: linear-gradient(90deg, #3EE6A0, var(--cyan)); }

/* ---------------------------------------------------------------- legal */
.legal { padding-top: 150px; }
.legal .prose { max-width: 780px; }
.legal h1 { font-size: clamp(32px, 4vw, 48px); }

/* ---------------------------------------------------------------- footer */
.footer { padding: 72px 0 0; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.footer__brand p { color: var(--muted); max-width: 380px; margin-top: 18px; }
.footer__h { font: 600 13px/1.4 var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--cyan); margin-bottom: 16px; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__list a { text-decoration: none; display: inline-flex; gap: 10px; align-items: center; color: var(--text-2); }
.footer__list a:hover { color: var(--cyan); }
.muted { color: var(--muted); }
.footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer__bar p { margin: 0; }
.footer__bar a { color: var(--muted); }
.footer__bar a:hover { color: var(--head-c); }
.footer__parent { opacity: .75; }

/* Floating call button (mobile only) */
.fab { display: none; }
@media (max-width: 700px) {
	.fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 99px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--btn-c); background: var(--btn-bg); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); transform: translateY(120px); transition: transform .35s var(--ease); }
	.fab.is-on { transform: none; }
	.page-contact .fab { display: none; }
}

/* ---------------------------------------------------------------- motion */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* Above the fold: animate on load, don't wait for scrolling. */
.js .hero .reveal, .js .banner .reveal { animation: rise .8s var(--ease) both; }
.js .hero .reveal:nth-child(2), .js .banner .reveal:nth-child(2) { animation-delay: .1s; }
.js .hero .reveal:nth-child(3), .js .banner .reveal:nth-child(3) { animation-delay: .2s; }
.js .hero .reveal:nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.tilt { transition: transform .3s var(--ease); will-change: transform; transform-style: preserve-3d; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1099px) {
	.tiles, .courses { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.tiles, .courses, .steps, .steps--3, .why, .feature, .contact, .form__row { grid-template-columns: 1fr; }
	.tile { aspect-ratio: 4 / 3.6; }
	.footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.btns .btn { flex: 1 1 100%; }
	.feature__img { order: -1; }
}


/* ---------------------------------------------------------------- service detail panel */
.tile__open {
	position: static; align-self: flex-start; margin-top: 14px;
	display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 0; border-radius: 10px; cursor: pointer;
	font: 600 14px/1 var(--body); color: #fff; background: rgba(255, 255, 255, .12);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	transition: background .2s, box-shadow .2s;
}
.tile__open::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole tile is clickable */
.tile__open .arr { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.tile:hover .tile__open { background: #3EE6FF; color: #050B1F; box-shadow: none; }
.tile:hover .tile__open .arr { transform: translateX(3px); }

.sdlg { width: min(920px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 24px; color: var(--text); background: var(--navy); box-shadow: 0 0 0 1px var(--line-2), 0 40px 120px rgba(0, 0, 0, .6); overflow: hidden; }
.sdlg::backdrop { background: rgba(3, 8, 24, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sdlg[open] { animation: dlg .45s var(--ease); }
.sdlg[open]::backdrop { animation: fade .35s ease; }
@keyframes dlg { from { opacity: 0; transform: translateY(24px) scale(.96) perspective(900px) rotateX(6deg); } }
@keyframes fade { from { opacity: 0; } }
.sdlg__in { max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
.sdlg__hero { position: relative; aspect-ratio: 16 / 6.5; min-height: 200px; overflow: hidden; }
.sdlg__hero img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: zoomout 1.2s var(--ease) forwards; }
@keyframes zoomout { to { transform: scale(1); } }
.sdlg__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 11, 31, .1), rgba(5, 11, 31, .85)); }
.sdlg__title { position: absolute; left: clamp(20px, 4vw, 40px); right: 80px; bottom: 22px; z-index: 1; }
.sdlg__title h2 { margin: 6px 0 0; font-size: clamp(28px, 4vw, 44px); }
.sdlg__x { position: absolute; top: 16px; right: 16px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 12px; cursor: pointer; color: #fff; background: rgba(5, 11, 31, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sdlg__x svg { width: 20px; height: 20px; }
.sdlg__x:hover { background: rgba(62, 230, 255, .3); }
.sdlg__body { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 48px); padding: clamp(24px, 4vw, 40px); }
.sdlg__lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--text-2); }
.sdlg h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .1em; color: var(--cyan); font-family: var(--body); font-weight: 600; margin: 22px 0 10px; }
.sdlg__main h3:first-of-type { margin-top: 10px; }
.sdlg__main p:last-child { color: var(--muted); margin: 0; }
.sdlg__side { padding: 22px 24px; border-radius: 18px; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.sdlg__side h3 { margin-top: 0; }
.sdlg__side .checks { margin: 0; gap: 12px; }
.sdlg__side .checks li { font-size: 15px; }
.sdlg__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 0 clamp(24px, 4vw, 40px) clamp(24px, 4vw, 36px); }
.sdlg__nav { display: flex; gap: 8px; }
.sdlg__arrow { width: 46px; height: 46px; border: 0; border-radius: 12px; cursor: pointer; color: var(--head-c); background: var(--hover); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s, transform .2s; }
.sdlg__arrow:hover { box-shadow: inset 0 0 0 1px var(--cyan); transform: translateY(-2px); }
.sdlg__arrow svg { width: 20px; height: 20px; }
body.dlg-open { overflow: hidden; }
@media (max-width: 760px) {
	.sdlg { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
	.sdlg__in { max-height: 100dvh; }
	.sdlg__body { grid-template-columns: 1fr; }
	.sdlg__foot .btns { width: 100%; }
	.sdlg__nav { width: 100%; justify-content: space-between; }
	.sdlg[open] { animation: sheet .4s var(--ease); }
	@keyframes sheet { from { transform: translateY(40px); opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
	.ticker__track { transform: none; }
}
#e-commerce > img { object-position: 50% 42%; }
