/* ===== 基础重置与变量 ===== */
:root {
    --primary: #1a3c27;
    --primary-light: #2d5a3d;
    --primary-dark: #0f291b;
    --accent: #c9a962;
    --accent-light: #e0c585;
    --cream: #f5f1e8;
    --cream-dark: #e8e0d0;
    --text: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(201, 169, 98, 0.3);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 98, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--cream);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 54px;
    width: auto;
    padding: 6px 12px;
    background: rgba(255,255,255,0.95);
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    transition: var(--transition);
}

.logo-img:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

.logo-img-light {
    background: rgba(255,255,255,0.98);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    transition: var(--transition);
    position: relative;
}

.navbar.scrolled .nav-menu a {
    color: var(--text);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--accent);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent);
    color: var(--primary-dark);
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
}

.nav-phone:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--primary);
}

/* ===== Hero 区域 ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/car/car-04.jpg') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15,41,27,0.92) 0%, rgba(15,41,27,0.75) 50%, rgba(15,41,27,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(201, 169, 98, 0.2);
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-title .highlight {
    color: var(--accent);
}

.hero-subtitle {
    font-size: clamp(16px, 3vw, 22px);
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 auto 32px;
    font-weight: 300;
}

.hero-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 36px;
}

.price-label {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
}

.price-num {
    font-size: 64px;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}

.price-unit {
    font-size: 24px;
    color: var(--accent);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hf-item {
    text-align: center;
}

.hf-item strong {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
}

.hf-item span {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== 通用区域 ===== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-header.light h2,
.section-header.light p {
    color: var(--white);
}

/* ===== 公司简介 ===== */
.about {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.company-card {
    grid-column: span 2;
    text-align: left;
}

.company-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.about-card h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 12px;
}

.company-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.company-desc {
    color: var(--text-light);
    line-height: 1.8;
}

.stat-number {
    font-size: 52px;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 16px;
}

.stat-number span {
    font-size: 24px;
}

.about-card p:not(.company-name):not(.company-desc) {
    color: var(--text-light);
    font-size: 15px;
}

/* ===== 车型亮点 ===== */
.highlights {
    background: var(--primary);
    position: relative;
}

.highlights::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.03;
    pointer-events: none;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.highlight-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.highlight-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.hl-icon {
    width: 56px;
    height: 56px;
    background: rgba(201, 169, 98, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent);
}

.hl-icon svg {
    width: 28px;
    height: 28px;
}

.highlight-card h3 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 14px;
}

.highlight-card p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    line-height: 1.8;
}

/* ===== 技术参数 ===== */
.specs {
    background: var(--white);
}

.specs-wrapper {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: start;
}

.specs-table {
    background: var(--cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.specs-table table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 16px 24px;
    font-size: 15px;
}

.specs-table td:first-child {
    width: 35%;
    color: var(--text-light);
    font-weight: 500;
    background: rgba(0,0,0,0.02);
}

.specs-table td:last-child {
    color: var(--text);
    font-weight: 600;
}

.price-strong {
    color: var(--primary);
    font-size: 18px;
}

.specs-summary {
    background: var(--primary);
    color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    position: sticky;
    top: 100px;
}

.specs-summary h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.specs-summary ul {
    margin-bottom: 32px;
}

.specs-summary li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.specs-summary li:last-child {
    border-bottom: none;
}

.check {
    color: var(--accent);
    font-weight: 900;
    flex-shrink: 0;
}

/* ===== 内饰配置 ===== */
.gallery {
    background: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:nth-child(6n+1) {
    grid-row: span 2;
}

.gallery-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(transparent, rgba(15,41,27,0.9));
    color: var(--white);
    transform: translateY(10px);
    opacity: 0.9;
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

.gallery-caption h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.gallery-caption p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

/* ===== 适用场景 ===== */
.scenarios {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.scenario-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.scenario-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.scenario-num {
    font-size: 48px;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 20px;
}

.scenario-card h3 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 12px;
}

.scenario-card p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
}

/* ===== 公众号文章 ===== */
.articles-section {
    background: var(--cream);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.article-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--accent);
}

.article-date {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 1px;
}

.article-card h3 {
    font-size: 18px;
    color: var(--primary);
    line-height: 1.5;
}

.article-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    flex: 1;
}

.article-arrow {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.article-card:hover .article-arrow {
    color: var(--primary);
}

/* ===== 促销横幅 ===== */
.cta-banner {
    background: var(--accent);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(28px, 5vw, 40px);
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(15,41,27,0.8);
    margin-bottom: 28px;
}

/* ===== 预约试驾 ===== */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-info {
    display: grid;
    gap: 20px;
}

.info-card {
    background: var(--cream);
    padding: 28px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow);
}

.info-card h3 {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.info-big {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.info-big a {
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
    transition: var(--transition);
}

.info-big a:hover {
    color: var(--accent);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
    margin-top: 8px;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    line-height: 1.8;
    max-width: 360px;
}

.footer h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-contact p {
    margin-bottom: 10px;
    font-size: 15px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
}

.footer-bottom p {
    margin-bottom: 8px;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .company-card {
        grid-column: span 2;
    }
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .specs-wrapper,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .specs-summary {
        position: static;
    }
    .scenario-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 200px;
    }
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 2;
    }
    .gallery-item:nth-child(6n+1) {
        grid-row: span 2;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu,
    .nav-phone {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow);
        display: none;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-menu a {
        color: var(--text);
        padding: 14px 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .hero-features {
        gap: 24px;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .company-card {
        grid-column: span 1;
    }
    .highlights-grid,
    .scenario-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 260px;
    }
    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
        height: 260px;
    }
    .gallery-item:nth-child(6n+1) {
        grid-row: span 1;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .price-num {
        font-size: 48px;
    }
    .section {
        padding: 70px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .hero {
        padding: 100px 0 60px;
    }
    .btn {
        padding: 12px 24px;
        font-size: 15px;
    }
    .contact-form-wrapper {
        padding: 24px;
    }
}
