/* ========================================
   Product Page - SaaS-style landing
   ======================================== */

/* ========================================
   Product Hero - Split layout
   ======================================== */

.product-hero {
    padding: 160px 0 100px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.product-hero-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.product-hero-content {
    max-width: 520px;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 8px;
    background: rgba(196, 30, 58, 0.06);
    border: 1px solid rgba(196, 30, 58, 0.12);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.product-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    animation: badgePulse 2s ease infinite;
}

.product-title {
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: 800;
    color: var(--color-gray-900);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.product-title-accent {
    color: var(--color-primary);
}

.product-subtitle {
    font-size: 18px;
    color: var(--color-gray-500);
    line-height: 1.7;
    margin-bottom: 32px;
}

.product-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-hero-visual {
    position: relative;
}

/* ========================================
   Browser Frame - macOS-style mockup
   ======================================== */

.browser-frame {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-slow);
}

.browser-frame:hover {
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.15);
    transform: translateY(-4px);
}

.browser-frame-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    background: var(--color-gray-50);
    border-bottom: 1px solid var(--color-gray-200);
}

.browser-frame-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-frame-dot:nth-child(1) { background: #FF5F57; }
.browser-frame-dot:nth-child(2) { background: #FEBC2E; }
.browser-frame-dot:nth-child(3) { background: #28C840; }

.browser-frame-url {
    flex: 1;
    margin-left: 12px;
    padding: 6px 12px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--color-gray-400);
}

.browser-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Highlights Strip
   ======================================== */

.product-highlights {
    padding: 60px 0;
    border-top: 1px solid var(--color-gray-200);
    border-bottom: 1px solid var(--color-gray-200);
    position: relative;
    z-index: 1;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

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

.highlight-value {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--color-gray-900);
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 8px;
}

.highlight-value-accent {
    color: var(--color-primary);
}

.highlight-label {
    font-size: 15px;
    color: var(--color-gray-500);
    line-height: 1.5;
}

/* ========================================
   Video Section
   ======================================== */

.product-video {
    padding: 100px 0;
    background: var(--color-gray-50);
    position: relative;
    z-index: 1;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-xl);
    aspect-ratio: 16 / 9;
    background: var(--color-gray-900);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-poster {
    display: block;
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-xl);
    aspect-ratio: 16 / 9;
    background: var(--color-gray-900);
    cursor: pointer;
    transition: all var(--transition-base);
}

.video-poster:hover {
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.2);
    transform: translateY(-4px);
}

.video-poster:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--color-primary);
}

.video-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 30, 58, 0.9);
    border-radius: 50%;
    color: var(--color-white);
    box-shadow: 0 8px 32px rgba(196, 30, 58, 0.3);
    transition: all var(--transition-base);
}

.video-play-btn svg {
    margin-left: 3px;
}

/* ========================================
   Feature Showcase - Alternating layout
   ======================================== */

.product-feature {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.product-feature:nth-child(even) {
    background: var(--color-gray-50);
}

.product-feature-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.product-feature.reversed .product-feature-layout {
    direction: rtl;
}

.product-feature.reversed .product-feature-layout > * {
    direction: ltr;
}

.product-feature-content {
    max-width: 480px;
}

.product-feature .section-tag {
    margin-bottom: 12px;
}

.product-feature-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--color-gray-900);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.product-feature-desc {
    font-size: 16px;
    color: var(--color-gray-500);
    line-height: 1.75;
    margin-bottom: 24px;
}

.product-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--color-gray-700);
    line-height: 1.5;
}

.product-feature-list li svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--color-primary);
}

.product-feature-visual {
    position: relative;
}

/* ========================================
   Product CTA
   ======================================== */

.product-cta {
    padding: 100px 0;
    background: url('../images/cta-bg.jpg') center / cover no-repeat;
    position: relative;
    z-index: 1;
}

.product-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(45, 8, 14, 0.92);
    z-index: -1;
}

.product-cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.product-cta .section-tag {
    color: rgba(255, 255, 255, 0.6);
}

.product-cta .section-title {
    color: var(--color-white);
}

.product-cta-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 16px 0 32px;
}

/* ========================================
   Scroll Reveal
   ======================================== */

.scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Hero animations
   ======================================== */

.product-hero-content {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.product-hero-visual {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

/* ========================================
   Responsive - Tablet
   ======================================== */

@media (max-width: 1024px) {
    .product-hero-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .product-hero-content {
        max-width: 600px;
        text-align: center;
        margin: 0 auto;
    }

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

    .product-feature-layout {
        gap: 60px;
    }
}

/* ========================================
   Responsive - Mobile
   ======================================== */

@media (max-width: 768px) {
    .product-hero {
        padding: 140px 0 60px;
    }

    .product-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

    .product-subtitle {
        font-size: 16px;
    }

    .product-hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .highlight-item {
        text-align: left;
        padding-left: 20px;
        border-left: 3px solid var(--color-primary);
    }

    .product-video {
        padding: 60px 0;
    }

    .product-feature {
        padding: 60px 0;
    }

    .product-feature-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-feature.reversed .product-feature-layout {
        direction: ltr;
    }

    .product-feature-content {
        max-width: none;
    }

    .product-cta {
        padding: 60px 0;
    }
}

/* ========================================
   Print
   ======================================== */

@media print {
    .product-hero {
        padding: 40px 0;
    }

    .product-cta {
        background: none;
    }

    .product-cta::before {
        display: none;
    }

    .video-wrapper {
        display: none;
    }
}
