:root {
  --tech-edge: rgba(62, 143, 157, 0.28);
  --tech-ink: #327987;
  --bg: #faf9f7;
  --bg-2: #f3f1ec;
  --card: #ffffff;
  --ink: #191613;
  --ink-2: #52493f;
  --ink-3: #8a8177;
  --line: #e8e4dd;
  --line-2: #d9d4ca;
  --red: #ff4d4d;
  --red-deep: #e02929;
  --orange: #ff8a3d;
  --amber: #ffb020;
  --teal: #0fc2a7;
  --blue: #2f7bff;
  --pink: #ff5c8a;
  --grad-hot: linear-gradient(96deg, #ff4d4d 0%, #ff6a3d 55%, #ff8a3d 100%);
  --grad-warm: linear-gradient(96deg, #ffb020, #ff8a3d);
  --grad-cool: linear-gradient(96deg, #0fc2a7, #2f7bff);
  --shadow-lg: 0 24px 60px -24px rgba(25,22,19,0.18);
  --shadow-md: 0 12px 34px -14px rgba(25,22,19,0.14);
  --shadow-sm: 0 3px 14px -6px rgba(25,22,19,0.12);
  --r-lg: 22px;
  --r-md: 15px;
  --r-sm: 10px;
  --nav-h: 74px;
  --shell: 1260px;
  --font-sans: "PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC",-apple-system,"Segoe UI",sans-serif;
  --font-mono: "SF Mono","Cascadia Code",ui-monospace,Menlo,monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-sans); background: var(--bg); color: var(--ink); line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::selection { background: rgba(255,77,77,0.2); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--red),var(--orange)); border-radius: 6px; border: 2px solid var(--bg-2); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 18px; border-radius: 0 0 12px 12px; background: var(--ink); color: #fff; font-weight: 600; transition: top 0.2s; }
.skip:focus { top: 0; }
:focus-visible { outline: 2.5px solid var(--red); outline-offset: 3px; border-radius: 4px; }

/* warm canvas waves (reactbits gradient-waves style, canvas behind content) */
#wave-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.55; }
.page { position: relative; z-index: 1; }

.shell { width: min(var(--shell), calc(100% - 48px)); margin: 0 auto; }
section { position: relative; }

/* buttons: shiny-text sweep on primary (reactbits shiny-text) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 30px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1; transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s; position: relative; overflow: hidden; }
.btn-primary { color: #fff; background: var(--grad-hot); background-size: 200% 100%; box-shadow: 0 10px 26px -8px rgba(255,77,77,0.55); }
.btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; width: 44%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent); transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite; }
@keyframes shine { 0% { left: -60%; } 45%, 100% { left: 130%; } }
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 38px -10px rgba(255,77,77,0.6); }
.btn-primary:active { transform: scale(0.98); }
.btn-ghost { color: var(--ink); background: var(--card); border: 1.5px solid var(--line-2); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.sec-head { text-align: center; margin-bottom: 60px; }
.sec-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--red-deep); text-transform: uppercase; padding: 8px 18px; border: 1.5px solid rgba(255,77,77,0.25); border-radius: 999px; background: rgba(255,77,77,0.05); margin-bottom: 20px; font-weight: 600; }
.sec-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-hot); }
.sec-head h2 { font-size: clamp(32px,4.6vw,56px); line-height: 1.16; letter-spacing: -0.01em; font-weight: 900; }
.sec-head .grad { background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-head p { color: var(--ink-2); margin-top: 14px; font-size: 16.5px; }

[data-reveal] { opacity: 0; transform: translateY(30px); }
html.js [data-reveal] { transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1); }
html.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
@media (max-width: 768px) { .shell { width: calc(100% - 32px); } .sec-head { margin-bottom: 42px; } }

/* ============ NAV ============ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center; transition: background 0.3s, border-color 0.3s, box-shadow 0.3s; border-bottom: 1px solid transparent; background: rgba(250,249,247,0.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.scrolled { background: rgba(250,249,247,0.88); border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(25,22,19,0.3); }
.nav-inner { display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 17px; }
.brand-mark { position: relative; width: 34px; height: 34px; overflow: hidden; border-radius: 50%; background: #7c5cff; transform: translateZ(0); flex: none; }
.brand-mark i { position: absolute; width: 10px; height: 1px; left: 12px; top: 17px; background: #fff; }
.brand-mark i:nth-child(2) { transform: rotate(90deg); }
.brand-mark i:nth-child(3) { transform: rotate(45deg); }
.brand-mark i:nth-child(4) { transform: rotate(-45deg); }
.brand small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-3); line-height: 1.25; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 9px 15px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--ink); background: rgba(25,22,19,0.05); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-login { font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color 0.2s; }
.nav-login:hover { color: var(--ink); }
.nav .btn { padding: 11px 22px; font-size: 14px; }
.menu-btn { display: none; flex-direction: column; gap: 5px; padding: 10px; margin-left: auto; }
.menu-btn i { width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 0.3s; }
.menu-btn.open i:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.menu-btn.open i:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-panel { display: none; position: fixed; top: calc(var(--nav-h) - 8px); left: 12px; right: 12px; z-index: 99; flex-direction: column; gap: 4px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); }
.mobile-panel a { padding: 13px 16px; border-radius: 12px; font-size: 15px; font-weight: 500; }
.mobile-panel a:hover { background: var(--bg-2); }
@media (max-width: 900px) { .nav-links, .nav-actions { display: none; } .menu-btn { display: flex; } .mobile-panel.open { display: flex; } }

/* ============ HERO ============ */
.hero { padding: calc(var(--nav-h) + 60px) 0 40px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--card); font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 26px; box-shadow: var(--shadow-sm); }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(15,194,167,0.45); } 70% { box-shadow: 0 0 0 9px rgba(15,194,167,0); } 100% { box-shadow: 0 0 0 0 rgba(15,194,167,0); } }
.hero h1 { font-size: clamp(44px,5.8vw,80px); line-height: 1.1; font-weight: 900; letter-spacing: -0.02em; }
.hero h1 .grad { background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .rotator { display: inline-grid; vertical-align: bottom; overflow: hidden; height: 1.1em; }
.hero h1 .rotator b { grid-area: 1/1; opacity: 0; transform: translateY(60%); transition: opacity 0.5s cubic-bezier(0.22,1,0.36,1), transform 0.5s cubic-bezier(0.22,1,0.36,1); background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .rotator b.show { opacity: 1; transform: none; }
.hero-sub { margin-top: 24px; font-size: 18px; color: var(--ink-2); max-width: 500px; }
.hero-sub b { color: var(--ink); font-weight: 700; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-price { display: inline-flex; align-items: baseline; gap: 10px; margin-top: 28px; color: var(--ink-3); font-size: 14px; }
.hero-price b { color: var(--red-deep); font-size: 21px; font-family: var(--font-mono); font-weight: 800; }
.hero-price i { font-style: normal; border-bottom: 1.5px dashed var(--line-2); }
/* scrambled text line */
.hero-scramble { margin-top: 26px; font-family: var(--font-mono); font-size: 13.5px; color: var(--ink-3); letter-spacing: 0.04em; min-height: 1.6em; }
.hero-scramble .cursor { display: inline-block; width: 9px; height: 1.15em; vertical-align: -0.22em; background: var(--red); margin-left: 3px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* hero lab: white app window */
.hero-lab { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.lab-topbar { display: flex; align-items: center; gap: 13px; padding: 15px 20px; border-bottom: 1px solid var(--line); background: linear-gradient(var(--bg),var(--card)); }
.lab-topbar span { display: flex; gap: 7px; }
.lab-topbar span i { width: 11px; height: 11px; border-radius: 50%; }
.lab-topbar span i:nth-child(1) { background: #ff5f57; }
.lab-topbar span i:nth-child(2) { background: #febc2e; }
.lab-topbar span i:nth-child(3) { background: #28c840; }
.lab-topbar b { font-size: 13.5px; font-weight: 700; }
.lab-topbar em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 600; color: var(--teal); display: flex; align-items: center; gap: 6px; }
.lab-topbar em::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: pulse 2s infinite; }
.lab-body { padding: 22px 20px 18px; }
.topic-field { display: block; padding: 13px 15px; background: var(--bg); border: 1.5px solid var(--line-2); border-radius: var(--r-md); transition: border-color 0.2s, box-shadow 0.2s; }
.topic-field:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,77,77,0.12); }
.topic-field span { display: block; font-size: 11.5px; font-weight: 600; color: var(--ink-3); margin-bottom: 3px; letter-spacing: 0.02em; }
.topic-field input { width: 100%; background: none; border: 0; outline: 0; color: var(--ink); font-size: 15px; font-weight: 600; font-family: inherit; }
.topic-presets { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.topic-presets button { padding: 8px 15px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1.5px solid var(--line-2); color: var(--ink-2); background: var(--card); transition: all 0.2s; }
.topic-presets button:hover { border-color: var(--ink-3); color: var(--ink); }
.topic-presets button.selected { background: var(--ink); border-color: var(--ink); color: #fff; }
.pipeline { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 12.5px; font-weight: 600; }
.pipeline span { padding: 7px 13px; border-radius: 999px; background: var(--bg); color: var(--ink-3); border: 1.5px solid var(--line); transition: all 0.35s; }
.pipeline span.on { background: rgba(255,77,77,0.08); color: var(--red-deep); border-color: rgba(255,77,77,0.4); }
.pipeline i { flex: 0 0 20px; height: 1.5px; background: var(--line-2); }
.hero-output { margin-top: 18px; }
.platform-tabs { display: flex; gap: 5px; background: var(--bg); padding: 5px; border-radius: 13px; border: 1.5px solid var(--line); }
.platform-tabs button { flex: 1; padding: 9px 4px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--ink-3); transition: all 0.22s; }
.platform-tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.output-copy { margin-top: 13px; padding: 17px; background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-md); min-height: 96px; }
.output-copy b { display: inline-block; font-size: 11.5px; font-family: var(--font-mono); font-weight: 700; color: var(--red-deep); border: 1.5px solid rgba(255,77,77,0.3); background: rgba(255,77,77,0.05); border-radius: 7px; padding: 2px 10px; margin-bottom: 9px; }
.output-copy p { font-size: 14.5px; color: var(--ink-2); line-height: 1.65; }
.lab-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); background: var(--bg); }
.lab-foot b { color: var(--teal); font-weight: 700; font-size: 12.5px; }

/* ============ TRUST ============ */
.trust { padding: 34px 0 6px; }
.trust-summary { display: flex; align-items: center; justify-content: center; gap: clamp(24px,6vw,88px); flex-wrap: wrap; text-align: center; padding: 34px 24px; margin-bottom: 30px; border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }
.trust-summary > p { font-size: 13px; font-weight: 700; letter-spacing: 0.28em; color: var(--ink-3); }
.verified-facts { display: flex; gap: clamp(24px,5vw,72px); flex-wrap: wrap; justify-content: center; }
.verified-facts span { display: flex; flex-direction: column; }
.verified-facts b { font-size: clamp(30px,3.6vw,46px); font-weight: 900; font-family: var(--font-mono); background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.15; }
.verified-facts small { color: var(--ink-3); font-size: 12.5px; font-weight: 500; margin-top: 2px; }
.trust-rail { overflow: hidden; position: relative; padding: 16px 0; -webkit-mask-image: linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent); mask-image: linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent); }
.trust-track { display: flex; gap: 54px; width: max-content; animation: marquee 34s linear infinite; }
.trust-rail:hover .trust-track { animation-play-state: paused; }
.trust-track span { font-size: 15px; font-weight: 700; color: var(--ink-3); letter-spacing: 0.08em; white-space: nowrap; transition: color 0.3s; }
.trust-track span:hover { color: var(--ink); }
@keyframes marquee { to { transform: translateX(calc(-50% - 27px)); } }

