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

/* Accessibility: Screen reader only content */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html {
    overflow-x: hidden;
    overflow-y: auto;
    max-width: 100vw;
    width: 100%;
    background: #0a0a0a;
    /* Hide scrollbar for all browsers */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

body {
    font-family: 'Century Gothic', 'CenturyGothic', 'AppleGothic', 'Avant Garde', 'Futura', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    /* Dynamic viewport height for mobile */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    max-width: 100vw;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 100vw;
    min-height: 100dvh;
    /* Dynamic viewport height for mobile */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 2rem 1rem;
    padding-bottom: 5rem;
    /* Space for footer */
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    overflow-y: visible;
    /* Allow glow effects to show */
}

.logo-wrapper {
    position: relative;
    animation: fadeInUp 1.5s ease-out;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.1));
    -webkit-filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.1));
    transition: transform 0.3s ease, filter 0.3s ease, -webkit-filter 0.3s ease;
    max-width: 100%;
    width: auto;
    margin: 0 auto;
    overflow: visible;
    /* Changed from hidden to allow glow effect to show */
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform, filter;
    /* Safari fix: create new stacking context to maintain filter state */
    isolation: isolate;
    -webkit-isolation: isolate;
    /* Force Safari to create a new rendering layer */
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

.logo-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    /* Remove tap highlight on mobile */
    touch-action: manipulation;
    /* Improve touch responsiveness */
    /* Prevent Safari from affecting child filter */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.logo-link:hover {
    transform: translateZ(0) scale(1);
    -webkit-transform: translateZ(0) scale(1);
}

.logo-link:active {
    transform: translateZ(0) scale(0.98);
    -webkit-transform: translateZ(0) scale(0.98);
}

.logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
    /* Keep filter static - never change it on hover to prevent Safari issues */
    filter: brightness(0) invert(1) !important;
    -webkit-filter: brightness(0) invert(1) !important;
    animation: logoGlow 3s ease-in-out infinite;
    /* Remove all transitions - Safari recalculates filters on any transition */
    transition: none !important;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    /* Safari-specific fix to prevent color changes on hover */
    -webkit-font-smoothing: antialiased;
    image-rendering: -webkit-optimize-contrast;
    /* Force Safari to maintain filter state - create isolated rendering layer */
    isolation: isolate;
    -webkit-isolation: isolate;
    /* Prevent Safari from recalculating filter */
    will-change: auto;
    /* Force hardware acceleration and separate rendering layer */
    -webkit-perspective: 1000px;
    perspective: 1000px;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

/* Light mode adjustments for logo */
@media (prefers-color-scheme: light) {
    .logo {
        filter: brightness(0) invert(0) !important;
        -webkit-filter: brightness(0) invert(0) !important;
    }

    .logo-wrapper:hover .logo,
    .logo-link:hover .logo,
    .logo-wrapper:hover .logo-link .logo {
        filter: brightness(0) invert(0) !important;
        -webkit-filter: brightness(0) invert(0) !important;
    }

    .logo-wrapper {
        filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.1));
        -webkit-filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.1));
    }
}

/* Remove hover filter change on logo - apply glow via wrapper instead */
.logo-wrapper:hover .logo,
.logo-link:hover .logo,
.logo-wrapper:hover .logo-link .logo {
    /* Keep filter exactly the same - no changes, use !important to override any inherited styles */
    filter: brightness(0) invert(1) !important;
    -webkit-filter: brightness(0) invert(1) !important;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoGlow {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.9;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem 1rem;
        padding-bottom: 5rem;
    }

    .logo {
        max-width: 280px;
    }

    .logo-wrapper {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.08));
        -webkit-filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.08));
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem 0.75rem;
        padding-bottom: 4.5rem;
    }

    .logo {
        max-width: 220px;
    }

    .logo-wrapper {
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.06));
        -webkit-filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.06));
    }
}

@media (max-width: 360px) {
    .logo {
        max-width: 180px;
    }
}

