/* =========================================
   Nexus NEV — Global Stylesheet (Complete)
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    --bg-base: #f4f7f9;
    --bg-dark: #0f172a;
    --accent-green: #10b981;
    --accent-blue: #0ea5e9;
    --accent-purple: #8b5cf6;
    --accent-orange: #f59e0b;
    --accent-pink: #ec4899;
    --accent-gradient: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    --text-main: #0f172a;
    --text-muted: #5b6b82;
    --border: rgba(15, 23, 42, 0.08);
    --shadow-soft: 0 10px 40px -10px rgba(15, 23, 42, 0.08);
    --radius-lg: 24px;
    --radius-md: 16px;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg-base); color: var(--text-main); font-family: var(--font-body); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

/* =========================================
   Preloader
   ========================================= */
#preloader { position: fixed; inset: 0; z-index: 10000; background: #f4f7f9; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: opacity 0.6s ease, visibility 0.6s ease; }
#preloader.hidden { opacity: 0; visibility: hidden; }
.loader-logo { display: flex; font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; letter-spacing: 4px; }
.loader-logo .part-left { animation: splitLeft 1.5s infinite ease-in-out; }
.loader-logo .part-right { color: var(--accent-blue); animation: splitRight 1.5s infinite ease-in-out; }
@keyframes splitLeft { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-15px); } }
@keyframes splitRight { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(15px); } }
.loader-bar { position: absolute; bottom: 0; left: 0; height: 3px; width: 0%; background: var(--accent-gradient); animation: loadBar 1.5s ease forwards; }
@keyframes loadBar { to { width: 100%; } }

/* =========================================
   Navbar
   ========================================= */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; display: flex; align-items: center; justify-content: space-between; padding: 15px 5%; background: rgba(255,255,255,0.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: 1px; z-index: 1001; }
.logo span { color: var(--accent-blue); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 0.95rem; font-weight: 600; color: var(--text-muted); transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-blue); }
.menu-toggle { display: none; font-size: 1.8rem; color: var(--text-main); cursor: pointer; z-index: 1001; }

/* =========================================
   Universal Buttons & Sections
   ========================================= */
.btn-primary { display: inline-block; padding: 16px 36px; background: var(--accent-blue); color: #fff; font-weight: 600; border-radius: 30px; transition: background 0.3s, transform 0.3s; text-align: center; }
.btn-primary:hover { background: #0284c7; transform: translateY(-2px); }
.section-container { max-width: 1400px; margin: 0 auto; padding: 80px 5%; }
.section-header { margin-bottom: 50px; }
.section-header h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 15px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; }

/* =========================================
   Hero Banner
   ========================================= */
.hero-banner { position: relative; height: 100vh; min-height: 500px; width: 100%; overflow: hidden; background: #000; }
.slide-container { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease-in-out; display: flex; align-items: center; }
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); transition: transform 6s linear; }
.hero-slide.active .hero-slide-bg { transform: scale(1); }
.hero-slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.6) 60%, rgba(15,23,42,0.2) 100%); }
.hero-content { position: relative; z-index: 10; max-width: 800px; padding: 0 6%; color: #ffffff; transform: translateY(30px); opacity: 0; transition: all 0.8s ease 0.3s; }
.hero-slide.active .hero-content { transform: translateY(0); opacity: 1; }
.hero-tag { display: inline-block; padding: 6px 14px; margin-bottom: 20px; background: rgba(16, 185, 129, 0.2); border: 1px solid var(--accent-green); color: var(--accent-green); font-size: 0.8rem; font-weight: 600; border-radius: 20px; letter-spacing: 1px; text-transform: uppercase; }
.hero-content h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 4.5rem); line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
.hero-content p { font-size: clamp(0.95rem, 2vw, 1.1rem); color: rgba(255,255,255,0.8); margin-bottom: 30px; max-width: 600px; }
.slider-controls { position: absolute; bottom: 30px; right: 5%; z-index: 20; display: flex; gap: 10px; }
.slider-btn { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1rem; backdrop-filter: blur(10px); transition: all 0.3s; }
.slider-btn:hover { background: rgba(255,255,255,0.3); }
.slider-dots { position: absolute; bottom: 40px; left: 6%; z-index: 20; display: flex; gap: 8px; }
.dot { width: 20px; height: 4px; background: rgba(255,255,255,0.3); border-radius: 2px; cursor: pointer; transition: background 0.3s; }
.dot.active { background: var(--accent-green); width: 40px; }

