/* CBD Medical — AI 医学模拟教育 科技风 */
:root {
  --void: #05070d;
  --void-2: #0a0f1a;
  --panel: #0d1422;
  --panel-2: #121a2b;
  --line: rgba(92, 225, 255, 0.14);
  --line-strong: rgba(92, 225, 255, 0.32);
  --text: #e8f4ff;
  --muted: #8aa0b8;
  --cyan: #5ce1ff;
  --mint: #00e5c0;
  --mint-dim: #00b894;
  --signal: #7cffb2;
  --danger: #ff6b6b;
  --glow-cyan: 0 0 28px rgba(92, 225, 255, 0.28);
  --glow-mint: 0 0 24px rgba(0, 229, 192, 0.22);
  --font-display: "Oxanium", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "IBM Plex Sans", sans-serif;
  --font-mono: "IBM Plex Mono", "Noto Sans SC", monospace;
  --max: 1180px;
  --nav-h: 72px;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--void);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(5, 7, 13, 0.03) 2px,
    rgba(5, 7, 13, 0.03) 4px
  );
  opacity: 0.35;
}

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

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

ul {
  list-style: none;
}

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

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.theme-light {
  background: rgba(5, 7, 13, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #061428;
  border: 1px solid var(--line-strong);
  box-shadow: var(--glow-cyan);
  padding: 0;
  clip-path: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  transform: scale(1.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  color: var(--text);
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-text span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--cyan);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
}

.nav-link.is-active::after,
.nav-link:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--mint), var(--cyan));
  box-shadow: var(--glow-cyan);
}

.nav-cta {
  padding: 0.55rem 1rem;
  border: 1px solid var(--line-strong);
  background: rgba(0, 229, 192, 0.08);
  color: var(--mint) !important;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  background: rgba(0, 229, 192, 0.16);
  box-shadow: var(--glow-mint);
}

.nav-cta::after {
  display: none !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--cyan);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.45rem;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.25s ease;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--mint-dim), #00c4d6);
  color: var(--void);
  box-shadow: var(--glow-mint);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: var(--glow-cyan);
}

.btn-outline,
.btn-dark {
  background: rgba(92, 225, 255, 0.06);
  color: var(--cyan);
  border-color: var(--line-strong);
}

.btn-outline:hover,
.btn-dark:hover {
  background: rgba(92, 225, 255, 0.12);
  box-shadow: var(--glow-cyan);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--void);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 75% 35%, rgba(0, 229, 192, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(92, 225, 255, 0.12), transparent 50%),
    linear-gradient(160deg, rgba(5, 7, 13, 0.72) 0%, rgba(5, 7, 13, 0.88) 48%, #05070d 100%),
    url("../assets/hero-ai-eval.png") center 20% / cover no-repeat;
  animation: heroPulse 18s ease-in-out infinite alternate;
}

@keyframes heroPulse {
  from { filter: saturate(1.05) brightness(0.95); transform: scale(1.02); }
  to { filter: saturate(1.2) brightness(1.05); transform: scale(1.06); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(92, 225, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 225, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent);
  pointer-events: none;
  animation: gridDrift 30s linear infinite;
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 56px 56px; }
}

.hero-neural {
  position: absolute;
  inset: 10% 5% 20% 40%;
  pointer-events: none;
  opacity: 0.45;
  background:
    radial-gradient(circle at 20% 30%, var(--cyan) 0 1.5px, transparent 2px),
    radial-gradient(circle at 55% 20%, var(--mint) 0 1.5px, transparent 2px),
    radial-gradient(circle at 70% 55%, var(--cyan) 0 1.5px, transparent 2px),
    radial-gradient(circle at 35% 70%, var(--mint) 0 1.5px, transparent 2px),
    radial-gradient(circle at 80% 35%, var(--signal) 0 1px, transparent 2px);
  background-size: 100% 100%;
}

.hero-neural::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 40%, rgba(92, 225, 255, 0.25) 40.5%, transparent 41%),
    linear-gradient(25deg, transparent 48%, rgba(0, 229, 192, 0.2) 48.5%, transparent 49%),
    linear-gradient(70deg, transparent 55%, rgba(92, 225, 255, 0.15) 55.5%, transparent 56%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 4rem) 0 5.5rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem;
  margin-bottom: 1.35rem;
  border: 1px solid var(--line-strong);
  background: rgba(0, 229, 192, 0.06);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
  opacity: 0;
  animation: riseIn 0.8s 0.05s ease forwards;
}

.hero-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  animation: blink 1.6s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.98;
  margin-bottom: 1.35rem;
  opacity: 0;
  animation: riseIn 0.9s 0.2s ease forwards;
}