/* Subtle pulse effect on the container */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.logo-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    /* Increased to allow glow to extend beyond logo */
    height: 150%;
    /* Increased to allow glow to extend beyond logo */
    max-width: none;
    /* Remove max-width constraint */
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
    overflow: visible;
    /* Allow glow to extend */
}

/* Social Links */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.social-button svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.social-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.social-button:hover svg {
    transform: scale(1.1);
}

.social-button:active {
    transform: translateY(0);
}

@media (prefers-color-scheme: light) {
    .social-button {
        background: rgba(0, 0, 0, 0.03);
        border-color: rgba(0, 0, 0, 0.1);
        color: rgba(0, 0, 0, 0.7);
    }

    .social-button:hover {
        background: rgba(0, 0, 0, 0.08);
        border-color: rgba(0, 0, 0, 0.2);
        color: rgba(0, 0, 0, 1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }
}

@media (max-width: 768px) {
    .social-links {
        max-width: 500px;
        gap: 0.75rem;
        margin-top: 2rem;
        padding: 0 0.75rem;
    }

    .social-button {
        width: 44px;
        height: 44px;
    }

    .social-button svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .social-links {
        max-width: 100%;
        gap: 0.6rem;
        margin-top: 1.5rem;
        padding: 0 0.5rem;
    }

    .social-button {
        width: 40px;
        height: 40px;
    }

    .social-button svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 360px) {
    .social-links {
        max-width: 100%;
        gap: 0.5rem;
        margin-top: 1.25rem;
        padding: 0 0.5rem;
    }

    .social-button {
        width: 36px;
        height: 36px;
    }

    .social-button svg {
        width: 16px;
        height: 16px;
    }
}

/* Button Group */
.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Call-to-Action Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0;
    padding: 1rem 2.5rem;
    border-radius: 5px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Century Gothic', 'CenturyGothic', 'AppleGothic', 'Avant Garde', 'Futura', sans-serif;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cta-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-icon {
    transform: scale(1.1);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

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

@media (prefers-color-scheme: light) {
    .cta-button {
        background: rgba(0, 0, 0, 0.05);
        border-color: rgba(0, 0, 0, 0.2);
        color: rgba(0, 0, 0, 0.9);
    }

    .cta-button:hover {
        background: rgba(0, 0, 0, 0.1);
        border-color: rgba(0, 0, 0, 0.3);
        color: rgba(0, 0, 0, 1);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 768px) {
    .cta-button {
        font-size: 1rem;
        padding: 0.9rem 2rem;
        margin-top: 1.5rem;
    }
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    padding: 1.5rem 2rem;
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
    /* Safe area for notched devices */
    text-align: center;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    backdrop-filter: blur(10px);
    overflow-x: hidden;
    box-sizing: border-box;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: lowercase;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0.25rem;
    /* Larger touch target */
    min-height: 44px;
    /* Minimum touch target size */
    display: flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.footer-link:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-link:active {
    color: rgba(255, 255, 255, 1);
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 0.25rem;
    right: 0.25rem;
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.6);
    transition: width 0.3s ease;
}

.footer-link:hover::after,
.footer-link:active::after {
    width: calc(100% - 0.5rem);
}

.footer-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    padding: 0 0.25rem;
}

@media (max-width: 768px) {
    .footer {
        padding: 1.25rem 1.5rem;
        padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1rem 1rem;
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
        gap: 0.5rem;
    }

    .footer-link {
        font-size: 0.85rem;
        padding: 0.5rem 0.5rem;
    }

    .footer-separator {
        font-size: 0.85rem;
    }
}

/* Light mode support */
@media (prefers-color-scheme: light) {
    html {
        background: #f5f5f5;
    }

    body {
        background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 50%, #fafafa 100%);
    }

    .logo-wrapper {
        filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.1));
        -webkit-filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.1));
    }

    .logo {
        filter: brightness(0) invert(0);
        /* Show logo in original dark color */
        -webkit-filter: brightness(0) invert(0);
    }

    .logo-wrapper:hover .logo {
        filter: brightness(0) invert(0) drop-shadow(0 0 20px rgba(0, 0, 0, 0.3));
        -webkit-filter: brightness(0) invert(0) drop-shadow(0 0 20px rgba(0, 0, 0, 0.3));
    }

    .footer-link {
        color: rgba(0, 0, 0, 0.6);
    }

    .footer-link:hover {
        color: rgba(0, 0, 0, 0.9);
    }

    .footer-link:active {
        color: rgba(0, 0, 0, 1);
    }

    .footer-link::after {
        background: rgba(0, 0, 0, 0.6);
    }

    .footer-separator {
        color: rgba(0, 0, 0, 0.3);
    }

    @media (max-width: 768px) {
        .logo-wrapper {
            filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.08));
            -webkit-filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.08));
        }
    }

    @media (max-width: 480px) {
        .logo-wrapper {
            filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.06));
            -webkit-filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.06));
        }
    }
}

