﻿/* ═══════════════════════════════════════════════════════════════
   AEGIS Landing — 5 Glasmorph Layers + 3D Shield
   Author: Claude & Tom Sanders | Silicon Networks
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Helvetica Neue', Helvetica, sans-serif;
    background: #030305;
}

/* ═══════════════════════════════════════════════════════════════
   5 LAYER SYSTEM — Tiefenwirkung
   ═══════════════════════════════════════════════════════════════ */
.layer {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}

/* LAYER 0: Galaxy Canvas — Stars + Nebula */
.layer-0 {
    z-index: 0;
    background: #000;
}
/* LAYER 1: Deep Space Background */
.layer-1 {
    z-index: 1;
    background: radial-gradient(ellipse at 50% 50%, rgba(10,15,26,0.7) 0%, rgba(3,3,5,0.9) 100%);
}

/* LAYER 2: Shield Container — 3D Perspective */
.layer-2 {
    z-index: 2;
    perspective: 1500px;
    perspective-origin: 50% 50%;
}

.shield-wrapper {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 800px;
}

.shield-3d {
    width: 100%; height: 100%;
    transform-style: preserve-3d;
    filter: hue-rotate(0deg);
    animation: shield-rotate 30s linear infinite, rainbow-shift 12s ease-in-out infinite;
    will-change: transform, filter;
}

@keyframes shield-rotate {
    0% { transform: rotateY(-15deg) rotateX(5deg); }
    50% { transform: rotateY(15deg) rotateX(-5deg); }
    100% { transform: rotateY(-15deg) rotateX(5deg); }
}
@keyframes rainbow-shift {
    0%, 100% { filter: hue-rotate(0deg); }
    25% { filter: hue-rotate(60deg); }
    50% { filter: hue-rotate(180deg); }
    75% { filter: hue-rotate(280deg); }
}

/* LAYER 2a: Tentacle Layer BEHIND Shield — Glasmorph */
.layer-2a {
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: transparent;
    overflow: visible;
    transition: opacity 0.8s ease;
}

/* LAYER 2b: Tentacle Layer FRONT — Glasmorph */
.layer-2b {
    z-index: 4;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: transparent;
    overflow: visible;
    transition: opacity 0.8s ease;
}
/* Fangarme ausblenden wenn Timeline aktiv */
.layer-2a.hidden,
.layer-2b.hidden {
    opacity: 0;
    pointer-events: none;
}

/* LAYER 3: Glass Depth Overlay */
.layer-3 {
    z-index: 5;
    background: radial-gradient(ellipse at 50% 30%, transparent 0%, rgba(3,3,5,0.4) 100%);
}

/* ═══════════════════════════════════════════════════════════════
   TENTACLE / FANGARM ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */

/* Einzelner Fangarm Container */
.tentacle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

/* Fangarm Animation: Umschlingen → Explosion → Reset */
.tentacle {
    animation: tentacle-attack 12s ease-in-out infinite;
    transform-origin: center center;
}
@keyframes tentacle-attack {
    /* Phase 1: Weit draußen, anschleichen */
    0% {
        opacity: 0.6;
        transform: scale(1.8) rotate(0deg);
    }
    /* Phase 2: Langsames Umschlingen */
    50% {
        opacity: 0.85;
        transform: scale(0.9) rotate(10deg);
    }
    /* Phase 3: Fast umschlungen - Spannung! */
    70% {
        opacity: 1;
        transform: scale(0.75) rotate(15deg);
    }
    /* Phase 4: EXPLOSION! Shield wehrt sich */
    75% {
        opacity: 0.9;
        transform: scale(1.4) rotate(-25deg);
    }
    82% {
        opacity: 0.4;
        transform: scale(2.2) rotate(-40deg);
    }
    /* Phase 5: Zurückziehen */
    92% {
        opacity: 0.2;
        transform: scale(2.5) rotate(-50deg);
    }
    100% {
        opacity: 0.6;
        transform: scale(1.8) rotate(0deg);
    }
}
/* Shield Explosion Pulse */
.shield-explosion-pulse {
    animation: shield-defend 12s ease-in-out infinite;
}

