/* iCode Mobility Solutions — brand green #74D700 (sampled from logo) */
:root {
  --brand: #74D700;
  --brand-2: #B6FF3B;
  --brand-3: #2FBF71;
  --on-brand: #102000;
  --radius: 7px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --maxw: 1200px;
}
[data-theme="dark"] {
  --bg: #070b04;
  --bg-2: #0d1408;
  --surface: rgba(255,255,255,.04);
  --surface-2: rgba(255,255,255,.07);
  --border: rgba(255,255,255,.09);
  --text: #eef5e6;
  --muted: #9fae92;
  --accent-text: #8FE81F;
  --shadow: 0 30px 80px -30px rgba(0,0,0,.8);
  --road: #1a2015;
  --sky: linear-gradient(#0f1a0a, #16230d);
  --hill: #14210c;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f6faf0;
  --bg-2: #ecf4e0;
  --surface: rgba(255,255,255,.75);
  --surface-2: #ffffff;
  --border: rgba(20,40,0,.10);
  --text: #0f1a07;
  --muted: #56634b;
  --accent-text: #3E7600;
  --shadow: 0 30px 70px -35px rgba(40,80,0,.35);
  --road: #3a4134;
  --sky: linear-gradient(#e6f6d2, #f4fbe9);
  --hill: #cfe9ad;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'Outfit', system-ui, sans-serif; font-size: 17px; line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
  transition: background .5s var(--ease), color .5s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.1; margin: 0; letter-spacing: -.02em; }
.container { width: min(var(--maxw), 100% - 32px); margin-inline: auto; }
svg { stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--brand); color: var(--on-brand); }

/* ---------- preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--bg); transition: opacity .6s var(--ease), visibility .6s; }
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-mark { width: 96px; height: 96px; border-radius: 7px; background: var(--brand); display: grid; place-items: center; animation: plPop 1.2s var(--ease) infinite alternate; box-shadow: 0 0 80px rgba(116,215,0,.5); }
.preloader-mark svg { width: 70px; height: 70px; }
.pl-ring { stroke: #fff; stroke-width: 7; stroke-linecap: butt; stroke-dasharray: 90; stroke-dashoffset: 90; animation: plDraw 1.2s var(--ease) forwards; }
.pl-bar, .pl-dot { fill: #fff; stroke: none; transform-origin: center bottom; transform: scaleY(0); animation: plGrow .5s .6s var(--ease) forwards; }
.pl-dot { animation-delay: .9s; }
@keyframes plDraw { to { stroke-dashoffset: 0; } }
@keyframes plGrow { to { transform: scaleY(1); } }
@keyframes plPop { to { transform: scale(1.06) rotate(-3deg); } }

/* ---------- progress + cursor ---------- */
.scroll-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(--brand), var(--brand-2), var(--brand-3)); box-shadow: 0 0 12px var(--brand); }
.cursor-glow { position: fixed; top: 0; left: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(116,215,0,.13), transparent 65%); transition: opacity .3s; opacity: 0; }
@media (hover: hover) { .cursor-glow.on { opacity: 1; } }

/* ---------- nav ---------- */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(var(--maxw), 100% - 24px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px 10px 18px;
  border-radius: 7px; border: 1px solid transparent; transition: all .4s var(--ease); animation: navIn .9s .3s var(--ease) both; }
