/* ==========================================================================
   SpeedCat(闪电猫) — Nocturnal Carbon-Black Editorial Grid & Volt-Lime UI
   Pure native CSS | Zero external frameworks | Day & Night Editorial Modes
   ========================================================================== */

:root,
[data-theme="dark"] {
  --bg-canvas: #0f1215;
  --bg-surface: #161a1f;
  --bg-surface-hover: #1b2027;
  --bg-surface-alt: #12161a;
  --bg-header: rgba(15, 18, 21, 0.86);
  --bg-glass-btn: rgba(22, 26, 31, 0.65);
  --bg-glass-btn-hover: rgba(38, 43, 51, 0.85);

  --border-grid: #262b33;
  --border-strong: #37404c;

  --text-primary: #ffffff;
  --text-secondary: #9aa3b2;
  --text-muted: #6b7485;

  --volt-lime: #d4f82c;
  --volt-lime-hover: #e0ff4f;
  --volt-ink: #0f1215;
  --ice-blue: #7dd3fc;
  --status-green: #d4f82c;

  --shadow-frame: 0 24px 60px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

[data-theme="light"] {
  --bg-canvas: #f3f5f7;
  --bg-surface: #ffffff;
  --bg-surface-hover: #f8fafc;
  --bg-surface-alt: #eaeef2;
  --bg-header: rgba(243, 245, 247, 0.88);
  --bg-glass-btn: rgba(255, 255, 255, 0.72);
  --bg-glass-btn-hover: rgba(255, 255, 255, 0.96);

  --border-grid: #d6dce4;
  --border-strong: #b8c2cf;

  --text-primary: #0f1215;
  --text-secondary: #475261;
  --text-muted: #647082;

  --volt-lime: #d4f82c;
  --volt-lime-hover: #c5eb1c;
  --volt-ink: #0f1215;
  --ice-blue: #0284c7;
  --status-green: #15803d;

  --shadow-frame: 0 20px 45px rgba(15, 18, 21, 0.1);
  color-scheme: light;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

ul, ol {
  list-style: none;
}

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

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

/* Smooth theme transition on structural surfaces */
.site-header,
.strip-card,
.bento-card,
.feature-card,
.catalog-card,
.pricing-card,
.table-wrap,
.review-card,
.faq-item,
.doc-card,
.news-card,
.site-footer,
.hero-visual-frame {
  transition: background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Anchor Arrival Highlight Pulse */
@keyframes anchorReveal {
  0% {
    opacity: 0.72;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-pulse {
  animation: anchorReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Container & Section Rhythm */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: 76px;
  border-bottom: 1px solid var(--border-grid);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.section-tag {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ice-blue);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-desc {
  max-width: 520px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   Top Navigation Bar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-grid);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-badge {
  width: 36px;
  height: 36px;
  background: var(--volt-lime);
  color: var(--volt-ink);
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.brand-sub {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 2px;
}

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

.nav-links a {
  padding: 8px 11px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 2px;
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--bg-surface);
}

.nav-links a.nav-news {
  color: var(--ice-blue);
}

.nav-links a.nav-news:hover {
  color: var(--text-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Sharp Rectangular Editorial Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease,
              border-color 0.2s ease,
              color 0.2s ease,
              transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-sm {
  min-height: 38px;
  padding: 0 15px;
  font-size: 0.84rem;
}

.btn-lg {
  min-height: 50px;
  padding: 0 26px;
  font-size: 0.95rem;
}

.btn-volt {
  background: var(--volt-lime);
  color: var(--volt-ink);
  border-color: var(--volt-lime);
}

.btn-volt:hover {
  background: var(--volt-lime-hover);
  border-color: var(--volt-lime-hover);
}

.btn-volt:hover .arrow-diag {
  transform: translate(3px, -3px);
}

.btn-outline {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--volt-lime);
  background: var(--bg-surface-hover);
}

.btn-block {
  width: 100%;
}

.arrow-diag {
  display: inline-block;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Refined Translucent Day/Night Mode Toggle Button */
.theme-toggle {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 2px;
  border: 1px solid var(--border-grid);
  background: var(--bg-glass-btn);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.theme-toggle:hover {
  border-color: var(--volt-lime);
  background: var(--bg-glass-btn-hover);
}

.theme-icon {
  position: absolute;
  width: 17px;
  height: 17px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.3s ease;
}

[data-theme="dark"] .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  color: var(--ice-blue);
}
[data-theme="dark"] .icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

[data-theme="light"] .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  color: #b45309;
}
[data-theme="light"] .icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 2px;
  border: 1px solid var(--border-grid);
  background: var(--bg-glass-btn);
  color: var(--text-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Asymmetric Editorial Hero
   ========================================================================== */
.hero {
  padding: 56px 0 0;
  border-bottom: 1px solid var(--border-grid);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  padding-bottom: 52px;
}

.hero-dash-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ice-blue);
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(2.2rem, 4.4vw, 3.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 16px;
}

.hero-subheadline {
  font-size: clamp(1.15rem, 2vw, 1.48rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.4;
}

.hero-copy {
  font-size: 0.96rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Right Hero Workspace Frame with Parallax */
.hero-visual-wrap {
  perspective: 1000px;
}

.hero-visual-frame {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-grid);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-frame);
  will-change: transform;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease;
}

.hero-visual-frame:hover {
  border-color: var(--border-strong);
}

.hero-photo-box {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #0b0d10;
  overflow: hidden;
}

.hero-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-grid);
  font-size: 0.78rem;
}

.caption-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.08em;
  color: var(--ice-blue);
  font-weight: 600;
}

.caption-zh {
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   4-Column Structural Strip (Razor-Thin 2px Volt-Lime Hover Border)
   ========================================================================== */
.structural-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-grid);
  border-left: 1px solid var(--border-grid);
}

.strip-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 22px;
  background: var(--bg-surface);
  border-right: 1px solid var(--border-grid);
  overflow: hidden;
}

.strip-card::before,
.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--volt-lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.strip-card:hover,
.bento-card:hover {
  background: var(--bg-surface-hover);
}

.strip-card:hover::before,
.bento-card:hover::before {
  transform: scaleX(1);
}

.strip-card:hover .card-arrow,
.bento-card:hover .card-arrow {
  color: var(--volt-lime);
  transform: translate(3px, -3px);
}

.strip-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.strip-index {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  color: var(--ice-blue);
  letter-spacing: 0.08em;
}

.card-arrow {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
}

.strip-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
}

.strip-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   02 / EXPLORE — Asymmetric Bento Grid (5 Device Entry Cards)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border-grid);
  border: 1px solid var(--border-grid);
}

