/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    --bg: #050507;
    --glass-border: rgba(255, 255, 255, 0.08);
    --primary: #3b82f6;
    --accent: #8b5cf6;
    --text: #ffffff;
    --text-mute: #94a3b8;
    --gold: #fbbf24;
    --silver: #94a3b8;
    --bronze: #d97706;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    overflow-x: hidden;
    min-height: 100vh;
}

* {
    box-sizing: border-box;
}

/* =========================================
   2. BACKGROUND & NAVIGATION
   ========================================= */
.ambient-light {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    animation: floatLight 10s infinite alternate;
}

.one {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--primary), transparent);
}

.two {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent), transparent);
    animation-delay: -5s;
}

@keyframes floatLight {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    padding: 12px 24px;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.window-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    height: 20px; /* Reduced from 32px */
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.win-btn {
    width: 30px; /* Reduced from 46px */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    color: #ffffff;
    opacity: 0.6;
}

    .win-btn svg {
        width: 7px; /* Reduced from 10px */
        height: 7px;
        display: block;
    }

    /* Hover Effects */
    .win-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        opacity: 1;
    }

.close-btn:hover {
    background: #e81123;
    color: white;
}
.nav-brand {
    /* Layout */
    display: flex;
    align-items: center;
    gap: 12px;
    /* Font */
    font-weight: 800;
    letter-spacing: -0.5px;
    /* Link Styles (Resetting default blue link look) */
    text-decoration: none;
    color: var(--text); /* Forces text to be white */
    /* Interaction */
    cursor: pointer;
    position: relative;
    z-index: 1001; /* Ensures it sits above any glass layers */
}

.nav-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-item {
    text-decoration: none;
    color: var(--text-mute);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
}

    .nav-item:hover {
        color: var(--text);
    }

.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    transition: transform 0.2s;
}

    .nav-cta:hover {
        transform: scale(1.05);
    }

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero-stage {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 5% 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1400px;
    width: 100%;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Left Content */
.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

.mega-headline {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 24px 0;
    letter-spacing: -2px;
}

.text-glow {
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 0 40px rgba(255,255,255,0.3);
}

.description {
    font-size: 1.1rem;
    color: var(--text-mute);
    line-height: 1.6;
    max-width: 450px;
    margin-bottom: 40px;
}

.action-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}

.store-img {
    height: 45px;
    transition: opacity 0.2s;
}

    .store-img:hover {
        opacity: 0.8;
    }

.rating-box {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

.stars {
    color: #fbbf24;
    letter-spacing: 2px;
}

.label {
    color: var(--text-mute);
    font-size: 0.8rem;
}

/* Stats HUD */
.stats-hud {
    display: inline-flex;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 20px 30px;
    border-radius: 16px;
    gap: 40px;
}

.hud-item {
    display: flex;
    flex-direction: column;
}

.hud-val {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.hud-lbl {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-top: 5px;
    letter-spacing: 1px;
}

.hud-sep {
    width: 1px;
    background: var(--glass-border);
}

/* Right Visual Side */
.visual-side {
    position: relative;
    display: flex;
    justify-content: flex-end;
    height: 500px;
    align-items: center;
}

.perspective-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 100%;
    perspective: 2000px;
    transform: translateX(30px);
}

.app-backlight {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    background: linear-gradient(to right, var(--primary), var(--accent));
    filter: blur(120px);
    opacity: 0.4;
    z-index: 0;
    animation: pulseGlow 6s infinite alternate;
}

.ui-stack {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateX(2deg);
}

/* Cards */
.app-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 45%;
    aspect-ratio: 4/3;
    background: #1e1e24;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.7);
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    margin-top: -18%;
    margin-left: -22.5%;
}

.window-controls {
    padding: 10px;
    display: flex;
    gap: 6px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

    .window-controls span {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255,255,255,0.2);
    }

.app-screen {
    width: 100%;
    height: auto;
    display: block;
}

/* Desktop 3D Positioning */
.card-main {
    z-index: 10;
    transform: scale(1.2) translateZ(20px);
    box-shadow: 0 30px 60px -10px rgba(0,0,0,0.9);
}

