/* Landing Page Premium Styles */

/* CSS Variables for Premium Theme */
:root {
    --primary-color: #275559;
    --primary-dark: #1e3d40;
    --secondary-color: #6c5ce7;
    --accent-color: #fd79a8;
    --text-primary: #2d3436;
    --text-secondary: #636e72;
    --text-light: #b2bec3;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #2d3436;
    --gradient-primary: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
    --gradient-secondary: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    --gradient-accent: linear-gradient(135deg, #fd79a8 0%, #fdcb6e 100%);
    --shadow-light: 0 2px 20px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.2);
    --border-radius: 16px;
    --border-radius-large: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Landing Header Styles */
.landing-header {
    position: relative; /* Changed from fixed to relative to scroll with content */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001; /* Higher than navigation bar */
    background: #275559;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 170, 0.1);
    transition: transform 0.3s ease-in-out;
    animation: slideDown 0.6s ease-out;
}

.landing-header.hidden {
    transform: translateY(-100%);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.brand {
    flex-shrink: 0;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

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

.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 0;
    background: transparent;
    padding: 0;
    transition: var(--transition);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15)) 
            drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.brand-text {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #275559 0%, #BEFCAE 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25)) 
            drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15)) 
            drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    background: rgba(190, 252, 174, 0.2);
    color: #BEFCAE;
    border: 1px solid rgba(190, 252, 174, 0.3);
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
    position: relative;
    overflow: hidden;
}

.shop-btn::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;
}

.shop-btn:hover::before {
    left: 100%;
}

.shop-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 170, 0.4);
}

.login-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    background: rgba(190, 252, 174, 0.2);
    color: #BEFCAE;
    border: 1px solid rgba(190, 252, 174, 0.3);
}

.login-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* User Menu Styles for Landing Page */
.user-menu {
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: rgba(190, 252, 174, 0.2);
    color: #BEFCAE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
    text-transform: uppercase;
    border: 1px solid rgba(190, 252, 174, 0.3);
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
    position: relative;
    overflow: hidden;
}

.user-avatar::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;
}

.user-avatar:hover::before {
    left: 100%;
}

.user-avatar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 170, 0.4);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown .dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #4a5568;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.user-dropdown .dropdown-item:hover {
    background: rgba(39, 85, 89, 0.08);
    color: #275559;
    border-left-color: #00d4aa;
}

.dropdown-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0.5rem 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .landing-header .header-content {
        padding: 0.75rem 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 1rem !important;
        flex-direction: row !important;
    }
    
    .landing-header .brand {
        flex-shrink: 0 !important;
        order: 1 !important;
    }
    
    .landing-header .brand-text {
        font-size: 1.5rem !important;
    }
    
    .landing-header .header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 0.75rem !important;
        flex-shrink: 0 !important;
        order: 2 !important;
    }
    
    .landing-header .shop-btn,
    .landing-header .login-btn {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.9rem !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.25rem !important;
    }
    
    .landing-header .shop-btn span,
    .landing-header .login-btn span {
        display: inline !important;
    }
    
    .landing-header .shop-btn svg,
    .landing-header .login-btn svg {
        width: 16px !important;
        height: 16px !important;
        flex-shrink: 0 !important;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px; /* Account for fixed header */
    contain: layout style paint;
}

/* Premium Product Showcase */
.product-showcase {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8fffe 0%, #f0fdfa 100%);
    position: relative;
    overflow: hidden;
    contain: layout style paint;
}

.product-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 212, 170, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 184, 148, 0.08) 0%, transparent 50%);
    pointer-events: none;
    will-change: transform;
}

.showcase-header {
    text-align: center;
    margin-bottom: 3rem;
}

.showcase-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.showcase-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    contain: layout;
}

.category-card {
    background: white;
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 170, 0.08);
    contain: layout style paint;
    will-change: transform, box-shadow;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.03) 0%, rgba(0, 184, 148, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

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

.category-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 48px rgba(0, 212, 170, 0.15);
    border-color: rgba(0, 212, 170, 0.15);
}

.category-visual {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    overflow: hidden;
    contain: layout style paint;
}

.product-icon {
    position: relative;
    z-index: 2;
    color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, color;
}

