/* ===== Base & Reset ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(196, 154, 108, 0.3);
    color: #fff;
}

/* ===== Hero Gradient ===== */
.hero-gradient {
    background: 
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(128, 19, 50, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(196, 154, 108, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 70% 60% at 50% 80%, rgba(108, 16, 42, 0.4) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 10% 80%, rgba(161, 21, 50, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 90% 70%, rgba(196, 154, 108, 0.15) 0%, transparent 40%),
        linear-gradient(180deg, #0d0a14 0%, #1a0f1e 50%, #0d0a14 100%);
    animation: heroGradientShift 12s ease-in-out infinite alternate;
}

@keyframes heroGradientShift {
    0% {
        background: 
            radial-gradient(ellipse 80% 60% at 20% 30%, rgba(128, 19, 50, 0.5) 0%, transparent 60%),
            radial-gradient(ellipse 60% 50% at 80% 20%, rgba(196, 154, 108, 0.25) 0%, transparent 50%),
            radial-gradient(ellipse 70% 60% at 50% 80%, rgba(108, 16, 42, 0.4) 0%, transparent 55%),
            radial-gradient(ellipse 50% 40% at 10% 80%, rgba(161, 21, 50, 0.3) 0%, transparent 50%),
            radial-gradient(ellipse 40% 30% at 90% 70%, rgba(196, 154, 108, 0.15) 0%, transparent 40%),
            linear-gradient(180deg, #0d0a14 0%, #1a0f1e 50%, #0d0a14 100%);
    }
    100% {
        background: 
            radial-gradient(ellipse 70% 55% at 30% 25%, rgba(128, 19, 50, 0.55) 0%, transparent 60%),
            radial-gradient(ellipse 55% 45% at 75% 30%, rgba(196, 154, 108, 0.3) 0%, transparent 50%),
            radial-gradient(ellipse 65% 55% at 45% 75%, rgba(108, 16, 42, 0.45) 0%, transparent 55%),
            radial-gradient(ellipse 45% 35% at 15% 75%, rgba(161, 21, 50, 0.35) 0%, transparent 50%),
            radial-gradient(ellipse 35% 25% at 85% 65%, rgba(196, 154, 108, 0.2) 0%, transparent 40%),
            linear-gradient(180deg, #0d0a14 0%, #1c1020 50%, #0d0a14 100%);
    }
}

/* ===== Hero Orbs ===== */
.hero-orb-1 {
    background: radial-gradient(circle, rgba(196, 154, 108, 0.6) 0%, transparent 70%);
    animation: orbFloat1 8s ease-in-out infinite;
}

.hero-orb-2 {
    background: radial-gradient(circle, rgba(161, 21, 50, 0.6) 0%, transparent 70%);
    animation: orbFloat2 10s ease-in-out infinite;
}

.hero-orb-3 {
    background: radial-gradient(circle, rgba(196, 154, 108, 0.3) 0%, transparent 70%);
    animation: orbFloat3 14s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.1); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-25px, 15px) scale(1.05); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.15); }
}

/* ===== Hero Animations ===== */
.hero-badge {
    opacity: 0;
    animation: fadeInDown 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-title {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.5s;
}

.hero-subtitle {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.8s;
}

.hero-ctas {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1.1s;
}

.hero-trust {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1.4s;
}

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

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

/* ===== Scroll Dot ===== */
.scroll-dot {
    animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: 0; opacity: 1; }
    50% { top: calc(100% - 16px); opacity: 0.3; }
}

/* ===== Section Labels ===== */
.section-label {
    letter-spacing: 0.2em;
}

/* ===== Navbar ===== */
#navbar {
    background: transparent;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background: rgba(13, 10, 20, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(196, 154, 108, 0.1), 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ===== Mobile Menu ===== */
.mobile-link {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.mobile-menu-open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu-open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu-open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu-open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu-open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* ===== Service Cards ===== */
.service-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Reveal Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal delays */
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

/* ===== Gold shimmer effect for text ===== */
.text-transparent.bg-clip-text.bg-gradient-to-r.from-gold-300.via-gold-400.to-gold-300 {
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: goldShimmer 4s linear infinite;
}

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

/* ===== Focus Styles ===== */
input:focus, textarea:focus, button:focus {
    outline: none;
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal, .service-card {
        opacity: 1;
        transform: none;
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-orb-1, .hero-orb-2, .hero-orb-3 {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}