.card-left {
    z-index: 5;
    transform: translateX(-85%) rotateY(25deg) scale(0.95);
    opacity: 0.8;
}

.card-right {
    z-index: 5;
    transform: translateX(85%) rotateY(-25deg) scale(0.95);
    opacity: 0.8;
}

/* Desktop Hover */
.perspective-container:hover .card-main {
    transform: scale(1.22) translateZ(30px) translateY(-10px);
}

.perspective-container:hover .card-left {
    transform: translateX(-100%) rotateY(30deg) scale(0.95);
    opacity: 1;
}

.perspective-container:hover .card-right {
    transform: translateX(100%) rotateY(-30deg) scale(0.95);
    opacity: 1;
}

/* Rank Card */
.rank-card {
    position: absolute;
    bottom: 20px;
    left: -20px;
    background: rgba(20, 20, 30, 0.9);
    backdrop-filter: blur(20px);
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transform: translateZ(30px);
    animation: floatCard 6s ease-in-out infinite;
}

.rank-icon {
    font-size: 1.2rem;
    background: rgba(255,255,255,0.1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.rank-text {
    display: flex;
    flex-direction: column;
}

    .rank-text small {
        font-size: 0.65rem;
        color: var(--text-mute);
        text-transform: uppercase;
    }

.wpm {
    color: #4ade80;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    margin-top: 2px;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.9);
    }

    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes floatCard {
    0%, 100% {
        transform: translateZ(30px) translateY(0);
    }

    50% {
        transform: translateZ(30px) translateY(-10px);
    }
}

/* =========================================
   4. LEADERBOARD SECTION
   ========================================= */
.leaderboard-section {
    position: relative;
    padding: 120px 5% 100px;
    background: #050507;
    overflow: hidden;
    perspective: 1000px;
}

    .leaderboard-section::before {
        content: '';
        position: absolute;
        top: -100px;
        left: 50%;
        transform: translateX(-50%);
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 60%);
        filter: blur(60px);
        z-index: 0;
        pointer-events: none;
        animation: pulseLight 4s ease-in-out infinite alternate;
    }

@keyframes pulseLight {
    0% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1);
    }

    100% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.1);
    }
}

