:root {
    --primary: #CC802A;
    /* Updated Accent Color */
    --primary-glow: rgba(204, 128, 42, 0.3);
    --bg-app: #262626;
    /* App Workspace Charcoal */
    --bg-panel: #323232;
    /* App Header/Panel */
    --bg-darker: #1c1c1c;
    /* App Borders/Titlebar */
    --text-main: #ffffff;
    --text-muted: #b0b0b0;
    --border-app: #444444;
    --font-pro: 'Outfit',
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;
    --max-width: 1200px;
    --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- Dark Styled Scrollbars --- */
/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #555 var(--bg-darker);
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

*::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

*::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 10px;
    border: 2px solid var(--bg-darker);
}

*::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    background-color: var(--bg-app);
    color: var(--text-main);
    font-family: var(--font-pro);
    line-height: 1.6;
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

/* --- Layout Containers --- */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 0 100px 0;
}

.section-title {
    color: #fff;
    font-weight: 700;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-app);
    z-index: 1000;
}

.nav-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.logo-container:hover {
    opacity: 0.8;
}

.logo-text {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
    display: none;
}

.nav-center {
    display: flex;
    justify-content: center;
}

.nav-center .lang-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.nav-center .lang-select option {
    background: var(--bg-panel);
    color: #fff;
}

.nav-links {
    display: none;
    justify-content: flex-end;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-toggle {
    display: flex;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    justify-content: flex-end;
    align-items: center;
    transition: color 0.3s;
}

.nav-toggle:hover {
    color: var(--primary);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-app);
    padding: 20px 0;
    display: none;
    z-index: 999;
    backdrop-filter: blur(10px);
    transition: all 0.3s var(--ease-smooth);
    opacity: 0;
    transform: translateY(-10px);
}

.mobile-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mobile-nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.mobile-nav-links a:hover {
    color: var(--primary);
}

/* --- Hero (Mobile-First Base) --- */
.hero {
    padding-top: 120px;
    padding-bottom: 60px;
    text-align: center;
    background: radial-gradient(circle at top, #323232, #262626);
    overflow: hidden;
}

.hero-split {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.hero-content {
    width: 100%;
}

.hero-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.hero-logo-circle {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-logo-circle img {
    width: 100%;
    transition: transform 0.4s ease;
}

.hero-logo-circle:hover img {
    transform: scale(1.1);
}

.hero h1 {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #fff;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.hero p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 35px;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* --- Platform Buttons --- */
.platform-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
}

.btn-platform {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--bg-panel);
    border: 1px solid var(--border-app);
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-platform i {
    font-size: 1.1rem;
    color: #fff;
}

.btn-platform:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--primary-glow);
}

@media (max-width: 480px) {
    .btn-platform {
        padding: 5px 8px;
        font-size: 0.6rem;
        gap: 3px;
        min-width: 0;
    }

    .btn-platform i {
        font-size: 0.7rem;
    }

    .platform-btns {
        gap: 4px;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        width: 100%;
    }

    .btn-platform {
        padding: 4px 6px;
        font-size: 0.6rem;
        gap: 3px;
        flex: 1;
        max-width: none;
        min-width: 0;
        white-space: nowrap;
    }
}

.hero-free-download {
    display: inline-block;
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.hero-free-download:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* --- Video Thumbnail --- */
.video-3d-container {
    width: 100%;
    max-width: 600px;
    perspective: 1000px;
    z-index: 5;
}

.video-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border: 4px solid var(--bg-panel);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transition: all 0.6s var(--ease-smooth);
    position: relative;
    cursor: pointer;

    /* Anti-glitch: prepare GPU for transform and border-related changes */
    will-change: transform, box-shadow;
    transform: translateZ(0);
    isolation: isolate;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-image: url('https://img.youtube.com/vi/1Cf5acKmB8U/maxresdefault.jpg');
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s var(--ease-smooth);
}

.video-wrapper:hover .video-placeholder {
    transform: scale(1.12);
}

.video-placeholder::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s;
}

.video-wrapper:hover .video-placeholder::after {
    background: rgba(0, 0, 0, 0.1);
}