.nav { overflow: visible; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--border); box-shadow: var(--shadow); }
@keyframes navIn { from { opacity: 0; transform: translate(-50%, -30px); } }
.nav-logo img { height: 38px; width: auto; transition: transform .4s var(--ease); }
.nav-logo:hover img { transform: scale(1.05) rotate(-2deg); }
.nav-links { display: flex; gap: 6px; }
.nav-links a { position: relative; padding: 8px 14px; border-radius: 7px; font-weight: 500; color: var(--muted); transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
/* hanging classic lantern = theme switch (lit = light mode) */
.lamp { position: relative; width: 44px; height: 42px; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.lamp-svg { stroke: none; stroke-width: 0; position: absolute; left: 0; top: -24px; width: 44px; height: 125px; overflow: visible; transform-origin: 22px 0; filter: drop-shadow(0 8px 10px rgba(0,0,0,.45)); animation: lampIdle 6s ease-in-out infinite; }
.lamp.swing .lamp-svg { animation: lampSwing 1.8s cubic-bezier(.3,.6,.3,1); }
@keyframes lampIdle { 0%,100% { transform: rotate(1deg); } 50% { transform: rotate(-1deg); } }
@keyframes lampSwing { 0% { transform: rotate(0); } 15% { transform: rotate(13deg); } 35% { transform: rotate(-9deg); } 55% { transform: rotate(5deg); } 75% { transform: rotate(-2.5deg); } 90% { transform: rotate(1deg); } 100% { transform: rotate(0); } }
/* unlit: dark smoky glass */
.lamp .g-in { stop-color: #3a3a38; transition: stop-color .7s; } .lamp .g-mid { stop-color: #222221; transition: stop-color .7s; } .lamp .g-out { stop-color: #121212; transition: stop-color .7s; }
.lamp .flame { transform-box: fill-box; transform-origin: 50% 100%; opacity: 0; transform: scale(.15); transition: opacity .45s, transform .5s var(--ease); }
.lamp .inner-halo, .lamp .post-glow { opacity: 0; transition: opacity .6s; }
.lamp .smoke { opacity: 0; stroke-dasharray: 60; stroke-dashoffset: 60; }
.lamp.smoking .smoke { animation: smoke 2.2s ease-out forwards; }
@keyframes smoke { 0% { opacity: .8; stroke-dashoffset: 60; transform: translateY(0); } 60% { opacity: .5; } 100% { opacity: 0; stroke-dashoffset: 0; transform: translateY(-10px) scaleX(1.4); } }
.lamp-glow { position: absolute; left: 50%; top: 48px; width: 320px; height: 320px; margin: -160px 0 0 -160px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255,196,96,.6), rgba(255,150,40,.2) 32%, transparent 65%); opacity: 0; transform: scale(.4); transition: opacity .7s, transform .9s var(--ease); }
/* lit */
[data-theme="light"] .lamp .g-in { stop-color: #fff3c4; } [data-theme="light"] .lamp .g-mid { stop-color: #ffc062; } [data-theme="light"] .lamp .g-out { stop-color: #d9741c; }
[data-theme="light"] .lamp .flame { opacity: 1; transform: scale(1); animation: flicker 2.6s ease-in-out infinite; }
[data-theme="light"] .lamp .inner-halo { opacity: 1; animation: haloPulse 2.6s ease-in-out infinite; }
[data-theme="light"] .lamp .post-glow { opacity: .55; }
[data-theme="light"] .lamp-glow { opacity: 1; transform: scale(1); animation: glowPulse 3s ease-in-out infinite alternate; }
@keyframes flicker { 0%,100% { transform: scale(1,1) skewX(0); } 12% { transform: scale(.96,1.05) skewX(2deg); } 27% { transform: scale(1.03,.97) skewX(-1.5deg); } 41% { transform: scale(.98,1.04) skewX(1deg); } 58% { transform: scale(1.02,.96) skewX(-2deg); } 74% { transform: scale(.97,1.06) skewX(1.5deg); } 88% { transform: scale(1.01,.98) skewX(-.5deg); } }
@keyframes haloPulse { 50% { opacity: .8; } }
@keyframes glowPulse { to { transform: scale(1.07); opacity: .85; } }
.lamp:hover .lamp-svg { filter: drop-shadow(0 8px 10px rgba(0,0,0,.45)) brightness(1.12); }
.lamp:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 7px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 7px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .4s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.burger.open span:first-child { transform: translateY(4px) rotate(45deg); }
.burger.open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn { --mx: 0px; --my: 0px; position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 7px; font-weight: 600; font-size: 16px; cursor: pointer; border: 1px solid transparent; overflow: hidden; isolation: isolate;
  transform: translate(var(--mx), var(--my)); transition: transform .25s var(--ease), box-shadow .35s, background .35s, color .35s; }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-sm { padding: 10px 16px; font-size: 15px; }
.btn-lg { padding: 18px 30px; font-size: 18px; }
.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 10px 30px -10px rgba(116,215,0,.7); }
.btn-primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 16px 40px -10px rgba(116,215,0,.9); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--brand); color: var(--accent-text); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; overflow: hidden; }
#particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; z-index: 0; animation: blob 18s ease-in-out infinite alternate; }
.b1 { width: 520px; height: 520px; background: var(--brand); top: -160px; right: -120px; }
.b2 { width: 420px; height: 420px; background: var(--brand-3); bottom: -160px; left: -140px; animation-delay: -6s; opacity: .35; }
.b3 { width: 300px; height: 300px; background: var(--brand-2); top: 40%; left: 45%; animation-delay: -12s; opacity: .2; }
[data-theme="light"] .blob { opacity: .28; }
@keyframes blob { 0% { transform: translate(0,0) scale(1); } 33% { transform: translate(60px,-40px) scale(1.15); } 66% { transform: translate(-40px,50px) scale(.9); } 100% { transform: translate(30px,20px) scale(1.05); } }
.grid-overlay { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); animation: gridMove 20s linear infinite; }
@keyframes gridMove { to { background-position: 64px 64px; } }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 7px; border: 1px solid var(--border); background: var(--surface); backdrop-filter: blur(8px); font-size: 14px; font-weight: 500; color: var(--muted); }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(116,215,0,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(116,215,0,0); } 100% { box-shadow: 0 0 0 0 rgba(116,215,0,0); } }
.hero-title { font-size: clamp(42px, 6.4vw, 84px); font-weight: 800; margin: 24px 0; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .word { display: inline-block; transform: translateY(110%) rotate(6deg); opacity: 0; transition: transform 1s var(--ease), opacity 1s; }
.loaded .hero-title .word { transform: none; opacity: 1; }
.typed-line { min-height: 1.15em; }
.typed { background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--brand-3), var(--brand)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 6s linear infinite; }
[data-theme="light"] .typed { background-image: linear-gradient(90deg, #4c9400, #74D700, #1f9a55, #4c9400); }
.caret { display: inline-block; width: .08em; height: .9em; margin-left: .06em; vertical-align: -.08em; background: var(--brand); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes gradShift { to { background-position: 300% 0; } }
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 560px; margin: 0 0 34px; }
.hero-sub strong { color: var(--accent-text); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; height: 480px; perspective: 1200px; }
.code-card { position: absolute; inset: 60px 20px auto 20px; border-radius: 7px; background: color-mix(in srgb, var(--bg-2) 85%, transparent); border: 1px solid var(--border); box-shadow: var(--shadow), 0 0 0 1px rgba(116,215,0,.08), 0 0 60px -20px rgba(116,215,0,.4); backdrop-filter: blur(14px); overflow: hidden; animation: floatY 6s ease-in-out infinite; }
.code-head { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.code-head i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.code-head i:nth-child(2) { background: #febc2e; } .code-head i:nth-child(3) { background: #28c840; }
.code-head span { margin-left: 10px; font: 13px 'JetBrains Mono', monospace; color: var(--muted); }
.code-body { margin: 0; padding: 18px 20px 24px; min-height: 250px; font: 14px/1.7 'JetBrains Mono', monospace; color: var(--text); white-space: pre-wrap; }
.code-body .k { color: #c792ea; } .code-body .f { color: var(--accent-text); } .code-body .s { color: #f5b971; } .code-body .c { color: var(--muted); font-style: italic; }
.code-body .cursor { display: inline-block; width: 8px; height: 1.1em; vertical-align: -3px; background: var(--brand); animation: blink 1s steps(1) infinite; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--border); box-shadow: var(--shadow); backdrop-filter: blur(12px); z-index: 3; }
[data-theme="dark"] .float-card { background: rgba(20,30,12,.85); }
.float-card b { display: block; font-size: 15px; } .float-card small { color: var(--muted); font-size: 13px; }
.fc-icon { width: 42px; height: 42px; border-radius: 7px; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); font-size: 20px; font-weight: 800; }
.fc1 { left: -24px; bottom: 40px; animation: floatY 5s -1s ease-in-out infinite; }
.fc2 { right: -10px; top: 0; animation: floatY 7s -3s ease-in-out infinite; }
@keyframes floatY { 50% { translate: 0 -14px; } }
.orbit { position: absolute; left: 50%; top: 50%; border: 1px dashed var(--border); border-radius: 50%; animation: spin 24s linear infinite; }
.o1 { width: 520px; height: 520px; margin: -260px; } .o2 { width: 400px; height: 400px; margin: -200px; animation-duration: 18s; animation-direction: reverse; } .o3 { width: 600px; height: 600px; margin: -300px; animation-duration: 32s; }
.orb { position: absolute; top: -18px; left: 50%; margin-left: -18px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); font-size: 16px; animation: spin 24s linear infinite reverse; }
.o2 .orb { animation-duration: 18s; animation-direction: normal; } .o3 .orb { animation-duration: 32s; }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; z-index: 2; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--muted); border-radius: 7px; opacity: .7; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--brand); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 2; overflow: hidden; padding: 22px 0; background: var(--brand); color: var(--on-brand); transform: rotate(-1.5deg) scale(1.03); box-shadow: 0 20px 60px -20px rgba(116,215,0,.6); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-size: clamp(20px, 2.4vw, 30px); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; padding: 0 26px; white-space: nowrap; display: flex; align-items: center; gap: 52px; }
.marquee span::after { content: "✦"; font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 100px 0 20px; }
.stat { text-align: center; padding: 28px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.stat b { display: block; font-size: clamp(40px, 5vw, 64px); font-weight: 900; line-height: 1; background: linear-gradient(135deg, var(--brand), var(--brand-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- sections ---------- */
.section { position: relative; padding: 120px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 16px; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 19px; margin: 18px auto 0; }
.grad-text { background: linear-gradient(90deg, var(--brand), var(--brand-3), var(--brand-2), var(--brand)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 8s linear infinite; }
[data-theme="light"] .grad-text { background-image: linear-gradient(90deg, #4c9400, #1f9a55, #74D700, #4c9400); }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%; position: relative; padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .2s ease-out, border-color .4s, box-shadow .4s; overflow: hidden; isolation: isolate; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(400px circle at var(--gx) var(--gy), rgba(116,215,0,.16), transparent 45%); }
.card:hover { border-color: rgba(116,215,0,.45); box-shadow: 0 30px 60px -30px rgba(116,215,0,.45); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 22px; margin: 22px 0 10px; }
.card p { color: var(--muted); margin: 0; }
.card-icon { width: 58px; height: 58px; border-radius: 7px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-3)); color: var(--on-brand); box-shadow: 0 12px 30px -10px rgba(116,215,0,.7); transition: transform .5s var(--ease); }
.card-icon svg { width: 28px; height: 28px; stroke-width: 2.2; }
.card:hover .card-icon { transform: rotate(-8deg) scale(1.1); }

/* ---------- ulaa ---------- */
.ulaa { overflow: hidden; }
.ulaa-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(116,215,0,.14), transparent 70%), var(--bg-2); }
.ulaa-logo { width: min(320px, 70%); height: auto; margin: 6px auto 10px; filter: drop-shadow(0 10px 40px rgba(116,215,0,.35)); animation: logoBob 4s ease-in-out infinite; }
@keyframes logoBob { 50% { transform: translateY(-8px) scale(1.02); } }
.cards-3 .card { padding: 36px; }
.p-emoji { font-size: 44px; line-height: 1; width: 78px; height: 78px; display: grid; place-items: center; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--border); transition: transform .6s var(--ease); }
.product:hover .p-emoji { transform: translateY(-6px) rotate(-6deg) scale(1.08); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; font-weight: 500; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 900; background: var(--brand); color: var(--on-brand); }
.center { text-align: center; margin-top: 56px; }

.road-scene { position: relative; height: 230px; margin: 0 auto 56px; border-radius: var(--radius); overflow: hidden; background: var(--sky); border: 1px solid var(--border); }
.sky-sun { position: absolute; top: 26px; right: 12%; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle, var(--brand-2), var(--brand)); box-shadow: 0 0 60px var(--brand); animation: sunGlow 4s ease-in-out infinite alternate; }
@keyframes sunGlow { to { box-shadow: 0 0 100px 10px var(--brand); transform: scale(1.08); } }
.hills { position: absolute; left: -10%; right: -10%; bottom: 60px; height: 110px; background: radial-gradient(ellipse 30% 100% at 20% 100%, var(--hill) 98%, transparent 100%), radial-gradient(ellipse 35% 90% at 60% 100%, var(--hill) 98%, transparent 100%), radial-gradient(ellipse 25% 80% at 92% 100%, var(--hill) 98%, transparent 100%); }
.pin { position: absolute; bottom: 120px; font-size: 26px; animation: pinBounce 1.6s ease-in-out infinite; }
.p1 { left: 8%; } .p2 { right: 6%; animation-delay: -.8s; }
@keyframes pinBounce { 50% { transform: translateY(-10px); } }
.road { position: absolute; left: 0; right: 0; bottom: 0; height: 66px; background: var(--road); }
.lane { position: absolute; top: 31px; left: 0; width: 200%; height: 4px; background: repeating-linear-gradient(90deg, #f5f9ee 0 40px, transparent 40px 80px); opacity: .7; animation: laneMove 1.2s linear infinite; }
@keyframes laneMove { to { transform: translateX(-80px); } }
.vehicle { position: absolute; will-change: transform; }
.vehicle svg { display: block; stroke: none; }
.v-bus { bottom: 30px; width: 170px; animation: drive 11s linear infinite; }
.v-car { bottom: 6px; width: 104px; animation: driveBack 8s linear infinite; animation-delay: -2s; }
.v-van { bottom: 30px; width: 130px; animation: drive 11s linear infinite; animation-delay: -5.5s; }
.vb-body { fill: var(--brand); } .vc-body { fill: #f2f2f2; } .vv-body { fill: #2FBF71; }
.vb-win { fill: #0d1a2a; opacity: .85; } .vb-stripe { fill: #fff; opacity: .9; }
.wheel { fill: #111; stroke: #666; stroke-width: 3; stroke-dasharray: 4 3; animation: spin .5s linear infinite; transform-box: fill-box; transform-origin: center; }
.vehicle > svg { animation: bump .4s ease-in-out infinite alternate; }
@keyframes drive { from { transform: translateX(-200px); } to { transform: translateX(calc(var(--scene-w, 1200px) + 40px)); } }
@keyframes driveBack { from { transform: translateX(calc(var(--scene-w, 1200px) + 40px)) scaleX(-1); } to { transform: translateX(-200px) scaleX(-1); } }
@keyframes bump { to { translate: 0 -1.5px; } }

/* ---------- timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 40px; }
.timeline-line { position: absolute; top: 68px; left: 6%; right: 6%; height: 3px; border-radius: 3px; background: var(--border); }
.timeline-line span { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--brand-3)); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 14px var(--brand); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num { position: relative; z-index: 1; width: 58px; height: 58px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--bg); border: 2px solid var(--brand); color: var(--accent-text); transition: background .4s, color .4s, transform .4s var(--ease); }
.step.in .step-num { background: var(--brand); color: var(--on-brand); transform: scale(1.08); box-shadow: 0 0 0 8px rgba(116,215,0,.15); }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: 16px; }

/* ---------- contact ---------- */
.contact-card { position: relative; overflow: hidden; text-align: center; padding: 80px 32px; border-radius: 7px; border: 1px solid rgba(116,215,0,.3); background: linear-gradient(160deg, rgba(116,215,0,.14), transparent 60%), var(--surface); isolation: isolate; }
.contact-glow { position: absolute; z-index: -1; width: 600px; height: 600px; left: 50%; top: 50%; margin: -300px; background: conic-gradient(from 0deg, transparent, rgba(116,215,0,.35), transparent 30%); animation: spin 8s linear infinite; filter: blur(40px); }
.contact-card h2 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; }
.contact-card p { color: var(--muted); font-size: 19px; margin: 16px 0 36px; }
.contact-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.contact-actions .btn svg { width: 20px; height: 20px; }
.contact-actions .btn:hover svg { transform: rotate(-12deg) scale(1.1); }

/* ---------- footer ---------- */
.footer { padding: 40px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer img { height: 34px; width: auto; }
.footer p { margin: 0; color: var(--muted); font-size: 14px; }
.footer a { color: var(--accent-text); font-weight: 600; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.card.reveal.in { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: opacity .9s var(--ease) var(--d,0s), transform .2s ease-out, border-color .4s, box-shadow .4s; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 420px; max-width: 520px; width: 100%; margin: 0 auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .timeline-line { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links { position: fixed; top: 76px; left: 12px; right: 12px; flex-direction: column; gap: 2px; padding: 12px; border-radius: 7px; background: var(--bg-2); border: 1px solid var(--border); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-12px) scale(.98); transition: all .35s var(--ease); }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { padding: 14px 16px; font-size: 18px; }
  .nav-links a::after { display: none; }
  .burger { display: block; }
  .nav-actions .btn-sm { display: none; }
  .cards, .timeline { grid-template-columns: 1fr; }
  .section { padding: 84px 0; }
  .hero { padding-top: 110px; }
  .hero-visual { height: 380px; }
  .code-card { inset: 50px 0 auto 0; }
  .code-body { font-size: 12px; min-height: 220px; }
  .fc1 { left: 0; bottom: 6px; } .fc2 { right: 0; top: 0; }
  .orbit { display: none; }
  .road-scene { height: 190px; }
  .v-bus { width: 130px; } .v-van { width: 100px; } .v-car { width: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .hero-title .word { opacity: 1; transform: none; }
}
