/* --- CORTEX PREMIUM HOMEPAGE CSS --- */
/* Basiert auf Dark Theme, Neon Accents & Glassmorphism */

/* --- Self-hosted Inter font family ---
 * Loaded locally so we don't depend on fonts.googleapis.com, which under certain
 * User-Agents returned relative woff2 URLs that resolved against this origin and
 * produced repeated 404s for /assets/fonts/Inter-*.woff2.
 */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/Inter-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/Inter-Medium.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/Inter-SemiBold.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/Inter-Bold.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/assets/fonts/Inter-ExtraBold.woff2') format('woff2');
}

:root {
    --bg-base: #0e0e12;
    --bg-surface: #141419;
    --bg-surface-glass: rgba(20, 20, 25, 0.6);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(0, 229, 255, 0.3);

    --text-main: #ffffff;
    --text-muted: #a3a6aa;

    --accent-cyan: #00e5ff;
    --accent-purple: #9d00ff;
    --accent-blue: #5865F2;
    --accent-red: #ff3b30;
    --accent-green: #2ed573;
    --accent-yellow: #ffa502;

    --font-primary: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- AMBIENT GLOW BACKGROUND --- */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ambient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: float 20s infinite alternate ease-in-out;
    z-index: 2;
}

.sphere-cyan {
    top: -10%;
    left: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
}

.sphere-purple {
    top: 30%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    animation-delay: -5s;
}

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

    100% {
        transform: translate(50px, 80px) scale(1.1);
    }
}

/* --- GLASS HEADER --- */
.glass-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(14, 14, 18, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}

.logo-icon {
    color: var(--accent-cyan);
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}

.nav-menu-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    margin-left: 48px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    -webkit-tap-highlight-color: transparent;
}

/* --- BUTTONS --- */
.btn-primary-glow {
    background: var(--accent-blue);
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.btn-primary-glow:hover {
    background: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.5);
}

.btn-primary-glow.large {
    padding: 14px 32px;
    font-size: 1.05rem;
}

.btn-secondary-glass {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.btn-secondary-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-secondary-glass.large {
    padding: 14px 32px;
    font-size: 1.05rem;
}

/* --- HERO SECTION --- */
.hero-section {
    padding: 120px 0 80px;
    text-align: center;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: var(--accent-cyan);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-cyan);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 8px var(--accent-cyan);
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 16px var(--accent-cyan);
    }
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

/* --- HERO STATS --- */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 40px;
    gap: 0;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 36px;
}

.hero-stat-num {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
    flex-shrink: 0;
}

/* --- SECTION TAG --- */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    background: rgba(0, 229, 255, 0.07);
    border: 1px solid rgba(0, 229, 255, 0.18);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
}

/* --- FEATURES SECTION --- */
.features-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(30, 30, 35, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 229, 255, 0.05);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 24px;
    flex-shrink: 0;
}

.glow-cyan {
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.glow-purple {
    background: rgba(157, 0, 255, 0.1);
    color: var(--accent-purple);
    border: 1px solid rgba(157, 0, 255, 0.2);
}

.glow-blue {
    background: rgba(88, 101, 242, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(88, 101, 242, 0.2);
}

.glow-red {
    background: rgba(255, 59, 48, 0.1);
    color: var(--accent-red);
    border: 1px solid rgba(255, 59, 48, 0.2);
}

.glow-green {
    background: rgba(46, 213, 115, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(46, 213, 115, 0.2);
}

.glow-yellow {
    background: rgba(255, 165, 2, 0.1);
    color: var(--accent-yellow);
    border: 1px solid rgba(255, 165, 2, 0.2);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
}

.ftag {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

/* --- SHOWCASE SECTION --- */
.showcase-section {
    padding: 80px 0 100px;
    position: relative;
}

.showcase-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 229, 255, 0.015), transparent);
    pointer-events: none;
}

.showcase-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 28px;
    align-items: start;
}

/* Tabs */
.showcase-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stab {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    cursor: pointer;
    color: inherit;
    text-align: left;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.stab::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-cyan);
    opacity: 0;
    border-radius: 3px 0 0 3px;
    transition: opacity 0.2s ease;
}

.stab:hover {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 255, 255, 0.1);
}

.stab.active {
    background: rgba(0, 229, 255, 0.06);
    border-color: rgba(0, 229, 255, 0.2);
}

.stab.active::before {
    opacity: 1;
}

.stab-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.stab-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.stab-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.stab-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.stab-arrow {
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.stab.active .stab-arrow {
    color: var(--accent-cyan);
    transform: translateX(3px);
}

/* Preview panel */
.showcase-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.preview-chrome {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #1e1f22;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.chrome-bar {
    background: #2b2d31;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.chrome-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.dot-red,
.dot-yellow,
.dot-green {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red {
    background: #ff5f56;
}

.dot-yellow {
    background: #ffbd2e;
}

.dot-green {
    background: #27c93f;
}

.chrome-url {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    padding: 5px 14px;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: 'Consolas', monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.chrome-live-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #ff3b30;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.live-dot {
    width: 7px;
    height: 7px;
    background: #ff3b30;
    border-radius: 50%;
    animation: livePulse 1.2s infinite;
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.4);
    }

    50% {
        opacity: 0.6;
        box-shadow: 0 0 0 5px rgba(255, 59, 48, 0);
    }
}

.preview-content {
    width: 100%;
    height: 430px;
    overflow: hidden;
    position: relative;
}

.preview-caption {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 4px 4px;
}

.preview-caption i {
    color: var(--accent-cyan);
    margin-top: 2px;
    flex-shrink: 0;
}

/* --- STATS SECTION --- */
.stats-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.015);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
    position: relative;
}