@keyframes shield-defend {
    0%, 74% {
        filter: drop-shadow(0 0 20px rgba(0, 201, 167, 0.3));
        transform: scale(1);
    }
    75% {
        filter: drop-shadow(0 0 30px rgba(0, 201, 167, 0.5));
        transform: scale(0.98);
    }
    /* EXPLOSION! */
    78% {
        filter: drop-shadow(0 0 80px rgba(0, 201, 167, 1)) 
                drop-shadow(0 0 120px rgba(0, 255, 200, 0.8));
        transform: scale(1.08);
    }
    82% {
        filter: drop-shadow(0 0 60px rgba(0, 201, 167, 0.7));
        transform: scale(1.02);
    }
    90%, 100% {
        filter: drop-shadow(0 0 20px rgba(0, 201, 167, 0.3));
        transform: scale(1);
    }
}

/* Shockwave Ring */
.shockwave {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(0, 201, 167, 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    animation: shockwave-expand 12s ease-out infinite;
}
@keyframes shockwave-expand {
    0%, 77% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    78% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }
    85% {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0.3;
    }
    90%, 100% {
        transform: translate(-50%, -50%) scale(5);
        opacity: 0;
    }
}

/* LAYER 4: Content */
.layer-4 {
    z-index: 6;
}

/* LAYER 5: Navigation — Glasmorph blur 10px opacity 0.01 */
.layer-5.nav-glass {
    z-index: 10;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: auto;
    padding: 20px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.01);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.03);
    pointer-events: auto;
}
.nav-link {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: rgba(255,255,255,0.9);
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 6px;
    color: rgba(255,255,255,0.8);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Download Button — Glasmorph */
.nav-btn-glass {
    padding: 12px 28px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.nav-btn-glass:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.15);
    color: #fff;
}
/* ═══════════════════════════════════════════════════════════════
   SCROLL INDICATOR — Animated Arrow
   ═══════════════════════════════════════════════════════════════ */
.scroll-indicator {
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    cursor: pointer;
    transition: opacity 0.5s ease;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid rgba(255,255,255,0.5);
    border-bottom: 2px solid rgba(255,255,255,0.5);
    transform: rotate(45deg);
    animation: arrow-bounce 2s ease-in-out infinite;
}

@keyframes arrow-bounce {
    0%, 100% {
        transform: rotate(45deg) translateY(0);
        opacity: 0.5;
    }
    50% {
        transform: rotate(45deg) translateY(10px);
        opacity: 1;
    }
}
/* ═══════════════════════════════════════════════════════════════
   TIMELINE BAR — Glasmorph Full-Width Center
   ═══════════════════════════════════════════════════════════════ */
.timeline-bar {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 900px;
    max-width: 92%;
    height: auto;
    min-height: 480px;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.01);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    z-index: 12;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.timeline-bar.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Timeline Content Container */
.timeline-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Individual Timeline Item — Neu mit Icon + Content */
.timeline-item {
    position: absolute;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.timeline-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* Icon Container — 150px SVG Meisterwerke */
.timeline-icon {
    width: 150px;
    height: 150px;
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-icon svg {
    width: 150px;
    height: 150px;
}

/* Text Content */
.timeline-text-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    max-width: 550px;
    text-align: left;
}
.timeline-year {
    font-size: 48px;
    font-weight: 800;
    color: rgba(255,255,255,0.9);
    letter-spacing: 4px;
}

.timeline-text {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
    letter-spacing: 2px;
}

/* Timeline Item — Cool Darstellung */
.timeline-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(0,201,167,0.9);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.timeline-title {
    font-size: 28px;
    font-weight: 200;
    color: rgba(255,255,255,0.95);
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.3;
}

.timeline-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.5px;
    line-height: 1.7;
}
/* Download Button — nur Rahmen, kein Hintergrund */
.timeline-download-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 40px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 8px;
    background: transparent;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.timeline-download-btn:hover {
    border-color: rgba(0,201,167,0.8);
    color: #00c9a7;
    box-shadow: 0 0 20px rgba(0,201,167,0.2);
}

/* Payment Buttons */
.timeline-payment-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
    pointer-events: auto;
}

.timeline-pay-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    background: transparent;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: auto;
}
.timeline-pay-btn .pay-icon {
    font-size: 18px;
    font-weight: 700;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
}

.timeline-pay-btn .pay-text {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.9);
}

/* PayPal */
.timeline-pay-btn.paypal {
    border-color: rgba(0,48,135,0.5);
}
.timeline-pay-btn.paypal .pay-icon {
    background: rgba(0,48,135,0.3);
    color: #0070ba;
}
.timeline-pay-btn.paypal:hover {
    border-color: #0070ba;
    box-shadow: 0 0 20px rgba(0,112,186,0.3);
}