.play-button {
    position: relative;
    z-index: 10;
    width: 80px;
    height: 80px;
    background: rgba(204, 128, 42, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s var(--ease-smooth);
    transform: translate(2px, -4px);
}

.play-button svg {
    width: 30px;
    height: 30px;
    fill: #fff;
    margin-left: 5px;
}

.video-wrapper:hover .play-button {
    transform: translate(2px, -4px) scale(1.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px var(--primary-glow);
    background: transparent;
    border-color: #fff;
}

.video-wrapper:hover .play-button svg path {
    fill: #fff !important;
}

/* --- About Sections --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.about-column {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-app);
    transition: all 0.3s var(--ease-smooth);
    color: var(--text-muted);
    cursor: default;
}

.about-column:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-sub-title {
    color: var(--primary);
    font-size: 1.1rem;
    /* Matched to FAQ item h3 */
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.how-text p,
.about-column p {
    margin-bottom: 0;
    color: var(--text-muted);
}

.how-text span {
    margin-right: 5px;
}

.brand-slogan {
    margin-top: 20px;
    color: #fff !important;
    font-weight: 700;
}

.brand-slogan .accent-orange {
    color: var(--primary) !important;
}

/* --- Carousel --- */
.about-carousel-container {
    margin-top: 40px;
    width: 100%;
    background: transparent !important;
}

.carousel-wrapper {
    width: 100%;
    max-width: 1072px;
    /* Natural image width */
    margin: 0 auto;
    overflow: hidden;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s var(--ease-smooth);
    width: 100%;
}

.carousel-slide {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    display: block;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--primary-glow);
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-app);
    transition: all 0.3s var(--ease-smooth);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(204, 128, 42, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* --- Download & Buy Section --- */
.download-layout {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.download-header-block {
    text-align: center;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    margin-top: -30px;
}

/* Platform Cards */

.download-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px 20px;
    min-height: 380px;
    border-radius: 20px;
    border: 1px solid var(--border-app);
    transition: all 0.4s var(--ease-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.download-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.download-card>i {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 25px;
}

.download-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
    line-height: 1.4;
}

.download-card .platform-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.download-card .platform-sub a {
    color: var(--primary) !important;
    text-decoration: underline;
}

.download-card .platform-sub a:hover {
    text-decoration: underline;
    color: #fff !important;
}

.btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--primary-glow);
}

.btn-paypal {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6) !important;
    padding: 5px 15px;
    font-size: 0.65rem;
    gap: 6px;
}

.btn-paypal i {
    font-size: 0.8rem !important;
}

.btn-paypal:hover {
    box-shadow: none !important;
    background: #f8f8f8;
    color: #003087;
}

.video-link-wrapper {
    margin-top: 50px;
    margin-bottom: 5px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.video-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0.9;
    transition: all 0.3s;
}

.video-link:hover {
    opacity: 1;
    color: #fff !important;
}

.contact-link {
    justify-content: flex-start !important;
}

.legal-links-container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.85rem;
}

.legal-link-item {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.legal-link-item:hover {
    text-decoration: underline;
    color: #fff !important;
}

.video-link:hover i {
    color: #fff;
}

/* Buy Card */
.buy-section {
    position: relative;
    padding-top: 10px;
}

.buy-card {
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--primary);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.buy-card h3 {
    font-size: 1.25rem;
    color: #fff;
    max-width: 700px;
    line-height: 1.4;
    font-weight: 700;
}

.paypal-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
}

.btn-paypal {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #fff !important;
    color: #003087 !important;
    padding: 16px 45px !important;
    font-size: 1.1rem !important;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 100px;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-paypal:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.6);
}

.btn-paypal i {
    font-size: 1.4rem;
    margin-right: 12px;
}

.buy-instructions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.buy-instructions p {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    max-width: none;
    line-height: 1.4;
}

.buy-instructions p i {
    color: var(--primary);
    margin-top: 3px;
    font-size: 0.9rem;
}

.video-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
}

.video-link i {
    font-size: 1.2rem;
}

.video-link:hover {
    text-decoration: underline;
}

.paypal-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.paypal-label i {
    font-size: 0.9rem;
}

.legal-consent {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    gap: 15px;
    max-width: 100%;
    text-align: center;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1.5;
    overflow-wrap: break-word;
}

.legal-consent input {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin: 0;
    transition: background 0.2s ease;
}

.legal-consent input:checked {
    background: #fff;
}

.legal-consent input:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #1a1a1a;
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.legal-consent input {
    margin-top: 0;
}

.legal-consent a {
    color: var(--primary);
    text-decoration: none;
}

.legal-consent a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .download-grid {
        grid-template-columns: 1fr;
    }

    .buy-card {
        padding: 40px 20px;
    }
}

