:root {
  --bg: #060d1a;
  --bg-2: #0a1628;
  --bg-3: #0e1f38;
  --surface: #101f36;
  --surface-2: #16294a;
  --border: rgba(56, 189, 248, 0.16);
  --border-soft: rgba(148, 163, 184, 0.16);
  --primary: #38bdf8;
  --primary-strong: #0ea5e9;
  --accent: #22d3ee;
  --accent-2: #a78bfa;
  --gradient: linear-gradient(120deg, #38bdf8 0%, #22d3ee 55%, #a78bfa 100%);
  --text: #e6f1ff;
  --text-muted: #9db4d1;
  --text-dim: #6b82a3;
  --ok: #34d399;
  --warn: #fbbf24;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 50px -18px rgba(2, 12, 27, 0.9);
  --glow: 0 0 0 1px rgba(56, 189, 248, 0.28), 0 20px 60px -20px rgba(34, 211, 238, 0.35);
  --nav-h: 72px;
  --font: "Segoe UI", "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

a { color: var(--primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent); }

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

ul { list-style: none; }

.container { width: min(1180px, 92%); margin: 0 auto; }

section { position: relative; padding: 92px 0; }

.bg-grid {
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.22; font-weight: 700; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.section-sub { color: var(--text-muted); max-width: 720px; font-size: 1.05rem; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: var(--gradient);
  color: #04222e;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px rgba(34, 211, 238, 0.55);
  color: #04222e;
}
.btn-ghost {
  background: rgba(56, 189, 248, 0.06);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--primary);
  background: rgba(56, 189, 248, 0.12);
  transform: translateY(-2px);
  color: var(--text);
}
.btn-sm { padding: 9px 18px; font-size: 0.87rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(6, 13, 26, 0.82);
  border-bottom: 1px solid var(--border-soft);
}
.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px -8px rgba(34, 211, 238, 0.6);
}
.brand-mark svg { width: 22px; height: 22px; color: #04222e; }
.brand-name { font-weight: 800; font-size: 1.22rem; letter-spacing: -0.01em; }
.brand-name span { color: var(--accent); }
.brand-tag { display: block; font-size: 0.62rem; color: var(--text-dim); letter-spacing: 0.28em; text-transform: uppercase; margin-top: 1px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 9px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(56, 189, 248, 0.08); }
.nav-links a.active { color: var(--accent); background: rgba(56, 189, 248, 0.1); }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid var(--border);
  cursor: pointer;
  place-items: center;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--text); }

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(6, 13, 26, 0.98);
    border-bottom: 1px solid var(--border-soft);
    padding: 18px 6%;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 13px 14px; font-size: 1rem; }
  .nav-cta { margin: 10px 0 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 90px 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 78% 18%, rgba(34, 211, 238, 0.16), transparent 60%),
    radial-gradient(800px 520px at 12% 88%, rgba(167, 139, 250, 0.12), transparent 60%),
    radial-gradient(600px 400px at 45% 45%, rgba(14, 165, 233, 0.1), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  margin-bottom: 20px;
}
.hero p { color: var(--text-muted); font-size: 1.1rem; max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 42px; }
.hero-meta .stat-label { font-size: 0.78rem; color: var(--text-dim); letter-spacing: 0.06em; }
.hero-meta .stat-num { font-size: 1.15rem; font-weight: 700; color: var(--accent); }

