/* ============================================================
   CAD图纸翻译神器 — 黑绿工程图纸风格
   ============================================================ */

:root {
  --bg: #060807;
  --bg-alt: #0a0d0b;
  --panel: #0c100d;
  --green: #23e69c;
  --green-strong: #2bffb0;
  --green-dim: rgba(35, 230, 156, .12);
  --line: rgba(35, 230, 156, .16);
  --line-soft: rgba(35, 230, 156, .08);
  --text: #eef2ef;
  --muted: #8d9890;
  --radius: 18px;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Courier New", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--green); color: #04140c; }

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

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- 全局网格背景 ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--line-soft) 1px, transparent 1px) 0 0 / 100% 96px,
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px) 0 0 / 96px 100%;
}

main, .site-footer, .site-header { position: relative; z-index: 1; }

/* ---------- 页面外框（仿参考图） ---------- */
body::after {
  content: "";
  position: fixed;
  inset: 14px;
  z-index: 60;
  pointer-events: none;
  border: 1.5px solid rgba(35, 230, 156, .55);
  border-radius: 42px;
}

.frame-corner {
  position: fixed;
  z-index: 61;
  width: 14px;
  height: 14px;
  background: var(--green);
  pointer-events: none;
}
.frame-corner.tl { top: 14px; left: 14px; }
.frame-corner.tr { top: 14px; right: 14px; }
.frame-corner.bl { bottom: 14px; left: 14px; }
.frame-corner.br { bottom: 14px; right: 14px; }

/* ---------- 通用元素 ---------- */
.mono-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .28em;
  color: var(--muted);
  text-transform: uppercase;
}

.t-green { color: var(--green); }
.t-white { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-solid {
  background: var(--green);
  color: #04140c;
  border: 1.5px solid var(--green);
}
.btn-solid:hover {
  background: var(--green-strong);
  border-color: var(--green-strong);
  box-shadow: 0 0 32px rgba(35, 230, 156, .45);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(238, 242, 239, .28);
}
.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 16px 34px; font-size: 17px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6, 8, 7, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: inline-flex; align-items: baseline; gap: 8px; font-weight: 800; }
.logo-mark {
  color: var(--green);
  font-size: 22px;
  letter-spacing: .04em;
}
.logo-text { font-size: 18px; color: #fff; letter-spacing: .06em; }

.nav { display: flex; gap: 34px; }
.nav a {
  font-size: 14.5px;
  color: var(--muted);
  transition: color .2s ease;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: var(--green);
  transition: width .25s ease;
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  overflow: hidden;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(35, 230, 156, .06) 1px, transparent 1px) 0 0 / 100% 120px,
    linear-gradient(90deg, rgba(35, 230, 156, .06) 1px, transparent 1px) 0 0 / 120px 100%;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 100%);
}
.hero-inner {
  position: relative;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
}
.hero-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.hero-badge {
  display: inline-block;
  background: var(--green);
  color: #04140c;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .12em;
  padding: 10px 30px;
  border-radius: 999px;
  margin-bottom: 34px;
  box-shadow: 0 0 40px rgba(35, 230, 156, .35);
}
.hero-title {
  font-size: clamp(52px, 9.5vw, 128px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .02em;
  text-shadow: 0 0 60px rgba(35, 230, 156, .18);
}
.hero-sub {
  margin-top: 30px;
  font-size: clamp(16px, 2.4vw, 22px);
  letter-spacing: .3em;
  color: var(--text);
}
.hero-sub i { color: var(--green); font-style: normal; }
.hero-desc {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: .1em;
}
.hero-price {
  margin-top: 44px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
}
.price-label { color: var(--muted); font-size: clamp(14px, 1.8vw, 18px); letter-spacing: .12em; }
.price-num {
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  text-shadow: 0 0 40px rgba(35, 230, 156, .4);
}
.price-unit { color: var(--green); font-size: clamp(16px, 2vw, 22px); font-weight: 700; }
.hero-cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.sys-note {
  display: block;
  margin-top: 24px;
  letter-spacing: .2em;
  text-transform: none;
}
.sys-note::before {
  content: "▣ ";
  color: var(--green);
}
.hero-stats {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 30px 16px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
}
.stat-num em {
  font-style: normal;
  font-size: .45em;
  color: var(--green);
  margin-left: 4px;
  font-weight: 700;
}
.stat-label {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .12em;
}

/* ---------- 跑马灯 ---------- */
.marquee-wrap {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  overflow: hidden;
  padding: 18px 0;
}
.marquee { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee-wrap:hover .marquee { animation-play-state: paused; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 38px;
  padding-right: 38px;
}
.marquee-track span {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--muted);
  white-space: nowrap;
}
.marquee-track i {
  font-style: normal;
  color: var(--green);
  font-size: 10px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- 通用区块 ---------- */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.sec-head { max-width: 780px; margin-bottom: 64px; }
.sec-index {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--green);
  margin-bottom: 16px;
}
.sec-title {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .02em;
}
.sec-desc { margin-top: 16px; color: var(--muted); font-size: 16px; }

/* ---------- 流程卡片 ---------- */
.steps {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.step-card {
  flex: 1;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(35, 230, 156, .5);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5), 0 0 30px rgba(35, 230, 156, .08);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--green);
  margin-bottom: 22px;
}
.step-icon {
  width: 64px; height: 64px;
  color: var(--green);
  margin-bottom: 22px;
}
.step-icon svg { width: 100%; height: 100%; }
.step-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 12px; }
.step-card p { color: var(--muted); font-size: 14.5px; }
.step-arrow {
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: var(--green);
  font-size: 26px;
  font-weight: 300;
}

