/* NCloud 奇异云网 (qi-ncloud.lat) - Pure Native CSS Stylesheet (Zero JS) */
:root {
  --bg-void: #050a14;
  --bg-deep: #091221;
  --bg-surface: rgba(12, 22, 39, 0.78);
  --bg-surface-strong: rgba(15, 28, 48, 0.94);
  --bg-glass: rgba(18, 34, 58, 0.56);
  --cyan: #00d4ff;
  --mint: #2ee59d;
  --ice-yellow-light: #fffce8;
  --ice-yellow: #f7ebb0;
  --ice-yellow-deep: #ebda87;
  --indigo: #5b7cfa;
  --amber: #ffb84d;
  --text-main: #edf5ff;
  --text-soft: #b6c8e0;
  --text-muted: #7f95b5;
  --border: rgba(130, 168, 224, 0.2);
  --border-strong: rgba(247, 235, 176, 0.48);
  --shadow-glow: 0 18px 48px rgba(0, 17, 41, 0.55), 0 0 28px rgba(247, 235, 176, 0.06);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --max-w: 1220px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main);
  background-color: var(--bg-void);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--ice-yellow);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

a:hover {
  color: var(--ice-yellow-light);
}

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

/* ================================
   Dynamic Pure CSS Background
   ================================ */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(91, 124, 250, 0.14) 0%, transparent 44%),
    radial-gradient(circle at 84% 22%, rgba(247, 235, 176, 0.09) 0%, transparent 42%),
    radial-gradient(circle at 52% 88%, rgba(64, 108, 200, 0.13) 0%, transparent 48%),
    linear-gradient(165deg, #050a14 0%, #07101f 50%, #040811 100%);
}

.bg-aurora {
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(45% 36% at 28% 32%, rgba(91, 124, 250, 0.17), transparent 70%),
    radial-gradient(38% 32% at 72% 62%, rgba(247, 235, 176, 0.11), transparent 72%),
    radial-gradient(30% 28% at 50% 18%, rgba(120, 165, 255, 0.12), transparent 70%);
  filter: blur(44px);
  animation: auroraDrift 20s ease-in-out infinite alternate;
  will-change: transform;
}

.bg-grid {
  position: absolute;
  inset: -60px;
  background-image:
    linear-gradient(to right, rgba(247, 235, 176, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(130, 168, 224, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 35%, transparent 100%);
  animation: gridShift 26s linear infinite;
}

.bg-beam {
  position: absolute;
  left: -20%;
  right: -20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 252, 232, 0.55), rgba(247, 235, 176, 0.5), transparent);
  box-shadow: 0 0 24px rgba(247, 235, 176, 0.42);
  opacity: 0.4;
  animation: scanSweep 11s ease-in-out infinite;
}

.bg-orbs {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 12% 24%, rgba(247, 235, 176, 0.55), transparent),
    radial-gradient(2px 2px at 34% 68%, rgba(255, 252, 232, 0.45), transparent),
    radial-gradient(1.5px 1.5px at 58% 19%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(2px 2px at 78% 44%, rgba(247, 235, 176, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 89% 79%, rgba(255, 252, 232, 0.45), transparent),
    radial-gradient(2px 2px at 22% 85%, rgba(120, 165, 255, 0.5), transparent);
  background-size: 420px 420px;
  animation: particleFloat 38s linear infinite;
}

@keyframes auroraDrift {
  0% {
    transform: translate3d(-3%, -2%, 0) scale(1);
  }
  50% {
    transform: translate3d(3%, 2%, 0) scale(1.06);
  }
  100% {
    transform: translate3d(-1%, 4%, 0) scale(1.02);
  }
}

@keyframes gridShift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(56px, 56px, 0);
  }
}

@keyframes scanSweep {
  0% {
    top: -5%;
    opacity: 0;
  }
  15% {
    opacity: 0.45;
  }
  85% {
    opacity: 0.32;
  }
  100% {
    top: 105%;
    opacity: 0;
  }
}

@keyframes particleFloat {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-420px, -210px, 0);
  }
}

