/* ============================================
   NE Automotive - Tesla-Inspired Stylesheet
   Design: Clean, minimal, full-screen experience
   ============================================ */

/* --- CSS Variables --- */
:root {
    --color-primary: #000000;
    --color-primary-light: #1a1a1a;
    --color-accent: #3457b1;
    --color-accent-dark: #2a4a9a;
    --color-accent-gradient: linear-gradient(135deg, #3457b1, #2a4a9a);
    --color-white: #ffffff;
    --color-light: #f5f5f5;
    --color-gray-100: #f0f0f0;
    --color-gray-200: #e0e0e0;
    --color-gray-300: #aaaaaa;
    --color-gray-400: #888888;
    --color-gray-500: #666666;
    --color-text: #171a20;
    --color-text-light: #666666;
    --color-border: #e5e5e5;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --shadow-sm: 0 1px 4px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --max-width: 1280px;
    --navbar-height: 56px;
    --dropdown-transition: all 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background: #fff;
    line-height: 1.5;
    min-width: 350px; /* 最小适配宽度 350px：窄于此值版面不压缩变形 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* ============================================
   TESLA NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--navbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    background: #fff;
    transition: var(--transition);
}
.navbar.scrolled {
    box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}
.navbar-logo {
    width: 120px;
    height: 24px;
    flex-shrink: 0;
}
.navbar-logo svg {
    width: 100%;
    height: 100%;
}
.navbar-links {
    display: flex;
    align-items: center;
    gap: 4px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.navbar-links a {
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    border-radius: 12px;
    transition: background-color 0.2s ease;
    white-space: nowrap;
    letter-spacing: -0.01em;
}
.navbar-links a:hover {
    background: rgba(0,0,0,0.04);
}
.navbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.navbar-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    transition: background-color 0.2s ease;
}
.navbar-icon:hover {
    background: rgba(0,0,0,0.04);
}

/* --- Backdrop / Blur Overlay --- */
.blur-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.blur-overlay.active {
    display: block;
    opacity: 1;
}

/* ============================================
   DROPDOWN PANELS (Full-Width)
   ============================================ */
.dropdown-panel {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background: #fff;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: var(--dropdown-transition);
    padding: 48px 60px 60px;
}
.dropdown-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 32px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.dropdown-column h4 {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}
.dropdown-column a {
    display: block;
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--color-text);
    transition: color 0.2s ease;
}
.dropdown-column a:hover {
    color: var(--color-accent);
}
.dropdown-featured {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}
.dropdown-featured-card {
    flex: 1;
    min-height: 120px;
    border-radius: var(--radius-sm);
    background: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    transition: background-color 0.2s ease;
    cursor: pointer;
}
.dropdown-featured-card:hover {
    background: var(--color-gray-100);
}

/* Tesla-style Dropdown Vehicle Cards */
.dp-vehicles-cards {
    display: flex;
    justify-content: center;
    gap: 24px;
    max-width: 2000px;
    margin: 0 auto;
}
.dp-vehicle-card {
    flex: 1;
    max-width: 330px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--color-text);
    border-radius: 12px;
    padding: 12px 12px 24px;
    transition: background 0.25s, transform 0.3s ease;
}
.dp-vehicle-card:hover {
    background: var(--color-light);
    z-index: 12;
    transform: scale(1.3);
}
.dp-vehicle-card:first-child:hover { transform: translateX(-48px) scale(1.3); }
.dp-vehicle-card:last-child:hover  { transform: translateX(48px) scale(1.3); }
.dp-vehicle-card:hover .vc-img img {
    transform: scale(1.04);
}
.vc-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 9px;
    overflow: hidden;
    display: block;
    background: var(--color-light);
}
.vc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.vc-img-placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 9px;
    background: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--color-gray-300);
}
.vc-name {
    display: block;
    font-size: 24px;
    font-weight: 600;
    margin-top: 18px;
    letter-spacing: 0.45px;
}
.vc-actions {
    display: flex;
    gap: 24px;
    margin-top: 15px;
}
.vc-action-primary, .vc-action-secondary {
    font-size: 19.5px;
    font-weight: 500;
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}
.vc-action-primary {
    color: var(--color-accent);
}
.vc-action-primary:hover {
    border-bottom-color: var(--color-accent);
}
.vc-action-secondary {
    color: var(--color-text-light);
}
.vc-action-secondary:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}
.dp-vehicles-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 36px;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
    max-width: 2000px;
    margin-left: auto;
    margin-right: auto;
}
.dp-vehicles-meta a {
    font-size: 19.5px;
    color: var(--color-text-light);
    transition: color 0.2s;
}
.dp-vehicles-meta a:hover {
    color: var(--color-accent);
}
.dp-meta-sep {
    color: #ccc;
    font-size: 18px;
}

