/* ==========================================================================
   唯信网络 · WEIXIN NETWORK
   base.css — design tokens, layout primitives, header/footer, shared UI
   ========================================================================== */

:root {
  --ink: #07090c;
  --ink-2: #0a0e13;
  --ink-3: #0d1319;
  --surface: #10171d;
  --surface-2: #141d24;
  --paper: #f2efe6;
  --paper-2: #e9e4d7;
  --on-paper: #10140f;
  --muted: #99a4ac;
  --muted-2: #707b83;
  --muted-paper: #5d6359;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --line-paper: rgba(16, 20, 15, 0.13);
  --accent: #c9f65f;
  --accent-soft: rgba(201, 246, 95, 0.13);
  --accent-ink: #0a0d08;
  --mint: #55e2b8;
  --blue: #70a9ff;
  --amber: #ffb257;
  --violet: #b79cff;
  --danger: #ff7a6b;
  --sans: "MiSans", "HarmonyOS Sans SC", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", "Cascadia Code", Consolas,
    "Liberation Mono", monospace;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --radius-sm: 10px;
  --shadow-lg: 0 40px 100px -30px rgba(0, 0, 0, 0.65);
  --shadow-mid: 0 24px 60px -24px rgba(0, 0, 0, 0.5);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--ink);
  color: #f3f5f1;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 999;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.container {
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-wide {
  width: min(1440px, 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(84px, 11vw, 150px);
}

.section-tight {
  padding-block: clamp(56px, 7vw, 96px);
}

.section-dark {
  background: var(--ink);
  color: #f3f5f1;
}

.section-ink {
  background:
    radial-gradient(900px 480px at 82% 8%, rgba(201, 246, 95, 0.07), transparent 68%),
    var(--ink-2);
}

.section-paper {
  background: var(--paper);
  color: var(--on-paper);
}

.section-paper::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 20, 15, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 20, 15, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  opacity: 0.65;
}

.section-paper > * {
  position: relative;
  z-index: 1;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: clamp(24px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.section-head-center {
  display: block;
  max-width: 820px;
  margin: 0 auto clamp(44px, 6vw, 72px);
  text-align: center;
}

.section-head h2,
.h2 {
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 700;
  text-wrap: balance;
}

.section-head .head-aside {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  max-width: 430px;
  padding-bottom: 6px;
}

.section-paper .head-aside {
  color: var(--muted-paper);
}

.section-head-center .head-aside {
  margin: 20px auto 0;
}

/* --------------------------------------------------------------------------
   Type helpers
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

.eyebrow.no-line::before {
  display: none;
}

.section-paper .eyebrow {
  color: #4c5a30;
}

.eyebrow-dot::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.lede {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.8;
  color: var(--muted);
}

.section-paper .lede {
  color: var(--muted-paper);
}

.accent {
  color: var(--accent);
}

.outline-text {
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 245, 241, 0.28);
}

.mono {
  font-family: var(--mono);
}

.muted {
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Buttons / pills
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--accent-ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    background 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.28s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -14px rgba(201, 246, 95, 0.55);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn:active {
  transform: translateY(0);
}

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: #f3f5f1;
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.btn-dark {
  --btn-bg: #10140f;
  --btn-fg: #f3f5f1;
}

.btn-dark:hover {
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.7);
}

.btn-outline-dark {
  --btn-bg: transparent;
  --btn-fg: #10140f;
  border-color: rgba(16, 20, 15, 0.25);
}

.btn-outline-dark:hover {
  background: rgba(16, 20, 15, 0.06);
  box-shadow: none;
}

.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 13px;
}

.btn-lg {
  min-height: 54px;
  padding: 0 28px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.text-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}

.text-link:hover {
  border-color: currentColor;
}

.text-link:hover svg {
  transform: translateX(3px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.pill i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.pill-accent {
  border-color: rgba(201, 246, 95, 0.28);
  background: var(--accent-soft);
  color: var(--accent);
}

.section-paper .pill {
  border-color: var(--line-paper);
  background: rgba(16, 20, 15, 0.04);
  color: #4f5649;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(7, 9, 12, 0.82);
  border-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  color: #f3f5f1;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-text small {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border-radius: 999px;
  color: #b9c1c5;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-link:hover,
.nav-link[aria-expanded="true"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-link svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
  transition: transform 0.25s var(--ease);
}

.nav-link[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}

.status-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(85, 226, 184, 0.12);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #fff;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  position: relative;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  display: block;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: currentColor;
}

.menu-toggle span::before {
  top: -5px;
}

.menu-toggle span::after {
  top: 5px;
}

/* Mega menu ----------------------------------------------------------------- */

.nav-item {
  position: relative;
}

.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: min(880px, calc(100vw - 48px));
  transform: translate(-50%, 8px);
  display: grid;
  grid-template-columns: 1fr 0.58fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(10, 14, 19, 0.97);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.22s var(--ease),
    transform 0.22s var(--ease),
    visibility 0.22s;
}

.mega.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.mega-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 15px;
  border-radius: 15px;
  transition: background 0.2s var(--ease);
}