@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.38);
    opacity: 0.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-aurora,
  .bg-grid,
  .bg-beam,
  .bg-orbs,
  .live-dot {
    animation: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ================================
   Layout Containers & Utilities
   ================================ */
.container {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}

.section {
  padding: 4.25rem 0;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(247, 235, 176, 0.08);
  color: var(--ice-yellow);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.section-desc {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
}

.gradient-text {
  background: linear-gradient(100deg, #ffffff 12%, var(--ice-yellow-light) 48%, var(--ice-yellow) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ================================
   Buttons
   ================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.45rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(125deg, var(--ice-yellow-light), var(--ice-yellow) 55%, var(--ice-yellow-deep));
  color: #0b1422;
  box-shadow: 0 10px 26px rgba(247, 235, 176, 0.28);
}

.btn-primary:hover {
  color: #050b14;
  background: linear-gradient(125deg, #ffffff, #fcf2c2 55%, #f1e194);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(247, 235, 176, 0.4);
}

.btn-secondary {
  background: rgba(16, 31, 54, 0.8);
  color: var(--text-main);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  color: var(--ice-yellow-light);
  border-color: var(--ice-yellow);
  background: rgba(247, 235, 176, 0.1);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ================================
   Sticky Top Header (Logo Top-Left)
   ================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 11, 22, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 0.5rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--text-main);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--text-main);
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(0, 212, 255, 0.45);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.22);
  object-fit: cover;
}

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

.brand-name {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(95deg, #fff, var(--cyan), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  padding: 0.42rem 0.75rem;
  border-radius: 8px;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ice-yellow);
  background: rgba(247, 235, 176, 0.1);
}

.header-cta {
  padding: 0.58rem 1.15rem;
  font-size: 0.9rem;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 0.65rem 0;
  }
  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(73, 189, 232, 0.12);
    scrollbar-width: none;
  }
  .main-nav::-webkit-scrollbar {
    display: none;
  }
  .main-nav a {
    white-space: nowrap;
    font-size: 0.86rem;
  }
}

/* ================================
   Hero Section
   ================================ */
.hero {
  padding: 3.75rem 0 3.25rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.25rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(46, 229, 157, 0.38);
  background: rgba(46, 229, 157, 0.1);
  color: var(--mint);
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  animation: pulseDot 1.8s ease-in-out infinite;
}

.hero-title {
  margin: 0 0 1.05rem;
  font-size: clamp(2rem, 4.1vw, 3.1rem);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 1.65rem;
  color: var(--text-soft);
  font-size: 1.04rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.stat-card {
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.stat-val {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ice-yellow);
  font-variant-numeric: tabular-nums;
}

.stat-lbl {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Hero Telemetry Panel */
.telemetry-panel {
  border-radius: var(--radius-lg);
  background: var(--bg-surface-strong);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-glow);
  padding: 1.4rem;
  position: relative;
  overflow: hidden;
}

.telemetry-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--mint), var(--indigo));
}

.telemetry-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(73, 189, 232, 0.16);
}

.telemetry-title {
  font-weight: 700;
  font-size: 0.96rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.telemetry-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: rgba(0, 212, 255, 0.12);
  color: var(--cyan);
}

.node-list {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.node-item {
  display: grid;
  grid-template-columns: 1.4fr auto auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 11px;
  background: rgba(7, 15, 29, 0.85);
  border: 1px solid rgba(73, 189, 232, 0.14);
}

.node-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.node-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.node-proto {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.18rem 0.45rem;
  border-radius: 5px;
  background: rgba(91, 124, 250, 0.16);
  color: #b7c8ff;
}

.node-ping {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mint);
  font-variant-numeric: tabular-nums;
}

.telemetry-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-soft);
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ================================
   GEO Answer-First Box
   ================================ */
.geo-summary {
  border-radius: var(--radius-md);
  border: 1px solid rgba(247, 235, 176, 0.32);
  background: linear-gradient(135deg, rgba(247, 235, 176, 0.08), rgba(91, 124, 250, 0.06));
  padding: 1.25rem 1.45rem;
  margin-bottom: 2.2rem;
}

.geo-summary h2,
.geo-summary h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--ice-yellow);
}

.geo-summary p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* ================================
   Same-Row Pricing Section (所有价格要同排)
   ================================ */
