/* ============================================================
   无界指纹浏览器 · 官网视觉系统 v9
   参考现代 SaaS 官网的层级与密度：蓝色主色、大留白、卡片化
   说明：本文件在 styles-unb8.css 之后加载，只做覆盖与增量，
        旧页面未改造的区块仍保持可用。
   ============================================================ */

:root {
  --accent: #2d5aff;
  --accent-2: #4a6cf7;
  --accent-3: #7c5cff;
  --accent-hover: #1f47e0;
  --accent-soft: rgba(45, 90, 255, 0.1);
  --accent-soft-2: rgba(45, 90, 255, 0.06);
  --bg: #ffffff;
  --bg-alt: #f5f7fd;
  --bg-card: #ffffff;
  --text: #0b1220;
  --text-dim: #5b6577;
  --text-faint: #8b94a7;
  --border: #e8ecf5;
  --border-strong: #d9e0ef;
  --success: #12b76a;
  --danger: #f04438;
  --warning: #f79009;
  --radius-card: 18px;
  --radius-window: 16px;
  --shadow-card: 0 12px 32px rgba(17, 38, 74, 0.07);
  --shadow-card-hover: 0 20px 48px rgba(17, 38, 74, 0.12);
  --shadow-accent: 0 10px 24px rgba(45, 90, 255, 0.28);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro SC",
    "PingFang SC", "Segoe UI", "Microsoft YaHei", "Helvetica Neue", Arial,
    sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  letter-spacing: 0.1px;
}

.container {
  width: min(1240px, 100% - 48px);
}

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 80px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px rgba(17, 38, 74, 0.06);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
}

.nav-brand img.nav-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.nav-brand-text strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.nav-brand-text em {
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links > a,
.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: #344054;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-links > a:hover,
.nav-item:hover > a {
  color: var(--accent);
  background: var(--accent-soft-2);
}

.nav-item {
  position: relative;
}

.nav-item > a::after {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.55;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 6px);
  min-width: 216px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(17, 38, 74, 0.14);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 14px;
  color: #344054;
}