#mainCompareTable {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    min-width: 1100px;
}

th,
td {
    padding: 10px 4px;
    text-align: left;
    border-bottom: 1px solid var(--border-app);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

th {
    background: var(--bg-darker);
    color: var(--text-muted);
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 800;
    vertical-align: top;
    line-height: 1.1;
    padding: 12px 8px;
}

th:first-child {
    width: 220px;
    position: sticky;
    left: 0;
    background: var(--bg-darker);
    z-index: 2;
}

td:first-child {
    position: sticky;
    left: 0;
    background: var(--bg-panel);
    z-index: 1;
    font-weight: 700;
    font-size: 0.8rem;
    line-height: 1.2;
    padding: 12px 15px;
}

.header-funk {
    background: #CC802A !important;
    color: #fff !important;
}

.header-similarity {
    background: #99CCFF !important;
    color: #000 !important;
}

.header-spek {
    background: #FFCC99 !important;
    color: #000 !important;
}

.header-audiochecker {
    background: #CCCCFF !important;
    color: #000 !important;
}

.header-spectro {
    background: #000000 !important;
    color: #fff !important;
}

.header-aucdtect {
    background: #FFFFCC !important;
    color: #000 !important;
}

.header-tau {
    background: #ffffff !important;
    color: #000 !important;
}

.header-lac {
    background: #008080 !important;
    color: #fff !important;
}

.header-audition {
    background: #00CCCC !important;
    color: #000 !important;
}

.header-audacity {
    background: #0000CC !important;
    color: #fff !important;
}

.highlight-col {
    background: #212121;
    color: var(--primary);
    font-weight: 800;
}

td.check {
    color: #BFDFBD;
    text-align: center;
}

td.cross {
    color: #E99A9C !important;
    text-align: center;
    font-weight: bold;
}

/* Force gray color for informational statuses in comparison table even if they have .cross class */
td[data-i18n^="compare_val_cdda"].cross,
td[data-i18n^="compare_val_lossless"].cross,
td[data-i18n^="compare_val_discontinued"].cross,
td[data-i18n^="compare_val_not_updated"].cross,
td[data-i18n^="compare_val_not_in_free"].cross {
    color: #888 !important;
    font-weight: normal;
}

td:not(:first-child) {
    text-align: center;
    font-size: 0.8rem;
}

@media (max-width: 1100px) {
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 20px;
    }

    #mainCompareTable {
        min-width: 800px;
        /* Ensure table has enough space to be scrollable */
    }
}

.table-footnotes {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.table-footnotes p {
    margin-bottom: 8px;
}

/* --- Buttons --- */
.btn-main {
    display: inline-block;
    padding: 16px 40px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px var(--primary-glow);
    filter: brightness(1.1);
}

/* --- Footer --- */
footer {
    background: var(--bg-darker);
    padding: 60px 0 60px;
    border-top: 1px solid var(--border-app);
    text-align: center;
}

.footer-logo-circle {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.footer-logo-circle img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-panel);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-app);
    transition: all 0.2s;
}

/* --- Marquee Banner --- */
.marquee-container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    overflow: hidden;
    padding: 60px 0;
    position: relative;
    background: var(--bg-app);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
    display: flex;
    gap: 80px;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marquee-item img {
    height: 30px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all 0.4s var(--ease-smooth);
}

.marquee-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Specific Logo Scaling for Balance */
.logo-alternative {
    height: 42px !important;
}

.logo-digitaldjtips {
    height: 36px !important;
}

.logo-djtechtools {
    height: 22px !important;
}

.logo-download {
    height: 32px !important;
}

.logo-pcdj {
    height: 48px !important;
}

.logo-softpedia {
    height: 32px !important;
}

/* FAQ Section */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-app);
    transition: all 0.3s var(--ease-smooth);
}

.faq-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-item h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 800;
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;

}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 40px));
    }
}

/* Responsive Marquee */
@media (max-width: 768px) {
    .marquee-container {
        padding: 40px 0;
    }

    .marquee-content {
        gap: 50px;
    }

    .marquee-item img {
        height: 20px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-50% - 25px));
        }
    }
}

