/*mainpage.css */
/* Vollflächiges Video als Hintergrund */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
    transition: opacity 0.5s ease;
    opacity: 1;
}

#bg-video.fade-out {
    opacity: 0;
}

/* Halbtransparenter, verschwommener Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(18, 20, 23, 0.6); /* dunkles Schwarz mit Transparenz */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: -1;
}

/* Body */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    color: #e4e6eb;
    background: transparent;
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    background: rgba(30, 33, 41, 0.85);
    box-shadow: 0 0 20px #4f88ffcc;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10;
}

.navbar-brand {
    font-size: 1.8rem;
    color: #4f88ff;
    font-weight: 700;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.navbar-logo {
    height: 40px;
    width: auto;

    transition: filter 0.3s ease;
}



.brand-text {
    color: #4f88ff;
    font-size: 1.5rem;
}

.nav-link {
    color: #a0c1ff;
    margin-left: 1rem;
    transition: color 0.3s ease;
    user-select: none;
}

.nav-link:hover,
.nav-link.active {
    color: #2171ff;
}

.btn-login-small {
    background-color: #4f88ff !important;
    color: white !important;
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    text-decoration: none;
}

.btn-login-small:hover {
    background-color: #2171ff !important;
}

/* Hero Logo Section */
.hero-logo-section {
    margin-bottom: 2rem;
}

.hero-logo {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(79, 136, 255, 0.5));
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(79, 136, 255, 0.4));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(79, 136, 255, 0.8));
        transform: scale(1.05);
    }
}

