/* ============================================================
   NEXUS — Pure Dating / Social Platform
   Color system: warm rose, plum, cream, charcoal
   ============================================================ */

:root {
  --bg:            #fdf8f6;
  --bg-alt:        #fff;
  --surface:       #ffffff;
  --surface-2:     #fbf1ee;
  --border:        #f0e2dd;
  --border-strong: #e5ccc4;

  --text:          #2a1f1e;
  --text-muted:    #8a7370;
  --text-soft:     #b39e99;

  --accent:        #e0446a;   /* primary rose */
  --accent-dark:   #b82f52;
  --accent-soft:   #fde8ee;
  --accent-2:      #8e44ad;   /* plum */
  --accent-2-soft: #f3e8fa;
  --accent-3:      #ff7a45;   /* warm coral */
  --success:       #2e9e6b;

  --radius:        16px;
  --radius-sm:     10px;
  --radius-pill:   999px;

  --shadow-sm:     0 2px 8px rgba(80, 30, 40, .06);
  --shadow-md:     0 10px 30px rgba(80, 30, 40, .10);
  --shadow-lg:     0 30px 80px rgba(80, 30, 40, .18);

  --font-display:  'Georgia', 'Times New Roman', serif;
  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --transition:    .25s cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.15;
  margin: 0;
}

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 22px;
  background: var(--bg);
  transition: opacity .5s ease, visibility .5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.loader-logo { font-family: var(--font-display); font-size: 1.8rem; letter-spacing: .1em; }
.loader-logo .part-left { color: var(--text); }
.loader-logo .part-right { color: var(--accent); }
.loader-bar {
  width: 120px; height: 3px; border-radius: 999px;
  background: var(--border);
  position: relative; overflow: hidden;
}
.loader-bar::after {
  content: ''; position: absolute; inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: loaderSlide 1.2s ease-in-out infinite;
}
@keyframes loaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 5%;
  background: rgba(253, 248, 246, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}
.navbar.scrolled { border-bottom-color: var(--border); background: rgba(253, 248, 246, .95); }
.logo { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .08em; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 34px; }
.nav-links a {
  font-size: .9rem; color: var(--text-muted);
  position: relative; transition: color var(--transition);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--text); }

@media (max-width: 860px) {
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 10px 5% 24px;
    transform: translateY(-120%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-md);
  }
  .nav-links.active { transform: translateY(0); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .menu-toggle { display: block; }
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  padding: 14px 30px; border-radius: var(--radius-pill);
  font-size: .95rem; font-weight: 600;
  box-shadow: 0 8px 24px rgba(224, 68, 106, .35);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(224, 68, 106, .45);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  padding: 13px 28px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  font-size: .95rem; font-weight: 600;
  transition: all var(--transition);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* ---------- Hero ---------- */
.hero-banner {
  position: relative; height: 100vh; min-height: 640px;
  overflow: hidden;
}
.slide-container { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
  transition: transform 6s ease;
}
.hero-slide.active .hero-slide-bg { transform: scale(1); }
.hero-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(30, 15, 20, .82) 0%, rgba(30, 15, 20, .45) 50%, rgba(30, 15, 20, .15) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 8%; max-width: 720px;
  color: #fff;
}
.hero-tag {
  display: inline-block; align-self: flex-start;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: #ffd6e0;
  background: rgba(224, 68, 106, .25);
  border: 1px solid rgba(255, 214, 224, .35);
  padding: 6px 16px; border-radius: var(--radius-pill);
  margin-bottom: 22px;
}
.hero-content h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  color: #fff; margin-bottom: 22px;
}
.hero-content p {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, .82);
  max-width: 480px; margin-bottom: 34px;
}
.hero-content .btn-primary { align-self: flex-start; }

.slider-dots {
  position: absolute; bottom: 34px; left: 8%; z-index: 3;
  display: flex; gap: 10px;
}
.dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  cursor: pointer; transition: all var(--transition);
}
.dot.active { background: var(--accent); width: 28px; border-radius: 999px; }

