/* Base Styles */
body {
    background-color: #F7F7F7;
    color: #121212;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Typography Special Effects */
.outline-text {
    color: transparent;
    -webkit-text-stroke: 1px rgba(18, 18, 18, 0.3);
    transition: all 0.5s ease;
}

.outline-text:hover {
    -webkit-text-stroke: 1px rgba(18, 18, 18, 0.8);
    text-shadow: 0 0 20px rgba(205, 194, 179, 0.4);
}

.outline-text-light {
    color: transparent;
    -webkit-text-stroke: 1px rgba(247, 247, 247, 0.4);
    transition: all 0.5s ease;
}

.outline-text-light:hover {
    -webkit-text-stroke: 1px rgba(247, 247, 247, 0.9);
    text-shadow: 0 0 20px rgba(205, 194, 179, 0.2);
}

/* Backgrounds & Textures */
.bg-noise {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
}

.bg-marble {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1000 1000' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='marbleFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.003' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23marbleFilter)' opacity='0.12'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    pointer-events: none;
    mix-blend-mode: multiply;
}

/* Glassmorphism & Depth */
.glass-panel {
    background: rgba(247, 247, 247, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(205, 194, 179, 0.4);
}

.glass-panel-dark {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(247, 247, 247, 0.1);
}

/* Glow Effects */
.premium-glow {
    box-shadow: 0 0 40px rgba(205, 194, 179, 0.3), inset 0 0 20px rgba(205, 194, 179, 0.1);
}

.dark-premium-glow {
    box-shadow: 0 0 40px rgba(205, 194, 179, 0.15), inset 0 0 20px rgba(205, 194, 179, 0.05);
}

.hover-glow:hover {
    box-shadow: 0 10px 40px -10px rgba(18, 18, 18, 0.2);
    transform: translateY(-2px);
}

.dark-hover-glow:hover {
    box-shadow: 0 0 40px -5px rgba(205, 194, 179, 0.4);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUpBlur {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(12px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes orbFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

.animate-entry {
    animation: fadeInUpBlur 1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-400 {
    animation-delay: 400ms;
}

.delay-500 {
    animation-delay: 500ms;
}

.delay-700 {
    animation-delay: 700ms;
}

.orb-1 {
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-2 {
    animation: orbFloat 25s ease-in-out infinite reverse;
}

.orb-3 {
    animation: orbFloat 30s ease-in-out infinite alternate;
}

/* Scroll Animation Control */
.animate-on-scroll {
    animation-play-state: paused !important;
    opacity: 0;
}

.animate-on-scroll.animate {
    animation-play-state: running !important;
    opacity: 1;
}

/* Hide scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0A0A0A;
}

::-webkit-scrollbar-thumb {
    background: #CDC2B3;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #BFBFBF;
}

/* Hero Animations */
@keyframes floatHeroY {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes textSlideUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textRevealScale {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-anim-y {
    animation: floatHeroY 10s ease-in-out infinite;
}

/* Staggered text animations */
.anim-text-1 {
    animation: textSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) both 0.1s;
}

.anim-text-2 {
    animation: textSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) both 0.25s;
}

.anim-text-3 {
    animation: textSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) both 0.4s;
}

.anim-text-4 {
    animation: textSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) both 0.55s;
}

.anim-text-5 {
    animation: textRevealScale 1.2s cubic-bezier(0.16, 1, 0.3, 1) both 0.7s;
}

.delay-600 {
    animation-delay: 600ms;
}

/* ============================================
   MOBILE HERO REFINEMENTS
   ============================================ */
@media (max-width: 1023px) {
    /* Ensure the h1 outline text is visible on mobile */
    #hero .outline-text {
        -webkit-text-stroke: 1px rgba(18, 18, 18, 0.4);
    }
}