.nav-dropdown a:hover {
  background: var(--accent-soft-2);
  color: var(--accent);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-lang {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  padding: 6px 8px;
  border-radius: 8px;
}

.nav-lang:hover {
  color: var(--accent);
  background: var(--accent-soft-2);
}

/* ---------------- 按钮 ---------------- */
.btn {
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, #3d5ce8 100%);
  transform: translateY(-1px);
}

.btn-ghost {
  background: #fff;
  border: 1px solid var(--border-strong);
  color: #1d2939;
}

.btn-ghost:hover {
  border-color: #b9c6e4;
  background: #f8faff;
}

.btn-lg {
  padding: 15px 26px;
  font-size: 15.5px;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: 88px 0 72px;
  background:
    radial-gradient(1000px 520px at 88% -12%, #e4ecff 0%, rgba(228, 236, 255, 0) 62%),
    radial-gradient(760px 420px at 6% 8%, #f0f5ff 0%, rgba(240, 245, 255, 0) 58%),
    #fff;
  overflow: hidden;
}

.hero-glow {
  display: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(17, 38, 74, 0.05);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(18, 183, 106, 0.12);
}

.hero-title {
  margin-top: 22px;
  font-size: clamp(44px, 5.4vw, 68px);
  line-height: 1.06;
  letter-spacing: -2.4px;
  font-weight: 800;
  color: #0b1220;
}

.hero-title .grad {
  background: linear-gradient(115deg, var(--accent) 10%, var(--accent-3) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 22px;
  max-width: 540px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-dim);
}

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

.hero-meta {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-faint);
}

.hero-metrics {
  display: flex;
  gap: 38px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.hero-metrics strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #0b1220;
}

.hero-metrics span {
  font-size: 13px;
  color: var(--text-faint);
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.window-frame {
  border-radius: var(--radius-window);
  border: 1px solid #e3eafb;
  box-shadow: 0 32px 80px rgba(17, 38, 74, 0.2);
  overflow: hidden;
  background: #fff;
}

.window-frame img {
  width: 100%;
}

.window-bar {
  background: #f7f9fd;
  border-bottom: 1px solid var(--border);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: 13px;
  box-shadow: 0 16px 36px rgba(17, 38, 74, 0.12);
  font-size: 13px;
  font-weight: 600;
  color: #1d2939;
  backdrop-filter: blur(8px);
}

.float-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-style: normal;
  font-size: 13px;
}

.float-card--a {
  top: -18px;
  left: -22px;
}

.float-card--b {
  right: -18px;
  top: 38%;
}

.float-card--c {
  left: 8%;
  bottom: -18px;
}

.float-card em {
  font-style: normal;
  color: var(--success);
}

/* ---------------- 信任条 ---------------- */
.trust {
  padding: 26px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0.4px;
}

.trust-items {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.trust-item {
  font-size: 15px;
  font-weight: 700;
  color: #344054;
  opacity: 0.78;
}

/* ---------------- 区块骨架 ---------------- */
.section {
  padding: 92px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: linear-gradient(120deg, #101f45 0%, #1c3578 100%);
  color: #fff;
}

.section-head {
  max-width: 720px;
  margin-bottom: 52px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.section-title {
  margin-top: 16px;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.16;
  letter-spacing: -1.4px;
  font-weight: 800;
}

.section-sub {
  margin-top: 14px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-dim);
}

.section-dark .section-title,
.section-dark .section-sub {
  color: #fff;
}

.section-dark .section-sub {
  color: rgba(255, 255, 255, 0.72);
}

/* ---------------- 风险卡片 ---------------- */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.risk-card {
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.risk-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fef3f2;
  color: var(--danger);
  margin-bottom: 18px;
}

.risk-card h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.risk-card p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--text-dim);
}

.risk-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  color: #b42318;
  background: #fef3f2;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------------- 能力 Bento ---------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.bento-card {
  grid-column: span 2;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.bento-card--wide {
  grid-column: span 3;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.bento-card--half {
  grid-column: span 3;
}

.bento-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 16px;
}

.bento-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.bento-card p {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-dim);
}

.bento-card--wide .bento-body {
  padding: 28px 28px 8px;
}

.bento-card--wide .bento-shot {
  margin-top: auto;
  padding: 0 20px 0;
  background: linear-gradient(180deg, rgba(245, 248, 255, 0) 0%, #eef3ff 100%);
}

.bento-card--wide .bento-shot img {
  border-radius: 12px 12px 0 0;
  border: 1px solid var(--border);
  border-bottom: 0;
  box-shadow: 0 18px 40px rgba(17, 38, 74, 0.12);
}

.bento-list {
  margin-top: 14px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: #344054;
}

.bento-list span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bento-list span::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(18, 183, 106, 0.12);
  color: var(--success);
  font-size: 11px;
  font-weight: 700;
}

/* ---------------- 场景 ---------------- */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.scene-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scene-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.scene-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #dfe9ff, #eef3ff);
}

.scene-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.scene-card:hover .scene-media img {
  transform: scale(1.04);
}

.scene-body {
  padding: 22px;
}

.scene-body h3 {
  font-size: 17px;
  font-weight: 700;
}

.scene-body p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.68;
  color: var(--text-dim);
}

.scene-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
}

/* ---------------- 数字条 ---------------- */
.metrics-band {
  padding: 64px 0;
  background: linear-gradient(120deg, #101f45 0%, #1c3578 100%);
  color: #fff;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.metrics-grid strong {
  display: block;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -1.4px;
  background: linear-gradient(120deg, #fff, #b9c9ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metrics-grid span {
  margin-top: 6px;
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
}

/* ---------------- 安全 ---------------- */
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

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

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.65;
  color: #344054;
}

.check-list li::before {
  content: "";
  flex: 0 0 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(45, 90, 255, 0.12)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d5aff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}

.security-visual {
  position: relative;
}

.security-visual .window-frame {
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}

.security-badge {
  position: absolute;
  right: -14px;
  bottom: 22px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(17, 38, 74, 0.14);
  font-size: 13px;
  font-weight: 600;
}

/* ---------------- 模块墙 ---------------- */
.module-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.module-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: #1d2939;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.module-chip span {
  color: var(--text-faint);
  font-weight: 500;
  font-size: 12px;
}