.slider-controls {
  position: absolute; bottom: 30px; right: 8%; z-index: 3;
  display: flex; gap: 10px;
}
.slider-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .1);
  color: #fff; font-size: 1rem; cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all var(--transition);
}
.slider-btn:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- Generic section ---------- */
.section-container { padding: 100px 8%; max-width: 1400px; margin: 0 auto; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 14px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

/* ---------- Featured story / video ---------- */
.featured-doc {
  padding: 100px 8%;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}
.featured-doc-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
@media (max-width: 900px) { .featured-doc-inner { grid-template-columns: 1fr; gap: 40px; } }
.doc-tag {
  display: inline-block;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 16px;
}
.doc-text h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 18px; }
.doc-text p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 28px; max-width: 440px; }
.gradient-text {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.doc-btn {
  background: var(--accent); color: #fff;
  border: none; padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: .95rem; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: all var(--transition);
  box-shadow: 0 8px 24px rgba(224, 68, 106, .3);
}
.doc-btn:hover { background: var(--accent-dark); transform: translateY(-2px); }
.doc-video-wrap {
  position: relative; border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 16/10;
  box-shadow: var(--shadow-lg);
}
.doc-video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.doc-video-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 24px;
  background: linear-gradient(180deg, transparent 50%, rgba(20, 10, 15, .7) 100%);
  cursor: pointer;
}
.doc-video-hint {
  color: #fff; font-size: .85rem; font-weight: 600;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  padding: 10px 22px; border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  transition: background var(--transition);
}
.doc-video-overlay:hover .doc-video-hint { background: var(--accent); border-color: var(--accent); }

/* ---------- Trend / stats ---------- */
.trend-layout {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 64px; align-items: center;
}
@media (max-width: 900px) { .trend-layout { grid-template-columns: 1fr; gap: 40px; } }
.trend-text h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 20px; }
.trend-text p { color: var(--text-muted); margin-bottom: 18px; }
.trend-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.stat-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
}
.stat-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.stat-card .num {
  font-family: var(--font-display);
  font-size: 2rem; color: var(--accent);
  margin-bottom: 8px;
}
.stat-card .lbl { font-size: .85rem; color: var(--text-muted); line-height: 1.4; }

/* ---------- Personality cards (was vehicles) ---------- */
.vehicle-slider-wrapper { overflow: hidden; padding: 0 5%; }
.vehicle-track {
  display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px 0 30px;
  scrollbar-width: none;
}
.vehicle-track::-webkit-scrollbar { display: none; }
.vehicle-card {
  position: relative; flex: 0 0 320px;
  height: 420px; border-radius: var(--radius);
  overflow: hidden; scroll-snap-align: start;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.vehicle-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.vehicle-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .6s ease;
}
.vehicle-card:hover .vehicle-bg { transform: scale(1.06); }
.vehicle-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(30, 15, 20, .85) 100%);
}
.vehicle-info {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px; color: #fff;
}
.vehicle-info h3 { font-size: 1.4rem; margin-bottom: 6px; }
.vehicle-info p { font-size: .85rem; color: rgba(255, 255, 255, .78); }

/* ---------- Ecosystem rows ---------- */
.ecosystem-section { position: relative; padding: 100px 8%; background: var(--surface-2); }
.eco-content { max-width: 1100px; margin: 0 auto; }
.eco-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center; margin-bottom: 72px;
}
.eco-row.reverse .eco-text { order: 2; }
@media (max-width: 860px) {
  .eco-row, .eco-row.reverse { grid-template-columns: 1fr; gap: 24px; }
  .eco-row.reverse .eco-text { order: 0; }
}
.eco-text h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-bottom: 14px; }
.eco-text p { color: var(--text-muted); }
.eco-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.eco-image img { width: 100%; height: 320px; object-fit: cover; }

/* ---------- Gallery ---------- */
.nev-gallery-section { padding: 100px 8%; max-width: 1400px; margin: 0 auto; }
.nev-gallery-header { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.nev-gallery-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 12px; }
.nev-gallery-header p { color: var(--text-muted); }
.nev-gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 860px) { .nev-gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .nev-gallery-grid { grid-template-columns: 1fr; } }
.nev-gallery-item {
  border-radius: var(--radius-sm); overflow: hidden;
  aspect-ratio: 4/3;
}
.nev-gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.nev-gallery-item:hover img { transform: scale(1.06); }