/* ============ FEATURES: SHOWCASE CARDS WITH REAL SCREENSHOTS ============ */
.features { padding: 120px 0 80px; }
.showcase { display: flex; flex-direction: column; gap: 28px; }
.shot-card {
  display: grid; grid-template-columns: 0.92fr 1.3fr; gap: clamp(24px,4vw,56px); align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 26px;
  padding: clamp(24px,3.6vw,44px);
  box-shadow: var(--shadow-md);
  overflow: hidden; position: relative;
  transition: box-shadow 0.35s;
}
.shot-card:hover { box-shadow: var(--shadow-lg); }
.shot-card.flip { grid-template-columns: 1.3fr 0.92fr; }
.shot-card.flip .shot-media { order: 2; }
.shot-card.flip .shot-copy { order: 1; }
.shot-num { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--ink-3); letter-spacing: 0.12em; }
.shot-copy .b-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 25px; margin: 16px 0 0; background: var(--bg); border: 1.5px solid var(--line); }
.shot-copy h3 { font-size: clamp(24px,2.6vw,34px); font-weight: 900; margin-top: 14px; letter-spacing: -0.01em; }
.shot-copy .problem { margin-top: 12px; color: var(--red-deep); font-weight: 600; font-size: 15px; }
.shot-copy .result { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; max-width: 420px; }
.shot-copy ul { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.shot-copy li { display: flex; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.shot-copy li::before { content: "✓"; color: var(--teal); font-weight: 800; }
.shot-meta { margin-top: 22px; display: inline-flex; padding: 6px 15px; border-radius: 999px; font-size: 12px; font-weight: 700; font-family: var(--font-mono); border: 1.5px solid var(--line-2); color: var(--ink-3); background: var(--bg); }
.shot-meta.real { color: #0a8f7a; border-color: rgba(15,194,167,0.4); background: rgba(15,194,167,0.07); }
.shot-media { position: relative; }
.shot-media .frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 34px 70px -28px rgba(25,22,19,0.35); transform: perspective(1400px) rotateY(6deg) rotateX(1.5deg); transition: box-shadow 0.35s ease; }
.shot-card.flip .shot-media .frame { transform: perspective(1400px) rotateY(-6deg) rotateX(1.5deg); }
.shot-card:hover .shot-media .frame { transform: perspective(1400px) rotateY(2deg) rotateX(0.5deg) translateY(-4px); }
.shot-card.flip:hover .shot-media .frame { transform: perspective(1400px) rotateY(-2deg) rotateX(0.5deg) translateY(-4px); }
.shot-media img { width: 100%; }
.shot-media::before { content: ""; position: absolute; inset: 8% 4% 4% 12%; background: var(--grad-hot); opacity: 0.16; filter: blur(42px); border-radius: 24px; z-index: -1; }
.shot-card.cool::before, .shot-media.cool::before { background: var(--grad-cool); }

/* small feature trio */
.feature-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feat {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s;
}
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feat .b-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: var(--bg); border: 1.5px solid var(--line); }
.feat .b-num { position: absolute; top: 24px; right: 26px; font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--ink-3); }
.feat h3 { font-size: 20px; font-weight: 800; margin-top: 16px; }
.feat p { color: var(--ink-2); font-size: 14.5px; margin-top: 8px; }
.feat .shot-meta { margin-top: 20px; }
/* glare hover (reactbits glare-hover) */
.glare { position: relative; overflow: hidden; }
.glare::after { content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--gx,50%) var(--gy,50%), rgba(255,138,61,0.14), transparent 65%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.glare:hover::after { opacity: 1; }

