/* ===============================================
   LUXBOX PRODUCT PAGE STYLES
   Premium, value-focused design with animations
   =============================================== */

/* ============ MOBILE SCROLL FIXES ============ */
/* Lock animations during iOS momentum scrolling */
@media (max-width: 768px) {
    .product-hero, .value-props, .screenshots-section, 
    .features-carousel, .testimonials, .pricing-section {
        overflow-x: hidden;
        position: relative;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    /* Allow the icon to be fully visible on mobile */
    .product-hero {
        overflow: visible;
    }
    
    .product-hero .container, 
    .value-props .container, 
    .screenshots-section .container,
    .features-carousel .container,
    .testimonials .container,
    .pricing-section .container {
        overflow-x: hidden;
        max-width: 100%;
    }
}

/* ============ HERO SECTION ============ */
.product-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--midnight-sin) 0%, rgba(18, 22, 51, 0.95) 100%);
    padding: 3rem 0;
}


.product-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--lust-transparent-15) 0%, transparent 70%);
    animation: float-gradient 20s ease-in-out infinite;
}

@keyframes float-gradient {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-10%, 10%) rotate(120deg); }
    66% { transform: translate(10%, -10%) rotate(240deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* App icon hero styles moved to customer.css - using shared styles from there */
/* LuxBox page needs centered icon */
.product-hero .app-icon-hero {
    margin: 0 auto 2.5rem;
}

.hero-stat {
    font-size: 5rem;
    font-weight: 200;
    color: var(--lust);
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fade-in-up 0.8s ease-out forwards;
    letter-spacing: -0.02em;
}

.hero-headline {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--vanilla-sex);
    margin-bottom: 1.25rem;
    line-height: 1.15;
    opacity: 0;
    animation: fade-in-up 0.8s ease-out 0.2s forwards;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--sensual-grey);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fade-in-up 0.8s ease-out 0.4s forwards;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ VALUE PROPS SECTION ============ */
.value-props {
    padding: 4rem 0;
    position: relative;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
    background: var(--midnight-sin);
    border: 2px solid var(--lust-transparent-15);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.value-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--lust-transparent-30);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.value-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--lust-transparent-15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover::before {
    opacity: 1;
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--lust-transparent-15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--lust);
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
    border: 3px solid transparent;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
    background: var(--lust-transparent-30);
    border-color: var(--lust);
    box-shadow: 0 0 20px var(--lust-transparent-40);
}

.value-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--lust);
    margin-bottom: 0.5rem;
}

.counting {
    display: inline-block;
}

/* ============ PROBLEM SECTION ============ */
.problem-section {
    background: rgba(245, 235, 221, 0.03);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

/* Feature boxes layout */
.feature-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-box {
    background: var(--midnight-sin);
    border: 2px solid var(--lust-transparent-15);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--lust-transparent-30);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--lust-transparent-15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-box:hover .feature-box-icon {
    transform: scale(1.1);
    background: var(--lust-transparent-30);
    border-color: var(--lust);
    box-shadow: 0 0 20px var(--lust-transparent-40);
}

.feature-box-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--lust-transparent-15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--lust);
    transition: all 0.5s ease;
    border: 3px solid transparent;
}

.feature-box h4 {
    color: var(--vanilla-sex);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-box p {
    color: var(--sensual-grey);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .feature-boxes {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.problem-visual {
    position: relative;
    height: 400px;
    margin: 3rem 0;
}

.gift-card {
    position: absolute;
    width: 200px;
    height: 120px;
    border-radius: 12px;
    padding: 1rem;
    color: white;
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center center;
    will-change: transform, opacity, filter, box-shadow;
    cursor: pointer;
}

.gift-card:hover {
    transform: scale(1.15) translateY(-5px) rotate(var(--rotation, -5deg)) !important;
    box-shadow: 0 0 30px var(--lust-transparent-40), 0 15px 40px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

/* Special hover for Briefly Beautiful */
.gift-card.briefly-beautiful:hover {
    box-shadow: 0 0 30px rgba(222, 123, 166, 0.6), 0 15px 40px rgba(0, 0, 0, 0.3);
}

.gift-card.playing {
    box-shadow: 0 0 40px var(--lust-transparent-60), 0 20px 50px rgba(0, 0, 0, 0.4);
    animation: none !important; /* Disable wiggle when playing */
    overflow: hidden;
}

/* Shimmer effect for active cards */
.gift-card.playing::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 60%
    );
    animation: shimmer 3s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(30deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(30deg);
    }
}

/* Gradients are now applied dynamically via JavaScript */

.gift-card.forgotten {
    filter: grayscale(80%) brightness(0.6);
    animation: subtle-wiggle 8s ease-in-out infinite;
}

.gift-card.organized {
    filter: none;
    animation: subtle-wiggle 8s ease-in-out infinite;
}

.gift-card.organized:hover {
    animation: none;
}

/* Subtle individual wiggle animation */
@keyframes subtle-wiggle {
    0%, 100% { 
        transform: translateY(0) rotate(var(--rotation, -5deg)) scale(1);
    }
    25% { 
        transform: translateY(-3px) rotate(calc(var(--rotation, -5deg) + 1deg)) scale(1.01);
    }
    75% { 
        transform: translateY(2px) rotate(calc(var(--rotation, -5deg) - 1deg)) scale(0.99);
    }
}

/* Beat particle effects */
.beat-particle {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
    transform: translate(-50%, -50%);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 10px currentColor;
}

/* ============ SCREENSHOTS SECTION ============ */
.screenshots-section {
    padding: 4rem 0;
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
    align-items: center;
}

.screenshot-item {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    max-width: 180px;
    width: 100%;
}

/* iPhone 16 Pro frame wrapper */
.screenshot-item::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid #333;
    border-radius: 32px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    z-index: 0;
    transition: all 0.3s ease;
}

/* Dynamic Island */
.screenshot-item::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #000;
    border-radius: 3px;
    z-index: 2;
}