/* ============================================
   HERO CAROUSEL
   ============================================ */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 0;
}
.hc-page {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
.hc-page.active {
    opacity: 1;
    visibility: visible;
}
.hc-page::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
}
.hc-content {
    position: relative;
    z-index: 1;
    text-align: center;
}
.hc-content h2 {
    font-size: 2.75rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 8px;
}
.hc-content p {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 16px;
}
.hc-content .hc-cta {
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 500;
    border-bottom: 1px solid var(--color-text);
    padding-bottom: 2px;
    transition: border-color 0.2s ease;
}
.hc-content .hc-cta:hover {
    border-color: transparent;
}
.hc-actions {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 20px;
}
.hc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    padding: 10px 40px;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition);
    letter-spacing: 0.01em;
}
.hc-btn-primary {
    background: var(--color-text);
    color: #fff;
}
.hc-btn-primary:hover {
    background: var(--color-primary-light);
}
.hc-btn-secondary {
    background: #fff;
    color: var(--color-text);
}
.hc-btn-secondary:hover {
    background: var(--color-light);
}

/* Carousel Arrows */
.hc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0,0,0,0.15);
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    cursor: pointer;
}
.hc-arrow:hover {
    background: rgba(0,0,0,0.3);
}
.hc-arrow-prev { left: 24px; }
.hc-arrow-next { right: 24px; }

/* Carousel Dots */
.hc-dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}
.hc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
}
.hc-dot.active {
    background: var(--color-text);
    border-color: var(--color-text);
}
.hc-dot:hover {
    background: rgba(0,0,0,0.4);
}

/* ============================================
   DUAL HERO / MODEL SELECTOR
   ============================================ */
.dual-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}
.dh-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}
.dh-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.08);
    pointer-events: none;
    transition: background-color 0.3s ease;
}
.dh-card:hover::after {
    background: rgba(0,0,0,0.15);
}
.dh-card-content {
    position: relative;
    z-index: 1;
    text-align: center;
}
.dh-card-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 6px;
}
.dh-card-content p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 16px;
}
.dh-card-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.dh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 36px;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition);
}
.dh-btn-primary {
    background: var(--color-text);
    color: #fff;
}
.dh-btn-primary:hover {
    background: var(--color-primary-light);
}
.dh-btn-secondary {
    background: #fff;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}
.dh-btn-secondary:hover {
    background: var(--color-light);
}

/* Horizontal scroll cards (mobile dual-hero) */
.dh-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    height: 100vh;
    width: 100%;
}
.dh-scroll::-webkit-scrollbar { display: none; }
.dh-scroll .dh-card {
    min-width: 100%;
    scroll-snap-align: start;
}

/* ============================================
   SERVICE & SHOP SECTIONS
   ============================================ */
