:root {
    --brand-gold: #C5A059;
    --brand-dark: #0A0A0A;
    --brand-accent: #1D1D1F;
    --brand-text: #EFEFEF;
    --brand-muted: #8E8E93;
}

body {
    background-color: var(--brand-dark);
    color: var(--brand-text);
}

/* Bulletproof Global Fallbacks (Bypasses CDN Latency Bug) */
.text-brand-gold { color: var(--brand-gold) !important; }
.text-brand-muted { color: var(--brand-muted) !important; }
.bg-brand-accent { background-color: var(--brand-accent) !important; }
.bg-brand-dark { background-color: var(--brand-dark) !important; }
.text-brand-text { color: var(--brand-text) !important; }

/* Premium Animations and Glassmorphism */

.glass-panel {
    background: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.premium-button {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(8px);
}
.premium-button:hover {
    background: linear-gradient(135deg, #C5A059 0%, #A9833D 100%);
    border-color: #C5A059;
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.35);
    color: #0A0A0A;
    transform: translateY(-2px);
}

.social-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.social-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.social-icon-wrapper:hover {
    transform: translateY(-3px);
    border-color: rgba(197, 160, 89, 0.5);
    box-shadow: 0 10px 20px -5px rgba(0,0,0,0.5);
}

.social-icon-wrapper:hover::before {
    opacity: 1;
}

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

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0A0A0A; 
}
::-webkit-scrollbar-thumb {
    background: #2a2a2a; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C5A059; 
}

/* Ultra-Premium Extensions */
@keyframes border-spin {
    100% { transform: rotate(360deg); }
}

.glow-border-wrapper {
    position: relative;
    padding: 1px; /* The thickness of the animated border */
    border-radius: 1.5rem; /* Matches rounded-3xl */
    overflow: hidden;
    z-index: 1; /* Establishes a stack context */
}

.glow-border-gold::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent 40%, rgba(197, 160, 89, 0.8) 50%, transparent 60%);
    animation: border-spin 4s linear infinite;
    z-index: -2;
}

.glow-border-emerald::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent 40%, rgba(16, 185, 129, 0.8) 50%, transparent 60%);
    animation: border-spin 4s linear infinite;
    z-index: -2;
}

.glow-border-wrapper::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: #111111; /* Extremely dark inner background to mask the gradient */
    border-radius: 1.45rem;
    z-index: -1;
}

.glow-border-wrapper.glass-panel::after {
    /* Retain original glass styling for inner portion */
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(16px);
}

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

.animate-float {
    animation: float-gentle 4s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ------------------- */
/* SALES MACHINE CRO   */
/* ------------------- */

/* The Magnetic Hero Shimmer */
@keyframes shimmer-metallic {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
.animate-shimmer {
    background: linear-gradient(
        to right, 
        rgba(255,255,255,0.7) 10%, 
        #C5A059 30%, 
        #ffffff 50%, 
        #C5A059 70%, 
        rgba(255,255,255,0.7) 90%
    );
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer-metallic 6s linear infinite;
    text-shadow: 0 0 40px rgba(197, 160, 89, 0.2);
}

/* UX Breathing Aurora CTA */
@keyframes aurora-bg {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes luxury-breathe-gold {
    0%, 100% {
        transform: scale(1) translateY(0);
        box-shadow: 0 0 15px rgba(197, 160, 89, 0.15);
    }
    50% {
        transform: scale(1.01) translateY(-2px);
        box-shadow: 0 10px 40px rgba(197, 160, 89, 0.4);
    }
}

.btn-luxury-aurora-gold {
    background: linear-gradient(-45deg, #18181b, #27272a, #3f3f46, #27272a);
    background-size: 300% 300%;
    animation: aurora-bg 8s ease infinite, luxury-breathe-gold 4s ease-in-out infinite;
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--brand-gold);
}
.btn-luxury-aurora-gold:hover {
    filter: brightness(1.2);
    border-color: var(--brand-gold);
}

@keyframes luxury-breathe-emerald {
    0%, 100% {
        transform: scale(1) translateY(0);
        box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
    }
    50% {
        transform: scale(1.01) translateY(-2px);
        box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4);
    }
}

.btn-luxury-aurora-emerald {
    background: linear-gradient(-45deg, #064e3b, #047857, #10b981, #047857);
    background-size: 300% 300%;
    animation: aurora-bg 8s ease infinite, luxury-breathe-emerald 4s ease-in-out infinite;
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #ffffff;
}
.btn-luxury-aurora-emerald:hover {
    filter: brightness(1.1);
    border-color: rgba(16, 185, 129, 0.8);
}

/* Urgency Matrix */
@keyframes intensity-pulse {
    0%, 100% { opacity: 0.2; transform: scale(0.9); text-shadow: none; }
    50% { opacity: 1; transform: scale(1.1); text-shadow: 0 0 10px rgba(197, 160, 89, 0.8); color: var(--brand-gold); }
}
.animate-urgency-pulse {
    animation: intensity-pulse 1s ease-in-out infinite;
    display: inline-block;
}
