/* ============================================
   DROPFRAME - Product Page Styles (2026 Redesign)
   ============================================ */

/* Product Hero */
.product-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 4rem) 0 6rem;
    overflow: hidden;
}

/* Dynamic background shape */
.product-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.4;
    z-index: -1;
    filter: blur(80px);
    animation: pulseGlow 8s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(1.1); opacity: 0.5; }
}

.product-hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
    align-items: center;
}

.product-hero-text {
    max-width: 700px;
    z-index: 2;
}

.product-badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(192, 107, 78, 0.1);
    color: var(--accent);
    border: 1px solid var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 100px;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
}

.product-title {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    margin-bottom: 1.5rem;
    line-height: 1;
    letter-spacing: -0.03em;
}

.product-tagline {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.product-hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.product-hero-media {
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

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

.product-hero-media img,
.product-hero-media video {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
}

/* Features Section */
.features-section {
    background: var(--bg-primary); /* Uses grid pattern from body */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    backdrop-filter: blur(10px);
}

[data-theme="light"] .feature-card {    background: rgba(255, 255, 255, 0.7);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 20px;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: var(--accent);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    background: var(--accent);
    color: var(--text-on-accent);
    transform: rotate(10deg);
}

.feature-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Videos Section - Fix Contrast */
#videos .card {
    background: rgba(26, 22, 20, 0.95); /* Force dark background */
    border: 1px solid var(--border-color);
}

#videos h3 { color: #F5EDE6; }
#videos p, #videos li { color: #B8A99A; }

/* Pricing Section - Enhanced Separation */
.pricing-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    margin-top: 6rem; /* Separation */
    padding-top: 8rem;
    padding-bottom: 8rem;
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%); /* Angled edges */
}

.pricing-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 60%);
    opacity: 0.2;
    pointer-events: none;
}

.pricing-card {
    max-width: 550px;
    margin: 0 auto;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--accent);
    border-radius: 32px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 0 50px -10px var(--accent-glow); /* Strong Glow */
    backdrop-filter: blur(20px);
    position: relative;
    transition: transform 0.4s ease;
    z-index: 2;
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 0 80px -10px var(--accent-glow);
}

.pricing-header {
    padding: 4rem 2rem 2rem;
    background: linear-gradient(180deg, rgba(192, 107, 78, 0.15) 0%, transparent 100%);
    border-bottom: 1px solid rgba(117, 223, 192, 0.1);
}

.pricing-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    font-weight: 800;
}

.pricing-price {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--text-primary);
    text-shadow: 0 0 30px var(--accent-glow);
}

.pricing-price span {
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.6;
    color: var(--text-secondary);
}

.pricing-body {
    padding: 2rem 3rem 4rem;
}

.pricing-features {
    text-align: left;
    margin-bottom: 3rem;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.pricing-feature:last-child {
    border-bottom: none;
}

.pricing-feature::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: var(--text-on-accent);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

.pricing-cta {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px var(--accent-glow);
}

.pricing-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* FAQ Section */
.faq-section {
    max-width: 900px;
    margin: 0 auto;
    margin-top: 4rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover,
.faq-item.active {
    border-color: var(--accent);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(192, 107, 78, 0.1);
    border-radius: 50%;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--accent);
    color: var(--text-on-accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
    padding: 0 2rem 2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* CTA Section */
.cta-section {
    background: var(--bg-primary);
    text-align: center;
    position: relative;
    padding: 10rem 0;
}

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

.cta-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.4rem;
    margin-bottom: 3rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-hero-content {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .product-hero-text {
        max-width: 100%;
        margin: 0 auto;
    }

    .product-hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .product-hero {
        padding-top: 120px;
        min-height: auto;
    }

    .pricing-price {
        font-size: 3.5rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1.5rem;
    }
}