/* Shared Fonts */
@font-face {
    font-family: 'DINNext';
    src: url('../fonts/DINNextW1G-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DINNext';
    src: url('../fonts/DINNextW1G-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DINNext';
    src: url('../fonts/DINNextW1G-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DINNext';
    src: url('../fonts/DINNextW1G-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Global Styles */
body {
    font-family: 'DINNext', ui-sans-serif, system-ui, sans-serif;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

/* Reusable Components */

/* Navigation Components */
.nav-blur-left {
    backdrop-filter: blur(20px);
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
}

.nav-blur-right {
    backdrop-filter: blur(20px);
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Breathing Animation */
.breathing-gradient {
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 50%, transparent 100%);
    animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { transform: scale(0.97); opacity: 0.8; }
    50% { transform: scale(1.03); opacity: 1; }
}

/* Text Effects */
.glowing-text {
    background: linear-gradient(135deg, #3b82f6, #60a5fa, #93c5fd);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5), 0 0 40px rgba(59, 130, 246, 0.3);
    animation: glow-pulse 3s ease-in-out infinite;
}

.glowing-text-fire {
    background: linear-gradient(135deg, #f97316, #fb923c, #fbbf24);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(249, 115, 22, 0.6), 0 0 40px rgba(249, 115, 22, 0.4);
    animation: fire-pulse 2.5s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        text-shadow: 0 0 20px rgba(59, 130, 246, 0.5), 0 0 40px rgba(59, 130, 246, 0.3);
    }
    50% {
        text-shadow: 0 0 30px rgba(59, 130, 246, 0.8), 0 0 60px rgba(59, 130, 246, 0.5), 0 0 80px rgba(59, 130, 246, 0.3);
    }
}

@keyframes fire-pulse {
    0%, 100% {
        text-shadow: 0 0 20px rgba(249, 115, 22, 0.6), 0 0 40px rgba(249, 115, 22, 0.4);
    }
    50% {
        text-shadow: 0 0 35px rgba(249, 115, 22, 0.9), 0 0 70px rgba(249, 115, 22, 0.6), 0 0 100px rgba(251, 146, 60, 0.4);
    }
}

/* AI Components */
.ai-glow-border {
    position: relative;
}

.ai-glow-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    padding: 2px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6, #06b6d4, #3b82f6);
    background-size: 400% 400%;
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: ai-glow 3s ease-in-out infinite;
}

@keyframes ai-glow {
    0%, 100% {
        background-position: 0% 50%;
        opacity: 0.4;
    }
    50% {
        background-position: 100% 50%;
        opacity: 0.8;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    z-index: 1000;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    pointer-events: none;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.cookie-banner.hide {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.cookie-banner-content {
    backdrop-filter: blur(20px);
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cookie-banner-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.cookie-banner-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.cookie-banner-text h3 {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.cookie-banner-text p {
    color: rgb(186, 194, 200);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.4;
}

.cookie-banner-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px;
}

.cookie-btn-primary {
    background: #3b82f6;
    color: white;
}

.cookie-btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.cookie-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: rgb(186, 194, 200);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-1px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-banner {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
    }

    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem;
    }

    .cookie-banner-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .cookie-banner-buttons {
        width: 100%;
        justify-content: flex-end;
    }

    .cookie-btn {
        flex: 1;
        max-width: 100px;
    }
}

/* Download Buttons */
.download-btn {
    height: 3rem; /* 48px */
    width: 9rem; /* 144px */
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.download-btn:hover {
    opacity: 0.8;
}
