/* StarNovaSoft — monochrome black, built from the Figma hero (node 70:213).
   Figma frame is 1955px wide: 129px side margins, 1697px content. Values below scale from that. */
:root {
  --bg: #fff;
  --surface: #f6f6f6;
  --surface-2: #eeeeee;
  --raised: #1f1f1f;           /* "Talk To Sales" button */
  --line: #e8e8e8;
  --line-2: #d9d9d9;
  --text: #000;
  --muted: #5c5c5c;
  --dim: #8a8a8a;
  --accent: #1e7188;           /* "Contact Us" button */
  --accent-hover: #24839d;
  --radius: 20px;
  --wrap: 1700px;
  --gutter: clamp(20px, 6.6vw, 129px);
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* Dark zones: header, hero, footer (and the contact page) keep the Figma black. */
.site-header, .hero, .dark-zone, body.page-contact {
  --bg: #000; --surface: #0b0b0b; --surface-2: #121212; --line: #1c1c1c; --line-2: #2a2a2a;
  --text: #fff; --muted: #9a9a9a; --dim: #6b6b6b;
  background: var(--bg); color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; background: #000; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* Type */
.display { font-size: clamp(40px, 4.3vw, 86px); line-height: .98; letter-spacing: -.045em; font-weight: 700; }
h2 { font-size: clamp(32px, 3.4vw, 64px); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; }
h3 { font-size: clamp(19px, 1.3vw, 24px); line-height: 1.2; letter-spacing: -.025em; font-weight: 700; }
.hero-sub { margin-top: clamp(22px, 2.6vw, 52px); max-width: 540px; font-size: clamp(16px, .95vw, 18px); line-height: 1.4; letter-spacing: -.025em; }
.muted { color: var(--muted); font-size: 17px; max-width: 470px; letter-spacing: -.02em; }
.eyebrow { display: block; font-size: 14px; letter-spacing: -.01em; color: var(--muted); margin-bottom: 20px; font-weight: 500; }

/* Buttons — Figma: 172×73 @1955, radius 8, 20px medium */
/* Buttons: HUD style everywhere (frame + corner ticks + indicator square) */
.btn { --c: currentColor; --fill: transparent; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 28px; border: 0; border-radius: 0; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  background: linear-gradient(var(--c), var(--c)) left top / 10px 2px no-repeat, linear-gradient(var(--c), var(--c)) left top / 2px 10px no-repeat, linear-gradient(var(--c), var(--c)) right top / 10px 2px no-repeat, linear-gradient(var(--c), var(--c)) right top / 2px 10px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 10px 2px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 2px 10px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 10px 2px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 2px 10px no-repeat, linear-gradient(90deg, rgba(77,162,255,.28), rgba(77,162,255,.1)) left center / 0% 100% no-repeat, var(--fill);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 28%, transparent); transition: background-size .45s var(--ease), box-shadow .25s, color .25s; }
.btn::before { content: ""; width: 6px; height: 6px; background: currentColor; flex: none; opacity: .85; }
.btn:hover { background-size: 10px 2px, 2px 10px, 10px 2px, 2px 10px, 10px 2px, 2px 10px, 10px 2px, 2px 10px, 100% 100%, auto; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 60%, transparent); }
.btn:active { transform: translateY(1px); }
.btn-dark { color: #fff; --fill: rgba(255,255,255,.04); }
.btn-accent { color: #fff; --fill: rgba(31,116,255,.85); box-shadow: inset 0 0 0 1px rgba(140,195,255,.7); }
.btn-accent::before { background: #9fd0ff; }
.btn-accent:hover { --fill: rgba(31,116,255,1); box-shadow: inset 0 0 0 1px #cfe4ff, 0 0 30px -6px rgba(31,116,255,.7); }
.btn-light { color: #000; --fill: #fff; }
.btn-block { width: 100%; }
.text-link { display: inline-flex; gap: 8px; margin-top: 22px; font-weight: 500; }
.text-link span { transition: transform .25s var(--ease); }
a:hover .text-link span { transform: translateX(4px); }
.round-btn { width: 48px; height: 48px; border-radius: 0; border: 0; background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 18px; transition: background .2s; }
.round-btn:hover { background: #2b2b2b; }
.round-btn:disabled { opacity: .35; cursor: default; }

/* Header — logo, then Product / Company / Contact Us (Figma); full-width bar like webflow.com */
.site-header { --hh: clamp(64px, 4.4vw, 84px); position: fixed; left: 0; right: 0; top: 0; z-index: 50; background: transparent; }
.site-header .header-bar { transition: background .3s, box-shadow .3s; }
.site-header.scrolled .header-bar, .site-header.open .header-bar, .site-header.menu-open .header-bar { background: rgba(0,0,0,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header-bar { position: relative; z-index: 2; display: flex; align-items: center; max-width: none; margin: 0; padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2)); height: clamp(64px, 4.4vw, 84px); background: transparent; }
.brand img { width: clamp(150px, 11.4vw, 222px); }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 1.9vw, 34px); margin-left: clamp(28px, 2.6vw, 48px); }
.nav-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; border: 0; background: none; font-size: 16px; font-weight: 600; letter-spacing: -.02em; color: #fff; transition: opacity .2s; }
.nav-link:hover { opacity: .7; }
.nav-link[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.chev { width: 12px; height: 12px; transition: transform .25s var(--ease); }
[aria-expanded="true"] > .chev { transform: rotate(180deg); }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 8px; border: 0; background: var(--raised); position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.site-header.open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.site-header.open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

.mega { position: fixed; left: 0; right: 0; top: var(--header-h, 132px); background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
.nav-item.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner.mega-4 { grid-template-columns: 1.2fr .7fr .7fr 1fr; }
.mega-inner { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 48px; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 40px var(--gutter) 48px; }
.mega-label { display: block; font-size: 13px; color: var(--dim); margin-bottom: 14px; }
.mega-link { display: block; padding: 14px 16px; margin: 0 -16px; border-radius: 10px; transition: background .2s; }
.mega-link:hover { background: var(--surface-2); }
.mega-link b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.03em; }
.mega-link span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; max-width: 440px; }
.mega-sub { display: block; padding: 9px 0; color: var(--muted); font-size: 16px; transition: color .2s; }
.mega-sub:hover { color: var(--text); }
.mega-feature { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.mega-feature:hover { border-color: var(--line-2); }
.mega-feature img { border-radius: 8px; margin-bottom: 10px; }
.mega-feature b { font-size: 16px; font-weight: 600; }
.mega-feature > span { color: var(--muted); font-size: 14px; }
.mega-scrim { position: fixed; inset: 0; z-index: 1; background: rgba(0,0,0,.6); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.site-header.menu-open .mega-scrim { opacity: 1; visibility: visible; }

/* Hero — left headline, right buttons, full-width media fading into black */
.hero { --fx-h: clamp(560px, 84vh, 920px); position: relative; overflow: hidden; padding: clamp(64px, 4.4vw, 84px) 0 0; }
.hero > .wrap { position: relative; z-index: 1; }
.hero-grid { min-height: clamp(280px, 40vh, 480px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(40px, 6vh, 80px) 0 clamp(32px, 5vh, 64px); }
.hero-copy { max-width: 1100px; display: flex; flex-direction: column; align-items: center; }
.hero .display { font-size: clamp(38px, 4.6vw, 88px); line-height: 1.02; letter-spacing: -.045em; }
.page-home .hero .display { white-space: nowrap; }
@media (max-width: 640px) { .page-home .hero .display { white-space: normal; } }
.hero .hero-sub { margin-left: auto; margin-right: auto; max-width: 600px; color: #cfcfcf; }
.hero-actions { display: flex; gap: clamp(12px, 1.2vw, 23px); flex-wrap: wrap; justify-content: center; flex: none; margin-top: clamp(28px, 2.6vw, 44px); }
.cta .hero-actions { margin-top: 0; }

/* Hero backdrop (sui.io/defi style): dot grid + grainy light columns */
.hero-fx { position: absolute; left: 0; right: 0; top: 0; height: var(--fx-h); z-index: 0; pointer-events: none; background: #000; isolation: isolate; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%); }
.hero-fx::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.17) 1px, transparent 1.5px); background-size: 14px 14px; }
.hero-fx::after { content: ""; position: absolute; inset: -50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); opacity: .5; mix-blend-mode: overlay; }
.fx-dots { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.hero-horizon { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 38%, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 38%, #000 62%, transparent 100%); }
.hero-horizon .hz-deep { opacity: .9; }
.hero-horizon .hz-crest { filter: blur(10px); animation: hz-slide 34s linear infinite, hz-breathe 9s ease-in-out -5s infinite alternate; }
.hero-fx.has-canvas::before { display: none; }
.fx-bars { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(10, 1fr); }
.fx-bars i { position: relative; will-change: transform; animation: bar-float var(--s, 8s) ease-in-out calc(var(--d, 0s) * -6) infinite alternate; }
.fx-bars i::before { content: ""; position: absolute; left: 0; right: 0; top: var(--t); height: var(--h); background: linear-gradient(180deg, rgba(31,116,255,.25) 0%, #1f74ff 38%, #1559d8 62%, rgba(8,30,90,0) 100%); clip-path: inset(100% 0 0 0); animation: bar-in 1.4s var(--ease) calc(var(--d, 0s) + .15s) forwards; }
.fx-bars .b-dark-top::before { background: linear-gradient(180deg, #1b2230 0%, #1f74ff 42%, #0f3f9e 70%, rgba(8,30,90,0) 100%); }
.fx-bars .b-fade-grey::before { background: linear-gradient(180deg, #1f74ff 0%, #2b67dc 40%, #394357 72%, rgba(30,34,44,0) 100%); }
.fx-bars .b-grey::before { background: linear-gradient(180deg, #2a3242 0%, #1b2130 55%, rgba(20,24,32,0) 100%); }
.fx-bars .b-light::before { background: linear-gradient(180deg, #aebbd4 0%, #7084ad 34%, #1f74ff 68%, rgba(8,30,90,0) 100%); }
@keyframes bar-in { to { clip-path: inset(0 0 0 0); } }
@keyframes bar-float { 0% { transform: translateY(-7%); } 35% { transform: translateY(3%); } 70% { transform: translateY(-2%); } 100% { transform: translateY(8%); } }
/* grain that lives only on the columns */
.fx-bars i::after { content: ""; position: absolute; left: 0; right: 0; top: var(--t); height: var(--h); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.25' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 160px 160px; mix-blend-mode: overlay; opacity: .55; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); clip-path: inset(100% 0 0 0); animation: bar-in 1.4s var(--ease) calc(var(--d, 0s) + .15s) forwards; }
@keyframes bar-grain { 0% { background-position: 0 0; } 20% { background-position: -40px 30px; } 40% { background-position: 30px -50px; } 60% { background-position: -60px -20px; } 80% { background-position: 50px 40px; } 100% { background-position: 0 0; } }
.hero-media { position: relative; z-index: 1; margin-top: 0; border-radius: clamp(16px, 2.05vw, 40px) clamp(16px, 2.05vw, 40px) 0 0; overflow: hidden; background: linear-gradient(180deg, #d9d9d9 0%, #cacaca 20%, #6b6b6b 55%, #101010 85%, #000 100%); aspect-ratio: 16 / 8.2; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 22%, rgba(0,0,0,.55) 52%, transparent 86%); mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0,0,0,.55) 80%, transparent 100%); }
.play-btn { white-space: nowrap; position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); z-index: 2; display: inline-flex; align-items: center; gap: 14px; padding: 10px 26px 10px 10px; border: 0; border-radius: 999px; background: rgba(0,0,0,.72); color: #fff; font-size: clamp(16px, 1.02vw, 20px); font-weight: 500; letter-spacing: -.03em; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 20px 50px -10px rgba(0,0,0,.6); transition: transform .3s var(--ease), background .2s; }
.play-btn:hover { background: #000; transform: translate(-50%, -50%) scale(1.04); }
.play-btn i { display: grid; place-items: center; width: clamp(48px, 3.4vw, 64px); height: clamp(48px, 3.4vw, 64px); border-radius: 50%; background: #fff; color: #000; }
.play-btn i svg { width: 40%; height: 40%; margin-left: 8%; fill: currentColor; }
.play-btn small { color: var(--muted); font-size: .85em; margin-left: 2px; }
.video-modal { padding: 0; border: 0; background: transparent; width: min(1080px, 86vw); max-width: none; overflow: visible; }
.video-modal::backdrop { background: rgba(0,0,0,.92); }
.video-modal video { width: 100%; border-radius: 12px; background: #000; }
.video-modal button { position: absolute; top: -56px; right: 0; width: 44px; height: 44px; border-radius: 8px; border: 0; background: var(--raised); color: #fff; font-size: 22px; }
.hero-video, .hero-shot { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 8px; }
.facts li { padding: 26px 24px 0 0; }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.facts b { display: block; font-weight: 600; font-size: 17px; letter-spacing: -.03em; }
.facts span { color: var(--muted); font-size: 15px; }

/* Black → blue → white transition with film grain (sui.io style) */
.fade-band { position: relative; overflow: hidden; height: clamp(240px, 24vw, 460px); background: linear-gradient(180deg, #000 0%, #000 4%, #031330 22%, #0b3d8c 40%, #1b7cff 52%, #4d9dff 62%, #a9cfff 78%, #e9f3ff 90%, #fff 100%); pointer-events: none; }
.fade-band.to-dark { background-image: linear-gradient(0deg, #000 0%, #000 12%, #031330 26%, #0b3d8c 40%, #1b7cff 52%, #4d9dff 62%, #a9cfff 78%, #e9f3ff 90%, #fff 100%); }
/* a soft light streak drifting across the blue */
.fade-band::before { content: ""; position: absolute; left: -40%; right: -40%; top: 34%; height: 40%; background: radial-gradient(40% 50% at 50% 50%, rgba(150, 205, 255, .55), transparent 72%); will-change: transform, opacity; animation: band-drift 14s ease-in-out infinite alternate, band-pulse 5s ease-in-out infinite alternate; }
.fade-band.to-dark::before { top: 26%; }
.fade-band > .sweep { position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, #fff 0%, #fff calc(var(--p, 0) * 70%), rgba(255,255,255,0) calc(var(--p, 0) * 70% + 35%)); }
.fade-band.to-dark > .sweep { background: linear-gradient(0deg, #000 0%, #000 calc(var(--p, 0) * 70%), rgba(0,0,0,0) calc(var(--p, 0) * 70% + 35%)); }
.fade-band::after { z-index: 2; }
@keyframes band-drift { from { transform: translateX(-22%); } to { transform: translateX(22%); } }
@keyframes band-pulse { from { opacity: .35; } to { opacity: 1; } }
.fade-band::after { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); inset: 0; opacity: .45; mix-blend-mode: soft-light; -webkit-mask-image: linear-gradient(180deg, transparent 10%, #000 35%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 10%, #000 35%, #000 78%, transparent 100%); }
.hero .hero-media { z-index: 1; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 4%); } 40% { transform: translate(5%, -3%); } 60% { transform: translate(-3%, -6%); } 80% { transform: translate(7%, 5%); } 100% { transform: translate(-4%, 2%); } }
.hero + .section, .fade-band + .section { padding-top: 0; }
.hero + .section .section-head { margin-bottom: clamp(32px, 3vw, 56px); }
/* Statement set inside the blue band (home) */
.fade-band.has-text { height: auto; display: flex; flex-direction: column; align-items: center; padding: clamp(70px, 7vw, 130px) 0 clamp(120px, 11vw, 200px); }
.fade-band.has-text .hud-actions, .fade-band.has-text .band-text { position: relative; z-index: 3; pointer-events: auto; }
.fade-band.has-text > .sweep { background: linear-gradient(0deg, #fff 0%, #fff calc(var(--p, 0) * 28%), rgba(255,255,255,0) calc(var(--p, 0) * 28% + 22%)); }
.band-text { position: relative; z-index: 3; max-width: none; margin: 0; padding: 0 var(--gutter); text-align: center; font-size: clamp(22px, 2vw, 32px); font-weight: 600; line-height: 1.22; letter-spacing: -.03em; color: #fff; text-shadow: 0 2px 24px rgba(0,10,40,.35); }

@media (min-width: 900px) { .band-text span { display: block; white-space: nowrap; } }

/* HUD buttons: thin frame, floating corner brackets, scan fill + decode text on hover */
.hud-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: clamp(28px, 2.6vw, 44px); }
.hud-btn { --c: #fff; position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 16px 30px; font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff;
  background: linear-gradient(90deg, rgba(77,162,255,.26), rgba(77,162,255,.1)) left center / 0% 100% no-repeat, rgba(0,8,24,.32);
  border: 1px solid rgba(255,255,255,.22); transition: background-size .45s var(--ease), border-color .3s; }
.hud-btn::before, .hud-btn::after { content: ""; position: absolute; inset: -6px; pointer-events: none; transition: inset .3s var(--ease); }
.hud-btn::before { background: linear-gradient(var(--c), var(--c)) left top / 10px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) left top / 1.5px 10px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 10px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 1.5px 10px no-repeat; }
.hud-btn::after { background: linear-gradient(var(--c), var(--c)) right top / 10px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) right top / 1.5px 10px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 10px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 1.5px 10px no-repeat; animation-delay: -1.3s; }
.hud-btn i { width: 5px; height: 5px; background: #4da2ff; animation: hud-blink 2.2s ease-in-out infinite; }
.hud-label { display: inline-block; width: var(--w, auto); white-space: nowrap; overflow: hidden; text-align: left; }
.hud-btn:hover { background-size: 100% 100%, auto; border-color: rgba(255,255,255,.5); }
.hud-btn:hover::before, .hud-btn:hover::after { inset: -8px; }
.hud-dim { --c: rgba(255,255,255,.7); color: rgba(255,255,255,.88); }
.hud-dim i { background: #fff; }
@keyframes hud-blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.dark-zone { padding-bottom: clamp(90px, 9vw, 170px); }
.dark-zone .card { background: var(--surface); }

/* Sections */
.section { padding: clamp(90px, 9vw, 170px) 0 0; }
.section:last-of-type { padding-bottom: clamp(90px, 9vw, 170px); }
.section-head { margin-bottom: clamp(40px, 4vw, 72px); }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }

/* Cards & frames */
.card { position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); padding: clamp(26px, 2.2vw, 40px); transition: border-color .3s, transform .5s var(--ease); }
a.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card h3 { font-size: clamp(26px, 2vw, 38px); letter-spacing: -.035em; margin: 10px 0 10px; }
.card p { color: var(--muted); max-width: 440px; }
.card-kicker { font-size: 14px; color: var(--dim); font-weight: 500; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.browser { position: relative; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line-2); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.browser-bar .url { margin: 0 auto; transform: translateX(-20px); font-size: 12px; color: var(--muted); background: var(--bg); padding: 3px 14px; border-radius: 6px; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser img { width: 100%; }
.phone { border-radius: clamp(22px, 2.4vw, 38px); overflow: hidden; border: clamp(4px, .45vw, 7px) solid #111; background: #111; box-shadow: 0 30px 60px -24px rgba(0,0,0,.45); }
.phone img { width: 100%; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.bento .card { min-height: 480px; }
.bento-wide { grid-column: 1 / -1; flex-direction: row !important; align-items: center; gap: 48px; min-height: 540px !important; }
.bento-copy { position: relative; z-index: 2; max-width: 460px; }
.bento-wide .bento-copy { flex: 0 0 34%; }
.bento-visual { flex: 1; margin: 0 calc(-1 * clamp(26px, 2.2vw, 40px) - 60px) -120px 0; transform: translateY(20px); transition: transform .6s var(--ease); }
.bento-wide:hover .bento-visual { transform: translateY(6px); }
.bento-flip .bento-visual { order: -1; margin: 0 0 -120px calc(-1 * clamp(26px, 2.2vw, 40px) - 60px); }
.bento-flip:hover .bento-visual { transform: translateY(20px); }
.bento-video .browser { aspect-ratio: auto; }
.card-video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; background: #f2f3f5; }
.bento-video .play-btn { top: 38%; }
.product-logo { margin: 14px 0 14px !important; line-height: 0; }
.product-logo img { height: clamp(30px, 2.4vw, 42px); width: auto; }
.mega-logo { display: block; line-height: 0; margin-bottom: 2px; }
.mega-logo img { height: 22px; width: auto; }
/* Product stage (home): HUD tabs + one themed stage */
.prod .prod-tabs { grid-template-columns: repeat(3, 1fr); gap: 0 28px; margin-bottom: 28px; }
.prod .prod-tabs button { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 14px; padding: 20px 0 4px; border: 0; border-radius: 0; background: none; box-shadow: none; text-align: left; opacity: .45; transition: opacity .3s; }
.prod .prod-tabs button::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(0,0,0,.14); }
.prod .prod-tabs button:hover, .prod .prod-tabs button[aria-selected="true"] { opacity: 1; background: none; }
.prod .prod-tabs .tab-progress { top: -1px; bottom: auto; left: 0; height: 3px; background: #1f74ff; }
.prod .prod-tabs .pt-idx { grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .1em; color: #8a8f99; }
.prod .prod-tabs .pt-idx::before { content: ""; width: 6px; height: 6px; border: 1px solid currentColor; transition: background .3s, border-color .3s; }
.prod .prod-tabs button[aria-selected="true"] .pt-idx { color: #1f74ff; }
.prod .prod-tabs button[aria-selected="true"] .pt-idx::before { background: #1f74ff; border-color: #1f74ff; }
.prod .prod-tabs button img { height: 22px; width: auto; filter: grayscale(1); transition: filter .3s; }
.prod .prod-tabs button img[alt="PALHEY"] { height: 28px; margin: -3px 0; }
.prod .prod-tabs button[aria-selected="true"] img, .prod .prod-tabs button:hover img { filter: none; }
.prod .prod-tabs button span:not(.pt-idx) { grid-column: 2; display: block; margin: 0; font: 500 11px/1.3 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; color: #6b7280; }
.prod-stage { position: relative; }
.prod-panel { position: relative; overflow: hidden; border-radius: 14px; height: clamp(400px, 34vw, 580px); display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 4%; padding: 0 0 0 5%; animation: stage-in .7s var(--ease); }
.prod .prod-panel[hidden] { display: none !important; }
@keyframes stage-in { from { opacity: 0; transform: translateY(14px); } }
.pp-copy { position: relative; z-index: 2; }
.pp-kicker { display: inline-block; font: 600 11px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; opacity: .75; margin-bottom: 16px; }
.prod-panel h3 { font-size: clamp(26px, 2.5vw, 46px); line-height: 1.04; letter-spacing: -.045em; font-weight: 700; margin-bottom: 14px; }
.prod-panel p { font-size: clamp(14px, 1vw, 17px); max-width: 420px; opacity: .8; }
.pp-actions { justify-content: flex-start; flex-wrap: nowrap; margin-top: 26px; gap: 18px; }
.pp-actions .hud-btn { padding: 12px 18px; font-size: 11px; letter-spacing: .12em; gap: 10px; }
.pp-media { position: relative; align-self: end; margin: 0 -1px -1px 0; border-radius: 12px 0 0 0; border: 0; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); transition: transform .6s var(--ease); }
.pp-media .play-btn { top: 46%; }
.pp-tn { color: #fff; background: radial-gradient(70% 90% at 85% 10%, #4da2ff 0%, transparent 55%), linear-gradient(135deg, #061233 0%, #0d2a8a 45%, #1f74ff 100%); }
.pp-tn::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.18) 1px, transparent 1.5px); background-size: 16px 16px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 60%); mask-image: linear-gradient(90deg, #000, transparent 60%); }
.pp-rf { color: #111; background: #ff82d8; }
.pp-rf::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 90% 0%, rgba(255,255,255,.45), transparent 60%); }
.pp-rf h3 { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-weight: 500; letter-spacing: -.03em; font-size: clamp(22px, 2.1vw, 38px); line-height: 1.15; }
.pp-rf .pp-media { box-shadow: 0 40px 80px -30px rgba(90,0,60,.55); }
.hud-btn.hud-ink { --c: #111; color: #111; background-color: rgba(255,255,255,.35); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.hud-btn.hud-ink i { background: #111; }
.hud-btn.hud-ink:hover { background-color: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px rgba(0,0,0,.5); }
.hud-btn.hud-ink.hud-dim { --c: rgba(0,0,0,.55); color: rgba(0,0,0,.8); background-color: transparent; }
/* PALHEY inside the stage: same artwork, fitted to the shorter stage */
.prod .prod-panel.pal-card { display: block; padding: 0; aspect-ratio: auto; height: clamp(400px, 34vw, 580px); }
.prod .pal-phone { left: 40cqw; top: -2cqw; width: 72cqw; }
.prod .pal-crown { left: 60cqw; top: -4cqw; width: 19cqw; }
.prod .pal-flame { left: 80cqw; top: -9cqw; width: 24cqw; }
.prod .pal-martini { left: 80cqw; top: 17cqw; width: 32cqw; }
.prod .pal-logo { width: 10cqw; top: 4cqw; left: 5cqw; }
.prod .pal-copy { top: 16cqw; left: 5cqw; width: 36cqw; gap: 0; }
.prod .pal-title { font-size: 3.6cqw; }
@media (max-width: 900px) {
  .prod .prod-tabs { gap: 0 14px; margin-bottom: 18px; }
  .prod .prod-tabs button { grid-template-columns: 1fr; padding-top: 14px; }
  .prod .prod-tabs .pt-idx { grid-row: auto; }
  .prod .prod-tabs button span:not(.pt-idx) { display: none; }
  .prod .prod-tabs button img { height: 17px; } .prod .prod-tabs button img[alt="PALHEY"] { height: 24px; }
  .prod-panel { height: auto; grid-template-columns: 1fr; padding: 32px 22px 0; gap: 26px; }
  .pp-media { margin: 0 -22px 0 0; }
  .pp-media .play-btn { font-size: 14px; padding: 6px 16px 6px 6px; gap: 10px; } .pp-media .play-btn i { width: 36px; height: 36px; } .pp-media .play-btn small { display: none; }
  .prod .prod-panel.pal-card { height: auto; aspect-ratio: 4 / 5; }
  .prod .pal-logo { width: 24cqw; left: 6cqw; top: 6cqw; }
  .prod .pal-copy { left: 6cqw; top: 30cqw; width: 86cqw; gap: 0; }
  .prod .pal-title { font-size: 8cqw; }
  .prod .pal-phone { left: -6cqw; top: 66cqw; width: 130cqw; }
  .prod .pal-flame { left: 66cqw; top: -6cqw; width: 40cqw; }
  .prod .pal-crown { left: 54cqw; top: 56cqw; width: 30cqw; }
  .prod .pal-martini { left: 70cqw; top: 88cqw; width: 46cqw; }
}

/* PALHEY card (Figma 121:113) */
.pal-card { grid-column: 1 / -1; position: relative; display: block; overflow: hidden; container-type: inline-size; aspect-ratio: 1695 / 863; border-radius: var(--radius); color: #fff; background: linear-gradient(178.6deg, #0f0709 2.2%, #640092 135%); isolation: isolate; }
.pal-obj { position: absolute; display: block; pointer-events: none; }
.pal-obj img { display: block; width: 100%; height: auto; }
.pal-flame { left: 77.1cqw; top: -10.2cqw; width: 30.9cqw; rotate: 23.15deg; animation: pal-bob 6s ease-in-out infinite; }
.pal-crown { left: 58.9cqw; top: -4.3cqw; width: 24.6cqw; rotate: -28.85deg; animation: pal-bob 5s ease-in-out -2s infinite; }
.pal-phone { left: 30.9cqw; top: -1.5cqw; width: 92cqw; height: auto; transition: transform .8s var(--ease); }
.pal-martini { left: 74.3cqw; top: 25.5cqw; width: 43.6cqw; rotate: -30deg; animation: pal-bob 7s ease-in-out -4s infinite; }
.pal-logo { position: absolute; left: 4.54cqw; top: 4.6cqw; width: 13.7cqw; height: auto; }
.pal-copy { position: absolute; left: 4.54cqw; top: 20.8cqw; width: 40.9cqw; display: flex; flex-direction: column; gap: 2.6cqw; }
.pal-title { font-size: 4.79cqw; line-height: .975; font-weight: 300; letter-spacing: -.06em; }
.pal-card .text-link { margin: 0; color: #fff; font-size: max(15px, 1.15cqw); }
a.pal-card:hover .pal-phone { transform: translateY(-1.2cqw) rotate(-1deg); }
@keyframes pal-bob { 50% { translate: 0 -1.2cqw; } }
.pal-hero { margin-top: clamp(20px, 3vw, 48px); }
.pal-media { display: flex; justify-content: flex-end; overflow: hidden; height: 260px; margin-right: calc(-1 * clamp(26px, 2.2vw, 40px)); }
.pal-media img { width: 150%; max-width: none; transform: translateX(14%); }
.mega-logo img[alt="PALHEY"] { height: 30px; }
.product-logo img[alt="PALHEY"] { height: clamp(44px, 3.6vw, 60px); }
@media (max-width: 640px) {
  .pal-card { aspect-ratio: 4 / 5; }
  .pal-logo { width: 26cqw; left: 6cqw; top: 6cqw; }
  .pal-copy { left: 6cqw; top: 34cqw; width: 80cqw; }
  .pal-title { font-size: 9cqw; }
  .pal-phone { left: -10cqw; top: 58cqw; width: 150cqw; }
  .pal-flame { left: 62cqw; top: -8cqw; width: 50cqw; }
  .pal-crown { left: 40cqw; top: 46cqw; width: 34cqw; }
  .pal-martini { left: 66cqw; top: 82cqw; width: 54cqw; }
}
.bento-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.bento-wide .check-list { margin-top: 20px; }
.bento-pal { min-height: 320px !important; }
.bento-phones { display: flex; gap: 16px; justify-content: flex-end; margin-top: auto; margin-bottom: -160px; padding-top: 34px; }
.bento-phones .phone { width: 44%; max-width: 220px; transition: transform .6s var(--ease); }
.bento-phones .phone:first-child { transform: translateY(40px); }
a.card:hover .bento-phones .phone { transform: translateY(-12px); }
a.card:hover .bento-phones .phone:first-child { transform: translateY(26px); }

/* Radar (PALHEY) — monochrome */
.radar { position: absolute; right: -60px; bottom: -60px; width: 360px; aspect-ratio: 1; pointer-events: none; }
.radar i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--text) 50%, transparent); opacity: 0; animation: radar 4.5s var(--ease) infinite; }
.radar i:nth-child(2) { animation-delay: 1.5s; } .radar i:nth-child(3) { animation-delay: 3s; }
@keyframes radar { 0% { transform: scale(.15); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
.radar b { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 6px color-mix(in srgb, var(--text) 8%, transparent); }
.radar b:nth-of-type(1) { left: 30%; top: 34%; } .radar b:nth-of-type(2) { left: 62%; top: 26%; } .radar b:nth-of-type(3) { left: 46%; top: 62%; }
.radar.big { width: 440px; right: -90px; bottom: -110px; }
.radar-media { position: relative; height: 200px; margin-top: auto; }
.radar-media .radar { width: 300px; right: -80px; bottom: -140px; }
.radar-stage { display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 40%, #1a1a1a, #000 70%); }
.radar.huge { position: absolute; width: min(70%, 720px); left: 50%; top: 45%; right: auto; bottom: auto; transform: translate(-50%, -50%); }
.avatar { position: absolute; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font-weight: 600; background: #1f1f1f; border: 1px solid var(--line-2); animation: float 6s ease-in-out infinite; }
.avatar.a1 { left: 28%; top: 22%; } .avatar.a2 { right: 26%; top: 28%; animation-delay: -2s; } .avatar.a3 { left: 33%; top: 60%; animation-delay: -4s; } .avatar.a4 { right: 31%; top: 58%; animation-delay: -1s; }
.avatar.me { left: 50%; top: 45%; width: 80px; height: 80px; transform: translate(-50%, -50%); background: #fff; color: #000; animation: none; box-shadow: 0 0 0 12px rgba(255,255,255,.06), 0 0 80px rgba(255,255,255,.25); }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Tabs */
.tab-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 20px; }
.tab-list button { position: relative; overflow: hidden; text-align: left; padding: 18px 20px 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); transition: background .25s, border-color .25s; }
.tab-list button b { display: block; font-weight: 600; font-size: 17px; letter-spacing: -.03em; color: var(--muted); transition: color .25s; }
.tab-list button span { display: block; font-size: 14px; color: var(--dim); margin-top: 3px; }
.tab-list button[aria-selected="true"] { background: var(--surface-2); border-color: var(--line-2); }
.tab-list button[aria-selected="true"] b { color: var(--text); }
.tab-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--text); }
.tab-list button[aria-selected="true"] .tab-progress { animation: progress var(--dur, 6s) linear forwards; }
.tabs.paused .tab-progress { animation-play-state: paused; }
@keyframes progress { to { width: 100%; } }
.tab-panel { animation: panel-in .6s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.principles li { border-top: 1px solid var(--line-2); padding-top: 24px; }
.principles .num { font-size: 14px; color: var(--dim); }
.principles h3 { font-size: clamp(32px, 3vw, 54px); letter-spacing: -.045em; margin: 28px 0 14px; }
.principles p { color: var(--muted); max-width: 380px; }

/* Ecosystem */
.eco-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.eco-grid h2 { margin-bottom: 22px; }
.check-list { display: grid; gap: 12px; margin-top: 28px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #1f1f1f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.5 2.5L14 7.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.eco-diagram { position: relative; aspect-ratio: 520 / 420; }
.eco-diagram > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.eco-path { fill: none; stroke: color-mix(in srgb, var(--text) 35%, transparent); stroke-width: 1.5; stroke-dasharray: 5 7; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.eco-pulse { fill: var(--text); }
.eco-node { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; padding: 16px 22px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); white-space: nowrap; }
.eco-node b { font-size: 15px; } .eco-node small { font-size: 12px; color: var(--muted); }
.n-room { left: 16%; top: 50%; } .n-travel { left: 50%; top: 50%; background: var(--text); color: var(--bg); border-color: var(--text); } .n-travel small { color: var(--dim); } .n-agency { left: 84%; top: 26%; } .n-guest { left: 84%; top: 74%; }

/* Ecosystem map (home) */
.eco-map { --mx: -999px; --my: -999px; position: relative; aspect-ratio: 1000 / 470; margin-top: 10px; background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.09) 1px, transparent 1.4px) 0 0 / 22px 22px; }
.eco-map::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 1px 1px, rgba(160,205,255,.95) 1.3px, transparent 1.8px) 0 0 / 22px 22px; -webkit-mask-image: radial-gradient(220px circle at var(--mx) var(--my), #000, transparent 70%); mask-image: radial-gradient(220px circle at var(--mx) var(--my), #000, transparent 70%); }
.eco-map::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(31,116,255,.12), transparent 70%); }
.eco-n { transition: box-shadow .35s, translate .35s var(--ease); z-index: 1; }
.eco-n:hover { translate: 0 -4px; box-shadow: inset 0 0 0 1px rgba(160,205,255,.6), 0 18px 50px -18px rgba(31,116,255,.7); }
.eco-l { transition: opacity .3s, stroke-width .3s; }
.eco-map[data-focus] .eco-l { opacity: .25; }
.eco-map[data-focus="rf"] .eco-out, .eco-map[data-focus="rf"] .eco-in, .eco-map[data-focus="tn"] .eco-l, .eco-map[data-focus="ag"] .eco-b2b, .eco-map[data-focus="tr"] .eco-b2c { opacity: 1; stroke-width: 2.4; }
.eco-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.eco-l { fill: none; stroke-width: 1.4; stroke-dasharray: 6 7; vector-effect: non-scaling-stroke; }
.eco-out { stroke: url(#eco-out); animation: eco-dash 1.2s linear infinite; }
.eco-in { stroke: #ff83da; animation: eco-dash 1.4s linear infinite; }
.eco-b2b, .eco-b2c { stroke: rgba(120,180,255,.6); animation: eco-dash 1.6s linear infinite reverse; }
@keyframes eco-dash { to { stroke-dashoffset: -26; } }
.pk { filter: drop-shadow(0 0 6px currentColor); }
.pk-out { fill: #4da2ff; color: #4da2ff; } .pk-in { fill: #ff83da; color: #ff83da; } .pk-b { fill: #9fd0ff; color: #9fd0ff; }
.eco-tag { position: absolute; transform: translate(-50%, -50%); font: 600 10px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 5px 8px; background: #000; white-space: nowrap; }
.t-out { left: 30.4%; top: 41%; color: #8fc2ff; } .t-in { left: 30.4%; top: 59.5%; color: #ff9fe2; } .t-b2b { left: 70%; top: 30%; } .t-b2c { left: 70%; top: 70%; }
.eco-n { position: absolute; transform: translate(-50%, -50%); padding: 16px 18px; background: linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.7)) left top / 10px 1.5px no-repeat, linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.7)) left top / 1.5px 10px no-repeat, linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.7)) right top / 10px 1.5px no-repeat, linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.7)) right top / 1.5px 10px no-repeat, linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.7)) left bottom / 10px 1.5px no-repeat, linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.7)) left bottom / 1.5px 10px no-repeat, linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.7)) right bottom / 10px 1.5px no-repeat, linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.7)) right bottom / 1.5px 10px no-repeat, rgba(12,14,20,.92); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.en-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.en-head img { height: 22px; width: auto; }
.en-head b { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.en-head span, .en-sub { font: 600 10px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eco-n p { margin-top: 8px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.n-rf { left: 11%; top: 50%; width: 21%; }
.n-tn { left: 50%; top: 50%; width: 22%; text-align: center; box-shadow: inset 0 0 0 1px rgba(77,162,255,.5), 0 0 60px -10px rgba(31,116,255,.55); }
.n-tn .en-head { justify-content: center; }
.n-tn .en-head img { height: 26px; }
.n-tn .en-sub { display: block; margin-top: 10px; }
.n-ag { left: 89%; top: 23%; width: 19%; } .n-tr { left: 89%; top: 77%; width: 19%; }
.en-ring { position: absolute; inset: -14px; border: 1px solid rgba(77,162,255,.5); animation: en-ring 2.6s ease-out infinite; pointer-events: none; }
@keyframes en-ring { from { opacity: .9; transform: scale(.94); } to { opacity: 0; transform: scale(1.12); } }
.en-chips { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.en-chips li { font: 600 10px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; padding: 5px 7px; border: 1px solid rgba(255,255,255,.18); color: #cfd8e6; }
.en-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 14px 0 0; }
.en-stats div { padding: 8px 8px 7px; border: 1px solid rgba(255,255,255,.1); }
.en-stats dt { font: 600 9px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.en-stats dd { margin: 6px 0 0; font-size: 18px; font-weight: 700; letter-spacing: -.03em; }
.en-feed { height: 26px; margin-top: 10px; overflow: hidden; border-top: 1px solid rgba(255,255,255,.08); }
.en-feed ul { animation: en-feed 8s steps(1) infinite; }
.en-feed li { display: flex; align-items: center; gap: 8px; height: 26px; font: 500 11px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: #ffb6ea; white-space: nowrap; }
.en-feed i { width: 6px; height: 6px; border-radius: 50%; background: #ff83da; box-shadow: 0 0 8px #ff83da; flex: none; }
@keyframes en-feed { 0% { transform: translateY(0); } 25% { transform: translateY(-26px); } 50% { transform: translateY(-52px); } 75% { transform: translateY(-78px); } }
.eco-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 18px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.eco-steps li { padding: 26px 28px 30px; }
.eco-steps li + li { border-left: 1px solid var(--line); }
.eco-steps span { font: 600 11px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .12em; color: #4da2ff; }
.eco-steps h3 { margin: 18px 0 8px; font-size: 19px; }
.eco-steps p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) {
  .eco-map { aspect-ratio: auto; display: grid; gap: 12px; padding: 4px 0; background-size: 18px 18px; }
  .eco-map::before, .eco-map::after { display: none; }
  .eco-lines, .eco-tag { display: none; }
  .eco-n { position: relative; left: auto; top: auto; width: auto; transform: none; }
  .en-ring { display: none; }
  .eco-steps { grid-template-columns: 1fr; }
  .eco-steps li + li { border-left: 0; border-top: 1px solid var(--line); }
}

/* Admin panel showcase (home) — floating app window on a grid backdrop */
.panel-show { margin-top: clamp(70px, 7vw, 120px); }
.ps-head { max-width: 640px; margin-bottom: 28px; }
.ps-head h3 { font-size: clamp(28px, 2.8vw, 48px); letter-spacing: -.045em; line-height: 1.05; margin-bottom: 14px; }
.ps-stage { --mx: 50%; --my: 50%; position: relative; overflow: hidden; border-radius: 20px; padding: clamp(36px, 6vw, 96px) clamp(20px, 7vw, 120px) clamp(28px, 4vw, 56px); background:
    radial-gradient(600px circle at var(--mx) var(--my), rgba(31,116,255,.22), transparent 60%),
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 64px 64px,
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.14) 1px, transparent 1.5px) 0 0 / 16px 16px,
    linear-gradient(180deg, #16181d, #0b0c10); }
.ps-stage::before { content: ""; position: absolute; left: 6%; top: 10%; width: 34%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.07); pointer-events: none; }
.ps-stage::after { content: "TN"; position: absolute; left: 9%; top: 20%; font: 800 clamp(60px, 9vw, 150px)/1 var(--font); letter-spacing: -.06em; color: rgba(255,255,255,.05); pointer-events: none; }
.ps-window { position: relative; z-index: 1; overflow: hidden; border-radius: 12px; background: #0f1115; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 50px 120px -30px rgba(0,0,0,.85), 0 30px 60px -40px rgba(31,116,255,.5); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.ps-stage:hover .ps-window { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 70px 140px -30px rgba(0,0,0,.9), 0 40px 80px -40px rgba(31,116,255,.7); }
.ps-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #15171c; border-bottom: 1px solid rgba(255,255,255,.07); color: #9aa3b5; font-size: 12px; }
.ps-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .ps-bar i:nth-child(2) { background: #febc2e; } .ps-bar i:nth-child(3) { background: #28c840; }
.ps-bar span { margin-left: 12px; font-weight: 600; color: #e6e9ef; }
.ps-bar b { margin-left: auto; font: 500 11px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; padding: 5px 10px; background: rgba(255,255,255,.05); border-radius: 6px; }
.ps-video { aspect-ratio: 16 / 9; background: #f7f7f5; }
.ps-window .play-btn { top: 50%; }
.ps-chips { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.ps-chips li { font: 600 10px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; padding: 8px 10px; color: #cfd8e6; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); background: rgba(0,0,0,.35); }
@media (max-width: 640px) { .ps-bar b { display: none; } .ps-window .play-btn { font-size: 14px; padding: 6px 16px 6px 6px; } .ps-window .play-btn i { width: 36px; height: 36px; } .ps-window .play-btn small { display: none; } }

.panel-solo { margin-top: 0; }
.panel-solo .ps-head h2 { margin-bottom: 18px; }

/* CTA */
.cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding: clamp(40px, 5vw, 90px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.cta .hero-actions { padding: 0; }
.cta .muted { margin-top: 20px; }

/* "Why StarNovaSoft" (home) */
.why { padding-top: clamp(40px, 4vw, 80px); }
.why-title { text-align: center; font-size: clamp(44px, 6.4vw, 120px); line-height: 1; letter-spacing: -.05em; margin-bottom: clamp(60px, 8vw, 150px); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-top: 22px; background: radial-gradient(circle, #b9b9b9 1px, transparent 1.4px) top left / 12px 4px repeat-x; }
.why-card { display: flex; flex-direction: column; min-height: 0; padding: 18px 18px 22px; background: #f2f3f5; }
.why-card header { display: flex; align-items: center; gap: 12px; padding-bottom: 22px; background: radial-gradient(circle, #b9b9b9 1px, transparent 1.4px) bottom left / 10px 4px repeat-x; }
.why-card h3 { font-size: clamp(20px, 1.5vw, 26px); font-weight: 600; letter-spacing: -.03em; }
.why-card p { margin-top: 0; padding-top: 22px; padding-bottom: 6px; color: #555; font-size: 17px; line-height: 1.45; }
.why-ic { display: grid; place-items: center; width: 40px; height: 40px; background: #1f74ff; color: #fff; flex: none; }
.why-ic.material-symbols-outlined { font-size: 22px; font-variation-settings: 'wght' 300; }
.material-symbols-outlined { font-family: 'Material Symbols Outlined'; font-weight: normal; font-style: normal; line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap; direction: ltr; -webkit-font-smoothing: antialiased; overflow: hidden; }
.why-art { flex: none; height: clamp(240px, 19vw, 320px); display: grid; place-items: center; padding: 26px 0 10px; color: #2a2f38; }
.why-art .iso { width: 100%; max-width: 280px; height: auto; overflow: visible; transition: transform .6s var(--ease); }
.why-card:hover .iso { transform: translateY(-6px); }
.iso .f-t { fill: #f7f8fa; } .iso .f-l { fill: #e7e9ee; } .iso .f-r { fill: #d9dde4; }
.iso .accent .f-t { fill: #eaf2ff; } .iso .accent .f-l { fill: #d6e5ff; } .iso .accent .f-r { fill: #c3d8ff; }
.iso .accent, .iso .accent * { stroke: #1f74ff; }
.iso .base { fill: #eceef2; }
.iso .grid { stroke: #b8bec8; stroke-width: .7; stroke-dasharray: 2 3; }
.iso .win, .iso .rows, .iso .slots { stroke: #9aa2ad; stroke-width: .9; }
.iso .route { stroke: #1f74ff; stroke-dasharray: 3 4; animation: iso-dash 1.4s linear infinite; }
.iso .plane path { fill: #1f74ff; stroke: #1f74ff; }
.iso .shadow { fill: rgba(31,116,255,.18); stroke: none; }
.iso .pin { stroke: #1f74ff; fill: #fff; animation: iso-bounce 1.6s cubic-bezier(.3,0,.3,1) infinite; }
.iso .layer { animation: iso-stack 4s ease-in-out infinite; }
.iso .l1 { --dy: -10px; } .iso .l2 { --dy: 0px; animation-delay: -.15s; } .iso .l3 { --dy: 9px; animation-delay: -.3s; }
.iso .mark { stroke-width: 1.7; }
.iso .scan { fill: rgba(31,116,255,.22); stroke: none; animation: iso-scan 3s ease-in-out infinite; }
.iso .spark { stroke: #1f74ff; animation: iso-twinkle 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.iso .s2 { animation-delay: -.8s; } .iso .s3 { animation-delay: -1.6s; }
.iso .orbit { stroke: #1f74ff; stroke-width: 1; stroke-dasharray: 4 7; opacity: .55; animation: iso-dash 2.2s linear infinite reverse; }
.iso .led { fill: #1f74ff; stroke: none; animation: iso-blink 1.8s ease-in-out infinite; }
.iso .led.d2 { animation-delay: -.6s; } .iso .led.d3 { animation-delay: -1.2s; }
.iso .shield { stroke: #1f74ff; fill: #fff; animation: iso-float 3s ease-in-out infinite alternate; }
.iso .check { stroke-width: 1.8; stroke-dasharray: 24; stroke-dashoffset: 24; animation: iso-draw 3.2s ease-in-out infinite; }
.iso .pulse { stroke: #1f74ff; stroke-width: .8; transform-box: fill-box; transform-origin: center; animation: iso-pulse 2.4s ease-out infinite; }
.iso .link { stroke: #9aa2ad; stroke-dasharray: 3 4; animation: iso-dash 2s linear infinite; }
.iso .beam { stroke: #1f74ff; stroke-dasharray: 2 3; animation: iso-dash .8s linear infinite; }
.iso .hub { animation: iso-float 2.8s ease-in-out infinite alternate; }
.iso .dot { fill: #1f74ff; stroke: none; }
.iso .ping { stroke: #1f74ff; stroke-width: .8; opacity: 0; transform-box: fill-box; transform-origin: center; animation: iso-ping 2.4s ease-out infinite; }
.iso .p2 { animation-delay: -1.2s; } .iso .p3 { animation-delay: -.6s; }
.why-card:hover .iso * { animation-duration: .7s; }
.why-card:hover .iso .layer, .why-card:hover .iso .check, .why-card:hover .iso .pin { animation-duration: 1.6s; }
@keyframes iso-dash { to { stroke-dashoffset: -14; } }
@keyframes iso-float { from { transform: translateY(-3px); } to { transform: translateY(3px); } }
@keyframes iso-stack { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(var(--dy)); } }
@keyframes iso-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes iso-scan { 0% { transform: translateX(0); } 100% { transform: translateX(150px); } }
@keyframes iso-twinkle { 0%, 100% { opacity: .2; transform: scale(.6); } 50% { opacity: 1; transform: scale(1); } }
@keyframes iso-blink { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
@keyframes iso-draw { 0%, 15% { stroke-dashoffset: 24; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -24; } }
@keyframes iso-ping { 0% { transform: scale(.4); opacity: .9; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
@keyframes iso-pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
@media (max-width: 1100px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } .why-card { min-height: 220px; } }
.lang-list { display: flex; flex-wrap: wrap; gap: 10px; }
.lang-list li { padding: 10px 16px; border: 1px solid var(--line-2); font-weight: 600; letter-spacing: -.01em; }

/* Feature icon grid (product & solution pages) */
.feat-count { text-align: right; font: 600 12px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; }
.feat-count b { display: block; font: 700 clamp(40px, 4vw, 64px)/1 var(--font); letter-spacing: -.05em; color: var(--text); margin-bottom: 6px; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feat { position: relative; padding: 26px 24px 30px; background: var(--bg); transition: background-color .3s; }
.feat::before, .feat::after { content: ""; position: absolute; width: 12px; height: 12px; border: 0 solid #1f74ff; opacity: 0; transition: opacity .25s, transform .3s var(--ease); }
.feat::before { left: 8px; top: 8px; border-width: 2px 0 0 2px; transform: translate(4px, 4px); }
.feat::after { right: 8px; bottom: 8px; border-width: 0 2px 2px 0; transform: translate(-4px, -4px); }
.feat:hover { background: var(--surface); }
.feat:hover::before, .feat:hover::after { opacity: 1; transform: none; }
.feat-idx { position: absolute; right: 18px; top: 20px; font: 600 11px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .1em; color: var(--dim); }
.feat-ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 26px; border: 1px solid var(--line-2); color: #1f74ff; transition: background-color .3s, color .3s, border-color .3s; }
.feat-ic .material-symbols-outlined { font-size: 24px; font-variation-settings: 'wght' 300; }
.feat:hover .feat-ic { background: #1f74ff; border-color: #1f74ff; color: #fff; }
.feat h3 { font-size: 17px; margin-bottom: 8px; letter-spacing: -.02em; }
.feat p { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.page-room .feat-ic { color: #e04aa9; } .page-room .feat:hover .feat-ic { background: #ff83da; border-color: #ff83da; color: #111; } .page-room .feat::before, .page-room .feat::after { border-color: #ff83da; }
@media (max-width: 1100px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } .feat-count { text-align: left; } }
@media (max-width: 520px) { .feat-grid { grid-template-columns: 1fr; } }

/* Isometric art in explore cards */
.tn-more { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important; }
.tn-card h3 { font-size: clamp(22px, 1.6vw, 28px) !important; overflow-wrap: anywhere; }
.tn-art { display: grid; place-items: center; height: 150px; margin: -6px -6px 14px; color: #2a2f38; background: radial-gradient(circle at 1px 1px, rgba(0,0,0,.08) 1px, transparent 1.4px) 0 0 / 14px 14px; }
.tn-art .iso { width: 100%; max-width: 230px; height: auto; overflow: visible; transition: transform .6s var(--ease); }
a.tn-card:hover .tn-art .iso { transform: translateY(-6px) scale(1.03); }
a.tn-card:hover .iso * { animation-duration: .8s; }
.page-room .tn-art .accent, .page-room .tn-art .accent * , .page-room .iso-feature .accent, .page-room .iso-feature .accent * { stroke: #e04aa9; }
.page-room .tn-art .accent .f-t, .page-room .iso-feature .accent .f-t { fill: #ffe6f6; } .page-room .tn-art .accent .f-l, .page-room .iso-feature .accent .f-l { fill: #ffd2ef; } .page-room .tn-art .accent .f-r, .page-room .iso-feature .accent .f-r { fill: #ffbfe7; }
.iso .bars { stroke: #1f74ff; stroke-width: 3; stroke-dasharray: 40; animation: iso-grow 2.4s ease-in-out infinite alternate; }
.iso .bar { transform-box: fill-box; transform-origin: 50% 100%; animation: iso-bar 2.6s ease-in-out infinite alternate; }
.iso .b2 { animation-delay: -.6s; } .iso .b3 { animation-delay: -1.2s; } .iso .b4 { animation-delay: -1.8s; }
.iso .cell-a, .iso .cell-b, .iso .cell-c { stroke: none; animation: iso-cell 3s ease-in-out infinite; }
.iso .cell-a { fill: rgba(31,116,255,.35); } .iso .cell-b { fill: rgba(31,116,255,.18); animation-delay: -1s; } .iso .cell-c { fill: rgba(31,116,255,.25); animation-delay: -2s; }
.page-room .iso .cell-a { fill: rgba(255,131,218,.45); } .page-room .iso .cell-b { fill: rgba(255,131,218,.25); } .page-room .iso .cell-c { fill: rgba(255,131,218,.35); }
.iso .receipt { fill: #fff; animation: iso-float 3s ease-in-out infinite alternate; }
.iso .table { fill: #f2f3f5; }
.iso .steam { stroke: #9aa2ad; stroke-dasharray: 3 3; animation: iso-dash 1.4s linear infinite; }
.iso .bell { animation: iso-bounce 2.4s cubic-bezier(.3,0,.3,1) infinite; }
.iso .key circle, .iso .key path { stroke: #1f74ff; }
.page-room .iso .key circle, .page-room .iso .key path, .page-room .iso .pin, .page-room .iso .route, .page-room .iso .dot, .page-room .iso .ping, .page-room .iso .beam, .page-room .iso .spark { stroke: #e04aa9; }
.page-room .iso .dot { fill: #e04aa9; } .page-room .iso .bars { stroke: #e04aa9; }
@keyframes iso-grow { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
@keyframes iso-bar { from { transform: scaleY(.75); } to { transform: scaleY(1.05); } }
@keyframes iso-cell { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
.iso-feature { position: relative; display: grid; place-items: center; min-height: 340px; color: #2a2f38; background: radial-gradient(circle at 1px 1px, rgba(0,0,0,.09) 1px, transparent 1.4px) 0 0 / 16px 16px; border: 1px solid var(--line); }
.iso-feature .iso { width: 82%; max-width: 520px; overflow: visible; }
.iso-cap { position: absolute; bottom: 18px; font: 600 11px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.iso-cap-l { left: 20px; } .iso-cap-r { right: 20px; color: #1f74ff; }
@media (max-width: 900px) { .tn-more { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 560px) { .tn-more { grid-template-columns: 1fr !important; } }

/* TravelNova sub-page links */
.tn-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.tn-card { min-height: 240px; }
.tn-card[hidden] { display: none; }
.tn-card .text-link { margin-top: auto; padding-top: 22px; }
/* Simple prose + spec lists on detail pages */
.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.spec-list li { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.spec-list b { font-weight: 700; letter-spacing: -.02em; }
.spec-list span { color: var(--muted); }
@media (max-width: 900px) { .spec-list { grid-template-columns: 1fr; } .spec-list li { grid-template-columns: 1fr; gap: 6px; } }

/* Others */
.others-grid:has(> [hidden]) { grid-template-columns: repeat(2, 1fr); }
.product-card { min-height: 560px; }
.product-card[hidden] { display: none; }
.card-media { margin: auto calc(-1 * clamp(26px, 2.2vw, 40px)) calc(-1 * clamp(26px, 2.2vw, 40px)) 0; padding-top: 34px; }
.card-media img { border-radius: 10px 0 0 0; border: 1px solid var(--line-2); border-right: 0; border-bottom: 0; transition: transform .6s var(--ease); transform: translateY(10px); }
a.card:hover .card-media img { transform: none; }
.phone-media { display: flex; justify-content: flex-end; margin-right: 0; padding-right: 0; height: 260px; overflow: hidden; }
.phone-media img { width: 56%; max-width: 230px; border-radius: 28px 28px 0 0; border: 5px solid #1a1a1a; border-bottom: 0; }

/* Gallery */
.gallery-frame { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.gallery-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .35s; }
.gallery-frame img.swap { opacity: 0; }
.zoom-btn { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 8px; border: 0; background: rgba(0,0,0,.75); color: #fff; display: grid; place-items: center; }
.zoom-btn svg { width: 18px; height: 18px; }
.gallery-caption { display: flex; gap: 20px; align-items: baseline; margin: 24px 0 22px; min-height: 52px; }
.gallery-caption b { font-size: 20px; letter-spacing: -.03em; flex: none; }
.gallery-caption span { color: var(--muted); }
.thumbs { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.thumbs button { padding: 0; border: 0; background: none; text-align: left; }
.thumbs img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 8px; border: 1px solid var(--line-2); opacity: .45; transition: opacity .25s, box-shadow .25s; }
.thumbs span { display: block; font-size: 13px; color: var(--dim); margin-top: 8px; }
.thumbs button:hover img { opacity: .8; }
.thumbs button[aria-selected="true"] img { opacity: 1; box-shadow: 0 0 0 2px var(--text); }
.thumbs button[aria-selected="true"] span { color: var(--text); }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1500px, 94vw); width: 100%; }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lightbox img { width: 100%; border-radius: 12px; }
.lightbox button { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 8px; border: 0; background: #fff; color: #000; font-size: 20px; }

/* Feature rows */
.feature { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 110px); align-items: center; padding: 56px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .feature-copy { order: 2; }
.kicker { display: block; font-size: 14px; color: var(--dim); margin-bottom: 18px; }
.feature h3 { font-size: clamp(28px, 2.6vw, 48px); letter-spacing: -.04em; line-height: 1.05; margin-bottom: 18px; }
.feature p { color: var(--muted); font-size: 17px; }
.phones-trio { display: flex; justify-content: center; align-items: flex-end; gap: 18px; }
.phones-trio .phone { width: 31%; max-width: 240px; }
.phones-trio .phone:nth-child(2) { transform: translateY(-30px); }

/* Capability grid */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cap-grid.three { grid-template-columns: repeat(3, 1fr); }
.cap { background: var(--bg); padding: 30px 28px 34px; transition: background .3s; }
.cap:hover { background: var(--surface); }
.cap-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line-2); margin-bottom: 22px; }
.cap-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cap h3 { font-size: 18px; margin-bottom: 8px; }
.cap p { font-size: 15px; color: var(--muted); }
.infra h3 { font-size: 22px; margin: 12px 0 10px; }

/* Steps */
.steps .step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: var(--text); color: var(--bg); font-weight: 600; margin-bottom: 40px; }
.steps h3 { font-size: 24px; margin: 0 0 10px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-grid .muted { margin-top: 22px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font-size: 20px; font-weight: 500; letter-spacing: -.035em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--raised); color: #fff; font-weight: 400; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 50px 24px 0; }

/* Contact */
.contact-hero { padding-top: calc(clamp(64px, 4.4vw, 84px) + clamp(48px, 6vw, 110px)); padding-bottom: clamp(90px, 9vw, 170px); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.contact-form { display: grid; gap: 16px; padding: clamp(24px, 2.4vw, 40px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.contact-form input:not([type=checkbox]), .contact-form textarea { width: 100%; font: inherit; font-size: 16px; color: #fff; background: #000; border: 1px solid var(--line-2); border-radius: 8px; padding: 14px; transition: border-color .2s; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: #fff; }
.contact-form [aria-invalid="true"] { border-color: #ff6b6b !important; }
.contact-form fieldset { border: 0; padding: 0; margin: 0; }
.contact-form legend { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: block; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { --c: rgba(255,255,255,.55); display: inline-block; padding: 10px 16px; border-radius: 0; background: linear-gradient(var(--c), var(--c)) left top / 7px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) left top / 1.5px 7px no-repeat, linear-gradient(var(--c), var(--c)) right top / 7px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) right top / 1.5px 7px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 7px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 1.5px 7px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 7px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 1.5px 7px no-repeat, rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background-color .2s, box-shadow .2s; }
.chips input:checked + span { --c: #9fd0ff; background-color: rgba(31,116,255,.35); box-shadow: inset 0 0 0 1px rgba(140,195,255,.7); }
.chips input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.form-status { font-size: 14px; color: var(--muted); min-height: 1.4em; }
.form-status.error { color: #ff8a8a; }

/* Rail */
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 30px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail-item { flex: 0 0 clamp(210px, 18vw, 290px); scroll-snap-align: start; }
.rail-item figcaption { margin-top: 16px; }
.rail-item b { display: block; font-size: 17px; letter-spacing: -.03em; }
.rail-item span { color: var(--muted); font-size: 14px; }
.rail-controls { display: flex; gap: 10px; justify-content: flex-end; }
.phone-stage { display: grid; place-items: center; background: radial-gradient(60% 70% at 50% 30%, #262626, #000 75%); }
.phone-fan { position: relative; width: 100%; height: 100%; }
.phone-fan .phone { position: absolute; width: 18%; max-width: 300px; top: 10%; left: 50%; }
.phone-fan .phone:nth-child(1) { transform: translate(-118%, 8%) rotate(-6deg); }
.phone-fan .phone:nth-child(2) { transform: translateX(-50%); z-index: 2; }
.phone-fan .phone:nth-child(3) { transform: translate(18%, 8%) rotate(6deg); }

/* Footer — animated light horizon (getmitra.com style) into a light footer with a giant wordmark */
.site-footer { --footer-bg: #eef2f8; position: relative; overflow: hidden; background: #000; color: #000; }
.footer-horizon { position: relative; height: clamp(200px, 22vw, 360px); background: #000; }
.hz { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; transform-origin: 50% 100%; will-change: transform; }
.hz-deep { filter: blur(34px); opacity: .95; animation: hz-slide 40s linear infinite, hz-breathe 11s ease-in-out infinite alternate; }
.hz-glow { filter: blur(26px); animation: hz-slide 28s linear infinite reverse, hz-breathe 8s ease-in-out -3s infinite alternate; }
.hz-fill { bottom: -4px; height: calc(100% + 4px); filter: blur(7px); animation: hz-slide 34s linear infinite, hz-breathe 9s ease-in-out -5s infinite alternate; }
@keyframes hz-slide { to { translate: -50% 0; } }
@keyframes hz-breathe { from { scale: 1 .92; } to { scale: 1 1.12; } }
.footer-horizon::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(180deg, transparent, var(--footer-bg) 70%); }
.footer-body { position: relative; margin-top: -1px; background: var(--footer-bg); padding-top: clamp(30px, 3vw, 60px); }
.footer-top { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; }
.footer-brand img { width: 200px; }
.footer-brand p { color: #555; max-width: 360px; margin-top: 22px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-cols .f-sub { margin-top: 26px; }
.footer-cols h4 { font-size: 14px; color: #7a7a7a; font-weight: 500; margin-bottom: 16px; }
.footer-cols a { display: block; padding: 6px 0; color: #000; transition: opacity .2s; }
.footer-cols a:hover { opacity: .55; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: clamp(50px, 5vw, 90px); padding-top: 22px; border-top: 1px solid rgba(0,0,0,.1); color: #6b6b6b; font-size: 14px; }
.footer-word { overflow: hidden; text-align: center; font-size: min(15.2vw, 290px); font-weight: 800; letter-spacing: -.065em; line-height: .8; height: .62em; margin-top: clamp(24px, 3vw, 50px); user-select: none; }
.footer-word span { display: inline-block; transform: translateY(70%); transition: transform 1.6s var(--ease); }
.footer-word.in span { transform: translateY(6%); }
.no-js .footer-word span { transform: translateY(6%); }

/* Intro loader: the logo star draws itself, flares, then zooms through to reveal the page */
.loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; align-content: center; gap: 34px; background: #000; animation: loader-auto-out .6s ease 4s forwards; }
.intro-seen .loader { display: none; }
.loader-star { width: clamp(64px, 6vw, 96px); overflow: visible; transition: transform .9s cubic-bezier(.7, 0, .2, 1), opacity .5s ease .35s; }
.loader-star path { fill: rgba(255,255,255,0); stroke: #fff; stroke-width: .7; stroke-dasharray: 520; stroke-dashoffset: 520; animation: star-draw 1.1s cubic-bezier(.6, 0, .3, 1) .1s forwards, star-fill .5s ease 1s forwards, star-glow 1.8s ease-in-out 1.2s infinite alternate; }
.loader-line { width: 140px; height: 1px; background: rgba(255,255,255,.12); overflow: hidden; transition: opacity .3s; }
.loader-line i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #1f74ff, #9fd0ff); transform: scaleX(0); transform-origin: left; animation: line-fill 1.5s cubic-bezier(.6, 0, .3, 1) .2s forwards; }
.loader.done { animation: loader-out .55s ease .45s forwards; }
.loader.done .loader-star { transform: scale(26) rotate(45deg); opacity: 0; }
.loader.done .loader-line { opacity: 0; }
@keyframes star-draw { to { stroke-dashoffset: 0; } }
@keyframes star-fill { to { fill: #fff; stroke-width: 0; } }
@keyframes star-glow { from { filter: drop-shadow(0 0 4px rgba(120,180,255,.5)); } to { filter: drop-shadow(0 0 22px rgba(80,160,255,.95)) drop-shadow(0 0 60px rgba(31,116,255,.6)); } }
@keyframes line-fill { to { transform: scaleX(1); } }
@keyframes loader-out { to { opacity: 0; visibility: hidden; } }
@keyframes loader-auto-out { to { opacity: 0; visibility: hidden; } }

.offscreen *, .offscreen::before, .offscreen::after, .offscreen *::before, .offscreen *::after { animation-play-state: paused !important; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .cap-grid, .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .mega-inner { grid-template-columns: 1.3fr .8fr; }
  .mega-feature { display: none; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line); max-height: calc(100dvh - 64px); overflow: auto; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
  .site-header.open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 0; font-size: 20px; border-bottom: 1px solid var(--line); }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; display: none; border: 0; }
  .nav-item.open .mega { display: block; }
  .mega-inner { grid-template-columns: 1fr; padding: 8px 0 16px; gap: 16px; }
  .mega-link { margin: 0; padding: 12px 0; }
  .mega-scrim { display: none; }
  .hero-grid, .split-head, .cta { flex-direction: column; align-items: flex-start; }
  .hero-actions { padding-bottom: 0; }
  .hero-media { aspect-ratio: 4 / 3; }
  .bento { grid-template-columns: 1fr; }
  .bento-wide { flex-direction: column !important; align-items: stretch; }
  .bento-visual, .bento-flip .bento-visual { order: 0; margin: 0 calc(-1 * clamp(26px, 2.2vw, 40px) - 40px) -80px 0; }
  .principles, .cards-3, .others-grid:has(> [hidden]) { grid-template-columns: 1fr; }
  .eco-grid, .faq-grid, .contact-grid, .footer-top { grid-template-columns: 1fr; }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-copy { order: 0; }
  .cap-grid.three { grid-template-columns: 1fr 1fr; }
  .tab-list { grid-template-columns: repeat(2, 1fr); }
  .phone-fan .phone { width: 30%; }
  .radar-stage { aspect-ratio: 1; }
  .avatar.a1 { left: 14%; } .avatar.a2 { right: 12%; } .avatar.a3 { left: 18%; } .avatar.a4 { right: 16%; }
}
@media (max-width: 640px) {
  .hero-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .facts, .cap-grid, .cap-grid.three, .cards-4 { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .field-row { grid-template-columns: 1fr; }
  .thumbs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .thumbs button { flex: 0 0 42%; scroll-snap-align: start; }
  .gallery-caption { flex-direction: column; gap: 6px; }
  .tab-list button span { display: none; }
  .phones-trio { gap: 10px; }
  .browser-bar { height: 28px; } .browser-bar i { width: 7px; height: 7px; } .browser-bar .url { font-size: 10px; }
  .faq details p { padding-right: 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .eco-node { padding: 10px 12px; } .eco-node b { font-size: 13px; }
  .bento-phones { margin-bottom: -170px; }
  .phone-fan .phone { width: 38%; top: 8%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Sharp corners everywhere — video frames keep their rounding */
*, *::before, *::after { border-radius: 0 !important; }
.hero-media:has(.hero-video) { border-radius: clamp(16px, 2.05vw, 40px) clamp(16px, 2.05vw, 40px) 0 0 !important; }
.ps-window, .video-modal video { border-radius: 12px !important; }
.pp-media { border-radius: 12px 0 0 0 !important; }
.play-btn { border-radius: 999px !important; }
.play-btn i, .ps-bar i, .pp-media .browser-bar i { border-radius: 50% !important; }

/* Tighter rhythm: no dead gaps around the colour bands */
.section { padding-top: clamp(64px, 6vw, 112px); }
.section:last-of-type { padding-bottom: clamp(64px, 6vw, 112px); }
.fade-band { height: clamp(150px, 13vw, 250px); }
.fade-band.has-text { height: auto; }
.fade-band + .section, .fade-band + .dark-zone > .section:first-child { padding-top: clamp(12px, 1.4vw, 28px); }
.dark-zone { padding-bottom: 0; }
.dark-zone > .section:last-child { padding-bottom: clamp(64px, 6vw, 112px); }
/* Video corner radius capped at 10px */
.hero-media:has(.hero-video) { border-radius: 10px 10px 0 0 !important; }
.ps-window, .video-modal video { border-radius: 10px !important; }
.pp-media { border-radius: 10px 0 0 0 !important; }

/* Mega menu with icons */
.mega-sub { display: flex !important; align-items: center; gap: 12px; padding: 8px 10px !important; margin: 0 -10px; font-size: 15px !important; transition: background-color .2s, color .2s; }
.mega-sub:hover { background: rgba(255,255,255,.06); }
.mega-sub .mi, .mega-link .mi { display: grid; place-items: center; width: 32px; height: 32px; flex: none; font-size: 19px; color: #9fd0ff; border: 1px solid rgba(255,255,255,.12); font-variation-settings: 'wght' 300; transition: background-color .2s, color .2s, border-color .2s; }
.mega-sub:hover .mi, .mega-link:hover .mi { background: #1f74ff; border-color: #1f74ff; color: #fff; }
.mega-link.has-ic { display: grid !important; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: start; }
.mega-link.has-ic .mi { grid-row: 1 / span 2; width: 40px; height: 40px; font-size: 22px; }
.mega-link .mega-logo { margin-top: 2px; }
.mega-label { font: 600 11px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace !important; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45) !important; margin-bottom: 14px; display: block; }
.mega-link:not(.has-ic) { border-left: 2px solid transparent; transition: border-color .2s, background-color .2s; }
.mega-link:not(.has-ic):hover { border-left-color: #1f74ff; }

/* "More from StarNovaSoft" cards: equal themed media */
.product-card { min-height: 0 !important; }
.product-card .product-logo { min-height: 46px; display: flex; align-items: center; }
.product-card p { min-height: 3em; }
.op-media { position: relative; overflow: hidden; height: 230px; margin: 26px calc(-1 * clamp(26px, 2.2vw, 40px)) calc(-1 * clamp(26px, 2.2vw, 40px)); }
.op-media img { position: absolute; transition: transform .7s var(--ease); }
.op-tn { background: linear-gradient(135deg, #061233, #1f74ff); }
.op-tn img { left: 12%; top: 18%; width: 100%; box-shadow: 0 20px 40px -12px rgba(0,0,0,.5); }
.op-rf { background: #ff83da; }
.op-rf img { left: 12%; top: 18%; width: 100%; box-shadow: 0 20px 40px -12px rgba(90,0,60,.45); }
.op-pal { background: linear-gradient(178deg, #0f0709, #640092 140%); }
.op-pal img { left: 50%; top: 4%; width: 120%; translate: -42% 0; }
a.card:hover .op-media img { transform: translateY(-8px); }
.product-card .op-media { margin-top: auto; }
.product-card .text-link { margin-bottom: 28px; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button[disabled] { opacity: .6; cursor: progress; }
/* Heroes without media: keep the horizon below the buttons */
.hero:not(:has(.hero-media)) .hero-fx { height: 100%; }
.hero:not(:has(.hero-media)) .hero-grid { padding-bottom: clamp(120px, 14vw, 220px); }
/* "More from StarNovaSoft" is always on a light surface, even after a dark zone */
.others-sec { --bg: #fff; --surface: #f6f6f6; --surface-2: #eeeeee; --line: #e8e8e8; --line-2: #d9d9d9; --text: #000; --muted: #5c5c5c; --dim: #8a8a8a; background: #fff; color: #000; padding-bottom: clamp(64px, 6vw, 112px) !important; }
.dark-zone .others-sec { margin-bottom: calc(-1 * clamp(64px, 6vw, 112px)); }
@media (max-width: 900px) {
  .prod-panel { grid-template-columns: minmax(0, 1fr) !important; }
  .pp-actions { flex-wrap: wrap !important; }
}

/* ===== Modules explorer (TravelNova): icon timeline + animated line-art stages ===== */
.mx { --blue: #1f74ff; }
.mx-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; margin-bottom: clamp(28px, 3vw, 48px); }
.mx-tabs button { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2px 14px; padding: 22px 0 6px; border: 0; background: none; text-align: left; opacity: .5; transition: opacity .3s; }
.mx-tabs button::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(0,0,0,.14); }
.mx-tabs button:hover, .mx-tabs button[aria-selected="true"] { opacity: 1; }
.mx-tabs .tab-progress { top: -1px; bottom: auto; height: 3px; background: var(--blue); }
.mx.paused .tab-progress { animation-play-state: paused; }
.mx-idx { position: absolute; top: 12px; right: 0; font: 600 11px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .1em; color: #8a8f99; }
.mx-tabs button[aria-selected="true"] .mx-idx { color: var(--blue); }
.mx-ti { grid-row: 1 / span 2; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background .3s, color .3s, border-color .3s; }
.mx-ti .material-symbols-outlined { font-size: 22px; }
.mx-tabs button[aria-selected="true"] .mx-ti { background: var(--blue); border-color: var(--blue); color: #fff; }
.mx-tabs b { font-size: 17px; letter-spacing: -.02em; line-height: 1.2; }
.mx-sub { font: 500 11px/1.3 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; color: #6b7280; }

.mx-panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 80px); align-items: center; animation: stage-in .7s var(--ease); }
.mx .mx-panel[hidden] { display: none !important; }
.mx-copy h3 { font-size: clamp(28px, 2.6vw, 48px); line-height: 1.04; letter-spacing: -.045em; margin-bottom: 16px; }
.mx-copy > p { color: var(--muted); font-size: clamp(15px, 1vw, 18px); line-height: 1.45; max-width: 480px; }
.mx-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 28px 0 26px; background: var(--line); border: 1px solid var(--line); }
.mx-feats li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 16px; background: #fff; animation: mx-up .6s var(--ease) both; }
.mx-feats li:nth-child(2) { animation-delay: .08s; } .mx-feats li:nth-child(3) { animation-delay: .16s; } .mx-feats li:nth-child(4) { animation-delay: .24s; }
.mx-fi { grid-row: span 2; width: 38px; height: 38px; display: grid; place-items: center; background: #eef4ff; color: var(--blue); }
.mx-fi .material-symbols-outlined { font-size: 21px; }
.mx-feats b { font-size: 15px; letter-spacing: -.015em; line-height: 1.25; }
.mx-feats li > span:last-child { font-size: 13px; color: var(--muted); line-height: 1.35; }
@keyframes mx-up { from { opacity: 0; transform: translateY(10px); } }

/* Stage: dotted canvas with HUD corner ticks; everything inside scales with the stage width (cqw) */
.mx-stage { --c: var(--blue); position: relative; container-type: inline-size; aspect-ratio: 16 / 11; overflow: hidden; border: 1px solid var(--line); font-size: 1.55cqw; color: #111;
  background: radial-gradient(#cdd3dc 1px, transparent 1.3px) 0 0 / 22px 22px, #f5f7fa; }
.mx-stage::before { content: ""; position: absolute; inset: 8px; z-index: 5; pointer-events: none;
  background: linear-gradient(var(--c), var(--c)) left top / 14px 2px no-repeat, linear-gradient(var(--c), var(--c)) left top / 2px 14px no-repeat, linear-gradient(var(--c), var(--c)) right top / 14px 2px no-repeat, linear-gradient(var(--c), var(--c)) right top / 2px 14px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 14px 2px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 2px 14px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 14px 2px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 2px 14px no-repeat; }
.mx-stage .material-symbols-outlined { font-size: 1.25em; line-height: 1; }
.mx-stage > * { position: absolute; font-size: 1.55cqw; }
@media (prefers-reduced-motion: reduce) { .mx-stage *, .mx-stage *::before, .mx-stage *::after { animation: none !important; } }

/* 01 Hotels */
.mx-search { left: 5%; top: 6%; width: 90%; height: 11%; display: flex; align-items: center; gap: 1.2cqw; padding: 0 2cqw; background: #fff; border: 1px solid #dfe3ea; font-weight: 600; }
.mx-search > .material-symbols-outlined { color: var(--blue); font-size: 2.2cqw; }
.mx-type { white-space: nowrap; animation: mx-type 11s steps(29) infinite both; }
.mx-caret { width: 2px; height: 2.4cqw; background: var(--blue); animation: hud-blink 1s steps(1) infinite; }
@keyframes mx-type { 0% { clip-path: inset(0 100% 0 0); } 12%, 94% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
.mx-map { left: 5%; top: 21%; width: 55%; bottom: 6%; overflow: hidden; background: #fff; border: 1px solid #dfe3ea; }
.mx-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mx-map .sea { fill: #e7f0ff; }
.mx-map .road { fill: none; stroke: #e3e7ee; stroke-width: 7; vector-effect: non-scaling-stroke; }
.mx-map .road.thin { stroke-width: 2; }
.mx-pin { position: absolute; left: var(--x); top: var(--y); padding: .45cqw .9cqw; background: #111; color: #fff; font-weight: 700; font-size: 1.45cqw; white-space: nowrap; transform: translate(-50%, -100%); animation: mx-pin 11s var(--d) infinite both; }
.mx-pin::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -.6cqw; border: .6cqw solid transparent; border-top-color: #111; }
.mx-pin.on { background: var(--blue); z-index: 1; }
.mx-pin.on::after { border-top-color: var(--blue); }
.mx-pin.on::before { content: ""; position: absolute; left: 50%; top: calc(100% + 1.2cqw); width: 5cqw; height: 5cqw; margin: -2.5cqw 0 0 -2.5cqw; border: 1px solid var(--blue); animation: iso-ping 2s ease-out infinite; }
@keyframes mx-pin { 0% { opacity: 0; transform: translate(-50%, -170%); } 4% { opacity: 1; transform: translate(-50%, -100%); } 92% { opacity: 1; transform: translate(-50%, -100%); } 97%, 100% { opacity: 0; transform: translate(-50%, -100%); } }
.mx-chips { left: 63%; top: 21%; width: 32%; display: grid; gap: 1cqw; }
.mx-chip { display: flex; align-items: center; gap: .8cqw; padding: 1cqw 1.4cqw; border: 1px solid #dfe3ea; background: #fff; font-weight: 600; animation: mx-chip 11s var(--d) infinite both; }
@keyframes mx-chip { 0% { background: #fff; color: #111; border-color: #dfe3ea; } 2%, 92% { background: var(--blue); color: #fff; border-color: var(--blue); } 97%, 100% { background: #fff; color: #111; border-color: #dfe3ea; } }
.mx-card { left: 63%; top: 50%; width: 32%; bottom: 6%; display: grid; grid-template-rows: 1fr auto auto; background: #fff; border: 1px solid #dfe3ea; animation: mx-card 11s 3.6s infinite both; }
.mx-thumb { display: grid; place-items: center; background: linear-gradient(135deg, #dbe8ff, #f1f6ff); color: var(--blue); }
.mx-thumb .material-symbols-outlined { font-size: 4.6cqw; }
.mx-card-body { display: grid; gap: .3cqw; padding: 1.2cqw 1.4cqw .4cqw; }
.mx-card-body small { color: #c48a00; font-size: 1.2cqw; }
.mx-card-body b { font-size: 1.8cqw; letter-spacing: -.02em; }
.mx-card-body em { display: flex; align-items: center; gap: .5cqw; font-style: normal; font-size: 1.25cqw; color: #16a34a; }
.mx-price { display: flex; align-items: center; gap: 1cqw; padding: .6cqw 1.4cqw 1.4cqw; }
.mx-price small { color: #6b7280; font-size: 1.2cqw; }
.mx-price b { font-size: 2.2cqw; letter-spacing: -.03em; margin-right: auto; }
.mx-cta { padding: .8cqw 1.3cqw; background: var(--blue); color: #fff; font-weight: 700; font-size: 1.25cqw; animation: mx-cta 11s infinite; }
@keyframes mx-card { 0% { opacity: 0; transform: translateY(18%); } 5%, 88% { opacity: 1; transform: none; } 93%, 100% { opacity: 0; transform: none; } }
@keyframes mx-cta { 0%, 60% { box-shadow: 0 0 0 0 rgba(31,116,255,0); } 64% { box-shadow: 0 0 0 .9cqw rgba(31,116,255,.25); } 72%, 100% { box-shadow: 0 0 0 0 rgba(31,116,255,0); } }
.mx-cursor { z-index: 4; width: 2.6cqw; height: 2.6cqw; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2.5v17.2l4.6-4.4 2.9 6.6 3-1.3-2.9-6.5H18z' fill='%23111' stroke='%23fff' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; animation: mx-cur 11s infinite; }
@keyframes mx-cur {
  0% { left: 30%; top: 70%; opacity: 0; } 8% { left: 30%; top: 70%; opacity: 1; }
  16% { left: 46%; top: 50%; } 19% { left: 72%; top: 24%; } 23% { left: 74%; top: 31%; } 27% { left: 76%; top: 38%; }
  56% { left: 86%; top: 88%; transform: none; } 60% { transform: scale(.82); } 63% { left: 86%; top: 88%; transform: none; }
  92% { left: 86%; top: 88%; opacity: 1; } 97%, 100% { left: 86%; top: 88%; opacity: 0; } }

/* 02 Flights */
.mx-route { left: 5%; right: 5%; top: 6%; height: 27%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 2cqw; padding: 0 3cqw; background: #fff; border: 1px solid #dfe3ea; }
.mx-ap { display: grid; text-align: center; }
.mx-ap b { font-size: 3.6cqw; letter-spacing: -.04em; line-height: 1; }
.mx-ap small { font: 600 1.1cqw/1.6 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; color: #6b7280; }
.mx-route svg { width: 100%; height: 100%; overflow: visible; }
.mx-route .arc { fill: none; stroke: var(--blue); stroke-width: 1.4; stroke-dasharray: 4 5; animation: iso-dash 1.2s linear infinite; }
.mx-route .plane path { fill: var(--blue); }
.mx-days { left: 5%; right: 5%; top: 37%; height: 13%; display: grid; grid-template-columns: repeat(6, 1fr); background: #fff; border: 1px solid #dfe3ea; }
.mx-days span { display: grid; place-content: center; text-align: center; font-weight: 700; font-size: 1.7cqw; border-left: 1px solid #eef0f4; }
.mx-days span:first-child { border-left: 0; }
.mx-days small { font: 600 1.05cqw/1.5 ui-monospace, Menlo, Consolas, monospace; color: #6b7280; letter-spacing: .06em; }
.mx-day-hl { position: absolute; top: -1px; bottom: -1px; left: 0; width: calc(100% / 6); border: 2px solid var(--blue); background: rgba(31,116,255,.07); animation: mx-day 11s var(--ease) infinite; }
@keyframes mx-day { 0%, 6% { transform: translateX(0); } 12%, 18% { transform: translateX(100%); } 24%, 92% { transform: translateX(200%); } 100% { transform: translateX(0); } }
.mx-sort { left: 5%; right: 5%; top: 54%; height: 7%; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; text-align: center; font: 700 1.2cqw/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; color: #6b7280; border-bottom: 1px solid #dfe3ea; }
.mx-sort-hl { position: absolute; left: 0; bottom: -2px; width: calc(100% / 3); height: 3px; background: var(--blue); animation: mx-sort 11s var(--ease) infinite; }
@keyframes mx-sort { 0%, 30% { transform: translateX(0); } 36%, 63% { transform: translateX(100%); } 69%, 96% { transform: translateX(200%); } 100% { transform: translateX(0); } }
.mx-fares { left: 5%; right: 5%; top: 64%; bottom: 5%; }
.mx-fare { position: absolute; left: 0; right: 0; height: 29%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 2cqw; padding: 0 2cqw; background: #fff; border: 1px solid #dfe3ea; animation: mx-row 11s var(--ease) infinite; }
.mx-fare.f2 { animation-delay: -3.667s; } .mx-fare.f3 { animation-delay: -7.333s; }
@keyframes mx-row { 0%, 30% { top: 0; border-color: var(--blue); } 36%, 63% { top: 35.5%; border-color: #dfe3ea; } 69%, 96% { top: 71%; border-color: #dfe3ea; } 100% { top: 0; border-color: var(--blue); } }
.mx-al { width: 3.4cqw; height: 3.4cqw; display: grid; place-items: center; background: #111; color: #fff; font-weight: 800; font-size: 1.1cqw; letter-spacing: .04em; }
.mx-times { display: flex; align-items: center; gap: 1.2cqw; font-size: 1.6cqw; }
.mx-times i { flex: 1; max-width: 10cqw; height: 1px; background: repeating-linear-gradient(90deg, #9aa2ad 0 3px, transparent 3px 6px); }
.mx-bag { display: flex; align-items: center; gap: .5cqw; color: #6b7280; font-size: 1.3cqw; }
.mx-fp { font-size: 2cqw; letter-spacing: -.03em; }

/* 03 Agency network */
.mx-net { inset: 0; width: 100%; height: 100%; }
.mx-net .ln { fill: none; stroke: #b9c2ce; stroke-width: 1.3; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; animation: iso-dash 1.6s linear infinite reverse; }
.mx-net .pk { fill: var(--blue); }
.mx-net .pk.new { fill: #16a34a; }
.mx-hub { left: 50%; top: 45.5%; z-index: 2; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: .4cqw; padding: 2cqw 3cqw; background: #0b0d12; color: #fff; text-align: center; }
.mx-hub > .material-symbols-outlined { color: #7cc4ff; font-size: 3.4cqw; }
.mx-hub b { font-size: 2cqw; letter-spacing: -.02em; }
.mx-hub small { font: 600 1cqw/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; color: #9aa2ad; }
.mx-hub i { position: absolute; inset: -1px; border: 1px solid var(--blue); animation: mx-hubpulse 2.6s ease-out infinite; }
@keyframes mx-hubpulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.35, 1.6); opacity: 0; } }
.mx-node { left: var(--x); top: var(--y); z-index: 2; transform: translate(-50%, -50%); display: flex; align-items: center; gap: .7cqw; padding: .9cqw 1.2cqw; background: #fff; border: 1px solid #dfe3ea; font-weight: 700; white-space: nowrap; animation: mx-bob 3.2s ease-in-out infinite alternate; }
.mx-node:nth-of-type(odd) { animation-delay: -1.6s; }
.mx-node > .material-symbols-outlined { color: var(--blue); }
.mx-node em { font-style: normal; padding: .2cqw .6cqw; background: #eef4ff; color: var(--blue); font-size: 1.2cqw; }
@keyframes mx-bob { from { translate: 0 -.4cqw; } to { translate: 0 .4cqw; } }
.mx-node.is-new { border-color: #16a34a; animation: mx-new 11s infinite both; }
.mx-node.is-new > .material-symbols-outlined { color: #16a34a; }
.mx-node .mx-ok { display: flex; align-items: center; gap: .3cqw; background: #e8f8ee; color: #16a34a; animation: mx-ok 11s infinite both; }
@keyframes mx-new { 0%, 18% { opacity: 0; scale: .7; } 24%, 92% { opacity: 1; scale: 1; } 98%, 100% { opacity: 0; scale: 1; } }
@keyframes mx-ok { 0%, 34% { opacity: 0; } 38%, 100% { opacity: 1; } }
.mx-earn { left: 50%; top: 5%; transform: translateX(-50%); width: 34%; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .2cqw 2cqw; padding: 1.2cqw 1.6cqw; background: #fff; border: 1px solid #dfe3ea; }
.mx-earn small { grid-column: 1 / -1; font: 600 1cqw/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; color: #6b7280; }
.mx-earn b { font-size: 2.6cqw; letter-spacing: -.04em; line-height: 1.1; }
.mx-bars { display: flex; align-items: flex-end; gap: .5cqw; height: 3.4cqw; }
.mx-bars i { width: 1cqw; height: var(--h); background: var(--blue); transform-origin: bottom; animation: mx-bar 11s var(--ease) infinite both; }
.mx-bars i:nth-child(2) { animation-delay: .1s; } .mx-bars i:nth-child(3) { animation-delay: .2s; } .mx-bars i:nth-child(4) { animation-delay: .3s; } .mx-bars i:nth-child(5) { animation-delay: .4s; } .mx-bars i:nth-child(6) { animation-delay: .5s; }
@keyframes mx-bar { 0% { transform: scaleY(.1); } 8%, 94% { transform: scaleY(1); } 100% { transform: scaleY(.1); } }

/* 04 Mobile */
.mx-phone { left: 50%; top: 50%; width: 31cqw; height: 60cqw; transform: translate(-50%, -50%); background: #fff; border: 2px solid #111; box-shadow: 0 0 0 .7cqw #fff, 0 0 0 calc(.7cqw + 1px) #dfe3ea; overflow: hidden; }
.mx-notch { position: absolute; left: 50%; top: 1cqw; width: 8cqw; height: 1.4cqw; margin-left: -4cqw; background: #111; }
.mx-scr { position: absolute; inset: 4cqw 2cqw 2cqw; display: flex; flex-direction: column; gap: 1.2cqw; animation: mx-scr 11s infinite both; }
.mx-scr.s2 { animation-delay: 3.667s; } .mx-scr.s3 { animation-delay: 7.333s; }
@keyframes mx-scr { 0% { opacity: 0; transform: translateX(10%); } 3%, 30% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; transform: translateX(-10%); } }
.mx-bar { height: 4.4cqw; background: var(--blue); flex: none; }
.mx-field { display: flex; align-items: center; gap: .8cqw; padding: 1.2cqw; border: 1px solid #dfe3ea; font-weight: 600; font-size: 1.5cqw; }
.mx-field .material-symbols-outlined { color: var(--blue); }
.mx-btn { margin-top: auto; padding: 1.5cqw; background: var(--blue); color: #fff; text-align: center; font-weight: 700; font-size: 1.5cqw; }
.mx-res { display: grid; grid-template-columns: 7cqw 1fr auto; align-items: center; gap: 1cqw; padding: .8cqw; border: 1px solid #dfe3ea; font-size: 1.4cqw; }
.mx-res i { height: 6cqw; background: linear-gradient(135deg, #dbe8ff, #f1f6ff); }
.mx-res em { font-style: normal; font-weight: 800; }
.mx-done { display: grid; justify-items: center; gap: .6cqw; margin: 4cqw 0 2cqw; text-align: center; }
.mx-done .material-symbols-outlined { font-size: 7cqw; color: #16a34a; }
.mx-done b { font-size: 2cqw; letter-spacing: -.02em; }
.mx-done small { color: #6b7280; font-size: 1.3cqw; }
.mx-float { z-index: 2; display: flex; align-items: center; gap: .8cqw; padding: 1.1cqw 1.5cqw; background: #fff; border: 1px solid #dfe3ea; font-weight: 700; white-space: nowrap; animation: mx-bob 3s ease-in-out infinite alternate; }
.mx-float > .material-symbols-outlined { color: var(--blue); }
.f-wa { left: 9%; top: 24%; } .f-wa > .material-symbols-outlined { color: #16a34a; }
.f-lang { right: 8%; top: 36%; animation-delay: -1.5s; }
.f-fast { left: 13%; bottom: 18%; animation-delay: -.8s; }
.f-lang b { display: block; }
.f-lang .b { position: absolute; left: 4.2cqw; opacity: 0; }
.f-lang .a { animation: mx-swap-a 11s infinite; } .f-lang .b { animation: mx-swap-b 11s infinite; }
@keyframes mx-swap-a { 0%, 45% { opacity: 1; } 50%, 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes mx-swap-b { 0%, 45% { opacity: 0; } 50%, 95% { opacity: 1; } 100% { opacity: 0; } }

@media (max-width: 1000px) {
  .mx-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .mx-panel { grid-template-columns: minmax(0, 1fr); }
  .mx-stage { order: -1; }
}
@media (max-width: 560px) {
  .mx-tabs button { grid-template-columns: minmax(0, 1fr); padding-top: 18px; }
  .mx-ti { grid-row: auto; width: 38px; height: 38px; }
  .mx-sub { display: none; }
  .mx-tabs b { font-size: 14px; }
  .mx-feats { grid-template-columns: minmax(0, 1fr); }
  .mx-stage > * { font-size: 2.3cqw; }
}
.mx .mx-tabs button, .mx .mx-tabs button[aria-selected="true"] { overflow: visible; padding: 22px 0 6px; border: 0; border-radius: 0; background: none; }
.mx .mx-tabs button b { color: var(--text); font-weight: 700; }
.mx .mx-tabs button .mx-ti { display: grid; margin: 0; color: #111; font-size: inherit; }
.mx .mx-tabs button[aria-selected="true"] .mx-ti { color: #fff; }
.mx .mx-tabs button .mx-idx { display: block; margin: 0; font-size: 11px; }
.mx .mx-tabs button .mx-sub { margin: 0; font-size: 11px; }
@media (max-width: 560px) {
  .mx .mx-tabs button .mx-sub { display: none; }
  .st-hotels .mx-chip { padding: .7cqw 1.1cqw; }
  .st-hotels .mx-card { top: 55%; }
}
.mx .mx-tabs .mx-ti .material-symbols-outlined { display: block; margin: 0; font-size: 22px; color: inherit; }
@media (max-width: 560px) {
  .mx .mx-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 10px; margin-bottom: 22px; }
  .mx .mx-tabs button, .mx .mx-tabs button[aria-selected="true"] { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 16px 0 4px; }
  .mx .mx-tabs button .mx-idx { display: none; }
  .mx .mx-tabs button b { font-size: 12px; line-height: 1.25; letter-spacing: -.01em; }
  .mx .mx-tabs .mx-ti { width: 36px; height: 36px; }
  .mx .mx-tabs .mx-ti .material-symbols-outlined { font-size: 19px; }
}

/* ===== Product tour: icon steps + short screen recordings ===== */
.tour { display: grid; grid-template-columns: minmax(280px, .6fr) minmax(0, 1.4fr); gap: clamp(24px, 3.4vw, 64px); align-items: start; }
.tour-steps { display: grid; border-top: 1px solid var(--line); counter-reset: ts; }
.tour-steps button { position: relative; width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 16px; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; opacity: .5; transition: opacity .3s; }
.tour-steps button:hover, .tour-steps button[aria-selected="true"] { opacity: 1; }
.ts-ic { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background .3s, border-color .3s, color .3s; }
.ts-ic .material-symbols-outlined { font-size: 22px; }
.tour-steps button[aria-selected="true"] .ts-ic { background: #1f74ff; border-color: #1f74ff; color: #fff; }
.ts-txt b { display: block; margin-top: 11px; font-size: 17px; line-height: 1.25; letter-spacing: -.02em; }
.ts-txt span { display: block; max-height: 0; overflow: hidden; opacity: 0; color: var(--muted); font-size: 14.5px; line-height: 1.45; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.tour-steps button[aria-selected="true"] .ts-txt span { max-height: 96px; margin-top: 6px; opacity: 1; }
.ts-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #1f74ff; transform: scaleX(0); transform-origin: left; }
.tour-screen { position: sticky; top: 110px; overflow: hidden; border: 1px solid var(--line-2); background: #fff; box-shadow: 0 30px 60px -30px rgba(15, 30, 60, .25); }
.tour-screen .browser-bar .url { transform: none; }
.tour-screen video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #f3f5f8; }
.tour-full { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 0; background: rgba(10, 12, 16, .82); color: #fff; font: 700 11px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tour-full .material-symbols-outlined { font-size: 18px; }
.tour-screen { border-radius: 10px !important; }
@media (max-width: 900px) {
  .tour { grid-template-columns: minmax(0, 1fr); }
  .tour-screen { position: relative; top: 0; order: -1; }
  .tour-steps button { padding: 14px 0; gap: 12px; }
  .ts-ic { width: 38px; height: 38px; }
  .ts-txt b { margin-top: 9px; font-size: 16px; }
  .tour-full { right: 10px; bottom: 10px; padding: 8px 10px; font-size: 10px; }
}

/* iOS Safari ignores overflow-x on body alone; clip keeps position: sticky working */
@supports (overflow: clip) { html, body { overflow-x: clip; } }
@media (max-width: 640px) {
  .page-home .hero .display { font-size: 7.6vw; }
  .hero-media { aspect-ratio: 16 / 9; }
}
/* Hero copy keeps the page gutter (the shorthand padding above used to zero it on phones) */
.hero-grid { padding-left: var(--gutter); padding-right: var(--gutter); }
.faq details[open] summary::after { content: "−"; transform: none; }
@media (max-width: 640px) {
  .feat-grid, .feat-grid.feat-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat { padding: 18px 14px 20px; }
  .feat-ic { width: 38px; height: 38px; margin-bottom: 16px; }
  .feat h3 { font-size: 15px; }
  .feat p { font-size: 13px; line-height: 1.45; }
  .feat-idx { right: 12px; top: 14px; }
}
@media (max-width: 340px) { .feat-grid, .feat-grid.feat-4 { grid-template-columns: minmax(0, 1fr); } }

/* ===== Site-wide refresh: icon lists, spec grid, icon cards, screenshot stages ===== */
:root { --ac: #1f74ff; --ac-soft: #eef4ff; }
.page-room { --ac: #e04aa9; --ac-soft: #ffe8f7; }
.dark-zone { --ac-soft: rgba(31,116,255,.16); }

/* Media-less heroes: the horizon fades out above the transition band instead of being cut by it */
.hero:not(:has(.hero-media)) .hero-fx { height: auto; bottom: clamp(150px, 13vw, 250px); }

/* Icon list (was the black tick list) */
.icon-list { display: grid; gap: 12px; margin-top: 28px; }
.icon-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 14px; font-size: 15.5px; line-height: 1.4; letter-spacing: -.01em; }
.il-ic { width: 36px; height: 36px; display: grid; place-items: center; background: var(--ac-soft); color: var(--ac); transition: background .3s, color .3s; }
.il-ic .material-symbols-outlined { font-size: 19px; }
.icon-list li:hover .il-ic { background: var(--ac); color: #fff; }
.dark-zone .il-ic, body.page-contact .il-ic { background: rgba(31,116,255,.18); color: #7cc4ff; }

/* Spec grid (was the two-column "At a glance" table) */
.spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.spec-grid li { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; column-gap: 16px; row-gap: 6px; padding: 26px 24px 28px; background: var(--bg); transition: background-color .3s; }
.sg-ic { grid-row: span 2; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--ac); transition: background .3s, color .3s, border-color .3s; }
.sg-ic .material-symbols-outlined { font-size: 22px; }
.spec-grid b { margin-top: 3px; font-size: 16.5px; letter-spacing: -.02em; }
.sg-t { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.spec-grid li:hover { background: var(--surface); }
.spec-grid li:hover .sg-ic { background: var(--ac); border-color: var(--ac); color: #fff; }
.spec-grid li::after { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--ac); transition: width .5s var(--ease); }
.spec-grid li:hover::after { width: 100%; }
@media (max-width: 1100px) { .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .spec-grid { grid-template-columns: minmax(0, 1fr); } .spec-grid li { padding: 20px 18px; } }

/* Cards get an icon tile and a HUD hover */
.card-ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 26px; border: 1px solid var(--line-2); color: var(--ac); transition: background .3s, color .3s, border-color .3s; flex: none; }
.card-ic .material-symbols-outlined { font-size: 24px; }
.card:has(.card-ic):hover { border-color: color-mix(in srgb, var(--ac) 55%, transparent); }
.card:has(.card-ic):hover .card-ic { background: var(--ac); border-color: var(--ac); color: #fff; }
.card:has(.card-ic)::after { content: ""; position: absolute; inset: 8px; pointer-events: none; opacity: 0; transition: opacity .3s; --c: var(--ac);
  background: linear-gradient(var(--c), var(--c)) left top / 12px 2px no-repeat, linear-gradient(var(--c), var(--c)) left top / 2px 12px no-repeat, linear-gradient(var(--c), var(--c)) right top / 12px 2px no-repeat, linear-gradient(var(--c), var(--c)) right top / 2px 12px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 12px 2px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 2px 12px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 12px 2px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 2px 12px no-repeat; }
.card:has(.card-ic):hover::after { opacity: 1; }
.dark-zone .card-ic { border-color: #2a2a2a; color: #7cc4ff; }
/* Process steps: number + icon on one row, joined by a moving dashed line */
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.steps .step-top .step-n { margin: 0; background: var(--ac); color: #fff; }
.step-top .card-ic { margin: 0; }
.steps { position: relative; }
.steps .card { overflow: visible; }
.steps .card .step-top::after { content: ""; position: absolute; left: 100%; top: calc(clamp(26px, 2.2vw, 40px) + 21px); width: 16px; height: 2px; background: repeating-linear-gradient(90deg, var(--ac) 0 4px, transparent 4px 8px); background-size: 16px 2px; animation: step-flow 1s linear infinite; }
.steps .card:last-child .step-top::after { display: none; }
.steps .card .step-top { position: static; }
@keyframes step-flow { to { background-position: 8px 0; } }
@media (max-width: 900px) { .steps .card .step-top::after { display: none; } }

/* Screenshot features sit on a dotted HUD stage with floating icon chips and a scan line */
.shot-stage { --c: var(--ac); position: relative; padding: clamp(18px, 2.6vw, 44px); border: 1px solid var(--line); background: radial-gradient(#cdd3dc 1px, transparent 1.3px) 0 0 / 22px 22px, #f5f7fa; }
.shot-stage::before { content: ""; position: absolute; inset: 8px; z-index: 3; pointer-events: none;
  background: linear-gradient(var(--c), var(--c)) left top / 14px 2px no-repeat, linear-gradient(var(--c), var(--c)) left top / 2px 14px no-repeat, linear-gradient(var(--c), var(--c)) right top / 14px 2px no-repeat, linear-gradient(var(--c), var(--c)) right top / 2px 14px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 14px 2px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 2px 14px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 14px 2px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 2px 14px no-repeat; }
.shot-stage > .browser { position: relative; box-shadow: 0 30px 60px -30px rgba(15, 30, 60, .35); }
.shot-stage > .browser::after { content: ""; position: absolute; left: 0; right: 0; top: 36px; height: 2px; background: linear-gradient(90deg, transparent, var(--ac), transparent); opacity: .7; animation: shot-scan 6s ease-in-out infinite; pointer-events: none; }
@keyframes shot-scan { 0%, 100% { top: 36px; opacity: 0; } 10% { opacity: .7; } 50% { top: calc(100% - 2px); opacity: .7; } 60% { opacity: 0; } }
.shot-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; max-width: 58%; padding: 11px 15px; background: #fff; border: 1px solid #dfe3ea; color: #111; font-size: 13.5px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; box-shadow: 0 16px 34px -16px rgba(15, 30, 60, .4); animation: mx-bob 3.2s ease-in-out infinite alternate; }
.shot-chip .material-symbols-outlined { flex: none; display: grid; place-items: center; width: 30px; height: 30px; background: var(--ac); color: #fff; font-size: 18px; }
.shot-chip.c1 { left: clamp(-22px, -1.2vw, -8px); bottom: 14%; }
.shot-chip.c2 { right: clamp(-22px, -1.2vw, -8px); top: 18%; animation-delay: -1.6s; }
.shot-stage .phones-trio { margin: 0; }
@media (max-width: 640px) {
  .shot-stage { padding: 14px; }
  .shot-chip { padding: 8px 10px; font-size: 11.5px; gap: 8px; max-width: 70%; }
  .shot-chip .material-symbols-outlined { width: 24px; height: 24px; font-size: 15px; }
  .shot-chip.c1 { left: 6px; bottom: -14px; } .shot-chip.c2 { right: 6px; top: -14px; }
}
@media (prefers-reduced-motion: reduce) { .shot-chip, .shot-stage > .browser::after, .steps .card .step-top::after { animation: none; } }

/* Grids draw their own cell borders, so half-empty rows and cells mid-reveal never show a grey block */
.spec-grid, .feat-grid { gap: 0; background: none; border: 0; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.spec-grid li, .feat-grid .feat { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-grid:has(> li:nth-child(4):last-child), .spec-grid:has(> li:nth-child(8):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .spec-grid:has(> li:nth-child(4):last-child), .spec-grid:has(> li:nth-child(8):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .spec-grid:has(> li:nth-child(4):last-child), .spec-grid:has(> li:nth-child(8):last-child) { grid-template-columns: minmax(0, 1fr); } }
.sg-t a { display: inline; margin-left: 4px; white-space: nowrap; }
/* Flipped features: the stage keeps the wide column */
.feature.flip { grid-template-columns: 1.2fr .8fr; }
@media (max-width: 900px) { .feature.flip { grid-template-columns: minmax(0, 1fr); } }
/* Six explore cards: two rows of three instead of five + one */
.tn-more:has(> :nth-child(6):last-child:not([hidden])) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .tn-more:has(> :nth-child(6):last-child:not([hidden])) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Principles: number + icon */
.pr-top { display: flex; align-items: center; justify-content: space-between; }
.principles .card-ic { margin: 0; }
.principles li:hover .card-ic { background: var(--ac); border-color: var(--ac); color: #fff; }

/* Integrations: connection map */
.int-map { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 80px); align-items: center; }
.int-copy h2 { margin-bottom: 18px; }
.int-copy .icon-list b { font-weight: 700; }
.int-copy .text-link { display: inline-block; margin-top: 26px; }
.st-int .mx-hub { top: 50%; padding: 2.2cqw 3.2cqw; gap: .8cqw; }
.st-int .mx-hub img { width: 16cqw; height: auto; }
.st-int .mx-node { gap: .6cqw; padding: .8cqw 1.1cqw; }
@media (max-width: 1000px) { .int-map { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .st-int .mx-node em { display: none; } }
.int-map { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); }
.st-int > * { font-size: 2.1cqw; }
.st-int .mx-node em { font-size: 1.5cqw; }
.st-int .mx-hub small { font-size: 1.4cqw; }
@media (max-width: 560px) { .st-int > * { font-size: 2.8cqw; } }

/* Explore cards: titles scale with the card instead of breaking mid-word */
.tn-card { container-type: inline-size; }
.tn-card h3 { font-size: clamp(17px, 11.5cqw, 28px) !important; overflow-wrap: normal; word-break: normal; hyphens: manual; }

/* ===== RoomFollow mobile: app showcase with a real phone frame ===== */
.app-show { display: grid; grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 3.4vw, 64px); align-items: center; }
.app-steps button { padding: 13px 0; }
.app-steps .ts-ic { width: 40px; height: 40px; }
.app-steps .ts-txt b { margin-top: 9px; font-size: 16px; }
.app-steps button[aria-selected="true"] .ts-bar { animation: app-bar var(--app-dur, 4.5s) linear forwards; }
.app-show.paused .app-steps .ts-bar { animation-play-state: paused; }
@keyframes app-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.app-stage { display: grid; place-items: center; min-height: clamp(520px, 46vw, 760px); overflow: hidden; background: radial-gradient(#e7cfe0 1px, transparent 1.3px) 0 0 / 22px 22px, radial-gradient(60% 55% at 50% 45%, #ffe9f7, #f7f3f6 70%); }
.app-phone { position: relative; z-index: 2; width: clamp(230px, 19vw, 320px); padding: clamp(9px, .8vw, 13px); background: linear-gradient(145deg, #2a2a30, #0c0c10 40%, #1b1b20); border-radius: clamp(40px, 3.6vw, 56px) !important; box-shadow: inset 0 0 0 1.5px #3a3a42, inset 0 0 0 4px #0b0b0e, 0 50px 90px -40px rgba(120, 20, 90, .55), 0 18px 40px -20px rgba(0, 0, 0, .5); }
.app-phone::before, .app-phone::after { content: ""; position: absolute; width: 3px; background: #26262c; border-radius: 2px !important; }
.app-phone::before { left: -3px; top: 22%; height: 9%; box-shadow: 0 calc(clamp(230px, 19vw, 320px) * .26) 0 #26262c; }
.app-phone::after { right: -3px; top: 28%; height: 14%; }
.app-screen { position: relative; overflow: hidden; aspect-ratio: 660 / 1434; background: #fff; border-radius: clamp(31px, 2.8vw, 44px) !important; }
.app-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease, transform .5s var(--ease); }
.app-screen img.swap { opacity: 0; transform: translateX(7%) scale(.985); }
.app-island { position: absolute; z-index: 3; left: 50%; top: calc(clamp(9px, .8vw, 13px) + 2.2%); width: 31%; height: 3.4%; transform: translateX(-50%); background: #000; border-radius: 99px !important; }
.app-phone.ghost { position: absolute; top: 50%; z-index: 1; width: clamp(180px, 14.5vw, 250px); opacity: .45; filter: saturate(.6) blur(.4px); transform: translateY(-50%); transition: opacity .4s; }
.app-phone.ghost.g-prev { left: 6%; } .app-phone.ghost.g-next { right: 6%; }
.app-stage .shot-chip { z-index: 4; }
.app-stage .shot-chip.c1 { left: 5%; bottom: 9%; }
.app-stage .shot-chip.c2 { right: 5%; top: 9%; }
@media (max-width: 1000px) {
  .app-show { grid-template-columns: minmax(0, 1fr); }
  .app-stage { order: -1; min-height: 0; padding: 40px 0; }
  .app-phone.ghost.g-prev { left: -6%; } .app-phone.ghost.g-next { right: -6%; }
}
@media (max-width: 640px) {
  .app-phone { width: 62vw; }
  .app-phone.ghost { width: 46vw; opacity: .3; }
  .app-phone.ghost.g-prev { left: -22%; } .app-phone.ghost.g-next { right: -22%; }
  .app-stage .shot-chip.c1 { left: 8px; bottom: 10px; } .app-stage .shot-chip.c2 { right: 8px; top: 10px; }
}

/* ===== Quick contact (floating) ===== */
.qc { position: fixed; right: clamp(14px, 1.6vw, 28px); bottom: clamp(14px, 1.6vw, 28px); z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: var(--font); }
.qc-btn { --c: #9fd0ff; position: relative; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px 0 18px; border: 0; background: #1f74ff; color: #fff; font: 700 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 18px 40px -14px rgba(31, 116, 255, .7), inset 0 0 0 1px rgba(160, 205, 255, .7); transition: transform .25s var(--ease), background .2s; }
.qc-btn::after { content: ""; position: absolute; inset: -6px; pointer-events: none; opacity: .9;
  background: linear-gradient(var(--c), var(--c)) left top / 10px 2px no-repeat, linear-gradient(var(--c), var(--c)) left top / 2px 10px no-repeat, linear-gradient(var(--c), var(--c)) right top / 10px 2px no-repeat, linear-gradient(var(--c), var(--c)) right top / 2px 10px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 10px 2px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 2px 10px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 10px 2px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 2px 10px no-repeat; }
.qc-btn:hover { transform: translateY(-2px); background: #2b7fff; }
.qc-btn .material-symbols-outlined { font-size: 22px; }
.qc.open .qc-btn .material-symbols-outlined { font-variation-settings: "FILL" 1; }
.qc-panel { width: min(330px, calc(100vw - 28px)); padding: 20px; background: #0b0d12; color: #fff; border: 1px solid #22262f; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .6); animation: qc-in .3s var(--ease); }
.qc-panel[hidden] { display: none; }
@keyframes qc-in { from { opacity: 0; transform: translateY(8px); } }
.qc-title { display: block; font-size: 18px; letter-spacing: -.02em; }
.qc-sub { display: block; margin: 4px 0 14px; color: #9aa2ad; font-size: 13.5px; }
.qc-link { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 12px; padding: 12px 10px; margin: 0 -10px; transition: background .2s; }
.qc-link:hover { background: rgba(255, 255, 255, .06); }
.qc-link > .material-symbols-outlined { display: grid; place-items: center; width: 40px; height: 40px; background: rgba(31, 116, 255, .18); color: #7cc4ff; font-size: 21px; }
.qc-link[data-qc-wa] > .material-symbols-outlined { background: rgba(37, 211, 102, .16); color: #4ade80; }
.qc-link b { display: block; font-size: 15px; letter-spacing: -.01em; }
.qc-link small { display: block; color: #9aa2ad; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) {
  .qc-btn { height: 50px; padding: 0 16px; }
  .qc-btn .qc-label { display: none; }
}
@media print { .qc { display: none; } }
/* Explore cards: never leave a single card alone on a row */
.tn-more:has(> :nth-child(6):last-child):not(:has(> [hidden])) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.tn-more:has(> :nth-child(6):last-child):has(> [hidden]) { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
.tn-more:has(> :nth-child(5):last-child):has(> [hidden]) { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
@media (max-width: 1100px) { .tn-more:has(> :nth-child(6):last-child), .tn-more:has(> :nth-child(5):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 560px) { .tn-more:has(> :nth-child(6):last-child), .tn-more:has(> :nth-child(5):last-child) { grid-template-columns: minmax(0, 1fr) !important; } }
@media (max-width: 1100px) {
  .tn-more:has(> :nth-child(6):last-child):not(:has(> [hidden])), .tn-more:has(> :nth-child(6):last-child):has(> [hidden]), .tn-more:has(> :nth-child(5):last-child):has(> [hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 560px) {
  .tn-more:has(> :nth-child(6):last-child):not(:has(> [hidden])), .tn-more:has(> :nth-child(6):last-child):has(> [hidden]), .tn-more:has(> :nth-child(5):last-child):has(> [hidden]) { grid-template-columns: minmax(0, 1fr) !important; }
}
.en-feed li { display: block; line-height: 26px; overflow: hidden; text-overflow: ellipsis; }
.en-feed i { display: inline-block; margin-right: 8px; vertical-align: middle; }
@media (max-width: 1000px) { .int-map { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .btn { padding: 0 18px; letter-spacing: .1em; white-space: normal; text-align: center; line-height: 1.25; } }
.qc-link[hidden] { display: none; }