/* Contact Form Modal */
.form-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.form-modal:target {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.form-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.form-container {
    position: relative;
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1001;
    animation: fadeInUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.form-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    line-height: 1;
    text-decoration: none;
    transition: color 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.form-close:hover {
    color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.1);
}

.form-title {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-transform: lowercase;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-input,
.form-textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.875rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 0.875rem 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-family: inherit;
    letter-spacing: 1px;
    text-transform: lowercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.form-submit:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 1);
}

.form-submit:active {
    transform: scale(0.98);
}

@media (max-width: 480px) {
    .form-container {
        padding: 2rem 1.5rem;
        width: 95%;
    }

    .form-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .form-close {
        top: 0.75rem;
        right: 1rem;
        font-size: 1.75rem;
    }
}

/* Light mode form styles */
@media (prefers-color-scheme: light) {
    .form-container {
        background: rgba(245, 245, 245, 0.98);
        border-color: rgba(0, 0, 0, 0.1);
    }

    .form-title {
        color: rgba(0, 0, 0, 0.95);
    }

    .form-close {
        color: rgba(0, 0, 0, 0.6);
    }

    .form-close:hover {
        color: rgba(0, 0, 0, 1);
        background: rgba(0, 0, 0, 0.1);
    }

    .form-input,
    .form-textarea {
        background: rgba(0, 0, 0, 0.05);
        border-color: rgba(0, 0, 0, 0.1);
        color: rgba(0, 0, 0, 0.9);
    }

    .form-input::placeholder,
    .form-textarea::placeholder {
        color: rgba(0, 0, 0, 0.4);
    }

    .form-input:focus,
    .form-textarea:focus {
        border-color: rgba(0, 0, 0, 0.3);
        background: rgba(0, 0, 0, 0.08);
    }

    .form-submit {
        background: rgba(0, 0, 0, 0.1);
        border-color: rgba(0, 0, 0, 0.2);
        color: rgba(0, 0, 0, 0.9);
    }

    .form-submit:hover {
        background: rgba(0, 0, 0, 0.15);
        border-color: rgba(0, 0, 0, 0.3);
        color: rgba(0, 0, 0, 1);
    }
}