.mega-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.mega-item img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.mega-item strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}

.mega-item span {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted-2);
}

.mega-item em {
  display: block;
  margin-top: 7px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.mega-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border-radius: 17px;
  background:
    radial-gradient(240px 180px at 90% 0%, rgba(201, 246, 95, 0.16), transparent 70%),
    #0e151b;
  border: 1px solid var(--line);
}

.mega-aside h4 {
  font-size: 17px;
  line-height: 1.45;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.mega-aside p {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.mega-aside .text-link {
  font-size: 12px;
  color: var(--accent);
}

/* Mobile menu --------------------------------------------------------------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 22px) var(--gutter) 40px;
  background:
    radial-gradient(600px 320px at 100% 0%, rgba(201, 246, 95, 0.1), transparent 65%),
    #07090c;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-menu .m-label {
  margin: 28px 0 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.mobile-menu .m-product {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}

.mobile-menu .m-product img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.mobile-menu .m-product strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
}

.mobile-menu .m-product span {
  display: block;
  font-size: 11px;
  color: var(--muted-2);
}

.mobile-menu .m-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: #dde2e4;
}

.mobile-menu .btn {
  margin-top: 28px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(64px, 8vw, 100px);
  background: #06080a;
  border-top: 1px solid var(--line);
  color: #f3f5f1;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(130px, 0.7fr));
  gap: clamp(30px, 5vw, 72px);
  padding-bottom: clamp(44px, 6vw, 72px);
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 320px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

.footer-brand .footer-mail {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  border-bottom: 1px solid rgba(201, 246, 95, 0.3);
}

.footer-col h4 {
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  color: #b7bfc3;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--accent);
  transform: translateX(2px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted-2);
}

.footer-bottom .legal-links {
  display: flex;
  gap: 20px;
}

.footer-wordmark {
  margin-top: 8px;
  margin-bottom: -2.2vw;
  font-size: clamp(64px, 15vw, 220px);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Product page shared
   -------------------------------------------------------------------------- */

.product-page {
  --accent: var(--mint);
  background: var(--ink);
}

.product-header .header-divider {
  width: 1px;
  height: 22px;
  background: var(--line-strong);
  margin-inline: 2px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: #d6dcde;
  white-space: nowrap;
}

.product-badge img {
  width: 27px;
  height: 27px;
  border-radius: 8px;
}

.product-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.product-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  color: #aab4b9;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.product-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.product-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(54px, 7vw, 96px));
  padding-bottom: clamp(48px, 6vw, 84px);
  overflow: hidden;
  background:
    radial-gradient(760px 520px at 84% 18%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 68%),
    radial-gradient(900px 500px at 4% 70%, rgba(255, 255, 255, 0.035), transparent 65%),
    var(--ink);
}

.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(75% 80% at 50% 30%, #000, transparent 78%);
  opacity: 0.5;
  pointer-events: none;
}

.product-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(28px, 4vw, 44px);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  opacity: 0.35;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.product-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.product-kicker img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.product-hero h1 {
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 700;
  text-wrap: balance;
}

.product-hero h1 .thin {
  font-weight: 300;
  color: var(--muted);
}

.product-hero .lede {
  max-width: 540px;
  margin-top: 24px;
  font-size: clamp(15px, 1.5vw, 17.5px);
  color: #aeb8bd;
}

.product-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.product-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 44px);
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.product-metrics .metric strong {
  display: block;
  font-family: var(--mono);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--accent);
}

