/* =========================================
   PHASE 1: MODERN UI FOUNDATION ENHANCEMENTS
   ========================================= */

/* ==========================================
   PREMIUM GRADIENT BUTTONS
   ========================================== */

/* Gradient Button with 3D Depth */
.cta-button {
    position: relative;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: white;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
    box-shadow:
        0 4px 15px rgba(212, 163, 115, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.12);
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E5B88A 0%, var(--accent) 100%);
    transition: left 0.5s ease;
    z-index: -1;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 25px rgba(212, 163, 115, 0.4),
        0 3px 8px rgba(0, 0, 0, 0.15);
}

.cta-button:active {
    transform: translateY(0);
}

/* Ripple Effect */
.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:active::after {
    width: 300px;
    height: 300px;
}

/* Outline Button Variant */
.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    box-shadow: none;
}

.btn-outline::before {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
}

.btn-outline:hover {
    color: white;
    border-color: transparent;
}

/* Icon Animation in Buttons */
.cta-button i {
    display: inline-block;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* ==========================================
   BUTTON VARIANTS - PHASE 1
   ========================================== */

/* Primary Gradient Button - Warm Accent */
.btn-gradient-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    box-shadow:
        0 4px 15px rgba(212, 163, 115, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.12);
}

.btn-gradient-primary::before {
    background: linear-gradient(135deg, #E5B88A 0%, var(--accent) 100%);
}

.btn-gradient-primary:hover {
    box-shadow:
        0 8px 25px rgba(212, 163, 115, 0.4),
        0 3px 8px rgba(0, 0, 0, 0.15);
}

/* Secondary Gradient Button - Lighter Tone */
.btn-gradient-secondary {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    color: var(--text-main);
    border: 2px solid rgba(212, 163, 115, 0.3);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.06);
}

.btn-gradient-secondary::before {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
}

.btn-gradient-secondary:hover {
    color: white;
    border-color: transparent;
    box-shadow:
        0 8px 25px rgba(212, 163, 115, 0.3),
        0 3px 8px rgba(0, 0, 0, 0.12);
}

/* ==========================================
   ADVANCED CARD SYSTEM
   ========================================== */

/* Enhanced Product Cards */
.product-card {
    position: relative;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.08);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 163, 115, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 8px 16px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(212, 163, 115, 0.2);
}

/* Category Cards with Neumorphic Touch */
.category-card {
    position: relative;
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        8px 8px 16px rgba(0, 0, 0, 0.08),
        -8px -8px 16px rgba(255, 255, 255, 0.9);
}

.category-card:hover {
    transform: translateY(-12px) rotateX(5deg);
    box-shadow:
        12px 12px 24px rgba(0, 0, 0, 0.12),
        -12px -12px 24px rgba(255, 255, 255, 0.95),
        0 0 40px rgba(212, 163, 115, 0.2);
}

/* Feature Cards */
.feature-item {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    transition: all 0.4s ease;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--accent), var(--accent-hover));
    border-radius: 0 4px 4px 0;
    transition: height 0.4s ease;
}

.feature-item:hover::after {
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow:
        -8px 8px 24px rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(212, 163, 115, 0.15);
    border-color: rgba(212, 163, 115, 0.2);
}

/* ==========================================
   ADVANCED TYPOGRAPHY EFFECTS
   ========================================== */

/* Gradient Text for Headings */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Enhanced Section Headers with 3D Depth */
.section-header h2 {
    position: relative;
    text-shadow:
        2px 2px 0 var(--accent),
        4px 4px 0 rgba(212, 163, 115, 0.6),
        6px 6px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.section-header h2:hover {
    transform: translateY(-3px);
    text-shadow:
        3px 3px 0 var(--accent),
        6px 6px 0 rgba(212, 163, 115, 0.6),
        9px 9px 15px rgba(0, 0, 0, 0.15);
}

/* Stroke Text Effect */
.stroke-text {
    -webkit-text-stroke: 2px var(--primary);
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* ==========================================
   MODERN FORM ENHANCEMENTS
   ========================================== */

/* Modern Form Container */
.modern-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Form Group with Floating Labels */
.modern-form .form-group {
    position: relative;
    margin-bottom: 0;
}

.modern-form .form-group input {
    width: 100%;
    padding: 18px 16px 10px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    outline: none;
}

.modern-form .form-group input::placeholder {
    color: transparent;
}

.modern-form .form-group input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.25);
    box-shadow:
        0 0 0 4px rgba(212, 163, 115, 0.2),
        0 8px 24px rgba(212, 163, 115, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Floating Labels */
.modern-form .form-group label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    background: transparent;
    padding: 0 4px;
}

.modern-form .form-group input:focus+label,
.modern-form .form-group input:not(:placeholder-shown)+label {
    top: -8px;
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    background: linear-gradient(to bottom, transparent 50%, rgba(47, 47, 47, 1) 50%);
    letter-spacing: 0.5px;
}

/* Form Button */
.modern-form button[type="submit"] {
    width: 100%;
    padding: 16px 32px;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    margin-top: 0.5rem;
}

/* Legacy Form Group Support */
.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-input {
    width: 100%;
    padding: 16px 16px 8px;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-sm);
    background: white;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--accent);
    box-shadow:
        0 0 0 4px rgba(212, 163, 115, 0.1),
        0 4px 12px rgba(212, 163, 115, 0.2);
}