/* =========================================
   Trend
   ========================================= */
.trend-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.trend-text h3 { font-size: 1.6rem; margin-bottom: 20px; font-family: var(--font-display); }
.trend-text p { color: var(--text-muted); font-size: 1rem; line-height: 1.8; margin-bottom: 20px; }
.trend-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.stat-card { background: #fff; padding: 25px; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-soft); text-align: center; }
.stat-card .num { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; color: var(--accent-blue); margin-bottom: 10px; }
.stat-card .lbl { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

/* =========================================
   Vehicles
   ========================================= */
.vehicle-slider-wrapper { position: relative; overflow: hidden; padding-bottom: 40px; }
.vehicle-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px 6%; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.vehicle-track::-webkit-scrollbar { display: none; }
.vehicle-card { flex: 0 0 min(85vw, 400px); scroll-snap-align: center; position: relative; height: 450px; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; box-shadow: var(--shadow-soft); }
.vehicle-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.6s ease; }
.vehicle-card:hover .vehicle-bg { transform: scale(1.08); }
.vehicle-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(15,23,42,0.9) 100%); }
.vehicle-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 25px; color: #fff; }
.vehicle-info h3 { font-size: 1.4rem; margin-bottom: 5px; font-family: var(--font-display); }
.vehicle-info p { font-size: 0.9rem; color: rgba(255,255,255,0.7); }

/* =========================================
   Ecosystem
   ========================================= */
.ecosystem-section { background: url('https://images.unsplash.com/photo-1558442074-3c19857bc1dc?auto=format&fit=crop&w=1920&q=80') no-repeat center center fixed; background-size: cover; position: relative; padding: 80px 0; }
.eco-bg-overlay { position: absolute; inset: 0; background: rgba(244, 247, 249, 0.9); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }
.eco-content { position: relative; z-index: 10; max-width: 1200px; margin: 0 auto; padding: 0 5%; display: flex; flex-direction: column; gap: 50px; }
.eco-row { display: flex; align-items: center; gap: 40px; }
.eco-row.reverse { flex-direction: row-reverse; }
.eco-text { flex: 1; padding: 30px; background: rgba(255,255,255,0.95); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); border: 1px solid #fff; }
.eco-text h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 15px; color: var(--text-main); }
.eco-text p { color: var(--text-muted); font-size: 1rem; line-height: 1.7; }
.eco-image { flex: 1.2; height: 350px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.eco-image img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================
   Gallery
   ========================================= */
.nev-gallery-section { padding: 80px 5% 120px; background: linear-gradient(180deg, var(--bg-base) 0%, #ffffff 100%); text-align: center; overflow: hidden; position: relative; }
.nev-gallery-header { margin-bottom: 60px; }
.nev-gallery-header h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--text-main); margin-bottom: 15px; }
.nev-gallery-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.nev-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; align-items: center; }
.nev-gallery-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); background: #fff; pointer-events: none; user-select: none; transform: translateY(0); }
.nev-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nev-gallery-item:nth-child(1) { height: 380px; animation: floatUp 5s ease-in-out infinite; animation-delay: 0s; }
.nev-gallery-item:nth-child(2) { height: 280px; animation: floatDown 6s ease-in-out infinite; animation-delay: 1s; }
.nev-gallery-item:nth-child(3) { height: 320px; animation: floatUp 5.5s ease-in-out infinite; animation-delay: 2s; }
.nev-gallery-item:nth-child(4) { height: 340px; animation: floatDown 7s ease-in-out infinite; animation-delay: 0.5s; }
.nev-gallery-item:nth-child(5) { height: 400px; animation: floatUp 6.5s ease-in-out infinite; animation-delay: 1.5s; }
.nev-gallery-item:nth-child(6) { height: 260px; animation: floatDown 5s ease-in-out infinite; animation-delay: 2.5s; }
@keyframes floatUp { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -20px, 0); } }
@keyframes floatDown { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, 20px, 0); } }
@media (hover: hover) and (pointer: fine) {
    .nev-gallery-item { transition: box-shadow 0.3s ease; }
    .nev-gallery-item:hover { box-shadow: 0 20px 40px -10px rgba(14, 165, 233, 0.15); z-index: 10; }
}

