@font-face {
  font-family: "Geist Sans";
  src: url("/assets/fonts/GeistVF.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans TC";
  src: url("/assets/fonts/NotoSansTC-Website.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans SC";
  src: url("/assets/fonts/NotoSansSC-Website.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP";
  src: url("/assets/fonts/NotoSansJP-Website.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --font-latin: "Geist Sans";
  --font-cjk: "Noto Sans TC";
  --bg: #ffffff;
  --ink: #0b1020;
  --ink-dim: #4b5568;
  --ink-soft: #7e8ba0;
  --accent: #002fa7;
  --accent-hover: #00258a;
  --accent-pressed: #001b66;
  --focus: #4d7cff;
  --soft-blue: #edf3ff;
  --success: #158a64;
  --warning: #b7791f;
  --danger: #c93445;
  --seg-1: #002fa7;
  --seg-2: #4d70c2;
  --seg-3: #8aa1d6;
  --seg-4: #d9e1ef;
  /* Liquid Glass tokens — a translucent control layer that floats above content.
     Glass = blur + saturation to pick up color behind, a bright specular top
     edge, a hairline rim, and a soft cool float shadow. Never fully opaque. */
  --glass-tint-top: rgba(255, 255, 255, 0.58);
  --glass-tint-bot: rgba(255, 255, 255, 0.32);
  --glass-blur: 22px;
  --glass-sat: 160%;
  --glass-brd: rgba(0, 47, 167, 0.14);
  --glass-hi: rgba(255, 255, 255, 0.92);     /* specular top-edge highlight */
  --glass-float: 0 14px 40px rgba(0, 35, 96, 0.12);
  --glass-bg: var(--glass-tint-top);          /* legacy alias */
  --glass-shadow: var(--glass-float);
  --radius: 22px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html[lang="zh-Hant"] { --font-cjk: "Noto Sans TC"; }
html[lang="zh-Hans"] { --font-cjk: "Noto Sans SC"; }
html[lang="ja"] { --font-cjk: "Noto Sans JP"; }

body {
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-latin), var(--font-cjk), sans-serif;
  font-size: 17px;
  line-height: 1.7;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* One pale-blue reflection gives colorless glass something restrained to pick up. */
.ambient-light {
  position: fixed;
  z-index: -1;
  width: min(760px, 70vw);
  aspect-ratio: 1;
  top: -320px;
  right: -180px;
  border-radius: 50%;
  background: var(--soft-blue);
  filter: blur(110px);
  opacity: 0.8;
  pointer-events: none;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Liquid Glass surface — translucent, floats above content, specular top edge */
.glass {
  background: linear-gradient(157deg, var(--glass-tint-top), var(--glass-tint-bot));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  border: 1px solid var(--glass-brd);
  box-shadow:
    var(--glass-float),
    inset 0 1px 1px var(--glass-hi),          /* bright specular top edge */
    inset 0 -10px 24px rgba(255, 255, 255, 0.12); /* soft lower sheen */
  border-radius: var(--radius);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 14px; z-index: 50; margin-top: 14px;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 58px; padding: 0 20px;
  background: linear-gradient(157deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.46));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  border: 1px solid var(--glass-brd);
  box-shadow: var(--glass-float), inset 0 1px 1px var(--glass-hi);
  border-radius: 999px;
}
.brand { font-weight: 700; font-size: 1.05rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 8px; }
.mono {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 8px; color: #fff;
  font-weight: 800; font-size: 0.85rem; background: var(--accent);
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a:not(.btn) { color: var(--ink-dim); text-decoration: none; font-size: 0.94rem; }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a.btn-primary { color: #fff; }
.lang-select {
  font: inherit; font-size: 0.88rem; color: var(--ink-dim); cursor: pointer;
  padding: 6px 10px; border-radius: 999px; border: 1px solid var(--glass-brd);
  background: rgba(255, 255, 255, 0.6); -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235c6678' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; padding-right: 26px;
}
.lang-select:hover { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none;
  font-family: inherit; font-size: 1rem; font-weight: 600;
  padding: 11px 22px; border-radius: 999px; transition: all 0.18s ease; color: var(--ink);
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 26px rgba(0, 47, 167, 0.24); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 14px 32px rgba(0, 47, 167, 0.3); }
.btn-primary:active { background: var(--accent-pressed); transform: translateY(0); }
.btn-primary:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn-glass {
  background: linear-gradient(157deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.42));
  border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: blur(16px) saturate(var(--glass-sat));
  backdrop-filter: blur(16px) saturate(var(--glass-sat));
  box-shadow: inset 0 1px 1px var(--glass-hi), 0 4px 14px rgba(46, 60, 110, 0.1);
}
.btn-glass:hover { background: linear-gradient(157deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.62)); }
.btn-large { padding: 14px 30px; font-size: 1.05rem; }
.btn-small { padding: 8px 18px; font-size: 0.9rem; }
.btn-block { display: block; width: 100%; }
.link-btn { background: none; border: 0; color: var(--accent); cursor: pointer; font: inherit; font-size: 0.9rem; }
.link-btn:hover { text-decoration: underline; }
:where(a, button, input, select, summary):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(77, 124, 255, 0.22);
}

/* ---------- Hero ---------- */
.hero { padding: 70px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-block; font-size: 0.82rem; color: var(--accent);
  border: 1px solid var(--glass-brd); border-radius: 999px;
  padding: 5px 14px; margin-bottom: 20px; background: var(--soft-blue);
}
.hero h1 { font-size: clamp(2.9rem, 6vw, 4.4rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; }
:is(html[lang="zh-Hant"], html[lang="zh-Hans"]) .hero h1 { font-size: clamp(2.8rem, 5.3vw, 4rem); }
.hero .accent { color: var(--accent); }
.hero-sub { color: var(--ink-dim); font-size: 1.3rem; margin: 20px 0 30px; max-width: 420px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Hero app mock ---------- */
.card-app { padding: 0; overflow: hidden; }
.app-head {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 16px; border-bottom: 1px solid rgba(120, 140, 190, 0.15);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: #ff5f57; } .dot.yellow { background: #febc2e; } .dot.green { background: #28c840; }
.app-title { margin-left: 8px; font-size: 0.82rem; color: var(--ink-soft); }
.app-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }

/* Donut / pie chart (pure CSS conic-gradient) */
.disk-row { display: flex; align-items: center; gap: 20px; }
.donut {
  --a: 42%; --b: 68%; --c: 77%;
  position: relative; width: 128px; height: 128px; flex: 0 0 128px; border-radius: 50%;
  background: conic-gradient(
    var(--seg-1) 0 var(--a),
    var(--seg-2) var(--a) var(--b),
    var(--seg-3) var(--b) var(--c),
    var(--seg-4) var(--c) 100%
  );
  box-shadow: 0 8px 22px rgba(46, 60, 110, 0.16);
}
.donut-hole {
  position: absolute; inset: 20px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 3px rgba(46, 60, 110, 0.08);
}
.donut-hole b { font-size: 1.5rem; font-weight: 800; line-height: 1; }
.donut-hole small { font-size: 0.72rem; color: var(--ink-soft); }
.legend { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 0.85rem; flex: 1; }
.legend li { display: flex; align-items: center; gap: 8px; color: var(--ink-dim); }
.legend i { width: 11px; height: 11px; border-radius: 3px; flex: 0 0 11px; }
.legend b { margin-left: auto; color: var(--ink); font-weight: 600; }

.glass-inner {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px; padding: 14px 16px;
}
.summary-head { font-size: 0.8rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.summary-card p { font-size: 0.82rem; color: var(--ink-dim); margin: 3px 0; }
.summary-card b { color: var(--ink); }
.menu-rows { display: flex; flex-direction: column; gap: 8px; }
.menu-row {
  display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--ink);
}
.menu-row b { margin-left: auto; color: var(--ink); font-weight: 600; }
.pill {
  font-size: 0.72rem; font-weight: 600; padding: 2px 8px; border-radius: 999px;
}
.pill.safe { color: var(--success); background: rgba(21, 138, 100, 0.14); }
.pill.look { color: var(--warning); background: rgba(183, 121, 31, 0.14); }
.pill.no { color: var(--ink-soft); background: rgba(120, 130, 150, 0.14); }

.clean-cta {
  text-align: center; font-size: 0.9rem; font-weight: 700; color: #fff;
  background: var(--accent); border-radius: 12px; padding: 11px;
  box-shadow: 0 10px 22px rgba(0, 47, 167, 0.24);
}

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section h2 { text-align: center; font-size: 2.5rem; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.02em; }
.section-sub { text-align: center; color: var(--ink-dim); margin-bottom: 34px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.card { padding: 26px 22px; transition: transform 0.18s ease; }
.card:hover { transform: translateY(-2px); }
.card-icon { font-size: 1.7rem; margin-bottom: 12px; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--ink-dim); font-size: 1rem; }

/* Trust / highlight card grids (Security + Highlights sections) */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.trust-card { padding: 24px 20px; text-align: left; transition: transform 0.18s ease; }
.trust-card:hover { transform: translateY(-2px); }
.trust-ico {
  width: 44px; height: 44px; border-radius: 13px; margin-bottom: 14px;
  display: grid; place-items: center; color: var(--accent); background: var(--soft-blue);
}
.trust-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 6px; }
.trust-card p { color: var(--ink-dim); font-size: 0.94rem; line-height: 1.55; }
.trust-foot {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  text-align: center; color: var(--ink-dim); font-size: 0.96rem; margin-top: 28px;
}

.dev-chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin: 0 auto 8px; max-width: 720px;
}
.dev-chips span {
  font-size: 0.85rem; color: var(--ink-dim);
  padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--glass-brd); background: var(--soft-blue);
  font-variant-numeric: normal;
}

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; align-items: start; }
.price-card { padding: 28px 24px; text-align: left; display: flex; flex-direction: column; gap: 14px; }
.price-card h3 { font-size: 1.08rem; font-weight: 700; }
.price-cost { font-size: 1.9rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.price-cost small { font-size: 0.86rem; font-weight: 600; color: var(--ink-dim); }
.price-card-featured { outline: 1.5px solid var(--accent); }
.price-list { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; flex: 1; }
.price-list li {
  position: relative; padding-left: 22px;
  color: var(--ink-dim); font-size: 0.94rem; line-height: 1.55;
}
.price-list li::before {
  content: ""; position: absolute; left: 2px; top: 0.45em;
  width: 10px; height: 6px; border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.price-card .btn { justify-content: center; }
.price-foot { text-align: center; color: var(--ink-dim); font-size: 0.94rem; margin-top: 28px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.step { text-align: center; padding: 28px 20px; }
.step-num {
  width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 1.15rem;
  box-shadow: 0 8px 20px rgba(0, 47, 167, 0.24);
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-dim); font-size: 0.92rem; }

/* ---------- Download / Auth ---------- */
.download-wrap { max-width: 540px; }
.panel { padding: 28px; margin-top: 10px; }
.tabs { display: flex; gap: 8px; margin-bottom: 22px; }
.tab {
  flex: 1; padding: 11px; border-radius: 12px; border: 1px solid rgba(120, 140, 190, 0.2);
  background: rgba(255, 255, 255, 0.4); color: var(--ink-dim); font: inherit; font-weight: 600; cursor: pointer;
}
.tab.active { background: var(--soft-blue); border-color: var(--accent); color: var(--accent); }
#auth-form label { display: block; font-size: 0.88rem; color: var(--ink-dim); margin: 14px 0 6px; }
#auth-form input {
  width: 100%; padding: 12px 14px; border-radius: 12px; font: inherit; color: var(--ink);
  background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(120, 140, 190, 0.25); outline: none;
}
#auth-form input:focus { border-color: var(--accent); background: #fff; }
#auth-submit { margin-top: 20px; }
.msg { min-height: 1.4em; margin-top: 12px; font-size: 0.9rem; text-align: center; }
.msg.error { color: var(--danger); }
.msg.ok { color: var(--success); }
.fine-print { margin-top: 12px; font-size: 0.78rem; color: var(--ink-soft); text-align: center; }

.panel-user { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; color: var(--ink-dim); margin-bottom: 18px; }
.download-info { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.download-icon {
  width: 62px; height: 62px; flex: 0 0 62px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; background: var(--accent);
  box-shadow: 0 10px 22px rgba(0, 47, 167, 0.24);
}
.download-icon .mono {
  width: auto; height: auto; background: none; font-size: 1.9rem; box-shadow: none;
}
.download-name { font-weight: 700; font-size: 1.08rem; }
.download-meta { color: var(--ink-dim); font-size: 0.85rem; }
.notice {
  margin-top: 18px; font-size: 0.84rem; color: var(--ink-dim);
  background: rgba(255, 214, 120, 0.16); border: 1px solid rgba(228, 170, 40, 0.35);
  border-radius: 12px; padding: 12px 14px;
}
.notice code {
  display: block; margin-top: 8px; padding: 8px 10px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.8); color: var(--accent); font-size: 0.8rem; overflow-x: auto; white-space: nowrap;
}

/* ---------- FAQ ---------- */
#faq details { max-width: 780px; margin: 0 auto 12px; padding: 16px 20px; }
#faq summary { cursor: pointer; font-weight: 600; }
#faq details p { margin-top: 10px; color: var(--ink-dim); font-size: 0.92rem; }
#faq code { background: rgba(255,255,255,0.8); padding: 2px 6px; border-radius: 5px; font-size: 0.85em; color: var(--accent); }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 36px; border-top: 1px solid rgba(120, 140, 190, 0.18); margin-top: 40px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px;
}
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { color: var(--ink-dim); font-size: 0.9rem; max-width: 300px; }
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px; display: inline-flex;
  align-items: center; justify-content: center; color: var(--ink-dim);
  background: rgba(255, 255, 255, 0.6); border: 1px solid var(--glass-brd);
  transition: all 0.18s ease;
}
.socials a:hover { color: #fff; background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.footer-col h4 { font-size: 0.9rem; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.footer-col a { display: block; color: var(--ink-dim); text-decoration: none; font-size: 0.9rem; padding: 4px 0; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  color: var(--ink-soft); font-size: 0.85rem; padding-top: 24px;
  border-top: 1px solid rgba(120, 140, 190, 0.14);
}
.footer-bottom a { color: var(--ink-dim); text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); }

