/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Rajdhani:wght@300;400;500;600;700;800&display=swap');

:root {
    --font-sans: 'Inter', sans-serif;
    --font-rajdhani: 'Rajdhani', sans-serif;
    --color-background: #020202;
    /* Even darker */
    --color-foreground: #ffffff;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-background);
    color: var(--color-foreground);
    /* Deeper, luxurious dark mode */
    background-image:
        radial-gradient(circle at 40% 0%, rgba(88, 28, 135, 0.08) 0%, transparent 50%),
        /* Deep Purple */
        radial-gradient(circle at 80% 10%, rgba(59, 130, 246, 0.05) 0%, transparent 40%);
    /* Blue */
    background-attachment: fixed;
    overflow-x: hidden;
}

.font-rajdhani {
    font-family: var(--font-rajdhani);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroZoom {
    from {
        opacity: 0;
        transform: scale(1.1);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

.animate-hero-zoom {
    animation: heroZoom 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

@keyframes shine {
    0% {
        transform: translateX(-200%) skewX(12deg);
    }

    100% {
        transform: translateX(200%) skewX(12deg);
    }
}

.animate-shine {
    animation: shine 4s infinite cubic-bezier(0, 0, 0.2, 1);
}

/* Glassmorphism - Refined */
.glass-panel {
    background: rgba(10, 10, 10, 0.6);
    /* Darker panel */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Ultra thin/subtle */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.glass-panel-amber {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.03), rgba(245, 158, 11, 0.01));
    border: 1px solid rgba(245, 158, 11, 0.15);
}

/* Premium Icon Container */
.icon-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.icon-glass:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

.icon-glass i {
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.9);
}

/* Specific Icon Colors */
.icon-glass.purple i {
    color: #a855f7;
    stroke-width: 2px;
}

.icon-glass.blue i {
    color: #3b82f6;
    stroke-width: 2px;
}

.icon-glass.green i {
    color: #22c55e;
    stroke-width: 2px;
}

.icon-glass.amber i {
    color: #f59e0b;
    stroke-width: 2px;
}

.icon-glass.red i {
    color: #ef4444;
    stroke-width: 2px;
}


/* Custom Utilities */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(to right, #cfbcfc, #a78bfa);
    /* Lighter purple for better contrast on black */
}

/* Hero Glow */
.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

html {
    scroll-behavior: smooth;
}

/* Global Background Animation */
.global-shine {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(115deg, transparent 40%, rgba(139, 92, 246, 0.03) 45%, rgba(59, 130, 246, 0.03) 50%, transparent 60%);
    animation: shine 15s infinite linear;
    pointer-events: none;
    z-index: -1;
}

/* Scroll Animations - Cinematic Zoom */
.reveal {
    opacity: 0;
    transform: scale(0.92) translateY(40px);
    /* Start smaller */
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    /* Apple-style ease */
    filter: blur(4px);
    /* Slight blur entry */
}

.reveal.reveal-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
}

/* Add transition delays for stagger effects */
.reveal.delay-100 {
    transition-delay: 100ms;
}

.reveal.delay-200 {
    transition-delay: 200ms;
}

.reveal.delay-300 {
    transition-delay: 300ms;
}