/* Viaaai — shared styles. No external fonts or CDNs (fast in mainland China). */
:root {
  --bg: #05070d;
  --bg-alt: #080c15;
  --panel: #0c1220;
  --panel-2: #111a2c;
  --line: rgba(148, 170, 210, .13);
  --line-2: rgba(148, 170, 210, .24);
  --text: #eef3fb;
  --muted: #9aa8bd;
  --dim: #66758c;
  --accent: #4d8dff;
  --accent-2: #8cc8ff;
  --on-accent: #fff;
  --radius: 18px;
  --radius-lg: 24px;
  --max: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  color-scheme: dark;
}
body[data-page="mac"] { --accent: #3d9bff; --accent-2: #9dd4ff; }
body[data-page="ai"]  { --accent: #f08a45; --accent-2: #ffc999; }
body[data-page="gpu"] { --accent: #f05252; --accent-2: #ffb1a8; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: #fff; color: #000; }
.skip-link:focus { top: 12px; }
.i { width: 1.1em; height: 1.1em; flex: none; }
.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 40px); }

/* ——— Buttons ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 22px; border: 1px solid transparent; border-radius: 12px;
  font-size: 15px; font-weight: 650; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 38px; padding: 8px 15px; font-size: 13.5px; border-radius: 10px; }
.btn--lg { min-height: 56px; padding: 15px 30px; font-size: 16.5px; border-radius: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: #fff; color: #05070d; }
.btn--primary:hover { background: #e3e8f0; }
.btn--accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 24px -10px var(--accent); }
.btn--accent:hover { background: color-mix(in srgb, var(--accent) 85%, #fff); }
.btn--ghost { border-color: var(--line-2); background: rgba(17, 26, 44, .55); color: #d6deea; }
.btn--ghost:hover { border-color: color-mix(in srgb, var(--accent) 60%, transparent); background: rgba(24, 36, 60, .8); color: #fff; }
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none;
  border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer;
}
.icon-btn:hover { border-color: var(--line-2); color: #fff; background: rgba(255, 255, 255, .04); }
.icon-btn--sm { width: 30px; height: 30px; border-radius: 8px; }
.link-btn { padding: 0; border: 0; background: none; color: inherit; cursor: pointer; text-align: left; }
.link-btn:hover { color: #fff; }

/* ——— Header ——— */
.site-header { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid var(--line); background: rgba(5, 7, 13, .78); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand-word { font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
.brand-word .aaa { position: relative; color: #3d8bff; }
.brand-word .aaa::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: linear-gradient(90deg, transparent, #00e1ff, transparent); }
.main-nav { display: flex; gap: 4px; margin-right: auto; }
.main-nav a { padding: 8px 12px; border-radius: 9px; color: var(--muted); font-size: 14.5px; font-weight: 550; white-space: nowrap; transition: color .15s, background-color .15s; }
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.main-nav a[aria-current="page"] { color: #fff; background: color-mix(in srgb, var(--accent) 18%, transparent); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang summary { display: flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: 13px; cursor: pointer; list-style: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: #fff; border-color: var(--line-2); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; padding: 6px; border: 1px solid var(--line-2); border-radius: 12px; background: #0b1220; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.lang-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--muted); font-size: 14px; }
.lang-menu a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.lang-menu a[aria-current] { color: #fff; }
.lang-menu a[aria-current]::after { content: " ✓"; color: var(--accent-2); }

.menu { display: none; position: relative; }
.menu summary { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 10px; color: #fff; cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(280px, calc(100vw - 32px)); max-height: calc(100vh - 90px); overflow-y: auto; padding: 8px; border: 1px solid var(--line-2); border-radius: 14px; background: #0b1220; box-shadow: 0 18px 40px rgba(0, 0, 0, .6); }
.menu-panel a { display: block; padding: 12px 14px; border-radius: 9px; color: #c7d2e2; font-size: 15px; }
.menu-panel a:hover, .menu-panel a[aria-current] { background: rgba(255, 255, 255, .06); color: #fff; }
.menu-langs { display: flex; gap: 2px; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.menu-langs a { flex: 1; padding: 10px 4px; font-size: 13px; text-align: center; white-space: nowrap; }

/* ——— Type ——— */
.eyebrow, .kicker { color: var(--accent-2); font-size: 12px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.h1 { margin-top: 16px; font-size: clamp(38px, 6.2vw, 72px); line-height: 1.1; font-weight: 800; letter-spacing: -.035em; }
.h2 { margin-top: 10px; font-size: clamp(28px, 3.8vw, 42px); line-height: 1.2; font-weight: 780; letter-spacing: -.025em; }
.accent-text { background: linear-gradient(95deg, var(--accent-2), var(--accent) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 22px; max-width: 640px; color: #b3c0d3; font-size: clamp(16px, 1.6vw, 19px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.actions--center { justify-content: center; }

/* ——— Sections ——— */
.section { padding: 96px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(12, 18, 32, .55) 18%, rgba(12, 18, 32, .55) 82%, transparent); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-desc { margin-top: 14px; color: var(--muted); font-size: 16.5px; }
.section-head--row { display: flex; justify-content: space-between; align-items: end; max-width: none; margin-bottom: 26px; }

.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, rgba(17, 26, 44, .85), rgba(10, 15, 27, .85)); transition: border-color .2s, transform .2s; }
.card:hover { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.card h3 { margin-top: 18px; font-size: 18px; font-weight: 700; }
.card p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-radius: 12px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent-2); }
.card-icon .i { width: 22px; height: 22px; }
.card--list h3 { margin-top: 0; margin-bottom: 14px; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; color: #c7d2e2; font-size: 14.5px; line-height: 1.5; }
.checklist .i { margin-top: 2px; color: var(--accent-2); }

/* ——— Hero ——— */
.hero { padding: 84px 0 64px; }
.hero--home { text-align: center; padding-top: 88px; }
.hero--home .lead { margin-inline: auto; max-width: 760px; }
.hero--home .reveal-grid { margin-top: 64px; text-align: left; }
.hero-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.badges { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13.5px; }
.badges li { display: inline-flex; align-items: center; gap: 7px; }
.badges .i { color: var(--accent-2); }

/* ——— Reveal cards (signature effect) ——— */
.reveal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.reveal-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.reveal-card, .reveal-hero {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  border: 1px solid rgba(147, 197, 253, .28); border-radius: 22px; background: #0754c7;
  color: #e4f1ff;
}
.reveal-card { min-height: 330px; transition: transform .25s, box-shadow .25s; }
.reveal-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .8); }
.reveal-grid--3 .reveal-card { min-height: 270px; }
.reveal-hero { min-height: 420px; border-radius: var(--radius-lg); box-shadow: 0 30px 90px -30px rgba(0, 0, 0, .7); }
.reveal-card canvas, .reveal-hero canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.reveal-card::after, .reveal-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(0, 56, 150, .1) 30%, rgba(0, 34, 112, .85) 100%); }
.reveal-top { display: flex; align-items: center; gap: 10px; padding: 21px 22px; font-size: 13px; font-weight: 800; letter-spacing: .16em; }
.reveal-title { font-size: inherit; font-weight: inherit; letter-spacing: inherit; }
.reveal-mark { display: flex; align-items: center; gap: 2px; width: 20px; height: 20px; }
.reveal-mark i { width: 2px; height: 100%; background: currentColor; opacity: .85; transform: skew(-18deg); }
.reveal-mark i:nth-child(2) { height: 72%; opacity: .7; }
.reveal-mark i:nth-child(3) { height: 88%; }
.reveal-copy { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 10px; }
.reveal-desc { color: rgba(224, 240, 255, .85); font-size: 13.5px; line-height: 1.55; }
.reveal-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 750; letter-spacing: .02em; }
.reveal-cta .i { transition: transform .2s; }
.reveal-card:hover .reveal-cta .i { transform: translateX(3px); }
.reveal-chips { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.reveal-chips span { padding: 6px 11px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 99px; background: rgba(0, 0, 0, .22); font-size: 12px; font-weight: 600; letter-spacing: .02em; backdrop-filter: blur(6px); }

[data-theme="api"].reveal-card, [data-theme="api"].reveal-hero { border-color: rgba(31, 41, 55, .3); background: #d1d5db; color: #111827; }
[data-theme="api"] .reveal-desc { color: rgba(17, 24, 39, .78); }
[data-theme="api"]::after { background: linear-gradient(180deg, rgba(255, 255, 255, .08) 30%, rgba(107, 114, 128, .34) 100%); }
[data-theme="api"] .reveal-chips span { border-color: rgba(17, 24, 39, .2); background: rgba(255, 255, 255, .4); }
[data-theme="gpu"].reveal-card, [data-theme="gpu"].reveal-hero { border-color: rgba(248, 113, 113, .45); background: #050506; color: #fee2e2; }
[data-theme="gpu"] .reveal-desc { color: rgba(254, 226, 226, .8); }
[data-theme="gpu"] .reveal-mark i { background: #ef4444; opacity: 1; }
[data-theme="gpu"]::after { background: linear-gradient(180deg, rgba(0, 0, 0, .08) 30%, rgba(0, 0, 0, .86) 100%); }
[data-theme="ai"].reveal-card, [data-theme="ai"].reveal-hero { border-color: rgba(251, 146, 60, .55); background: linear-gradient(145deg, #281b21, #704024); color: #fff1df; }
[data-theme="ai"] .reveal-desc { color: rgba(255, 232, 210, .85); }
[data-theme="ai"] .reveal-mark i { background: #ffb26b; opacity: 1; }
[data-theme="ai"]::after { background: linear-gradient(180deg, rgba(90, 38, 34, .08) 30%, rgba(24, 16, 23, .86) 100%); }

/* ——— Terminal ——— */
.terminal { overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: rgba(9, 13, 22, .92); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); }
.terminal-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #0f1625; color: var(--dim); font: 500 12.5px var(--mono); }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #ef4444cc; }
.dots i:nth-child(2) { background: #eab308cc; }
.dots i:nth-child(3) { background: #22c55ecc; }
.terminal-code { margin: 0; padding: 24px 26px; overflow-x: auto; color: #cfe0ff; font: 13.5px/1.75 var(--mono); white-space: pre; tab-size: 2; }
.terminal-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12.5px; }
.terminal-foot code { padding: 3px 8px; border-radius: 6px; background: rgba(77, 141, 255, .12); color: var(--accent-2); font: 12.5px var(--mono); }
.c-dim { color: #66758c; }
.c-prompt { color: #4ade80; }
.c-str { color: #fde68a; }
.c-key { color: #7dd3fc; }
.c-ok { color: #4ade80; }

/* ——— Home: API ——— */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--api { margin-bottom: 56px; }
.split .section-head { margin-bottom: 0; }
.model-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.model-list span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; background: rgba(17, 26, 44, .6); color: #c7d2e2; font-size: 13px; }
.model-list .model-more { border-style: dashed; color: var(--dim); }

/* ——— Home: services ——— */
.service-rows { display: grid; gap: 14px; }
.service-row { --c: #3d9bff; display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 32px; align-items: center; padding: 28px 30px; border: 1px solid var(--line); border-left: 3px solid var(--c); border-radius: var(--radius); background: rgba(12, 18, 32, .75); }
.service-row[data-theme="ai"] { --c: #f08a45; }
.service-row[data-theme="gpu"] { --c: #f05252; }
.service-tag { color: var(--c); font-size: 12px; font-weight: 750; letter-spacing: .12em; }
.service-row h3 { margin-top: 6px; font-size: 21px; }
.service-row-main p:last-child { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.service-row .checklist .i { color: var(--c); }
.service-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.service-price { color: #fff; font-size: 15px; font-weight: 700; white-space: nowrap; }

/* ——— Contact ——— */
.contact-panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding: 48px; border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: radial-gradient(ellipse at 0% 0%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 60%), var(--panel); }
.contact-panel .section-head { margin-bottom: 0; }
.contact-list { display: grid; gap: 10px; }
.contact-item { display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(5, 8, 15, .6); }
.contact-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 11px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-2); }
.contact-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.contact-label { color: var(--dim); font-size: 12px; }
.contact-value { overflow: hidden; color: #e5ecf6; font-size: 15px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
a.contact-value:hover { color: var(--accent-2); }

.contact-form { display: grid; gap: 14px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field > span { color: #c7d2e2; font-size: 13.5px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #070b14; color: var(--text); font: inherit; font-size: 16px; }
.field textarea { min-height: 112px; resize: vertical; }
.field ::placeholder { color: #7c8ba3; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 0; }
.field-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn:disabled { opacity: .65; cursor: wait; }
.form-note { color: #8290a6; font-size: 12.5px; }
.form-status { font-size: 14.5px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status[data-kind="ok"] { color: #4ade80; }
.form-status[data-kind="error"] { color: #fca5a5; }

.contact-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 6px 0 0; }
.contact-qr img { width: 180px; height: auto; border-radius: 12px; background: #fff; }
.contact-qr figcaption { color: var(--muted); font-size: 13px; }
.contact-dialog { width: min(440px, calc(100% - 32px)); padding: 26px; border: 1px solid var(--line-2); border-radius: 20px; background: #0a101c; color: var(--text); box-shadow: 0 30px 90px rgba(0, 0, 0, .6); }
.contact-dialog::backdrop { background: rgba(0, 0, 0, .72); backdrop-filter: blur(4px); }
.dialog-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.dialog-head h2 { margin-top: 4px; font-size: 22px; }
.dialog-desc { margin: 10px 0 18px; color: var(--muted); font-size: 14px; }
.dialog-note { margin-top: 14px; color: var(--dim); font-size: 12.5px; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; padding: 10px 18px; border-radius: 99px; background: #fff; color: #05070d; font-size: 14px; font-weight: 650; opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ——— Service pages ——— */
.proofs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.proofs--3 { grid-template-columns: repeat(3, 1fr); }
.proofs li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(12, 18, 32, .7); }
.proofs .i { grid-row: span 2; width: 26px; height: 26px; color: var(--accent-2); }
.proofs strong { font-size: 15px; }
.proofs span { color: var(--muted); font-size: 13px; }

.usecases { display: grid; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.usecases li { display: flex; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(12, 18, 32, .7); }
.usecase-num { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 9px; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent-2); font-weight: 800; }
.usecases h3 { font-size: 15.5px; }
.usecases p { margin-top: 4px; color: var(--muted); font-size: 13.5px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 14.5px; }
.compare th, .compare td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: rgba(17, 26, 44, .8); color: #c7d2e2; font-size: 13.5px; }
.compare tbody th { color: #fff; font-weight: 600; white-space: nowrap; }
.compare td { color: var(--muted); }
.compare .is-us { background: color-mix(in srgb, var(--accent) 8%, transparent); color: #e5ecf6; }
.compare thead .is-us { color: var(--accent-2); box-shadow: inset 0 2px 0 var(--accent); }
.compare td.is-us .i { display: inline-block; margin: -2px 8px 0 0; vertical-align: middle; color: var(--accent-2); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(165deg, rgba(17, 26, 44, .9), rgba(9, 14, 25, .9)); }
.plan--featured { border: 1.5px solid color-mix(in srgb, var(--accent) 75%, transparent); background: linear-gradient(165deg, color-mix(in srgb, var(--accent) 16%, #0c1220), #0a0f1b); box-shadow: 0 24px 70px -30px var(--accent); }
.plan-badge { position: absolute; top: -12px; left: 28px; padding: 4px 12px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 750; }
.plan-tier { color: var(--accent-2); font: 700 12px var(--mono); letter-spacing: .12em; }
.plan h3 { margin-top: 8px; font-size: 22px; }
.plan-desc { margin-top: 6px; min-height: 3.2em; color: var(--muted); font-size: 14px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin: 22px 0 22px; }
.plan-price strong { font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.plan-price .plan-quote { font-size: 30px; }
.plan-cur { font-size: 20px; font-weight: 700; color: #d7e2f2; }
.plan-per { margin-left: 4px; color: var(--dim); font-size: 14px; }
.plan .checklist { margin-bottom: 28px; flex: 1; }

.plans--2 { grid-template-columns: repeat(2, 1fr); max-width: 880px; }
.plan-alt { margin: -12px 0 22px; color: var(--muted); font-size: 13.5px; }
.plan-alt strong { color: var(--accent-2); }
.plans-gap { height: 28px; }
.plans-note { margin-top: 16px; color: var(--dim); font-size: 13.5px; }
.regions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 880px; margin-bottom: 30px; }
.region { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(12, 18, 32, .7); }
.region-code { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 12px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-2); font: 800 15px var(--mono); }
.region h3 { font-size: 17px; }
.region p { margin-top: 4px; color: var(--muted); font-size: 14px; }
.compare--two td { color: #d6deea; }

/* ——— Tabs (Mac / Windows) ——— */
.tabs-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 34px; }
.tab-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; flex: 1; max-width: 760px; padding: 6px; border: 1px solid var(--line-2); border-radius: 18px; background: rgba(6, 10, 19, .8); }
.tab { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 3px; padding: 14px 18px 16px; border: 0; border-radius: 13px; background: transparent; color: var(--muted); text-align: left; cursor: pointer; transition: background-color .2s, color .2s; }
.tab:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.tab[aria-selected="true"] { background: color-mix(in srgb, var(--accent) 16%, #0c1220); color: #fff; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent); }
.tab-title { display: flex; align-items: center; gap: 9px; font-size: 16.5px; font-weight: 750; }
.tab-title .i { width: 19px; height: 19px; color: var(--accent-2); }
.tab-sub { color: var(--muted); font-size: 13px; }
.tab[aria-selected="true"] .tab-sub { color: #b9c6d9; }
.tab-progress { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--accent-2); opacity: 0; transform: scaleX(0); transform-origin: left; }
.tabs.is-auto .tab[aria-selected="true"] .tab-progress { opacity: .9; animation: tab-progress var(--interval, 8s) linear forwards; }
.tabs.is-held .tab-progress { animation-play-state: paused !important; }
@keyframes tab-progress { to { transform: scaleX(1); } }
.tabs-toggle .i-play, .tabs-toggle.is-paused .i-pause { display: none; }
.tabs-toggle.is-paused .i-play { display: block; }
.tabs:not(.tabs--js) .tabs-bar { display: none; }
.tabs:not(.tabs--js) .tab-panel + .tab-panel { margin-top: 72px; }
.tabs--js .tab-panels { display: grid; }
.tabs--js .tab-panel { grid-area: 1 / 1; visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s, visibility 0s .35s; }
.tabs--js .tab-panel.is-active { visibility: visible; opacity: 1; transform: none; transition: opacity .35s, transform .35s; }
.tab-head { max-width: 760px; margin-bottom: 26px; }
.tab-head h3 { margin-top: 8px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 780; }
.tab-head p:last-child { margin-top: 10px; color: var(--muted); }
.contact-panel .checklist { margin-top: 22px; }
.coming { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.coming-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border: 1px dashed var(--line-2); border-radius: 16px; }
.coming-card strong { display: block; font-size: 16.5px; }
.coming-card span { color: var(--muted); font-size: 13.5px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.step { padding: 24px; border-top: 2px solid var(--accent); border-radius: 0 0 16px 16px; background: rgba(12, 18, 32, .75); }
.step-num { color: var(--accent-2); font: 700 13px var(--mono); letter-spacing: .1em; }
.step h3 { margin-top: 12px; font-size: 16.5px; }
.step p { margin-top: 6px; color: var(--muted); font-size: 14px; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: rgba(12, 18, 32, .75); }
.faq details[open] { border-color: var(--line-2); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-2); font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 40px 44px; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: var(--radius-lg); background: radial-gradient(ellipse at 100% 0%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 60%), var(--panel); }
.cta-band h2 { font-size: clamp(22px, 2.6vw, 30px); }
.cta-band p { margin-top: 8px; color: #b3c0d3; }
.notice { max-width: 900px; color: var(--dim); font-size: 13px; }

/* ——— Footer ——— */
.site-footer { margin-top: 40px; padding: 56px 0 32px; border-top: 1px solid var(--line); background: #04060b; color: var(--muted); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
.footer-brand p { margin-top: 14px; max-width: 300px; font-size: 13.5px; }
.footer-title { margin-bottom: 14px; color: #fff; font-size: 14px; }
.footer-links { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.footer-langs { display: flex; gap: 16px; }
.footer-langs a:hover, .footer-langs a[aria-current] { color: #fff; }

/* ——— Responsive ——— */
@media (max-width: 1080px) {
  .reveal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 1fr 1fr; }
  .service-row-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; gap: 0 12px; min-height: 0; padding-top: 12px; }
  .header-actions { margin-left: auto; }
  .main-nav { order: 3; flex: 0 0 100%; margin: 8px -20px 0; padding: 0 14px 8px; overflow-x: auto; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { font-size: 14px; padding: 7px 10px; }
  .hero-split, .split, .contact-panel { grid-template-columns: 1fr; gap: 40px; }
  .reveal-hero { min-height: 320px; }
  .grid--3, .plans, .reveal-grid--3 { grid-template-columns: 1fr 1fr; }
  .regions { grid-template-columns: 1fr; }
  .tabs--js .tab-panels { display: block; }
  .tabs--js .tab-panel:not(.is-active) { display: none; }
  .tab { padding: 12px 12px 14px; }
  .tab-title { font-size: 14.5px; gap: 6px; }
  .tab-sub { font-size: 12px; }
  .tabs-bar { margin-bottom: 26px; }
  .proofs { grid-template-columns: 1fr 1fr; }
  .proofs--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-panel { padding: 32px; }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  .container, .container--narrow { width: calc(100% - 32px); }
  .main-nav, .lang { display: none; }
  .menu { display: block; }
  .header-inner { padding-bottom: 12px; }
  .brand-word { font-size: 19px; }
  .hero { padding: 56px 0 40px; }
  .hero--home .reveal-grid { margin-top: 44px; }
  .reveal-grid, .reveal-grid--3, .grid--3, .grid--4, .plans, .plans--2, .coming, .duo, .steps, .proofs, .service-row { grid-template-columns: 1fr; }
  .reveal-card, .reveal-grid--3 .reveal-card { min-height: 290px; }
  .reveal-hero { min-height: 280px; }
  .btn--lg { width: 100%; min-height: 52px; }
  .actions .btn { flex: 1 1 100%; }
  .service-row { padding: 22px; gap: 18px; }
  .cta-band { flex-direction: column; align-items: stretch; padding: 28px 22px; }
  .contact-panel { padding: 24px 18px; }
  .field-row { grid-template-columns: 1fr; }
  .terminal-code { padding: 18px; font-size: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .plan-desc { min-height: 0; }
}
@media (max-width: 360px) {
  .h1 { font-size: 32px; }
  .h2 { font-size: 24px; }
  .h1, .h2, .tab-title, .tab-sub { overflow-wrap: anywhere; }
  .tab-title .i { display: none; }
  .tabs-toggle { display: none; }
  .btn { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
