/* ============================================================
   腾协同 TENGFLOW · 腾数网企业 SaaS 演示模板
   靛蓝 + 青 · 浅色 SaaS 风 · PC 自适应
   ============================================================ */
:root {
  --indigo: #3b5bfd;
  --indigo-deep: #2a45c8;
  --teal: #14c8c0;
  --dark: #0a1020;
  --dark-soft: #111a33;
  --ink: #16213a;
  --muted: #64708c;
  --line: #e5e9f4;
  --bg: #ffffff;
  --bg-soft: #f5f7fd;
  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --shadow: 0 1.25rem 3rem rgba(22, 33, 74, 0.08);
  --container: 75rem;
  --font: -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* ---------- base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }

.section { max-width: var(--container); margin: 0 auto; padding: 6rem 2rem; }
.section-kicker { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; color: var(--indigo); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.18em; }
.section-kicker::before { content: ""; width: 1.75rem; height: 2px; background: var(--indigo); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.625rem); font-weight: 800; }
.section-head > p { max-width: 22rem; color: var(--muted); font-size: 0.9375rem; }

/* ---------- buttons ---------- */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 0.625rem; padding: 0.875rem 1.5rem; border-radius: 0.625rem; background: linear-gradient(100deg, var(--indigo), #5f7dff); color: #fff; font-size: 0.9375rem; font-weight: 700; box-shadow: 0 0.75rem 1.75rem rgba(59, 91, 253, 0.28); transition: transform 0.2s, box-shadow 0.2s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1rem 2.25rem rgba(59, 91, 253, 0.38); }
.btn-ghost { display: inline-flex; align-items: center; padding: 0.8125rem 1.375rem; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 0.625rem; color: #fff; font-size: 0.9375rem; font-weight: 600; transition: background 0.2s, border-color 0.2s; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.65); }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; padding: 0.8125rem 1.375rem; border: 1px solid var(--line); border-radius: 0.625rem; color: var(--ink); font-size: 0.9375rem; font-weight: 600; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.btn-outline:hover { border-color: var(--indigo); color: var(--indigo); background: rgba(59, 91, 253, 0.05); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; background: rgba(10, 16, 32, 0.88); transition: background 0.3s, box-shadow 0.3s; }
.site-header.scrolled-mode { background: rgba(255, 255, 255, 0.97); box-shadow: 0 0.5rem 1.5rem rgba(22, 33, 74, 0.08); }
.header-inner { display: flex; align-items: center; max-width: var(--container); height: 4.5rem; margin: 0 auto; padding: 0 2rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; color: #fff; transition: color 0.3s; }
.brand b { display: grid; width: 2.375rem; height: 2.375rem; place-items: center; border-radius: 0.625rem; background: linear-gradient(135deg, var(--indigo), var(--teal)); font-size: 1.125rem; }
.brand span { display: flex; flex-direction: column; font-size: 1.0625rem; font-weight: 700; line-height: 1.15; }
.brand small { color: #8b96bb; font-size: 0.625rem; font-weight: 500; letter-spacing: 0.06em; transition: color 0.3s; }
.main-nav { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.main-nav > a:not(.nav-cta) { position: relative; color: #b9c2de; font-size: 0.9375rem; font-weight: 500; transition: color 0.2s; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; right: 0; bottom: -0.375rem; left: 0; height: 2px; border-radius: 2px; background: var(--indigo); transform: scaleX(0); transition: transform 0.2s; }
.main-nav > a:not(.nav-cta):hover { color: #fff; }
.main-nav > a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.625rem 1.125rem; border-radius: 0.625rem; background: var(--indigo); color: #fff; font-size: 0.875rem; font-weight: 700; transition: background 0.2s; }
.nav-cta:hover { background: var(--indigo-deep); }
.menu-toggle { display: none; margin-left: auto; color: #fff; font-size: 1.5rem; transition: color 0.3s; }
/* 滚动态：浅色头部 */
.site-header.scrolled-mode .brand { color: var(--ink); }
.site-header.scrolled-mode .brand small { color: var(--muted); }
.site-header.scrolled-mode .main-nav > a:not(.nav-cta) { color: var(--muted); }
.site-header.scrolled-mode .main-nav > a:not(.nav-cta):hover { color: var(--ink); }
.site-header.scrolled-mode .menu-toggle { color: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(52rem 32rem at 82% -10%, rgba(59, 91, 253, 0.38), transparent 62%), radial-gradient(40rem 28rem at 8% 108%, rgba(20, 200, 192, 0.22), transparent 60%), var(--dark); }
.hero-inner { display: grid; gap: 3rem; max-width: var(--container); margin: 0 auto; padding: 9.5rem 2rem 6.5rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.625rem; margin-bottom: 1.25rem; color: #6ee7e2; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.2em; }
.eyebrow i { width: 1.75rem; height: 2px; background: var(--teal); }
.hero h1 { color: #fff; font-size: clamp(2.25rem, 4.6vw, 3.75rem); font-weight: 800; line-height: 1.1; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #6ee7e2, #8fa8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy > p { margin-top: 1.375rem; max-width: 34rem; color: #aab4d4; font-size: 1.0625rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }
.hero-facts { display: flex; gap: 2.25rem; margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.hero-facts b { display: block; color: #fff; font-size: 1.125rem; font-weight: 700; }
.hero-facts span { color: #8b96bb; font-size: 0.8125rem; }
.hero-visual { position: relative; }
.hero-frame { overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-lg); box-shadow: 0 2.5rem 5rem rgba(3, 7, 18, 0.6); }
.hero-frame img { width: 100%; }
.hero-chip { position: absolute; top: 8%; right: -1rem; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.625rem 1rem; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px; background: rgba(17, 26, 51, 0.92); color: #dfe6ff; font-size: 0.8125rem; box-shadow: 0 1rem 2rem rgba(3, 7, 18, 0.45); }
.hero-chip i { color: var(--teal); }
.hero-chip-b { top: auto; right: auto; bottom: 10%; left: -1.25rem; }
.hero-chip-b i { color: #8fa8ff; }
.float-a { animation: floatY 7s ease-in-out infinite; }
.float-b { animation: floatY 5.5s ease-in-out 0.6s infinite; }
.float-c { animation: floatY 6.5s ease-in-out 1.1s infinite; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-0.625rem); } }

/* ---------- logo cloud ---------- */
.logo-cloud { padding: 3.5rem 2rem; border-bottom: 1px solid var(--line); text-align: center; }
.logo-cloud > p { color: var(--muted); font-size: 0.875rem; }
.logo-wall { display: grid; gap: 1.25rem 2.5rem; max-width: var(--container); margin: 2rem auto 0; grid-template-columns: repeat(6, 1fr); }
.logo-wall b { color: #a5aec9; font-size: 1.0625rem; font-weight: 700; letter-spacing: 0.04em; filter: grayscale(1); opacity: 0.8; transition: color 0.2s, opacity 0.2s, filter 0.2s; }
.logo-wall b:hover { color: var(--indigo); filter: none; opacity: 1; }

/* ---------- bento ---------- */
.features { background: var(--bg-soft); max-width: none; }
.features > * { max-width: var(--container); margin-left: auto; margin-right: auto; }
.features.section { padding-left: 0; padding-right: 0; }
.bento { display: grid; gap: 1.5rem; padding: 0 2rem; grid-template-columns: repeat(4, 1fr); }
.bento-cell { padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: transform 0.25s, box-shadow 0.25s; }
.bento-cell:hover { transform: translateY(-0.375rem); box-shadow: var(--shadow); }
.bento-wide { grid-column: span 2; }
.bento-cell > i { display: grid; width: 3rem; height: 3rem; place-items: center; margin-bottom: 1.125rem; border-radius: 0.75rem; background: linear-gradient(135deg, rgba(59, 91, 253, 0.1), rgba(20, 200, 192, 0.14)); color: var(--indigo); font-size: 1.375rem; }
.bento-cell h3 { font-size: 1.125rem; font-weight: 700; }
.bento-cell > p { margin-top: 0.5rem; color: var(--muted); font-size: 0.875rem; }
.mini-kanban { display: grid; gap: 0.75rem; margin-top: 1.5rem; grid-template-columns: repeat(3, 1fr); }
.mini-kanban > div { display: flex; align-items: flex-end; gap: 0.375rem; height: 4.5rem; padding: 0.625rem; border-radius: var(--radius); background: var(--bg-soft); }
.mini-kanban span { align-self: flex-start; color: var(--muted); font-size: 0.625rem; font-weight: 600; }
.mini-kanban i { flex: 1; height: var(--h); border-radius: 0.25rem; background: linear-gradient(180deg, #8fa8ff, rgba(59, 91, 253, 0.35)); }
.mini-kanban > div:nth-child(2) i { background: linear-gradient(180deg, #5fe0da, rgba(20, 200, 192, 0.35)); }
.mini-chart { margin-top: 1.5rem; padding: 1rem; border-radius: var(--radius); background: var(--bg-soft); }
.mini-chart svg { width: 100%; height: auto; }

/* ---------- scenes ---------- */
.scene-tabs .tab-list { display: flex; gap: 0.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.tab-btn { position: relative; padding: 0.875rem 1.25rem; color: var(--muted); font-size: 1rem; font-weight: 600; transition: color 0.2s; }
.tab-btn::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 0.1875rem; border-radius: 0.1875rem; background: var(--indigo); transform: scaleX(0); transition: transform 0.25s; }
.tab-btn:hover { color: var(--ink); }
.tab-btn.active-mode { color: var(--indigo); }
.tab-btn.active-mode::after { transform: scaleX(1); }
.scene-body { display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.scene-visual { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.scene-visual img { width: 100%; transition: transform 0.5s; }
.scene-visual:hover img { transform: scale(1.03); }
.tab-panel { display: block; }
.tab-panel[hidden] { display: none; }
.scene-panels h3 { font-size: 1.5rem; font-weight: 800; }
.scene-points { display: grid; gap: 1rem; margin-top: 1.5rem; }
.scene-points li { position: relative; padding: 1rem 1.25rem 1rem 3.25rem; border-radius: var(--radius); background: var(--bg-soft); color: var(--muted); font-size: 0.9375rem; line-height: 1.7; }
.scene-points b { position: absolute; top: 1rem; left: 1.25rem; color: var(--indigo); font-size: 0.8125rem; }
.scene-points li:nth-child(2) b { color: var(--teal); }
.scene-points li:nth-child(3) { background: linear-gradient(100deg, rgba(59, 91, 253, 0.08), rgba(20, 200, 192, 0.1)); color: var(--ink); font-weight: 600; }
.scene-points li:nth-child(3) b { color: var(--indigo-deep); }

/* ---------- metrics ---------- */
.metrics { background: linear-gradient(120deg, var(--indigo-deep), var(--indigo) 55%, #3fa8f5); }
.metrics-inner { display: grid; max-width: var(--container); margin: 0 auto; padding: 3.25rem 2rem; grid-template-columns: repeat(4, 1fr); }
.metric { padding: 0 1.5rem; text-align: center; }
.metric + .metric { border-left: 1px solid rgba(255, 255, 255, 0.22); }
.metric strong { display: block; color: #fff; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; font-variant-numeric: tabular-nums; }
.metric span { display: block; margin-top: 0.375rem; color: rgba(255, 255, 255, 0.75); font-size: 0.875rem; }

/* ---------- voices ---------- */
.voice-carousel { overflow: hidden; }
.voice-track { display: flex; transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1); }
.voice-card { flex: 0 0 100%; padding: 2.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.voice-quote { position: relative; max-width: 52rem; color: var(--ink); font-size: 1.125rem; line-height: 1.9; }
.voice-quote::before { content: "“"; position: absolute; top: -1.5rem; left: -0.5rem; color: rgba(59, 91, 253, 0.14); font-size: 4rem; font-family: serif; }
.voice-meta { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.voice-avatar { display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--indigo), var(--teal)); color: #fff; font-size: 1.125rem; font-weight: 700; }
.voice-meta b { display: block; font-size: 1rem; }
.voice-meta div > span { color: var(--muted); font-size: 0.8125rem; }
.voice-meta em { margin-left: auto; padding: 0.5rem 1rem; border-radius: 999px; background: rgba(20, 200, 192, 0.12); color: #0d9488; font-size: 0.8125rem; font-style: normal; font-weight: 600; }
.voice-meta em b { display: inline; color: inherit; }
.voice-controls { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 2rem; }
.voice-arrow { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); transition: border-color 0.2s, color 0.2s, background 0.2s; }
.voice-arrow:hover { border-color: var(--indigo); color: var(--indigo); background: rgba(59, 91, 253, 0.05); }
.voice-dots { display: flex; gap: 0.5rem; }
.voice-dots button { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #ccd3e8; transition: background 0.25s, transform 0.25s; }
.voice-dots button.active-mode { background: var(--indigo); transform: scale(1.35); }

/* ---------- pricing ---------- */
.pricing { background: var(--bg-soft); max-width: none; }
.pricing > * { max-width: var(--container); margin-left: auto; margin-right: auto; }
.pricing.section { padding-left: 0; padding-right: 0; }
.cycle-toggle { display: inline-flex; gap: 0.25rem; padding: 0.25rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.cycle-btn { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.5rem 1.125rem; border-radius: 999px; color: var(--muted); font-size: 0.875rem; font-weight: 600; transition: background 0.2s, color 0.2s; }
.cycle-btn i { padding: 0.0625rem 0.5rem; border-radius: 999px; background: rgba(20, 200, 192, 0.15); color: #0d9488; font-size: 0.6875rem; font-style: normal; }
.cycle-btn.active-mode { background: var(--indigo); color: #fff; }
.cycle-btn.active-mode i { background: rgba(255, 255, 255, 0.22); color: #fff; }
.price-grid { display: grid; gap: 1.5rem; padding: 0 2rem; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: transform 0.25s, box-shadow 0.25s; }
.price-card:hover { transform: translateY(-0.375rem); box-shadow: var(--shadow); }
.price-hot { border: 2px solid var(--indigo); box-shadow: 0 1.5rem 3.5rem rgba(59, 91, 253, 0.16); }
.hot-badge { position: absolute; top: -0.875rem; left: 50%; padding: 0.25rem 1rem; border-radius: 999px; background: linear-gradient(100deg, var(--indigo), var(--teal)); color: #fff; font-size: 0.75rem; font-weight: 700; transform: translateX(-50%); }
.price-card h3 { font-size: 1.25rem; font-weight: 800; }
.price-desc { margin-top: 0.375rem; color: var(--muted); font-size: 0.8125rem; }
.price-amount { display: flex; align-items: baseline; gap: 0.5rem; margin: 1.5rem 0; }
.price-amount b { color: var(--ink); font-size: 2.5rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.price-unit { color: var(--muted); font-size: 0.8125rem; }
.price-card ul { display: grid; gap: 0.75rem; margin-bottom: 2rem; font-size: 0.875rem; }
.price-card ul i { margin-right: 0.5rem; color: var(--teal); font-weight: 700; }
.price-card .btn-primary, .price-card .btn-outline { margin-top: auto; }

/* ---------- faq ---------- */
.faq-list { max-width: 52rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.faq-item + .faq-item { margin-top: 0.75rem; }
.faq-q { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1.25rem 1.5rem; color: var(--ink); font-size: 1rem; font-weight: 600; text-align: left; }
.faq-q i { color: var(--indigo); font-size: 0.875rem; transition: transform 0.25s; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.faq-a > p { overflow: hidden; padding: 0 1.5rem; color: var(--muted); font-size: 0.9375rem; line-height: 1.8; }
.faq-item.open-mode .faq-a { grid-template-rows: 1fr; }
.faq-item.open-mode .faq-a > p { padding-bottom: 1.25rem; }
.faq-item.open-mode .faq-q { color: var(--indigo); }
.faq-item.open-mode .faq-q i { transform: rotate(45deg); }

/* ---------- trial ---------- */
.trial { background: radial-gradient(46rem 26rem at 12% 0%, rgba(20, 200, 192, 0.18), transparent 60%), linear-gradient(150deg, var(--dark), var(--dark-soft)); }
.trial-inner { display: grid; gap: 4rem; max-width: var(--container); margin: 0 auto; padding: 6rem 2rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.trial-copy .section-kicker { color: #6ee7e2; }
.trial-copy .section-kicker::before { background: var(--teal); }
.trial-copy h2 { color: #fff; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; }
.trial-copy > p { margin-top: 1.125rem; max-width: 28rem; color: #aab4d4; font-size: 0.9375rem; line-height: 1.8; }
.trial-points { display: grid; gap: 0.875rem; margin-top: 2rem; color: #c7d0ec; font-size: 0.9375rem; }
.trial-points i { margin-right: 0.5rem; color: var(--teal); }
.trial-form { padding: 2.25rem; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 2rem 4.5rem rgba(3, 7, 18, 0.45); }
.trial-form h3 { margin-bottom: 1.5rem; font-size: 1.25rem; font-weight: 800; }
.trial-form label { display: block; margin-bottom: 1.125rem; font-size: 0.875rem; font-weight: 600; }
.trial-form label i { color: #e0483e; font-style: normal; }
.trial-form input, .trial-form select { display: block; width: 100%; margin-top: 0.5rem; padding: 0.75rem 0.875rem; border: 1px solid var(--line); border-radius: 0.5rem; font-family: inherit; font-size: 0.9375rem; color: var(--ink); background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.trial-form input:focus, .trial-form select:focus { outline: 0; border-color: var(--indigo); box-shadow: 0 0 0 0.1875rem rgba(59, 91, 253, 0.14); }
.trial-form label.error-mode input { border-color: #e0483e; box-shadow: 0 0 0 0.1875rem rgba(224, 72, 62, 0.12); }
.field-error { display: none; margin-top: 0.375rem; color: #e0483e; font-size: 0.75rem; font-style: normal; font-weight: 500; }
.trial-form label.error-mode .field-error { display: block; }
.form-submit { width: 100%; margin-top: 0.375rem; }
.form-submit:disabled { opacity: 0.65; cursor: default; transform: none; }
.form-status { margin-top: 1rem; padding: 0.875rem 1rem; border-radius: 0.5rem; background: rgba(20, 200, 192, 0.12); color: #0d9488; font-size: 0.875rem; font-weight: 600; }
.form-status:empty { display: none; }

/* ---------- footer ---------- */
.site-footer { background: #070c18; color: #8b96bb; }
.footer-inner { display: grid; gap: 3rem; max-width: var(--container); margin: 0 auto; padding: 4rem 2rem 3rem; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; }
.footer-brand .brand { margin-bottom: 1.25rem; }
.footer-brand p { font-size: 0.8125rem; line-height: 1.8; }
.footer-col { display: grid; gap: 0.625rem; align-content: start; font-size: 0.875rem; }
.footer-col b { margin-bottom: 0.5rem; color: #fff; font-size: 0.9375rem; }
.footer-col a:hover { color: #6ee7e2; }
.footer-contact span { display: block; font-size: 0.8125rem; line-height: 1.7; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; max-width: var(--container); margin: 0 auto; padding: 1.25rem 2rem; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.75rem; }

/* ---------- to-top / toast ---------- */
.to-top { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 90; display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border-radius: 50%; background: var(--indigo); color: #fff; font-size: 1.0625rem; box-shadow: 0 0.75rem 1.75rem rgba(42, 69, 200, 0.35); opacity: 0; pointer-events: none; transform: translateY(0.75rem); transition: opacity 0.25s, transform 0.25s, background 0.2s; }
.to-top.show-mode { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--indigo-deep); }
.toast { position: fixed; bottom: 1.5rem; left: 50%; z-index: 110; max-width: min(90vw, 30rem); padding: 0.875rem 1.25rem; border-radius: 0.625rem; background: rgba(10, 16, 32, 0.95); color: #fff; font-size: 0.875rem; box-shadow: 0 1rem 2.5rem rgba(3, 7, 18, 0.4); opacity: 0; pointer-events: none; transform: translate(-50%, 0.75rem); transition: opacity 0.3s, transform 0.3s; }
.toast.show-mode { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(1.5rem); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].reveal-mode { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .main-nav { gap: 1.375rem; }
}

@media (max-width: 992px) {
  .menu-toggle { display: block; }
  .main-nav { position: fixed; top: 4.5rem; right: 0; bottom: 0; z-index: 99; flex-direction: column; align-items: stretch; gap: 0; width: min(20rem, 84vw); padding: 1.5rem; background: var(--dark); box-shadow: -1rem 0 2.5rem rgba(3, 7, 18, 0.4); transform: translateX(100%); transition: transform 0.3s ease; }
  .main-nav.menu-open-mode { transform: translateX(0); }
  .main-nav > a:not(.nav-cta) { padding: 1rem 0.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 1.0625rem; }
  .site-header .main-nav.menu-open-mode > a:not(.nav-cta) { color: #b9c2de; }
  .main-nav > a:not(.nav-cta)::after { display: none; }
  .site-header.scrolled-mode { background: rgba(10, 16, 32, 0.97); }
  .site-header.scrolled-mode .brand { color: #fff; }
  .site-header.scrolled-mode .brand small { color: #8b96bb; }
  .site-header.scrolled-mode .menu-toggle { color: #fff; }
  .nav-cta { justify-content: center; margin-top: 1.25rem; padding: 0.875rem; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 8rem; }
  .hero-visual { margin-top: 1rem; }
  .hero-chip-b { left: 0; }
  .hero-chip { right: 0; }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-wide { grid-column: span 2; }
  .scene-body { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 30rem; margin: 0 auto; }
  .trial-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 1.25rem; }
  .header-inner { padding: 0 1.25rem; }
  .brand small { display: none; }
  .hero-inner { padding: 7rem 1.25rem 4.5rem; }
  .hero h1 { font-size: clamp(1.875rem, 8vw, 2.375rem); }
  .hero-copy > p { font-size: 0.9375rem; }
  .hero-facts { gap: 1.5rem; flex-wrap: wrap; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .bento { grid-template-columns: 1fr; padding: 0 1.25rem; }
  .bento-wide { grid-column: auto; }
  .tab-list { overflow-x: auto; white-space: nowrap; }
  .scene-tabs .tab-list { margin-bottom: 1.75rem; }
  .scene-body { gap: 1.75rem; }
  .metrics-inner { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 0; padding: 2.5rem 1.25rem; }
  .metric:nth-child(odd) { border-left: 0; }
  .voice-card { padding: 1.75rem 1.25rem; }
  .voice-quote { font-size: 1rem; }
  .voice-meta { flex-wrap: wrap; }
  .voice-meta em { margin-left: 0; }
  .price-grid { padding: 0 1.25rem; }
  .trial-inner { padding: 4rem 1.25rem; }
  .trial-form { padding: 1.75rem 1.25rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.25rem 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.25rem; padding: 1.25rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .voice-track { transition: none; }
  .float-a, .float-b, .float-c { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- visual polish ---------- */
:focus-visible { outline: 3px solid rgba(20, 200, 192, .8); outline-offset: 3px; }
.site-header { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,.08); }
.hero { isolation: isolate; }
.hero-frame { border-color: rgba(255,255,255,.2); box-shadow: 0 2.5rem 6rem rgba(3,7,18,.58); }
.hero-frame img { transform: scale(1.001); transition: transform .8s cubic-bezier(.2,.75,.25,1); }
.hero-visual:hover .hero-frame img { transform: scale(1.035); }
.hero-chip { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.bento-cell, .price-card, .voice-card { transition: transform .35s cubic-bezier(.2,.75,.25,1), box-shadow .35s, border-color .35s; }
.bento-cell:hover, .price-card:hover { transform: translateY(-.4rem); box-shadow: 0 1.5rem 3.5rem rgba(22,33,74,.14); }
.price-hot { box-shadow: 0 1.5rem 3.5rem rgba(59,91,253,.2); }
@media (max-width: 768px) {
  .hero-visual:hover .hero-frame img { transform: none; }
  .price-hot { transform: none; }
}