/* ============ TOUR ============ */
.tour { padding: 100px 0; }
.tour-grid { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.tour-list { display: flex; flex-direction: column; gap: 6px; position: sticky; top: calc(var(--nav-h) + 22px); }
.tour-item { display: flex; align-items: center; gap: 13px; text-align: left; padding: 13px 17px; border-radius: 13px; color: var(--ink-2); font-size: 15px; font-weight: 600; border: 1.5px solid transparent; transition: all 0.22s; }
.tour-item i { font-style: normal; font-family: var(--font-mono); font-size: 12px; width: 22px; flex: none; color: var(--ink-3); }
.tour-item:hover { color: var(--ink); background: var(--bg-2); }
.tour-item.active { color: var(--ink); background: var(--card); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.tour-item.active i { color: var(--red); }
.tour-panel { display: grid; grid-template-columns: 1fr 300px; gap: 22px; align-items: stretch; }
.tour-visual { border-radius: var(--r-lg); overflow: hidden; position: relative; border: 1px solid var(--line-2); background: var(--card); box-shadow: var(--shadow-lg); }
.tour-visual img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.tour-visual img[hidden] { display: none; }
.tour-visual .tag { position: absolute; top: 15px; right: 15px; z-index: 2; padding: 6px 14px; border-radius: 999px; font-size: 11.5px; font-weight: 700; font-family: var(--font-mono); background: rgba(25,22,19,0.78); color: #fff; backdrop-filter: blur(6px); }
.tour-visual .tag.real { color: #4ff0d2; }
.tour-info { border-radius: var(--r-lg); padding: 30px 26px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.tour-info .idx { font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; color: var(--red); letter-spacing: 0.1em; }
.tour-info h3 { font-size: 25px; margin-top: 12px; font-weight: 900; }
.tour-info .problem { margin-top: 13px; color: var(--red-deep); font-weight: 600; font-size: 14.5px; }
.tour-info .result { margin-top: 8px; color: var(--ink-2); font-size: 14px; }
.tour-info ul { margin-top: auto; padding-top: 20px; display: flex; flex-direction: column; gap: 9px; }
.tour-info li { display: flex; gap: 10px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.tour-info li::before { content: "✓"; color: var(--teal); font-weight: 800; }
.tour-fake { position: relative; padding: 26px; display: flex; flex-direction: column; background: var(--bg); }
.tour-fake[hidden] { display: none; }
.tour-break { display: flex; flex-direction: column; gap: 15px; height: 100%; }
.tour-break .b-src { padding: 18px; border-radius: 14px; background: var(--card); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.tour-break .b-src small { color: var(--ink-3); font-size: 11.5px; font-weight: 700; display: block; }
.tour-break .b-src b { display: block; margin-top: 6px; font-size: 15px; }
.tour-break .b-src i.timeline { display: block; height: 4px; margin-top: 13px; border-radius: 3px; background: var(--grad-hot); position: relative; }
.tour-break .b-src i.timeline::after { content: ""; position: absolute; right: 30%; top: -4.5px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 2.5px solid var(--red); }
.tour-break .b-ana { flex: 1; padding: 18px; border-radius: 14px; background: var(--card); border: 1.5px solid rgba(255,77,77,0.3); transition: opacity 0.3s, transform 0.3s; box-shadow: var(--shadow-sm); }
.tour-break .b-ana small { color: var(--red-deep); font-size: 11.5px; font-weight: 700; }
.tour-break .b-ana p { margin-top: 9px; font-size: 13.5px; color: var(--ink-2); }
.tour-break .b-ana p b { color: var(--ink); font-family: var(--font-mono); font-size: 12px; margin-right: 8px; }
.tour-break label { display: flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.tour-break input[type="range"] { flex: 1; accent-color: var(--red); }
.flow-acc { display: flex; flex-direction: column; gap: 11px; height: 100%; }
.flow-acc .acc-row { display: flex; align-items: center; gap: 13px; padding: 14px 16px; border-radius: 13px; background: var(--card); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.flow-acc .acc-row i { font-style: normal; font-family: var(--font-mono); font-size: 12px; font-weight: 700; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--bg); border: 1.5px solid var(--line); color: var(--red-deep); flex: none; }
.flow-acc .acc-row b { display: block; font-size: 14.5px; }
.flow-acc .acc-row small { color: #0a8f7a; font-size: 12px; font-weight: 600; }
.flow-acc .acc-confirm { margin-top: auto; padding: 20px; border-radius: 14px; text-align: center; background: var(--ink); color: #fff; box-shadow: var(--shadow-md); }
.flow-acc .acc-confirm strong { font-size: 15.5px; }
.flow-acc .acc-confirm p { font-size: 12px; color: rgba(255,255,255,0.65); margin-top: 5px; }
.flow-acc .acc-confirm .row { display: flex; gap: 10px; justify-content: center; margin-top: 14px; }
.flow-acc .acc-confirm button { padding: 9px 18px; border-radius: 999px; font-size: 12.5px; font-weight: 600; border: 1.5px solid rgba(255,255,255,0.25); color: #fff; }
.flow-acc .acc-confirm button.primary { background: var(--grad-hot); border: 0; box-shadow: 0 6px 18px -6px rgba(255,77,77,0.6); }
.tour-fake .fb-note { margin-top: auto; text-align: center; font-size: 12px; color: var(--ink-3); font-weight: 500; }
.return-bars { display: flex; align-items: flex-end; gap: 10px; height: 52%; margin: auto 0; padding: 0 6px; }
.return-bars i { flex: 1; border-radius: 8px 8px 3px 3px; background: var(--grad-hot); height: calc(var(--h) * 1%); transform-origin: bottom; }
html.js .return-bars.in i { animation: grow 1s cubic-bezier(0.22,1,0.22,1) backwards; }
html.js .return-bars.in i:nth-child(2) { animation-delay: 0.09s; }
html.js .return-bars.in i:nth-child(3) { animation-delay: 0.18s; }
html.js .return-bars.in i:nth-child(4) { animation-delay: 0.27s; }
html.js .return-bars.in i:nth-child(5) { animation-delay: 0.36s; }
html.js .return-bars.in i:nth-child(6) { animation-delay: 0.45s; }
@keyframes grow { from { transform: scaleY(0); } }

/* ============ GENERATION LAB ============ */
.lab-section { padding: 110px 0; }
.lab-console { background: var(--card); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); }
.lab-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 21px 28px; border-bottom: 1px solid var(--line); background: linear-gradient(var(--bg),var(--card)); }
.lab-head .cur-topic { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.lab-head .cur-topic b { display: block; color: var(--ink); font-size: 15.5px; font-weight: 800; margin-top: 2px; }
.lab-head em { margin-left: auto; font-style: normal; font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: #0a8f7a; padding: 7px 14px; border-radius: 999px; border: 1.5px solid rgba(15,194,167,0.35); background: rgba(15,194,167,0.08); }
.lab-head em.warn { color: var(--red-deep); border-color: rgba(255,77,77,0.35); background: rgba(255,77,77,0.06); }
.lab-grid { display: grid; grid-template-columns: 272px 1fr; }
.lab-side { border-right: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.lab-side .side-label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.15em; color: var(--ink-3); padding: 6px 8px; }
.topic-card { text-align: left; padding: 15px 16px; border-radius: 14px; border: 1.5px solid transparent; transition: all 0.22s; }
.topic-card b { display: block; font-size: 15px; font-weight: 700; }
.topic-card span { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; margin-top: 5px; color: var(--ink-3); }
.topic-card span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.topic-card[data-verified="true"] span { color: #0a8f7a; }
.topic-card[data-verified="true"] span::before { background: var(--teal); }
.topic-card[data-verified="false"] span { color: var(--red-deep); }
.topic-card[data-verified="false"] span::before { background: var(--red); }
.topic-card:hover { background: var(--bg); }
.topic-card.selected { background: var(--bg); border-color: var(--ink); }
.lab-main { padding: 24px 28px 28px; display: flex; flex-direction: column; }
.plat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.plat-card { padding: 13px 12px; border-radius: 13px; text-align: left; border: 1.5px solid var(--line); background: var(--bg); transition: all 0.22s; }
.plat-card b { display: block; font-size: 14.5px; font-weight: 700; }
.plat-card small { display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--ink-3); margin-top: 3px; }
.plat-card:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.plat-card[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.plat-card[aria-selected="true"] small { color: rgba(255,255,255,0.55); }
.lab-doc-tools { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.lab-doc-tools .fmt { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--red-deep); border: 1.5px solid rgba(255,77,77,0.3); background: rgba(255,77,77,0.05); padding: 4px 12px; border-radius: 7px; }
.view-switch { display: flex; background: var(--bg); border: 1.5px solid var(--line); border-radius: 11px; padding: 4px; gap: 4px; }
.view-switch button { padding: 7px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--ink-3); transition: all 0.2s; }
.view-switch button.selected { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.lab-doc { margin-top: 15px; flex: 1; background: var(--bg); border: 1.5px solid var(--line); border-radius: 16px; padding: 24px 26px; }
.lab-doc h3 { font-size: 19px; font-weight: 800; margin-bottom: 13px; }
.lab-doc .doc-copy { font-size: 14.5px; color: var(--ink-2); line-height: 1.85; white-space: pre-wrap; min-height: 120px; }
.lab-doc .doc-copy .caret { display: inline-block; width: 3px; height: 1.1em; vertical-align: -0.2em; background: var(--red); margin-left: 2px; animation: caret 0.9s steps(1) infinite; }
.lab-doc .struct { display: flex; flex-wrap: wrap; gap: 10px; min-height: 120px; align-content: flex-start; }
.lab-doc .struct span { padding: 9px 15px; border-radius: 10px; font-size: 13.5px; font-weight: 600; background: var(--card); border: 1.5px solid var(--line-2); color: var(--ink); box-shadow: var(--shadow-sm); }
.lab-doc .proof { margin-top: 17px; font-size: 12px; font-weight: 600; color: var(--ink-3); display: block; }
.lab-doc .proof.ok { color: #0a8f7a; }
.lab-doc .proof.warn { color: var(--red-deep); }
.cover-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 22px; }
.cover-card { aspect-ratio: 3/3.5; border-radius: 17px; padding: 18px; display: flex; flex-direction: column; color: #fff; position: relative; overflow: hidden; transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s; box-shadow: var(--shadow-md); }
.cover-card:hover { transform: translateY(-6px) rotate(-1.2deg); }
.cover-card span { font-size: 12px; font-weight: 700; opacity: 0.8; position: relative; z-index: 1; }
.cover-card b { margin-top: auto; font-size: 19px; line-height: 1.32; font-weight: 800; position: relative; z-index: 1; }
.cover-card i { font-style: normal; font-size: 11.5px; font-family: var(--font-mono); opacity: 0.7; margin-top: 8px; position: relative; z-index: 1; }
.cover-card.c1 { background: linear-gradient(150deg,#ff4d4d,#d92b4b 70%,#b81d5b); }
.cover-card.c2 { background: linear-gradient(150deg,#262626,#111 70%,#000); }
.cover-card.c3 { background: linear-gradient(150deg,#2f7bff,#1f4fd6 70%,#173aa8); }
.cover-card.c4 { background: linear-gradient(150deg,#0fc2a7,#0a9d87 70%,#0a7a6b); }
.cover-card::after { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; filter: blur(52px); opacity: 0.55; right: -40px; top: -40px; background: rgba(255,255,255,0.5); }
.image-strip { margin-top: 22px; border-radius: 22px; border: 1px solid var(--line); overflow: hidden; position: relative; background: var(--card); box-shadow: var(--shadow-md); }
.image-strip img { width: 100%; }
.image-strip figcaption { position: absolute; left: 16px; bottom: 16px; padding: 9px 17px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(25,22,19,0.78); color: #fff; backdrop-filter: blur(6px); }

/* ============ CASES ============ */
.cases { padding: 110px 0; }
.case-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 38px; }
.case-tab { padding: 13px 30px; border-radius: 999px; font-size: 15px; font-weight: 700; border: 1.5px solid var(--line-2); color: var(--ink-2); background: var(--card); transition: all 0.25s; box-shadow: var(--shadow-sm); }
.case-tab:hover { color: var(--ink); }
.case-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: var(--shadow-md); }
.case-stage { display: grid; grid-template-columns: 370px 1fr; gap: 22px; }
.case-profile { border-radius: var(--r-lg); padding: 27px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 20px; }
.profile-head { display: flex; align-items: center; gap: 15px; }
.profile-head span { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; font-size: 22px; font-weight: 800; color: #fff; background: var(--grad-hot); box-shadow: 0 10px 22px -8px rgba(255,77,77,0.5); }
.profile-head b { display: block; font-size: 16.5px; font-weight: 800; }
.profile-head small { color: var(--ink-3); font-size: 12.5px; }
.profile-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.profile-metrics span { padding: 13px 8px; border-radius: 12px; text-align: center; background: var(--bg); border: 1.5px solid var(--line); }
.profile-metrics b { display: block; font-family: var(--font-mono); font-size: 17px; font-weight: 800; color: var(--red-deep); }
.profile-metrics small { font-size: 11px; font-weight: 600; color: var(--ink-3); }
.profile-posts { display: flex; flex-direction: column; gap: 9px; }
.profile-posts article { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 12px; background: var(--bg); border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 600; transition: all 0.2s; }
.profile-posts article:hover { border-color: var(--line-2); transform: translateX(4px); }
.profile-posts span { color: var(--ink-2); }
.profile-posts b { font-family: var(--font-mono); color: var(--red-deep); font-size: 13px; }
.case-copy { border-radius: var(--r-lg); padding: 34px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.case-copy::before { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(255,106,61,0.35), transparent 65%); filter: blur(60px); right: -110px; bottom: -130px; }
.case-copy h3 { font-size: 25px; font-weight: 900; position: relative; }
.case-copy p { margin-top: 14px; color: rgba(255,255,255,0.72); font-size: 15px; max-width: 560px; position: relative; }
.case-copy small { margin-top: auto; padding-top: 26px; color: rgba(255,255,255,0.5); font-size: 12.5px; position: relative; }

/* ============ SECURITY ============ */
.security { padding: 110px 0; }
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.security h2 { font-size: clamp(30px,4vw,48px); line-height: 1.2; font-weight: 900; }
.security h2 .grad { background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.security .sec-sub { color: var(--ink-2); margin-top: 16px; font-size: 16px; }
.security ul { margin-top: 28px; display: flex; flex-direction: column; gap: 13px; }
.security li { display: flex; gap: 12px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.security li i { font-style: normal; flex: none; width: 27px; height: 27px; border-radius: 9px; display: grid; place-items: center; font-size: 13px; background: rgba(15,194,167,0.1); color: #0a8f7a; border: 1.5px solid rgba(15,194,167,0.35); }
.confirm-card { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-lg); transform: perspective(1300px) rotateY(-5deg) rotateX(1.5deg); transition: transform 0.5s; }
.confirm-card:hover { transform: perspective(1300px) rotateY(-1.5deg); }
.confirm-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--line); background: var(--bg); }
.confirm-top span { font-size: 13.5px; font-weight: 800; }
.confirm-top b { font-size: 12px; font-weight: 700; color: #b45309; display: flex; align-items: center; gap: 7px; }
.confirm-top b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: pulseAmber 2s infinite; }
@keyframes pulseAmber { 0% { box-shadow: 0 0 0 0 rgba(255,176,32,0.5); } 70% { box-shadow: 0 0 0 8px rgba(255,176,32,0); } 100% { box-shadow: 0 0 0 0 rgba(255,176,32,0); } }
.confirm-content { padding: 27px 24px; }
.confirm-content small { color: var(--ink-3); font-size: 12.5px; font-weight: 600; }
.confirm-content strong { display: block; font-size: 20px; font-weight: 800; margin-top: 9px; }
.confirm-content p { color: var(--ink-2); font-size: 14px; margin-top: 7px; }
.confirm-content .row { display: flex; gap: 12px; margin-top: 21px; }
.confirm-content .row button { flex: 1; padding: 13px; border-radius: 12px; font-size: 14px; font-weight: 600; border: 1.5px solid var(--line-2); transition: all 0.2s; }
.confirm-content .row button:hover { background: var(--bg); }
.confirm-content .row button.primary { background: var(--grad-hot); border: 0; color: #fff; box-shadow: 0 8px 22px -8px rgba(255,77,77,0.55); }
.confirm-foot { display: flex; justify-content: space-between; padding: 15px 24px; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink-3); background: var(--bg); }
.confirm-foot b { color: #0a8f7a; }

/* ============ PRICING ============ */
.pricing { padding: 110px 0; }
.pricing-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 42px; }
.pricing-head h2 { font-size: clamp(30px,4vw,50px); font-weight: 900; line-height: 1.2; }
.pricing-head h2 .grad { background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pricing-head p { color: var(--ink-2); margin-top: 12px; }
.persona-switch { display: inline-flex; background: var(--card); border: 1.5px solid var(--line-2); border-radius: 999px; padding: 5px; gap: 4px; box-shadow: var(--shadow-sm); }
.persona-switch button { padding: 9px 24px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-3); transition: all 0.25s; }
.persona-switch button.selected { background: var(--ink); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; align-items: stretch; }
.plan { border-radius: 21px; padding: 28px 24px; border: 1.5px solid var(--line); background: var(--card); display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; position: relative; box-shadow: var(--shadow-sm); }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan > span { font-size: 15.5px; font-weight: 800; }
.plan p { color: var(--ink-2); font-size: 13.5px; margin-top: 9px; flex: 1; }
.plan .p-price { font-size: 27px; font-weight: 800; margin: 17px 0 19px; font-family: var(--font-mono); }
.plan .p-price small { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.plan .btn { width: 100%; padding: 12px; font-size: 14px; }
.plan.recommended { border-color: var(--red); box-shadow: 0 0 0 4px rgba(255,77,77,0.1), var(--shadow-md); }
.plan .p-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 17px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--grad-hot); color: #fff; box-shadow: 0 6px 16px -4px rgba(255,77,77,0.55); white-space: nowrap; }
.compare-trigger { margin: 40px auto 0; display: flex; align-items: center; gap: 10px; padding: 13px 27px; border-radius: 999px; border: 1.5px dashed var(--line-2); color: var(--ink-2); font-size: 14px; font-weight: 600; transition: all 0.25s; background: var(--card); }
.compare-trigger:hover { border-color: var(--red); color: var(--ink); }
.compare-trigger span { font-family: var(--font-mono); font-weight: 700; }
.compare-table { margin-top: 18px; overflow-x: auto; border-radius: 17px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-sm); }
.compare-table table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.compare-table th, .compare-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare-table thead th { color: var(--ink-3); font-size: 12.5px; font-weight: 700; background: var(--bg); }
.compare-table tbody th { font-weight: 700; }
.compare-table td { color: var(--ink-2); }
.compare-table tr:last-child td, .compare-table tr:last-child th { border-bottom: 0; }
.faq-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 54px; }
.faq-col h3 { font-size: 17px; margin-bottom: 13px; color: var(--ink-2); font-weight: 800; }
.faq-col details { border: 1.5px solid var(--line); border-radius: 14px; padding: 4px 18px; background: var(--card); margin-bottom: 10px; transition: border-color 0.2s; }
.faq-col details[open] { border-color: rgba(255,77,77,0.4); }
.faq-col summary { padding: 14px 0; cursor: pointer; font-size: 14.5px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-col summary::-webkit-details-marker { display: none; }
.faq-col summary::after { content: "+"; font-family: var(--font-mono); color: var(--red); font-size: 18px; font-weight: 700; transition: transform 0.25s; }
.faq-col details[open] summary::after { transform: rotate(45deg); }
.faq-col details p { padding: 0 0 16px; color: var(--ink-2); font-size: 13.5px; }

/* ============ FINAL CTA / FOOTER ============ */
.final-cta { padding: 120px 0; }
.final-wrap { border-radius: 30px; text-align: center; padding: clamp(56px,9vw,104px) 32px; background: var(--ink); color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.final-wrap::before { content: ""; position: absolute; width: 640px; height: 340px; left: 50%; bottom: -190px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(255,106,61,0.5), transparent 65%); filter: blur(70px); }
.final-wrap h2 { font-size: clamp(32px,5vw,58px); font-weight: 900; line-height: 1.16; position: relative; }
.final-wrap h2 .grad { background: linear-gradient(96deg,#ff8a8a,#ffb020); -webkit-background-clip: text; background-clip: text; color: transparent; }
.final-wrap p { color: rgba(255,255,255,0.65); margin-top: 15px; font-size: 16px; position: relative; }
.final-wrap .hero-actions { justify-content: center; margin-top: 34px; position: relative; }
.final-meta { display: flex; justify-content: center; gap: 14px; margin-top: 32px; flex-wrap: wrap; position: relative; }
.final-meta span { padding: 10px 20px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1.5px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.75); }
.final-meta span b { color: #ffb020; font-family: var(--font-mono); font-weight: 700; }
.site-footer { border-top: 1.5px solid var(--line); padding: 38px 0; background: var(--bg-2); }
.site-footer .shell { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.site-footer b { font-size: 15px; font-weight: 800; }
.site-footer span { color: var(--ink-3); font-size: 13px; }
.site-footer a { margin-left: auto; color: var(--ink-3); font-size: 13px; font-weight: 600; transition: color 0.2s; }
.site-footer a:hover { color: var(--ink); }

/* meteors in hero (aceternity) */
.meteor-zone { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.meteor { position: absolute; top: 0; left: 0; width: 2px; height: 2px; border-radius: 50%; background: rgba(255,106,61,0.8); box-shadow: 0 0 0 1px rgba(255,138,61,0.25); animation: meteor linear infinite; }
@keyframes meteor {
  0% { transform: translate(0,0) rotate(215deg); opacity: 0; }
  8% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translate(-560px,560px) rotate(215deg); opacity: 0; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-sub { max-width: none; }
  .shot-card, .shot-card.flip { grid-template-columns: 1fr; }
  .shot-card.flip .shot-media { order: 1; }
  .shot-card.flip .shot-copy { order: 2; }
  .shot-media .frame, .shot-card.flip .shot-media .frame { transform: none; }
  .tour-grid { grid-template-columns: 1fr; }
  .tour-list { flex-direction: row; overflow-x: auto; padding-bottom: 8px; position: static; }
  .tour-item { flex: none; }
  .tour-panel { grid-template-columns: 1fr; }
  .tour-visual.has-img { min-height: 340px; }
  .lab-grid { grid-template-columns: 1fr; }
  .lab-side { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; overflow-x: auto; }
  .lab-side .side-label { display: none; }
  .topic-card { flex: none; min-width: 220px; }
  .case-stage { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; gap: 40px; }
  .confirm-card { transform: none; }
}
@media (max-width: 820px) {
  .feature-row { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .faq-columns { grid-template-columns: 1fr; }
  .cover-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .plat-grid { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(38px,11vw,48px); }
  .profile-metrics { grid-template-columns: repeat(3,1fr); }
}

/* ============ FEAT CARDS with SVG ILLUSTRATIONS ============ */
.feat .feat-art { margin-top: 18px; border-radius: 13px; overflow: hidden; border: 1.5px solid var(--line); display: block; }
.feat .feat-art svg { width: 100%; height: auto; display: block; }

/* ============ PLATFORM RING (12 platforms) ============ */
.ring-section { padding: 110px 0 70px; }
.ring-stage { height: 480px; position: relative; perspective: 1400px; touch-action: pan-y; cursor: grab; overflow: hidden; -webkit-mask-image: linear-gradient(180deg,transparent,#000 18%,#000 82%,transparent); mask-image: linear-gradient(180deg,transparent,#000 18%,#000 82%,transparent); }
.ring-stage:active { cursor: grabbing; }
.ring-wheel { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.ring-item { position: absolute; left: -90px; top: -58px; width: 180px; }
.ring-card { background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; padding: 18px 16px 15px; text-align: center; box-shadow: var(--shadow-md); transition: border-color 0.3s; }
.ring-card:hover { border-color: var(--red); }
.ring-card svg { width: 46px; height: 46px; margin: 0 auto 10px; display: block; }
.ring-card b { display: block; font-size: 15px; font-weight: 800; }
.ring-card small { display: block; font-size: 11.5px; font-weight: 600; color: var(--ink-3); margin-top: 3px; font-family: var(--font-mono); }
.ring-note { text-align: center; font-size: 12.5px; color: var(--ink-3); font-weight: 500; margin-top: -6px; }

/* ============ SCROLL VELOCITY BAND ============ */
.velocity-band { padding: 90px 0; overflow: hidden; }
.vel-row { display: flex; width: max-content; will-change: transform; }
.vel-row span { font-size: clamp(46px,8.5vw,108px); font-weight: 900; white-space: nowrap; line-height: 1.15; padding-right: 0.55em; letter-spacing: -0.01em; }
.vel-row.vel-solid span { background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vel-row.vel-stroke span { color: transparent; -webkit-text-stroke: 2px var(--line-2); font-family: var(--font-mono); font-weight: 800; font-size: clamp(28px,4.6vw,56px); padding: 0.35em 0.55em 0.35em 0; }
.vel-row.vel-stroke { padding: 10px 0; border-top: 1.5px dashed var(--line); border-bottom: 1.5px dashed var(--line); }

/* ============ DOCK (reactbits dock) ============ */
.dock { position: fixed; right: 22px; bottom: 22px; z-index: 120; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 8px; background: rgba(255,255,255,0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1.5px solid var(--line-2); border-radius: 20px; box-shadow: var(--shadow-lg); transform: translateX(calc(100% + 40px)); transition: box-shadow 0.35s ease; }
.dock.show { transform: translateX(0); }
.dock a { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; font-size: 18px; color: var(--ink-2); transform-origin: center right; transition: color 0.2s, background 0.2s; }
.dock a::before { content: ""; position: absolute; left: -8px; top: 50%; transform: translateY(-50%) scaleY(0); width: 3px; height: 20px; border-radius: 2px; background: var(--grad-hot); transition: transform 0.25s cubic-bezier(0.22,1,0.36,1); }
.dock a:hover, .dock a.active { color: var(--red); background: rgba(255,77,77,0.08); }
.dock a.active::before { transform: translateY(-50%) scaleY(1); }
.dock a .tip { position: absolute; right: calc(100% + 14px); top: 50%; transform: translateY(-50%) translateX(6px) scale(0.85); transform-origin: right center; opacity: 0; padding: 5px 12px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 600; white-space: nowrap; pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
.dock a .tip::after { content: ""; position: absolute; right: -4px; top: 50%; transform: translateY(-50%) rotate(45deg); width: 8px; height: 8px; background: var(--ink); border-radius: 1px; }
.dock a:hover .tip { opacity: 1; transform: translateY(-50%) translateX(0) scale(1); }
@media (max-width: 900px) { .dock { display: none; } }

/* scroll progress bar */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad-hot); z-index: 130; border-radius: 0 3px 3px 0; }
.ring-card { backface-visibility: hidden; -webkit-backface-visibility: hidden; }

/* ============ IMAGE QUALITY FIXES ============ */
.shot-media img, .tour-visual img, .image-strip img {
  image-rendering: high-quality;
  filter: contrast(1.03) saturate(1.04);
}
.shot-media .frame { max-width: 720px; margin-left: auto; }
.shot-card.flip .shot-media .frame { margin-left: 0; margin-right: auto; }
.tour-visual.has-img { background: #201c18; }
.tour-visual img { object-fit: contain; padding: 10px; }
.tour-fake .b-ana { }
.tour-break .b-ana .seg { padding: 9px 10px; border-radius: 9px; background: var(--bg); border: 1px solid var(--line); margin-top: 8px; }
.tour-break .b-ana .seg:first-of-type { margin-top: 10px; }
.tour-break .b-ana .seg b { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--red-deep); margin-right: 7px; }
.tour-break .b-ana .seg strong { font-size: 12.5px; font-weight: 700; }
.tour-break .b-ana .seg p { margin: 4px 0 0; font-size: 12px; color: var(--ink-2); line-height: 1.55; }
.tour-break .b-ana .seg .hooks { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.tour-break .b-ana .seg .hooks i { font-style: normal; font-size: 10.5px; font-weight: 700; font-family: var(--font-mono); color: #0a8f7a; background: rgba(15,194,167,0.08); border: 1px solid rgba(15,194,167,0.3); border-radius: 5px; padding: 1.5px 7px; }
.tour-break .b-src .meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 11px; }
.tour-break .b-src .meta i { font-style: normal; font-size: 10.5px; font-weight: 700; font-family: var(--font-mono); color: var(--ink-2); background: var(--bg); border: 1px solid var(--line-2); border-radius: 5px; padding: 2px 8px; }
.tour-break .b-ana .disclaim { margin-top: 10px; font-size: 10.5px; font-weight: 600; color: var(--ink-3); }

/* ============ PLATFORM-REAL COVER CARDS v2 ============ */
.cover-row-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 36px 0 16px; }
.cover-row-head b { font-size: 17px; font-weight: 800; }
.live-chip { font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; color: #0a8f7a; border: 1.5px solid rgba(15,194,167,0.35); background: rgba(15,194,167,0.07); padding: 4px 12px; border-radius: 999px; transition: all 0.3s; }
.live-chip.flash { color: var(--red-deep); border-color: rgba(255,77,77,0.4); background: rgba(255,77,77,0.06); transform: scale(1.06); }
.cover-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; align-items: stretch; }
.pcard { position: relative; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s; }
.pcard:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.pcard:nth-child(even):hover { transform: translateY(-8px) rotate(1deg); }
.cx-plat { position: absolute; top: 10px; left: 10px; z-index: 5; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; background: rgba(255,255,255,0.92); color: var(--ink); padding: 3px 9px; border-radius: 999px; }
.cx-plat em { font-style: normal; color: var(--red-deep); }
.cx-stats { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; font-family: var(--font-mono); color: var(--ink-2); padding-top: 9px; border-top: 1px dashed var(--line); }
.cx-stats i { margin-left: auto; font-style: normal; font-size: 9.5px; color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 4px; padding: 1px 6px; font-weight: 600; }
/* XHS note card */
.pcard.cx-note .cx-cover { position: relative; aspect-ratio: 4/3; display: flex; align-items: flex-end; padding: 16px; color: #fff; }
.pcard.cx-note .cx-cover.c1 { background: linear-gradient(150deg,#ff4d4d,#d92b4b 70%,#b81d5b); }
.pcard.cx-note .cx-cover::after { content: ""; position: absolute; width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,0.4); filter: blur(38px); right: -26px; top: -26px; }
.pcard.cx-note .cx-cover b { font-size: 20px; line-height: 1.3; font-weight: 800; position: relative; z-index: 1; }
.cx-body { padding: 13px 14px 14px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.cx-body h4 { font-size: 13.5px; line-height: 1.45; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cx-author { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.cx-author i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; background: var(--grad-hot); color: #fff; font-size: 10px; display: grid; place-items: center; font-weight: 800; flex: none; }
.cx-author b { margin-left: auto; color: var(--ink-3); letter-spacing: 2px; font-weight: 800; }
/* DY video card */
.pcard.cx-dy { background: #131313; border-color: #131313; }
.pcard.cx-dy .cx-plat { background: rgba(19,19,19,0.8); color: #fff; }
.pcard.cx-dy .cx-plat em { color: #fe2c55; }
.pcard.cx-dy .dy-screen { position: relative; flex: 1; min-height: 300px; padding: 44px 14px 14px; display: flex; flex-direction: column; color: #fff; border-radius: 18px; margin: -1px; background: linear-gradient(160deg,#2a2a35,#16161d 60%,#0c0c12); }
.pcard.cx-dy .dy-screen::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; background: #fe2c55; opacity: 0.35; filter: blur(44px); right: -30px; top: 30%; }
.dy-screen > b { margin-top: auto; font-size: 19px; line-height: 1.32; font-weight: 800; position: relative; z-index: 1; }
.dy-screen > small { position: relative; margin-top: 9px; font-size: 10.5px; color: rgba(255,255,255,0.6); font-weight: 600; z-index: 1; }
.dy-rail { position: absolute; right: 12px; bottom: 58px; display: flex; flex-direction: column; gap: 9px; z-index: 1; }
.dy-rail span { font-size: 10px; font-weight: 800; font-family: var(--font-mono); background: rgba(255,255,255,0.12); backdrop-filter: blur(4px); border-radius: 999px; padding: 4px 9px; }
.dy-dur { position: absolute; top: 10px; right: 10px; font-style: normal; font-family: var(--font-mono); font-size: 10px; font-weight: 700; background: rgba(0,0,0,0.55); padding: 2px 8px; border-radius: 5px; z-index: 1; }
/* WX article card */
.wx-bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 11.5px; font-weight: 700; }
.wx-bar i { width: 22px; height: 22px; border-radius: 6px; background: var(--grad-cool); flex: none; }
.wx-bar time { margin-left: auto; font-weight: 500; color: var(--ink-3); font-size: 10.5px; }
.pcard.cx-wx .wx-hero { position: relative; aspect-ratio: 16/8.5; display: flex; align-items: flex-end; padding: 14px; color: #fff; }
.pcard.cx-wx .wx-hero.c3 { background: linear-gradient(150deg,#2f7bff,#1f4fd6 70%,#173aa8); }
.pcard.cx-wx .wx-hero::after { content: ""; position: absolute; width: 100px; height: 100px; border-radius: 50%; background: rgba(255,255,255,0.35); filter: blur(36px); right: -20px; top: -20px; }
.pcard.cx-wx .wx-hero b { font-size: 19px; line-height: 1.3; font-weight: 800; position: relative; z-index: 1; }
.wx-body { padding: 13px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.wx-body h4 { font-size: 13.5px; font-weight: 800; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wx-body p { font-size: 11.5px; color: var(--ink-2); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wx-body .cx-stats { border-top: 0; padding-top: 0; }
/* SPH player card */
.pcard.cx-sph .sph-screen { position: relative; flex: 1; min-height: 300px; border-radius: 18px; overflow: hidden; margin: -1px; padding: 46px 14px 14px; display: flex; flex-direction: column; color: #fff; background: linear-gradient(160deg,#0f8d7a,#0a7263 60%,#085a4e); }
.pcard.cx-sph .cx-plat { background: rgba(8,90,78,0.75); color: #fff; }
.pcard.cx-sph .cx-plat em { color: #aef3e4; }
.sph-play { position: absolute; left: 50%; top: 42%; transform: translate(-50%,-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.18); backdrop-filter: blur(6px); border: 1.5px solid rgba(255,255,255,0.5); display: grid; place-items: center; font-size: 18px; padding-left: 3px; z-index: 1; }
.sph-screen > b { font-size: 19px; line-height: 1.32; font-weight: 800; margin-top: 18px; position: relative; z-index: 1; }
.sph-bar { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; background: rgba(0,0,0,0.28); border-radius: 9px; padding: 7px 11px; position: relative; z-index: 1; }
.sph-bar .dur { font-style: normal; opacity: 0.75; }
.cover-note { margin-top: 14px; font-size: 11.5px; color: var(--ink-3); font-weight: 500; }

/* ============ HD SHOTS · LARGER STAGE ============ */
.shot-card { gap: clamp(20px,3vw,44px); padding: clamp(22px,3vw,40px); }
.shot-media .frame { max-width: none; width: 100%; }
.features .shell { width: min(1420px, calc(100% - 40px)); }
.shot-copy { max-width: 430px; }
.shot-card.flip .shot-copy { justify-self: end; }
.tour-visual img { padding: 0; }

/* ============ UNIFIED SHOT FRAMES (16:9 alignment) ============ */
.shot-media .frame { aspect-ratio: 16 / 9; }
.shot-media .frame img { width: 100%; height: 100%; object-fit: cover; }

/* ============ CONFIRM CARD INTERACTION ============ */
.confirm-platforms { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.confirm-platforms .pf {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--bg); border: 1.5px solid var(--line-2); color: var(--ink-2);
  transition: all 0.35s;
}
.confirm-platforms .pf::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber); flex: none;
  transition: all 0.35s;
}
.confirm-platforms .pf.done {
  background: rgba(15,194,167,0.08); border-color: rgba(15,194,167,0.45); color: #0a8f7a;
}
.confirm-platforms .pf.done::before { background: var(--teal); box-shadow: 0 0 8px rgba(15,194,167,0.6); }
.confirm-card.is-done .confirm-top b { color: #0a8f7a; }
.confirm-card.is-done .confirm-top b::before { background: var(--teal); animation: none; }
#confirm-publish .spin {
  display: inline-block; width: 13px; height: 13px; margin-right: 7px;
  border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff;
  border-radius: 50%; vertical-align: -2px;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
#confirm-publish:disabled { opacity: 0.85; cursor: wait; }
#confirm-publish.ok { background: linear-gradient(120deg,#0fc2a7,#0a9d87); }
#confirm-back:disabled { opacity: 0.5; cursor: wait; }
.confirm-card.shake { animation: shakeX 0.5s cubic-bezier(0.36,0.07,0.19,0.97); }
@keyframes shakeX {
  10%, 90% { transform: translateX(-1px) perspective(1300px) rotateY(-5deg); }
  20%, 80% { transform: translateX(2px) perspective(1300px) rotateY(-5deg); }
  30%, 50%, 70% { transform: translateX(-4px) perspective(1300px) rotateY(-5deg); }
  40%, 60% { transform: translateX(4px) perspective(1300px) rotateY(-5deg); }
}
@media (max-width: 1080px) {
  .confirm-card.shake { animation: shakeFlat 0.5s; }
  @keyframes shakeFlat {
    10%, 90% { transform: translateX(-1px); }
    20%, 80% { transform: translateX(2px); }
    30%, 50%, 70% { transform: translateX(-4px); }
    40%, 60% { transform: translateX(4px); }
  }
}

/* ============ VIDEO SLOT ============ */
.video-slot { padding: 100px 0 40px; }
.video-frame { max-width: 980px; margin: 0 auto; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-lg); }
.video-inner { aspect-ratio: 16 / 9; position: relative; background: linear-gradient(160deg,#26222e,#171420 60%,#100e18); }
.video-poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  color: #fff;
}
.video-poster::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(420px 220px at 50% 110%, rgba(255,106,61,0.35), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 48px);
}
.vp-play {
  width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center; font-size: 26px; padding-left: 6px;
  background: var(--grad-hot); color: #fff;
  box-shadow: 0 18px 44px -10px rgba(255,77,77,0.6), 0 0 0 0 rgba(255,77,77,0.4);
  animation: playPulse 2.4s infinite;
  position: relative; z-index: 1;
}
@keyframes playPulse {
  0% { box-shadow: 0 18px 44px -10px rgba(255,77,77,0.6), 0 0 0 0 rgba(255,77,77,0.35); }
  70% { box-shadow: 0 18px 44px -10px rgba(255,77,77,0.6), 0 0 0 26px rgba(255,77,77,0); }
  100% { box-shadow: 0 18px 44px -10px rgba(255,77,77,0.6), 0 0 0 0 rgba(255,77,77,0); }
}
.video-poster b { font-size: 20px; font-weight: 800; position: relative; z-index: 1; }
.video-poster small { font-size: 13px; color: rgba(255,255,255,0.55); font-weight: 500; position: relative; z-index: 1; }
.video-frame figcaption { padding: 14px 20px; text-align: center; font-size: 12px; font-weight: 500; color: var(--ink-3); border-top: 1px solid var(--line); background: var(--bg); }

/* ============ ROI CALCULATOR ============ */
.calc { padding: 110px 0; }
.calc-card {
  max-width: 880px; margin: 0 auto; border-radius: 26px;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); padding: clamp(28px,4.5vw,52px);
}
.calc-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.calc-controls label { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; font-weight: 700; }
.calc-controls label span { color: var(--ink-2); }
.calc-controls output { display: inline; font-family: var(--font-mono); font-size: 30px; font-weight: 800; color: var(--red-deep); vertical-align: -2px; }
.calc-controls input[type="range"] { width: 100%; accent-color: var(--red); height: 28px; cursor: pointer; }
.calc-results {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: center;
  margin-top: 34px; padding: 26px; border-radius: 18px; background: var(--bg);
  border: 1px solid var(--line);
}
.cr { text-align: center; display: flex; flex-direction: column; }
.cr small { font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.cr b { font-family: var(--font-mono); font-size: clamp(38px,5vw,58px); font-weight: 800; line-height: 1.15; margin-top: 6px; }
.cr span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.cr i { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--ink-3); margin-top: 7px; font-family: var(--font-mono); }
.cr.manual b { color: var(--ink); }
.cr.auto b { background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cr.auto i { color: var(--red-deep); }
.cr-vs {
  font-family: var(--font-mono); font-weight: 800; font-size: 15px;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; box-shadow: var(--shadow-md);
}
.calc-save { margin-top: 24px; text-align: center; font-size: 16.5px; font-weight: 600; color: var(--ink-2); }
.calc-save b { color: var(--red-deep); font-family: var(--font-mono); font-weight: 800; }
.calc-note { display: block; margin-top: 14px; text-align: center; font-size: 11.5px; color: var(--ink-3); }
@media (max-width: 720px) {
  .calc-controls { grid-template-columns: 1fr; gap: 18px; }
  .calc-results { grid-template-columns: 1fr; gap: 14px; }
  .cr-vs { margin: 0 auto; }
}

/* ============ SVG STORY ILLUSTRATIONS ============ */
.aigc-diagram { display: block; width: 100%; height: auto; }
.aigc-diagram .art-sweep {
  transform-origin: 120px 170px;
  animation: artRadarSweep 12s linear infinite paused;
}
.aigc-diagram .art-signal {
  animation: artSignal 6s ease-in-out infinite paused;
  animation-delay: var(--delay, 0s);
}
.aigc-diagram .art-flow {
  stroke-dasharray: 9 91;
  animation: artFlow 6.4s cubic-bezier(.4,0,.2,1) infinite paused;
  animation-delay: var(--delay, 0s);
}
.aigc-diagram .art-stage {
  opacity: .18;
  animation: artStage 6.4s ease-in-out infinite paused;
  animation-delay: var(--delay, 0s);
}
.aigc-diagram .art-playhead {
  animation: artPlayhead 7.2s cubic-bezier(.4,0,.2,1) infinite paused;
}
.art-breakdown .art-stage { animation-duration: 7.2s; }
.art-breakdown .art-script-1 { animation-name: artScriptOne; }
.art-breakdown .art-script-2 { animation-name: artScriptTwo; }
.art-breakdown .art-script-3 { animation-name: artScriptThree; }
.aigc-diagram .art-voice {
  transform-box: fill-box;
  transform-origin: center;
  animation: artVoice 1.8s ease-in-out infinite alternate paused;
  animation-delay: var(--delay, 0s);
}
.aigc-diagram.is-playing :is(.art-sweep, .art-signal, .art-flow, .art-stage, .art-playhead, .art-voice) {
  animation-play-state: running;
}
@keyframes artRadarSweep { to { transform: rotate(360deg); } }
@keyframes artSignal { 0%, 70%, 100% { opacity: .12; } 35% { opacity: .4; } }
@keyframes artFlow {
  0% { stroke-dashoffset: 12; opacity: 0; }
  12% { opacity: .9; }
  65% { stroke-dashoffset: -100; opacity: .9; }
  78%, 100% { stroke-dashoffset: -100; opacity: 0; }
}
@keyframes artStage { 0%, 45%, 100% { opacity: .18; } 65%, 78% { opacity: .75; } }
@keyframes artScriptOne { 0%, 16% { opacity: .75; } 25%, 95% { opacity: .18; } 100% { opacity: .75; } }
@keyframes artScriptTwo { 0%, 16%, 80%, 100% { opacity: .18; } 25%, 70% { opacity: .75; } }
@keyframes artScriptThree { 0%, 70%, 100% { opacity: .18; } 80%, 92% { opacity: .75; } }
@keyframes artPlayhead {
  0%, 10% { transform: translateX(0); opacity: 1; }
  85% { transform: translateX(312px); opacity: 1; }
  92% { transform: translateX(312px); opacity: 0; }
  93% { transform: translateX(0); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
@keyframes artVoice { from { transform: scaleY(.6); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) {
  .aigc-diagram * { animation: none !important; }
  .aigc-diagram .art-flow { opacity: .55; stroke-dasharray: none; }
}

.chip-in {
  font-style: normal; font-family: var(--font-mono); font-size: 10px; font-weight: 800;
  color: #0fc2a7; background: rgba(15,194,167,0.1);
  border: 1px solid rgba(15,194,167,0.4); border-radius: 5px; padding: 2px 8px;
  animation: chipPulse 2.4s ease-in-out infinite;
}
@keyframes chipPulse { 0%, 100% { opacity: 0.65; } 50% { opacity: 1; } }
.dash-note { padding: 10px 16px 14px; font-size: 10px; color: #6d6b8a; font-family: var(--font-mono); }

/* fake mode: fill row height, dark bg unnecessary */
.tour-visual:not(.has-img) { background: var(--bg); min-height: 0; }
.tour-visual:not(.has-img) .tour-fake { min-height: 100%; }

/* ============ STORY SCENES (SVG-driven, replaces screenshots) ============ */
.story { padding: 96px 0 40px; }
.story-stage { display: grid; grid-template-columns: 1fr; gap: 60px; }
.scene {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px,4vw,52px); align-items: center;
  position: relative;
}
.scene.rev { grid-template-columns: 1.1fr 0.9fr; }
.scene.rev .scene-art { order: 2; }
.scene.rev .scene-copy { order: 1; }
.scene-art {
  border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
  background: #17130f; box-shadow: var(--shadow-lg);
  transform: none;
  transition: box-shadow 0.35s ease;
}
.scene.rev .scene-art { transform: none; }
.scene:hover .scene-art { box-shadow: 0 20px 48px -24px rgba(50,30,16,.35); }
.scene-art svg { display: block; width: 100%; height: auto; }
.scene-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 800;
  color: var(--ink); letter-spacing: 0.02em;
}
.scene-tag .tag-num {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--grad-hot); color: #fff;
  font-family: var(--font-mono); font-size: 14px; font-weight: 800;
  box-shadow: 0 6px 16px -6px rgba(255,77,77,0.6);
  transform: rotate(-6deg);
}
.scene-copy h3 { font-size: clamp(24px,2.8vw,34px); font-weight: 900; margin-top: 16px; letter-spacing: -0.01em; }
.scene-copy .scene-lead { margin-top: 14px; font-size: 16.5px; color: var(--ink-2); line-height: 1.7; }
.scene-copy .scene-lead b { color: var(--ink); }
.scene-copy ul { margin-top: 20px; display: flex; flex-direction: column; gap: 11px; }
.scene-copy li { display: flex; gap: 11px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.scene-copy li::before { content: "✓"; color: var(--teal); font-weight: 800; flex: none; }
.scene-kicker { margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--ink-3); font-family: var(--font-mono); }
@media (max-width: 900px) {
  .scene, .scene.rev { grid-template-columns: 1fr; }
  .scene.rev .scene-art, .scene.rev .scene-copy { order: 0; }
  .scene-art, .scene.rev .scene-art { transform: none; }
}

/* ============ UNIFY SCENE ART SIZE ============ */
.scene-art { width: 100%; max-width: 620px; justify-self: center; }
.scene-art svg { display: block; width: 100%; height: auto; }
.scene:not(.rev) .scene-art { justify-self: end; }
.scene.rev .scene-art { justify-self: start; }

/* ============ SCENE ENTRANCE ANIMATION ============ */
.scene.surge .scene-art {
  animation: sceneIn 0.9s cubic-bezier(0.22,1,0.36,1) backwards;
}
@keyframes sceneIn {
  from { opacity: 0; transform: translateY(12px); }
}
@media (prefers-reduced-motion: reduce) {
  .scene.surge .scene-art { animation: none; }
}

/* ============ SUB-PAGE HERO ============ */
.page-hero {
  padding: calc(var(--nav-h) + 48px) 0 30px;
  position: relative;
}
.page-hero-inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px,4vw,56px);
  align-items: center;
}
.page-hero h1 { font-size: clamp(32px,4.6vw,56px); font-weight: 900; line-height: 1.16; letter-spacing: -0.01em; }
.page-hero h1 .grad { background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .ph-copy p { margin-top: 18px; font-size: 16.5px; color: var(--ink-2); max-width: 520px; line-height: 1.7; }
.page-hero .ph-art {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  background: #17130f; box-shadow: var(--shadow-lg);
}
.page-hero .ph-art svg { display: block; width: 100%; height: auto; }
.pb-issue { color: var(--red-deep); font-weight: 700; font-size: 15px; margin-top: 14px; }
@media (max-width: 900px) {
  .page-hero-inner { grid-template-columns: 1fr; }
}

/* ============ STORY → SUBPAGE BRIDGE ============ */
.story-bridge {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 56px;
}
.bridge-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 26px 24px; border-radius: 20px;
  background: var(--card); border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s, border-color 0.3s;
}
.bridge-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--ink); }
.bridge-card .bc-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-size: 20px; background: var(--bg); border: 1.5px solid var(--line);
}
.bridge-card h4 { font-size: 18px; font-weight: 800; margin-top: 10px; }
.bridge-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; flex: 1; }
.bridge-card .bc-cta {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 14px; color: var(--red-deep);
}
.bridge-card .bc-cta::after { content: "→"; transition: transform 0.25s; }
.bridge-card:hover .bc-cta::after { transform: translateX(4px); }
@media (max-width: 820px) { .story-bridge { grid-template-columns: 1fr; } }

/* ============ SUBPAGE NAV IN FINAL CTA ============ */
.subpage-nav {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-top: 30px;
}
.subpage-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-radius: 16px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.85); font-weight: 700; font-size: 15px;
  transition: background 0.25s, transform 0.25s;
}
.subpage-nav a:hover { background: rgba(255,255,255,0.16); transform: translateY(-3px); }
.subpage-nav a .sp-arrow { margin-left: auto; color: #ffb020; font-weight: 800; }
@media (max-width: 720px) { .subpage-nav { grid-template-columns: 1fr; } }

/* ============ BACK TO TOP ============ */
.back-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 110;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff; font-size: 20px;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transform: translateY(14px);
  transition: opacity 0.3s, transform 0.3s;
}
.back-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { transform: translateY(-2px); }
@media (max-width: 900px) { .back-top { display: none; } }

/* Content clarity: reuse the existing warm palette, cards and type scale. */
.hero-note, .hero-demo-note, .evidence-note, .plan-note, .demo-intro { color: var(--ink-2); font-size: 13px; line-height: 1.8; }
.hero-note { margin-top: 18px; max-width: 430px; }
.hero-note a, .evidence-note a, .text-link, .support-table a { color: #b82f22; font-weight: 700; }
.hero-note a { display: inline-block; }
.hero-demo-note { margin: 10px 0 0; font-size: 12px; }
.hero-scramble { display: none; }
.lab-foot a { font-size: 12px; font-weight: 700; color: #b82f22; }
.evidence-note { margin-top: 20px; margin-bottom: 24px; }
.content-section { padding: 76px 0; scroll-margin-top: 94px; }
.section-intro { max-width: 780px; margin-bottom: 32px; }
.section-intro h2, .contact-panel h2, .next-step h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.35; letter-spacing: -.02em; }
.section-intro p, .contact-panel p, .next-step p { margin-top: 16px; color: var(--ink-2); }
.section-intro .grad { color: #b82f22; }
.scenario-grid, .start-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.scenario-card { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s; }
.scenario-card:hover { border-color: #b82f22; transform: translateY(-4px); }
.card-kicker { display: block; color: #b82f22; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.scenario-card h3, .start-grid h3 { font-size: 21px; margin: 18px 0 12px; line-height: 1.45; }
.scenario-card p, .start-grid p { font-size: 14px; color: var(--ink-2); }
.card-output { font-size: 12px; color: var(--ink-2); margin: 24px 0 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.scenario-card > b { margin-top: auto; font-size: 14px; color: #b82f22; }
.start-section { background: var(--bg-2); }
.start-grid { list-style: none; counter-reset: none; margin-bottom: 32px; }
.start-grid li { border-top: 1px solid var(--line-2); padding: 26px 22px 0 0; }
.step-number { color: #b82f22; font-family: var(--font-mono); font-size: 20px; }
.text-link { display: inline-block; font-size: 14px; line-height: 1.6; padding: 10px 0; text-underline-offset: 4px; }
.text-link:hover, .support-table a:hover, .evidence-note a:hover { text-decoration: underline; }
.plan-note { margin: 24px 0 12px; max-width: 940px; }
.faq-columns a { color: #b82f22; text-decoration: underline; text-underline-offset: 3px; }
.contact-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 52px; padding: 42px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--card); }
.contact-panel h2 { margin-top: 14px; }
.contact-panel .btn { margin-top: 26px; }
.contact-panel small { display: block; color: var(--ink-2); margin-top: 12px; font-size: 12px; }
.consult-list { list-style: none; display: grid; gap: 18px; }
.consult-list li { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.consult-list b { display: block; font-size: 16px; }
.consult-list span { display: block; font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.demo-intro { margin-bottom: 20px; max-width: 860px; }
.demo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-top: 24px; margin-top: 20px; border-top: 1px solid var(--line); }
.demo-actions .btn { font-size: 13px; padding: 14px 20px; }
#copy-feedback { font-size: 12px; color: var(--ink-2); flex-basis: 100%; }
#copy-feedback:empty { display: none; }
.calc-assumptions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 20px 0 28px; }
.calc-assumptions label { font-size: 13px; color: var(--ink-2); }
.calc-assumptions input { display: block; width: 100%; margin-top: 8px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); color: var(--ink); padding: 12px; font: inherit; font-size: 16px; }
.ring-section { padding: 26px 0 10px; }
.ring-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ring-controls .btn { font-size: 13px; padding: 14px 20px; }
.support-table-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--card); }
.support-table { width: 100%; border-collapse: collapse; text-align: left; min-width: 640px; }
.support-table th, .support-table td { padding: 18px 22px; border-bottom: 1px solid var(--line); font-size: 14px; }
.support-table thead { background: var(--bg-2); }
.support-table tbody th { white-space: nowrap; }
.support-table tbody tr:last-child > * { border-bottom: 0; }
.support-table td { color: var(--ink-2); }
.support-table a { white-space: nowrap; display: inline-block; padding: 6px 0; }
.direction-label { font-size: 12px; padding: 5px 10px; border-radius: 30px; background: var(--bg-2); white-space: nowrap; }
.support-note { margin-top: 24px; padding: 24px; border-left: 3px solid #b82f22; background: var(--bg-2); border-radius: 0 12px 12px 0; }
.support-note h3 { font-size: 17px; }
.support-note p { color: var(--ink-2); font-size: 14px; margin-top: 10px; }
.case-workflow { position: relative; margin-top: 24px; display: grid; gap: 16px; }
.case-workflow div { display: grid; grid-template-columns: 76px 1fr; gap: 14px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 16px; font-size: 13px; }
.case-workflow b { color: #ffc2a8; }
.case-workflow span { color: #e4ded8; }
.case-copy small { color: #cbc3ba; padding-top: 22px; }
.case-evidence { margin-bottom: 10px; }
.velocity-band { padding: 42px 0; }
.next-step { padding: 38px; background: var(--bg-2); border-radius: var(--r-lg); }
.next-step .btn { margin: 24px 18px 0 0; }
.site-footer .shell { flex-wrap: wrap; gap: 18px; }
@media (max-width: 900px) {
  .hero { padding-top: calc(var(--nav-h) + 28px); }
  .hero-grid { gap: 28px; }
  .scenario-grid, .start-grid { grid-template-columns: 1fr; }
  .scenario-card { padding: 24px; }
  .contact-panel { grid-template-columns: 1fr; padding: 28px; gap: 30px; }
  .content-section { padding: 50px 0; }
  .card-output { margin-top: 18px; }
}
@media (max-width: 560px) {
  .hero-note { font-size: 12px; }
  .calc-assumptions { grid-template-columns: 1fr; }
  .ring-controls { gap: 8px; }
  .ring-controls .btn { padding: 13px 15px; }
  .case-workflow div { grid-template-columns: 1fr; gap: 5px; }
  .next-step { padding: 26px; }
  .demo-actions { align-items: flex-start; }
}

.page-hero h1 .grad { display: inline-block; }
.team-label { font-size: 12px; color: var(--ink-2); margin-bottom: 14px; }

/* ============ SUBTLE TECH FINISH ============ */
/* Decorative layers stay behind the existing content and never take input. */
#wave-canvas { opacity: .28; }
.hero, .page-hero, .story { isolation: isolate; }
.hero::before, .page-hero::before, .story::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(60,110,130,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60,110,130,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 74% 35%, #000 8%, transparent 72%);
  mask-image: radial-gradient(ellipse at 74% 35%, #000 8%, transparent 72%);
}
.hero::after, .page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 82% 30%, rgba(82,182,197,.13), transparent 48%),
    radial-gradient(ellipse at 25% 65%, rgba(255,167,119,.10), transparent 45%);
}
.story::before {
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 85%, transparent);
  mask-image: linear-gradient(transparent, #000 12%, #000 85%, transparent);
  opacity: .45;
}
.nav { background: rgba(250,249,247,.78); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.nav::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(72,150,162,.32), rgba(255,138,61,.28), transparent);
}
.brand-mark {
  background: radial-gradient(circle at 30% 25%, #9d8bff, #7657ed 55%, #5f47cc);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5), inset 0 0 12px rgba(255,255,255,.16), 0 3px 12px -5px rgba(105,81,219,.45);
}
.brand-mark::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; }
.hero-badge { border-color: var(--tech-edge); background: rgba(255,255,255,.8); box-shadow: inset 0 1px 0 #fff, 0 4px 18px -12px rgba(28,107,126,.3); }
.sec-eyebrow { border-radius: 8px; background: rgba(255,255,255,.75); border-width: 1px; box-shadow: inset 0 1px 0 #fff; }
.sec-eyebrow::before { border-radius: 2px; box-shadow: 0 0 8px rgba(255,106,61,.2); }
.btn-primary { border: 1px solid rgba(255,255,255,.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 24px -10px rgba(255,77,77,.55); }
.btn-primary::after { animation: none; left: -60%; }
.btn-primary:is(:hover, :focus-visible)::after { animation: shine 1.2s ease-out 1; }
.btn-ghost { border-color: #cdd7d8; background: linear-gradient(165deg, #fff, #f4f8f7); box-shadow: inset 0 1px 0 #fff, 0 3px 12px -8px rgba(42,75,85,.2); }
.btn-ghost:hover { border-color: var(--tech-ink); }

/* The demo retains its light reading surface, framed like a precise tool. */
.hero-lab {
  border-color: rgba(87,133,142,.38);
  box-shadow: 0 24px 64px -32px rgba(28,55,68,.36), 0 0 0 5px rgba(255,255,255,.6), 0 0 38px -18px rgba(65,180,195,.24);
}
.lab-topbar { background: linear-gradient(110deg, #202b33, #303638); border-bottom-color: #43535a; color: #f3f5f3; }
.lab-topbar span i { width: 8px; height: 8px; box-shadow: 0 0 0 3px rgba(255,255,255,.04); }
.lab-topbar em { color: #80dfc7; }
.topic-field { background: linear-gradient(120deg, #f4f7f6, #fbfaf7); border-color: #d3dddc; }
.topic-presets button.selected { background: #26363b; border-color: #26363b; }
.pipeline i { background: linear-gradient(90deg, #d6dedd, #79b6b8); }
.pipeline span.on { background: #edf7f4; color: #287969; border-color: #a8cfc4; box-shadow: 0 0 0 2px rgba(89,179,155,.05); }
.platform-tabs { background: #f0f4f3; border-color: #dbe3e0; }
.platform-tabs button[aria-selected="true"] { box-shadow: inset 0 -2px 0 #5ea89d, 0 2px 5px rgba(31,58,60,.07); }
.output-copy { background: linear-gradient(120deg, #fafcfb, #faf9f7); border-color: #d5dfdb; box-shadow: inset 3px 0 0 #6fada4; }
.lab-foot { background: #f3f6f4; border-color: #dce4e0; }

/* Hairline edges frame the existing diagrams without covering their labels. */
.scene-art, .page-hero .ph-art {
  position: relative;
  border-color: #526061;
  box-shadow: 0 20px 45px -27px rgba(27,47,57,.5), 0 0 0 4px rgba(255,255,255,.75);
}
.scene-art::after, .page-hero .ph-art::after {
  content: ""; position: absolute; inset: 7px; border-radius: 13px; pointer-events: none;
  background:
    linear-gradient(90deg, #99c8c4, transparent) top left / 54px 1px,
    linear-gradient(#99c8c4, transparent) top left / 1px 30px,
    linear-gradient(270deg, #cfaa88, transparent) bottom right / 54px 1px,
    linear-gradient(0deg, #cfaa88, transparent) bottom right / 1px 30px;
  background-repeat: no-repeat;
  opacity: .55;
  transition: opacity .3s;
}
.scene-tag .tag-num { transform: none; border-radius: 8px; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 4px 10px -6px rgba(255,77,77,.4); }
.scene-kicker { border-left: 2px solid #89b8b2; padding-left: 12px; }
.scenario-card, .bridge-card, .calc-card, .confirm-card { border-color: #d5dedd; box-shadow: 0 8px 30px -22px rgba(34,76,86,.28), inset 0 1px 0 #fff; }
.scenario-card, .bridge-card { background: linear-gradient(135deg, #fff 65%, #f1f7f5); }
.card-kicker { font-family: var(--font-mono); color: var(--tech-ink); }
.dock { border-color: var(--tech-edge); box-shadow: 0 12px 30px -15px rgba(24,61,73,.2); }
@media (hover: hover) and (pointer: fine) {
  .scene:hover .scene-art { border-color: #79aaa9; box-shadow: 0 22px 48px -27px rgba(27,47,57,.5), 0 0 0 4px rgba(255,255,255,.8), 0 0 32px -16px rgba(71,166,180,.3); }
  .scene:hover .scene-art::after, .ph-art:hover::after { opacity: .9; }
  .scenario-card:hover, .bridge-card:hover { border-color: #86b7b4; }
}
@media (max-width: 768px) {
  .hero::before, .page-hero::before { background-size: 36px 36px; opacity: .65; }
  .hero-lab { box-shadow: 0 14px 36px -25px rgba(28,55,68,.35), 0 0 0 3px rgba(255,255,255,.7); }
  .scene-art, .page-hero .ph-art { box-shadow: 0 14px 32px -24px rgba(27,47,57,.5), 0 0 0 3px rgba(255,255,255,.7); }
}