/* ---------- Legal pages ---------- */
.legal { max-width: 800px; margin: 0 auto; padding: 40px 24px 80px; }
.legal h1 { font-size: 2rem; font-weight: 800; margin-bottom: 6px; }
.legal .updated { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 28px; }
.legal h2 { font-size: 1.15rem; font-weight: 700; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--ink-dim); font-size: 0.96rem; line-height: 1.7; }
.legal ul { padding-left: 22px; margin: 8px 0; }
.legal a { color: var(--accent); }
.legal .back { display: inline-block; margin-bottom: 24px; color: var(--ink-dim); text-decoration: none; }
.legal hr { border: none; border-top: 1px solid rgba(120,140,190,0.18); margin: 36px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .grid, .trust-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .grid, .steps, .trust-grid, .price-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .disk-row { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ---------- Gulp spatial system ---------- */
.site-shell { background: linear-gradient(180deg, #fff 0%, #fff 58%, #f8faff 100%); }
.brand-mark { width: 26px; height: 26px; object-fit: contain; vertical-align: middle; }
.hero { padding: 64px 0 52px; }
.hero-grid { grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr); gap: 38px; }
.hero-copy { position: relative; z-index: 5; }
.hero-visual { perspective: 1200px; }
.hero-stage {
  position: relative;
  min-height: 620px;
  isolation: isolate;
  transform-style: preserve-3d;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 34px 4px 74px 20px;
  z-index: -3;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 48% 52% 48% 52% / 42% 42% 58% 58%;
  background: linear-gradient(145deg, rgba(255,255,255,.78), rgba(235,241,255,.42));
  box-shadow: 0 35px 100px rgba(57,74,128,.14), inset 0 1px 1px rgba(255,255,255,.95);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
}
.hero-aura {
  position: absolute;
  width: 410px;
  height: 410px;
  top: 34px;
  left: 50%;
  z-index: -2;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 42% 38%, rgba(255,255,255,.96) 0 20%, rgba(174,207,255,.32) 48%, rgba(237,243,255,.18) 66%, transparent 74%);
  filter: blur(4px);
}
.hero-orbit {
  position: absolute;
  width: 430px;
  height: 220px;
  top: 155px;
  left: 50%;
  z-index: -1;
  transform: translateX(-50%) rotateX(68deg) rotateZ(-8deg);
  transform-style: preserve-3d;
}
.hero-orbit span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(104,135,230,.28);
  border-radius: 50%;
  box-shadow: inset 0 0 24px rgba(136,177,255,.15), 0 0 20px rgba(132,165,255,.08);
}
.hero-orbit span:nth-child(2) { inset: 24px 42px; border-color: rgba(0,47,167,.18); }
.hero-orbit span:nth-child(3) { inset: 49px 86px; border-color: rgba(79,175,232,.26); }
.hero-mascot-wrap {
  position: absolute;
  width: min(366px, 66%);
  top: 6px;
  left: 42%;
  z-index: 2;
  transform: translateX(-50%);
  filter: drop-shadow(0 24px 28px rgba(79,104,168,.15));
  overflow: visible;
}
.hero-gulp,
.hero-gulp-still {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: scale(1.3);
  transform-origin: 50% 50%;
  animation: hero-gulp-swallow 9.625s ease-in-out infinite;
}
.hero-gulp-still { display: none; }
.hero-file {
  position: absolute;
  z-index: 3;
  left: 5%;
  top: 44%;
  width: 50px;
  height: 68px;
  opacity: 1;
  transform: translate3d(-18px,8px,0) rotateY(-8deg) rotateZ(-2deg) scale(.92);
  transform-style: preserve-3d;
  filter: drop-shadow(0 14px 14px rgba(58,69,112,.2));
  animation: hero-file-feed 9.625s cubic-bezier(.38,.02,.2,1) infinite;
}
.hero-file-paper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: block;
  border: 1px solid rgba(135,142,169,.48);
  border-radius: 8px 10px 11px 9px;
  clip-path: polygon(0 0, 68% 0, 100% 25%, 100% 100%, 0 100%);
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(224,227,239,.96));
  box-shadow: inset 4px 4px 8px rgba(255,255,255,.86), inset -5px -7px 12px rgba(126,135,167,.14);
}
.hero-file-fold {
  position: absolute;
  top: 0;
  right: 0;
  width: 33%;
  height: 26%;
  border-left: 1px solid rgba(128,137,168,.44);
  border-bottom: 1px solid rgba(128,137,168,.44);
  border-radius: 0 0 0 5px;
  background: linear-gradient(155deg, rgba(245,247,255,.95), rgba(199,205,226,.94));
}
.hero-file-paper i {
  position: absolute;
  left: 22%;
  right: 17%;
  height: 2px;
  border-radius: 999px;
  background: rgba(92,99,126,.72);
}
.hero-file-paper i:nth-of-type(1) { top: 43%; }
.hero-file-paper i:nth-of-type(2) { top: 54%; }
.hero-file-paper i:nth-of-type(3) { top: 65%; }
.hero-file-paper i:nth-of-type(4) { top: 76%; right: 34%; }
@keyframes hero-file-feed {
  0%, 7% { z-index: 3; left: 5%; top: 44%; opacity: 1; transform: translate3d(-18px,8px,0) rotateY(-8deg) rotateZ(-2deg) scale(.92); }
  12% { z-index: 3; left: 8%; top: 43%; opacity: 1; transform: translate3d(0,0,0) rotateY(-8deg) rotateZ(-2deg) scale(.96); }
  18% { z-index: 3; left: 18%; top: 41%; opacity: 1; transform: translate3d(0,-3px,18px) rotateY(-5deg) rotateZ(-1deg) scale(1); }
  30% { z-index: 3; left: 27%; top: 37%; opacity: 1; transform: translate3d(0,-5px,26px) rotateY(-2deg) rotateZ(0) scale(.94); }
  37% { z-index: 3; left: 31%; top: 35%; opacity: 1; transform: translate3d(0,-6px,18px) rotateY(0) rotateZ(0) scale(.82); }
  41% { z-index: 3; left: 32.5%; top: 34%; opacity: 1; transform: translate3d(0,-6px,10px) rotateY(0) rotateZ(0) scale(.62); }
  43% { z-index: 3; left: 33%; top: 34%; opacity: 1; transform: translate3d(0,-6px,4px) rotateY(0) rotateZ(0) scale(.5); }
  44% { z-index: 1; left: 33.5%; top: 34%; opacity: 1; transform: translate3d(0,-6px,0) rotateY(0) rotateZ(0) scale(.42); }
  48%, 66% { z-index: 1; left: 34%; top: 34%; opacity: 0; transform: translate3d(0,-6px,0) rotateY(0) rotateZ(0) scale(.08); }
  67% { z-index: 1; left: 5%; top: 44%; opacity: 0; transform: translate3d(-18px,8px,0) rotateY(-8deg) rotateZ(-2deg) scale(.92); }
  68% { z-index: 3; left: 5%; top: 44%; opacity: 0; transform: translate3d(-18px,8px,0) rotateY(-8deg) rotateZ(-2deg) scale(.92); }
  72%, 100% { z-index: 3; left: 5%; top: 44%; opacity: 1; transform: translate3d(-18px,8px,0) rotateY(-8deg) rotateZ(-2deg) scale(.92); }
}
@keyframes hero-gulp-swallow {
  0%, 35%, 62%, 100% { transform: scale(1.3); }
  42% { transform: scale(1.34,1.24); }
  50% { transform: scale(1.27,1.36); }
  57% { transform: scale(1.31,1.28); }
}
.hero-stage .card-app {
  position: absolute;
  right: -16px;
  bottom: 8px;
  z-index: 4;
  width: 318px;
  transform: rotateY(-7deg) rotateX(2deg);
  background: rgba(255,255,255,.7);
  box-shadow: 0 28px 64px rgba(60,78,133,.18), inset 0 1px rgba(255,255,255,.9);
}
.hero-stage .app-body { padding: 15px; gap: 12px; }
.hero-stage .donut { width: 104px; height: 104px; flex-basis: 104px; }
.hero-stage .donut-hole { inset: 17px; }
.hero-stage .donut-hole b { font-size: 1.2rem; }
.hero-chip {
  position: absolute;
  z-index: 6;
  display: grid;
  gap: 1px;
  min-width: 116px;
  padding: 11px 14px;
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255,255,255,.72);
}
.hero-chip strong { font-size: .98rem; line-height: 1.2; }
.hero-chip span { color: var(--ink-soft); font-size: .7rem; line-height: 1.25; }
.hero-chip-space { left: 3px; top: 165px; }
.hero-chip-local { right: 1px; top: 78px; grid-template-columns: auto auto; column-gap: 6px; align-items: center; }
.hero-chip-local span:last-child { grid-column: 2; }
.privacy-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(21,138,100,.13); }