.bento-card {
  position: relative;
  background: var(--bg-surface);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 186px;
}

.bento-span-2 { grid-column: span 2; }
.bento-span-3 { grid-column: span 3; }

.bento-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.bento-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ice-blue);
}

.bento-title {
  font-size: 1.32rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.bento-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   Core Features (3 Editorial Graphic + Text Cards)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-grid);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.feature-card:hover {
  border-color: var(--border-strong);
}

.feature-graphic {
  height: 158px;
  background: var(--bg-surface-alt);
  border-bottom: 1px solid var(--border-grid);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.feature-body {
  padding: 24px;
  flex: 1;
}

.feature-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  color: var(--ice-blue);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 10px;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.72;
}

/* ==========================================================================
   Streaming & AI Catalog Grid Cards
   ========================================================================== */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-grid);
  border: 1px solid var(--border-grid);
}

.catalog-card {
  background: var(--bg-surface);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.catalog-card:hover {
  background: var(--bg-surface-hover);
}

.catalog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.catalog-mark {
  width: 40px;
  height: 40px;
  border-radius: 2px;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface-alt);
  color: var(--text-primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.catalog-status {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--status-green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.catalog-status::before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 1px;
}

.catalog-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.catalog-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.catalog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--border-grid);
}

.tag-chip {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  padding: 3px 8px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-grid);
  color: var(--text-secondary);
}