.pricing-scroll-hint {
  display: none;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ice-yellow);
  margin-bottom: 0.75rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.55rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-glow);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.plan-card.featured {
  background: linear-gradient(165deg, rgba(16, 30, 52, 0.96), rgba(10, 22, 42, 0.96));
  border: 1.5px solid var(--ice-yellow);
  box-shadow: 0 20px 54px rgba(247, 235, 176, 0.14);
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(95deg, var(--ice-yellow-light), var(--ice-yellow));
  color: #0b1422;
  font-size: 0.74rem;
  font-weight: 800;
}

.plan-tier {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.3rem;
}

.plan-sub {
  margin: 0 0 1rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  min-height: 2.4em;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(130, 168, 224, 0.18);
}

.plan-currency {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ice-yellow);
}

.plan-amount {
  font-family: var(--font-mono);
  font-size: 2.35rem;
  line-height: 1;
  font-weight: 900;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.plan-period {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: grid;
  gap: 0.62rem;
  flex-grow: 1;
}

.plan-features li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ice-yellow);
  font-weight: 800;
}

.pricing-notice {
  margin-top: 1.4rem;
  padding: 1rem 1.3rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.coupon-code {
  display: inline-block;
  font-family: var(--font-mono);
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
  border: 1px dashed var(--ice-yellow);
  background: rgba(247, 235, 176, 0.1);
  color: var(--ice-yellow-light);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .pricing-scroll-hint {
    display: block;
  }
  .pricing-grid {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: minmax(252px, 76vw);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.85rem 0.15rem 1rem;
  }
  .plan-card {
    scroll-snap-align: start;
  }
}

/* ================================
   Feature Bento Grid & Clients
   ================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

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

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 252, 232, 0.15), rgba(247, 235, 176, 0.08));
  border: 1px solid rgba(247, 235, 176, 0.38);
  color: var(--ice-yellow);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.95rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  font-weight: 700;
}

.card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.client-strip {
  margin-top: 1.8rem;
  padding: 1.15rem 1.4rem;
  border-radius: var(--radius-md);
  background: rgba(11, 22, 40, 0.72);
  border: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.client-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tag-pill {
  padding: 0.34rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(247, 235, 176, 0.1);
  border: 1px solid rgba(247, 235, 176, 0.28);
  color: var(--ice-yellow-light);
}

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

/* ================================
   Tables (Node Matrix & Comparison)
   ================================ */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-surface-strong);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  text-align: left;
}

th,
td {
  padding: 0.92rem 1.1rem;
  border-bottom: 1px solid rgba(73, 189, 232, 0.14);
  font-size: 0.92rem;
}

th {
  background: rgba(247, 235, 176, 0.08);
  color: var(--ice-yellow);
  font-weight: 700;
  white-space: nowrap;
}

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

tbody tr:hover {
  background: rgba(247, 235, 176, 0.04);
}

.badge-ok {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(247, 235, 176, 0.14);
  color: var(--ice-yellow-light);
}

/* ================================
   Articles Hub Grid
   ================================ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.article-card {
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--ice-yellow);
}

.article-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.article-cat {
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
  background: rgba(247, 235, 176, 0.13);
  border: 1px solid rgba(247, 235, 176, 0.24);
  color: var(--ice-yellow);
  font-weight: 700;
}

.article-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--text-main);
}

.article-card h3 a {
  color: var(--ice-yellow-light);
}

.article-card h3 a:hover {
  color: var(--ice-yellow);
}

.article-card p {
  margin: 0 0 1rem;
  font-size: 0.89rem;
  color: var(--text-soft);
  flex-grow: 1;
}

.kw-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.kw-chip {
  font-size: 0.74rem;
  padding: 0.15rem 0.48rem;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.article-readmore {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ice-yellow);
}

@media (max-width: 960px) {
  .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   User Reviews Grid
   ================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.review-card {
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border);
}

.review-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.review-user strong {
  display: block;
  font-size: 0.96rem;
}

.review-user span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.review-stars {
  color: var(--amber);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

.review-quote {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  flex-grow: 1;
}

.review-plan {
  font-size: 0.76rem;
  color: var(--ice-yellow);
  font-weight: 600;
}

@media (max-width: 960px) {
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   Pure HTML5 <details> FAQ Accordion
   ================================ */
