:root {
    /* Light Theme Palette */
    --primary: #00acc1;
    /* Teal/Cyan (Readable on white) */
    --secondary: #1565c0;
    /* Strong Blue */
    --accent: #d81b60;
    /* Pink/Red for highlights */
    --bg-deep: #f0f4f8;
    /* Light Cloud Blue/Gray */

    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.05);

    --text-main: #1a1a2e;
    /* Dark Navy for main text */
    --text-mute: #546e7a;
    /* Slate Gray for subtitles */

    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-main);
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

/* --- 1. Dynamic Background (The Sky/Ether) --- */
.universe-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background: radial-gradient(circle at 50% 120%, #e3f2fd 0%, #ffffff 80%);
    overflow: hidden;
}

/* Moving Particles Layer */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1.5px 1.5px at 50px 50px, #b0bec5, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 100px 150px, #90a4ae, rgba(0, 0, 0, 0)),
        radial-gradient(1.5px 1.5px at 200px 50px, #b0bec5, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 300px 250px, #cfd8dc, rgba(0, 0, 0, 0));
    background-size: 550px 550px;
    opacity: 0.6;
    animation: driftStars 120s linear infinite;
}

/* Glowing Orbs for Mood */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    animation: floatOrb 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: #4fc3f7;
    top: -150px;
    right: -150px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: #ff80ab;
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

@keyframes driftStars {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-550px);
    }
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 40px) scale(1.1);
    }
}

/* --- 2. Content Container --- */
.slide-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    animation: slideIn 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(1.1) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* --- 3. Intro Layout --- */
.intro-layout {
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--secondary) 20%, var(--primary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 40px rgba(0, 172, 193, 0.2);
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--text-mute);
    font-weight: 500;
    margin-bottom: 40px;
}

.btn-start {
    padding: 18px 45px;
    font-size: 1.2rem;
    border-radius: 50px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--secondary);
    cursor: pointer;
    transition: 0.3s;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

.btn-start:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 25px rgba(0, 172, 193, 0.3);
    transform: translateY(-3px);
}

/* --- 4. Split Layout --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    width: 100%;
    align-items: center;
}

.text-panel {
    padding-left: 20px;
}

.text-panel h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.text-panel p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-mute);
    margin-bottom: 30px;
}

/* Glassmorphism List */
.glass-list {
    list-style: none;
}

.glass-list li {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 15px 25px;
    margin-bottom: 12px;
    border-radius: 12px;
    border-right: 3px solid var(--primary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-main);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    transform: translateZ(0);
    will-change: transform;
}

.glass-list li:hover {
    transform: translateX(-10px) translateZ(0);
    background: linear-gradient(90deg, rgba(0, 172, 193, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
}

.glass-list li::before {
    content: none;
}

/* Visual Side */
.visual-panel {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 800px;
}

.floating-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    transform-style: preserve-3d;
    animation: floatCard 6s ease-in-out infinite;
    box-shadow: 0 20px 50px rgba(0, 50, 100, 0.1);
}

.big-stat {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-mute);
    opacity: 1;
    display: block;
    margin-bottom: 30px;
}

.mini-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0) rotateX(0) rotateY(0);
    }

    50% {
        transform: translateY(-20px) rotateX(2deg) rotateY(-2deg);
    }
}

/* --- 5. Floating Navigation Dock --- */
.nav-dock {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 1);
    display: flex;
    gap: 20px;
    align-items: center;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav-btn {
    background: none;
    border: none;
    color: var(--text-mute);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.nav-btn:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 172, 193, 0.3);
}

.nav-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.page-indicator {
    font-size: 0.9rem;
    color: var(--text-main);
    letter-spacing: 1px;
    direction: ltr;
    font-weight: bold;
}

/* Floating Icon Animation */
@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.floating-icon {
    animation: floatIcon 5s infinite ease-in-out;
}

/* --- 6. Feature Grid & Feature Boxes --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.feature-box {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.04) 100%);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.feature-box:hover {
    background: linear-gradient(135deg, rgba(0, 172, 193, 0.05) 0%, rgba(0, 172, 193, 0.1) 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 172, 193, 0.1);
}

.feature-icon {
    font-size: 24px;
    color: var(--primary);
    width: 40px;
    text-align: center;
}

/* --- 7. Icon Compositions --- */
.icon-composition {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-icon {
    font-size: 150px;
    color: var(--primary);
    filter: drop-shadow(0 0 30px rgba(0, 172, 193, 0.3));
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.sub-icon {
    position: absolute;
    font-size: 60px;
    color: var(--secondary);
    opacity: 0.7;
    animation: float 8s ease-in-out infinite reverse;
}

.sub-1 {
    top: -20px;
    left: -20px;
    color: var(--accent);
    animation-delay: 1s;
}

.sub-2 {
    bottom: -20px;
    right: -20px;
    animation-delay: 2s;
}

.sub-3 {
    top: 40%;
    right: -60px;
    font-size: 40px;
    color: var(--text-mute);
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* --- 8. Additional Utilities --- */
.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-top: 20px;
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-mute);
    margin-bottom: 15px;
}

ul {
    list-style: none;
    margin-top: 20px;
}

li {
    margin-bottom: 15px;
    padding-right: 25px;
    position: relative;
    font-size: 1.1rem;
}

li::before {
    content: "✦";
    position: absolute;
    right: 0;
    color: var(--accent);
    filter: drop-shadow(0 0 5px var(--accent));
}

strong {
    color: var(--text-main);
    font-weight: 700;
}

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

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

.animate-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.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;
}

/* Chart Animation */
@keyframes fillBar {
    from {
        width: 0;
    }

    to {
        width: var(--target-width);
    }
}

.animate-bar {
    width: 0;
    /* Start at 0 */
    animation: fillBar 3s ease-out forwards;
}