.product-metrics .metric span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted-2);
}

.product-hero .hero-visual {
  position: relative;
}

.product-hero .shot-frame {
  transform: perspective(1600px) rotateY(-3deg) rotateX(1.5deg);
  transition: transform 0.8s var(--ease);
}

.product-hero .shot-frame:hover {
  transform: perspective(1600px) rotateY(0) rotateX(0);
}

/* Browser / app frame ------------------------------------------------------ */

.shot-frame {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: #0b0f13;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 50px 100px -40px rgba(0, 0, 0, 0.9),
    0 0 80px -30px color-mix(in srgb, var(--accent) 28%, transparent);
  overflow: hidden;
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b1015;
}

.shot-bar .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.shot-bar .dot:first-child {
  background: rgba(255, 107, 95, 0.55);
}

.shot-bar .dot:nth-child(2) {
  background: rgba(255, 189, 75, 0.5);
}

.shot-bar .dot:nth-child(3) {
  background: rgba(94, 209, 130, 0.5);
}

.shot-bar .shot-url {
  flex: 1;
  margin-left: 6px;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.02em;
  color: #7c8890;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shot-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.shot-frame .shot-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #0a0e12;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.shot-frame .shot-caption em {
  font-style: normal;
  color: var(--accent);
}

.float-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(11, 16, 21, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-mid);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: #c9d2d6;
  z-index: 2;
}

.float-tag i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.float-tag strong {
  color: #fff;
  font-weight: 600;
}

.float-tag.f-tag-1 {
  left: -22px;
  bottom: 42px;
  animation: float-y 6s ease-in-out infinite;
}

.float-tag.f-tag-2 {
  right: -14px;
  top: -18px;
  animation: float-y 7s ease-in-out infinite reverse;
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* Product content ---------------------------------------------------------- */

.product-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

.product-intro h2 {
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.16;
  letter-spacing: -0.04em;
  font-weight: 650;
  text-wrap: balance;
}

.product-intro .intro-copy p {
  color: var(--muted-paper);
  font-size: 15.5px;
  line-height: 1.95;
}

.product-intro .intro-copy p + p {
  margin-top: 16px;
}

.intro-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--line-paper);
  border-radius: 16px;
  overflow: hidden;
  background: var(--line-paper);
}

.intro-facts div {
  padding: 18px;
  background: var(--paper);
}

.intro-facts strong {
  display: block;
  font-family: var(--mono);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.intro-facts span {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--muted-paper);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: var(--line);
}

.feature-card {
  position: relative;
  min-height: 228px;
  padding: clamp(22px, 2.5vw, 32px);
  background: var(--ink-2);
  transition: background 0.35s var(--ease);
}

.feature-card:hover {
  background: #0e151b;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 32px;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  color: var(--accent);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  font-size: 16.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}

.feature-card .feature-num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.22);
}

/* Showcase ----------------------------------------------------------------- */

.showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
}

.showcase-row + .showcase-row {
  margin-top: clamp(64px, 9vw, 120px);
}

.showcase-row.is-reverse .showcase-copy {
  order: 2;
}

.showcase-row.is-reverse .showcase-media {
  order: 1;
}

.showcase-copy h3 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 650;
  text-wrap: balance;
}

.showcase-copy > p {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
}

.section-paper .showcase-copy > p {
  color: var(--muted-paper);
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: #c4ccd0;
}

.section-paper .check-list li {
  color: #3f463c;
}

.check-list svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--accent);
}

.showcase-media .shot-frame {
  transform: none;
}

.showcase-media .shot-frame:hover {
  transform: translateY(-4px);
}

.showcase-media .shot-frame {
  transition: transform 0.5s var(--ease);
}

/* Steps -------------------------------------------------------------------- */

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 26px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.section-paper .step-card {
  border-color: var(--line-paper);
  background: rgba(255, 255, 255, 0.42);
}

.step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 26px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.step-card h3 {
  font-size: 15.5px;
  font-weight: 650;
}

.step-card p {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
}

.section-paper .step-card p {
  color: var(--muted-paper);
}