.faq-list {
  display: grid;
  gap: 0.85rem;
  max-width: 920px;
  margin-inline: auto;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: var(--ice-yellow);
  background: var(--bg-surface-strong);
  box-shadow: 0 10px 28px rgba(247, 235, 176, 0.08);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 3rem 1.15rem 1.35rem;
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  user-select: none;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--ice-yellow);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--ice-yellow-light);
}

.faq-answer {
  padding: 0 1.35rem 1.2rem;
  color: var(--text-soft);
  font-size: 0.94rem;
  border-top: 1px solid rgba(247, 235, 176, 0.16);
  padding-top: 0.95rem;
}

.faq-answer p {
  margin: 0;
}

/* ================================
   External Links Ecosystem Section
   ================================ */
.ext-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
}

.ext-link-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.05rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-main);
}

.ext-link-card:hover {
  border-color: var(--ice-yellow);
  transform: translateY(-2px);
}

.ext-link-title {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--ice-yellow);
}

.ext-link-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .ext-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .ext-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   Bottom CTA Banner & Footer
   ================================ */
.cta-banner {
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(125deg, rgba(247, 235, 176, 0.12), rgba(91, 124, 250, 0.12), rgba(14, 29, 52, 0.95));
  border: 1px solid var(--border-strong);
  text-align: center;
  box-shadow: var(--shadow-glow);
}

.cta-banner h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
}

.cta-banner p {
  margin: 0 auto 1.45rem;
  max-width: 650px;
  color: var(--text-soft);
}

.site-footer {
  margin-top: 3rem;
  padding: 2.6rem 0 2rem;
  border-top: 1px solid var(--border);
  background: rgba(4, 8, 17, 0.85);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.6rem;
  margin-bottom: 1.8rem;
}

.footer-col h4 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.86rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--ice-yellow);
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(73, 189, 232, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   Article Detail Page Layout
   ================================ */
.article-wrap {
  padding: 2.2rem 0 4rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.breadcrumb a {
  color: var(--text-soft);
}

.breadcrumb a:hover {
  color: var(--ice-yellow);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 1.8rem;
  align-items: start;
}

.article-main {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-glow);
}

.article-header {
  padding-bottom: 1.35rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(73, 189, 232, 0.18);
}

.article-header h1 {
  margin: 0.7rem 0 0.85rem;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  line-height: 1.3;
  font-weight: 800;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.article-body h2 {
  margin: 2rem 0 0.8rem;
  font-size: 1.32rem;
  color: var(--ice-yellow-light);
  padding-left: 0.75rem;
  border-left: 3px solid var(--ice-yellow);
}

.article-body h3 {
  margin: 1.4rem 0 0.6rem;
  font-size: 1.08rem;
  color: var(--text-main);
}

.article-body p {
  margin: 0 0 1.05rem;
  color: var(--text-soft);
  text-align: justify;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.15rem;
  padding-left: 1.35rem;
  color: var(--text-soft);
}

.article-body li {
  margin-bottom: 0.45rem;
}

.article-body a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-cta-box {
  margin: 1.8rem 0;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(125deg, rgba(247, 235, 176, 0.11), rgba(91, 124, 250, 0.09));
  border: 1px solid var(--border-strong);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.article-cta-box h3 {
  margin: 0 0 0.25rem;
  color: var(--text-main);
}

.article-cta-box p {
  margin: 0;
  font-size: 0.9rem;
}

.article-pager {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(130, 168, 224, 0.18);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pager-link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(8, 17, 32, 0.85);
  border: 1px solid var(--border);
  text-decoration: none !important;
}

.pager-link:hover {
  border-color: var(--ice-yellow);
}

.pager-dir {
  font-size: 0.76rem;
  color: var(--ice-yellow);
  font-weight: 700;
}

.pager-title {
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 600;
}

.article-sidebar {
  display: grid;
  gap: 1.2rem;
  position: sticky;
  top: 90px;
}

.side-box {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface-strong);
  border: 1px solid var(--border);
}

.side-box h3 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
  color: var(--ice-yellow);
}

.side-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.side-links a {
  display: block;
  font-size: 0.87rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.side-links a:hover {
  color: var(--ice-yellow-light);
}

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

@media (max-width: 640px) {
  .article-main {
    padding: 1.3rem 1.1rem;
  }
  .article-pager {
    grid-template-columns: 1fr;
  }
}
