﻿body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #111;
    color: white;
}

.hero {
    background: linear-gradient(to bottom right, #1e40af, #9333ea);
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 10px;
    color: #fff;
}

.hero-content p {
    font-size: 20px;
    color: #e0e0e0;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #facc15;
    color: black;
    padding: 14px 18px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

    .cta-button:hover {
        background-color: #eab308;
    }

.app-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.about, .features, .screenshots, .testimonials, .teaser {
    padding: 40px 20px;
    max-width: 900px;
    margin: 5px auto;
    text-align: center;
}

    .about h2, .features h2, .screenshots h2, .testimonials h2, .teaser h2 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .about p {
        font-size: 16px;
        color: #ccc;
        line-height: 1.6;
    }

.feature-grid, .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.feature-item i, .testimonial-item i {
    font-size: 32px;
    color: #facc15;
    margin-bottom: 10px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.screenshot-carousel {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    justify-content: center;
}

    .screenshot-carousel img {
        width: 200px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    }

.testimonial-item {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
}

    .testimonial-item p {
        font-style: italic;
    }

    .testimonial-item cite {
        display: block;
        margin-top: 10px;
        color: #aaa;
    }

.teaser {
    background: #1e1e1e;
    border-radius: 8px;
    padding: 30px;
    margin: 20px auto;
}

.footer {
    text-align: center;
    padding: 20px;
    background-color: #000;
    font-size: 14px;
    color: #666;
}

.social-links {
    margin: 10px 0;
}

    .social-links a {
        color: #ccc;
        margin: 0 10px;
        font-size: 20px;
        text-decoration: none;
    }

.newsletter {
    margin-top: 20px;
}

    .newsletter input {
        padding: 10px;
        border-radius: 4px;
        border: none;
        margin-right: 10px;
    }

    .newsletter button {
        background-color: #facc15;
        color: black;
        padding: 10px 20px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }



/*.hero, .features, .screenshots {
    animation: fadeIn 1s ease-in;
}*/

/* Add to your existing <style> section */
.screenshot-carousel {
    max-width: 400px; /* Changed from 800px to 400px - adjust as needed */
    margin: 0 auto;
}

/* Custom carousel styling for screenshots section */
.screenshots ::deep .rz-carousel {
    background: transparent !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.screenshots ::deep .rz-carousel-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
}

.screenshots ::deep .rz-carousel-nav {
    background: rgba(0,0,0,0.6) !important;
    color: #facc15 !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

    .screenshots ::deep .rz-carousel-nav:hover {
        background: rgba(250,204,21,0.2) !important;
    }

.screenshots ::deep .rz-carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3) !important;
    margin: 0 6px;
}

    .screenshots ::deep .rz-carousel-indicator.active {
        background: #facc15 !important;
        transform: scale(1.3);
    }




    .screenshots ::deep .rz-carousel-indicator.active {
        background: #facc15 !important;
        transform: scale(1.3);
    }



/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 480px) {
    .app-badges {
        width: 160px;
        height: 50px;
    }
}

/* 1) One-time fade utility (use this on the element you want to fade) */
.fade-once {
    animation: ig-fadein 360ms ease-out 1 both;
}

/* 2) After Blazor hydrates, prevent re-running the animation */
.blazor-connected .fade-once {
    animation: none !important;
}

/* 3) Make sure no global body fade fights us */
html, body {
    opacity: 1 !important;
}

/* 4) The keyframes */
@keyframes ig-fadein {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}