.hero-visual { position: relative; }
.fiber-wrap {
  position: relative;
  aspect-ratio: 1 / 0.86;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(400px 300px at 30% 20%, rgba(56, 189, 248, 0.18), transparent 60%),
    radial-gradient(360px 300px at 75% 80%, rgba(167, 139, 250, 0.14), transparent 60%),
    var(--bg-2);
}
.fiber-lines { position: absolute; inset: 0; }
.fiber-lines span {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
  opacity: 0.9;
  border-radius: 2px;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.8));
  animation: streak 7s linear infinite;
}
.fiber-lines span:nth-child(1) { top: 18%; left: -20%; width: 55%; animation-delay: 0s; }
.fiber-lines span:nth-child(2) { top: 34%; left: -30%; width: 62%; animation-delay: 1.4s; opacity: 0.7; }
.fiber-lines span:nth-child(3) { top: 52%; left: -15%; width: 48%; animation-delay: 2.6s; }
.fiber-lines span:nth-child(4) { top: 68%; left: -25%; width: 58%; animation-delay: 0.8s; opacity: 0.75; }
.fiber-lines span:nth-child(5) { top: 84%; left: -35%; width: 66%; animation-delay: 3.4s; }
@keyframes streak {
  0% { transform: translateX(0); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateX(240%); opacity: 0; }
}
.fiber-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 34%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(34, 211, 238, 0.95), rgba(14, 165, 233, 0.55) 45%, rgba(6, 13, 26, 0.15) 75%);
  box-shadow: 0 0 80px rgba(34, 211, 238, 0.45);
  display: grid;
  place-items: center;
}
.fiber-core svg { width: 42%; height: 42%; color: #04222e; }
.fiber-badge {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  width: 86%;
  padding: 13px 18px;
  border-radius: 12px;
  background: rgba(8, 18, 36, 0.85);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.fiber-badge b { color: var(--accent); font-weight: 700; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-2);
  overflow: hidden;
  padding: 16px 0;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: scroll-x 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.marquee-track span::before { content: "◆"; color: var(--primary); font-size: 0.55rem; }
@keyframes scroll-x {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Stats band ---------- */
.stats-band { padding: 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.stat-card {
  padding: 34px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.stat-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.stat-card .num {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}
.stat-card .lbl { color: var(--text-muted); font-size: 0.92rem; margin-top: 8px; }
@media (max-width: 860px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats-grid { grid-template-columns: 1fr; } }

/* ---------- Section headers ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-head .section-sub { margin: 0; }

/* ---------- Product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--glow);
}
.card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.card:hover::after { opacity: 1; }
.card .icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--border);
  margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; color: var(--accent); }
.card h3 { font-size: 1.14rem; margin-bottom: 8px; }
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--accent); }
.card .desc { color: var(--text-muted); font-size: 0.93rem; flex: 1; margin-bottom: 16px; }
.card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.card .meta span {
  font-size: 0.74rem;
  color: var(--accent);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}
.card .more svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.card:hover .more svg { transform: translateX(4px); }

@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Feature list ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: rgba(16, 31, 54, 0.55);
  display: flex;
  gap: 16px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.feature:hover { border-color: var(--primary); transform: translateY(-4px); }
.feature .ficon { flex: 0 0 auto; }
.feature .ficon svg { width: 26px; height: 26px; color: var(--accent); }
.feature h4 { font-size: 1.02rem; margin-bottom: 6px; }
.feature p { color: var(--text-muted); font-size: 0.9rem; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split .section-sub { margin: 0; }
.split-visual {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(360px 260px at 30% 25%, rgba(56, 189, 248, 0.16), transparent 60%),
    radial-gradient(320px 260px at 75% 80%, rgba(167, 139, 250, 0.14), transparent 60%),
    var(--bg-2);
  padding: 36px;
  min-height: 320px;
  display: grid;
  place-content: center;
  position: relative;
  overflow: hidden;
}
.split-visual .ring {
  width: 190px; height: 190px;
  border-radius: 50%;
  border: 2px dashed rgba(56, 189, 248, 0.35);
  display: grid;
  place-items: center;
  animation: spin 30s linear infinite;
}
.split-visual .ring::after {
  content: "";
  width: 118px; height: 118px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.9), rgba(14, 165, 233, 0.25) 60%, transparent 75%);
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.5);
}
@keyframes spin { to { transform: rotate(360deg); } }

.checks { margin-top: 26px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-muted); font-size: 0.98rem; }
.checks svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--ok); margin-top: 2px; }

@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 18px; right: 22px;
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(56, 189, 248, 0.14);
  line-height: 1;
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.92rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Table ---------- */
.table-wrap {
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  overflow-x: auto;
  background: var(--bg-2);
}
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 640px; }
thead th {
  text-align: left;
  padding: 14px 18px;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-soft);
  background: rgba(56, 189, 248, 0.04);
  white-space: nowrap;
}
tbody td {
  padding: 13px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  color: var(--text-muted);
  vertical-align: top;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(56, 189, 248, 0.03); }
tbody td strong, tbody td b { color: var(--text); font-weight: 600; }
tbody td:first-child { color: var(--text); font-weight: 600; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.tab-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(16, 31, 54, 0.5);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tab-btn:hover { border-color: var(--primary); color: var(--text); }
.tab-btn.active {
  background: var(--gradient);
  color: #04222e;
  border-color: transparent;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.4s ease; }

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

/* ---------- Accordion ---------- */
.acc-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: rgba(16, 31, 54, 0.5);
  overflow: hidden;
}
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s ease;
}
.acc-head:hover { color: var(--accent); }
.acc-head svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; transition: transform 0.25s ease; }
.acc-item.open .acc-head svg { transform: rotate(45deg); }
.acc-body { display: none; padding: 0 20px 20px; color: var(--text-muted); font-size: 0.95rem; }
.acc-item.open .acc-body { display: block; animation: fadeUp 0.3s ease; }

/* ---------- CTA band ---------- */
.cta-band {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background:
    radial-gradient(700px 380px at 20% 0%, rgba(34, 211, 238, 0.14), transparent 60%),
    radial-gradient(700px 380px at 85% 100%, rgba(167, 139, 250, 0.12), transparent 60%),
    var(--bg-2);
  text-align: center;
  padding: 78px 0;
}
.cta-band h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 14px; }
.cta-band p { color: var(--text-muted); max-width: 620px; margin: 0 auto 30px; font-size: 1.02rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border-soft);
  background: var(--bg);
  padding: 64px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 46px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--text-dim); font-size: 0.92rem; max-width: 320px; }
