/* ================================
   Product Page Styles (e.g. Immutable Vault)
   ================================ */

/* Hero Section */
.product-hero {
    padding: 8rem 2rem 6rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(5, 5, 5, 1) 0%, rgba(20, 20, 20, 1) 100%);
    overflow: hidden;
}

.product-hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(187, 153, 84, 0.1);
    color: var(--color-accent-gold);
    border: 1px solid rgba(187, 153, 84, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.product-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.product-hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 5rem;
}

.product-hero-visual {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    aspect-ratio: 16/9;
}

.product-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Feature Grid (Bento) */
.product-features-section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, minmax(300px, auto));
    gap: 1.5rem;
}

.bento-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-medium);
    overflow: hidden;
    position: relative;
}

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

.bento-card.wide {
    grid-column: span 2;
}

.bento-card.tall {
    grid-row: span 2;
}

.bento-icon {
    width: 48px;
    height: 48px;
    background: rgba(187, 153, 84, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-gold);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.bento-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.bento-content p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Deep Dive (Zig Zag) */
.deep-dive-section {
    padding: 6rem 2rem;
}

.deep-dive-row {
    max-width: 1200px;
    margin: 0 auto 8rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.deep-dive-row.reverse .deep-dive-content {
    order: 2;
}

.deep-dive-row.reverse .deep-dive-visual {
    order: 1;
}

.deep-dive-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.deep-dive-content p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.feature-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-primary);
}

.feature-list li svg {
    color: var(--color-accent-gold);
    width: 20px;
    height: 20px;
}

.deep-dive-visual {
    width: 100%;
    aspect-ratio: 4/3;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deep-dive-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    padding: 2rem;
}

/* Technical Specs Strip */
.tech-specs {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 2rem;
}

.specs-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 3rem;
    text-align: center;
}

.spec-item h4 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.spec-item span {
    color: var(--color-text-tertiary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Bottom CTA */
.product-cta {
    padding: 8rem 2rem;
    text-align: center;
    background: radial-gradient(circle at center, rgba(187, 153, 84, 0.15) 0%, rgba(5, 5, 5, 0) 70%);
}

.product-cta h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.product-cta p {
    color: var(--color-text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Responsive */
@media (max-width: 968px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .bento-card.wide,
    .bento-card.tall {
        grid-column: auto;
        grid-row: auto;
    }

    .deep-dive-row {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .deep-dive-row.reverse .deep-dive-content {
        order: 1;
        /* Reset order */
    }

    .deep-dive-row.reverse .deep-dive-visual {
        order: 2;
    }

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

    .product-hero-actions {
        flex-direction: row;
        /* Force single row */
        flex-wrap: nowrap;
        gap: 0.75rem;
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }

    .product-hero-actions .btn {
        flex: 1;
        /* Equal width */
        width: auto !important;
        min-width: 0;
        /* Allow text truncate or fitting */
        font-size: 0.9rem !important;
        padding: 0.8em 0.5em !important;
        white-space: nowrap;
    }
}