@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Serif+SC:wght@600;700&display=swap");

:root {
  --ink: #060b16;
  --ink-soft: #0e1526;
  --ink-card: #121c30;
  --gold: #c9a227;
  --gold-light: #e8d48b;
  --gold-dark: #a68518;
  --blue: #3b6fd9;
  --steel: #8b9cb3;
  --steel-dark: #5a6b82;
  --mist: #f4f6fa;
  --line: rgba(255, 255, 255, 0.1);
  --line-light: #dde3ed;
  --radius: 12px;
  --section-y: 5rem;
  --font-serif: "Noto Serif SC", "PingFang SC", serif;
  --font-sans: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ink);
  color: #e2e8f0;
  font-family: var(--font-sans);
  line-height: 1.6;
  margin: 0;
  padding-bottom: 4.5rem;
}

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

.bg-ink {
  background: var(--ink-soft);
}

/* ── 导航 ── */
.navbar-premium {
  backdrop-filter: blur(16px);
  background: rgba(6, 11, 22, 0.88);
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0;
}

.navbar-brand {
  align-items: baseline;
  display: inline-flex;
  flex-wrap: wrap;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  gap: 0.35rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.navbar-brand .brand-dot {
  color: var(--gold);
}

.navbar-brand .brand-sub {
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem !important;
}

.navbar .nav-link:hover {
  color: #fff;
}

.nav-link-main {
  color: var(--gold-light) !important;
}

.btn-signal {
  background: var(--gold) !important;
  border: none !important;
  border-radius: 8px;
  box-shadow: none !important;
  color: #1a1200 !important;
  font-weight: 700;
  transition: background 0.2s ease;
}

.btn-signal:hover {
  background: var(--gold-light) !important;
  color: #1a1200 !important;
  transform: none;
}

.btn-outline-premium {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
}

.btn-outline-premium:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-console {
  background: var(--blue) !important;
  border: none !important;
  border-radius: 8px;
  box-shadow: none !important;
  color: #fff !important;
  font-weight: 700;
  transition: background 0.2s ease;
}

.btn-console:hover {
  background: #4a7fd4 !important;
  color: #fff !important;
}

.btn-console-outline {
  background: transparent !important;
  border: 1px solid rgba(59, 111, 217, 0.55) !important;
  border-radius: 8px;
  box-shadow: none !important;
  color: #93b4f5 !important;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-console-outline:hover {
  background: rgba(59, 111, 217, 0.12) !important;
  border-color: var(--blue) !important;
  color: #fff !important;
}

.navbar-dark .btn-console-outline {
  color: #b8cff5 !important;
}

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1200;
  font-weight: 700;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.text-signal {
  color: var(--blue);
}

.text-gold {
  color: var(--gold);
}

/* ── Hero ── */
.hero-premium {
  background: linear-gradient(180deg, #0a1222 0%, var(--ink) 100%);
  overflow: hidden;
  padding: 6.5rem 0 4rem;
  position: relative;
}

.hero-premium::before {
  background: radial-gradient(circle at 80% 0%, rgba(59, 111, 217, 0.12), transparent 50%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 999px;
  color: var(--gold-light);
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.9rem;
}

.hero-title {
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.hero-title .highlight {
  color: var(--gold-light);
}

.hero-lead {
  color: var(--steel);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 0;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-metrics {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.hero-metric {
  padding-right: 0.5rem;
}

.hero-metric strong {
  color: #fff;
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-metric strong .unit {
  color: var(--gold);
  font-size: 0.85em;
}

.hero-metric span {
  color: var(--steel-dark);
  display: block;
  font-size: 0.78rem;
  margin-top: 0.25rem;
}

/* ── 控制台 ── */
.token-console {
  background: var(--ink-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.token-console-link {
  color: inherit;
  display: block;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.token-console-link:hover {
  border-color: rgba(59, 111, 217, 0.55);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  color: inherit;
  transform: translateY(-2px);
}

.console-enter {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--blue);
  display: flex;
  font-size: 0.85rem;
  font-weight: 600;
  gap: 0.35rem;
  justify-content: center;
  margin-top: 1rem;
  padding-top: 0.85rem;
}

.token-console-link:hover .console-enter {
  color: #93b4f5;
}

.console-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
}

.console-header span:first-child {
  color: var(--steel);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.console-status {
  align-items: center;
  color: #4ade80;
  display: flex;
  font-size: 0.75rem;
  font-weight: 600;
  gap: 0.35rem;
}

.console-status::before {
  background: #4ade80;
  border-radius: 50%;
  content: "";
  height: 6px;
  width: 6px;
}

.console-grid {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: 1fr 1fr;
}

.console-grid div {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem;
}

.console-grid small {
  color: var(--steel-dark);
  display: block;
  font-size: 0.68rem;
  margin-bottom: 0.2rem;
}

.console-grid strong {
  color: var(--gold-light);
  font-size: 1.35rem;
  font-weight: 700;
}

.model-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.85rem;
}

.model-tags span {
  background: rgba(59, 111, 217, 0.12);
  border: 1px solid rgba(59, 111, 217, 0.25);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.68rem;
  padding: 0.2rem 0.55rem;
}

.code-snippet {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #94a3b8;
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  line-height: 1.5;
  margin-top: 0.85rem;
  overflow-x: auto;
  padding: 0.75rem;
}

.code-snippet .kw {
  color: #c4b5fd;
}

.code-snippet .str {
  color: #86efac;
}

/* ── 区块通用 ── */
.section-dark {
  background: var(--ink);
  padding: var(--section-y) 0;
}

.section-muted {
  background: var(--ink-soft);
  padding: var(--section-y) 0;
}

.section-light {
  background: var(--mist);
  color: var(--ink);
  padding: var(--section-y) 0;
}

.section-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.section-header h2 {
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0;
}

.section-light .section-header h2 {
  color: var(--ink);
}

.section-header p {
  color: var(--steel);
  font-size: 0.98rem;
  margin: 0.75rem auto 0;
  max-width: 32rem;
}

.section-light .section-header p {
  color: var(--steel-dark);
}

/* ── 愿景 ── */
.vision-card {
  background: var(--ink-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
}

.vision-headline {
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0.5rem 0 1rem;
}

.vision-desc {
  color: var(--steel);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 auto 2rem;
  max-width: 40rem;
}

.vision-pillars {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  text-align: left;
}

.vision-pillar {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.vision-pillar i {
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.vision-pillar h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.vision-pillar p {
  color: var(--steel-dark);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

/* ── 能力卡片 ── */
.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  background: var(--ink-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 100%;
  padding: 1.5rem;
}

.feature-card i {
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.feature-card p {
  color: var(--steel);
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}

/* ── 实力数据 ── */
.strength-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}

.strength-item {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
}

.strength-item i {
  color: var(--gold-dark);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.strength-item strong {
  color: var(--ink);
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}

.strength-item span {
  color: var(--steel-dark);
  display: block;
  font-size: 0.82rem;
  margin-top: 0.2rem;
}

/* ── Showcase ── */
.showcase-wrap {
  overflow: hidden;
}

.showcase .showcase-text {
  padding: 3.5rem 2.5rem;
}

.showcase .showcase-img {
  background-position: center;
  background-size: cover;
  min-height: 24rem;
}

.showcase-gateway {
  background-image: linear-gradient(rgba(6, 11, 22, 0.5), rgba(6, 11, 22, 0.5)),
    url("https://images.unsplash.com/photo-1677442136019-21780ecad995?auto=format&fit=crop&w=1200&q=80");
}

.showcase-token {
  background-image: linear-gradient(rgba(6, 11, 22, 0.5), rgba(6, 11, 22, 0.5)),
    url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1200&q=80");
}

.showcase-text h2 {
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
}

.showcase-text .lead {
  color: var(--steel);
  font-size: 0.95rem;
}

.check-list li {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}

.check-list i {
  color: var(--gold);
}

/* ── 解决方案 ── */
.service-card {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  height: 100%;
  padding: 1.5rem;
}

.service-card i {
  color: var(--gold-dark);
  font-size: 1.75rem;
}

.service-card h3 {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0.75rem 0 0.5rem;
}

.service-card p {
  color: var(--steel-dark);
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}

.seo-link-card {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  color: var(--ink);
  display: block;
  height: 100%;
  padding: 1.25rem;
}

.seo-link-card:hover {
  border-color: var(--gold);
  color: var(--ink);
}

.seo-link-card strong {
  display: block;
  font-weight: 700;
}

.seo-link-card span {
  color: var(--steel-dark);
  display: block;
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

/* ── 流程 ── */
.process-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}

.process-item {
  background: var(--ink-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.process-num {
  align-items: center;
  background: var(--gold);
  border-radius: 8px;
  color: #1a1200;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 800;
  height: 2rem;
  justify-content: center;
  margin-bottom: 0.75rem;
  width: 2rem;
}

.process-item h3 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.process-item p {
  color: var(--steel);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

/* ── FAQ ── */
.faq-premium {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
}

.faq-premium summary {
  color: var(--ink);
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 600;
  list-style: none;
  padding: 1rem 1.25rem;
}

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

.faq-premium p {
  border-top: 1px solid var(--line-light);
  color: var(--steel-dark);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
  padding: 0 1.25rem 1rem;
}

/* ── CTA ── */
.call-to-action {
  background: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding: var(--section-y) 0;
}

.call-to-action h2 {
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
}

.lead-form {
  background: var(--ink-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.lead-form .form-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
}

.lead-form .form-control {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  color: #fff;
}

.lead-form .form-control:focus {
  background: rgba(0, 0, 0, 0.35);
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.15);
  color: #fff;
}

.lead-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.lead-preview {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}

.lead-step .is-invalid {
  border-color: #ef4444;
}

/* ── Footer ── */
.footer-premium {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding: 3rem 0 1.5rem;
}

.footer-brand {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-tagline {
  color: var(--steel-dark);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-top: 0.5rem;
}

.footer-heading {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.footer-premium a {
  color: var(--steel);
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}

.footer-premium a:hover {
  color: var(--gold-light);
}

.footer-divider {
  border-color: var(--line);
  margin: 1.5rem 0 1rem;
}

/* ── 子页兼容 ── */
.masthead {
  background: linear-gradient(180deg, #0a1222 0%, var(--ink) 100%);
  padding: 7rem 0 4rem;
}

.page-hero {
  background: linear-gradient(115deg, rgba(6, 11, 22, 0.95), rgba(14, 21, 38, 0.9)),
    url("https://images.unsplash.com/photo-1677442136019-21780ecad995?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
  color: #fff;
  margin-top: 56px;
  padding: 4rem 0 3rem;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
}

.subpage-content {
  background: var(--mist);
  color: var(--ink);
  padding: 3.5rem 0 4rem;
}

.content-card {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  padding: 1.5rem;
}

.content-card h2 {
  border-left: 3px solid var(--gold);
  font-size: 1.2rem;
  padding-left: 0.75rem;
}

.feature-pill {
  background: var(--mist);
  border: 1px solid var(--line-light);
  border-radius: 999px;
  display: inline-block;
  font-size: 0.82rem;
  margin: 0 0.35rem 0.35rem 0;
  padding: 0.3rem 0.75rem;
}

.sidebar-card {
  background: var(--ink-card);
  border-radius: var(--radius);
  color: #fff;
  padding: 1.25rem;
  position: sticky;
  top: 5rem;
}

.sidebar-card h3 {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sidebar-card a {
  border-bottom: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.8);
  display: block;
  padding: 0.5rem 0;
}

.subpage-cta {
  background: var(--ink-soft);
  border-radius: var(--radius);
  color: #fff;
  margin-top: 1rem;
  padding: 1.5rem;
}

.pain-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pain-card {
  background: #fff;
  border: 1px solid var(--line-light);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1rem;
}

.breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-nav span {
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0.35rem;
}

.sticky-lead-bar {
  background: var(--ink-soft);
  border-top: 1px solid var(--line);
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  z-index: 1050;
}

.sticky-lead-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1140px;
  padding: 0.6rem 1rem;
}

.sticky-lead-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
}

.sticky-lead-phone {
  color: var(--gold);
  font-weight: 700;
}

.sticky-lead-console {
  border: 1px solid rgba(59, 111, 217, 0.55);
  border-radius: 6px;
  color: #93b4f5;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
}

.sticky-lead-console:hover {
  background: rgba(59, 111, 217, 0.12);
  color: #fff;
}

.sticky-lead-btn {
  background: var(--gold);
  border-radius: 6px;
  color: #1a1200;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
}

.footer {
  padding: 2rem 0;
}

@media (max-width: 991.98px) {
  .hero-metrics,
  .feature-grid,
  .strength-grid,
  .vision-pillars,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase .showcase-text {
    padding: 2.5rem 1.5rem;
  }

  .sidebar-card {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .hero-metrics,
  .feature-grid,
  .strength-grid,
  .vision-pillars,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .navbar-brand .brand-sub {
    display: none;
  }
}
