/* ===== JANAT INITIATIVE - BASE STYLES ===== */
/* Global reset and CSS variables for all landing pages */

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors - Cosmic Palette */
    --deep-space: #000000;
    --cosmic-blue: #3b82f6;
    --consciousness-purple: #7c3aed;
    --soul-violet: #a78bfa;
    --pattern-gold: #fbbf24;
    --emergence-white: #ffffff;
    --subtle-gray: #9ca3af;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--cosmic-blue), var(--consciousness-purple), var(--pattern-gold));
    --gradient-secondary: linear-gradient(135deg, var(--cosmic-blue), var(--consciousness-purple));
    --gradient-radial-blue: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
    
    /* Animation Timings */
    --duration-fast: 0.3s;
    --duration-normal: 0.6s;
    --duration-slow: 1s;
    --duration-very-slow: 2s;
    
    /* Easing */
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
}

/* ===== GLOBAL STYLES ===== */
html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

body {
    font-family: var(--font-primary);
    background: var(--deep-space);
    color: var(--emergence-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

::-webkit-scrollbar-track {
    background: var(--deep-space);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #60a5fa, #a78bfa);
}

/* ===== UTILITY CLASSES ===== */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-glow {
    text-shadow: 
        0 0 20px rgba(59, 130, 246, 0.8),
        0 0 40px rgba(124, 58, 237, 0.6),
        0 0 60px rgba(251, 191, 36, 0.4);
}

.fade-in {
    animation: fadeIn var(--duration-slow) var(--ease-out);
}

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

/* ===== RESPONSIVE BREAKPOINTS ===== */
/* Mobile: < 768px */
/* Tablet: 768px - 1024px */
/* Desktop: > 1024px */

@media (max-width: 768px) {
    :root {
        --spacing-lg: 24px;
        --spacing-xl: 40px;
    }
}