/* ---------- Compatibility tree ---------- */
.tech-tree-section { padding: 100px 6% 60px; max-width: 1300px; margin: 0 auto; }
.tech-tree-header { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.tech-tree-header h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 14px; }
.tech-tree-header p { color: var(--text-muted); }

.tech-stats-hero {
  display: flex; justify-content: center; align-items: center;
  gap: 34px; flex-wrap: wrap; margin-bottom: 40px;
}
.stat-float { text-align: center; }
.stat-float .stat-number {
  font-family: var(--font-display);
  font-size: 2rem; color: var(--accent);
}
.stat-float .stat-number span { color: var(--accent-2); }
.stat-float .stat-text { font-size: .78rem; color: var(--text-muted); letter-spacing: .04em; }
.stat-divider { width: 1px; height: 36px; background: var(--border-strong); }

.tech-legend {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px; margin-bottom: 40px;
}
.legend-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 7px 16px; border-radius: var(--radius-pill);
  cursor: pointer; transition: all var(--transition);
}
.legend-item:hover { border-color: var(--accent); color: var(--text); }
.legend-dot { width: 9px; height: 9px; border-radius: 50%; }

.tree-canvas {
  position: relative; overflow-x: auto;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 10px;
  box-shadow: var(--shadow-sm);
}
.tree-inner {
  position: relative;
  width: 960px; height: 900px;
  margin: 0 auto;
}
.tree-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.tree-line {
  fill: none; stroke-width: 2;
  opacity: .45; transition: opacity var(--transition), stroke-width var(--transition);
}
.tree-line.highlighted { opacity: 1; stroke-width: 3; }
.tree-line.dimmed { opacity: .1; }

.tree-node {
  position: absolute;
  width: 170px;
  background: var(--surface);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.tree-node:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tree-node.dimmed { opacity: .25; }
.tree-node.locked { opacity: .6; border-style: dashed; }
.node-cat {
  font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 6px;
}
.node-name { font-family: var(--font-display); font-size: 1rem; margin-bottom: 4px; }
.node-year { font-size: .74rem; color: var(--text-soft); margin-bottom: 8px; }
.node-status {
  display: inline-block;
  font-size: .62rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: var(--radius-pill);
  background: var(--accent-soft); color: var(--accent);
  font-weight: 600;
}
.tree-node.locked .node-status { background: var(--surface-2); color: var(--text-soft); }

/* ---------- Branch editorial ---------- */
.branch-editorial { padding: 80px 8%; max-width: 1200px; margin: 0 auto; }
.editorial-header { text-align: center; max-width: 620px; margin: 0 auto 64px; }
.editorial-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 12px; }
.editorial-header p { color: var(--text-muted); }
.branch-list { display: flex; flex-direction: column; gap: 56px; }
.branch-row {
  display: grid; grid-template-columns: 320px 1fr;
  gap: 48px; align-items: center;
}
.branch-row.reverse { grid-template-columns: 1fr 320px; }
.branch-row.reverse .branch-visual { order: 2; }
@media (max-width: 860px) {
  .branch-row, .branch-row.reverse { grid-template-columns: 1fr; gap: 24px; }
  .branch-row.reverse .branch-visual { order: 0; }
}
.branch-visual {
  position: relative; height: 240px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 60%, #1a1012));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.giant-num {
  position: absolute; top: 10px; left: 18px;
  font-family: var(--font-display);
  font-size: 3.6rem; color: rgba(255, 255, 255, .18);
}
.branch-icon { font-size: 3.2rem; filter: drop-shadow(0 4px 12px rgba(0,0,0,.3)); }
.visual-glow {
  position: absolute; width: 180px; height: 180px;
  border-radius: 50%; background: rgba(255, 255, 255, .18);
  filter: blur(30px);
}
.branch-info h3 { font-size: 1.5rem; margin-bottom: 12px; }
.branch-info p { color: var(--text-muted); margin-bottom: 16px; }
.tag-line { font-size: .85rem; color: var(--text-soft); }
.tag-line span { color: var(--accent); font-weight: 600; }

