/* ===================================
   KIQSK KI AKADEMIE - Landing Page
   Farbpalette: Lila-basiert
   =================================== */

:root {
    /* Primärfarben basierend auf dem Logo */
    --primary-purple: #8B1D7F;
    --light-purple: #A855F7;
    --dark-purple: #6B1562;
    --accent-pink: #D946EF;
    --white: #FFFFFF;
    --gray-light: #F3F4F6;
    --gray-medium: #9CA3AF;
    --black: #000000;
    
    /* Gradient */
    --gradient-primary: linear-gradient(135deg, #8B1D7F 0%, #D946EF 100%);
    --gradient-secondary: linear-gradient(135deg, #6B1562 0%, #A855F7 100%);
}

/* ===================================
   RESET & GRUNDEINSTELLUNGEN
   =================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #1a0f1a 0%, #2d1b3d 50%, #1a0f1a 100%);
    color: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ===================================
   ANIMIERTER HINTERGRUND - WebGL Shader
   =================================== */

#shaderCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
    z-index: 2;
    pointer-events: none;
    animation: pulse-overlay 8s ease-in-out infinite;
}

@keyframes pulse-overlay {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
}

/* ===================================
   MAIN CONTENT
   =================================== */

.main-content {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 120px;
}

.container {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    position: relative;
}

/* ===================================
   LOGO
   =================================== */

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 60px;
    animation: fadeInDown 1s ease-out;
}

.logo {
    width: 100%;
    max-width: 500px;
    height: auto;
    position: relative;
    z-index: 2;
    animation: float-logo 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 40px rgba(139, 29, 127, 0.5));
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, transparent 70%);
    animation: pulse-glow 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes float-logo {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   TEXT
   =================================== */

.text-container {
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.main-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
}

.title-line {
    display: block;
    font-weight: 400;
    color: var(--gray-light);
    margin-bottom: 10px;
    animation: fadeIn 1s ease-out 0.5s backwards;
}

.title-highlight {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    animation: shine 3s ease-in-out infinite;
    text-shadow: 0 0 80px rgba(168, 85, 247, 0.5);
}

@keyframes shine {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.pulse-icon {
    color: var(--accent-pink);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* ===================================
   COMING SOON BADGE
   =================================== */

.coming-soon-badge {
    display: inline-block;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.badge-content {
    background: var(--gradient-primary);
    padding: 12px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 10px 40px rgba(139, 29, 127, 0.4);
    animation: badge-glow 2s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 10px 40px rgba(139, 29, 127, 0.4); }
    50% { box-shadow: 0 10px 60px rgba(217, 70, 239, 0.6); }
}

/* ===================================
   COUNTDOWN TIMER
   =================================== */

.countdown-section {
    margin: 50px 0;
    animation: fadeInUp 1s ease-out 0.7s backwards;
}

.countdown-title {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--light-purple);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 600;
}

.countdown-title i {
    animation: pulse 2s ease-in-out infinite;
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.countdown-item {
    background: rgba(139, 29, 127, 0.2);
    border: 2px solid var(--light-purple);
    border-radius: 15px;
    padding: 20px;
    min-width: 100px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(139, 29, 127, 0.3);
    transition: all 0.3s ease;
    animation: countdown-pulse 2s ease-in-out infinite;
}

.countdown-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(217, 70, 239, 0.5);
    border-color: var(--accent-pink);
}

@keyframes countdown-pulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(139, 29, 127, 0.3);
    }
    50% {
        box-shadow: 0 10px 40px rgba(217, 70, 239, 0.5);
    }
}

.countdown-value {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
    font-variant-numeric: tabular-nums;
    animation: number-glow 2s ease-in-out infinite;
}

@keyframes number-glow {
    0%, 100% {
        filter: brightness(1);
        text-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
    }
    50% {
        filter: brightness(1.3);
        text-shadow: 0 0 30px rgba(217, 70, 239, 0.7);
    }
}

.countdown-label {
    font-size: clamp(0.75rem, 1.5vw, 0.95rem);
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.countdown-separator {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--accent-pink);
    font-weight: 700;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 49%, 100% {
        opacity: 1;
    }
    50%, 99% {
        opacity: 0.3;
    }
}

.launch-date {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(217, 70, 239, 0.1);
    border: 1px solid var(--accent-pink);
    padding: 12px 25px;
    border-radius: 30px;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 600;
    color: var(--white);
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 20px rgba(217, 70, 239, 0.2);
}

.launch-date i {
    color: var(--accent-pink);
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-15deg);
    }
    75% {
        transform: rotate(15deg);
    }
}

/* ===================================
   CTA BUTTON
   =================================== */

.cta-container {
    animation: fadeInUp 1s ease-out 0.9s backwards;
}

.cta-button {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(139, 29, 127, 0.4);
    font-family: 'Inter', sans-serif;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(217, 70, 239, 0.6);
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* ===================================
   FLOATING ICONS
   =================================== */

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.icon-item {
    position: absolute;
    font-size: 2rem;
    color: var(--light-purple);
    opacity: 0.3;
    animation: float-icon 8s ease-in-out infinite;
    animation-delay: var(--delay);
}

.icon-item:nth-child(1) { top: 10%; left: 10%; }
.icon-item:nth-child(2) { top: 20%; right: 15%; }
.icon-item:nth-child(3) { bottom: 30%; left: 15%; }
.icon-item:nth-child(4) { bottom: 20%; right: 10%; }

@keyframes float-icon {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 20px;
    z-index: 100;
    border-top: 1px solid rgba(168, 85, 247, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-text {
    margin-bottom: 8px;
}

.impressum-link {
    color: var(--light-purple);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.impressum-link:hover {
    color: var(--accent-pink);
    transform: translateX(3px);
}

.copyright {
    font-size: 0.85rem;
    color: var(--gray-medium);
}

/* ===================================
   MODAL
   =================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: linear-gradient(135deg, #2d1b3d 0%, #1a0f1a 100%);
    margin: 10% auto;
    padding: 40px;
    border: 2px solid var(--light-purple);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 60px rgba(139, 29, 127, 0.5);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: var(--gray-light);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: var(--accent-pink);
}

.modal-content h2 {
    color: var(--light-purple);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-content p {
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.modal-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.modal-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(217, 70, 239, 0.5);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
    .logo {
        max-width: 350px;
    }
    
    .floating-icons {
        display: none;
    }
    
    .subtitle {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-content {
        padding: 30px 20px;
        margin: 20% auto;
    }
    
    .footer {
        padding: 15px 10px;
    }
    
    .countdown-container {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 15px;
    }
    
    .countdown-separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 280px;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .badge-content {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 12px 8px;
    }
    
    .countdown-value {
        font-size: 2rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
    
    .launch-date {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}