.hero-brand em {
  font-style: normal;
  background: linear-gradient(100deg, var(--mint), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 36rem;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: var(--muted);
  margin-bottom: 2rem;
  opacity: 0;
  animation: riseIn 0.9s 0.4s ease forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  animation: riseIn 0.9s 0.55s ease forwards;
}

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

.hero-scroll {
  position: absolute;
  right: max(1.5rem, calc((100% - var(--max)) / 2));
  bottom: 2rem;
  z-index: 1;
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--muted);
  text-transform: uppercase;
}

/* —— Sections —— */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-tight {
  padding: 3.5rem 0;
}

.section-dark,
.section-mist {
  background: var(--void-2);
}

.section-mist {
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 42rem;
  margin-bottom: 3rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 0.85rem;
}

.section-head h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 0.9rem;
}

.section-head p,
.lede {
  color: var(--muted);
  font-size: 1.02rem;
}

/* —— Metrics HUD —— */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  position: relative;
}

.metrics::before,
.metrics::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--cyan);
  z-index: 1;
}

.metrics::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.metrics::after {
  right: -1px;
  bottom: -1px;
  border-left: 0;
  border-top: 0;
}

.metric {
  background: var(--panel);
  padding: 1.75rem 1.25rem;
  text-align: center;
}

.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 0.45rem;
  text-shadow: 0 0 20px rgba(92, 225, 255, 0.35);
}

.metric span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

/* —— Product features —— */
.product-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.75rem;
  align-items: center;
  margin-bottom: 4.5rem;
}

.product-feature:last-child {
  margin-bottom: 0;
}

.product-feature.reverse {
  direction: rtl;
}

.product-feature.reverse > * {
  direction: ltr;
}

.product-visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.product-visual::before {
  content: "AI SIM";
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: var(--mint);
  padding: 0.25rem 0.5rem;
  background: rgba(5, 7, 13, 0.75);
  border: 1px solid var(--line-strong);
}

.product-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  opacity: 0.78;
  filter: contrast(1.05) saturate(0.9);
  transition: transform 0.8s ease, opacity 0.4s;
  mix-blend-mode: luminosity;
}

.product-feature:hover .product-visual img {
  transform: scale(1.04);
  opacity: 0.92;
  mix-blend-mode: normal;
}

.product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(5, 7, 13, 0.85), transparent 45%),
    linear-gradient(90deg, rgba(0, 229, 192, 0.12), transparent 40%);
  pointer-events: none;
}

.product-copy .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.85rem;
}

.product-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 1.95rem);
  line-height: 1.25;
  margin-bottom: 0.9rem;
}

.product-copy p {
  color: var(--muted);
  margin-bottom: 1.35rem;
}

.feature-list {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}

.feature-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--text);
}

.feature-list li::before {
  content: "▸";
  color: var(--mint);
  flex-shrink: 0;
  margin-top: 0.05rem;
  font-family: var(--font-mono);
}

/* —— Product grid —— */
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2.5rem;
  position: sticky;
  top: calc(var(--nav-h) + 0.5rem);
  z-index: 20;
  padding: 0.65rem 0;
  background: color-mix(in srgb, var(--void) 88%, transparent);
  backdrop-filter: blur(12px);
}

.cat-pill {
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: 0.2s;
}

.cat-pill:hover,
.cat-pill.is-active {
  color: var(--void);
  background: linear-gradient(120deg, var(--mint), var(--cyan));
  border-color: transparent;
  box-shadow: var(--glow-mint);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.product-item {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  content-visibility: auto;
  contain-intrinsic-size: auto 200px;
  position: relative;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

a.product-item {
  cursor: pointer;
}

a.product-item:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), var(--glow-cyan);
}

a.product-item:hover::before {
  opacity: 1;
}

a.product-item:hover .thumb img {
  transform: scale(1.04);
}

.product-item .thumb {
  aspect-ratio: 16 / 10;
  background: #070b14;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.product-item .thumb.thumb-placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 229, 192, 0.2), transparent 50%),
    linear-gradient(145deg, #0a1220, #121a2b);
}

.product-item .thumb.thumb-placeholder::after {
  content: "CHBD";
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: rgba(92, 225, 255, 0.45);
}

.product-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
  transition: transform 0.5s ease;
}

.product-item .thumb img[src*="assets/products/p0"],
.product-item .thumb img[src*="assets/products/p1"] {
  object-fit: cover;
  object-position: center top;
  background: #070b14;
}

.product-item .body {
  padding: 1.2rem 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.product-item .cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 0.7rem;
}