/* =========================================
   Tech Tree Section
   ========================================= */
.tech-tree-section { padding: 120px 5% 60px; max-width: 1400px; margin: 0 auto; }
.tech-tree-header { text-align: center; margin-bottom: 40px; }
.tech-tree-header h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 15px; }
.tech-tree-header p { color: var(--text-muted); max-width: 700px; margin: 0 auto; }
.tech-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 30px; }
.legend-item { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 30px; background: #fff; border: 1px solid var(--border); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.3s; }
.legend-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.legend-item.active { color: #fff; border-color: transparent; }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; }
.tree-canvas { position: relative; width: 100%; height: 900px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); overflow: auto; padding: 40px 20px; }
.tree-inner { position: relative; width: 1100px; height: 800px; margin: 0 auto; }
.tree-svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.tree-line { fill: none; stroke-width: 2.5; transition: all 0.3s; stroke-dasharray: 8 4; animation: flow 3s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -24; } }
.tree-line.dimmed { opacity: 0.15; }
.tree-line.highlighted { stroke-width: 4; filter: drop-shadow(0 0 8px currentColor); }
.tree-node { position: absolute; z-index: 5; width: 170px; padding: 14px 12px; background: #fff; border: 2px solid #e2e8f0; border-radius: 14px; cursor: pointer; transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.tree-node:hover { transform: translateY(-4px) scale(1.03); z-index: 10; box-shadow: 0 12px 24px rgba(0,0,0,0.12); }
.tree-node.dimmed { opacity: 0.25; }
.tree-node .node-cat { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.tree-node .node-name { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; line-height: 1.2; margin-bottom: 4px; }
.tree-node .node-year { font-size: 0.72rem; color: var(--text-muted); font-weight: 600; }
.tree-node .node-status { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 10px; font-size: 0.65rem; font-weight: 700; }
.tree-node.locked { border-style: dashed; opacity: 0.7; }
.tree-node.locked .node-status { background: rgba(245, 158, 11, 0.15); color: var(--accent-orange); }
.tree-node.unlocked .node-status { background: rgba(16, 185, 129, 0.15); color: var(--accent-green); }

/* Node Detail Overlay */
.node-detail-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.6); backdrop-filter: blur(6px); z-index: 2000; opacity: 0; pointer-events: none; transition: opacity 0.3s; display: flex; align-items: center; justify-content: center; padding: 20px; }
.node-detail-overlay.active { opacity: 1; pointer-events: auto; }
.node-detail-card { background: #fff; max-width: 640px; width: 100%; max-height: 90vh; overflow-y: auto; border-radius: var(--radius-lg); padding: 40px; position: relative; box-shadow: 0 30px 80px rgba(0,0,0,0.3); transform: translateY(20px); transition: transform 0.35s; }
.node-detail-overlay.active .node-detail-card { transform: translateY(0); }
.node-detail-close { position: absolute; top: 20px; right: 20px; font-size: 1.6rem; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-muted); background: rgba(0,0,0,0.05); transition: all 0.2s; }
.node-detail-close:hover { background: var(--accent-pink); color: #fff; transform: rotate(90deg); }
.detail-tag { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.detail-title { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 8px; }
.detail-year { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 24px; font-family: monospace; }
.detail-section-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-top: 24px; margin-bottom: 10px; }
.detail-desc { color: var(--text-main); line-height: 1.7; font-size: 0.98rem; }
.detail-list { list-style: none; padding: 0; }
.detail-list li { padding: 8px 0 8px 26px; position: relative; color: var(--text-muted); font-size: 0.95rem; border-bottom: 1px dashed var(--border); }
.detail-list li:last-child { border-bottom: none; }
.detail-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-green); font-weight: 700; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px; }
.spec-box { background: rgba(0,0,0,0.02); border: 1px solid var(--border); border-radius: 10px; padding: 12px; }
.spec-box .spec-key { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }
.spec-box .spec-val { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text-main); }
.model-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.model-chip { padding: 6px 14px; background: rgba(14, 165, 233, 0.08); border: 1px solid rgba(14, 165, 233, 0.2); border-radius: 20px; font-size: 0.82rem; font-weight: 600; color: var(--accent-blue); }