/* ---------- Orbital timeline ---------- */
.orbital-timeline { padding: 80px 8%; max-width: 1100px; margin: 0 auto; }
.orbital-header { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.orbital-header h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 12px; }
.orbital-header p { color: var(--text-muted); }
.orbital-track {
  position: relative; padding-left: 40px;
  border-left: 2px solid var(--border-strong);
}
.orbital-item {
  position: relative; padding: 0 0 44px 36px;
}
.orbital-item:last-child { padding-bottom: 0; }
.o-node {
  position: absolute; left: -9px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--c);
  border: 3px solid var(--bg-alt);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 25%, transparent);
}
.o-year {
  font-family: var(--font-display);
  font-size: .9rem; color: var(--c);
  font-weight: 700; margin-bottom: 4px;
}
.o-content h4 { font-size: 1.15rem; margin-bottom: 6px; }
.o-content p { color: var(--text-muted); font-size: .92rem; }

/* ---------- Glass CTA ---------- */
.glass-cta-section { padding: 80px 8%; max-width: 1100px; margin: 0 auto; }
.glass-cta-box {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 30px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-2-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  overflow: hidden;
}
.cta-orb {
  position: absolute; right: -60px; top: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 68, 106, .25), transparent 70%);
}
.cta-text { position: relative; z-index: 1; max-width: 560px; }
.cta-text h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 12px; }
.cta-text p { color: var(--text-muted); }
.cta-btn-modern {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center;
  background: var(--text); color: #fff;
  padding: 15px 32px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: .95rem;
  transition: all var(--transition);
}
.cta-btn-modern:hover { background: var(--accent); transform: translateY(-2px); }

/* ---------- Node detail overlay ---------- */
.node-detail-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(30, 15, 20, .6);
  backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.node-detail-overlay.active { opacity: 1; visibility: visible; }
.node-detail-card {
  position: relative;
  width: 100%; max-width: 640px; max-height: 85vh; overflow-y: auto;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px);
  transition: transform var(--transition);
}
.node-detail-overlay.active .node-detail-card { transform: translateY(0); }
.node-detail-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none;
  font-size: 1.8rem; line-height: 1;
  color: var(--text-muted); cursor: pointer;
  transition: color var(--transition);
}
.node-detail-close:hover { color: var(--accent); }
.detail-tag {
  display: inline-block;
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 14px; border-radius: var(--radius-pill);
  font-weight: 700; margin-bottom: 16px;
}
.detail-title { font-size: 1.7rem; margin-bottom: 6px; }
.detail-year { font-size: .82rem; color: var(--text-soft); margin-bottom: 18px; }
.detail-desc { color: var(--text-muted); line-height: 1.7; margin-bottom: 26px; }
.detail-section-title {
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text); font-weight: 700; margin-bottom: 14px;
}
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 26px; }
@media (max-width: 480px) { .spec-grid { grid-template-columns: 1fr; } }
.spec-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.spec-key { font-size: .72rem; color: var(--text-soft); margin-bottom: 4px; }
.spec-val { font-size: .92rem; font-weight: 600; color: var(--text); }
.detail-list { margin: 0 0 26px; padding-left: 20px; color: var(--text-muted); }
.detail-list li { margin-bottom: 8px; line-height: 1.6; }
.model-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.model-chip {
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: .8rem; font-weight: 600;
  padding: 6px 14px; border-radius: var(--radius-pill);
}

/* ---------- Subscribe ---------- */
.subscribe-container {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 64px; align-items: center;
  padding: 100px 8%; max-width: 1200px; margin: 0 auto;
}
@media (max-width: 900px) { .subscribe-container { grid-template-columns: 1fr; gap: 40px; } }
.subscribe-benefits h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 16px; }
.subscribe-benefits > p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 30px; }
.benefit-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.benefit-list li { display: flex; gap: 14px; align-items: flex-start; }
.benefit-list .icon { color: var(--accent); font-size: 1.1rem; line-height: 1.5; }
.benefit-list strong { color: var(--text); }
.benefit-list div { color: var(--text-muted); font-size: .95rem; }