.social-icon i {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.social-icon:hover i {
    color: #fff;
}

/* --- Modals --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s var(--ease-smooth);
}

.modal-overlay.active {
    display: flex !important;
    opacity: 1;
}

.modal-container {
    width: 90vw;
    max-width: 1600px;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s var(--ease-smooth);
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-video-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#modalVideoFrame,
.modal-video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.info-modal-container {
    max-width: 800px;
    background: var(--bg-panel);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--border-app);
}

.info-modal-content {
    padding: 60px 40px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.info-modal-scroll {
    overflow-y: auto;
    padding-right: 15px;
    text-align: left;
    color: var(--text-muted);
}

.info-modal-scroll h2,
.info-modal-scroll h3,
.info-modal-scroll h4 {
    color: #fff;
    margin: 25px 0 15px;
}

.info-modal-scroll p {
    margin-bottom: 20px;
}

.info-modal-scroll a {
    color: var(--primary);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.info-modal-scroll a:hover {
    opacity: 0.8;
}

.info-modal-scroll ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

/* Custom Scrollbar for Info Modal */
.info-modal-scroll::-webkit-scrollbar {
    width: 8px;
}

.info-modal-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.info-modal-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

@media (max-width: 768px) {
    .bento-item {
        padding: 24px;
        grid-column: span 1 !important;
    }

    .container {
        width: 92%;
    }

    .platform-btns {
        flex-direction: row !important;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .btn-platform {
        width: auto !important;
        flex: 1;
        max-width: none;
        justify-content: center;
        padding: 10px 8px;
        font-size: 0.75rem;
    }

    .btn-paypal {
        padding: 12px 15px !important;
        font-size: 0.9rem !important;
        gap: 8px;
        width: 100%;
        max-width: 320px;
    }

    .btn-paypal i {
        font-size: 1.1rem !important;
        margin-right: 4px;
    }

    .legal-consent {
        font-size: 0.85rem;
        gap: 12px;
    }
}

/* --- Desktop Enhancements (992px+) --- */
@media (min-width: 992px) {
    .hero {
        padding-top: 140px;
        padding-bottom: 120px;
        background: radial-gradient(circle at 70% 30%, #323232, #262626);
    }

    .hero-split {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        gap: 60px;
    }

    .logo-text {
        display: block;
    }

    .nav-links {
        display: flex;
    }

    .nav-toggle {
        display: none;
    }

    .nav-wrapper {
        grid-template-columns: 1fr auto 1fr;
    }

    .nav-center {
        margin-right: 40px;
    }

    .hero-content {
        flex: 1.2;
        max-width: 650px;
    }

    .hero-header {
        flex-direction: row;
        gap: 25px;
        margin-bottom: 40px;
        text-align: left;
    }

    .hero-logo-circle {
        width: 150px;
        height: 150px;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 4.5vw, 4rem);
        letter-spacing: -2px;
        text-align: left;
    }

    .hero p {
        margin: 0 0 40px 0;
        text-align: left;
    }

    .platform-btns {
        justify-content: flex-start;
    }

    .video-3d-container {
        flex: 1;
        perspective: 1500px;
    }

    .video-wrapper {
        border-width: 4px;
        border-radius: 16px;
        box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
        transform: rotateY(-12deg) rotateX(4deg) translateZ(0);
    }

    .video-3d-container:hover .video-wrapper {
        transform: rotateY(0deg) rotateX(0deg) scale(1.02);
        box-shadow: 0 60px 120px rgba(0, 0, 0, 0.8);
        border-color: var(--bg-panel);
    }
}

/* --- Scroll Reveal (Glide Effect) --- */
.reveal {
    opacity: 0;
    transition: opacity 1.2s var(--ease-smooth);
    will-change: opacity;
}

.reveal>* {
    transform: translateY(40px);
    transition: transform 1.2s var(--ease-smooth);
    will-change: transform;
}

.reveal.active {
    opacity: 1;
}

.reveal.active>* {
    transform: translateY(0);
}

/* Staggered children */
.reveal.active .bento-item {
    transition-delay: 0.1s;
}

/* --- Contact Section --- */
#contact {
    background: var(--bg-app);
}

#contact .bento-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: auto;
}

.social-box {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-app);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    text-decoration: none !important;
    outline: none !important;
    transition: all 0.3s var(--ease-smooth);
}

.social-box:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: var(--primary);
}

.social-box i {
    font-size: 1.4rem;
    /* Ensure icons don't have blue underlines if wrapped in links */
    text-decoration: none !important;
}

@media (max-width: 768px) {
    #contact {
        padding: 60px 0;
    }
}

.bento-grid {
    display: grid;
}

.contact-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr !important;
    }
}

.reveal.active .bento-item:nth-child(2) {
    transition-delay: 0.3s;
}