/* Scenario cards ----------------------------------------------------------- */

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.scenario-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.scenario-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 32%, transparent);
}

.scenario-card .scenario-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
}

.scenario-card h3 {
  font-size: 19px;
  font-weight: 650;
  line-height: 1.4;
}

.scenario-card p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.scenario-card .scenario-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted-2);
}

/* Specs -------------------------------------------------------------------- */

.spec-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.spec-table th,
.spec-table td {
  padding: 15px 4px;
  border-bottom: 1px solid var(--line-paper);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 32%;
  font-weight: 500;
  color: var(--muted-paper);
}

.spec-table td {
  color: var(--on-paper);
}

.spec-table tr:first-child th,
.spec-table tr:first-child td {
  padding-top: 0;
}

.spec-note {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 2px solid var(--accent);
  background: rgba(16, 20, 15, 0.035);
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted-paper);
}

.spec-side {
  padding: 26px;
  border: 1px solid var(--line-paper);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.4);
}

.spec-side h3 {
  font-size: 14px;
  font-weight: 650;
}

.spec-side ul {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted-paper);
}

.spec-side li {
  display: flex;
  gap: 8px;
}

.spec-side li::before {
  content: "—";
  color: var(--accent);
}

/* FAQ ---------------------------------------------------------------------- */

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  color: #e7ebea;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .plus {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq-item summary .plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] summary .plus {
  transform: rotate(45deg);
  border-color: var(--accent);
  color: var(--accent);
}

.faq-item .faq-answer {
  max-width: 760px;
  padding: 0 30px 24px 4px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
}

/* Product CTA -------------------------------------------------------------- */

.product-cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 9vw, 120px);
  background:
    radial-gradient(700px 340px at 50% 120%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%),
    #080b0d;
  border-top: 1px solid var(--line);
  text-align: center;
}

.product-cta h2 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  font-weight: 700;
  text-wrap: balance;
}

.product-cta p {
  max-width: 560px;
  margin: 20px auto 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.product-cta .hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Lightbox ----------------------------------------------------------------- */

.lightbox {
  width: min(1200px, 92vw);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #0a0e12;
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(3, 5, 7, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #05070a;
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: #0b1015;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.8);
}

.lightbox-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.shot-clickable {
  cursor: zoom-in;
}

/* Reveal / motion ---------------------------------------------------------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
  transition-delay: var(--d, 0ms);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

html.js .reveal-scale {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
}

html.js .reveal-scale.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-copy > * {
  animation: rise 0.9s var(--ease) both;
}

.hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.32s; }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.divider {
  height: 1px;
  background: var(--line);
}

.noise {
  position: relative;
}

.noise::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
  .status-chip {
    display: none;
  }

  .header-inner {
    gap: 18px;
  }

  .product-nav a:nth-child(n + 4) {
    display: none;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 68px;
  }

  .main-nav,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-actions {
    margin-left: auto;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .section-head .head-aside {
    padding-bottom: 0;
  }

  .product-hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .product-hero .shot-frame {
    transform: none;
  }

  .product-intro {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-row,
  .showcase-row.is-reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .showcase-row.is-reverse .showcase-copy,
  .showcase-row.is-reverse .showcase-media {
    order: initial;
  }

  .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .spec-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .product-nav {
    display: none;
  }

  .product-badge {
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .section {
    padding-block: 72px;
  }

  .product-hero {
    padding-top: calc(var(--header-h) + 42px);
  }

  .product-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .product-metrics .metric strong {
    font-size: 16px;
  }

  .product-metrics .metric span {
    font-size: 9.5px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .feature-icon {
    margin-bottom: 22px;
  }

  .step-grid {
    grid-template-columns: 1fr;
  }

  .intro-facts {
    grid-template-columns: 1fr;
  }

  .product-cta .hero-actions .btn {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .float-tag.f-tag-1 {
    left: 8px;
    bottom: 12px;
  }

  .float-tag.f-tag-2 {
    right: 8px;
    top: 8px;
  }

  .mega {
    display: none;
  }
}

@media (max-width: 460px) {
  .brand-text small {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .product-hero .hero-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  html.js .reveal,
  html.js .reveal-scale {
    opacity: 1;
    transform: none;
  }
}