/* Imprint Page Styles */
.imprint-page {
    max-width: 800px;
    width: 90%;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.imprint-header {
    margin-bottom: 2rem;
}

.back-link {
    display: inline-block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: rgba(255, 255, 255, 1);
}

.imprint-header h1 {
    font-size: 2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

/* Imprint Content Styles */
.imprint-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-align: left;
}

.imprint-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.imprint-content h3:first-child {
    margin-top: 0;
}

.imprint-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.imprint-content p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.imprint-content a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.imprint-content a:hover {
    color: rgba(255, 255, 255, 1);
}

@media (prefers-color-scheme: light) {
    .imprint-page {
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .back-link {
        color: rgba(0, 0, 0, 0.7);
    }

    .back-link:hover {
        color: rgba(0, 0, 0, 1);
    }

    .imprint-header h1 {
        color: rgba(0, 0, 0, 0.95);
    }

    .imprint-content {
        color: rgba(0, 0, 0, 0.9);
    }

    .imprint-content h3 {
        color: rgba(0, 0, 0, 0.95);
    }

    .imprint-content h4 {
        color: rgba(0, 0, 0, 0.9);
    }

    .imprint-content p {
        color: rgba(0, 0, 0, 0.8);
    }

    .imprint-content a {
        color: rgba(0, 0, 0, 0.9);
    }

    .imprint-content a:hover {
        color: rgba(0, 0, 0, 1);
    }
}

@media (max-width: 768px) {
    .imprint-page {
        padding: 1.5rem;
        margin: 1rem auto;
    }

    .imprint-header h1 {
        font-size: 1.5rem;
    }
}

/* Downloads Page Styles */
.downloads-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    padding-bottom: 5rem;
    position: relative;
}

.downloads-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out;
}

.downloads-logo {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
    opacity: 0.9;
}

.downloads-title {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.downloads-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out;
}

.download-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.download-card-wide {
    grid-column: span 2;
}

.download-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    opacity: 0.8;
}

.download-icon svg {
    width: 100%;
    height: 100%;
    fill: rgba(255, 255, 255, 0.9);
}

.download-title {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.download-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.download-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.download-button:active {
    transform: translateY(0);
}

.download-button svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.downloads-footer-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    line-height: 1.6;
}

.downloads-footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
}

.downloads-footer-link:hover {
    color: rgba(255, 255, 255, 0.9);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.back-link:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: translateX(-4px);
}

.back-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .downloads-container {
        padding: 2rem 1.5rem;
    }

    .downloads-title {
        font-size: 1.75rem;
    }

    .downloads-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .download-card-wide {
        grid-column: span 1;
    }

    .downloads-logo {
        width: 160px;
    }
}

@media (max-width: 480px) {
 

/* Downloads Page Light Mode Support */
@media (prefers-color-scheme: light) {
    .downloads-page {
        background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 50%, #fafafa 100%);
    }

    .downloads-logo {
        filter: brightness(0) invert(0);
        -webkit-filter: brightness(0) invert(0);
    }

    .downloads-title {
        color: rgba(0, 0, 0, 0.95);
    }

    .downloads-subtitle {
        color: rgba(0, 0, 0, 0.6);
    }

    .download-card {
        background: rgba(255, 255, 255, 0.9);
        border-color: rgba(0, 0, 0, 0.1);
    }

    .download-card:hover {
        background: rgba(255, 255, 255, 1);
        border-color: rgba(0, 0, 0, 0.2);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    }

    .download-icon svg {
        fill: rgba(0, 0, 0, 0.9);
    }

    .download-title {
        color: rgba(0, 0, 0, 0.95);
    }

    .download-description {
        color: rgba(0, 0, 0, 0.5);
    }

    .download-button {
        background: rgba(0, 0, 0, 0.05);
        border-color: rgba(0, 0, 0, 0.2);
        color: rgba(0, 0, 0, 0.9);
    }

    .download-button:hover {
        background: rgba(0, 0, 0, 0.1);
        border-color: rgba(0, 0, 0, 0.3);
        color: rgba(0, 0, 0, 1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .downloads-footer-text {
        color: rgba(0, 0, 0, 0.5);
    }

    .downloads-footer-link {
        color: rgba(0, 0, 0, 0.7);
    }

    .downloads-footer-link:hover {
        color: rgba(0, 0, 0, 0.9);
    }
}   .downloads-container {
        padding: 1.5rem 1rem;
    }

    .downloads-title {
        font-size: 1.5rem;
    }

    .download-card {
        padding: 1.5rem;
    }

    .downloads-logo {
        width: 140px;
    }
}