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

:root {
    /* Premium Palette - Neutral Foundation */
    --bg-page: #f8fafc; /* Slate 50 */
    --text-primary: #0f172a; /* Slate 900 */
    --text-secondary: #475569; /* Slate 600 */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 25px 50px -12px rgba(148, 163, 184, 0.25); /* Slate 400 shadow */

    /* Default Accent (Can be overridden per slide) */
    --accent: #10b981; /* Emerald 500 */
    --accent-light: #ecfdf5; /* Emerald 50 */
    --accent-dark: #047857; /* Emerald 700 */
}

body {
    font-family: 'Hind Siliguri', sans-serif;
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Premium Glass Panel */
.premium-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 2rem; /* Squircle-ish */
    box-shadow: var(--glass-shadow), 
                0 0 0 1px rgba(255, 255, 255, 0.5) inset; /* Inner glow */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-glass:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 60px -12px rgba(148, 163, 184, 0.35),
                0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

/* Typography Overrides */
h1 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h2, h3 {
    font-weight: 600;
    letter-spacing: -0.01em;
}

p, li {
    font-weight: 400;
}

/* Icon Container squircle */
.icon-squircle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.5rem;
    padding: 1.5rem;
    background: var(--accent-light);
    color: var(--accent);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* =========================================
   Layout & Slide System
   ========================================= */
.slide-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s step-end;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-in-out, visibility 0s step-start;
    z-index: 20;
}

/* =========================================
   Animations
   ========================================= */
.animate-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.slide.active .animate-text {
    animation-play-state: running;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1.0s; }

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

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .7; }
}

/* =========================================
   Background Ambient Elements
   ========================================= */
.ambient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
    z-index: 0;
    animation: floatOrb 10s ease-in-out infinite alternate;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 40px); }
}