/* PostFinance */
.timeline-pay-btn.postfinance {
    border-color: rgba(255,204,0,0.4);
}
.timeline-pay-btn.postfinance .pay-icon {
    background: rgba(255,204,0,0.2);
    color: #ffcc00;
    font-size: 12px;
}
.timeline-pay-btn.postfinance:hover {
    border-color: #ffcc00;
    box-shadow: 0 0 20px rgba(255,204,0,0.3);
}

/* Crypto */
.timeline-pay-btn.crypto {
    border-color: rgba(247,147,26,0.4);
}
.timeline-pay-btn.crypto .pay-icon {
    background: rgba(247,147,26,0.2);
    color: #f7931a;
}
.timeline-pay-btn.crypto:hover {
    border-color: #f7931a;
    box-shadow: 0 0 20px rgba(247,147,26,0.3);
}

/* ═══════════════════════════════════════════════════════════════
   LANGUAGE GLOBE BUTTON
   ═══════════════════════════════════════════════════════════════ */

.nav-lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255,255,255,0.7);
}

.nav-lang-btn:hover {
    border-color: rgba(0,201,167,0.6);
    color: #00c9a7;
    box-shadow: 0 0 15px rgba(0,201,167,0.2);
}

.nav-globe {
    width: 20px;
    height: 20px;
}

/* ═══════════════════════════════════════════════════════════════
   LANGUAGE OVERLAY — Glasmorph blur 30px 0.01
   ═══════════════════════════════════════════════════════════════ */

.lang-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    pointer-events: none;
}