.leaderboard-glow {
    position: absolute;
    bottom: -20%;
    left: -50%;
    width: 200%;
    height: 100%;
    background-image: linear-gradient(transparent 95%, rgba(59, 130, 246, 0.2) 95%), linear-gradient(90deg, transparent 95%, rgba(59, 130, 246, 0.2) 95%);
    background-size: 60px 60px;
    transform: rotateX(60deg);
    animation: moveGrid 20s linear infinite;
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

@keyframes moveGrid {
    0% {
        transform: rotateX(60deg) translateY(0);
    }

    100% {
        transform: rotateX(60deg) translateY(60px);
    }
}

.container-lb {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.lb-header {
    text-align: center;
    margin-bottom: 60px;
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 20px;
    color: #4ade80;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.pulsing-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 10px #4ade80;
    animation: pulseLive 2s infinite;
}

@keyframes pulseLive {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.lb-header h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.text-gradient {
    background: linear-gradient(90deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lb-header p {
    color: var(--text-mute);
}

/* Leaderboard Grid */
.leaderboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: end;
}

/* Podium Cards (1-3) */
.leaderboard-card:nth-child(-n+3) {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

.leaderboard-card:nth-child(1) {
    order: 2;
    height: 300px;
    border-color: rgba(251, 191, 36, 0.3);
    background: linear-gradient(to bottom, rgba(251, 191, 36, 0.05), rgba(255,255,255,0.03));
    z-index: 2;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.1);
    animation: championBreath 4s infinite ease-in-out;
}

@keyframes championBreath {
    0%, 100% {
        box-shadow: 0 0 20px rgba(251, 191, 36, 0.1);
        transform: translateY(0);
    }

    50% {
        box-shadow: 0 0 50px rgba(251, 191, 36, 0.3);
        transform: translateY(-5px);
    }
}

.leaderboard-card:nth-child(2) {
    order: 1;
    height: 250px;
}

.leaderboard-card:nth-child(3) {
    order: 3;
    height: 250px;
}

.leaderboard-card:nth-child(1)::before {
    content: '👑';
    font-size: 2.5rem;
    position: absolute;
    top: -50px;
    animation: floatCrown 3s ease-in-out infinite;
}

@keyframes floatCrown {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Podium Internals */
.leaderboard-card:nth-child(-n+3) .card-rank {
    position: absolute;
    top: -15px;
    width: 32px;
    height: 32px;
    background: #000;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono';
    font-weight: 800;
    z-index: 10;
}

.leaderboard-card:nth-child(1) .card-rank {
    background: var(--gold);
    color: white;
    box-shadow: 0 0 15px var(--gold);
}

.leaderboard-card:nth-child(2) .card-rank {
    background: var(--silver);
    color: white;
}

.leaderboard-card:nth-child(3) .card-rank {
    background: var(--bronze);
    color: white;
}

.leaderboard-card:nth-child(-n+3) .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    justify-content: center;
    gap: 10px;
}

.leaderboard-card:nth-child(-n+3) .user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 2px solid rgba(255,255,255,0.1);
}

.leaderboard-card:nth-child(1) .user-avatar {
    border-color: var(--gold);
    width: 100px;
    height: 100px;
}

.leaderboard-card:nth-child(-n+3) .user-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.leaderboard-card:nth-child(-n+3) .wpm {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'JetBrains Mono';
    color: #fff;
}

.leaderboard-card:nth-child(1) .wpm {
    color: var(--gold);
}

.leaderboard-card:nth-child(-n+3) .user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.leaderboard-card:nth-child(-n+3) .identity-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 5px;
}

.leaderboard-card:nth-child(-n+3) .country-flag {
    width: 24px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* List Cards (4+) */
.leaderboard-card:nth-child(n+4) {
    grid-column: 1 / -1;
    order: 10;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    transition: transform 0.2s;
    margin-top: 5px;
}

    .leaderboard-card:nth-child(n+4):hover {
        background: rgba(255, 255, 255, 0.05);
        transform: scale(1.01);
    }

    .leaderboard-card:nth-child(n+4) .card-rank {
        width: 40px;
        font-family: 'JetBrains Mono';
        font-weight: 600;
        color: var(--text-mute);
        position: static;
        background: none;
        border: none;
        box-shadow: none;
    }

    .leaderboard-card:nth-child(n+4) .rank-number::before {
        content: '#';
        color: var(--text-mute);
        opacity: 0.5;
    }

    .leaderboard-card:nth-child(n+4) .card-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
        gap: 20px;
    }

    .leaderboard-card:nth-child(n+4) .user-info {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-grow: 1;
        overflow: hidden;
    }

    .leaderboard-card:nth-child(n+4) .user-name {
        font-weight: 600;
        color: var(--text);
    }

    .leaderboard-card:nth-child(n+4) .wpm {
        font-family: 'JetBrains Mono';
        font-weight: 700;
        color: var(--primary);
        font-size: 1.1rem;
    }

        .leaderboard-card:nth-child(n+4) .wpm::after {
            content: ' WPM';
            font-size: 0.8rem;
            color: var(--text-mute);
            font-weight: 400;
        }

    .leaderboard-card:nth-child(n+4) .user-avatar {
        width: 40px !important;
        height: 40px !important;
        border-radius: 50%;
        object-fit: cover;
        flex-shrink: 0;
        border: 2px solid rgba(255,255,255,0.1);
    }

    .leaderboard-card:nth-child(n+4) .country-flag {
        width: 24px !important;
        height: auto;
        border-radius: 2px;
        margin-right: 15px;
    }

.leaderboard-card:hover::after {
    left: 150%;
    transition: left 0.7s ease-in-out;
}

/* Mobile Brand Showcase (Hidden on desktop) */
.mobile-brand-showcase {
    display: none;
}

/* =========================================
   MATERIALS SECTION
   ========================================= */

.materials-section {
    position: relative;
    padding: 100px 5% 120px;
    background: #050507;
    overflow: hidden;
}

/* Ambient Background Orb */
.materials-bg-glow {
    position: absolute;
    top: 30%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.container-mat {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* --- THE BENTO GRID --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns */
    gap: 24px;
    margin-top: 40px;
}

/* Base Card Style */
.bento-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    group: hover;
}

    /* Hover Effect: Lift & Glow */
    .bento-card:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.04);
        border-color: rgba(255, 255, 255, 0.15);
        box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
    }