.ss-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.ss-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 60%);
    pointer-events: none;
}
.ss-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}
.ss-hero-content h2 {
    font-size: 2.75rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.ss-hero-content p {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
}
.ss-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    padding: 0 40px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.ss-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    cursor: pointer;
}
.ss-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.ss-card-image {
    height: 200px;
    background: var(--color-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ss-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ss-card-image i {
    font-size: 3rem;
    color: var(--color-gray-300);
}
.ss-card-body {
    padding: 20px 24px;
}
.ss-card-body h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text);
}
.ss-card-body p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin-bottom: 12px;
}
.ss-card-body .ss-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-accent);
    transition: color 0.2s ease;
}
.ss-card-body .ss-link:hover {
    color: var(--color-accent-dark);
}

/* ============================================
   FULL-WIDTH SECTION (Tesla-style)
   ============================================ */
.tesla-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    scroll-snap-align: start;
}
.tesla-section-content {
    position: relative;
    z-index: 1;
    text-align: center;
}
.tesla-section-content h2 {
    font-size: 2.75rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 8px;
}
.tesla-section-content p {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 16px;
}
.tesla-section-actions {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 21px;
}
.tesla-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 264px;
    padding: 10px 40px;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition);
    letter-spacing: 0.01em;
}
.tesla-btn-dark {
    background: var(--color-text);
    color: #fff;
}
.tesla-btn-dark:hover {
    background: var(--color-primary-light);
}
.tesla-btn-light {
    background: #fff;
    color: var(--color-text);
}
.tesla-btn-light:hover {
    background: var(--color-light);
}
.tesla-btn-outline {
    background: transparent;
    color: #fff;
    border: 3px solid #fff;
}
.tesla-btn-outline:hover {
    background: #fff;
    color: var(--color-text);
}

/* Scroll down indicator */
.scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: bounce 2s infinite;
    cursor: pointer;
}
.scroll-indicator span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text);
    letter-spacing: 0.03em;
}
.scroll-indicator .scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--color-text);
    border-bottom: 2px solid var(--color-text);
    transform: rotate(45deg);
    opacity: 0.7;
}

/* ============================================
   TESLA FOOTER
   ============================================ */
.tesla-footer {
    background: var(--color-text);
    color: rgba(255,255,255,0.65);
    padding: 40px 40px 24px;
    text-align: center;
}
.tesla-footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.tesla-footer-links a {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    padding: 4px 8px;
    transition: color 0.2s ease;
}
.tesla-footer-links a:hover {
    color: #fff;
}
.tesla-footer p {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    max-width: 600px;
    margin: 0 auto 12px;
    line-height: 1.6;
}
.tesla-footer-info {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.35);
    margin-top: 20px;
}

