@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-primary: #060608;
    --bg-secondary: #0c0c10;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(99, 102, 241, 0.35); /* Glow border on hover */
    --accent-primary: #6366f1; /* Premium Indigo */
    --accent-secondary: #3b82f6; /* Premium Royal Blue */
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
    --accent-glow: rgba(99, 102, 241, 0.25);
    --card-bg: rgba(18, 18, 24, 0.65);
    --card-blur: blur(16px);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* Background Ambient Glow Spots Wrapper to prevent mobile horizontal scroll overflow */
.glow-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
    pointer-events: none;
}

.glow-spot-1 {
    position: absolute;
    top: -50px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(99, 102, 241, 0) 70%);
    filter: blur(100px);
    pointer-events: none;
}

.glow-spot-2 {
    position: absolute;
    top: 40%;
    left: -150px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0) 70%);
    filter: blur(100px);
    pointer-events: none;
}

.glow-spot-3 {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(99, 102, 241, 0) 70%);
    filter: blur(90px);
    pointer-events: none;
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

/* Premium Glassmorphic Cards */
.premium-card {
    background: var(--card-bg);
    backdrop-filter: var(--card-blur);
    -webkit-backdrop-filter: var(--card-blur);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    transition: var(--transition-smooth);
}

.premium-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px var(--accent-glow);
}

.premium-card i {
    color: var(--accent-primary);
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.3));
}

/* Accent Glowing Interactive Buttons */
.btn-premium {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--accent-primary);
    padding: 12px 26px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-smooth);
}

.btn-premium:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-premium-filled {
    background: var(--accent-gradient);
    color: #ffffff;
    border: 1px solid transparent;
    padding: 12px 26px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.btn-premium-filled:hover {
    background: transparent;
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.05);
}

/* Indigo-to-Blue Text Gradients */
.text-gradient {
    background: linear-gradient(135deg, #ffffff 40%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Page Spacing */
.section-padding {
    padding: 100px 0;
}

/* Divider Lines */
.premium-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(99, 102, 241, 0.15) 50%, rgba(255,255,255,0) 100%);
    border: none;
    margin: 40px 0;
}

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

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

@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(99, 102, 241, 0.1); }
    50% { box-shadow: 0 0 25px rgba(99, 102, 241, 0.35); }
}

/* Animation classes */
.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-fade-in-up {
    opacity: 0; /* Pre-animation state */
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

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

.animate-glow-pulse {
    animation: glowPulse 4s infinite ease-in-out;
}

/* Staggered Delay classes */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }
.delay-8 { animation-delay: 0.8s; }

/* Global mobile padding adjustments */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0 !important;
    }
}

/* Scroll Reveal Animation Styles (Enabled only when JS is parsed and active) */
.scroll-reveal {
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity;
}
.js-enabled .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
}
.js-enabled .scroll-reveal.active {
    opacity: 1;
    transform: translateY(0) !important;
}

/* Slide from Left */
.scroll-reveal-left {
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity;
}
.js-enabled .scroll-reveal-left {
    opacity: 0;
    transform: translateX(-45px);
}
.js-enabled .scroll-reveal-left.active {
    opacity: 1;
    transform: translateX(0) !important;
}

/* Slide from Right */
.scroll-reveal-right {
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity;
}
.js-enabled .scroll-reveal-right {
    opacity: 0;
    transform: translateX(45px);
}
.js-enabled .scroll-reveal-right.active {
    opacity: 1;
    transform: translateX(0) !important;
}