/* Internal Glow Blob */
.card-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s;
}

.bento-card:hover .card-glow {
    opacity: 1;
}

/* Icon Styling */
.icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 5px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Icon Colors */
.orange {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.1);
}

.blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

.red {
    background: rgba(244, 63, 94, 0.1);
    color: #f43f5e;
    box-shadow: 0 0 20px rgba(244, 63, 94, 0.1);
}

.purple {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}

.bento-card h3 {
    font-size: 1.25rem;
    margin: 0;
    font-weight: 700;
}

.bento-card p {
    font-size: 0.95rem;
    color: var(--text-mute);
    line-height: 1.5;
    margin: 0;
}

.mini-tag {
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    color: rgba(255,255,255,0.4);
    margin-top: auto; /* Pushes to bottom */
}

/* --- THE WIDE CARD (Custom Text) --- */
.wide-card {
    grid-column: span 3; /* Spans full width */
    background: linear-gradient(to right, rgba(255,255,255,0.02), rgba(139, 92, 246, 0.05));
}

.content-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 40px;
}

.text-side {
    max-width: 50%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Decoration inside wide card (Fake Code Snippet) */
.visual-decoration {
    background: #0f0f13;
    border: 1px solid var(--glass-border);
    padding: 15px 20px;
    border-radius: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    transform: rotate(3deg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.bento-card:hover .visual-decoration {
    transform: rotate(0deg) scale(1.05);
}

.c-purple {
    color: #c084fc;
}

.c-blue {
    color: #60a5fa;
}

.c-green {
    color: #4ade80;
}

/* =========================================
   STICKY SCROLL SECTION
   ========================================= */

.sticky-section {
    padding: 100px 5%;
    background: #050507;
    position: relative;
}

.sticky-container {
    max-width: 1000px;
    margin: 0 auto;
}

.sticky-header {
    text-align: center;
    margin-bottom: 80px;
}

    .sticky-header h2 {
        font-size: 3rem;
        margin-bottom: 10px;
    }

    .sticky-header p {
        color: var(--text-mute);
        font-size: 1.1rem;
    }

/* --- THE CARDS WRAPPER --- */
.cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    /* This padding bottom ensures the last card has scroll room */
    padding-bottom: 100px;
}

/* --- THE STICKY CARD --- */
.sticky-card {
    /* THE MAGIC: Sticky Positioning */
    position: sticky;
    /* Calculates the stacking offset based on the index (1-6) */
    top: calc(100px + var(--index) * 30px);
    height: 400px;
    width: 100%;
    background: #1e1e24;
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5); /* Shadow points up to separate from card below */
    transition: transform 0.3s;
    transform-origin: center top;
}

.card-inner {
    display: grid;
    grid-template-columns: 80px 1fr 150px; /* Number | Text | Visual */
    height: 100%;
    padding: 40px;
    align-items: start;
    gap: 30px;
    background: linear-gradient(145deg, rgba(255,255,255,0.03), transparent);
}

/* Number (01, 02...) */
.card-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255,255,255,0.05); /* Subtle watermark style */
    line-height: 1;
}

/* Text Content */
.sticky-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, var(--text-mute));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sticky-card p {
    font-size: 1.1rem;
    color: var(--text-mute);
    line-height: 1.7;
    max-width: 600px;
}