/* Product-first overview */
.product-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: 30px;
  margin-top: 34px;
  padding: 18px;
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255,255,255,.76), rgba(237,243,255,.52));
  box-shadow: 0 28px 78px rgba(52,70,123,.13), inset 0 1px rgba(255,255,255,.96);
}
.product-demo {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.94);
  border-radius: 24px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 22px 54px rgba(52,70,123,.12), inset 0 1px rgba(255,255,255,.98);
  transform-style: preserve-3d;
  perspective: 900px;
}
.product-demo-head { padding: 14px 18px; background: rgba(247,249,255,.72); }
.product-status {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--success);
  background: rgba(21,138,100,.12);
  font-size: .72rem;
  font-weight: 700;
}
.product-demo-body { padding: 24px; }
.product-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.product-metrics > div {
  display: grid;
  gap: 3px;
  padding: 15px 17px;
  border: 1px solid rgba(124,146,205,.14);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(237,243,255,.62));
}
.product-metrics small { color: var(--ink-soft); font-size: .75rem; }
.product-metrics strong { font-size: 1.25rem; letter-spacing: -.02em; }
.storage-strip { display: flex; height: 16px; margin: 20px 0 24px; overflow: hidden; border-radius: 999px; background: #dbe3ef; box-shadow: inset 0 1px 3px rgba(58,73,119,.12); }
.storage-strip span:nth-child(1) { width: 42%; background: var(--seg-1); }
.storage-strip span:nth-child(2) { width: 26%; background: var(--seg-2); }
.storage-strip span:nth-child(3) { width: 9%; background: var(--seg-3); }
.storage-strip span:nth-child(4) { flex: 1; background: var(--seg-4); }
.review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.review-head span { color: var(--ink-soft); font-size: .76rem; }
.review-list { border: 1px solid rgba(124,146,205,.14); border-radius: 16px; overflow: hidden; }
.review-row { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; min-height: 58px; padding: 10px 14px; background: rgba(255,255,255,.78); }
.review-row + .review-row { border-top: 1px solid rgba(124,146,205,.12); }
.review-row > div { display: grid; line-height: 1.25; }
.review-row small { color: var(--ink-soft); font-size: .72rem; }
.review-row b { font-size: .85rem; }
.review-row.muted { color: var(--ink-soft); background: rgba(242,245,251,.72); }
.review-check { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; color: var(--ink-soft); background: rgba(126,143,184,.1); font-size: .8rem; font-weight: 800; }
.review-check.checked { color: #fff; background: var(--accent); box-shadow: 0 6px 14px rgba(0,47,167,.24); }
.product-action { margin-top: 16px; padding: 12px; border-radius: 13px; color: #fff; text-align: center; font-weight: 750; background: var(--accent); box-shadow: 0 12px 26px rgba(0,47,167,.22); }
.product-benefits { display: grid; align-content: center; }
.feature-point { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 19px 10px; }
.feature-point + .feature-point { border-top: 1px solid rgba(124,146,205,.16); }
.feature-point > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--accent); background: var(--soft-blue); font-size: .75rem; font-weight: 800; }
.feature-point h3 { margin-bottom: 4px; font-size: 1.08rem; }
.feature-point p { color: var(--ink-dim); font-size: .9rem; line-height: 1.55; }

[data-depth], [data-tilt], .product-demo, .feature-point, .step { will-change: transform; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 680px; text-align: center; margin-inline: auto; }
  .hero-sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-stage { max-width: 650px; margin-inline: auto; }
  .product-overview { grid-template-columns: 1fr; }
  .product-demo { max-width: 680px; width: 100%; margin-inline: auto; }
  .product-benefits { grid-template-columns: 1fr 1fr; }
  .feature-point:nth-child(2) { border-top: 0; }
}
@media (max-width: 720px) {
  .hero { padding-top: 44px; }
  .hero-stage { min-height: 640px; }
  .hero-stage::before { inset: 26px 0 58px; }
  .hero-mascot-wrap { width: min(340px, 78%); left: 50%; }
  .hero-orbit { width: 82%; }
  .hero-stage .card-app { width: min(330px, 92%); right: 4%; bottom: 12px; transform: none; }
  .hero-chip-space { left: 2%; top: 140px; }
  .hero-chip-local { right: 2%; top: 66px; }
  .product-overview { padding: 10px; border-radius: 24px; }
  .product-demo-body { padding: 16px; }
  .product-benefits { grid-template-columns: 1fr; }
  .feature-point:nth-child(2) { border-top: 1px solid rgba(124,146,205,.16); }
}
@media (max-width: 460px) {
  .hero-aura { width: 100%; height: auto; aspect-ratio: 1; }
  .hero-chip { min-width: 98px; padding: 9px 11px; }
  .hero-chip-local { top: 56px; }
  .hero-stage .card-app { width: 100%; right: 0; }
  .hero-stage .legend { font-size: .75rem; }
  .hero-stage .donut { width: 88px; height: 88px; flex-basis: 88px; }
  .product-metrics { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-gulp { display: none; }
  .hero-gulp-still { display: block; }
  .hero-file { display: none; }
  [data-tilt], .feature-point, .step { transform: none !important; }
}

/* Privacy / security reassurance on the auth panel */
.sec-note {
  display: flex; align-items: flex-start; gap: 7px;
  margin-top: 14px; padding: 10px 12px;
  font-size: 0.82rem; line-height: 1.5; color: var(--ink-dim);
  background: var(--soft-blue); border-radius: 10px;
}
.sec-note svg { flex: 0 0 auto; margin-top: 2px; color: var(--accent); }

/* Hero privacy trust line */
.hero-privacy {
  display: flex; align-items: center; gap: 8px;
  margin-top: 18px; font-size: 0.9rem; color: var(--ink-dim);
}
.hero-privacy .privacy-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 0 4px rgba(21,138,100,0.18);
  flex: 0 0 auto;
}