/* ============================================
   MOBILE MENU
   ============================================ */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle:hover {
    background: rgba(0,0,0,0.04);
}
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 2000;
    padding: 24px;
    overflow-y: auto;
    transition: right 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
}
.mobile-menu.open {
    right: 0;
}
.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
}
.mobile-menu-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.2rem;
    color: var(--color-text);
    transition: background-color 0.2s ease;
}
.mobile-menu-close:hover {
    background: rgba(0,0,0,0.04);
}
.menu-close {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    line-height: 1;
    color: var(--color-text);
    cursor: pointer;
    border-radius: 12px;
    transition: background-color 0.2s ease;
}
.menu-close:hover {
    background: rgba(0,0,0,0.04);
}
.mobile-menu-links a {
    display: block;
    padding: 14px 12px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease;
}
.mobile-menu-links a:hover {
    background: var(--color-light);
}
.mobile-menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 0;
}
.mc-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    transition: background 0.2s;
    border-bottom: 1px solid var(--color-border);
}
.mc-btn:hover {
    background: var(--color-light);
    color: var(--color-accent);
}
.mc-vehicle-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 4px 0;
}
.mc-vehicle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 8px;
    text-decoration: none;
    color: var(--color-text);
    border-radius: var(--radius-sm);
    transition: background 0.2s;
    border: 1px solid var(--color-border);
}
.mc-vehicle-item:hover {
    background: var(--color-light);
}
.mc-vehicle-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.mc-vehicle-info {
    flex: none;
    width: 100%;
    min-width: 0;
    text-align: center;
}
.mc-vehicle-info .mc-v-name {
    font-size: 1.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    text-align: center;
}
.mc-vehicle-info .mc-v-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: nowrap;
}
.mc-vehicle-info .mc-v-actions a {
    font-size: 1.6rem;
    font-weight: 500;
    padding: 3px 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, color 0.2s;
    text-decoration: none;
}
.mc-vehicle-info .mc-v-actions a:first-child,
.mc-vehicle-info .mc-v-learn {
    color: var(--color-accent);
    font-size: 1.6rem;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    cursor: pointer;
}
.mc-vehicle-info .mc-v-actions a:first-child:hover,
.mc-vehicle-info .mc-v-learn:hover {
    border-bottom-color: var(--color-accent);
}
.mc-vehicle-info .mc-v-actions a:last-child,
.mc-vehicle-info .mc-v-order {
    color: var(--color-text-light);
    font-size: 1.6rem;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    cursor: pointer;
}
.mc-vehicle-info .mc-v-actions a:last-child:hover,
.mc-vehicle-info .mc-v-order:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}
@media (min-width: 769px) {
    .mc-vehicle-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }
    .mc-vehicle-item {
        flex: 0 1 calc(50% - 12px);
        min-width: 200px;
    }
}
.mobile-menu-sub-links a {
    display: block;
    padding: 10px 12px;
    font-size: 0.9rem;
    color: var(--color-text-light);
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease;
}
.mobile-menu-sub-links a:hover {
    background: var(--color-light);
    color: var(--color-text);
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.language-switcher {
    position: relative;
}
.lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text);
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease;
}
.lang-btn:hover {
    background: rgba(0,0,0,0.04);
}
.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    min-width: 130px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--dropdown-transition);
    overflow: hidden;
    z-index: 1001;
}
.language-switcher:hover .lang-dropdown,
.lang-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-dropdown a {
    display: block;
    padding: 10px 16px;
    font-size: 0.85rem;
    color: var(--color-text);
    transition: background-color 0.2s ease;
}
.lang-dropdown a:hover {
    background: var(--color-light);
    color: var(--color-accent-dark);
}
.lang-dropdown a.active {
    color: var(--color-accent-dark);
    font-weight: 600;
    background: rgba(52,87,177,0.06);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}
@keyframes float {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(100px); opacity: 0; }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}
.animate-fade-in-down {
    animation: fadeInDown 0.6s ease forwards;
}
.animate-slide-left {
    animation: slideInLeft 0.6s ease forwards;
}
.animate-slide-right {
    animation: slideInRight 0.6s ease forwards;
}
.animate-scale-in {
    animation: scaleIn 0.5s ease forwards;
}

/* ============================================
   BACKWARD COMPATIBILITY: CLASSIC PAGE STYLES
   ============================================ */

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

/* --- Site Header (classic) --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: var(--transition);
}
.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}
.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--color-accent-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
}
.logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: 1px;
}
.main-nav ul {
    display: flex;
    gap: 4px;
}
.main-nav a {
    padding: 8px 18px;
    color: var(--color-text-light);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--color-text);
    background: rgba(0,0,0,0.04);
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-accent);
    border-radius: 1px;
    transition: var(--transition);
}
.main-nav a:hover::after,
.main-nav a.active::after {
    width: 20px;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.mobile-menu-btn {
    display: none;
    font-size: 1.4rem;
    color: var(--color-text);
    padding: 8px;
}

/* --- Classic Mobile Nav Overlay --- */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
}
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: var(--color-primary);
    z-index: 2001;
    transition: right 0.3s ease;
    padding: 24px;
}
.mobile-nav.open { right: 0; }
.mobile-nav-overlay.open { display: block; }
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}
.mobile-nav-header button {
    color: #fff;
    font-size: 1.3rem;
}
.mobile-nav ul li a {
    display: block;
    padding: 14px 0;
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}
.mobile-nav ul li a:hover {
    color: var(--color-accent);
    padding-left: 8px;
}
.mobile-lang {
    margin-top: 24px;
    text-align: center;
}
.mobile-lang a {
    color: rgba(255,255,255,0.6);
    padding: 8px 12px;
    font-size: 0.9rem;
}
.mobile-lang a.active {
    color: var(--color-accent);
    font-weight: 600;
}
.mobile-lang span {
    color: rgba(255,255,255,0.3);
    padding: 0 4px;
}