/* =========================================
   Tech Tree Redesign: Editorial & Orbital
   ========================================= */
.tech-stats-hero { display: flex; align-items: center; justify-content: center; gap: 40px; margin: 60px auto 80px; flex-wrap: wrap; max-width: 1000px; }
.stat-float { text-align: center; padding: 20px; transition: transform 0.3s; }
.stat-float:hover { transform: translateY(-5px); }
.stat-number { font-family: var(--font-display); font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 700; line-height: 1; background: linear-gradient(135deg, #0f172a 30%, #0ea5e9 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 10px; }
.stat-number span { font-size: 1.8rem; color: #10b981; -webkit-text-fill-color: #10b981; }
.stat-text { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; color: #64748b; font-weight: 600; }
.stat-divider { width: 1px; height: 60px; background: linear-gradient(180deg, transparent, rgba(14, 165, 233, 0.3), transparent); }

.branch-editorial { padding: 80px 5%; max-width: 1200px; margin: 0 auto; }
.editorial-header { text-align: center; margin-bottom: 80px; }
.editorial-header h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--text-main); letter-spacing: -1px; margin-bottom: 15px; }
.editorial-header p { color: #64748b; font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.branch-list { display: flex; flex-direction: column; gap: 60px; }
.branch-row { display: flex; align-items: center; gap: 60px; }
.branch-row.reverse { flex-direction: row-reverse; }
.branch-visual { position: relative; width: 220px; height: 220px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.giant-num { position: absolute; font-family: var(--font-display); font-size: 9rem; font-weight: 700; color: var(--c); opacity: 0.08; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1; pointer-events: none; }
.visual-glow { position: absolute; inset: 10%; background: var(--c); filter: blur(40px); opacity: 0.15; border-radius: 50%; z-index: 0; transition: opacity 0.4s; }
.branch-row:hover .visual-glow { opacity: 0.35; }
.branch-icon { position: relative; z-index: 2; font-size: 3.5rem; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1)); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.branch-row:hover .branch-icon { transform: scale(1.15) translateY(-5px); }
.branch-info { flex: 1; }
.branch-info h3 { font-family: var(--font-display); font-size: 2rem; color: var(--text-main); margin-bottom: 15px; letter-spacing: -0.5px; }
.branch-info p { font-size: 1.05rem; color: #64748b; line-height: 1.7; margin-bottom: 20px; max-width: 500px; }
.tag-line { font-family: var(--mono); font-size: 0.85rem; color: var(--c); font-weight: 600; letter-spacing: 1px; }
.tag-line span { color: #94a3b8; margin: 0 5px; }

.orbital-timeline { padding: 100px 5%; background: #fff; overflow: hidden; position: relative; }
.orbital-header { text-align: center; margin-bottom: 70px; }
.orbital-header h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 15px; }
.orbital-header p { color: #64748b; max-width: 600px; margin: 0 auto; }
.orbital-track { position: relative; max-width: 1000px; margin: 0 auto; display: flex; justify-content: space-between; }
.orbital-line { position: absolute; top: 30px; left: 5%; right: 5%; height: 2px; background: linear-gradient(90deg, #10b981, #0ea5e9, #8b5cf6, #f59e0b, #ec4899); box-shadow: 0 0 15px rgba(14, 165, 233, 0.4); z-index: 1; }
.orbital-item { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; width: 18%; transition: transform 0.3s; }
.orbital-item:hover { transform: translateY(-10px); }
.o-year { font-family: var(--mono); font-size: 1.1rem; font-weight: 700; color: var(--c); margin-bottom: 20px; }
.o-node { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--c); box-shadow: 0 0 0 6px rgba(255, 255, 255, 1), 0 0 20px var(--c); margin-bottom: 30px; transition: transform 0.3s; }
.orbital-item:hover .o-node { transform: scale(1.3); background: var(--c); }
.o-content { text-align: center; background: rgba(255,255,255,0.8); padding: 15px; border-radius: 12px; }
.o-content h4 { font-size: 1rem; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
.o-content p { font-size: 0.8rem; color: #64748b; line-height: 1.5; }

.glass-cta-section { padding: 80px 5%; max-width: 1200px; margin: 0 auto; }
.glass-cta-box { position: relative; border-radius: 32px; padding: 60px 50px; background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); border: 1px solid rgba(255, 255, 255, 0.6); box-shadow: 0 30px 60px -20px rgba(14, 165, 233, 0.15); display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; overflow: hidden; }
.cta-orb { position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 60%); top: -200px; right: -150px; pointer-events: none; }
.cta-text { position: relative; z-index: 2; max-width: 600px; }
.cta-text h2 { font-family: var(--font-display); font-size: 2.2rem; color: var(--text-main); margin-bottom: 15px; letter-spacing: -0.5px; }
.cta-text p { font-size: 1.05rem; color: #475569; line-height: 1.7; }
.cta-btn-modern { position: relative; z-index: 2; display: inline-block; padding: 18px 40px; background: #0f172a; color: #fff; font-weight: 700; font-size: 1rem; border-radius: 40px; text-decoration: none; transition: all 0.3s; box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2); }
.cta-btn-modern:hover { background: #0ea5e9; transform: translateY(-3px); box-shadow: 0 15px 30px rgba(14, 165, 233, 0.4); }

/* =========================================
   Bottom Spotlight Notification (Restored)
   ========================================= */
.spotlight-notification {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 150%);
    width: min(680px, calc(100% - 32px));
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 18px 22px;
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(14,165,233,0.15);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
    opacity: 0;
    pointer-events: none;
}
.spotlight-notification.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.spotlight-notification.hide { transform: translate(-50%, 150%); opacity: 0; pointer-events: none; }

.spotlight-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}
.spotlight-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.spotlight-body { flex: 1; min-width: 0; }
.spotlight-brand {
    font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--accent-blue);
    margin-bottom: 3px;
}
.spotlight-title {
    font-family: var(--font-display);
    font-size: 0.98rem; font-weight: 700;
    color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-bottom: 2px;
}
.spotlight-desc {
    font-size: 0.78rem; color: #94a3b8;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.spotlight-arrow {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(14,165,233,0.15);
    border: 1px solid rgba(14,165,233,0.3);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-blue);
    font-size: 0.9rem;
    transition: transform 0.25s;
}
.spotlight-notification:hover .spotlight-arrow { transform: translateX(3px); }

.spotlight-progress {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: rgba(255,255,255,0.06);
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}
.spotlight-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--accent-gradient);
    transition: width 0.1s linear;
}

.spotlight-close {
    position: absolute;
    top: 10px; right: 14px;
    width: 22px; height: 22px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #64748b;
    font-size: 0.9rem;
    background: transparent;
    transition: all 0.2s;
    z-index: 2;
}
.spotlight-close:hover { color: #fff; background: rgba(255,255,255,0.1); }

@media (max-width: 768px) {
    .spotlight-notification {
        bottom: 16px;
        padding: 14px 16px;
        gap: 12px;
        border-radius: 16px;
    }
    .spotlight-icon { width: 40px; height: 40px; font-size: 1.2rem; }
    .spotlight-title { font-size: 0.88rem; }
    .spotlight-desc { font-size: 0.72rem; }
    .spotlight-arrow { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .spotlight-notification { transition: opacity 0.2s; transform: translate(-50%, 0); }
    .spotlight-notification.hide { transform: translate(-50%, 0); opacity: 0; }
}

/* =========================================
   Subscribe Page
   ========================================= */
.subscribe-container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1000px; margin: 120px auto 80px; padding: 0 5%; align-items: center; }
.subscribe-benefits h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.2; margin-bottom: 20px; }
.subscribe-benefits p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 30px; }
.benefit-list { list-style: none; }
.benefit-list li { display: flex; gap: 12px; margin-bottom: 15px; font-size: 0.95rem; color: var(--text-muted); }
.benefit-list .icon { color: var(--accent-green); font-weight: bold; }
.subscribe-form-card { padding: 30px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); border: 1px solid var(--border); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; }
.form-control { width: 100%; padding: 15px; border: 1px solid var(--border); border-radius: 10px; font-size: 16px; outline: none; transition: border 0.3s; font-family: var(--font-body); }
.form-control:focus { border-color: var(--accent-blue); }
.btn-submit { width: 100%; padding: 16px; background: var(--text-main); color: #FFF; border-radius: 10px; font-size: 1.1rem; font-weight: 600; transition: all 0.3s; }
.btn-submit:hover { background: var(--accent-blue); }

/* =========================================
   Article & Legal
   ========================================= */
.article-container { max-width: 840px; margin: 110px auto 60px; padding: 40px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); border: 1px solid var(--border); }
.article-title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 20px; line-height: 1.2; }
.article-meta { display: flex; gap: 15px; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.article-content p { font-size: 1.05rem; line-height: 1.8; color: var(--text-main); margin-bottom: 20px; }
.legal-container { max-width: 900px; margin: 110px auto 60px; padding: 50px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); border: 1px solid var(--border); }
.legal-content h2 { font-size: 1.4rem; margin-top: 40px; margin-bottom: 15px; color: var(--accent-blue); border-bottom: 1px solid var(--border); padding-bottom: 10px; font-family: var(--font-display); }
.legal-content h3 { font-size: 1.1rem; margin-top: 20px; margin-bottom: 10px; font-weight: 700; }
.legal-content p, .legal-content li { font-size: 0.95rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 15px; }
.legal-content ul { padding-left: 22px; margin-bottom: 20px; }
.legal-meta { font-family: monospace; font-size: 0.85rem; color: var(--text-muted); background: rgba(0,0,0,0.03); padding: 20px; border-radius: var(--radius-md); margin-bottom: 30px; border: 1px solid var(--border); line-height: 1.8; }
.legal-warning { background: rgba(239, 68, 68, 0.05); border: 1px solid rgba(239, 68, 68, 0.2); border-radius: 12px; padding: 20px; margin: 20px 0; }
.legal-warning strong { color: #dc2626; }

/* =========================================
   Footer
   ========================================= */
.site-footer { background: var(--bg-dark); color: #94a3b8; padding: 60px 5% 30px; }
.footer-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: #fff; margin-bottom: 15px; }
.footer-logo span { color: var(--accent-blue); }
.footer-grid p { font-size: 0.9rem; line-height: 1.7; max-width: 320px; }
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 15px; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a { font-size: 0.9rem; color: #94a3b8; transition: color 0.3s; }
.footer-grid ul li a:hover { color: var(--accent-blue); }
.footer-bottom { max-width: 1400px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.8rem; }

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 992px) {
    .trend-layout, .subscribe-container { grid-template-columns: 1fr; gap: 40px; }
    .eco-row, .eco-row.reverse { flex-direction: column; gap: 20px; }
    .eco-image { width: 100%; height: 250px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .article-container, .legal-container { margin-top: 90px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); flex-direction: column; align-items: center; justify-content: center; gap: 30px; transform: translateY(-100%); transition: transform 0.4s ease; z-index: 1000; }
    .nav-links.active { transform: translateY(0); }
    .nav-links a { font-size: 1.2rem; }
    .hero-banner { min-height: 600px; }
    .hero-content { padding: 0 20px; text-align: center; }
    .slider-dots { left: 50%; transform: translateX(-50%); bottom: 20px; }
    .slider-controls { display: none; }
    .section-container { padding: 60px 20px; }
    .section-header { text-align: center; }
    .section-header p { margin: 0 auto; }
    .vehicle-card { height: 380px; }
    .tree-canvas { height: 600px; }
    .tree-inner { transform: scale(0.75); transform-origin: top left; }
    .node-detail-card { padding: 30px 22px; }
    .detail-title { font-size: 1.5rem; }
    .spec-grid { grid-template-columns: 1fr; }
    .article-container, .legal-container { padding: 25px 20px; margin-left: 15px; margin-right: 15px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .footer-grid p { margin: 0 auto; }
    
    /* Gallery */
    .nev-gallery-section { padding: 60px 5% 80px; }
    .nev-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .nev-gallery-item:nth-child(n) { height: auto; aspect-ratio: 4 / 3; animation-duration: 6s; }
    @keyframes floatUp { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -10px, 0); } }
    @keyframes floatDown { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, 10px, 0); } }

    /* Tech Tree Redesign */
    .tech-stats-hero { flex-wrap: wrap; gap: 15px; margin: 40px auto 50px; }
    .stat-divider { display: none; }
    .stat-float { padding: 10px; width: 45%; }
    .stat-number { font-size: 2.5rem; }
    
    .branch-editorial { padding: 60px 20px; }
    .editorial-header { margin-bottom: 50px; }
    .branch-list { gap: 40px; }
    .branch-row, .branch-row.reverse { flex-direction: column; text-align: center; gap: 30px; }
    .branch-visual { width: 160px; height: 160px; }
    .giant-num { font-size: 6rem; }
    .branch-icon { font-size: 2.5rem; }
    .branch-info p { margin: 0 auto 20px; font-size: 0.95rem; }
    
    .orbital-timeline { padding: 60px 20px; }
    .orbital-header { margin-bottom: 40px; }
    .orbital-track { flex-direction: column; gap: 30px; }
    .orbital-line { top: 5%; bottom: 5%; left: 30px; width: 2px; height: 90%; background: linear-gradient(180deg, #10b981, #0ea5e9, #8b5cf6, #f59e0b, #ec4899); }
    .orbital-item { flex-direction: row; width: 100%; text-align: left; align-items: flex-start; padding-left: 70px; position: relative; }
    .o-year { position: absolute; left: 0; top: 0; width: 50px; font-size: 0.9rem; }
    .o-node { position: absolute; left: 22px; top: 0; margin: 0; }
    .o-content { text-align: left; padding: 10px 0; background: transparent; }
    .o-content h4 { font-size: 0.95rem; }
    
    .glass-cta-section { padding: 40px 20px; }
    .glass-cta-box { flex-direction: column; align-items: flex-start; padding: 40px 25px; }
    .cta-btn-modern { width: 100%; text-align: center; margin-top: 20px; }
    .cta-text h2 { font-size: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
    .nev-gallery-item, .hero-slide-bg, .tree-line, .loader-logo *, .spotlight-notification { animation: none !important; transform: none !important; transition: none !important; }
}

/* =========================================
   Language Switcher & Google Translate
   ========================================= */
.nav-links { margin-left: auto; }

.lang-switcher { position: relative; display: inline-flex; align-items: center; margin-left: 22px; z-index: 1002; }
.lang-switcher select { -webkit-appearance: none; -moz-appearance: none; appearance: none; padding: 8px 34px 8px 14px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--text-main); font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; line-height: 1.2; cursor: pointer; max-width: 180px; transition: border-color 0.3s, color 0.3s, box-shadow 0.3s; }
.lang-switcher select:hover, .lang-switcher select:focus { border-color: var(--accent-blue); color: var(--accent-blue); outline: none; box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12); }
.lang-switcher::after { content: "▾"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 0.7rem; color: var(--accent-blue); pointer-events: none; }

.lang-switcher-floating { position: fixed; top: 16px; right: 16px; margin-left: 0; }

#google_translate_element { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; clip: rect(0 0 0 0); }

body > .skiptranslate,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate { display: none !important; }
#goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip, .goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background: transparent !important; box-shadow: none !important; }
body { top: 0 !important; }

@media (max-width: 768px) {
    .navbar { justify-content: flex-start; }
    .lang-switcher { margin-left: auto; margin-right: 14px; order: 1; }
    .menu-toggle { order: 2; }
    .lang-switcher select { max-width: 130px; font-size: 0.78rem; padding: 7px 30px 7px 12px; }
}