/* ==========================================================================
   Real Pricing Grid & Full Comparison Table
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.pricing-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-grid);
  border-radius: 2px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--volt-lime);
}

.plan-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--volt-lime);
  color: var(--volt-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  letter-spacing: 0.06em;
}

.plan-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  color: var(--ice-blue);
  margin-bottom: 6px;
}

.plan-name {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.plan-sub {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  min-height: 40px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.price-currency {
  font-size: 1.1rem;
  font-weight: 700;
}

.price-amount {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-unit {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.price-cycle-note {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-grid);
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.plan-features li::before {
  content: "—";
  color: var(--volt-lime);
  font-weight: 700;
  flex-shrink: 0;
}

[data-theme="light"] .plan-features li::before {
  color: #0284c7;
}

/* Comparison Table */
.table-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-grid);
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 0.88rem;
}

.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-grid);
}

.compare-table thead th {
  background: var(--bg-surface-alt);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  color: var(--ice-blue);
  letter-spacing: 0.04em;
  font-weight: 600;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody tr:hover {
  background: var(--bg-surface-hover);
}

.compare-table td:first-child {
  font-weight: 700;
  color: var(--text-primary);
}

.compare-table td {
  color: var(--text-secondary);
}

.highlight-val {
  color: var(--text-primary) !important;
  font-weight: 700;
}

.pricing-footnote {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================================================
   User Reviews
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-grid);
  border: 1px solid var(--border-grid);
}

.review-card {
  background: var(--bg-surface);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-rating {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
  color: var(--ice-blue);
  letter-spacing: 0.08em;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  flex: 1;
}

.reviewer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-grid);
}

.reviewer-name {
  font-size: 0.9rem;
  font-weight: 700;
}

.reviewer-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  border: 1px solid var(--border-grid);
  background: var(--bg-surface);
}

.faq-item {
  border-bottom: 1px solid var(--border-grid);
}

.faq-item:last-child {
  border-bottom: none;
}

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

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

.faq-item summary:hover {
  background: var(--bg-surface-hover);
}

.faq-plus {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.1rem;
  color: var(--ice-blue);
  transition: transform 0.22s ease;
}

.faq-item[open] .faq-plus {
  transform: rotate(45deg);
  color: var(--volt-lime);
}

[data-theme="light"] .faq-item[open] .faq-plus {
  color: #0f1215;
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.78;
}

/* ==========================================================================
   Footer — Strictly 4 Required Titles Opening New Pages
   ========================================================================== */
.site-footer {
  background: var(--bg-surface);
  padding: 36px 0;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 40px;
}

.footer-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: 2px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--text-primary);
  background: var(--bg-surface-hover);
}

/* ==========================================================================
   Subpages & Recommended News Page
   ========================================================================== */
.doc-hero {
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--border-grid);
}

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  color: var(--ice-blue);
  margin-bottom: 16px;
}

.doc-hero h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.doc-hero p {
  color: var(--text-secondary);
  max-width: 680px;
  font-size: 0.98rem;
}

.doc-main {
  padding: 48px 0 80px;
}

.doc-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 920px;
}

.doc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-grid);
  padding: 28px;
}

.doc-card h2 {
  font-size: 1.24rem;
  font-weight: 700;
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 3px solid var(--volt-lime);
}

.doc-card p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.8;
  font-size: 0.94rem;
}

.doc-card p:last-child {
  margin-bottom: 0;
}

.doc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.doc-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.75;
}

.doc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--ice-blue);
}

.sitemap-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.sitemap-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sitemap-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-grid);
  font-size: 0.9rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.sitemap-links a:hover {
  border-color: var(--volt-lime);
  color: var(--text-primary);
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.region-pill {
  padding: 14px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-grid);
  font-size: 0.9rem;
  font-weight: 600;
}