/* Header / Hero Section */
.header-container {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.app-title {
    font-size: 7rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1rem;
    user-select: none;
    animation:
            slideUpFade 1.5s ease-out,
            glowPulse 5s ease-in-out infinite;
}

.header-subtitle {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    max-width: 650px;
    line-height: 1.4;
    color: #e4e6ebcc;
}

/* Button - primär */
.btn-login {
    background-color: #4f88ff;
    border: none;
    padding: 1rem 3rem;
    font-weight: 600;
    border-radius: 3rem;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 1.2rem;
    user-select: none;
    text-decoration: none;

    display: inline-block;  /* Damit Button nicht die ganze Breite einnimmt */
    max-width: 320px;       /* Maximalbreite für den Button */
    width: auto;            /* Breite passt sich dem Inhalt an */
    text-align: center;     /* Text zentriert */
}

/* Hover-Effekt bleibt */
.btn-login:hover {
    background-color: #2171ff;
    box-shadow: 0 0 15px #4f88ffcc;
}

/* Features Section */
.features-container {
    padding: 4rem 1rem 5rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature {
    margin-bottom: 3rem;
}

.feature-icon {
    font-size: 4rem;
    color: #4f88ff;
    margin-bottom: 1rem;
    user-select: none;
}

.feature h3 {
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.feature p {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.4;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 1rem;
    max-width: 1100px;
    margin: 0 auto 5rem;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #ffffff;
    user-select: none;
}

.testimonial-card {
    background-color: rgba(30, 33, 41, 0.85);
    border-radius: 1rem;
    padding: 2rem;
    margin: 1rem;
    box-shadow: 0 0 15px #4f88ff88;
    font-style: italic;
    color: #d0d6dd;
}

/* Call-to-Action Section */
.cta-container {
    padding: 3rem 1rem 6rem;
    text-align: center;
    background: rgba(30, 33, 41, 0.85);
    box-shadow: inset 0 0 20px #4f88ffcc;
    margin: 0 1rem 3rem;
    border-radius: 1rem;
    color: #e4e6eb;
    position: relative;
    z-index: 1;
}

.cta-container h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    user-select: none;
}

/* Footer */
.footer-container {
    padding: 3rem 1rem;
    background: rgba(18, 20, 23, 0.65); /* etwas dunkler, glasiger */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(79, 136, 255, 0.15);
    box-shadow: 0 -8px 30px rgba(79, 136, 255, 0.15);
    font-size: 0.95rem;
    color: #cbd5e1;
    position: relative;
    z-index: 1;
    user-select: none;
    text-align: center;
    border-radius: 20px 20px 0 0;
}

.social-icons {
    margin-top: 1.2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-icons a {
    color: #4f88ff;
    font-size: 1.8rem;
    transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

.social-icons a:hover {
    color: #ffffff;
    transform: scale(1.2);
    text-shadow: 0 0 10px #4f88ff;
}


/* Animations */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 0px rgba(100, 170, 255, 0.1);
    }
    50% {
        text-shadow:
                0 0 15px rgba(100, 170, 255, 0.6),
                0 0 30px rgba(100, 170, 255, 0.4);
    }
}

/* Optional: kleinere Bildschirme anpassen */
@media (max-width: 768px) {
    .app-title {
        font-size: 4rem;
    }
    .header-subtitle {
        font-size: 1.2rem;
    }
    .features-container {
        padding: 3rem 1rem;
    }
    .feature-icon {
        font-size: 3rem;
    }
    .hero-logo {
        height: 80px;
    }
}

/* Optional: Bootstrap Input Styles für Login, falls du Login wieder verwendest */
.login-container {
    background-color: rgba(30, 33, 41, 0.85);
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0 0 25px #4f88ffcc, 0 10px 35px rgba(0, 0, 0, 0.85);
    width: 100%;
    max-width: 540px;
    color: #fff;
    z-index: 1;
    position: relative;
    font-size: 1.1rem;
}

.login-container h2 {
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
    font-size: 2rem;
}

label {
    display: block;
    width: 100%;
}

.form-control {
    background-color: #2e323a;
    border: none;
    color: #ffffff;
    padding: 1rem 1.25rem 1rem 3.5rem;
    border-radius: 3rem;
    width: 100%;
    font-size: 1.1rem;
    outline: none;
    transition: background-color 0.3s ease;
}

.form-control::placeholder {
    color: #ccc;
}

.form-control:focus {
    background-color: #3a3f4a;
    box-shadow: 0 0 6px #4f88ffcc;
    color: #fff;
}

.btn-login {
    background-color: #4f88ff;
    border: none;
    width: 100%;
    padding: 1rem;
    font-weight: 600;
    border-radius: 3rem;
    margin-top: 1rem;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1.1rem;
}

.btn-login:hover {
    background-color: #2171ff;
    box-shadow: 0 0 10px #4f88ff88;
}

/* Links */
.links {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.links a {
    color: #a0c1ff;
    text-decoration: none;
    transition: color 0.2s ease;
    user-select: none;
}

.links a:hover {
    color: white;
    text-decoration: none;
}

/* Icons in Inputs */
.form-icon {
    position: absolute;
    top: 50%;
    left: 1.2rem;
    transform: translateY(-50%);
    color: #9aa1aa;
    pointer-events: none;
    font-size: 1.2rem;
}

.input-group .form-control {
    padding-left: 3.5rem;
}


.btn-app-download {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: #28a745; /* schön grüner Button */
    color: white;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 3rem;
    margin-top: 1rem;
    cursor: pointer;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 0 10px #28a745cc;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
}

.btn-app-download i {
    font-size: 1.4rem;
}

.btn-app-download:hover {
    background-color: #218838;
    box-shadow: 0 0 15px #28a745dd;
}

.cta-container-enhanced {
    padding: 100px 20px;
    background: linear-gradient(to right top, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.15));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
    color: white;
}

.cta-box {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.cta-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-container-enhanced .btn {
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-container-enhanced .btn:hover {
    transform: scale(1.05);
    background-color: #f8f9fa;
    color: #000;
}

.cta-container-blue {
    padding: 6rem 1rem;
    background: transparent; /* <-- Blauen Verlauf entfernt */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
    color: #e4e6eb;
}

.cta-box-blue {
    background: rgba(30, 33, 41, 0.8);
    border-radius: 2rem;
    padding: 3rem 2rem;
    max-width: 650px;
    margin: 0 auto;
    box-shadow: 0 0 25px #4f88ff80;
    border: 1px solid rgba(79, 136, 255, 0.2);
}

.cta-title-blue {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(79, 136, 255, 0.4);
}

.cta-subtitle-blue {
    font-size: 1.2rem;
    color: #cdd4ea;
    max-width: 500px;
    margin: 0 auto 1.5rem;
    line-height: 1.5;
}

/* Optional: Add slight hover animation */
.cta-container-blue .btn-login {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-container-blue .btn-login:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #4f88ffcc;
}

.pricing-section {
    padding: 6rem 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
    color: #e4e6eb;
}

.pricing-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-shadow: 0 0 15px rgba(79, 136, 255, 0.5);
}

.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.pricing-card {
    background: rgba(30, 33, 41, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    width: 300px;
    box-shadow: 0 0 20px rgba(79, 136, 255, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(79, 136, 255, 0.5);
}

.plan-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.plan-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #4f88ff;
    margin-bottom: 1.5rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.plan-features li {
    margin: 0.5rem 0;
    color: #cdd4ea;
}

.btn-plan {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #4f88ff;
    color: #fff;
    border-radius: 2rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-plan:hover {
    background-color: #2171ff;
    box-shadow: 0 0 15px #4f88ffcc;
}

.popular {
    background: rgba(79, 136, 255, 0.1);
    border: 1px solid rgba(79, 136, 255, 0.3);
    box-shadow: 0 0 30px #4f88ff55;
}


.hero-logo-section {
    position: relative;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    background: rgba(30, 33, 41, 0.4);
    border-radius: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(79, 136, 255, 0.15);
    box-shadow: 0 0 30px rgba(79, 136, 255, 0.2);
}


.powered-by-minimal {
    font-size: 0.95rem;
    color: #a0c1ff;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 1.5rem;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.powered-by-minimal:hover {
    color: #4f88ff;
    opacity: 1;
    letter-spacing: 2px;
}

.powered-by-minimal i {
    margin-right: 0.5rem;
    font-size: 1rem;
}