/* Grid positioning handled by parent container */

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    position: relative;
    z-index: 1;
}

.screenshot-item:hover {
    transform: translateY(-5px) scale(1.03) !important;
    z-index: 10;
}

/* Override scale-in animation on hover */
.screenshot-item.scale-in:hover {
    transform: translateY(-5px) scale(1.03) !important;
}

.screenshot-item:hover::before {
    box-shadow: 0 0 30px var(--lust-transparent-40), 0 15px 40px rgba(0, 0, 0, 0.25);
    border-color: var(--lust-transparent-30);
}

.screenshot-placeholder {
    aspect-ratio: 9/16;
    background: linear-gradient(135deg, var(--lust-transparent-15) 0%, var(--lust-transparent-30) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--sensual-grey);
}

/* ============ FEATURES CAROUSEL / TRANSFORMATION JOURNEY ============ */
.features-carousel {
    padding: 4rem 0;
    background: var(--midnight-sin);
    position: relative;
    overflow: hidden;
}

.features-carousel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(111, 149, 205, 0.1) 0%, transparent 70%);
    animation: float-gradient 25s ease-in-out infinite;
}

.transformation-journey {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

/* Special fade-in for journey steps that doesn't affect transform */
.journey-fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.journey-fade-in.visible {
    opacity: 1;
}

.journey-step {
    text-align: center;
    position: relative;
    background: var(--midnight-sin);
    border: 2px solid var(--lust-transparent-15);
    border-radius: 16px;
    padding: 3rem 2rem 2rem;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                border-color 0.3s ease, 
                box-shadow 0.3s ease;
    overflow: visible;
    z-index: 1;
}

.journey-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, var(--lust-transparent-15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}

.journey-step:hover::before,
.journey-step.simulated-hover::before {
    opacity: 1;
}

.journey-step:hover,
.journey-step.simulated-hover {
    transform: translateY(-5px) scale(1.05) !important;
    border-color: var(--lust-transparent-30);
    box-shadow: 0 0 30px var(--lust-transparent-40), 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.journey-step:hover .step-number,
.journey-step.simulated-hover .step-number {
    background: var(--lust);
    transform: translateX(-50%) scale(1.2);
    box-shadow: 
        0 0 20px var(--lust),
        0 0 40px var(--lust-transparent-40),
        0 4px 15px rgba(230, 32, 32, 0.3);
    transition: all 0.3s ease;
}

.journey-step:hover .emotion-tag,
.journey-step.simulated-hover .emotion-tag {
    background: var(--lust);
    transform: scale(1.05);
    box-shadow: 
        0 0 15px var(--lust),
        0 0 30px var(--lust-transparent-40),
        0 4px 12px rgba(230, 32, 32, 0.2);
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--lust);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(230, 32, 32, 0.3);
    transition: transform 0.3s ease, background 0.3s ease;
}

.journey-step h3 {
    font-size: 1.5rem;
    color: var(--vanilla-sex);
    margin: 1.5rem 0 1rem;
}

.journey-step p {
    color: var(--sensual-grey);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.emotion-tag {
    display: inline-block;
    background: var(--lust-transparent-15);
    color: var(--vanilla-sex);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Journey step connectors - removed, using separate sizzle-line elements instead */

/* Animated sizzle effect */
.journey-step {
    --sizzle-offset: 0%;
}

.sizzle-line {
    position: absolute;
    width: 5rem;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
    overflow: visible;
    background: transparent;
    opacity: 0;
    transition: opacity 0.8s ease 1s; /* Fade in after 1s delay */
}

.transformation-journey .journey-step.visible ~ .sizzle-line,
.transformation-journey:has(.journey-step.visible) .sizzle-line {
    opacity: 1;
}

.sizzle-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
    background-image: repeating-linear-gradient(
        90deg,
        var(--lust-transparent-30),
        var(--lust-transparent-30) 5px,
        transparent 5px,
        transparent 10px
    );
}

.sizzle-line-1 {
    left: calc(33.33% - 2.5rem);
}

.sizzle-line-2 {
    left: calc(66.66% - 2.5rem);
}

.sizzle-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 30px;
    height: 30px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(circle at center, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(230, 32, 32, 0.8) 40%, 
        rgba(230, 32, 32, 0.4) 70%, 
        transparent 100%);
    box-shadow: 
        0 0 20px var(--lust),
        0 0 40px var(--lust-transparent-60);
}


@keyframes sizzle {
    0% {
        transform: translateY(-50%) translateX(-40px);
        opacity: 0;
    }
    10% {
        transform: translateY(-50%) translateX(0);
        opacity: 1;
    }
    90% {
        transform: translateY(-50%) translateX(3rem);
        opacity: 1;
    }
    100% {
        transform: translateY(-50%) translateX(calc(3rem + 40px));
        opacity: 0;
    }
}

/* Only animate sizzle when line is active */
.sizzle-line.spark-active::before {
    animation: sizzle 0.5s linear forwards;
}

.sizzle-line:not(.spark-active)::before {
    opacity: 0;
    transform: translateY(-50%) translateX(-100%);
}


@media (max-width: 768px) {
    .transformation-journey {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .journey-step:not(:last-child)::after {
        display: none;
    }
}

.feature-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 500px;
}

.feature-content h3 {
    font-size: 2.5rem;
    color: var(--vanilla-sex) !important;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--lust-transparent-15);
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: translateX(-30px);
}

