/* ═══════════════════════════════════════ */
/* CUSTOM ANIMATIONS                       */
/* ═══════════════════════════════════════ */

html {
    background: #0a1929;
    scroll-padding-top: 7rem;
}

body {
    background: #0a1929;
}

@media (min-width: 768px) {
    html {
        scroll-padding-top: 9rem;
    }
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid #67e8f9;
    outline-offset: 4px;
}

.site-logo {
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.22));
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(6, 182, 212, 0.3); }
    50% { box-shadow: 0 0 40px rgba(6, 182, 212, 0.6); }
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ═══════════════════════════════════════ */
/* ANIMATION CLASSES                       */
/* ═══════════════════════════════════════ */

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}
.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
}
.animate-slide-left {
    animation: slideInLeft 0.8s ease-out forwards;
    opacity: 0;
}
.animate-slide-right {
    animation: slideInRight 0.8s ease-out forwards;
    opacity: 0;
}
.animate-float {
    animation: float 6s ease-in-out infinite;
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }

/* ═══════════════════════════════════════ */
/* HERO                                    */
/* ═══════════════════════════════════════ */

.hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(10, 25, 41, 0.92) 0%,
        rgba(16, 42, 67, 0.80) 40%,
        rgba(6, 182, 212, 0.15) 100%
    );
}

/* ═══════════════════════════════════════ */
/* GLASSMORPHISM CARD                      */
/* ═══════════════════════════════════════ */

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ═══════════════════════════════════════ */
/* PRODUCT CARDS                           */
/* ═══════════════════════════════════════ */

.product-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(6, 182, 212, 0.15);
}
.product-card:hover .product-img {
    transform: scale(1.05);
}
.product-img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════ */
/* STATS SHIMMER                           */
/* ═══════════════════════════════════════ */

.stat-shimmer {
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.08), transparent);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

/* ═══════════════════════════════════════ */
/* CTA BUTTON GLOW                         */
/* ═══════════════════════════════════════ */

.cta-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}

/* ═══════════════════════════════════════ */
/* CUSTOM SCROLLBAR                        */
/* ═══════════════════════════════════════ */

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a1929; }
::-webkit-scrollbar-thumb { background: #334e68; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #486581; }

/* ═══════════════════════════════════════ */
/* SCROLL REVEAL ANIMATIONS                */
/* ═══════════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════ */
/* NAVIGATION                              */
/* ═══════════════════════════════════════ */

.nav-scrolled,
.nav-menu-open {
    background: rgba(10, 25, 41, 0.94) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

/* ═══════════════════════════════════════ */
/* CONTACT ICONS                           */
/* ═══════════════════════════════════════ */

.contact-icon {
    transition: all 0.3s ease;
}
.contact-icon:hover {
    transform: translateY(-3px);
}

/* ═══════════════════════════════════════ */
/* SECTION DIVIDER                         */
/* ═══════════════════════════════════════ */

.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #06b6d4, #22d3ee);
    border-radius: 2px;
}

.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 60;
}

.cookie-banner__content {
    max-width: 64rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem;
    color: #d9e2ec;
    background: rgba(10, 25, 41, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    box-shadow: 0 24px 80px rgba(10, 25, 41, 0.35);
    backdrop-filter: blur(18px);
}

.cookie-banner__title {
    margin-bottom: 0.35rem;
    font-family: Outfit, system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.cookie-banner__text {
    max-width: 42rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #bcccdc;
}

.cookie-banner__actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.75rem;
}

.cookie-banner__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #67e8f9;
    transition: color 0.2s ease;
}

.cookie-banner__link:hover {
    color: #22d3ee;
}

.cookie-banner__button {
    min-height: 2.75rem;
    padding: 0 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
    background: #06b6d4;
    transition: background 0.2s ease, transform 0.2s ease;
}

.cookie-banner__button:hover {
    background: #0891b2;
    transform: translateY(-1px);
}

.cookie-banner__button--ghost {
    color: #d9e2ec;
    background: rgba(255, 255, 255, 0.08);
}

.cookie-banner__button--ghost:hover {
    background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 767px) {
    .cookie-banner {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .cookie-banner__content {
        align-items: stretch;
        flex-direction: column;
    }

    .cookie-banner__actions {
        flex-wrap: wrap;
        justify-content: stretch;
    }

    .cookie-banner__link,
    .cookie-banner__button {
        flex: 1 1 auto;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
