/* ===== Laoyan Car - Shared Styles ===== */

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

:root {
  --orange: #E8651A;
  --orange-light: #FF8C42;
  --orange-dark: #C44E0D;
  --bg-primary: #0D0D0D;
  --bg-secondary: #161616;
  --bg-card: #1C1C1C;
  --bg-card-hover: #222222;
  --text-primary: #F0EDE8;
  --text-secondary: #9A978F;
  --text-muted: #6B6860;
  --border: #2A2825;
  --border-light: #3A3730;
  --gradient-orange: linear-gradient(135deg, #E8651A, #FF8C42);
  --gradient-dark: linear-gradient(180deg, #0D0D0D 0%, #161616 100%);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-orange: 0 4px 20px rgba(232,101,26,0.25);
  --font-display: 'Georgia', 'Noto Serif SC', serif;
  --font-body: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
}

html { scroll-behavior: smooth; font-size: 16px; }

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

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

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* --- Navigation --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-height);
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 40px; }
.nav-brand-text { display: flex; flex-direction: column; }
.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700;
  color: var(--text-primary); letter-spacing: 0.05em;
}
.nav-brand-sub { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-link {
  padding: 8px 16px; border-radius: 8px;
  font-size: 0.88rem; color: var(--text-secondary);
  transition: all 0.25s;
}
.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--orange-light); background: rgba(232,101,26,0.1); }
.nav-cta {
  padding: 8px 20px; border-radius: 8px;
  background: var(--gradient-orange); color: #fff;
  font-size: 0.88rem; font-weight: 600;
  transition: all 0.25s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-orange); }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; color: var(--text-primary); cursor: pointer; padding: 8px; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: var(--nav-height); left: 0; right: 0;
    background: rgba(13,13,13,0.97); backdrop-filter: blur(20px);
    flex-direction: column; padding: 24px; gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%); opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-link { padding: 12px 16px; width: 100%; }
  .nav-cta { width: 100%; text-align: center; margin-top: 8px; }
}

/* --- Hero --- */
.hero {
  padding: calc(var(--nav-height) + 80px) 0 80px;
  text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(232,101,26,0.08), transparent);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 20px;
  background: rgba(232,101,26,0.1); border: 1px solid rgba(232,101,26,0.2);
  font-size: 0.82rem; color: var(--orange-light);
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700; line-height: 1.2;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--orange); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary); max-width: 600px; margin: 0 auto 40px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600;
  transition: all 0.25s; border: none; cursor: pointer;
}
.btn-primary {
  background: var(--gradient-orange); color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-orange); }
.btn-outline {
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border-light);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange-light); }

/* --- Section --- */
.section { padding: 80px 0; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: var(--orange);
  text-transform: uppercase; letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.section-label::before {
  content: ''; width: 20px; height: 2px;
  background: var(--orange); border-radius: 1px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700; margin-bottom: 16px;
}
.section-desc {
  font-size: 1rem; color: var(--text-secondary);
  max-width: 560px; line-height: 1.8;
}

/* --- Cards --- */
.cards-grid {
  display: grid; gap: 20px; margin-top: 40px;
}
.cards-grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cards-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px;
  transition: all 0.3s;
}
.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(232,101,26,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; stroke: var(--orange); fill: none; stroke-width: 1.5; }
.card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
.card p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7; }

/* --- Stats --- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; margin-top: 40px; }
.stat { text-align: center; padding: 24px; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
  color: var(--orange); margin-bottom: 4px;
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* --- CTA Banner --- */
.cta-banner {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 48px 32px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(232,101,26,0.06), transparent);
  pointer-events: none;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 12px;
}
.cta-banner p { color: var(--text-secondary); margin-bottom: 28px; }

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px; margin-top: 40px;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
}
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.footer-brand-desc { font-size: 0.85rem; color: var(--text-muted); max-width: 300px; line-height: 1.7; }
.footer-col h4 { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.9rem; color: var(--text-secondary); padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--orange-light); }
.footer-bottom {
  text-align: center; padding-top: 32px; margin-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem; color: var(--text-muted);
}