.module-chip:hover {
  border-color: #bcd0ff;
  color: var(--accent);
  transform: translateY(-2px);
}

.module-more {
  margin-top: 28px;
  text-align: center;
}

/* ---------------- 资源卡 ---------------- */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.resource-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.resource-kicker {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.3px;
}

.resource-card h3 {
  margin-top: 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.resource-card p {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-dim);
  flex: 1;
}

.resource-card .scene-link {
  margin-top: 18px;
}

/* ---------------- FAQ ---------------- */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin-inline: auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 24px;
  box-shadow: 0 4px 14px rgba(17, 38, 74, 0.04);
}

.faq-item summary {
  padding: 20px 0;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--text-faint);
  transition: transform 0.2s ease;
}

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

.faq-body {
  padding: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-dim);
}

/* ---------------- CTA ---------------- */
.cta-section {
  padding: 0 0 92px;
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: 64px 48px;
  border-radius: 26px;
  background: linear-gradient(120deg, #2d5aff 0%, #4a6cf7 52%, #7c5cff 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 28px 64px rgba(45, 90, 255, 0.32);
}

.cta-card::before,
.cta-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.cta-card::before {
  width: 320px;
  height: 320px;
  top: -140px;
  right: -80px;
}

.cta-card::after {
  width: 240px;
  height: 240px;
  bottom: -120px;
  left: -60px;
}

.cta-card h2 {
  position: relative;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
}

.cta-card p {
  position: relative;
  margin-top: 12px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
}

.cta-actions {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.cta-card .btn-primary {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 12px 28px rgba(11, 18, 32, 0.18);
}

.cta-card .btn-primary:hover {
  background: #f4f7ff;
}

.cta-card .btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.cta-card .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ---------------- 页脚 ---------------- */
.site-footer {
  padding: 64px 0 28px;
  background: #f7f9fd;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
}

.footer-brand-block img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.footer-brand-block strong {
  display: block;
  margin-top: 14px;
  font-size: 16px;
  font-weight: 700;
}

.footer-brand-block p {
  margin-top: 8px;
  max-width: 280px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: #344054;
  letter-spacing: 0.3px;
}

.footer-col nav {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-dim);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.footer-legal p {
  font-size: 13px;
  color: var(--text-faint);
}

.footer-disclaimer {
  margin-top: 4px;
  max-width: 620px;
  line-height: 1.6;
}

.footer-maker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    min-height: 0;
    max-width: 720px;
  }

  .float-card--b {
    right: 0;
  }

  .bento-card,
  .bento-card--half {
    grid-column: span 3;
  }

  .bento-card--wide {
    grid-column: span 6;
    grid-row: auto;
  }

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

  .module-wall {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .risk-grid,
  .resource-grid,
  .security-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .security-grid {
    gap: 36px;
  }

  .security-visual .window-frame {
    transform: none;
  }

  .hero-metrics {
    gap: 24px;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(1240px, 100% - 36px);
  }

  .hero {
    padding: 56px 0 48px;
  }

  .hero-title {
    letter-spacing: -1.4px;
  }

  .hero-metrics {
    flex-wrap: wrap;
    gap: 18px 28px;
  }

  .float-card--a,
  .float-card--c {
    display: none;
  }

  .bento-card,
  .bento-card--half,
  .bento-card--wide {
    grid-column: span 6;
  }

  .scene-grid,
  .module-wall {
    grid-template-columns: 1fr;
  }

  .module-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-card {
    padding: 44px 24px;
  }

  .site-footer {
    padding-top: 48px;
  }

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