.feature-list li.animate-in {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.5s ease-out;
}

.feature-check {
    color: var(--lust);
    font-size: 1.5rem;
}

/* ============ TESTIMONIALS ============ */
/* Using testimonial styles from customer.css */
.testimonials {
    padding: 4rem 0;
}

/* ============ PRICING TABLE ============ */
.pricing-section {
    padding: 4rem 0;
    background: rgba(245, 235, 221, 0.03);
}

.pricing-table {
    max-width: 1000px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.pricing-table-three {
    max-width: 1200px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.pricing-section .row {
    margin-top: 2rem;
}

.pricing-section .col-md-6 {
    display: flex;
    align-items: stretch;
}

.pricing-section .col-md-6 .pricing-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Pricing options styling */
.pricing-options {
    margin-bottom: 2rem;
}

.pricing-option {
    text-align: center;
    margin-bottom: 1rem;
}

.pricing-option:last-child {
    margin-bottom: 0;
}

.pricing-divider {
    text-align: center;
    color: var(--sensual-grey);
    font-size: 0.9rem;
    margin: 1rem 0;
    position: relative;
}

.pricing-divider::before,
.pricing-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: var(--lust-transparent-30);
}

.pricing-divider::before {
    left: 0;
}

.pricing-divider::after {
    right: 0;
}

.pricing-label {
    font-size: 0.9rem;
    color: var(--sensual-grey);
    margin-top: 0.5rem;
    text-align: center;
}

.badge-save {
    background: linear-gradient(135deg, var(--lust) 0%, var(--jazzberry-jam) 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 
        0 0 15px var(--lust-transparent-40),
        0 4px 12px rgba(230, 32, 32, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: subtle-glow 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.badge-save::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes subtle-glow {
    0%, 100% {
        box-shadow: 
            0 0 15px var(--lust-transparent-40),
            0 4px 12px rgba(230, 32, 32, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 0 25px var(--lust-transparent-60),
            0 6px 18px rgba(230, 32, 32, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

@keyframes shimmer {
    0% { left: -100%; opacity: 0; }
    25% { opacity: 1; }
    75% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.pricing-card {
    background: var(--midnight-sin);
    border: 2px solid var(--lust-transparent-15);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-table-three:hover .pricing-card.featured {
    transform: scale(1);
    z-index: 1;
}

.pricing-card:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--lust-transparent-30);
    box-shadow: 0 0 30px var(--lust-transparent-40), 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.pricing-card-link {
    text-decoration: none;
    color: inherit;
}

.pricing-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.pricing-card-link .btn {
    margin-top: auto;
    pointer-events: none;
}

.pricing-card.featured {
    border-color: var(--lust);
    transform: scale(1.05);
    z-index: 2;
    position: relative;
}

.pricing-card.featured::before {
    content: 'BEST VALUE';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--lust);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-title {
    font-size: 1.5rem;
    color: var(--vanilla-sex);
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 3rem;
    color: var(--lust);
    margin-bottom: 2rem;
    text-align: center;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--sensual-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pricing-features li i {
    color: var(--lust);
}

/* ============ STATS COUNTER ============ */
.stats-bar {
    position: fixed;
    bottom: 20px;
    right: 40px;
    background: var(--midnight-sin);
    border: 1px solid var(--lust-transparent-30);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.5s ease;
    z-index: 100;
}

.stats-bar.visible {
    opacity: 1;
    transform: translateY(0);
}

.stats-label {
    font-size: 0.9rem;
    color: var(--sensual-grey);
}

.stats-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lust);
    min-width: 80px;
    display: inline-block;
    text-align: right;
}

/* ============ CTA SECTION ============ */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--lust) 0%, var(--jazzberry-jam) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float-gradient 25s ease-in-out infinite reverse;
}

.cta-content {
    position: relative;
    z-index: 2;
}

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

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

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

.btn-cta {
    background: white;
    color: var(--lust);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: var(--lust);
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-cta-secondary:hover {
    background: white;
    color: var(--lust);
}

/* Add glow when primary CTA buttons scale in */
.btn-cta.scale-in.visible {
    box-shadow: 
        0 0 15px var(--lust),
        0 0 30px var(--lust-transparent-40),
        0 8px 25px var(--lust-transparent-20);
}

/* ============ MOBILE RESPONSIVENESS ============ */
@media (max-width: 768px) {
    .hero-stat {
        font-size: 2.5rem;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .feature-slide {
        grid-template-columns: 1fr;
    }
    
    .pricing-table {
        grid-template-columns: 1fr;
    }
    
    .pricing-table-three {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-section .row {
        margin-top: 1rem;
    }
    
    .pricing-section .col-md-6 {
        margin-bottom: 1rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.25rem;
    }
    
    .screenshot-gallery {
        grid-template-areas: 
            "img1 img2"
            "img3 img4"
            "img5 img6"
            "img7 ."
        ;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============ LIGHTBOX ============ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 2rem;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 400px;
    width: 100%;
    max-height: 85vh;
    cursor: default;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: block;
    transition: filter 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--lust);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.lightbox-close:hover {
    transform: scale(1.1);
    background: var(--jazzberry-jam);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.lightbox-prev {
    left: -25px;
}

.lightbox-next {
    right: -25px;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
    .lightbox-nav {
        background: rgba(0, 0, 0, 0.6);
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    .lightbox-prev {
        left: -20px;
    }
    
    .lightbox-next {
        right: -20px;
    }
}

/* ============ TYPOGRAPHY SYSTEM ============ */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--vanilla-sex);
}

.section-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--vanilla-sex);
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.large-text {
    font-size: 1.125rem;
    line-height: 1.6;
}

.display-number {
    font-size: 4rem;
    font-weight: 200;
    letter-spacing: -0.05em;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .display-number {
        font-size: 2.5rem;
    }
}

/* ============ APPLE-STYLE SCROLL ANIMATIONS ============ */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.1s; /* Ensure transition is ready on first load */
    will-change: opacity, transform;
    color: var(--vanilla-sex);
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    color: var(--vanilla-sex);
}

.fade-in-on-scroll.exit {
    opacity: 0.4;
    transform: translateY(-20px) scale(1.02);
    color: var(--vanilla-sex);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-60px) scale(0.95);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
    color: var(--vanilla-sex);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0) scale(1);
    color: var(--vanilla-sex);
}

.slide-in-left.exit {
    opacity: 0.4;
    transform: translateX(30px) scale(1.05);
    color: var(--vanilla-sex);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(60px) scale(0.95);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
    color: var(--vanilla-sex);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0) scale(1);
    color: var(--vanilla-sex);
}

.slide-in-right.exit {
    opacity: 0.4;
    transform: translateX(-30px) scale(1.05);
    color: var(--vanilla-sex);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8) translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
    color: var(--vanilla-sex);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}


.scale-in.exit {
    opacity: 0.3;
    transform: scale(1.1) translateY(-20px);
    color: var(--vanilla-sex);
}

.parallax-element {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* ============ STAGGERED ANIMATIONS ============ */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: var(--vanilla-sex);
}

.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
    color: var(--vanilla-sex);
}

.stagger-item.exit {
    opacity: 0.4;
    color: var(--vanilla-sex);
}

.stagger-container .stagger-item:nth-child(1) { transition-delay: 0ms; }
.stagger-container .stagger-item:nth-child(2) { transition-delay: 100ms; }
.stagger-container .stagger-item:nth-child(3) { transition-delay: 200ms; }
.stagger-container .stagger-item:nth-child(4) { transition-delay: 300ms; }
.stagger-container .stagger-item:nth-child(5) { transition-delay: 400ms; }