/* ===================================
   MODERN SAAS STORYBOARD SPLASH
   Smooth scrolling with purposeful animations
   =================================== */

.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 99999;
    background: #0a1628;
    opacity: 1;
    transition: opacity 0.8s ease-out;
    overflow: hidden;
}

.splash-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Particle Canvas Background */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
}

/* Smooth scrollable container */
.splash-scroll-container {
    position: relative;
    z-index: 2;
    height: 100vh;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar */
.splash-scroll-container::-webkit-scrollbar {
    width: 0;
    display: none;
}

/* Sections with parallax */
.splash-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
}

/* Glass morphism content cards */
.section-content {
    max-width: 900px;
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 1px 2px rgba(0, 0, 0, 0.04),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-content.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Section titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2557a7 0%, #1a4ba0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-text {
    font-size: 1.2rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.section-text.large {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
}

.section-text strong {
    color: #2557a7;
    font-weight: 700;
}

.highlight {
    background: linear-gradient(135deg, rgba(37, 87, 167, 0.2), rgba(37, 87, 167, 0.1));
    padding: 0.2em 0.5em;
    border-radius: 6px;
    font-weight: 600;
    color: #2557a7;
}

/* Hero section */
.splash-hero {
    background: transparent;
}

.splash-hero .section-content {
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
}

.splash-tagline {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2557a7 0%, #1a4ba0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 2rem 0 0.5rem 0;
    letter-spacing: -0.02em;
}

.splash-subtitle {
    font-size: 1.5rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 3rem;
}

/* Scroll indicator */
.scroll-indicator {
    margin-top: 4rem;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.scroll-arrow {
    font-size: 2rem;
    color: #2557a7;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* Feature grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(37, 87, 167, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2557a7;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

/* Data sources */
.data-sources {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.data-source {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.data-source:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.02);
}

.data-label {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.data-label.sources {
    background: linear-gradient(135deg, rgba(37, 87, 167, 0.2), rgba(37, 87, 167, 0.1));
    color: #2557a7;
}

.data-label.features {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    color: #10b981;
}

.data-label.scoring {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.1));
    color: #fbbf24;
}

.data-label.functions {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.1));
    color: #a855f7;
}

.data-desc {
    font-size: 0.9rem;
    color: #64748b;
}

/* Stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 16px 32px rgba(37, 87, 167, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #2557a7 0%, #1a4ba0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2557a7;
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 0.875rem;
    color: #64748b;
}

/* CTA Section */
.splash-cta .section-content {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(245, 247, 250, 0.6) 100%
    );
}

.splash-btn-primary {
    background: linear-gradient(135deg, rgb(37, 87, 167), rgb(26, 75, 160));
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(37, 87, 167, 0.3);
}

.splash-btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(37, 87, 167, 0.4);
}

.splash-btn-large {
    padding: 1.5rem 4rem;
    font-size: 1.25rem;
    margin: 2rem 0;
}

.mvp-note {
    font-size: 0.875rem;
    color: #64748b;
    opacity: 0.8;
    margin-top: 2rem;
}

/* Skip button */
.splash-skip-btn {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    padding: 0.75rem 1.5rem;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2557a7;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.splash-skip-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .splash-section {
        padding: 3rem 1.5rem;
    }

    .section-content {
        padding: 2rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-text {
        font-size: 1rem;
    }

    .section-text.large {
        font-size: 1.25rem;
    }

    .splash-tagline {
        font-size: 2rem;
    }

    .splash-subtitle {
        font-size: 1.1rem;
    }

    .feature-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .splash-btn-large {
        padding: 1.25rem 2.5rem;
        font-size: 1.1rem;
    }
}