.footer-col h4 { font-size: 0.86rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-dim); font-size: 0.92rem; padding: 5px 0; }
.footer-col a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 10px; color: var(--text-dim); font-size: 0.92rem; padding: 5px 0; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; color: var(--primary); flex: 0 0 auto; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 0.85rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 72px 0 60px;
  border-bottom: 1px solid var(--border-soft);
  background:
    radial-gradient(800px 420px at 70% 10%, rgba(34, 211, 238, 0.13), transparent 60%),
    radial-gradient(600px 360px at 10% 90%, rgba(167, 139, 250, 0.1), transparent 60%),
    var(--bg-2);
}
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 12px; }
.page-hero p { color: var(--text-muted); max-width: 680px; font-size: 1.05rem; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--text-dim); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb svg { width: 13px; height: 13px; }

/* ---------- Forms ---------- */
.form-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  padding: 34px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: rgba(6, 13, 26, 0.6);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.8rem; color: var(--text-dim); margin-top: 10px; }
.form-status { margin-top: 16px; font-size: 0.92rem; font-weight: 600; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: #f87171; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 30px; align-items: start; }
.info-card {
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  padding: 28px;
  margin-bottom: 18px;
}
.info-card h3 { font-size: 1.05rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.info-card h3 svg { width: 20px; height: 20px; color: var(--accent); }
.info-card p { color: var(--text-muted); font-size: 0.94rem; }
.info-card a { color: var(--text-muted); }
.info-card a:hover { color: var(--accent); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- About page ---------- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 4px; bottom: 4px; width: 2px; background: linear-gradient(var(--primary), var(--accent-2)); opacity: 0.5; }
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item::before { content: ""; position: absolute; left: -26px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.tl-item h4 { font-size: 1.05rem; margin-bottom: 4px; }
.tl-item .tag { font-size: 0.76rem; color: var(--accent); font-weight: 700; letter-spacing: 0.06em; }
.tl-item p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Solution scenario cards ---------- */
.scenario {
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  padding: 30px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.scenario:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: var(--glow); }
.scenario .icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(56, 189, 248, 0.1); border: 1px solid var(--border); margin-bottom: 16px; }
.scenario .icon svg { width: 24px; height: 24px; color: var(--accent); }
.scenario h3 { font-size: 1.12rem; margin-bottom: 8px; }
.scenario p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 14px; }
.scenario ul { display: grid; gap: 6px; }
.scenario ul li { color: var(--text-muted); font-size: 0.87rem; display: flex; gap: 8px; }
.scenario ul li::before { content: "•"; color: var(--primary); }

/* ---------- Architecture diagram ---------- */
.arch { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-2); padding: 30px; overflow-x: auto; }
.arch-row { display: flex; gap: 14px; justify-content: center; align-items: center; min-width: 720px; }
.arch-node {
  flex: 1;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 18px 14px;
  text-align: center;
}
.arch-node .atag { font-size: 0.7rem; letter-spacing: 0.12em; color: var(--accent); text-transform: uppercase; font-weight: 700; }
.arch-node h4 { font-size: 0.95rem; margin: 4px 0; }
.arch-node p { font-size: 0.76rem; color: var(--text-dim); }
.arch-link { color: var(--primary); font-weight: 700; font-size: 0.85rem; white-space: nowrap; }
.arch-note { margin-top: 18px; color: var(--text-dim); font-size: 0.85rem; text-align: center; }

/* ---------- Misc ---------- */
.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid var(--border);
  color: var(--accent);
}
.pill-warn { background: rgba(251, 191, 36, 0.1); color: var(--warn); border-color: rgba(251, 191, 36, 0.25); }
.pill-ok { background: rgba(52, 211, 153, 0.1); color: var(--ok); border-color: rgba(52, 211, 153, 0.25); }

.notice {
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  background: rgba(56, 189, 248, 0.05);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 22px 0;
}

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(16, 31, 54, 0.9);
  color: var(--accent);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all 0.25s ease;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--surface-2); }
.back-to-top svg { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