.product-item h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.35;
  margin-bottom: 0.7rem;
}

.product-item p {
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}

.product-item .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.15rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
}

/* —— Product detail —— */
.detail-back {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--mint);
  margin-bottom: 1rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.detail-media {
  border: 1px solid var(--line);
  background: #0a1018;
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.detail-media img {
  width: 100%;
  height: 100%;
  max-height: 640px;
  object-fit: contain;
  background: #fff;
}

.detail-media.is-poster img {
  object-fit: cover;
  object-position: center top;
  background: #070b14;
  min-height: 420px;
}

.detail-media-empty {
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.5rem;
}

.detail-tags span {
  border: 1px solid var(--line);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.7rem;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 960px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
}

.category-block {
  margin-bottom: 4rem;
  scroll-margin-top: calc(var(--nav-h) + 4.5rem);
}

.category-block h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin-bottom: 0.45rem;
}

.category-block > p {
  color: var(--muted);
  margin-bottom: 1.6rem;
  max-width: 40rem;
}

.products-cta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem;
  background: var(--panel);
  border: 1px solid var(--line);
}

.products-cta h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

.products-cta p {
  color: var(--muted);
}

/* —— Why —— */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.why-item {
  padding: 1.75rem 1.4rem;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(0, 229, 192, 0.06), transparent 55%);
}

.why-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0.75rem 0 0.55rem;
}

.why-item p {
  color: var(--muted);
  font-size: 0.93rem;
}

.why-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

/* —— CTA —— */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 85% 50%, rgba(0, 229, 192, 0.2), transparent),
    linear-gradient(120deg, #070b14, #0c1624 50%, #071820);
  border-block: 1px solid var(--line);
  color: var(--text);
  padding: 4.5rem 0;
}

.cta-band .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  max-width: 24rem;
  line-height: 1.2;
}

.cta-band p {
  margin-top: 0.7rem;
  color: var(--muted);
  max-width: 28rem;
}

/* —— Page hero —— */
.page-hero {
  padding: calc(var(--nav-h) + 3.75rem) 0 3.25rem;
  background:
    radial-gradient(ellipse 50% 60% at 90% 20%, rgba(0, 229, 192, 0.15), transparent),
    linear-gradient(165deg, #05070d, #0a1220 70%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(92, 225, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 225, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.page-hero .container {
  position: relative;
}

.page-hero p {
  color: var(--muted);
  max-width: 38rem;
  font-size: 1.02rem;
}

/* —— About / Service / Contact —— */
.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-layout h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 1.15rem;
  line-height: 1.2;
}

.about-layout p + p {
  margin-top: 1rem;
}

.about-layout p {
  color: var(--muted);
}

.about-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 2.25rem 1.75rem;
  position: relative;
}

.about-panel::before {
  content: "SYSTEM.CORE";
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
  opacity: 0.7;
}

.about-panel h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 1.15rem;
}

.promise-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.5rem;
}

.promise-list li:last-child {
  border-bottom: 0;
}

.promise-list span {
  font-family: var(--font-mono);
  color: var(--mint);
  font-weight: 600;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.service-card,
.contact-block,
.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.75rem 1.45rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.service-cta-row {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

.service-hotline {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.75rem;
}

.service-hotline .label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 0.45rem;
}

.service-hotline a.phone {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--cyan);
}

.contact-info {
  display: grid;
  gap: 1rem;
}

.contact-block h3 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 0.45rem;
}

.contact-block p,
.contact-block a {
  font-size: 1.02rem;
  font-weight: 500;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--void);
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(92, 225, 255, 0.12);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

/* —— Footer —— */
.site-footer {
  background: #03050a;
  color: var(--muted);
  padding: 3.75rem 0 1.75rem;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--line);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  color: var(--text);
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 20rem;
}

.footer-col h4 {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* —— AI stack strip —— */
.ai-stack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.ai-stack-item {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 1.25rem 1rem;
  text-align: center;
}

.ai-stack-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: var(--cyan);
}

.ai-stack-item span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* —— Mobile —— */
@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(3, 5, 10, 0.97);
    flex-direction: column;
    justify-content: center;
    gap: 1.35rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  .nav-links.is-open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .metrics,
  .product-grid,
  .why-grid,
  .footer-top,
  .service-grid,
  .about-layout,
  .contact-layout,
  .form-row,
  .ai-stack,
  .service-cta-row,
  .product-feature,
  .product-feature.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .product-visual,
  .product-visual img {
    min-height: 240px;
  }
}

@media (max-width: 640px) {
  .metrics,
  .ai-stack {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions,
  .cta-band .container {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