/* Visual Decoration (Right Side) */
.card-visual {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background-size: cover;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: 0.5s;
    /* Use gradients as placeholders for images */
}

.sticky-card:hover .card-visual {
    filter: grayscale(0%);
    opacity: 1;
}

/* Specific Card Themes (Subtle borders/glows) */
.sticky-card:nth-child(1) {
    border-top: 2px solid var(--primary);
}

.visual-speed {
    background: linear-gradient(45deg, var(--primary), transparent);
}

.sticky-card:nth-child(2) {
    border-top: 2px solid var(--accent);
}

.visual-lang {
    background: linear-gradient(45deg, var(--accent), transparent);
}

.sticky-card:nth-child(3) {
    border-top: 2px solid var(--gold);
}

.visual-stats {
    background: linear-gradient(45deg, var(--gold), transparent);
}

.sticky-card:nth-child(4) {
    border-top: 2px solid #ef4444;
}

.visual-race {
    background: linear-gradient(45deg, #ef4444, transparent);
}

.sticky-card:nth-child(5) {
    border-top: 2px solid #10b981;
}

.visual-data {
    background: linear-gradient(45deg, #10b981, transparent);
}

.sticky-card:nth-child(6) {
    border-top: 2px solid #f97316;
}

.visual-tutor {
    background: linear-gradient(45deg, #f97316, transparent);
}

.theme-showcase {
    padding: 120px 5%;
    background: #050507;
    position: relative;
    overflow: hidden;
}

/* Shared Header Styles (reuse or add if missing) */
.section-header.center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    margin-top: 15px;
}

.section-header p {
    color: var(--text-mute);
    max-width: 600px;
    font-size: 1.1rem;
}

/* Wrapper for the two cards */
.realms-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
    perspective: 1500px; /* Creates the 3D space */
}

/* --- SHARED CARD STYLES --- */
.realm-card {
    border-radius: 30px;
    padding: 50px 40px 0 40px; /* No bottom padding, image sits flush */
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease;
    height: 600px; /* Fixed height to align them */
}

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

.realm-content {
    position: relative;
    z-index: 2;
}

    .realm-content h3 {
        font-size: 2rem;
        margin-bottom: 10px;
        margin-top: 20px;
    }

    .realm-content p {
        font-size: 1.05rem;
        line-height: 1.6;
        max-width: 400px;
    }

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* --- DARK REALM STYLES --- */
.dark-realm {
    background: linear-gradient(145deg, #0f1115, #0a0a0c);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.moon-icon {
    background: rgba(59, 130, 246, 0.15);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.dark-realm h3 {
    color: #fff;
}

.dark-realm p {
    color: #94a3b8;
}

/* The Dark Window Frame */
.dark-frame {
    background: #1e1e24;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    transform: rotateY(10deg) translateX(20px); /* Tilted Right */
}

/* --- LIGHT REALM STYLES --- */
.light-realm {
    background: linear-gradient(145deg, #ffffff, #f3f4f6);
    border: 1px solid #e5e7eb;
    box-shadow: 0 20px 40px rgba(255,255,255,0.05);
}

.sun-icon {
    background: rgba(251, 191, 36, 0.2);
    text-shadow: 0 0 10px #fbbf24;
}

.light-realm h3 {
    color: #111827;
}

.light-realm p {
    color: #4b5563;
}

/* The Light Window Frame */
.light-frame {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    transform: rotateY(-10deg) translateX(-20px); /* Tilted Left */
}

/* --- IMAGE & FRAME SHARED --- */
.realm-visual {
    flex-grow: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.window-frame {
    width: 100%;
    /* Let the image stick out slightly or be clipped nicely */
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Hover Straighten Effect */
.realm-card:hover .window-frame {
    transform: rotateY(0deg) translateX(0) scale(1.02);
}

.frame-header {
    height: 30px; /* Matching the small button height */
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Pushes buttons to the RIGHT */
    gap: 0; /* Windows buttons touch each other */
    padding: 0; /* Remove padding so buttons hit the edge */
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Ensure buttons inside the theme cards inherit correct colors */
.dark-frame .win-btn {
    color: rgba(255,255,255,0.7);
}

.light-frame .win-btn {
    color: rgba(0,0,0,0.6);
}

    /* Light Mode specific hover for buttons */
    .light-frame .win-btn:hover {
        background: rgba(0,0,0,0.05);
    }

.light-frame .close-btn:hover {
    background: #e81123;
    color: white;
}

.dark-frame .frame-header {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.05);
}

.light-frame .frame-header {
    background: #f9fafb;
    border-color: #e5e7eb;
}

.dot-btn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.r {
    background: #ef4444;
}

.y {
    background: #f59e0b;
}

.g {
    background: #10b981;
}

.full-screen-img {
    width: 100%;
    height: 95%;
    display: block;
    /* Ensure image quality is high */
}

/* Shiny reflection on the glass */
.screen-gloss {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 40%);
    pointer-events: none;
}

.compare-section {
    padding: 100px 5%;
    background: #050507; /* Matches previous section */
    position: relative;
}

.compare-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Wrapper to hold the grid and the overlay */
.compare-wrapper {
    position: relative;
    margin-top: 60px;
}

/* --- THE GRID --- */
.compare-grid {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2; /* Text sits above the glow overlay */
}

.compare-row {
    display: grid;
    /* Column Ratios: 40% Text, 30% Competitor, 30% Us */
    grid-template-columns: 1.5fr 1fr 1fr;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

    .compare-row:last-child {
        border-bottom: none;
    }

/* Header Row Styling */
.header-row {
    margin-bottom: 10px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.col-feature {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

.header-row .col-feature {
    color: var(--text-mute);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Competitor Column */
.col-competitor {
    text-align: center;
    color: var(--text-mute);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Our Column */
.col-us {
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.table-logo {
    width: 32px;
    height: 32px;
    margin-bottom: 5px;
}

/* Icons */
.check {
    color: #4ade80;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.4);
}

.cross {
    color: #ef4444;
    opacity: 0.5;
    font-size: 1rem;
}

.dim {
    opacity: 0.5;
    text-shadow: none;
}

.highlight-tag {
    display: block;
    font-size: 0.65rem;
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 4px;
    text-transform: uppercase;
}

/* --- THE WINNER OVERLAY (The Glass Strip) --- */
.winner-column-overlay {
    position: absolute;
    top: -10px;
    bottom: -10px;
    right: 0;
    /* Width matches the last column of the grid roughly (30%) */
    width: 32%;
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    z-index: 1; /* Sits behind text */
    backdrop-filter: blur(5px);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.05);
}

    /* Winner Header Glow */
    .winner-column-overlay::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 80px;
        background: linear-gradient(to bottom, rgba(59, 130, 246, 0.2), transparent);
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }

/* --- HOVER EFFECT --- */
.compare-row:not(.header-row):hover {
    background: rgba(255,255,255,0.02);
}

.site-footer {
    position: relative;
    background: #050507;
    border-top: 1px solid var(--glass-border);
    padding: 80px 5% 40px;
    overflow: hidden;
}

/* The Horizon Glow at the top */
.footer-horizon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    box-shadow: 0 0 30px var(--primary);
    opacity: 0.5;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* --- TOP SECTION --- */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

/* Brand Column */
.footer-brand-col {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
    color: #fff;
}

    .footer-logo img {
        width: 32px;
        height: 32px;
        border-radius: 6px;
    }

.footer-desc {
    color: var(--text-mute);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Socials Column */
.footer-social-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.social-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.social-grid {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-mute);
    transition: all 0.3s;
    text-decoration: none;
}

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

    /* Specific Brand Hovers */
    .social-link:hover {
        transform: translateY(-3px);
        color: #fff;
        border-color: transparent;
    }

.insta:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    box-shadow: 0 5px 15px rgba(214, 36, 159, 0.3);
}

.linkedin:hover {
    background: #0077b5;
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}

.youtube:hover {
    background: #ff0000;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.discord:hover {
    background: #5865F2;
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.3);
}

.bmac:hover {
    background: #FFDD00;
    color: #000;
    box-shadow: 0 5px 15px rgba(255, 221, 0, 0.3);
}

/* --- BOTTOM SECTION --- */
.footer-divider {
    height: 1px;
    background: var(--glass-border);
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-mute);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 30px;
}

    .legal-links a {
        color: var(--text-mute);
        text-decoration: none;
        transition: color 0.2s;
    }

        .legal-links a:hover {
            color: #fff;
        }

.legal-stage {
    min-height: 100vh;
    padding: 140px 5% 100px;
    position: relative;
    background: #050507;
}

.legal-container {
    max-width: 800px; /* Optimal reading width */
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header */
.legal-header {
    text-align: center;
    margin-bottom: 50px;
}

    .legal-header h1 {
        font-size: 3.5rem;
        margin-bottom: 10px;
    }

/* The Glass Document Container */
.legal-doc {
    position: relative;
    background: rgba(20, 22, 28, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 60px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    overflow: hidden;
}

/* Internal glow for the document */
.doc-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

/* Content Styling */
.legal-content {
    color: #cbd5e1; /* Lighter than standard mute for readability */
    line-height: 1.8;
    font-size: 1.05rem;
}

.policy-block {
    margin-bottom: 40px;
}

    .policy-block:last-child {
        margin-bottom: 0;
    }

    .policy-block h2 {
        color: #fff;
        font-size: 1.5rem;
        margin-bottom: 15px;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .policy-block p {
        margin-bottom: 15px;
    }

.legal-header .description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-mute);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 10px;
}
/* Custom List Styling */
.policy-list {
    list-style: none;
    padding-left: 20px;
}

    .policy-list li {
        position: relative;
        margin-bottom: 12px;
        padding-left: 20px;
    }

        .policy-list li::before {
            content: '→';
            position: absolute;
            left: 0;
            color: var(--primary);
            font-weight: bold;
        }

    .policy-list strong {
        color: #fff;
    }

.contact-link {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
    font-weight: 600;
}

    .contact-link:hover {
        border-bottom-color: var(--primary);
        color: #60a5fa;
    }

/* =========================================
   5. MOBILE RESPONSIVENESS (CONSOLIDATED)
   ========================================= */
@media (max-width: 1100px) {
    /* HERO LAYOUT FIX */
    .hero-stage {
        padding: 100px 20px 40px; /* FIXED: Added horizontal padding */
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .content-side {
        padding: 0; /* Removed internal padding, rely on container */
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 2;
    }

    .mega-headline {
        font-size: 2.8rem;
    }

    .description {
        margin: 0 auto 30px;
        font-size: 1rem;
    }

    .action-row {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* MOBILE BRAND */
    .mobile-brand-showcase {
        display: flex;
        align-items: center;
        justify-content: center; /* Center them */
        gap: 20px; /* Space between logo and text */
        margin-bottom: 50px; /* More space below before content starts */
        position: relative;
        /* Removed background, border, padding, box-shadow */
    }

    .mobile-logo-img {
        width: 64px; /* Much bigger */
        height: 64px;
        z-index: 2;
        /* Add a glow directly to the image so it pops off the dark background */
        filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.6));
    }

    .mobile-logo-text {
        font-weight: 800;
        font-size: 2.2rem; /* Much bigger font */
        letter-spacing: -1px;
        color: #fff;
        font-family: 'Plus Jakarta Sans', sans-serif;
        z-index: 2;
        /* Strong text shadow for readability */
        text-shadow: 0 5px 15px rgba(0,0,0,0.8);
    }

    /* Hide the background glow element completely */
    .logo-glow-mobile {
        display: none;
    }

    /* STATS */
    .stats-hud {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        width: 100%;
        gap: 10px;
        padding: 15px;
        justify-items: center;
        background: rgba(255, 255, 255, 0.03);
        margin-bottom: 20px;
    }

    .hud-sep {
        display: none;
    }

    .hud-item {
        background: rgba(0,0,0,0.2);
        width: 100%;
        padding: 10px 5px;
        border-radius: 8px;
        border: 1px solid rgba(255,255,255,0.05);
    }

    .hud-val {
        font-size: 1.1rem;
    }

    .hud-lbl {
        font-size: 0.6rem;
    }

    /* VISUAL SIDE 3D FIX */
    .visual-side {
        height: 380px; /* Reduced from 450px to remove bottom gap */
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        margin-top: 30px;
        margin-bottom: -40px; /* Pulls the next section up */
        overflow: visible;
    }

    .perspective-container {
        perspective: 1000px;
        width: 100%;
        transform: scale(0.65);
        transform-origin: center top;
    }

    .ui-stack {
        display: block;
        transform-style: preserve-3d;
        transform: rotateX(5deg);
        height: 100%;
        width: 100%;
    }

    .app-card {
        position: absolute;
        top: 0;
        left: 50%;
        margin-left: -22.5%;
        margin-top: 0;
        width: 45%;
        aspect-ratio: 4/3;
        box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    }

    /* Mobile 3D Positions */
    .card-main {
        z-index: 10;
        transform: translateZ(20px) scale(1.2) !important;
    }

    .card-left {
        display: block;
        z-index: 5;
        transform: translateX(-55%) rotateY(20deg) scale(0.9) !important;
        opacity: 0.8;
    }

    .card-right {
        display: block;
        z-index: 5;
        transform: translateX(55%) rotateY(-20deg) scale(0.9) !important;
        opacity: 0.8;
    }

    .rank-card {
        left: 50%;
        transform: translateX(-50%) translateZ(40px);
        bottom: -20px;
        width: 180px;
        justify-content: center;
        padding: 8px;
    }

    /* LEADERBOARD FIX */
    .leaderboard-section {
        padding: 80px 20px 40px; /* FIXED: Added horizontal padding */
    }

    .leaderboard-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns tablet */
        gap: 15px;
    }

    /* Podium Mobile Layout */
    .leaderboard-card:nth-child(1) {
        grid-column: 1 / -1;
        height: auto;
        padding: 30px 20px;
    }

    .leaderboard-card:nth-child(2) {
        order: 2;
        height: 220px;
    }

    .leaderboard-card:nth-child(3) {
        order: 3;
        height: 220px;
    }

    /* NAV FIX */
    .glass-nav {
        top: auto;
        bottom: 20px;
        width: 90%;
        justify-content: space-around;
        padding: 10px 15px;
    }

    .nav-brand .nav-logo {
        width: 40px;
        height: 40px;
    }

    .nav-links, .nav-brand span {
        display: none;
    }
}

@media (max-width: 968px) {
    .realms-wrapper {
        grid-template-columns: 1fr; /* Stack vertically */
        gap: 60px;
    }

    .realm-card {
        height: auto; /* Allow auto height */
        padding-bottom: 40px;
    }

    .dark-frame, .light-frame {
        transform: none !important; /* Remove 3D tilt on mobile */
        margin-top: 30px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }
}

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr; /* Stack vertically */
    }

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

    .content-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .text-side {
        max-width: 100%;
    }

    .visual-decoration {
        width: 100%;
        margin-top: 20px;
        transform: rotate(0deg);
    }

    .sticky-card {
        height: auto;
        min-height: 300px;
        top: calc(80px + var(--index) * 10px); /* Tighter stack on mobile */
    }

    .card-inner {
        grid-template-columns: 1fr; /* Stack vertically */
        padding: 25px;
        gap: 15px;
    }

    .card-number {
        font-size: 2rem;
        margin-bottom: -10px; /* Pull closer to text */
    }

    .sticky-card h3 {
        font-size: 1.5rem;
    }

    .sticky-card p {
        font-size: 1rem;
    }

    .card-visual {
        height: 50px; /* Small strip at bottom */
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 40px;
        align-items: center;
        text-align: center;
    }

    .footer-brand-col {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .footer-social-col {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        gap: 20px;
        text-align: center;
    }

    .legal-links {
        gap: 20px;
    }
}