.subscribe-form-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.subscribe-form-card h2 { font-size: 1.5rem; margin-bottom: 8px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: .8rem; font-weight: 600;
  color: var(--text); margin-bottom: 7px;
}
.form-control {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-family: inherit; font-size: .95rem; color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-control::placeholder { color: var(--text-soft); }
.btn-submit {
  width: 100%; margin-top: 8px;
  background: var(--accent); color: #fff;
  border: none; padding: 15px;
  border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-submit:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* ---------- Footer ---------- */
.site-footer {
  background: #1d1214;
  color: rgba(255, 255, 255, .7);
  padding: 64px 8% 40px;
}
.footer-grid { max-width: 1200px; margin: 0 auto 40px; }
.footer-logo {
  font-family: var(--font-display); font-size: 1.4rem;
  color: #fff; letter-spacing: .08em; margin-bottom: 14px;
}
.footer-logo span { color: var(--accent); }
.footer-grid p { max-width: 460px; font-size: .92rem; line-height: 1.7; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 28px;
}
#footerCopyright { font-size: .85rem; color: rgba(255, 255, 255, .5); }
.footer-legal-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .7);
  padding: 8px 18px; border-radius: var(--radius-pill);
  font-size: .82rem; font-family: inherit; cursor: pointer;
  transition: all var(--transition);
}
.footer-legal-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Video modal ---------- */
.video-modal {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(20, 10, 15, .85);
  backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.video-modal.active { opacity: 1; visibility: visible; }
.video-modal-content {
  position: relative; width: 100%; max-width: 960px;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.video-modal-content video { width: 100%; display: block; background: #000; }
.video-modal-close {
  position: absolute; top: 10px; right: 14px; z-index: 2;
  background: rgba(0, 0, 0, .5); color: #fff;
  border: none; width: 40px; height: 40px; border-radius: 50%;
  font-size: 1.4rem; line-height: 1; cursor: pointer;
  transition: background var(--transition);
}
.video-modal-close:hover { background: var(--accent); }

/* ---------- Utility ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
/* ============================================================
   Language switcher (custom)
   ============================================================ */
.lang-switcher {
  display: flex;
  align-items: center;
  margin-left: 18px;
}
.lang-switcher select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 7px 30px 7px 14px;
  font-family: inherit;
  font-size: .82rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%238a7370' d='M0 0l5 6 5-6z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.lang-switcher select:hover { border-color: var(--accent); }
.lang-switcher select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.lang-switcher-floating {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 1001;
}

@media (max-width: 860px) {
  .lang-switcher { margin-left: 10px; }
  .lang-switcher select { font-size: .78rem; padding: 6px 26px 6px 12px; }
}

/* ============================================================
   Kill any Google Translate UI (safety net)
   ============================================================ */
#google_translate_element,
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.goog-te-gadget,
.skiptranslate {
  display: none !important;
  visibility: hidden !important;
}
body { top: 0 !important; }
/* ============================================================
   隐藏 Google 翻译的所有可见 UI，只保留翻译能力
   ============================================================ */

/* 顶部横幅 */
.goog-te-banner-frame,
iframe.goog-te-banner-frame {
  display: none !important;
  visibility: hidden !important;
}

/* 悬浮工具条 /  gadget */
.goog-te-gadget,
.goog-te-gadget-simple,
.goog-te-menu-value {
  display: none !important;
}

/* 隐藏容器（虽然 JS 已经设了 position:absolute，这里再保险一层） */
#google_translate_element {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Google 会给 body 加 top:40px 来给横幅让位，去掉它 */
body {
  top: 0 !important;
  position: static !important;
}

/* 隐藏 Google 翻译的悬浮球（如果有） */
.skiptranslate > iframe {
  display: none !important;
}