.region-pill span {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 4px;
}

/* News Page Editorial Cards */
.news-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-grid);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--volt-lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-card:hover::before {
  transform: scaleX(1);
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.74rem;
  color: var(--ice-blue);
}

.news-card h2 {
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.4;
}

.news-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  flex: 1;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-grid);
  margin-top: 4px;
}

.news-read-link {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--volt-lime);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

[data-theme="light"] .news-read-link {
  color: #0f1215;
}

.news-card:hover .news-read-link .arrow-diag {
  transform: translate(3px, -3px);
}

/* ==========================================================================
   Long-Form SEO Article Layout (TOC, Prose, Callouts, Related Reading)
   ========================================================================== */
.article-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.toc-box {
  position: sticky;
  top: 88px;
  background: var(--bg-surface);
  border: 1px solid var(--border-grid);
  padding: 22px 20px;
}

.toc-title {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ice-blue);
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-grid);
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-list a {
  display: block;
  font-size: 0.86rem;
  color: var(--text-secondary);
  padding: 5px 8px;
  border-left: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.toc-list a:hover {
  color: var(--text-primary);
  border-left-color: var(--volt-lime);
  background: var(--bg-surface-hover);
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.article-body {
  background: var(--bg-surface);
  border: 1px solid var(--border-grid);
  padding: 36px 40px;
}

.article-body h2 {
  font-size: 1.42rem;
  font-weight: 700;
  margin: 36px 0 14px;
  padding-left: 14px;
  border-left: 3px solid var(--volt-lime);
  line-height: 1.35;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--text-primary);
}

.article-body p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.88;
  margin-bottom: 16px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 18px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.82;
}

.article-body ul {
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body a.inline-link {
  color: var(--ice-blue);
  border-bottom: 1px dashed var(--ice-blue);
  font-weight: 600;
}

.article-body a.inline-link:hover {
  color: var(--volt-lime);
  border-bottom-color: var(--volt-lime);
}

[data-theme="light"] .article-body a.inline-link:hover {
  color: #0f1215;
  border-bottom-color: #0f1215;
}

.article-callout {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-grid);
  border-left: 3px solid var(--ice-blue);
  padding: 18px 20px;
  margin: 22px 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.78;
}

.article-cta-box {
  margin: 32px 0;
  padding: 24px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--volt-lime);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.article-cta-box strong {
  display: block;
  font-size: 1.04rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.article-cta-box span {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.article-section-block {
  margin-top: 36px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.related-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-grid);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.related-card:hover {
  border-color: var(--volt-lime);
  background: var(--bg-surface-hover);
}

.related-card span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  color: var(--ice-blue);
}

.related-card h3 {
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-primary);
}

@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .toc-box {
    position: static;
  }
  .article-body {
    padding: 24px 20px;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Responsive Media Queries (Tablet & Mobile Single-Column)
   ========================================================================== */
@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .structural-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .strip-card {
    border-bottom: 1px solid var(--border-grid);
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-grid);
    padding: 14px 24px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-links a {
    padding: 12px 14px;
    font-size: 0.96rem;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .header-cta {
    display: none;
  }
  .bento-span-2,
  .bento-span-3 {
    grid-column: span 3;
  }
  .features-grid,
  .catalog-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .container {
    padding-inline: 16px;
  }
  .section {
    padding-block: 54px;
  }
  .hero {
    padding-top: 36px;
  }
  .structural-strip,
  .features-grid,
  .catalog-grid,
  .pricing-grid,
  .reviews-grid,
  .sitemap-grid,
  .news-grid,
  .region-grid {
    grid-template-columns: 1fr;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-span-2,
  .bento-span-3 {
    grid-column: span 1;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .btn,
  .btn-lg {
    width: 100%;
    min-height: 48px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 6px;
  }
  .footer-nav a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
  .doc-card,
  .news-card {
    padding: 20px 18px;
  }
}
