/* Track Online Deals - styles
   Theme: a deal-tracking orbit station in graphite, signal orange, radar mint and silver.
   Plain CSS 3D: wireframe globe with orbiting deal cards, radar sweeps, gyroscope
   department icons, HUD screens, launch-pad cards, planet steps and warp-speed banners. */
:root {
  --night: #0B0D12;
  --deep: #12151D;
  --panel: #1A1F2A;
  --steel: #2A3140;
  --orange: #FF6B2C;
  --orange-d: #E0521A;
  --mint: #6EF2C2;
  --mint-d: #1FA878;
  --silver: #C9D1DE;
  --paper: #F6F4F0;
  --sand: #ECE7DE;
  --ink: #14171F;
  --muted: #5B6372;
  --line: #E1DBD0;
  --head: "Michroma", "Trebuchet MS", sans-serif;
  --body: "Exo 2", Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 22px 44px -26px rgba(11, 13, 18, .5);
  --hot: linear-gradient(135deg, #FF9A5C, #FF6B2C 45%, #E0521A);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.65; font-size: 16px; }
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-d); }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.3; margin: 0 0 .65em; font-weight: 400; }
h3 { font-family: var(--body); font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(820px, 100% - 32px); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic.sm { width: 18px; height: 18px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border: 0; border-radius: 10px; background: var(--hot); color: #fff; font: 700 15px var(--body); letter-spacing: .6px; text-decoration: none; cursor: pointer; box-shadow: 0 12px 26px -12px rgba(255, 107, 44, .9); transition: transform .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 32px -12px rgba(255, 107, 44, 1), 0 0 0 4px rgba(255, 107, 44, .18); }
.btn.ghost { background: transparent; color: var(--mint); box-shadow: inset 0 0 0 1.5px var(--mint); }
.btn.ghost:hover { background: rgba(110, 242, 194, .1); }
.btn.small { padding: 10px 18px; font-size: 14px; }
.btn.full { width: 100%; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(11, 13, 18, .9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(110, 242, 194, .18); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.logo img { height: 58px; width: auto; }
.main-nav { display: flex; gap: 4px; }
.main-nav a { position: relative; padding: 8px 16px; color: var(--silver); text-decoration: none; font-weight: 600; letter-spacing: .5px; }
.main-nav a::before { content: ""; position: absolute; left: 4px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); transform: scale(0); transition: transform .3s; }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a:hover::before, .main-nav a.active::before { transform: scale(1); }
.header-tools { display: flex; align-items: center; gap: 10px; }
.cart-link { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--hot); color: #fff; }
.cart-count { position: absolute; top: -6px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--mint); color: var(--night); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.cart-count.bump { animation: bump .5s; }
@keyframes bump { 40% { transform: scale(1.45) rotate(-10deg); } }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid rgba(110, 242, 194, .45); border-radius: 12px; background: transparent; color: var(--mint); cursor: pointer; }

/* ---------- Intro: radar locks on, then fades away ---------- */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--night); pointer-events: none; animation: introOut .6s 1.5s forwards; }
.intro-radar { position: relative; width: 220px; height: 220px; border-radius: 50%; border: 1.5px solid rgba(110, 242, 194, .6); background: repeating-radial-gradient(circle, transparent 0 34px, rgba(110, 242, 194, .25) 35px 36px); animation: lockOn 1.5s ease-in forwards; }
.intro-radar .sweep, .radar .sweep, .radar-bg span { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(110, 242, 194, .55), transparent 25%); animation: sweep 1.6s linear infinite; }
.intro-radar i { position: absolute; left: 50%; top: -14px; bottom: -14px; width: 1px; background: rgba(110, 242, 194, .6); }
.intro-radar i + i { transform: rotate(90deg); }
.intro-radar b { position: absolute; left: 50%; top: calc(100% + 30px); transform: translateX(-50%); white-space: nowrap; font: 400 13px var(--head); letter-spacing: 3px; color: var(--mint); text-transform: uppercase; animation: blink .5s steps(2) infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes lockOn { 70% { transform: scale(1); } 85% { transform: scale(.85); border-color: var(--orange); } 100% { transform: scale(1.1); border-color: var(--orange); } }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }
@keyframes blink { 50% { opacity: .3; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 110px; background: radial-gradient(ellipse at 70% 40%, #1B2232, var(--deep) 45%, var(--night) 85%); color: var(--silver); }
.stars-bg { position: absolute; inset: 0; background-image: radial-gradient(1.5px 1.5px at 20px 30px, #fff, transparent), radial-gradient(1px 1px at 90px 80px, #C9D1DE, transparent), radial-gradient(1.5px 1.5px at 160px 20px, #6EF2C2, transparent), radial-gradient(1px 1px at 230px 140px, #fff, transparent), radial-gradient(1px 1px at 60px 170px, #FF9A5C, transparent); background-size: 260px 200px; opacity: .7; animation: twinkle 4s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .3; } }
.planet-rim { position: absolute; left: 50%; width: 2400px; margin-left: -1200px; bottom: -1180px; height: 1260px; border-radius: 50%; background: radial-gradient(ellipse at 50% 0%, #1E2533, var(--night) 60%); box-shadow: 0 -2px 0 rgba(255, 154, 92, .9), 0 -18px 60px rgba(255, 107, 44, .45); animation: rimGlow 5s ease-in-out infinite alternate; }
@keyframes rimGlow { to { box-shadow: 0 -2px 0 rgba(110, 242, 194, .8), 0 -18px 70px rgba(110, 242, 194, .35); } }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.05fr; gap: 30px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(30px, 4.1vw, 52px); line-height: 1.2; perspective: 600px; }
.hero h1 .w { display: inline-block; animation: wordIn .9s cubic-bezier(.2, .8, .2, 1) backwards; }
.hero h1 .w:nth-child(1) { animation-delay: 1.7s; }
.hero h1 .w:nth-child(2) { animation-delay: 1.85s; }
.hero h1 .w:nth-child(3) { animation-delay: 2s; }
.hero h1 .w:nth-child(4) { animation-delay: 2.15s; }
.hero h1 .hl { background: var(--hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes wordIn { from { opacity: 0; transform: translateY(50%) rotateX(-80deg); } }
.hero-text > p { font-size: 18px; max-width: 520px; animation: rise .9s 2.3s backwards; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 34px; animation: rise .9s 2.45s backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }
.hero-stats { display: flex; gap: 14px; padding: 0; margin: 0; list-style: none; animation: rise .9s 2.6s backwards; }
.hero-stats li { flex: 1; max-width: 150px; padding: 14px; border-radius: 12px; border: 1px solid rgba(110, 242, 194, .25); background: rgba(255, 255, 255, .03); text-align: center; }
.hero-stats strong { display: block; font: 400 26px var(--head); color: var(--mint); }
.hero-stats span { font-size: 13px; letter-spacing: .5px; }

/* The 3D orbit: wireframe globe with deal cards that orbit and always face the camera */
.orbit-stage { position: relative; height: 580px; perspective: 1500px; animation: fadeIn 1s 1.5s backwards; }
@keyframes fadeIn { from { opacity: 0; } }
.radar-bg { position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; margin: -260px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 51px, rgba(110, 242, 194, .14) 52px 53px); }
.radar-bg span { animation-duration: 6s; opacity: .45; }
.cam, .world { position: absolute; inset: 0; transform-style: preserve-3d; }
.cam { animation: dolly 2.6s cubic-bezier(.2, .8, .2, 1) 1.5s backwards; }
@keyframes dolly { from { transform: translateZ(-900px) rotateX(55deg) rotateZ(-40deg); } }
.world { transform: rotateX(calc(var(--py, 0) * -14deg)) rotateY(calc(var(--px, 0) * 20deg)); transition: transform .5s ease-out; }
.globe { position: absolute; left: 50%; top: 50%; width: 220px; height: 220px; margin: -110px; transform-style: preserve-3d; animation: spinY 16s linear infinite; }
.globe i, .globe b { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(110, 242, 194, .6); }
.globe i:nth-child(2) { transform: rotateY(30deg); }
.globe i:nth-child(3) { transform: rotateY(60deg); }
.globe i:nth-child(4) { transform: rotateY(90deg); }
.globe i:nth-child(5) { transform: rotateY(120deg); }
.globe i:nth-child(6) { transform: rotateY(150deg); }
.globe b { transform: rotateX(90deg); border-color: rgba(255, 154, 92, .8); }
.globe b.b2 { inset: 15px; transform: rotateX(90deg) translateZ(55px); border-color: rgba(110, 242, 194, .4); }
.world::before { content: ""; position: absolute; left: 50%; top: 50%; width: 212px; height: 212px; margin: -106px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255, 154, 92, .55), rgba(224, 82, 26, .35) 40%, rgba(11, 13, 18, .85) 75%); box-shadow: 0 0 80px rgba(255, 107, 44, .45); }
@keyframes spinY { to { transform: rotateY(360deg); } }
.track { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform-style: preserve-3d; }
.track.t1 { width: 500px; height: 500px; margin: -250px; border: 1.5px dashed rgba(201, 209, 222, .4); animation: orbit 36s linear infinite; }
.track.t2 { width: 330px; height: 330px; margin: -165px; border: 1px solid rgba(255, 154, 92, .45); animation: orbit2 14s linear infinite; }
.track.t2 s { position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px var(--mint); }
.track.t2 s + s { top: auto; bottom: -6px; background: var(--orange); box-shadow: 0 0 14px var(--orange); }
@keyframes orbit { from { transform: rotateX(74deg) rotateZ(0); } to { transform: rotateX(74deg) rotateZ(360deg); } }
@keyframes orbit2 { from { transform: rotateX(64deg) rotateY(-24deg) rotateZ(0); } to { transform: rotateX(64deg) rotateY(-24deg) rotateZ(-360deg); } }
.arm { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateZ(var(--a)) translateX(250px); }
.sat { position: absolute; left: -95px; bottom: 0; width: 190px; padding: 6px; border-radius: 12px; background: rgba(26, 31, 42, .92); border: 1px solid rgba(110, 242, 194, .45); box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .9), 0 0 24px rgba(110, 242, 194, .15); transform-origin: 50% 100%; animation: counter 36s linear infinite; }
.sat img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.sat span { display: block; padding: 6px 4px 2px; font: 700 12px var(--body); letter-spacing: 1.5px; color: var(--mint); text-transform: uppercase; }
@keyframes counter { from { transform: rotateZ(calc(-1 * var(--a))) rotateX(-74deg); } to { transform: rotateZ(calc(-1 * var(--a) - 360deg)) rotateX(-74deg); } }
.chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(11, 13, 18, .85); border: 1px solid rgba(110, 242, 194, .4); color: #fff; font-size: 13px; font-weight: 600; animation: bob 4s ease-in-out infinite; }
.chip i, .hud-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); animation: blink 1s steps(2) infinite; }
.chip.ch1 { left: 0; top: 40px; }
.chip.ch2 { right: 0; bottom: 60px; animation-delay: -2s; border-color: rgba(255, 107, 44, .6); }
.chip.ch2 i { background: var(--orange); box-shadow: 0 0 10px var(--orange); }
@keyframes bob { 50% { transform: translateY(-12px); } }

/* ---------- Telemetry band ---------- */
.telemetry { position: relative; overflow: hidden; background: var(--orange); color: var(--night); padding: 14px 0; border-top: 1px solid #FF9A5C; }
.band-track { display: flex; width: max-content; animation: band 34s linear infinite; }
.band-track span { display: flex; align-items: center; gap: 22px; padding-right: 22px; font: 400 13px var(--head); letter-spacing: 1.5px; white-space: nowrap; text-transform: uppercase; }
.band-track span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--night); }
@keyframes band { to { transform: translateX(-50%); } }

/* ---------- Sections and grids ---------- */
.section { padding: 90px 0; position: relative; }
.sand { background: var(--sand); }
.dark { background: radial-gradient(ellipse at 50% 0%, #1E2533, var(--deep) 50%, var(--night)); color: var(--silver); overflow: hidden; }
.dark h2, .dark .sec-title { color: #fff; }
.sec-title { text-align: center; font-size: clamp(24px, 3.2vw, 38px); margin-bottom: 50px; }
.sec-title::after { content: ""; display: block; width: 120px; height: 12px; margin: 16px auto 0; background: radial-gradient(circle, var(--orange) 0 5px, transparent 6px) center / 12px 12px no-repeat, linear-gradient(90deg, transparent, var(--mint), transparent) center / 100% 1.5px no-repeat; }
.grid { display: grid; gap: 26px; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }

/* ---------- Scroll reveal: lock on and glide in ---------- */
.js .reveal { opacity: 0; }
.js .reveal.in { opacity: 1; animation: lock 1s cubic-bezier(.2, .75, .2, 1) calc(var(--d, 0) * .12s) backwards; }
@keyframes lock { from { opacity: 0; translate: 0 46px; scale: .95; filter: blur(8px); } 60% { filter: blur(0) drop-shadow(0 0 14px rgba(110, 242, 194, .7)); } }

/* ---------- Perks with radar scopes ---------- */
.perk, .info-card { padding: 32px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-align: center; box-shadow: var(--shadow); }
.perk h3, .info-card h3 { font-size: 17px; }
.perk p, .info-card p { margin: 0; color: var(--muted); font-size: 15px; }
.radar { position: relative; display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; overflow: hidden; background: repeating-radial-gradient(circle, var(--panel) 0 12px, #232A38 13px 14px); border: 2px solid var(--mint-d); color: var(--mint); }
.radar .sweep { animation-duration: 3s; }
.radar .ic { position: relative; width: 28px; height: 28px; }
.perk:hover .radar .sweep, .info-card:hover .radar .sweep { animation-duration: .8s; }
.info-card a { word-break: break-word; }

/* ---------- 3D tilt ---------- */
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s ease-out, box-shadow .3s; }
.tilt:hover { box-shadow: 0 30px 50px -22px rgba(11, 13, 18, .6); }

/* ---------- Departments with spinning gyroscopes ---------- */
.dept { position: relative; display: flex; flex-direction: column; align-items: center; padding: 30px 14px 26px; border-radius: var(--radius); border: 1px solid rgba(201, 209, 222, .14); background: rgba(255, 255, 255, .03); color: #fff; text-decoration: none; transition: background .3s, transform .3s; }
.dept:hover { background: rgba(110, 242, 194, .07); transform: translateY(-6px); }
.gyro { position: relative; display: grid; place-items: center; width: 104px; height: 104px; margin-bottom: 18px; perspective: 400px; transform-style: preserve-3d; }
.gyro .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--orange); transform-style: preserve-3d; animation: gyroA 6s linear infinite; }
.gyro .r2 { inset: 10px; border-color: var(--mint); animation: gyroB 4.5s linear infinite; }
.gyro .core { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--hot); color: #fff; box-shadow: 0 0 26px rgba(255, 107, 44, .6); transition: transform .4s; }
.dept:hover .gyro .ring { animation-duration: 1.6s; }
.dept:hover .core { transform: scale(1.12); }
@keyframes gyroA { from { transform: rotateX(70deg) rotateY(0); } to { transform: rotateX(70deg) rotateY(360deg); } }
@keyframes gyroB { from { transform: rotateY(65deg) rotateX(0); } to { transform: rotateY(65deg) rotateX(360deg); } }
.lock i { position: absolute; width: 18px; height: 18px; border: 2px solid rgba(110, 242, 194, .5); transition: all .35s; }
.lock i:nth-child(1) { left: 10px; top: 10px; border-width: 2px 0 0 2px; }
.lock i:nth-child(2) { right: 10px; top: 10px; border-width: 2px 2px 0 0; }
.lock i:nth-child(3) { left: 10px; bottom: 10px; border-width: 0 0 2px 2px; }
.lock i:nth-child(4) { right: 10px; bottom: 10px; border-width: 0 2px 2px 0; }
.dept:hover .lock i { border-color: var(--orange); width: 26px; height: 26px; }
.dept:hover .lock i:nth-child(odd) { left: 22px; }
.dept:hover .lock i:nth-child(even) { right: 22px; }
.dept:hover .lock i:nth-child(-n+2) { top: 22px; }
.dept:hover .lock i:nth-child(n+3) { bottom: 22px; }
.dept-name { font: 400 14px var(--head); text-align: center; color: #fff; line-height: 1.5; }
.dept-count { margin-top: 4px; font-size: 13px; color: var(--mint); font-weight: 600; letter-spacing: .5px; }

/* ---------- Products ---------- */
.product { display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.product-img { position: relative; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: #fff; }
.product-img img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s; }
.product:hover .product-img img { transform: scale(1.07); }
.tag { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 5px 10px; border-radius: 6px; background: var(--night); color: var(--mint); font: 400 10px var(--head); letter-spacing: 1.5px; }
.tag::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--orange); vertical-align: 1px; animation: blink 1.2s steps(2) infinite; }
.scan { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .3s; background: linear-gradient(var(--mint), var(--mint)) 0 0 / 22px 2px, linear-gradient(var(--mint), var(--mint)) 0 0 / 2px 22px, linear-gradient(var(--mint), var(--mint)) 100% 0 / 22px 2px, linear-gradient(var(--mint), var(--mint)) 100% 0 / 2px 22px, linear-gradient(var(--mint), var(--mint)) 0 100% / 22px 2px, linear-gradient(var(--mint), var(--mint)) 0 100% / 2px 22px, linear-gradient(var(--mint), var(--mint)) 100% 100% / 22px 2px, linear-gradient(var(--mint), var(--mint)) 100% 100% / 2px 22px; background-repeat: no-repeat; background-origin: content-box; padding: 10px; }
.scan::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--mint); box-shadow: 0 0 16px 4px rgba(110, 242, 194, .6); }
.product:hover .scan { opacity: 1; }
.product:hover .scan::after { animation: scanDown 1.4s linear infinite; }
@keyframes scanDown { to { top: 100%; } }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.p-meta { display: inline-block; margin-bottom: 6px; color: var(--orange-d); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.product h3, .dark .product h3 { font-size: 16.5px; margin-bottom: 8px; color: var(--ink); }
.product p { color: var(--muted); font-size: 14.5px; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font: 400 18px var(--head); color: var(--ink); }
.add-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 0; border-radius: 9px; background: var(--night); color: var(--mint); font: 700 13px var(--body); cursor: pointer; transition: background .25s, color .25s, transform .25s; }
.add-btn:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }
.add-btn.added { background: var(--mint-d); color: #fff; }

/* ---------- Split with a 3D HUD screen ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-text h2 { font-size: clamp(24px, 3vw, 36px); }
.dark .split-text p { color: var(--silver); }
.hud { position: relative; perspective: 1300px; padding: 20px 10px; }
.screen { position: relative; padding: 10px; border-radius: 18px; background: linear-gradient(145deg, var(--steel), var(--night)); box-shadow: 0 40px 60px -30px rgba(11, 13, 18, .8), 0 0 0 1px rgba(110, 242, 194, .25); transform: rotateY(-14deg) rotateX(5deg); transition: transform .6s; overflow: hidden; }
.hud:hover .screen { transform: rotateY(-4deg) rotateX(2deg); }
.screen img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.hud.tall { max-width: 440px; margin: 0 auto; }
.hud.tall .screen img { aspect-ratio: 4 / 5; }
.brk i { position: absolute; width: 30px; height: 30px; border: 2.5px solid var(--mint); }
.brk i:nth-child(1) { left: 22px; top: 22px; border-width: 2.5px 0 0 2.5px; }
.brk i:nth-child(2) { right: 22px; top: 22px; border-width: 2.5px 2.5px 0 0; }
.brk i:nth-child(3) { left: 22px; bottom: 22px; border-width: 0 0 2.5px 2.5px; }
.brk i:nth-child(4) { right: 22px; bottom: 22px; border-width: 0 2.5px 2.5px 0; }
.scanline { position: absolute; left: 10px; right: 10px; top: 10px; height: 60px; background: linear-gradient(transparent, rgba(110, 242, 194, .28)); border-bottom: 1.5px solid var(--mint); animation: scanY 4s ease-in-out infinite; }
@keyframes scanY { 50% { top: calc(100% - 70px); } }
.hud-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; background: var(--night); color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .7); animation: bob 5s ease-in-out infinite; }
.hud-chip svg { width: 60px; height: 24px; fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; animation: draw 3s ease-in-out infinite; }
@keyframes draw { from { stroke-dashoffset: 80; } 60%, to { stroke-dashoffset: 0; } }
.hud-chip.c1 { right: -6px; top: 0; }
.hud-chip.c2 { left: -6px; bottom: 6px; animation-delay: -2.5s; }

/* ---------- Launch pad (under $20) ---------- */
.launch .container { position: relative; z-index: 1; }
.pad-floor { position: absolute; left: -20%; right: -20%; bottom: -10%; height: 70%; background-image: linear-gradient(rgba(110, 242, 194, .18) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(110, 242, 194, .18) 1.5px, transparent 1.5px); background-size: 70px 70px; transform: perspective(700px) rotateX(68deg); transform-origin: 50% 100%; animation: floorMove 3s linear infinite; mask-image: linear-gradient(transparent, #000 40%); -webkit-mask-image: linear-gradient(transparent, #000 40%); }
@keyframes floorMove { to { background-position: 0 70px; } }
.js .rocket.reveal.in { animation-name: launch; animation-duration: 1.2s; }
@keyframes launch { from { opacity: 0; translate: 0 160px; scale: .85; } 70% { translate: 0 -10px; } }
.rocket { position: relative; }
.rocket::after { content: ""; position: absolute; z-index: -1; left: 20%; right: 20%; bottom: -26px; height: 40px; border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 154, 92, .9), rgba(255, 107, 44, .4) 45%, transparent 70%); filter: blur(6px); animation: thrust .25s ease-in-out infinite alternate; transition: bottom .3s, height .3s; }
.rocket:hover::after { bottom: -46px; height: 64px; }
@keyframes thrust { to { opacity: .55; transform: scaleX(.85); } }
.launch .grid + .grid, .launch .grid { row-gap: 60px; }

/* ---------- Steps as planets on a route ---------- */
.steps { position: relative; text-align: center; }
.route { position: absolute; left: 17%; right: 17%; top: 58px; height: 2px; background: repeating-linear-gradient(90deg, var(--mint-d) 0 10px, transparent 10px 20px); }
.route i { position: absolute; top: -5px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 16px 4px rgba(255, 107, 44, .6), -14px 0 10px -2px rgba(255, 107, 44, .4); animation: comet 4s ease-in-out infinite; }
@keyframes comet { to { left: calc(100% - 12px); } }
.step { position: relative; z-index: 1; }
.step p { color: var(--muted); }
.planet { position: relative; display: grid; place-items: center; width: 118px; height: 118px; margin: 0 auto 20px; transform-style: preserve-3d; perspective: 500px; }
.ball { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; font: 400 22px var(--head); color: #fff; background: radial-gradient(circle at 35% 30%, #FFB27F, var(--orange) 45%, #8A2C0B); box-shadow: inset -10px -10px 20px rgba(0, 0, 0, .25), 0 18px 30px -12px rgba(224, 82, 26, .8); }
.p2 .ball { background: radial-gradient(circle at 35% 30%, #C6FFE9, var(--mint) 40%, #137454); color: var(--night); box-shadow: inset -10px -10px 20px rgba(0, 0, 0, .2), 0 18px 30px -12px rgba(31, 168, 120, .8); }
.p3 .ball { background: radial-gradient(circle at 35% 30%, #8E9AB1, var(--steel) 50%, var(--night)); }
.pring { position: absolute; inset: 4px -14px; border-radius: 50%; border: 3px solid rgba(255, 154, 92, .7); border-top-color: rgba(110, 242, 194, .9); transform: rotateX(74deg); animation: pring 5s linear infinite; }
@keyframes pring { from { transform: rotateX(74deg) rotateZ(0); } to { transform: rotateX(74deg) rotateZ(360deg); } }

/* ---------- Testimonials as incoming signals ---------- */
.signal { margin: 0; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.js .signal.reveal.in { animation-name: warpIn; }
@keyframes warpIn { from { opacity: 0; scale: .7; translate: 0 30px; filter: blur(10px) brightness(1.6); } }
.sig-top { display: flex; align-items: center; justify-content: space-between; margin: -26px -26px 18px; padding: 12px 18px; border-radius: var(--radius) var(--radius) 0 0; background: var(--night); }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 20px; }
.bars i { width: 4px; height: 100%; border-radius: 2px; background: var(--mint); transform-origin: bottom; animation: eq 1s ease-in-out infinite alternate; }
.bars i:nth-child(2) { animation-delay: -.3s; }
.bars i:nth-child(3) { animation-delay: -.6s; background: var(--orange); }
.bars i:nth-child(4) { animation-delay: -.15s; }
.bars i:nth-child(5) { animation-delay: -.45s; }
.bars i:nth-child(6) { animation-delay: -.75s; background: var(--orange); }
.bars i:nth-child(7) { animation-delay: -.9s; }
@keyframes eq { from { transform: scaleY(.2); } }
.sig-id { font: 400 10px var(--head); letter-spacing: 2px; color: var(--mint); text-transform: uppercase; }
.stars { color: var(--orange); letter-spacing: 3px; font-size: 18px; }
.signal blockquote { margin: 10px 0 20px; font-size: 16px; }
.signal figcaption { display: flex; align-items: center; gap: 12px; }
.initial { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--hot); color: #fff; font: 400 16px var(--head); }
.signal small { display: block; color: var(--muted); }

/* ---------- Blog cards ---------- */
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
.post-img { display: block; overflow: hidden; }
.post-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s; }
.post-card:hover .post-img img { transform: scale(1.06); }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.post-body h3 { font-size: 18px; }
.post-body h3 a { color: var(--ink); text-decoration: none; }
.post-body p { color: var(--muted); font-size: 15px; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }

/* ---------- Porthole (newsletter) ---------- */
.porthole { position: relative; perspective: 1200px; width: min(400px, 100%); margin: 0 auto; }
.port { position: relative; border-radius: 50%; overflow: hidden; aspect-ratio: 1; border: 16px solid var(--steel); box-shadow: 0 0 0 3px #4A5468, 0 50px 70px -30px rgba(0, 0, 0, .9), 0 0 60px rgba(110, 242, 194, .2); animation: sway 8s ease-in-out infinite; }
.port img { width: 100%; height: 100%; object-fit: cover; }
.bolts { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 40px rgba(0, 0, 0, .55); background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .25), transparent 40%); }
@keyframes sway { 0%, 100% { transform: rotateY(-14deg) rotateX(6deg); } 50% { transform: rotateY(14deg) rotateX(-4deg) translateY(-12px); } }
.port-ring { position: absolute; inset: -8% -16%; border-radius: 50%; border: 1.5px dashed rgba(255, 154, 92, .6); transform: rotateX(74deg); animation: pring 10s linear infinite; pointer-events: none; }
.port-ring::before { content: ""; position: absolute; left: 50%; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 16px var(--mint); }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input { flex: 1; min-width: 200px; }
.form-msg { margin: 12px 0 0; font-weight: 700; color: var(--mint-d); }
.dark .form-msg { color: var(--mint); }

/* ---------- Inner page banner: warp-speed stars ---------- */
.banner { position: relative; overflow: hidden; padding: 96px 0 104px; text-align: center; background: radial-gradient(ellipse at 50% 50%, #1E2533, var(--deep) 45%, var(--night) 90%); }
.banner h1 { position: relative; z-index: 2; color: #fff; font-size: clamp(24px, 3.8vw, 44px); max-width: 920px; margin: 0 auto; animation: rise 1s .2s backwards; }
.banner h1::after { content: ""; display: block; width: 120px; height: 2px; margin: 20px auto 0; background: linear-gradient(90deg, var(--orange), var(--mint)); }
.warp i { position: absolute; left: 50%; top: 50%; width: 2px; height: 50px; margin-left: -1px; background: linear-gradient(transparent, var(--mint)); border-radius: 2px; transform: rotate(var(--r)) translateY(-40px); animation: warp 2.4s linear infinite; }
.warp i:nth-child(1) { --r: 0deg; }
.warp i:nth-child(2) { --r: 30deg; animation-delay: -.2s; }
.warp i:nth-child(3) { --r: 60deg; animation-delay: -1.4s; background: linear-gradient(transparent, var(--orange)); }
.warp i:nth-child(4) { --r: 90deg; animation-delay: -.8s; }
.warp i:nth-child(5) { --r: 120deg; animation-delay: -1.9s; }
.warp i:nth-child(6) { --r: 150deg; animation-delay: -.5s; background: linear-gradient(transparent, var(--orange)); }
.warp i:nth-child(7) { --r: 180deg; animation-delay: -1.1s; }
.warp i:nth-child(8) { --r: 210deg; animation-delay: -2.1s; }
.warp i:nth-child(9) { --r: 240deg; animation-delay: -.3s; background: linear-gradient(transparent, var(--orange)); }
.warp i:nth-child(10) { --r: 270deg; animation-delay: -1.6s; }
.warp i:nth-child(11) { --r: 300deg; animation-delay: -.9s; }
.warp i:nth-child(12) { --r: 330deg; animation-delay: -2.3s; }
@keyframes warp { from { opacity: 0; transform: rotate(var(--r)) translateY(-40px) scaleY(.3); } 20% { opacity: 1; } to { opacity: 0; transform: rotate(var(--r)) translateY(-760px) scaleY(2.4); } }
.mini-globe { position: absolute; z-index: 1; right: 6%; top: 50%; width: 150px; height: 150px; margin-top: -75px; perspective: 800px; transform-style: preserve-3d; opacity: .8; }
.mini-globe .globe { width: 150px; height: 150px; margin: -75px; animation-duration: 12s; }
.mini-globe .globe i:nth-child(4) { transform: rotateY(120deg); }
.mini-globe .globe b { border-color: rgba(255, 154, 92, .8); }
.mini-orbit { position: absolute; inset: -20px -40px; border-radius: 50%; border: 1px dashed rgba(201, 209, 222, .4); transform: rotateX(74deg); animation: pring 6s linear infinite; }
.mini-orbit s { position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); }

/* ---------- Shop, blog post and forms ---------- */
.dept-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 42px; }
.dept-nav a { padding: 9px 18px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px; transition: background .2s, color .2s; }
.dept-nav a:hover, .dept-nav a.active { background: var(--night); color: var(--mint); border-color: var(--night); }
.article-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.article-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin-bottom: 24px; box-shadow: var(--shadow); }
.article .lead { font-size: 19px; color: var(--ink); }
.article h2 { font-size: 20px; margin-top: 30px; }
.aside { display: grid; gap: 22px; position: sticky; top: 100px; }
.aside-box { padding: 24px; border-radius: var(--radius); background: var(--sand); border: 1px solid var(--line); }
.aside-box ul { padding-left: 18px; margin: 0; }
.aside-box li + li { margin-top: 10px; }
.policy h2 { font-size: 19px; margin-top: 30px; }
.credits { margin: 40px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.mail-box { padding: 40px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); text-align: center; border-top: 4px solid var(--orange); }
.mail-box .inline-form { justify-content: center; }
.form { display: grid; gap: 14px; padding: 30px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); border-top: 4px solid var(--orange); }
.form h3 { margin: 6px 0 0; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 10px; font: 500 15px var(--body); color: var(--ink); background: #fff; }
input:focus, textarea:focus { outline: none; border-color: var(--mint-d); box-shadow: 0 0 0 4px rgba(110, 242, 194, .25); }
.empty { text-align: center; padding: 50px 20px; }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.cart-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.cart-table th, .cart-table td { padding: 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table th { font: 400 12px var(--head); letter-spacing: 1px; color: var(--mint); background: var(--night); }
.cart-table img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.cart-table input { width: 74px; padding: 8px 10px; }
.remove-btn { border: 0; background: none; color: var(--orange-d); font-weight: 700; cursor: pointer; }
.summary { padding: 26px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); display: grid; gap: 12px; border-top: 4px solid var(--orange); }
.summary h3 { margin: 0 0 6px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; }
.summary-line.total { padding-top: 12px; border-top: 1.5px dashed var(--line); font-weight: 700; font-size: 18px; color: var(--ink); }
.note { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 90; left: 50%; bottom: 24px; display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-radius: 12px; background: var(--night); color: #fff; border: 1px solid var(--mint-d); box-shadow: var(--shadow); transform: translate(-50%, 140%); visibility: hidden; transition: transform .4s, visibility .4s; max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast a { color: var(--mint); font-weight: 700; white-space: nowrap; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; padding: 70px 0 26px; background: var(--night); color: #A9B2C2; }
.horizon { position: absolute; left: -10%; right: -10%; top: -260px; height: 300px; border-radius: 50%; box-shadow: 0 2px 0 rgba(255, 154, 92, .8), 0 18px 60px rgba(255, 107, 44, .3); }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(110, 242, 194, .15); }
.foot-top p { max-width: 520px; margin: 0; }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 36px 0; }
.foot-col h3 { color: var(--mint); font: 400 13px var(--head); letter-spacing: 1.5px; text-transform: uppercase; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-col a { color: #A9B2C2; text-decoration: none; }
.foot-col a:hover { color: var(--orange); }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact .ic { margin-top: 3px; color: var(--orange); flex: none; }
.foot-contact a { word-break: break-word; }
.foot-bottom { padding-top: 22px; border-top: 1px solid rgba(110, 242, 194, .15); text-align: center; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid.four { grid-template-columns: repeat(2, 1fr); }
  .hero-in { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-globe { right: -40px; }
}
@media (max-width: 860px) {
  .main-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; padding: 14px 16px 20px; background: var(--night); border-bottom: 1px solid rgba(110, 242, 194, .25); }
  .main-nav.open { display: flex; }
  .menu-btn { display: grid; place-items: center; }
  .grid.three, .split, .article-wrap, .cart-layout { grid-template-columns: 1fr; }
  .split { gap: 40px; }
  .aside { position: static; }
  .foot-top { flex-direction: column; align-items: flex-start; }
  .route { display: none; }
}
@media (max-width: 560px) {
  .grid.four, .foot-grid { grid-template-columns: 1fr; }
  .grid.four.depts { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .dept { padding: 26px 8px 20px; }
  .dept-name { font-size: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding-top: 46px; }
  .orbit-stage { height: 370px; }
  .radar-bg, .cam { scale: .54; }
  .chip.ch1 { top: 0; }
  .chip.ch2 { bottom: 10px; }
  .hero-stats li { padding: 12px 8px; }
  .logo img { height: 40px; }
  .section { padding: 70px 0; }
  .mini-globe { opacity: .35; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .intro { display: none; }
  .js .reveal { opacity: 1; }
  .sat { transform: rotateZ(calc(-1 * var(--a))) rotateX(-74deg); }
  .track.t1 { transform: rotateX(74deg); }
}
