﻿/* ============================================
   鑷荤敤蹇?ZhenYongXin - Global Design System
   Premium Automotive Trading Website
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Sans+SC:wght@300;400;500;600;700;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand */
  --gold: #d4a853;
  --gold-light: #e8c87a;
  --gold-dark: #b08a3a;
  --orange: #e8722a;
  --orange-light: #f09050;
  --blue: #2563eb;
  --blue-light: #60a5fa;
  --green: #10b981;
  --red: #ef4444;

  /* Light Theme (default) */
  --bg-primary: #fafafa;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f3f4f6;
  --bg-hero: #0d0d14;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --text-hero: #f0f0f5;
  --border-color: rgba(0,0,0,0.06);
  --border-hover: rgba(0,0,0,0.12);
  --glass-bg: rgba(255,255,255,0.85);
  --glass-border: rgba(255,255,255,0.3);
  --card-bg: #ffffff;
  --card-hover-bg: #f9fafb;
  --nav-bg: rgba(255,255,255,0.88);
  --nav-blur: blur(20px);
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.14);
  --shadow-gold: 0 4px 20px rgba(212,168,83,0.15);
  --overlay: rgba(0,0,0,0.5);
  --input-bg: #f9fafb;
  --input-border: #d1d5db;
  --scrollbar-track: #f1f1f1;
  --scrollbar-thumb: #ccc;
  --code-bg: #f3f4f6;

  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Typography */
  --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1200px;
  --container-2xl: 1400px;
  --nav-height: 72px;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-slower: 700ms;

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, var(--gold), var(--orange));
  --gradient-gold-text: linear-gradient(135deg, var(--gold-light), var(--gold), var(--orange));
  --gradient-hero: linear-gradient(180deg, rgba(13,13,20,0.3) 0%, rgba(13,13,20,0.8) 100%);
  --gradient-section: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%);
}

/* ---------- Dark Theme ---------- */
[data-theme="dark"] {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-tertiary: #1a1a25;
  --bg-hero: #0a0a0f;
  --text-primary: #f0f0f5;
  --text-secondary: #a8a8c0;
  --text-muted: #606078;
  --text-hero: #f0f0f5;
  --border-color: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --glass-bg: rgba(17,17,24,0.85);
  --glass-border: rgba(255,255,255,0.08);
  --card-bg: #14141e;
  --card-hover-bg: #1a1a28;
  --nav-bg: rgba(10,10,15,0.88);
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.2);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.35);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.5);
}

@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-tertiary: #1a1a25;
    --bg-hero: #0a0a0f;
    --text-primary: #f0f0f5;
    --text-secondary: #a8a8c0;
    --text-muted: #606078;
    --text-hero: #f0f0f5;
    --border-color: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --glass-bg: rgba(17,17,24,0.85);
    --glass-border: rgba(255,255,255,0.08);
    --card-bg: #14141e;
    --card-hover-bg: #1a1a28;
    --nav-bg: rgba(10,10,15,0.88);
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.2);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.35);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.5);
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background var(--duration-slow) var(--ease-out),
              color var(--duration-slow) var(--ease-out);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: var(--leading-tight); font-weight: 700; }

input, textarea, select {
  font: inherit;
  color: inherit;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  outline: none;
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,168,83,0.15);
}
textarea { resize: vertical; min-height: 120px; }

::selection {
  background: var(--gold);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--scrollbar-track); }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ---------- Language Toggle ---------- */
html[data-lang="en"] .lang-zh { display: none !important; }
html[data-lang="zh"] .lang-en { display: none !important; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.container-lg { max-width: var(--container-2xl); }

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: var(--nav-blur);
  -webkit-backdrop-filter: var(--nav-blur);
  border-bottom: 1px solid var(--border-color);
  transition: background var(--duration-normal) ease,
              box-shadow var(--duration-normal) ease,
              border-color var(--duration-normal) ease;
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-2xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}
.navbar-brand img {
  height: 38px;
  width: auto;
}
.navbar-brand-text {
  font-size: var(--text-lg);
  font-weight: 800;
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.02em;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.navbar-nav a {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast) ease, background var(--duration-fast) ease;
  white-space: nowrap;
}
.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--gold);
  background: rgba(212,168,83,0.08);
}
.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

#theme-select.theme-dropdown {
  background: var(--bg-alt);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
}

#theme-select.theme-dropdown:hover {
  border-color: var(--gold-color);
}