.stat-item+.stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: var(--border-color);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 229, 255, 0.07);
    border: 1px solid rgba(0, 229, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-cyan);
    margin-bottom: 16px;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- BOTTOM CTA --- */
.bottom-cta-section {
    padding: 60px 0 100px;
}

.cta-banner {
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.6), rgba(14, 14, 18, 0.9));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(157, 0, 255, 0.1) 0%, transparent 70%);
    filter: blur(50px);
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
}

/* --- FOOTER --- */
.main-footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    background: rgba(0, 0, 0, 0.2);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-desc {
    color: var(--text-muted);
    margin-top: 12px;
    font-size: 0.9rem;
    max-width: 250px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    justify-content: flex-end;
    max-width: 520px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- SCROLL ANIMATIONS --- */
[data-animate="fade-up"] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

[data-animate="fade-up"].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-section h1 {
        font-size: 3.5rem;
    }

    .showcase-layout {
        grid-template-columns: 260px 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(3)::before {
        display: none;
    }
}

@media (max-width: 900px) {
    .showcase-layout {
        grid-template-columns: 1fr;
    }

    .showcase-tabs {
        flex-direction: row;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 6px;
    }

    .stab {
        flex-shrink: 0;
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: inline-flex;
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.35s ease;
    }

    .mobile-menu-overlay.open {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu-wrapper {
        display: flex;
        visibility: hidden;
        flex-direction: column;
        gap: 32px;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        height: 100dvh;
        width: 320px;
        max-width: 80vw;
        background: rgba(10, 10, 12, 0.94);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        padding: 90px 24px 40px 24px;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: -15px 0 45px rgba(0, 0, 0, 0.7);
        z-index: 1001;
        opacity: 0;
        transform: translateX(100%);
        transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
    }

    .nav-menu-wrapper.open {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 14px 20px;
        width: 100%;
        text-align: center;
        border-radius: 12px;
        color: rgba(255, 255, 255, 0.7);
        font-weight: 600;
        letter-spacing: 0.3px;
        transition: all 0.2s ease;
    }

    .nav-link:hover,
    .nav-link.active {
        color: #fff;
        background: rgba(255, 255, 255, 0.04);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    .nav-actions {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        width: 100%;
        margin-top: 10px;
    }

    .nav-actions .btn-primary-glow {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 14px 28px;
        font-size: 1rem;
        font-weight: 700;
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(88, 101, 242, 0.4);
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0;
        padding: 16px 24px;
    }

    .hero-stat {
        padding: 16px 0;
    }

    .hero-stat-divider {
        width: 60%;
        height: 1px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(3)::before {
        display: none;
    }

    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 40px 20px;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        align-items: center;
    }

    .footer-links {
        justify-content: center;
        max-width: 100%;
    }

    .preview-content {
        height: 320px;
    }
}

/* ==============================
   MODAL OVERLAY (Impressum / Datenschutz / Nutzungsbedingungen)
   ============================== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.modal-overlay.open {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    background: linear-gradient(145deg, #1a1b1e, #111215);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 229, 255, 0.05);
    animation: modalSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-content::-webkit-scrollbar { width: 6px; }
.modal-content::-webkit-scrollbar-track { background: transparent; }
.modal-content::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #a3a6aa;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 59, 48, 0.15);
    color: #ff3b30;
    border-color: rgba(255, 59, 48, 0.3);
}

.modal-page-link {
    margin: 0 0 18px;
}

.modal-page-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-cyan, #00e5ff);
    font-size: 0.82rem;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.18);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.modal-page-link a:hover {
    background: rgba(0, 229, 255, 0.14);
    border-color: rgba(0, 229, 255, 0.35);
    text-decoration: none;
    color: #fff;
}

.modal-page-link a i {
    font-size: 0.75rem;
    opacity: 0.85;
}

.modal-body h3 {
    color: #fff;
    font-size: 1rem;
    margin-top: 22px;
    margin-bottom: 6px;
}

.modal-body p {
    color: #a3a6aa;
    line-height: 1.7;
    margin-bottom: 10px;
    font-size: 0.92rem;
}

.modal-body a {
    color: var(--primary-cyan);
    text-decoration: none;
}

.modal-body a:hover { text-decoration: underline; }

.modal-notice {
    margin-top: 28px;
    padding: 14px 16px;
    background: rgba(255, 165, 0, 0.08);
    border-left: 3px solid rgba(255, 165, 0, 0.6);
    border-radius: 6px;
    font-size: 0.82rem;
    color: #a3a6aa;
}

.modal-notice strong { color: #ffb347; }

@media (max-width: 600px) {
    .modal-content { padding: 28px 20px; }
}