:root {
  --bg: #0a1020;
  --bg-soft: #10192e;
  --panel: rgba(17, 27, 49, 0.9);
  --panel-soft: rgba(27, 40, 70, 0.82);
  --line: rgba(103, 159, 255, 0.18);
  --text: #f3f7ff;
  --muted: #95a5c4;
  --accent: #4e9cff;
  --accent-2: #63f0ff;
  --shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(99, 240, 255, 0.12), transparent 20%),
    radial-gradient(circle at top right, rgba(78, 156, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #08101d 0%, #0d1628 50%, #09111f 100%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.sub-container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.sub-topbar {
  text-align: center;
  padding: 8px 14px;
  background: rgba(99, 240, 255, 0.08);
  color: #9bdcff;
  font-size: 13px;
}

.sub-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(8, 16, 29, 0.8);
}

.sub-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,240,255,0.25), transparent);
}

.sub-header-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.sub-brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.sub-brand strong { display: block; font-size: 16px; }
.sub-brand span { font-size: 12px; color: var(--muted); }

.sub-nav {
  display: flex;
  gap: 28px;
  color: #b9c7e2;
  font-size: 14px;
}

.sub-lang-toggle {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}

.sub-hero {
  padding: 72px 0 56px;
}

.sub-hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 38px;
  align-items: center;
}

.hero-label {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(99, 240, 255, 0.08);
  color: #8bdfff;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.sub-hero-copy h1 {
  margin: 16px 0 14px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.sub-hero-copy p {
  margin: 0;
  max-width: 560px;
  color: var(--muted);
  line-height: 1.85;
}

.sub-hero-actions,
.sub-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.sub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
}

.sub-btn-primary {
  background: linear-gradient(135deg, #3e8cff, #63f0ff);
  color: #07111e;
  font-weight: 700;
}

.sub-btn-secondary {
  background: rgba(255,255,255,0.04);
  border-color: var(--line);
  color: var(--text);
}

.sub-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.sub-chips span {
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  color: #cfe5ff;
  font-size: 13px;
}

.sub-hero-panel {
  min-height: 340px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(18, 31, 59, 0.95), rgba(12, 20, 38, 0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.sub-orbit {
  position: absolute;
  inset: 20px;
  border-radius: 999px;
  border: 1px dashed rgba(99,240,255,0.22);
}

.sub-panel-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  height: 100%;
  align-content: center;
}

.sub-panel-grid article,
.route-card,
.compact-card,
.sub-post-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.sub-panel-grid article {
  border-radius: 20px;
  padding: 18px;
}

.sub-panel-grid span {
  display: inline-flex;
  color: #8bdfff;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}

.sub-panel-grid strong {
  display: block;
  font-size: 21px;
}

.sub-section {
  padding: 42px 0;
}

.sub-section-soft {
  background: rgba(255,255,255,0.02);
}

.sub-section-head {
  max-width: 700px;
  margin-bottom: 22px;
}

.sub-section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 42px);
}

.sub-section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.routes-grid,
.cards-grid-compact,
.sub-post-grid,
.sub-footer-row {
  display: grid;
  gap: 18px;
}

.routes-grid,
.cards-grid-compact,
.sub-post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.route-card,
.compact-card,
.sub-post-card {
  border-radius: 18px;
  padding: 22px;
}

.route-card strong,
.compact-card h3,
.sub-post-card h3 {
  display: block;
  margin: 0 0 10px;
  font-size: 22px;
}

.route-card p,
.compact-card p,
.sub-post-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.route-card .sub-btn {
  width: 100%;
  margin-top: 16px;
}

.sub-post-card img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin-bottom: 14px;
}

.sub-post-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #8bdfff;
  font-size: 13px;
}

.synonym-section {
  background: rgba(255,255,255,0.02);
}

.synonym-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.synonym-grid article {
  padding: 18px;
  border-radius: 16px;
  background: rgba(17, 27, 49, 0.84);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.synonym-grid strong {
  display: block;
  font-size: 20px;
  margin-bottom: 10px;
}

.synonym-grid span {
  display: block;
  color: var(--muted);
  line-height: 1.75;
  font-size: 13px;
}


.sub-cta {
  padding: 48px 0 64px;
}

  padding: 32px;
  background: linear-gradient(180deg, rgba(18,31,59,0.96), rgba(12,20,38,0.92));
  border: 1px solid var(--line);
  text-align: center;
  box-shadow: var(--shadow);
}

.sub-cta-box h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 40px);
}

.sub-cta-box p {
  margin: 0;
  color: var(--muted);
}

.sub-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0 28px;
  color: var(--muted);
  font-size: 13px;
}

.sub-footer-row {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.sub-footer-links {
  display: flex;
  gap: 18px;
}

.topic-category-block {
  margin-top: 26px;
}

.topic-category-block h3 {
  margin: 0 0 14px;
  font-size: 24px;
  color: #dceaff;
}

.topic-hub-section {
  background: rgba(255,255,255,0.015);
}

.topic-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.topic-hub-card {
  display: block;
  padding: 18px;
  border-radius: 16px;
  background: rgba(17, 27, 49, 0.84);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.topic-hub-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.topic-hub-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 980px) {
  .sub-hero-grid,
  .routes-grid,
  .cards-grid-compact,
  .sub-post-grid,
  .sub-footer-row,
  .synonym-grid {
    grid-template-columns: 1fr;
  }

  .topic-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .sub-container { width: min(100% - 24px, 1140px); }
  .sub-header-row { flex-wrap: wrap; }
  .sub-nav { flex-wrap: wrap; gap: 14px; }
  .sub-hero-copy h1 { font-size: 38px; }
  .sub-btn { width: 100%; }
  .topic-hub-grid { grid-template-columns: 1fr; }
}