/* ---------- 质量卡片 ---------- */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.q-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px;
  transition: transform .25s ease, border-color .25s ease;
}
.q-card:hover { transform: translateY(-6px); border-color: rgba(35, 230, 156, .5); }
.q-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--green);
  border: 1px solid rgba(35, 230, 156, .4);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 22px;
}
.q-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.q-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- 软件实操截图 ---------- */
.app-shot {
  margin-top: 56px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.app-shot:hover {
  border-color: rgba(35, 230, 156, .5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 40px rgba(35, 230, 156, .08);
}
.app-shot-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}
.app-shot-chrome .dot {
  flex: none;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(238, 242, 239, .14);
}
.app-shot-chrome .dot:first-child { background: rgba(35, 230, 156, .65); }
.app-shot-title {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-shot img { display: block; width: 100%; height: auto; }

/* ---------- 效果对比 ---------- */
.compare-list {
  display: grid;
  gap: 30px;
}
.compare-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.compare-card:hover {
  border-color: rgba(35, 230, 156, .5);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5), 0 0 30px rgba(35, 230, 156, .08);
}
.compare-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
.compare-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.tag-before {
  border: 1px solid rgba(238, 242, 239, .3);
  color: var(--muted);
}
.tag-after {
  border: 1px solid rgba(35, 230, 156, .5);
  color: var(--green);
}
.compare-arrow { color: var(--green); font-weight: 700; }
.compare-name {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .1em;
}
.compare-card img {
  display: block;
  width: 100%;
  height: auto;
}
.compare-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.compare-pair picture:first-child { border-right: 1px solid var(--line); }
.compare-pair picture { background: #000; }
@media (max-width: 760px) {
  .compare-pair { grid-template-columns: 1fr; }
  .compare-pair picture:first-child {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
}

/* ---------- 技术网格 ---------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.tech-item {
  background: var(--bg);
  padding: 34px 30px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: background .25s ease;
}
.tech-item:hover { background: var(--panel); }
.tech-icon {
  flex: none;
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(35, 230, 156, .4);
  border-radius: 12px;
  color: var(--green);
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-mono);
}
.tech-item h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.tech-item p { color: var(--muted); font-size: 14px; }

/* ---------- 兼容芯片 ---------- */
.compat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.compat-chip {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  background: var(--panel);
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.compat-chip:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-3px);
}
.chip-more {
  border-style: dashed;
  color: var(--muted);
  font-weight: 400;
}

/* ---------- 省钱 ---------- */
.save-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.save-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px;
  transition: transform .25s ease, border-color .25s ease;
}
.save-card:hover { transform: translateY(-6px); border-color: rgba(35, 230, 156, .5); }
.save-no {
  font-size: 34px;
  color: var(--green);
  font-weight: 900;
  margin-bottom: 16px;
}
.save-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.save-card p { color: var(--muted); font-size: 14.5px; }

.save-banner {
  margin-top: 48px;
  border: 1px solid rgba(35, 230, 156, .4);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(35, 230, 156, .1), rgba(35, 230, 156, .02) 60%);
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.save-big { font-size: clamp(18px, 2.4vw, 24px); font-weight: 800; margin-top: 12px; }
.save-big-num { font-size: clamp(18px, 2.4vw, 24px); font-weight: 800; }
.save-big-num em {
  font-style: normal;
  color: var(--green);
  font-size: 1.35em;
  margin-left: 8px;
  text-shadow: 0 0 30px rgba(35, 230, 156, .4);
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
}
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .25s ease;
}
.faq-item[open] { border-color: rgba(35, 230, 156, .5); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  font-weight: 700;
  font-size: 16.5px;
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green); }
.faq-icon {
  flex: none;
  position: relative;
  width: 22px; height: 22px;
  border: 1px solid rgba(35, 230, 156, .5);
  border-radius: 50%;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--green);
  transition: transform .25s ease;
}
.faq-icon::before { width: 10px; height: 2px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 2px; height: 10px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-body {
  margin: 0 26px;
  padding: 16px 0 24px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- CTA ---------- */
.cta-section { padding-bottom: 140px; }
.cta-box {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(35, 230, 156, .45);
  border-radius: 28px;
  background: var(--bg-alt);
  text-align: center;
  padding: 90px 40px;
}
.cta-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(35, 230, 156, .07) 1px, transparent 1px) 0 0 / 100% 72px,
    linear-gradient(90deg, rgba(35, 230, 156, .07) 1px, transparent 1px) 0 0 / 72px 100%;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000 20%, transparent 100%);
}
.cta-tag { position: relative; display: block; margin-bottom: 24px; color: var(--green); }
.cta-title {
  position: relative;
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.25;
}
.cta-desc { position: relative; margin-top: 18px; color: var(--muted); }
.cta-actions {
  position: relative;
  margin-top: 42px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding: 64px 0 48px;
  flex-wrap: wrap;
}
.footer-brand p { margin-top: 14px; color: var(--muted); font-size: 14px; max-width: 340px; }
.footer-links { display: flex; gap: 72px; }
.footer-col h4 {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: .1em;
}
.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding: 22px 0;
  color: var(--muted);
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: .06em;
}
.footer-bottom a {
  color: var(--muted);
  transition: color .2s ease;
}
.footer-bottom a:hover { color: var(--green); }