/* --- Section Common --- */
.section {
    padding: 100px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-tag {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(52,87,177,0.08);
    border-radius: 50px;
    color: var(--color-accent-dark);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 1px;
}
.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 16px;
}
.section-header p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* --- BTN Primary / Secondary --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: var(--color-accent-gradient);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(52,87,177,0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(52,87,177,0.35);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}
.btn-secondary:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.05);
    transform: translateY(-2px);
}

/* --- Vehicle Grid & Cards --- */
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.vehicle-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}
.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.vehicle-card-image {
    position: relative;
    height: 240px;
    background: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.vehicle-card-image .placeholder-icon {
    font-size: 4rem;
    color: var(--color-gray-300);
}
.vehicle-card-image .vehicle-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 14px;
    background: var(--color-accent-gradient);
    border-radius: 50px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
}
.vehicle-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.vehicle-card:hover .vehicle-card-image img {
    transform: scale(1.05);
}
.vehicle-card-body {
    padding: 24px;
}
.vehicle-card-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.vehicle-card-body .vehicle-subtitle {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.vehicle-card-specs {
    display: flex;
    gap: 24px;
    padding: 16px 0;
    border-top: 1px solid var(--color-border);
    margin-bottom: 16px;
}
.vehicle-card-specs .spec-item {
    text-align: center;
}
.vehicle-card-specs .spec-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
}
.vehicle-card-specs .spec-label {
    font-size: 0.8rem;
    color: var(--color-text-light);
}
.vehicle-card-actions {
    display: flex;
    gap: 12px;
}
.vehicle-card-actions .btn-outline {
    flex: 1;
    padding: 10px;
    text-align: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}
.vehicle-card-actions .btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent-dark);
}
.vehicle-card-actions .btn-solid {
    flex: 1;
    padding: 10px;
    text-align: center;
    background: var(--color-accent-gradient);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}
.vehicle-card-actions .btn-solid:hover {
    opacity: 0.9;
}
.view-all-link {
    display: block;
    text-align: center;
    margin-top: 40px;
}
.view-all-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}
.view-all-link a:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
}

/* --- Page Banner --- */
.page-banner {
    position: relative;
    text-align: center;
    background: #fafafa;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 24px;
    justify-content: flex-end;
}
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(52,87,177,0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(42,74,154,0.03) 0%, transparent 50%);
}
.page-banner h1 {
    position: relative;
    z-index: 1;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #f3f7ff;
    margin-bottom: 16px;
}
.page-banner p {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    color: #f3f7ff;
    max-width: 500px;
    margin: 0 auto;
}

/* --- About Section --- */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 100px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-image .about-placeholder {
    text-align: center;
    color: rgba(255,255,255,0.3);
}
.about-image .about-placeholder i {
    font-size: 5rem;
    margin-bottom: 16px;
}
.about-image .about-placeholder span {
    display: block;
    font-size: 1rem;
}
.about-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 20px;
}
.about-content p {
    color: var(--color-text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}
.about-stat-item {
    text-align: center;
    padding: 20px;
    background: var(--color-light);
    border-radius: var(--radius-sm);
}
.about-stat-item .stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.about-stat-item .stat-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 4px;
}