.category-card:hover .product-icon {
    transform: scale(1.05) rotate(2deg);
    color: var(--primary-dark);
}

/* Spices Animation */
.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    contain: layout style paint;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    border-radius: 50%;
    animation: floatParticle 6s infinite ease-in-out;
    will-change: transform, opacity;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
}

.particle:nth-child(2) {
    top: 30%;
    right: 25%;
    animation-delay: 0.8s;
    background: linear-gradient(45deg, #ffa500, #ff6b6b);
}

.particle:nth-child(3) {
    bottom: 30%;
    left: 30%;
    animation-delay: 1.6s;
    background: linear-gradient(45deg, #ff8e53, #ffa500);
}

.particle:nth-child(4) {
    bottom: 20%;
    right: 20%;
    animation-delay: 2.4s;
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
}

.particle:nth-child(5) {
    top: 50%;
    left: 50%;
    animation-delay: 3.2s;
    background: linear-gradient(45deg, #ffa500, #ff6b6b);
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 0.9;
    }
}

/* Oils Animation */
.liquid-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    contain: layout style paint;
}

.liquid-drop {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, #00d4aa, #00b894);
    border-radius: 50% 50% 50% 0;
    animation: liquidDrop 5s infinite ease-in-out;
    will-change: transform, opacity;
}

.liquid-drop:nth-child(1) {
    top: 25%;
    left: 30%;
    animation-delay: 0s;
}

.liquid-drop:nth-child(2) {
    top: 45%;
    right: 35%;
    animation-delay: 1s;
}

.liquid-drop:nth-child(3) {
    bottom: 25%;
    left: 50%;
    animation-delay: 2s;
}

@keyframes liquidDrop {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-25px) scale(1.2);
        opacity: 0.9;
    }
}

/* Grains Animation */
.grain-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    contain: layout style paint;
}

.grain {
    position: absolute;
    width: 4px;
    height: 8px;
    background: linear-gradient(45deg, #8b4513, #a0522d);
    border-radius: 50%;
    animation: grainFall 6s infinite ease-in-out;
    will-change: transform, opacity;
}

.grain:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.grain:nth-child(2) {
    top: 20%;
    right: 25%;
    animation-delay: 0.7s;
}

.grain:nth-child(3) {
    top: 40%;
    left: 15%;
    animation-delay: 1.4s;
}

.grain:nth-child(4) {
    top: 60%;
    right: 20%;
    animation-delay: 2.1s;
}

.grain:nth-child(5) {
    bottom: 30%;
    left: 40%;
    animation-delay: 2.8s;
}

.grain:nth-child(6) {
    bottom: 10%;
    right: 35%;
    animation-delay: 3.5s;
}

@keyframes grainFall {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-15px) rotate(90deg);
        opacity: 0.9;
    }
}

.category-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.category-card:hover .category-content h3 {
    color: var(--primary-color);
}

.category-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.quality-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #275559;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
    transition: all 0.3s ease;
}

.category-card:hover .quality-badge {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 212, 170, 0.4);
}

.badge-icon {
    font-size: 1rem;
}