.lang-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lang-overlay-panel {
    position: relative;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    background: rgba(255,255,255,0.01);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 30px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.lang-overlay.active .lang-overlay-panel {
    transform: translateY(0);
}

.lang-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.lang-overlay-title {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
}

.lang-overlay-close {
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: rgba(255,255,255,0.6);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-overlay-close:hover {
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}

/* Language Grid */
.lang-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

/* Language Card — Glasmorph with animated flag */
.lang-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 15px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-card:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(0,201,167,0.4);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.lang-card.active {
    border-color: rgba(0,201,167,0.8);
    box-shadow: 0 0 20px rgba(0,201,167,0.2);
}

.lang-card-flag {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-card-flag svg {
    width: 40px;
    height: 40px;
    opacity: 0.9;
}

.lang-card-name {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.5px;
}

.lang-card-code {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* RTL indicator — positioned on Arabic card */
.lang-card[data-rtl="true"]::after {
    content: 'RTL';
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 8px;
    padding: 2px 5px;
    background: rgba(255,170,0,0.2);
    border-radius: 4px;
    color: #ffaa00;
}

/* ═══════════════════════════════════════════════════════════════
   PHONE PORTRAIT — max-width 768px + orientation portrait
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) and (orientation: portrait) {

    /* NAV — kompakter */
    .layer-5.nav-glass {
        padding: 15px 20px;
    }
    .nav-logo {
        font-size: 20px;
        letter-spacing: 4px;
    }
    .nav-link {
        font-size: 13px;
    }
    .nav-right {
        gap: 15px;
    }

    /* SHIELD — Zeus auf scale 1 */
    .layer-2 .shield-3d {
        /* scale wird durch shield-defend Animation gesteuert — kein !important! */
    }
    .layer-2 .shield-explosion-pulse {
        animation: shield-defend-phone 12s ease-in-out infinite !important;
    }

    /* TIMELINE BAR — FULLWIDTH! */
    .timeline-bar {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 800px;
        padding: 30px 25px;
        border-radius: 0;
        left: 0;
        transform: translateX(0) translateY(-50%);
    }

    /* TIMELINE ITEM — Column statt Row! SVG oben, Text unten */
    .timeline-item {
        flex-direction: column;
        gap: 25px;
        padding: 20px 15px;
        text-align: center;
    }

    /* ICON — 200px, zentriert */
    .timeline-icon {
        width: 200px;
        height: 200px;
        min-width: 200px;
    }
    .timeline-icon svg {
        width: 200px;
        height: 200px;
    }

    /* TEXT — zentriert, größer */
    .timeline-text-wrap {
        align-items: center;
        text-align: center;
        max-width: 100%;
        margin-top: -20px;
    }
    .timeline-label {
        font-size: 12px;
        letter-spacing: 3px;
    }
    .timeline-title {
        font-size: 24px;
        letter-spacing: 1px;
    }
    .timeline-subtitle {
        font-size: 15px;
        line-height: 1.7;
    }

    /* PAYMENT BUTTONS — nur Icon, kein Text */
    .timeline-payment-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 10px;
        margin-top: 0;
    }
    .timeline-pay-btn {
        width: auto;
        justify-content: center;
        padding: 14px;
    }
    .timeline-pay-btn .pay-text {
        display: none;
    }
    .timeline-pay-btn .pay-icon {
        margin: 0;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    /* SCROLL INDICATOR */
    .scroll-indicator {
        bottom: 40px;
    }
    .scroll-arrow {
        width: 26px;
        height: 26px;
    }

    /* LANGUAGE OVERLAY */
    .lang-overlay-panel {
        width: 95%;
        padding: 25px;
        border-radius: 16px;
    }
    .lang-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .lang-card {
        padding: 18px 12px;
    }
    .lang-card-flag {
        width: 45px;
        height: 45px;
    }
    .lang-card-flag svg {
        width: 36px;
        height: 36px;
    }
    .lang-card-name {
        font-size: 13px;
    }

    /* SCROLLBALKEN für lange Texte */
    .timeline-text-wrap {
        max-height: 350px;
        overflow-y: auto;
    }
    .timeline-text-wrap::-webkit-scrollbar {
        width: 4px;
    }
    .timeline-text-wrap::-webkit-scrollbar-track {
        background: rgba(255,255,255,0.05);
        border-radius: 2px;
    }
    .timeline-text-wrap::-webkit-scrollbar-thumb {
        background: rgba(0,201,167,0.4);
        border-radius: 2px;
    }

}

/* ═══════════════════════════════════════════════════════════════
   PHONE LANDSCAPE — .aegis-landscape Klasse (via JavaScript)
   ═══════════════════════════════════════════════════════════════ */

/* NAV — kompakter */
body.aegis-landscape .layer-5.nav-glass { padding: 10px 20px; }
body.aegis-landscape .nav-logo { font-size: 16px; letter-spacing: 3px; }
body.aegis-landscape .nav-link { font-size: 11px; }

/* SHIELD — Scale für Landscape */
body.aegis-landscape .layer-2 .shield-3d { transform: scale(0.6) !important; }
body.aegis-landscape .layer-2 .shield-explosion-pulse { animation: shield-defend-landscape 12s ease-in-out infinite !important; }

/* TIMELINE BAR — Landscape optimiert */
body.aegis-landscape .timeline-bar { width: 95%; max-width: 95%; min-height: auto; height: 80vh; padding: 15px 25px; border-radius: 12px; }

/* TIMELINE ITEM — Row Layout für Landscape! SVG links, Text rechts */
body.aegis-landscape .timeline-item { flex-direction: row; gap: 25px; padding: 10px 15px; text-align: left; }

/* ICON — 150px für Landscape */
body.aegis-landscape .timeline-icon { width: 150px; height: 150px; min-width: 150px; }
body.aegis-landscape .timeline-icon svg { width: 150px; height: 150px; }

/* TEXT — links, mit Scrollbalken */
body.aegis-landscape .timeline-text-wrap { align-items: flex-start; text-align: left; max-width: calc(100% - 100px); max-height: 55vh; overflow-y: auto; }
body.aegis-landscape .timeline-label { font-size: 14px; }
body.aegis-landscape .timeline-title { font-size: 18px; }
body.aegis-landscape .timeline-subtitle { font-size: 18px; line-height: 1.5; }

/* PAYMENT BUTTONS — nebeneinander, mit Text */
body.aegis-landscape .timeline-payment-buttons { flex-direction: row; gap: 8px; margin-top: 10px; }
body.aegis-landscape .timeline-pay-btn { padding: 10px 14px; }
body.aegis-landscape .timeline-pay-btn .pay-text { display: inline !important; font-size: 16px !important; }
body.aegis-landscape .timeline-pay-btn .pay-icon { width: 26px; height: 26px; font-size: 16px; }

/* SCROLL INDICATOR */
body.aegis-landscape .scroll-indicator { bottom: 20px; }
body.aegis-landscape .scroll-arrow { width: 20px; height: 20px; }

/* LANGUAGE OVERLAY */
body.aegis-landscape .lang-overlay-panel { width: 90%; max-height: 85vh; padding: 15px; }
body.aegis-landscape .lang-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
body.aegis-landscape .lang-card { padding: 10px 8px; }
body.aegis-landscape .lang-card-flag svg { width: 28px; height: 28px; }
body.aegis-landscape .lang-card-name { font-size: 11px; }

/* Scrollbalken Styling */
body.aegis-landscape .timeline-text-wrap::-webkit-scrollbar { width: 4px; }
body.aegis-landscape .timeline-text-wrap::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 2px; }
body.aegis-landscape .timeline-text-wrap::-webkit-scrollbar-thumb { background: rgba(0,201,167,0.4); border-radius: 2px; }

/* ═══════════════════════════════════════════════════════════════
   MOBILE SHIELD ANIMATION — Zeus Killer Scale 1.5
   ═══════════════════════════════════════════════════════════════ */
@keyframes shield-defend-mobile {
    0%, 74% {
        filter: drop-shadow(0 0 20px rgba(0, 201, 167, 0.3));
        transform: scale(1.5);
    }
    75% {
        filter: drop-shadow(0 0 30px rgba(0, 201, 167, 0.5));
        transform: scale(1.47);
    }
    78% {
        filter: drop-shadow(0 0 80px rgba(0, 201, 167, 1)) 
                drop-shadow(0 0 120px rgba(0, 255, 200, 0.8));
        transform: scale(1.62);
    }
    82% {
        filter: drop-shadow(0 0 60px rgba(0, 201, 167, 0.7));
        transform: scale(1.53);
    }
    90%, 100% {
        filter: drop-shadow(0 0 20px rgba(0, 201, 167, 0.3));
        transform: scale(1.5);
    }
}

/* Phone Portrait Shield Animation — STARKER POP */
@keyframes shield-defend-phone {
    0%, 72% {
        filter: drop-shadow(0 0 30px rgba(0, 201, 167, 0.5));
        transform: scale(1);
    }
    74% {
        filter: drop-shadow(0 0 50px rgba(0, 201, 167, 0.7));
        transform: scale(0.92);
    }
    78% {
        filter: drop-shadow(0 0 120px rgba(0, 201, 167, 1)) 
                drop-shadow(0 0 180px rgba(0, 255, 200, 1));
        transform: scale(1.3);
    }
    83% {
        filter: drop-shadow(0 0 80px rgba(0, 201, 167, 0.8));
        transform: scale(1.05);
    }
    90%, 100% {
        filter: drop-shadow(0 0 30px rgba(0, 201, 167, 0.5));
        transform: scale(1);
    }
}

/* Landscape Shield Animation — kleiner scale(0.6) */
@keyframes shield-defend-landscape {
    0%, 74% {
        filter: drop-shadow(0 0 15px rgba(0, 201, 167, 0.3));
        transform: scale(0.6);
    }
    75% {
        filter: drop-shadow(0 0 20px rgba(0, 201, 167, 0.5));
        transform: scale(0.58);
    }
    78% {
        filter: drop-shadow(0 0 50px rgba(0, 201, 167, 1)) 
                drop-shadow(0 0 80px rgba(0, 255, 200, 0.8));
        transform: scale(0.65);
    }
    82% {
        filter: drop-shadow(0 0 40px rgba(0, 201, 167, 0.7));
        transform: scale(0.61);
    }
    90%, 100% {
        filter: drop-shadow(0 0 15px rgba(0, 201, 167, 0.3));
        transform: scale(0.6);
    }
}

/* ═══════════════════════════════════════════════════════════════
   DOWNLOAD OVERLAY — Platform Selection
   Glasmorph blur 30px, rgba 0.1
   ═══════════════════════════════════════════════════════════════ */

.aegis-download-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    background: rgba(0, 0, 0, 0.6);
}

.aegis-download-overlay.active {
    opacity: 1;
    visibility: visible;
}

.aegis-download-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 40px;
    width: 95%;
    max-width: 680px;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.aegis-download-overlay.active .aegis-download-panel {
    transform: translateY(0);
}

.aegis-download-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s;
}

.aegis-download-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.aegis-download-header {
    text-align: center;
    margin-bottom: 32px;
}

.aegis-download-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}

.aegis-download-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 0;
}

/* Platform Grid — 2x2 */
.aegis-download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.aegis-download-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 28px 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.aegis-download-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 201, 167, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.aegis-download-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aegis-download-card-icon svg {
    width: 56px;
    height: 56px;
}

.aegis-download-card-name {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.aegis-download-card-detail {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    text-align: center;
    line-height: 1.4;
}

/* Responsive — Mobile 1 column */
@media (max-width: 520px) {
    .aegis-download-grid {
        grid-template-columns: 1fr;
    }
    .aegis-download-panel {
        padding: 28px 20px;
    }
}