/* --- Page Header --- */
.page-header {
  padding: calc(var(--nav-height) + 60px) 0 60px;
  text-align: center; position: relative;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 20%, rgba(232,101,26,0.06), transparent);
  pointer-events: none;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700; margin-bottom: 16px;
}
.page-header p { font-size: 1.05rem; color: var(--text-secondary); max-width: 520px; margin: 0 auto; }

/* --- Content Blocks --- */
.content-block { padding: 60px 0; }
.content-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700; margin-bottom: 16px;
}
.content-block h3 {
  font-size: 1.15rem; font-weight: 600; margin: 28px 0 12px;
  color: var(--orange-light);
}
.content-block p { color: var(--text-secondary); line-height: 1.9; margin-bottom: 16px; font-size: 0.95rem; }
.content-block ul, .content-block ol {
  color: var(--text-secondary); padding-left: 20px; margin-bottom: 16px;
}
.content-block li { margin-bottom: 8px; line-height: 1.7; font-size: 0.95rem; }

/* --- Comparison Table --- */
.compare-table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
  font-size: 0.9rem;
}
.compare-table th, .compare-table td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare-table th {
  background: var(--bg-card); color: var(--text-primary);
  font-weight: 600; font-size: 0.85rem;
}
.compare-table td { color: var(--text-secondary); }
.compare-table tr:hover td { background: var(--bg-card); }
.compare-table .highlight { color: var(--orange-light); font-weight: 600; }

/* --- Steps --- */
.steps { margin: 32px 0; }
.step {
  display: flex; gap: 20px; padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient-orange);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem; color: #fff;
  flex-shrink: 0;
}
.step-content h4 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.step-content p { font-size: 0.9rem; color: var(--text-secondary); }

/* --- FAQ --- */
.faq-list { margin: 24px 0; }
.faq-item {
  border: 1px solid var(--border); border-radius: 12px;
  margin-bottom: 12px; overflow: hidden;
  background: var(--bg-card);
}
.faq-q {
  padding: 18px 24px; cursor: pointer;
  font-weight: 600; font-size: 0.95rem;
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.2s;
}
.faq-q:hover { background: var(--bg-card-hover); }
.faq-q::after {
  content: '+'; font-size: 1.3rem; color: var(--orange);
  transition: transform 0.3s;
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-a { max-height: 500px; }
.faq-a-inner {
  padding: 0 24px 18px;
  font-size: 0.9rem; color: var(--text-secondary); line-height: 1.8;
}

/* --- Contact Card --- */
.contact-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px;
  display: inline-block; text-align: left;
}
.contact-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
}
.contact-item svg { width: 20px; height: 20px; stroke: var(--orange); fill: none; stroke-width: 1.5; flex-shrink: 0; }
.contact-item span { font-size: 0.95rem; color: var(--text-secondary); }
.contact-item strong { color: var(--text-primary); }

/* --- Divider --- */
.divider { height: 1px; background: var(--border); margin: 0; }

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  animation: fadeUp 0.6s ease forwards;
  opacity: 0;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--text-muted);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--orange-light); }
.breadcrumb .sep { opacity: 0.4; }

/* --- Checklist --- */
.checklist { list-style: none; padding: 0; }
.checklist li {
  padding: 8px 0 8px 28px; position: relative;
  color: var(--text-secondary); font-size: 0.93rem;
}
.checklist li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--orange); font-weight: 700;
}

/* --- Highlight Box --- */
.highlight-box {
  background: rgba(232,101,26,0.06);
  border: 1px solid rgba(232,101,26,0.15);
  border-radius: 12px; padding: 24px;
  margin: 24px 0;
}
.highlight-box p { color: var(--text-primary); font-weight: 500; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
