/* Grundlegendes Reset & Design */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #0b1329;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 5rem;
}

/* Fixed Header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(11, 19, 41, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 4rem;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px; /* Abstand zwischen Logo und Text */
}

.logo-img {
    width: 36px;   /* Passe die Größe hier nach Wunsch an */
    height: 36px;  /* Hält das Bild quadratisch */
    border-radius: 8px; /* Optional: leichte Abrundung der Ecken */
    object-fit: cover;
}

.logo-text {
    font-size: 1.25rem;   /* Schöne, gut lesbare Größe */
    font-weight: 700;     /* Fette Schrift */
    letter-spacing: -0.02em;
    color: var(--text-main);
}	

.nav-link {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #ffffff;
}

/* Main Container & Hero */
.main-container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.hero-section {
    text-align: center;
    margin-bottom: 4rem;
    width: 100%;
}

/* Badge von der Hauptseite */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background-color: rgba(6, 95, 70, 0.85);
    color: #34d399;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    border: 1px solid rgba(52, 211, 153, 0.25);
    backdrop-filter: blur(4px);
}

.badge-icon {
    width: 13px;
    height: 13px;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.hero-desc {
    color: #94a3b8;
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.6;
}

/* Download & Test Bereich */
.download-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
}

.download-group {
    background-color: #111e38;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.download-group h3 {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* Button Styling mit Hover-Effekt */
.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    background-color: #162544;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
    width: 100%;
}

.primary-btn:hover {
    background-color: #10b981;
    color: #0b1329;
    border-color: #10b981;
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.4);
    font-weight: 700;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

.version-info {
    color: #64748b;
    font-size: 0.8rem;
}

/* Testanleitung */
.test-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 0.5rem;
}

.test-badge {
    background-color: rgba(234, 179, 8, 0.15) !important;
    color: #facc15 !important;
    border-color: rgba(234, 179, 8, 0.3) !important;
    margin-bottom: 0 !important;
}

.test-intro {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: left;
    width: 100%;
    margin-bottom: 1.25rem;
}

.test-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    text-align: left;
    margin-bottom: 1rem;
}

.step-card {
    background-color: #162544;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.step-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #ffffff;
    font-size: 0.95rem;
}

.step-num {
    background-color: #10b981;
    color: #0b1329;
    font-weight: 800;
    font-size: 0.8rem;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-desc {
    color: #64748b;
    font-size: 0.8rem;
    margin-left: 2rem;
    margin-top: -0.25rem;
}

.step-link-box {
    font-size: 0.85rem;
    color: #e2e8f0;
    word-break: break-all;
    line-height: 1.5;
}

.step-link {
    color: #34d399;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}

.step-link:hover {
    color: #6ee7b7;
}

/* Feature Karten */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background-color: #111e38;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease;
}

.feature-card:hover {
    border-color: rgba(16, 185, 129, 0.4);
}

.feature-icon {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.feature-card p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Footer */
.site-footer {
    width: 100%;
    background-color: #070d1d;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.85rem;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .navbar, .site-footer {
        padding: 1rem 1.5rem;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .test-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}