.form-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s ease;
    background: white;
    padding: 0 4px;
}

.form-input:focus+.form-label,
.form-input:not(:placeholder-shown)+.form-label {
    top: 0;
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
}

/* ==========================================
   ENHANCED PRODUCT CARD INTERACTIONS
   ========================================== */

/* Product Card Image Container with Overflow */
.product-card .card-image,
.category-card .card-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

/* Image Zoom on Hover */
.product-image,
.category-image,
.hero-card img {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
    width: 100%;
}

.product-card:hover .product-image,
.category-card:hover .category-image {
    transform: scale(1.15);
}

/* Quick View Overlay */
.product-card .quick-view-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(47, 47, 47, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2;
}

.product-card:hover .quick-view-overlay {
    opacity: 1;
    transform: translateY(0);
}

.quick-view-btn {
    background: white;
    color: var(--primary);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.quick-view-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 163, 115, 0.5);
}

/* Premium Badge Redesign */
.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #2E7D32 0%, #66BB6A 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.4);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.product-badge.featured {
    background: linear-gradient(135deg, var(--accent) 0%, #E5B88A 100%);
    box-shadow: 0 4px 12px rgba(212, 163, 115, 0.5);
}

.product-badge.new {
    background: linear-gradient(135deg, #1976D2 0%, #42A5F5 100%);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.4);
}

.product-card:hover .product-badge {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Image Shimmer Loading Effect */
@keyframes imageShimmer {
    0% {
        transform: translateX(-100%) skewX(-15deg);
    }

    100% {
        transform: translateX(200%) skewX(-15deg);
    }
}

.product-card.loading .card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 100%);
    animation: imageShimmer 2s infinite;
}

/* ==========================================
   BUTTON LOADING STATES
   ========================================== */

.cta-button.loading {
    pointer-events: none;
    position: relative;
    color: transparent;
}

.cta-button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: buttonSpin 0.8s linear infinite;
}

@keyframes buttonSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================
   MICRO-INTERACTIONS
   ========================================== */

/* Icon Pulse Animation */
@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.feature-icon {
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    animation: iconPulse 1s ease infinite;
    color: var(--accent);
}

/* Smooth Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Input Focus Ripple Effect */
.form-input {
    position: relative;
}

.form-group::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(212, 163, 115, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.form-input:focus~.form-group::before {
    width: 300px;
    height: 300px;
}

/* ==========================================
   SKELETON LOADING STATES
   ========================================== */

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-card {
    height: 300px;
}

/* ==========================================
   ENHANCED SHADOWS & DEPTH
   ========================================== */

:root {
    --shadow-elevation-low:
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 1px 2px rgba(0, 0, 0, 0.06);

    --shadow-elevation-medium:
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 2px 4px rgba(0, 0, 0, 0.06),
        0 1px 2px rgba(0, 0, 0, 0.07);

    --shadow-elevation-high:
        0 10px 20px rgba(0, 0, 0, 0.08),
        0 6px 12px rgba(0, 0, 0, 0.08),
        0 3px 6px rgba(0, 0, 0, 0.09);

    --shadow-elevation-premium:
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 12px 24px rgba(0, 0, 0, 0.08),
        0 6px 12px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* ==========================================
   GLASS MORPHISM ENHANCEMENTS
   ========================================== */

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

/* Quick Fade In */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

/* Hover Glow */
.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(212, 163, 115, 0.5);
}

/* Text Shimmer */
@keyframes textShimmer {
    0% {
        background-position: -500%;
    }

    100% {
        background-position: 500%;
    }
}

.text-shimmer {
    background: linear-gradient(90deg, var(--text-main) 40%, var(--accent) 50%, var(--text-main) 60%);
    background-size: 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 3s linear infinite;
}

/* ==========================================
   SCROLL-TRIGGERED REVEALS
   ========================================== */

/* Fade In from Bottom */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Fade In from Left */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Fade In from Right */
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Scale In Effect */
.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Animation for Lists */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.stagger-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Add delays for stagger effect */
.stagger-item:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger-item:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger-item:nth-child(3) {
    transition-delay: 0.3s;
}

.stagger-item:nth-child(4) {
    transition-delay: 0.4s;
}

.stagger-item:nth-child(5) {
    transition-delay: 0.5s;
}

.stagger-item:nth-child(6) {
    transition-delay: 0.6s;
}

/* ==========================================
   ADVANCED VISUAL EFFECTS
   ========================================== */

/* Gradient Border Effect */
.gradient-border {
    position: relative;
    background: white;
    border-radius: var(--radius-md);
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--accent), var(--primary), var(--accent));
    background-size: 200% 200%;
    animation: gradientRotate 4s ease infinite;
    z-index: -1;
}