/* Purity Indicator */
.purity-indicator {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.purity-ring {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #00d4aa 0deg, #00d4aa 360deg, #e5e7eb 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotateRing 10s linear infinite;
}

.purity-ring::before {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    background: white;
    border-radius: 50%;
    box-shadow: inset 0 0 20px rgba(0, 212, 170, 0.1);
}

.purity-text {
    position: relative;
    z-index: 2;
    text-align: center;
}

.purity-percentage {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d4aa, #00b894);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.purity-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 0.5rem;
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-categories {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .category-card {
        padding: 2rem 1.5rem;
    }
    
    .showcase-title {
        font-size: 2.5rem;
    }
    
    .showcase-subtitle {
        font-size: 1.1rem;
    }
    
    .purity-ring {
        width: 150px;
        height: 150px;
    }
    
    .purity-ring::before {
        width: 120px;
        height: 120px;
    }
    
    .purity-percentage {
        font-size: 2rem;
    }
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    contain: layout style paint;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.8) 0%, rgba(108, 92, 231, 0.6) 100%);
    z-index: -1;
    contain: layout style paint;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    contain: layout style paint;
    max-width: 100%;
    overflow: hidden;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    contain: layout style paint;
    will-change: transform, opacity;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    contain: layout style paint;
    will-change: transform, opacity;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    contain: layout style paint;
    will-change: transform, opacity;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-icon {
    transition: var(--transition);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    opacity: 0.7;
    contain: layout style paint;
    will-change: transform;
}

.scroll-arrow {
    animation: bounce 2s infinite;
    will-change: transform;
}

/* Stats Section */
.stats-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    border-radius: var(--border-radius-large);
    background: var(--bg-secondary);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    padding: 3rem 2rem;
    background: white;
    border-radius: var(--border-radius-large);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid rgba(0, 212, 170, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials-section {
    padding: 8rem 0;
    background: var(--bg-dark);
    color: white;
}

.testimonials-section .section-title,
.testimonials-section .section-subtitle {
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

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

.testimonial-video {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.testimonial-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 170, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

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

.testimonial-content {
    padding: 2rem;
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.stars {
    color: #fdcb6e;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #00d4aa;
    border-radius: 50%;
}

.author-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

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

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background: var(--bg-secondary);
}

.cta-section .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.cta-section .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Apple-style Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Hero-specific animations that are more contained */
.hero-section .animate-fade-up {
    opacity: 0;
    transform: translateY(15px);
    animation: heroFadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-fade-up[data-delay="100"] {
    animation-delay: 0.1s;
}

.animate-fade-up[data-delay="200"] {
    animation-delay: 0.2s;
}

.animate-fade-up[data-delay="300"] {
    animation-delay: 0.3s;
}

.animate-fade-up[data-delay="400"] {
    animation-delay: 0.4s;
}

/* Hero section specific delays */
.hero-section .animate-fade-up[data-delay="200"] {
    animation-delay: 0.2s;
}

.hero-section .animate-fade-up[data-delay="400"] {
    animation-delay: 0.4s;
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInFromLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(30px);
    animation: slideInFromRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-scale-in {
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* Counter Animation */
.animate-counter {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.counter-animated .stat-number {
    animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonial-card {
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-content {
        padding: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading states */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Focus states for accessibility */
.btn:focus,
.play-button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow-light: 0 2px 20px rgba(0, 0, 0, 0.3);
        --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.4);
        --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.5);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-arrow {
        animation: none;
    }
}

/* Navigation Bar Styles for Landing Page - Scrolls with Content */
.shop-nav {
    background: rgba(240, 242, 245, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: sticky; /* Sticky positioning for better visibility */
    top: 0;
    z-index: 1000; /* Lower than header to avoid overlay */
    transition: transform 0.3s ease-in-out;
    will-change: transform;
    margin-top: 0; /* No margin needed since header is now relative */
    overflow: visible; /* Allow dropdowns to extend beyond navigation bar */
}

/* Homepage specific: Navigation bar moves up with header */
body:not(.shop-page) .shop-nav.hidden {
    transform: translateY(-100%); /* Move up completely with header */
}

.shop-nav.scrolled {
    background: rgba(240, 242, 245, 0.98);
    backdrop-filter: blur(25px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
    overflow: visible; /* Allow dropdowns to extend beyond container */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    overflow: visible; /* Allow dropdowns to extend beyond container */
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(39, 85, 89, 0.08);
    color: #275559;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(39, 85, 89, 0.15);
}

.nav-link.active {
    background: rgba(39, 85, 89, 0.1);
    color: #275559;
    border-left: 3px solid #00d4aa;
}

/* Dropdown Styles */
.nav-dropdown {
    position: relative;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0.5rem; /* Bridge between button and dropdown */
    background: transparent;
    z-index: 999;
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.dropdown-toggle:hover {
    background: rgba(39, 85, 89, 0.08);
    color: #275559;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(39, 85, 89, 0.15);
}

.dropdown-menu {
    position: absolute;
    top: 100%; /* Open downward on desktop */
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12); /* Shadow below for downward opening */
    border: 1px solid rgba(0, 0, 0, 0.08);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px); /* Start from above and move down */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 0.5rem 0;
    margin-top: 0.2rem; /* Small gap below button */
}

.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #4a5568;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: rgba(39, 85, 89, 0.05);
    color: #275559;
    border-left-color: #00d4aa;
}

/* Offer Badge */
.offer-badge {
    background: #275559;
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.15rem 0.3rem;
    border-radius: 8px;
    margin-left: 0.4rem;
    animation: pulse 2s infinite;
}

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

/* Mobile Responsive for Navigation */
@media (max-width: 768px) {
    .nav-content {
        padding: 0.4rem 0;
    }
    
    .nav-menu {
        width: 100%;
        justify-content: space-between;
        overflow-x: auto;
        padding: 0.3rem 0;
        gap: 0.2rem;
    }
    
    .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
        flex-shrink: 0;
        flex-direction: column;
        gap: 0.2rem;
        text-align: center;
        min-width: 60px;
    }
    
    .nav-link span {
        display: block;
        font-size: 0.7rem;
        line-height: 1;
        margin-top: 0.1rem;
    }
    
    .nav-link svg {
        width: 18px;
        height: 18px;
        margin: 0 auto;
    }
    
    .dropdown-toggle {
        flex-direction: column;
        gap: 0.2rem;
        text-align: center;
        min-width: 60px;
    }
    
    .dropdown-toggle span {
        display: block;
        font-size: 0.7rem;
        line-height: 1;
        margin-top: 0.1rem;
    }
    
    .dropdown-toggle svg:first-child {
        width: 18px;
        height: 18px;
        margin: 0 auto;
    }
    
    .dropdown-toggle svg:last-child {
        display: none;
    }
    
    .dropdown-menu {
        position: fixed;
        bottom: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 300px;
        margin: 0;
    }
}

/* Small Mobile Header Optimization */
@media (max-width: 480px) {
    .landing-header .header-content {
        padding: 0.5rem 0 !important;
        gap: 0.5rem !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    .landing-header .brand {
        flex-shrink: 0 !important;
        order: 1 !important;
    }
    
    .landing-header .brand-text {
        font-size: 1.25rem !important;
    }
    
    .landing-header .header-actions {
        gap: 0.5rem !important;
        order: 2 !important;
    }
    
    .landing-header .shop-btn,
    .landing-header .login-btn {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.8rem !important;
    }
    
    .landing-header .shop-btn span,
    .landing-header .login-btn span {
        display: none !important;
    }
    
    .landing-header .shop-btn svg,
    .landing-header .login-btn svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    /* Extra small mobile navigation */
    .nav-link {
        padding: 0.3rem 0.4rem;
        min-width: 50px;
        font-size: 0.8rem;
    }
    
    .nav-link span {
        font-size: 0.65rem;
    }
    
    .nav-link svg {
        width: 16px;
        height: 16px;
    }
    
    .dropdown-toggle {
        padding: 0.3rem 0.4rem;
        min-width: 50px;
        font-size: 0.8rem;
    }
    
    .dropdown-toggle span {
        font-size: 0.65rem;
    }
    
    .dropdown-toggle svg:first-child {
        width: 16px;
        height: 16px;
    }
}

/* Medium Mobile Header Optimization */
@media (min-width: 481px) and (max-width: 768px) {
    .landing-header .header-content {
        padding: 0.75rem 0 !important;
        gap: 1rem !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    .landing-header .brand {
        flex-shrink: 0 !important;
        order: 1 !important;
    }
    
    .landing-header .brand-text {
        font-size: 1.4rem !important;
    }
    
    .landing-header .header-actions {
        gap: 0.75rem !important;
        order: 2 !important;
    }
    
    .landing-header .shop-btn,
    .landing-header .login-btn {
        padding: 0.6rem 1rem !important;
        font-size: 0.85rem !important;
    }
    
    .landing-header .shop-btn span,
    .landing-header .login-btn span {
        display: inline !important;
        font-size: 0.85rem !important;
    }
    
    .landing-header .shop-btn svg,
    .landing-header .login-btn svg {
        width: 16px !important;
        height: 16px !important;
    }
    
    .dropdown-menu {
        position: fixed;
        top: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
        width: 90%;
        max-width: 300px;
    }
    
    .nav-dropdown.active .dropdown-menu {
        transform: translateX(-50%) translateY(0);
    }
}
