/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(circle at 15% 50%, rgba(45, 27, 78, 0.4), transparent 60%),
                radial-gradient(circle at 85% 30%, rgba(212, 175, 55, 0.08), transparent 50%),
                #0a0712;
    background-attachment: fixed;
    color: #F5EFE6;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    cursor: default;
}

/* ========== CUSTOM CURSOR ========== */
.cursor-glow {
    width: 32px;
    height: 32px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.5) 0%, rgba(212, 175, 55, 0) 70%);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
    mix-blend-mode: screen;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, .logo, .product-name {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 4.5rem;
    background: linear-gradient(135deg, #fff, #F5F5DC);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1; /* Improved line-height for multi-line */
}

h2 {
    font-size: 3rem;
    color: #F5F5DC;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 30px;
    right: 30px;
    left: auto;
    width: auto;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 40px;
    padding: 8px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    border: 1px solid rgba(245, 245, 220, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(245, 245, 220, 0.05);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .navbar {
        top: 20px;
        right: 20px;
        padding: 6px 18px;
    }
}

.nav-login a {
    color: #F5EFE6;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 0.95rem;
    padding: 8px 10px;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.nav-login a:hover {
    color: #FFF2A8;
    transform: translateY(-1px);
    text-shadow: 0 0 10px rgba(255, 242, 168, 0.5);
}

/* ========== LOGO SECTION (HERO SCROLL-TRIGGERED) ========== */
.logo-section {
    text-align: center;
    padding: 0;
    background: transparent;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-video-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
    border: 0px solid rgba(245, 245, 220, 0); /* Ready for GSAP to animate */
    overflow: hidden;
    /* Flexbox parent handles the perfect centering during the width shrink smoothly */
}

.scroll-indicator {
    margin-top: 40px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0; /* Starts hidden, GSAP will fade it in */
    color: #F5F5DC;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 300;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(245, 245, 220, 0.6);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #D4AF37;
    border-radius: 2px;
    animation: scrollBounce 2s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}

@keyframes scrollBounce {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

.video-blur-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 2;
    pointer-events: none;
    transition: backdrop-filter 0.1s;
}

.main-logo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* covers the full screen initially and stays covered nicely when shrunk */
    display: block;
}


.nav-cart {
    position: relative;
    cursor: pointer;
    font-size: 1.3rem;
    color: #F5F5DC;
    transition: transform 0.2s ease, color 0.2s ease;
}

.nav-cart:hover {
    transform: scale(1.1);
    color: #fff;
}

.nav-cart:active {
    transform: scale(0.95);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #F5F5DC;
    color: #2D1B4E;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== SECTIONS ========== */
section {
    padding: 30px 5%;
    position: relative;
}

.snap-section {
    min-height: 10vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 30% 10%, #000000, #0a0418);
}

.hero-logo {
    z-index: 3;
    text-align: center;
    margin-bottom: 15px;
}

.hero-logo-img {
    max-width: 280px;
    height: auto;
    filter: 
        drop-shadow(0 0 20px rgba(212, 175, 55, 0.6))
        brightness(1.1)
        contrast(1.2);
    transition: transform 0.3s ease, filter 0.3s ease;
    animation: logoShine 3s ease-in-out infinite;
}

.hero-logo-img:hover {
    transform: scale(1.05);
    filter: 
        drop-shadow(0 0 30px rgba(212, 175, 55, 0.8))
        brightness(1.3)
        contrast(1.4);
    animation-play-state: paused;
}

@keyframes logoShine {
    0%, 100% {
        filter: 
            drop-shadow(0 0 20px rgba(212, 175, 55, 0.6))
            brightness(1.1)
            contrast(1.2);
    }
    50% {
        filter: 
            drop-shadow(0 0 35px rgba(212, 175, 55, 0.9))
            brightness(1.4)
            contrast(1.5);
    }
}

.hero-content {
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
}

.hero-subtext {
    font-size: 1.2rem;
    margin: 24px 0;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.hero-bottle-wrapper {
    position: absolute;
    right: 5%;
    bottom: 0;
    width: 40%;
    max-width: 400px;
    opacity: 0.6;
    pointer-events: none;
}

.hero-bottle {
    width: 100%;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
}

/* ========== BUTTONS ========== */
.glow-btn {
    background: transparent;
    border: 1.5px solid #F5F5DC;
    color: #F5F5DC;
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 40px;
    margin-top: 32px;
    transition: all 0.4s;
    backdrop-filter: blur(4px);
    display: inline-block;
    text-decoration: none;
    letter-spacing: 1px;
    cursor: pointer;
}

.glow-btn:hover {
    background: #F5F5DC;
    color: #2D1B4E;
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.8);
}

.primary-button {
    background: #F5F5DC;
    color: #2D1B4E;
    border: none;
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.primary-button:hover {
    background: #e5c158;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

.secondary-button {
    background: transparent;
    border: 1.5px solid #F5F5DC;
    color: #F5F5DC;
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.secondary-button:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

/* ========== BRAND SECTION ========== */
.split-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
}

.split-text {
    flex: 1;
}

.split-text h2 {
    font-size: 2.8rem;
    margin-bottom: 24px;
}

.split-text p {
    line-height: 1.6;
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.brand-highlights {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.brand-highlights span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #F5F5DC;
}

.split-visual {
    flex: 1;
    background: rgba(45, 27, 78, 0.3);
    border-radius: 32px;
    padding: 60px 40px;
    text-align: center;
    backdrop-filter: blur(4px);
}

.split-visual i {
    font-size: 4rem;
    color: #F5F5DC;
    margin-bottom: 20px;
}

.quote-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-style: italic;
    color: #F5F5DC;
}

#product-section {
    padding: 0 !important;
    margin: 0;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== PRODUCT SECTION (3-COLUMN LAYOUT) ========== */
.product-container.three-col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1700px;
    width: 90%;
    margin: 0 auto;
}

.product-col-left {
    text-align: left;
}

.product-col-center {
    position: relative;
    z-index: 2;
    perspective: 1500px;
}

.product-col-right {
    text-align: right;
}

.product-type {
    font-size: 2.2rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    background: linear-gradient(to right, #D4AF37, #FFF2A8, #D4AF37, #FFF2A8, #D4AF37);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: goldShine 4s linear infinite;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    margin-bottom: 18px;
    font-family: 'Montserrat', sans-serif;
}

.product-spec {
    font-size: 2.8rem;
    font-weight: 300;
    opacity: 0.7;
    margin-bottom: 25px;
}

.product-price-large {
    font-size: 7.5rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Playfair Display', serif;
    margin-bottom: 35px;
    background: linear-gradient(to right, #fff, #F5F5DC);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stock-badge.mini {
    display: inline-flex;
    padding: 6px 16px;
    font-size: 0.75rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    color: #F5F5DC;
    gap: 8px;
    align-items: center;
}

/* Product Visual Wrapper - 3D Glassmorphism Case */
.product-visual-wrapper {
    position: relative;
    border-radius: 20px;
    padding: 15px; 
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(245, 245, 220, 0.15); 
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(245, 245, 220, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-style: preserve-3d;
}

.product-visual-wrapper:hover {
    transform: translateY(-15px) scale(1.03) rotateY(-5deg) rotateX(5deg);
    box-shadow: 20px 50px 100px rgba(0, 0, 0, 0.7), inset 0 0 60px rgba(245, 245, 220, 0.1);
    border-color: rgba(245, 245, 220, 0.4);
}

.product-slider {
    position: relative;
    border-radius: 12px;
    background: linear-gradient(135deg, #0a0712, #000);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
    transform: translateZ(20px);
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-visual-wrapper:hover .product-slider {
    transform: translateZ(40px);
}

.slider-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    filter: brightness(0.6) contrast(1.1) saturate(0);
    transform: scale(1.2) rotate(3deg);
    transition: opacity 1.5s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1), filter 1.5s ease;
}

.slider-img.active {
    opacity: 1;
    filter: brightness(1.05) contrast(1.05) saturate(1.1);
    transform: scale(1) rotate(0deg);
}

/* Slider Dots */
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(245, 245, 220, 0.3);
    border: 1px solid rgba(245, 245, 220, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #F5F5DC;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(245, 245, 220, 0.8);
}


/* Right Column Styles */
.product-description-premium {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.35;
    font-style: italic;
    margin-bottom: 35px;
    color: #F5EFE6;
}

.highlight-gold {
    background: linear-gradient(to right, #D4AF37, #FFF2A8, #D4AF37, #FFF2A8, #D4AF37);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: goldShine 4s linear infinite;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    font-weight: 700;
    position: relative;
}

.highlight-gold::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #D4AF37, #FFF2A8, transparent);
    opacity: 0.8;
}

.product-features-mini {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 30px;
    width: max-content;
    margin-left: auto;
}

.product-features-mini span {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.6rem;
    color: rgba(245, 239, 230, 0.8);
}

.product-features-mini i {
    color: #F5F5DC;
    font-size: 1.3rem;
}

.product-actions-v2 {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.large-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.mini-btn {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: rgba(212, 175, 55, 0.8);
    font-size: 0.85rem;
    padding: 10px 20px;
    width: fit-content;
}

.mini-btn:hover {
    border-color: #F5F5DC;
    color: #F5F5DC;
    background: rgba(212, 175, 55, 0.05);
}

/* Responsive adjustments */
@media (max-width: 1100px) {
    .product-container.three-col {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .product-col-left, .product-col-right {
        text-align: center;
        padding: 0;
    }

    .product-col-center {
        order: -1;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .product-price-large {
        font-size: 3.2rem;
    }

    .product-actions-v2 {
        align-items: center;
    }
}

/* ========== EXPERIENCE SECTION ========== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: #F5F5DC;
    display: block;
    margin-bottom: 12px;
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
}

.emotion-card {
    background: transparent;
    border-radius: 24px;
    text-align: center;
    position: relative;
    cursor: pointer;
    perspective: 1000px;
    min-height: 250px;
}

.emotion-card-inner {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.emotion-card:hover .emotion-card-inner {
    transform: rotateY(180deg);
}

.emotion-card-front, .emotion-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 24px;
    padding: 32px 20px;
    background: rgba(255, 255, 240, 0.03);
    border: 1px solid rgba(245, 245, 220, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.emotion-card-back {
    transform: rotateY(180deg);
    background: rgba(245, 245, 220, 0.08); /* slight beige tint */
    border-color: #F5F5DC;
}

.emotion-card-front i {
    font-size: 3.5rem;
    color: #F5F5DC;
    filter: drop-shadow(0 0 15px rgba(245,245,220,0.4));
    transition: transform 0.4s ease;
}

.emotion-card:hover .emotion-card-front i {
    transform: scale(1.1);
}

.emotion-card-back h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #F5F5DC;
    font-family: 'Playfair Display', serif;
}

.emotion-card-back p {
    font-size: 0.85rem;
    line-height: 1.4;
    opacity: 0.9;
    margin-bottom: 15px;
}

.scent-hover {
    background: #F5F5DC;
    color: #2D1B4E;
    padding: 6px 14px;
    font-size: 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
}

/* ========== FEATURES ========== */
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.feature {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 28px;
    transition: all 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    background: rgba(212, 175, 55, 0.05);
}

.feature i {
    font-size: 2.5rem;
    color: #F5F5DC;
    margin-bottom: 20px;
}

.feature h3 {
    margin-bottom: 12px;
}

/* ========== HOOK SECTION ========== */
.hook {
    text-align: center;
    padding: 40px 20px;
    background: transparent;
}

.hook h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hook p {
    font-size: 1.3rem;
    opacity: 0.8;
}

/* ========== PRICING CARD ========== */
.pricing-card {
    display: flex;
    flex-wrap: wrap;
    background: rgba(45, 27, 78, 0.4);
    backdrop-filter: blur(12px);
    border-radius: 48px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    max-width: 900px;
    margin: 0 auto;
}

.pricing-image {
    flex: 1;
    background: linear-gradient(135deg, #2D1B4E, #1a0f2e);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.pricing-image img {
    max-width: 200px;
    border-radius: 20px;
}

.pricing-details {
    flex: 1;
    padding: 50px;
}

.pricing-details h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.pricing-amount {
    margin-bottom: 16px;
}

.current-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: #F5F5DC;
}

.original-price {
    font-size: 1.2rem;
    text-decoration: line-through;
    opacity: 0.6;
    margin-left: 12px;
}

.urgency-badge {
    background: rgba(212, 175, 55, 0.15);
    padding: 10px;
    border-radius: 30px;
    text-align: center;
    margin: 20px 0;
    color: #F5F5DC;
}

.button-large {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1.1rem;
}

.shipping-info {
    text-align: center;
    margin-top: 16px;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ========== CASE SHOWCASE SECTION ========== */
.case-slider-container {
    max-width: 1800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(45, 27, 78, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.case-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 40px 20px;
}


.case-slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.case-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    border: 2px solid rgba(212, 175, 55, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.case-dot.active {
    background: #F5F5DC;
    border-color: #F5F5DC;
    transform: scale(1.2);
}

@keyframes autoSlide {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-20%);
    }
    50% {
        transform: translateX(-40%);
    }
    75% {
        transform: translateX(-60%);
    }
    100% {
        transform: translateX(-80%);
    }
}

/* ========== GLOBAL ANIMATIONS ========== */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(212, 175, 55, 0.5); }
    50% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.8); }
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.slide-in-up {
    animation: slideInUp 0.8s ease-out forwards;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

.float {
    animation: float 3s ease-in-out infinite;
}

.glow {
    animation: glow 2s ease-in-out infinite;
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animations */
.scroll-animate.stagger-1 { transition-delay: 0.1s; }
.scroll-animate.stagger-2 { transition-delay: 0.2s; }
.scroll-animate.stagger-3 { transition-delay: 0.3s; }
.scroll-animate.stagger-4 { transition-delay: 0.4s; }

/* Hover animations */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-rotate {
    transition: transform 0.3s ease;
}

.hover-rotate:hover {
    transform: rotate(5deg);
}

/* Loading animations */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Button animations */
.button-bounce {
    transition: transform 0.2s ease;
}

.button-bounce:active {
    transform: scale(0.95);
}

.button-slide {
    position: relative;
    overflow: hidden;
}

.button-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.button-slide:hover::before {
    left: 100%;
}

/* ========== FOOTER ========== */
.footer {
    background: #05030a;
    padding: 40px 5% 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-brand .logo {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.footer-contact p {
    margin-bottom: 12px;
}

.footer-contact i {
    color: #F5F5DC;
    margin-right: 10px;
}

.social-icons a {
    color: #F5F5DC;
    margin: 0 12px;
    font-size: 1.5rem;
    transition: 0.3s;
    display: inline-block;
}

.social-icons a:hover {
    transform: translateY(-3px);
    text-shadow: 0 0 8px gold;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ========== PARTICLES ========== */
.particles-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, #F5F5DC, transparent);
    border-radius: 50%;
    opacity: 0.4;
    pointer-events: none;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .product-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .navbar {
        padding: 12px 20px;
    }
    
    .nav-links a {
        margin-left: 18px;
        font-size: 0.75rem;
    }
    
    .split-section {
        flex-direction: column;
    }
    
    .pricing-card {
        flex-direction: column;
    }
    
    .pricing-details {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 40px 15px; /* Reduced from 60px 20px to fix unwanted spaces */
    }
    
    .product-name {
        font-size: 1.8rem;
    }
    
    .product-price {
        font-size: 1.5rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .primary-button, .secondary-button {
        width: 100%;
        justify-content: center;
    }
    
    /* Mobile animations */
    .scroll-animate {
        transform: translateY(20px);
        transition: all 0.4s ease-out;
    }
    
    .hover-lift:hover {
        transform: translateY(-3px);
    }
    
    .hover-scale:hover {
        transform: scale(1.03);
    }
    
    /* Mobile logo section */
    .logo-section {
        width: 100%;
        height: auto;
        min-height: 50vh;
    }
    
    .main-logo {
        width: 100%;
        height: auto;
        max-height: 50vh;
    }
    
    /* Mobile navbar */
    .navbar {
        padding: 10px 15px;
        top: 15px;
        right: 15px;
    }

    .navbar-container {
        gap: 12px !important; /* Smaller gap for mobile */
    }
    
    .nav-login a {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    /* Mobile product showcase */
    .product-container.three-col {
        display: flex; /* Force flex to allow column direction */
        flex-direction: column;
        gap: 20px;
        align-items: center; /* Center children */
    }
    
    .product-col-left,
    .product-col-center,
    .product-col-right {
        width: 100%;
        text-align: center;
    }

    .product-price-large {
        font-size: 3.5rem; /* Further reduced from 4.5rem to prevent overflow */
        margin-bottom: 15px;
    }

    .product-type {
        font-size: 2rem; /* Reduced from 2.5rem */
        word-break: break-word;
    }
    
    .product-features-mini {
        align-items: center; /* Centered visually inside column */
        text-align: center;
        margin: 0 auto; /* Un-shove from right edge */
        width: 100%;
        padding: 0 10px;
    }

    .grid-5 {
        grid-template-columns: 1fr;
        gap: 20px; /* Reduced gap to fix unwanted spaces */
    }

    .emotion-card {
        min-height: 200px; /* Reduced from 250px to save vertical space */
    }

    h2 {
        font-size: 2.2rem;
    }

    .hook h2 {
        font-size: 1.8rem;
    }

    .hook p {
        font-size: 1.1rem;
    }
    
    /* Mobile case showcase */
    .case-slider-container {
        padding: 20px 10px;
    }
    
    .case-img {
        width: 250px;
        height: 150px;
    }
    
    /* Mobile footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    /* Mobile animations - reduce motion */
    @media (prefers-reduced-motion: reduce) {
        .scroll-animate,
        .fade-in,
        .slide-in-left,
        .slide-in-right,
        .slide-in-up,
        .pulse,
        .float {
            animation: none !important;
            transition: none !important;
            transform: none !important;
        }
        
        .scroll-animate.visible {
            opacity: 1;
            transform: none;
        }
    }

    /* Additional spacing fixes */
    #product-section {
        min-height: auto !important;
        padding: 40px 15px !important;
    }

    .hero-slider {
        height: 60vh !important;
    }

    #case-slider {
        margin: 20px auto !important;
    }

    .section-header {
        margin-bottom: 30px !important; /* Reduced from 60px */
    }

    .grid-5 {
        gap: 15px !important; /* Even smaller gap */
    }

    /* Product Visual Mobile Compatibility */
    .product-visual-wrapper {
        transform: none !important;
        transform-style: flat !important;
        perspective: none !important;
        z-index: 1;
        width: 100%;
        max-width: 400px;
    }

    .product-slider {
        transform: none !important;
        width: 100% !important;
        height: 60vh !important;
        background: #000;
        display: block !important;
        opacity: 1 !important;
    }

    .slider-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        filter: none !important;
    }

    .slider-img.active {
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 10 !important;
        display: block !important;
        position: absolute !important;
    }
}

#case-slider {
    padding: 0 !important;
    margin: 30px auto;
    width: 90%;
    max-width: 1700px;
}

.hero-slider {
    width: 100%;
    height: 85vh; 
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 2px solid rgba(245, 245, 220, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 245, 220, 0.1);
}

.hero-slider::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(245, 245, 220, 0.4);
    border-radius: 16px;
    pointer-events: none;
    z-index: 5;
}

.hero-slider .main-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.85); /* Slightly darkened to look premium and not blow out text if added later */
}

.slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    transform: scale(0.95);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.8s ease-in, transform 0.8s ease-in;
}

/* ========== PRELOADER ========== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0a0712;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    overflow: hidden;
}

.preloader-content {
    text-align: center;
    position: relative;
    width: 100%;
    padding: 0 5%;
}

.preloader-text {
    font-size: 5vw;
    line-height: 1.2;
    background: linear-gradient(135deg, #F5EFE6, #F5F5DC);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    white-space: pre-wrap;
    word-break: break-word;
}

@media (max-width: 768px) {
    .preloader-text {
        font-size: 15vw; /* Slightly larger for impact */
    }
}

/* ========== OFF-CANVAS CART ========== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.offcanvas-cart {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background: rgba(10, 7, 18, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 9999;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: right 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.offcanvas-cart.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 20px;
}

.cart-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #F5F5DC;
}

.close-cart-btn {
    background: none;
    border: none;
    color: #F5EFE6;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-cart-btn:hover {
    color: #F5F5DC;
}

.cart-items-container {
    flex: 1;
    overflow-y: auto;
}

.cart-item-preview {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.cart-item-preview img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.cart-item-price {
    color: #F5F5DC;
    font-weight: 600;
}

.cart-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: auto;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.checkout-btn-full {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #F5F5DC;
    color: #2D1B4E;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.checkout-btn-full:hover {
    background: #F5F5DC;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 239, 230, 0.4);
}

@keyframes goldShine {
    to {
        background-position: 200% center;
    }
}