/* ============================================
   PRODUCTS.CSS - Product Pages Shared Styles
   Used by: beicavie.html, beicameteo.html, beicatemp.html, beicavol.html
   ============================================ */

:root {
    --dark-bg: #0a0a0a;
    --dark-surface: #111111;
    --light-text: #f8f9fa;
    --gray-text: #a0a0a0;
    --petrol-blue: #005f73;
    --accent-orange: #f97316;
    --accent-blue: #3b82f6;
    --accent-serif: 'Playfair Display', serif;
    --body-sans: 'Inter', sans-serif;
    --heading-sans: 'Poppins', sans-serif;
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-sans);
    background-color: var(--dark-bg);
    color: var(--gray-text);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--heading-sans);
    font-weight: 600;
    color: var(--light-text);
    line-height: 1.2;
}

.container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- PRODUCT HERO --- */
.product-hero {
    padding: 8rem 0 3rem 0;
    background: linear-gradient(135deg, rgba(0, 95, 115, 0.1) 0%, rgba(249, 115, 22, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    padding-right: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--light-text), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--accent-orange);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: var(--gray-text);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

/* --- REVISED HERO STATS (Compact & Organized) --- */
.hero-stats {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}

@media (max-width: 480px) {
    .hero-stats {
        display: grid;
        grid-template-columns: 1fr;
        /* Stack vertically on very small screens */
        width: 100%;
    }
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    transition: var(--transition);
    text-align: left;
    /* Ensure text aligns left inside the box */
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-orange);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 1.2rem;
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.stat-value {
    font-size: 1.1rem;
    /* Significantly smaller than previous 2rem */
    font-weight: 700;
    color: var(--light-text);
    display: block;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* --- FEATURES SECTION --- */
.features-section {
    padding: 3rem 0;
    background-color: var(--dark-surface);
}

.section-header {
    text-align: center;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--gray-text);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25vw, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--petrol-blue) 0%, var(--accent-orange) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-orange);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-orange), #ff8c42);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.feature-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-text);
}

/* --- SPECIFICATIONS --- */
.specifications-section {
    padding: 6rem 0;
}

.specs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.specs-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.specs-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.specs-content {
    padding-left: 2rem;
}

.specs-list {
    list-style: none;
    margin-top: 2rem;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: var(--transition);
}

.spec-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.spec-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-blue), #5a9cff);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.spec-content h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.spec-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--gray-text);
}

/* --- VARIANTS SECTION --- */
.variants-section {
    padding: 6rem 0;
    background-color: var(--dark-surface);
}

.variants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.variant-card {
    background: linear-gradient(135deg, rgba(0, 95, 115, 0.1) 0%, rgba(249, 115, 22, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.variant-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--petrol-blue) 0%, var(--accent-orange) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.variant-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-orange);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.variant-card:hover::before {
    opacity: 0.05;
}

.variant-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.variant-name {
    font-size: 1.6rem;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.variant-capacity {
    font-size: 2.5rem;
    color: var(--accent-orange);
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: block;
}

.variant-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--gray-text);
}

.variant-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2.5rem;
}

.variant-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
}

.variant-features li i {
    color: var(--accent-orange);
    font-size: 0.8rem;
}

/* --- CTA SECTION --- */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--petrol-blue) 0%, #004a5c 100%);
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="10" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.cta-content p {
    font-size: 1.2rem;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2.5rem;
    font-family: var(--body-sans);
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-orange);
    color: white;
    border: 2px solid var(--accent-orange);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* BeicaVol-specific styles for future section */
.future-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.03) 0%, rgba(0, 95, 115, 0.05) 100%);
    position: relative;
}

.future-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.future-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.future-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.future-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.future-content {
    padding-left: 2rem;
}

.future-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.future-content>p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: var(--gray-text);
}

.future-features {
    margin-bottom: 2.5rem;
}

.future-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.future-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--accent-orange);
    transform: translateX(5px);
}

.future-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--petrol-blue), #007a9c);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.future-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.future-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--gray-text);
}

@media (max-width: 1024px) {
    .future-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .future-content {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .future-section {
        padding: 4rem 0;
    }

    .future-content h3 {
        font-size: 1.8rem;
    }

    .future-item {
        flex-direction: column;
        text-align: center;
    }

    .future-icon {
        align-self: center;
    }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {

    .hero-container,
    .specs-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
    }

    .specs-content {
        padding-left: 0;
    }

    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .product-hero {
        padding: 8rem 0 4rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .variants-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}