/* ---------- 悬浮下载 ---------- */
.float-dl {
  position: fixed;
  right: 34px;
  bottom: 44px;
  z-index: 55;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: #04140c;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(35, 230, 156, .45);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: pulse 2.6s ease-in-out infinite;
}
.float-dl:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 12px 40px rgba(35, 230, 156, .6); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(35, 230, 156, .45); }
  50% { box-shadow: 0 8px 44px rgba(35, 230, 156, .7); }
}

/* ---------- 滚动出现动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .steps { flex-direction: column; gap: 18px; }
  .step-arrow { justify-content: center; padding: 4px 0; transform: rotate(90deg); }
  .quality-grid, .save-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .compat-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  body::after { inset: 8px; border-radius: 26px; }
  .frame-corner { width: 10px; height: 10px; }
  .frame-corner.tl { top: 8px; left: 8px; }
  .frame-corner.tr { top: 8px; right: 8px; }
  .frame-corner.bl { bottom: 8px; left: 8px; }
  .frame-corner.br { bottom: 8px; right: 8px; }

  .nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }
  .site-header.mobile-open .nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(6, 8, 7, .97);
    border-bottom: 1px solid var(--line);
    padding: 12px 32px 20px;
  }
  .site-header.mobile-open .nav a { padding: 13px 0; font-size: 16px; }
  .site-header.mobile-open .header-actions {
    display: flex;
    position: absolute;
    top: calc(72px + 288px); left: 0; right: 0;
    background: rgba(6, 8, 7, .97);
    padding: 0 32px 22px;
    border-bottom: 1px solid var(--line);
  }

  .hero { padding: 120px 0 70px; }
  .hero-scale { display: none; }
  .hero-sub { letter-spacing: .18em; }
  .section { padding: 80px 0; }
  .tech-grid { grid-template-columns: 1fr; }
  .compat-grid { grid-template-columns: repeat(2, 1fr); }
  .save-banner { padding: 30px 26px; }
  .cta-box { padding: 64px 24px; }
  .footer-inner { flex-direction: column; }
  .footer-links { gap: 48px; }
  .float-dl { right: 24px; bottom: 30px; width: 50px; height: 50px; }
}

@media (max-width: 420px) {
  .compat-grid { grid-template-columns: 1fr; }
  .btn-lg { padding: 14px 26px; font-size: 15px; }
}
