/* OTLink 产品站 — 工业青绿，独立于若依后台样式 */
:root {
  --bg: #0b1220;
  --bg-elevated: #121a2b;
  --surface: #162033;
  --line: rgba(148, 163, 184, 0.18);
  --text: #e8eef7;
  --muted: #9aabbf;
  --brand: #1fa7a0;
  --brand-deep: #0e7c77;
  --brand-soft: rgba(31, 167, 160, 0.14);
  --accent: #f0b429;
  --ok: #3dd68c;
  --max: 1120px;
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Segoe UI Semibold", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(31, 167, 160, 0.18), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(240, 180, 41, 0.08), transparent 50%),
    linear-gradient(180deg, #0b1220 0%, #0d1524 40%, #0b1220 100%);
  line-height: 1.65;
  min-height: 100vh;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(11, 18, 32, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  background: linear-gradient(145deg, var(--brand), var(--brand-deep));
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #041414;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  padding: 0.7rem 1.15rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(145deg, var(--brand), var(--brand-deep));
  color: #041414;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.eyebrow {
  display: inline-block;
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background:
    linear-gradient(160deg, rgba(31, 167, 160, 0.16), transparent 45%),
    var(--bg-elevated);
  padding: 1.4rem;
  min-height: 280px;
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -20% -30% 20%;
  height: 70%;
  background: radial-gradient(circle, rgba(31, 167, 160, 0.35), transparent 65%);
  pointer-events: none;
}

.panel-title {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.stat-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.7rem;
  background: rgba(11, 18, 32, 0.55);
  border: 1px solid var(--line);
}

.stat-list strong {
  color: var(--ok);
  font-size: 1.05rem;
}

.section {
  padding: 3.25rem 0;
}

.section-head {
  margin-bottom: 1.75rem;
  max-width: 42rem;
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  letter-spacing: -0.01em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.feature-grid,
.scene-grid,
.faq-list {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scene-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature,
.scene,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(18, 26, 43, 0.72);
  padding: 1.25rem 1.3rem;
}

.feature h3,
.scene h3,
.faq-item h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
}

.feature p,
.scene p,
.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: rgba(18, 26, 43, 0.72);
}

.compare th,
.compare td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare th {
  background: rgba(31, 167, 160, 0.12);
  font-weight: 700;
}

.compare tr:last-child td {
  border-bottom: none;
}

.compare td:first-child {
  color: var(--muted);
  width: 28%;
}

.cta-band {
  margin: 1rem 0 3.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.75rem;
  background: linear-gradient(120deg, rgba(31, 167, 160, 0.18), rgba(240, 180, 41, 0.08));
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cta-band h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.cta-band p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer h3 {
  margin: 0 0 0.6rem;
  color: var(--text);
  font-size: 0.95rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.35rem;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--brand);
}

.legal-page {
  padding: 2.5rem 0 4rem;
}

.legal-page h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.legal-meta {
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.toc {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(18, 26, 43, 0.72);
  padding: 1rem 1.2rem;
  margin-bottom: 2rem;
}

.toc h2 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
}

.toc ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.legal-page article h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  scroll-margin-top: 5rem;
}

.legal-page article h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
}

.legal-page article p,
.legal-page article li {
  color: #c5d0de;
}

.legal-page article ul,
.legal-page article ol {
  padding-left: 1.25rem;
}

.legal-page strong {
  color: var(--text);
}

.notice {
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  padding: 0.9rem 1rem;
  border-radius: 0 0.6rem 0.6rem 0;
  margin: 1rem 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover {
    transform: none;
  }
}