.navbar-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: color var(--duration-fast) ease, background var(--duration-fast) ease;
  font-size: var(--text-sm);
}
.navbar-actions button:hover {
  color: var(--gold);
  background: rgba(212,168,83,0.08);
}
.lang-switch {
  font-weight: 600;
  font-size: var(--text-xs) !important;
  width: auto !important;
  padding: 0 var(--space-2) !important;
  letter-spacing: 0.05em;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--duration-normal) var(--ease-out),
              opacity var(--duration-fast) ease;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav Panel */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0; bottom: 0;
  background: var(--bg-primary);
  z-index: 999;
  padding: var(--space-8) var(--space-6);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
}
.mobile-nav.open {
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav a {
  display: block;
  padding: var(--space-4) 0;
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
}
.mobile-nav a:hover { color: var(--gold); }

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-hero);
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}
.hero-particles .particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: float-particle 6s ease-in-out infinite;
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: var(--space-8) var(--space-6);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(212,168,83,0.12);
  border: 1px solid rgba(212,168,83,0.25);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: var(--space-8);
  backdrop-filter: blur(10px);
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
.hero h1 {
  font-size: clamp(var(--text-4xl), 6vw, var(--text-7xl));
  font-weight: 900;
  color: var(--text-hero);
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}
.hero h1 .gradient-text {
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: clamp(var(--text-lg), 2.5vw, var(--text-xl));
  color: rgba(240,240,245,0.7);
  max-width: 700px;
  margin: 0 auto var(--space-10);
  line-height: var(--leading-relaxed);
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-12);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat {
  text-align: center;
}
.hero-stat-value {
  font-size: var(--text-4xl);
  font-weight: 800;
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-label {
  font-size: var(--text-sm);
  color: rgba(240,240,245,0.5);
  margin-top: var(--space-1);
}

/* Sub-page Hero (shorter) */
.hero-sub {
  min-height: 60vh;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.5;
}
.btn-primary {
  background: var(--gradient-gold);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(212,168,83,0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--gold-light);
  border-color: rgba(212,168,83,0.35);
}
.btn-secondary:hover {
  background: rgba(212,168,83,0.1);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,168,83,0.05);
}
.btn-lg {
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-lg);
  border-radius: var(--radius-lg);
}
.btn-sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
}
.btn-group {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Sections ---------- */
.section {
  padding: var(--space-24) 0;
  position: relative;
}
.section-alt {
  background: var(--bg-tertiary);
}
.section-dark {
  background: var(--bg-hero);
  color: var(--text-hero);
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-16);
}
.section-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-4);
}
.section-title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 800;
  margin-bottom: var(--space-6);
  letter-spacing: -0.01em;
}
.section-desc {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}
.section-dark .section-desc {
  color: rgba(240,240,245,0.6);
}

/* ---------- Cards ---------- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}
.card:hover {
  border-color: rgba(212,168,83,0.2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}
.card:hover .card-img img {
  transform: scale(1.05);
}
.card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
}
.card-body {
  padding: var(--space-6);
}
.card-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.card-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
}
.card-tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: rgba(212,168,83,0.1);
  color: var(--gold);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

/* Glass Card */
.card-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}

/* Feature Card */
.feature-card {
  padding: var(--space-8);
  text-align: center;
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: rgba(212,168,83,0.1);
  color: var(--gold);
  font-size: 28px;
  margin-bottom: var(--space-5);
  transition: transform var(--duration-normal) var(--ease-out),
              background var(--duration-normal) ease;
}
.card:hover .feature-icon {
  transform: scale(1.1);
  background: rgba(212,168,83,0.18);
}
.feature-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.feature-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
}

/* ---------- Grid Layouts ---------- */
.grid {
  display: grid;
  gap: var(--space-6);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* ---------- Stats Section ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  padding: var(--space-12) 0;
}
.stat-item {
  text-align: center;
  padding: var(--space-6);
}
.stat-value {
  font-size: var(--text-5xl);
  font-weight: 900;
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-2);
}
.stat-label {
  font-size: var(--text-base);
  color: var(--text-secondary);
  font-weight: 500;
}

/* ---------- Process / Timeline ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--gradient-gold);
  opacity: 0.3;
}
.process-step {
  text-align: center;
  position: relative;
}
.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: #fff;
  font-size: var(--text-xl);
  font-weight: 800;
  margin-bottom: var(--space-5);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-gold);
}
.process-title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.process-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
}

/* ---------- Two Column Layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
.split-img {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.split-img img {
  width: 100%;
  display: block;
}
.split-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(212,168,83,0.1);
  pointer-events: none;
}
.split-content { padding: var(--space-4) 0; }
.split-content h2 {
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: var(--space-6);
}
.split-content p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

/* ---------- Car Showcase Cards ---------- */
.car-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}
.car-card .card-img { height: 280px; }
.car-card .car-badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  padding: var(--space-1) var(--space-3);
  background: var(--gradient-gold);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.car-card .card-body { padding: var(--space-5); }
.car-card .car-price {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--gold);
  margin-top: var(--space-2);
}

