/* Download Page Styles */

/* Alpine.js cloak */
[x-cloak] {
    display: none !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Header Styles */
#header {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 12px -1px rgba(0, 0, 0, 0.1);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -5px rgba(59, 130, 246, 0.4);
}

/* Card Hover */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Mobile Menu */
@media (max-width: 1024px) {
    .navbar-center {
        display: none;
    }
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    h2 {
        font-size: 2rem;
        line-height: 1.3;
    }
}

/* Icon Sizing */
[data-lucide] {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: middle;
    stroke-width: 2;
}

[data-lucide].w-4 { width: 1rem; height: 1rem; }
[data-lucide].w-5 { width: 1.25rem; height: 1.25rem; }
[data-lucide].w-6 { width: 1.5rem; height: 1.5rem; }
[data-lucide].w-8 { width: 2rem; height: 2rem; }
[data-lucide].w-10 { width: 2.5rem; height: 2.5rem; }

[data-lucide]:not(.lucide) { opacity: 0; }
[data-lucide].lucide { opacity: 1; transition: opacity 0.2s ease-in-out; }

/* Footer Link Hover */
footer a { position: relative; }
footer a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}
footer a:hover::after { width: 100%; }

/* Focus States */
a:focus, button:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Badge Styles */
.badge-success {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    border: none;
}
.badge-warning {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
    border: none;
}

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

/* Print */
@media print {
    header, footer, .btn, .dropdown { display: none; }
    section { page-break-inside: avoid; }
}