@keyframes gradientRotate {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Magnetic Hover Effect for Cards */
@media (hover: hover) and (pointer: fine) {
    .magnetic-card {
        transition: transform 0.2s ease;
    }

    .magnetic-card:hover {
        transform: perspective(1000px) rotateX(var(--rotate-x, 0)) rotateY(var(--rotate-y, 0));
    }
}

/* Noise Texture Overlay */
.noise-texture {
    position: relative;
}

.noise-texture::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" /></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.05"/></svg>');
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* Glow Pulse Effect */
@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(212, 163, 115, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(212, 163, 115, 0.6);
    }
}

.pulse-glow {
    animation: glowPulse 2s ease-in-out infinite;
}

/* Parallax Background Effect */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.counter {
    animation: countUp 0.6s ease;
}

/* =========================================
   PHASE 2: HERO SECTION TRANSFORMATION
   ========================================= */

/* Hero Section Base Enhancements */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Animated Gradient Mesh Background */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 30% 50%, rgba(212, 163, 115, 0.08), transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(44, 44, 44, 0.05), transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(212, 163, 115, 0.06), transparent 40%);
    animation: gradientMeshMove 20s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes gradientMeshMove {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    33% {
        transform: translate(3%, 5%) scale(1.05) rotate(1deg);
    }

    66% {
        transform: translate(-3%, -5%) scale(0.95) rotate(-1deg);
    }
}

/* Ensure content stays above background */
.hero .container {
    position: relative;
    z-index: 2;
}

/* ==========================================
   HERO CARD 3D TILT EFFECT
   ========================================== */

.hero-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    will-change: transform;
}

@media (min-width: 1024px) {
    .hero-card.tilt-enabled {
        transform: perspective(1000px);
    }

    .hero-card.tilt-enabled img {
        transform: translateZ(20px);
        transition: transform 0.1s ease-out;
    }
}

.hero-card:hover {
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(212, 163, 115, 0.1);
}

/* ==========================================
   SCROLL INDICATOR
   ========================================== */

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator i {
    font-size: 1.5rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator:hover i {
    color: var(--accent);
}

@keyframes scrollBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }
}

/* ==========================================
   VIDEO BACKGROUND SUPPORT (OPTIONAL)
   ========================================== */

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(250, 250, 250, 0.95) 0%,
            rgba(250, 250, 250, 0.9) 50%,
            rgba(250, 250, 250, 0.85) 100%);
    z-index: 1;
    pointer-events: none;
}

/* ==========================================
   ACCESSIBILITY & PERFORMANCE
   ========================================== */

@media (prefers-reduced-motion: reduce) {
    .hero::before {
        animation: none;
    }

    .scroll-indicator i {
        animation: none;
    }

    .hero-video-bg {
        display: none;
    }
}

/* ==========================================
   RESPONSIVE ENHANCEMENTS
   ========================================== */

@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        padding: 6rem 0;
    }

    .hero-card {
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .hero::before {
        animation-duration: 30s;
    }

    .hero-card {
        box-shadow:
            0 15px 35px rgba(0, 0, 0, 0.1),
            0 5px 15px rgba(0, 0, 0, 0.08);
    }
}

/* Ambient Hero Card Glow */
.hero-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center,
            rgba(212, 163, 115, 0.15) 0%,
            transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: -1;
}

.hero-card:hover::after {
    opacity: 1;
}