/* ---------- FAQ Accordion ---------- */
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  overflow: hidden;
  transition: border-color var(--duration-fast) ease;
}
.faq-item:hover { border-color: rgba(212,168,83,0.2); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-lg);
  font-weight: 600;
  text-align: left;
  background: var(--card-bg);
  cursor: pointer;
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  font-size: var(--text-xl);
  transition: transform var(--duration-normal) var(--ease-out);
  color: var(--gold);
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out);
}
.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* ---------- Contact Form ---------- */
.contact-form {
  max-width: 600px;
}
.form-group {
  margin-bottom: var(--space-5);
}
.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}
.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: var(--space-16) 0 var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}
.footer-brand p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: var(--space-3);
  line-height: var(--leading-relaxed);
}
.footer-title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-5);
}
.footer-links a {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  padding: var(--space-1) 0;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.footer-bottom a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-bottom a:hover { color: var(--gold); }

/* WeChat QR Modal */
.qr-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
}
.qr-modal-overlay.open {
  display: flex;
  opacity: 1;
}
.qr-modal {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  max-width: 360px;
  box-shadow: var(--shadow-xl);
}
.qr-modal img {
  width: 240px;
  height: 240px;
  margin: var(--space-4) auto;
  border-radius: var(--radius-md);
}
.qr-modal-close {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  cursor: pointer;
}

/* ---------- Animations ---------- */
@keyframes float-particle {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-100vh) scale(1); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in-left {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fade-in-right {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes count-up {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes blink-caret {
  0%, 100% { border-color: var(--gold); }
  50% { border-color: transparent; }
}

/* Scroll Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slower) var(--ease-out),
              transform var(--duration-slower) var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--duration-slower) var(--ease-out),
              transform var(--duration-slower) var(--ease-out);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--duration-slower) var(--ease-out),
              transform var(--duration-slower) var(--ease-out);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--duration-slower) var(--ease-out),
              transform var(--duration-slower) var(--ease-out);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}
/* Stagger children */
.stagger > *:nth-child(1) { transition-delay: 0ms; }
.stagger > *:nth-child(2) { transition-delay: 100ms; }
.stagger > *:nth-child(3) { transition-delay: 200ms; }
.stagger > *:nth-child(4) { transition-delay: 300ms; }
.stagger > *:nth-child(5) { transition-delay: 400ms; }
.stagger > *:nth-child(6) { transition-delay: 500ms; }
.stagger > *:nth-child(7) { transition-delay: 600ms; }
.stagger > *:nth-child(8) { transition-delay: 700ms; }

/* ---------- Utility Classes ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-gradient {
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mx-auto { margin-left: auto; margin-right: auto; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.w-full { width: 100%; }
.max-w-lg { max-width: 700px; }
.hidden { display: none; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* Decorative Gold Line */
.gold-line {
  width: 60px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 3px;
  margin: var(--space-4) auto;
}
.gold-line-left { margin-left: 0; }

/* Partners Logo Ticker */
.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
  padding: var(--space-6) 0;
}
.partners-row img {
  height: 36px;
  opacity: 0.5;
  filter: grayscale(1);
  transition: opacity var(--duration-normal) ease, filter var(--duration-normal) ease;
}
.partners-row img:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: var(--space-8); }
  .split-reverse { direction: ltr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: var(--space-16) 0; }
  .hero h1 { font-size: var(--text-4xl); }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .navbar-nav { display: none; }
  .menu-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-auto { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: var(--space-6); }
  .stats-row { grid-template-columns: 1fr 1fr; gap: var(--space-4); }
  .hero-stats { flex-direction: column; gap: var(--space-6); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: var(--space-12) 0; }
  .section-header { margin-bottom: var(--space-10); }
  .container { padding: 0 var(--space-4); }
  .hero { min-height: 80vh; }
  .hero-sub { min-height: 50vh; }
  .btn-group { flex-direction: column; align-items: center; }
  .split-content h2 { font-size: var(--text-3xl); }
}

@media (max-width: 480px) {
  .hero h1 { font-size: var(--text-3xl); }
  .section-title { font-size: var(--text-2xl); }
  .stat-value { font-size: var(--text-3xl); }
  .card-img { height: 180px; }
  .car-card .card-img { height: 200px; }
}

/* ---------- Print ---------- */
@media print {
  .navbar, .mobile-nav, .hero-particles, .btn-group,
  .qr-modal-overlay, .navbar-actions { display: none !important; }
  .hero { min-height: auto; padding: var(--space-8) 0; }
  .section { padding: var(--space-8) 0; }
  body { color: #000; background: #fff; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; }
}
/* =========================================
   Theme Custom Dropdown
   ========================================= */
.theme-menu-container {
  position: relative;
  display: inline-block;
  margin-left: 10px;
}
.theme-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  border-radius: 50%;
  transition: background 0.3s, color 0.3s;
}
.theme-btn:hover {
  background: var(--bg-hover);
  color: var(--primary-color);
}
.theme-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.theme-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  list-style: none;
  padding: 8px 0;
  min-width: 140px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}
.theme-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.theme-dropdown-menu li {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, color 0.2s;
}
.theme-dropdown-menu li:hover {
  background: var(--bg-hover);
  color: var(--primary-color);
}
.theme-dropdown-menu li.active {
  color: var(--primary-color);
  font-weight: 600;
}
.theme-dropdown-menu li svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

