/* Model Page Specific Styles */

/* Model Hero Section */
.model-hero {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content-center {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 3rem;
}

.xpeng-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.model-hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.model-hero .subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-specs {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.spec-item {
    text-align: center;
}

.spec-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.spec-value sup {
    font-size: 1rem;
    vertical-align: super;
}

.spec-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 1rem;
}

.btn-white {
    background: #fff;
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: 0.3s;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Dark Navbar variant */
.navbar-dark {
    background: transparent;
    border-bottom: none;
}

.navbar-dark.scrolled {
    background: rgba(15, 15, 15, 0.95);
}

.nav-links a.active {
    color: var(--accent-color);
    font-weight: 600;
}

/* X9 Hero - Gradient Background */
.x9-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center bottom, rgba(0, 210, 255, 0.15) 0%, transparent 60%);
    z-index: 1;
}

/* Color Showcase Section */
.color-showcase {
    background: #f5f5f5;
}

.showcase-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.car-display {
    width: 100%;
    max-width: 900px;
    margin-bottom: 2rem;
}

.color-car-image {
    width: 100%;
    height: auto;
    transition: opacity 0.3s, transform 0.3s;
}

.color-info {
    text-align: center;
}

.color-info h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #333;
}

.color-options {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.color-dot {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
    position: relative;
}

.color-dot:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.color-dot.active {
    border-color: #000;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features-section {
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: 0.3s;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Specifications Section */
.specifications-section {
    background: #fff;
    padding: 5rem 0;
}

.spec-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0;
}

.spec-tab-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #888;
    cursor: pointer;
    padding: 1rem 2rem;
    font-weight: 500;
    font-family: var(--font-main);
    position: relative;
    transition: 0.3s;
}

.spec-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    transition: 0.3s;
}

.spec-tab-btn.active,
.spec-tab-btn:hover {
    color: #000;
}

.spec-tab-btn.active::after {
    background: #d4a574;
}

.spec-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.spec-content.active {
    display: block;
}

.spec-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.spec-image img {
    width: 100%;
    height: auto;
}

.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.spec-box {
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.spec-title {
    display: block;
    font-size: 0.85rem;
    color: #d4a574;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.spec-val {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
}

.spec-val small {
    font-weight: 400;
    color: #666;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.cta-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .model-hero h1 {
        font-size: 2.5rem;
    }

    .hero-specs {
        flex-direction: column;
        gap: 1.5rem;
    }

    .spec-value {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 80%;
    }

    .btn-white,
    .btn-glass {
        width: 100%;
        text-align: center;
    }

    .color-dot {
        width: 40px;
        height: 40px;
    }

    .spec-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .spec-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .spec-tabs {
        flex-direction: column;
        gap: 0;
    }

    .spec-tab-btn {
        padding: 0.8rem 1rem;
    }
}
/* Unique Specs Section */
.unique-specs {
    padding: 4rem 0;
    background: #000;
    color: #fff;
}

.unique-specs h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.unique-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.unique-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.unique-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.unique-item:hover img {
    transform: scale(1.05);
}

.unique-desc {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

@media (max-width: 992px) {
    .unique-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .unique-grid {
        grid-template-columns: 1fr;
    }
}

/* X9 Badge */
.x9-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    color: #ccc;
    padding: 0.5rem 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    border-bottom-right-radius: 10px;
    z-index: 2;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
}

.x9-badge span {
    background: linear-gradient(45deg, #ccc, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Refine Desc */
.unique-desc {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
    padding: 2rem 1rem 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
}