/* --- Values Grid & Card --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}
.value-card {
    text-align: center;
    padding: 40px 24px;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}
.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}
.value-card .value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--color-accent-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}
.value-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.value-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Brand Section --- */
.brand-section {
    padding: 80px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.brand-mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}
.brand-card {
    padding: 40px;
    background: var(--color-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}
.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.brand-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-accent-dark);
}
.brand-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.brand-card p {
    color: var(--color-text-light);
    line-height: 1.8;
}

/* --- Products Page --- */
.product-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid var(--color-border);
}
.product-row:last-child {
    border-bottom: none;
}
.product-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 350px;
    background: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-image .placeholder-icon {
    font-size: 4rem;
    color: var(--color-gray-300);
}
.product-info h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--color-primary);
}
.product-info p {
    color: var(--color-text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
}
.products-filter {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.filter-btn {
    padding: 10px 24px;
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    background: #fff;
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* --- Franchise Page --- */
.franchise-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}
.benefit-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--color-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}
.benefit-card:hover {
    transform: translateY(-4px);
}
.benefit-card .benefit-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--color-accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
}
.benefit-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.benefit-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}
.process-step {
    text-align: center;
    position: relative;
}
.process-step .step-number {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: var(--color-accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}
.process-step h5 {
    font-size: 1rem;
    font-weight: 600;
}

/* --- News Grid & Card --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.news-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--color-border);
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.news-card-image {
    height: 200px;
    background: var(--color-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.news-card-image i {
    font-size: 3rem;
    color: var(--color-gray-300);
}
.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-card-body {
    padding: 24px;
}
.news-card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 12px;
}
.news-card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}
.news-card-body p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.6;
}
.news-card-body .read-more {
    color: var(--color-accent-dark);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.news-card-body .read-more:hover {
    gap: 10px;
}

/* --- News List Page --- */
.news-list-section {
    padding: 80px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.news-toolbar {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.news-search-box {
    display: flex;
    gap: 8px;
}
.news-search-box input {
    padding: 10px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    width: 250px;
    transition: var(--transition);
}
.news-search-box input:focus {
    border-color: var(--color-accent);
    outline: none;
}
.news-search-box button {
    padding: 10px 20px;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.news-search-box button:hover {
    background: var(--color-primary-light);
}
.news-sort {
    display: flex;
    gap: 8px;
}
.sort-btn {
    padding: 8px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: var(--transition);
    background: #fff;
}
.sort-btn:hover,
.sort-btn.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* --- News Detail --- */
.news-detail {
    padding: 80px 24px;
    max-width: 800px;
    margin: 0 auto;
}
.news-detail-header {
    margin-bottom: 40px;
}
.news-detail-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
}
.news-detail-meta {
    display: flex;
    gap: 24px;
    color: var(--color-text-light);
    font-size: 0.9rem;
}
.news-detail-content {
    line-height: 1.9;
    font-size: 1.05rem;
    color: var(--color-text);
}
.news-detail-content p {
    margin-bottom: 20px;
}
.news-detail-content img {
    border-radius: var(--radius-sm);
    margin: 24px 0;
}

/* --- Form Styles --- */
.form-container {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    background: #fff;
    color: var(--color-text);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(52,87,177,0.12);
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
}
.form-group .error-msg {
    display: none;
    color: #fc8181;
    font-size: 0.85rem;
    margin-top: 4px;
}
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #fc8181;
}
.form-group.error .error-msg {
    display: block;
}
.form-submit {
    width: 100%;
    padding: 14px;
    background: var(--color-accent-gradient);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.form-submit:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(52,87,177,0.3);
}
.form-success {
    display: none;
    text-align: center;
    padding: 40px;
}
.form-success .success-icon {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 16px;
}
.form-success h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.form-success p {
    color: var(--color-text-light);
}

/* ============================================
   CLASSIC FOOTER
   ============================================ */
.site-footer {
    background: #fafafa;
    color: var(--color-text-light);
    padding: 60px 24px 0;
}
.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    padding-left: 40px;
    border-bottom: 1px solid var(--color-border);
}
.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
}
.footer-col h4 {
    color: var(--color-text);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: var(--color-text-light);
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-col ul li a:hover {
    color: var(--color-accent);
    padding-left: 4px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-family: 'Corbel Light', 'Corbel', sans-serif;
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: 16px;
}
.footer-logo i {
    width: 36px;
    height: 36px;
    background: var(--color-accent-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
}
.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.footer-contact li i {
    margin-top: 4px;
    color: var(--color-accent);
}
.social-links {
    display: flex;
    gap: 12px;
}
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    transition: var(--transition);
}
.social-icon:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(52,87,177,0.08);
}
.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-light);
}
.footer-bottom p {
    margin-bottom: 4px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: 80px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-info-card {
    padding: 40px;
    background: var(--color-light);
    border-radius: var(--radius-md);
}
.contact-info-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}
.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}
.contact-info-item .contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--color-accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
}
.contact-info-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.contact-info-item p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* Contact Bar (inline) */
.contact-bar {
    padding: 40px 24px;
    background: var(--color-light);
}
.contact-bar > div {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.contact-bar-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.contact-bar-item i {
    font-size: 1.3rem;
    color: var(--color-accent);
    margin-top: 2px;
}
.contact-bar-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.contact-bar-item p {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* ============================================
   UTILITY: BREADCRUMB, TOAST, PAGINATION, SPINNER
   ============================================ */
.breadcrumb {
    padding: 16px 24px;
    max-width: var(--max-width);
    margin: 80px auto 0;
    font-size: 0.9rem;
    color: var(--color-text-light);
}
.breadcrumb a {
    color: var(--color-text-light);
    transition: var(--transition);
}
.breadcrumb a:hover {
    color: var(--color-accent-dark);
}
.breadcrumb span {
    color: var(--color-text);
}
.breadcrumb .separator {
    margin: 0 8px;
    color: var(--color-gray-300);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    font-size: 0.9rem;
    transition: var(--transition);
}
.pagination a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent-dark);
}
.pagination .current {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.toast {
    position: fixed;
    top: 100px;
    right: 24px;
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    z-index: 9999;
    opacity: 0;
    transform: translateX(100px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}
.toast.show {
    opacity: 1;
    transform: translateX(0);
}
.toast.success {
    background: var(--color-accent-gradient);
}
.toast.error {
    background: #fc8181;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    padding: 40px;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-gray-100);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: #fff;
    color: #171a20;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.28);
}

/* ============================================
   HERO SECTION (Classic homepage)
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-primary);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(52,87,177,0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(42,74,154,0.14) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, #000 0%, transparent 40%);
}
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 60px;
    max-width: 900px;
}
.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(52,87,177,0.15);
    border: 1px solid rgba(52,87,177,0.3);
    border-radius: 50px;
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 32px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInDown 0.8s ease forwards;
}
.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}
.hero-content h1 span {
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255,255,255,0.6);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}
.hero-scroll-indicator .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

/* Particle */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(52,87,177,0.4);
    border-radius: 50%;
    animation: float linear infinite;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

@media (max-width: 1200px) {
    .navbar {
        padding: 0 24px;
    }
    .navbar-links a {
        padding: 8px 12px;
        font-size: 0.825rem;
    }
    .dropdown-panel {
        padding: 42px 36px 54px;
    }
    .ss-grid {
        padding: 0 24px;
    }
}

@media (max-width: 1024px) {
    .navbar-links {
        display: none;
    }
    .dropdown-panel {
        display: none !important;
    }
    .menu-toggle {
        display: flex;
    }
    .dual-hero {
        grid-template-columns: 1fr;
        height: auto;
    }
    .dh-card {
        height: 100vh;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .about-section {
        grid-template-columns: 1fr;
    }
    .about-image {
        order: -1;
        height: 300px;
    }
    .brand-mission-vision {
        grid-template-columns: 1fr;
    }
    .product-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .contact-bar > div {
        grid-template-columns: 1fr;
    }
    .dropdown-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 16px;
    }
    .main-nav {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .mobile-nav {
        display: block;
    }
    .mobile-nav-overlay {
        display: none;
    }
    .mobile-nav-overlay.open {
        display: block;
    }

    .hero-section {
        min-height: 90vh;
    }
    .hero-content {
        padding: 100px 20px 40px;
    }

    .section {
        padding: 60px 20px;
    }
    .vehicle-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .footer-col:first-child {
        grid-column: 1 / -1;
    }
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .news-search-box input {
        width: 100%;
    }

    .form-container {
        padding: 24px;
    }
    .page-banner {
        padding: 130px 20px 60px;
    }
    .contact-grid {
        gap: 30px;
    }
    .products-filter {
        gap: 8px;
    }
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    .header-actions .lang-btn span {
        display: none;
    }
    .product-row {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .contact-bar > div {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .hc-content h2 {
        font-size: 2rem;
    }
    .tesla-section-content h2 {
        font-size: 2rem;
    }
    .ss-hero-content h2 {
        font-size: 2rem;
    }
    .hc-btn,
    .tesla-btn {
        min-width: 200px;
        padding: 10px 24px;
    }
    .hc-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .hc-arrow-prev {
        left: 12px;
    }
    .hc-arrow-next {
        right: 12px;
    }

    .tesla-footer {
        padding: 32px 20px 20px;
    }
    .tesla-footer-links {
        gap: 4px;
    }
    .tesla-footer-links a {
        padding: 6px 8px;
    }

    .dropdown-panel {
        padding: 30px 24px 42px;
    }
    .dropdown-grid {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-primary,
    .btn-secondary {
        justify-content: center;
    }
    .about-stats {
        grid-template-columns: 1fr;
    }
    .product-row {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .contact-bar > div {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .hc-content h2 {
        font-size: 1.6rem;
    }
    .dh-card-content h2 {
        font-size: 1.6rem;
    }
    .hc-btn,
    .tesla-btn,
    .dh-btn {
        min-width: 160px;
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    .hc-actions,
    .tesla-section-actions,
    .dh-card-actions {
        flex-direction: column;
        gap: 12px;
    }
    .hc-dots {
        bottom: 60px;
        gap: 8px;
    }
    .hc-dot {
        width: 8px;
        height: 8px;
    }

    .ss-grid {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }
}

@media (max-width: 600px) {
    .section { padding: 40px 16px; }
    .form-container { padding: 20px 16px; }
    .page-banner { padding: 120px 16px 50px; }
    .page-banner h1 { font-size: 1.6rem; }
    .page-banner p { font-size: 0.9rem; }
    .section-header h2 { font-size: 1.4rem; }
    .section-header p { font-size: 0.9rem; }
}

@media (max-width: 480px) {
    .nav-brand { font-size: 0.95rem; }
    .navbar-links { display: none; }
    .menu-toggle { display: flex; }
}

/* ===== 关于我们下拉菜单（小鹏风格） ===== */
.about-nav { position: relative; }
.about-submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 170px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 1200;
}
.about-nav:hover .about-submenu,
.about-nav:focus-within .about-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.about-submenu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}
.about-submenu a {
    display: block;
    padding: 11px 22px;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}
.about-submenu a:hover { background: #f5f6f8; color: var(--color-accent); }
.about-submenu a.active { color: var(--color-accent); font-weight: 600; }

/* 汉堡菜单箭头（flex 垂直居中，与左侧文字同一水平线） */
.mc-arrow-btn { display: flex !important; align-items: center; justify-content: space-between; }
.mc-arrow { font-size: 2em; line-height: 1; }
