/* ============================================
   LIBS - Minecraft Performance Optimizer
   Premium Gaming Theme - Dark Mode
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* CSS Variables */
:root {
    /* Core Colors - Minecraft inspired */
    --primary: #00d4aa;
    --primary-dark: #00a080;
    --primary-light: #4dffd4;
    --secondary: #6366f1;
    --secondary-dark: #4f46e5;
    --accent: #22c55e;
    --accent-glow: #4ade80;

    /* Background Colors */
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: rgba(20, 20, 30, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.06);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00d4aa 0%, #6366f1 100%);
    --gradient-hero: linear-gradient(180deg, rgba(0, 212, 170, 0.15) 0%, transparent 50%);
    --gradient-card: linear-gradient(145deg, rgba(99, 102, 241, 0.1) 0%, rgba(0, 212, 170, 0.1) 100%);

    /* Shadows */
    --shadow-glow: 0 0 60px rgba(0, 212, 170, 0.3);
    --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-button: 0 10px 40px rgba(0, 212, 170, 0.4);

    /* Borders */
    --border-glass: 1px solid rgba(255, 255, 255, 0.1);
    --border-glow: 1px solid rgba(0, 212, 170, 0.3);

    /* Spacing */
    --section-padding: clamp(60px, 10vw, 120px);
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--bg-dark);
}

/* ============================================
   Background Effects
   ============================================ */

.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(0, 212, 170, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(34, 197, 94, 0.05) 0%, transparent 70%);
}

.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 15s infinite ease-in-out;
    box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary);
}

@keyframes floatParticle {

    0%,
    100% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }

    10% {
        opacity: 0.8;
        transform: translateY(80vh) scale(1);
    }

    90% {
        opacity: 0.8;
        transform: translateY(-10vh) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-20vh) scale(0);
    }
}

/* Minecraft-style grid overlay */
.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

/* ============================================
   Typography
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.heading-xl {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.heading-lg {
    font-size: clamp(2rem, 4vw, 3rem);
}

.heading-md {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-glow {
    text-shadow: 0 0 20px rgba(0, 212, 170, 0.5);
}

/* ============================================
   Layout & Container
   ============================================ */

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* ============================================
   Header & Navigation
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition-smooth);
    background: transparent;
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: var(--border-glass);
    padding: 10px 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow-glow);
    transition: var(--transition-smooth);
}

.logo:hover .logo-img {
    transform: scale(1.1) rotate(5deg);
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: var(--bg-dark) !important;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-button);
    transition: var(--transition-smooth);
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 212, 170, 0.5);
}

.nav-cta::after {
    display: none !important;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition-fast);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--bg-glass);
    border: var(--border-glass);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge .badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero-logo {
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
    border-radius: 30px;
    box-shadow: var(--shadow-glow), 0 30px 60px rgba(0, 0, 0, 0.5);
    animation: floatLogo 6s ease-in-out infinite, fadeInUp 0.8s ease-out 0.2s backwards;
    transition: var(--transition-smooth);
}

.hero-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 100px rgba(0, 212, 170, 0.5);
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 20px;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-version {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--secondary);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.7s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    box-shadow: var(--shadow-button);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 212, 170, 0.5);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-glass-hover);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.btn-icon {
    font-size: 1.2rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    animation: fadeInUp 0.8s ease-out 1s backwards;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* ============================================
   Ad Containers
   ============================================ */

.ad-container {
    background: var(--bg-glass);
    border: var(--border-glass);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin: 30px auto;
    width: 100%;
    max-width: 728px;
    min-width: 300px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ad-container .adsbygoogle {
    display: block;
    width: 100%;
    min-height: 90px;
}

.ad-container::before {
    content: 'PUBLICIDADE';
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
}

.ad-container-large {
    max-width: 336px;
    min-width: 300px;
    min-height: 280px;
}

.ad-container-large .adsbygoogle {
    min-height: 250px;
}

.ad-container-sidebar {
    position: sticky;
    top: 100px;
    width: 300px;
    min-height: 250px;
}

/* ============================================
   Features Section
   ============================================ */

.features {
    background: linear-gradient(180deg, transparent, var(--bg-darker) 50%, transparent);
}

/* Loader Badges in Hero */
.loader-badges {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.loader-tag {
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.loader-tag.forge {
    background: rgba(255, 107, 53, 0.2);
    border: 1px solid rgba(255, 107, 53, 0.4);
    color: #ff6b35;
}

.loader-tag.fabric {
    background: rgba(219, 208, 180, 0.2);
    border: 1px solid rgba(219, 208, 180, 0.4);
    color: #dbd0b4;
}

.loader-tag.neoforge {
    background: rgba(209, 52, 56, 0.2);
    border: 1px solid rgba(209, 52, 56, 0.4);
    color: #d13438;
}

/* Filter Row */
.filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.filter-item {
    position: relative;
}

.filter-item label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-item select {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-glass);
    border: var(--border-glass);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2300d4aa' stroke-width='2'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.filter-item select:hover,
.filter-item select:focus {
    border-color: var(--primary);
    outline: none;
}

.filter-item select option {
    background: var(--bg-dark);
    color: var(--text-primary);
    padding: 10px;
}

/* Version Header in Info Box */
.version-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: var(--border-glass);
}

.loader-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

.mc-version {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    color: var(--primary);
}

/* File Name Display */
.file-name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 15px;
    background: var(--bg-glass);
    border: var(--border-glass);
    border-radius: 12px;
}

.file-name .file-icon {
    font-size: 1.3rem;
}

.file-name code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--primary);
    word-break: break-all;
}

/* No Version State */
.no-version {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.no-version p {
    font-size: 1rem;
}

/* Responsive Filter */
@media (max-width: 480px) {
    .filter-row {
        grid-template-columns: 1fr;
    }

    .loader-badges {
        gap: 8px;
    }

    .loader-tag {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature-card {
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: 24px;
    padding: 35px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-card);
    opacity: 0;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 170, 0.3);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-button);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.feature-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ============================================
   Download Section
   ============================================ */

.download {
    position: relative;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
}

.download-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.download-main {
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: 30px;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.download-main::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.1) 0%, transparent 70%);
}

.version-selector {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.version-selector label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.version-select {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-glass);
    border: var(--border-glass);
    border-radius: 15px;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300d4aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.version-select:hover,
.version-select:focus {
    border-color: var(--primary);
    outline: none;
}

.version-select option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.version-info {
    background: var(--bg-glass);
    border: var(--border-glass);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.version-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.detail-item {
    text-align: center;
}

.detail-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.detail-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
}

.changelog {
    border-top: var(--border-glass);
    padding-top: 20px;
}

.changelog-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.changelog-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.changelog-list li {
    padding: 6px 14px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--accent);
}

.download-btn-wrapper {
    position: relative;
    z-index: 1;
}

.btn-download {
    width: 100%;
    padding: 20px 40px;
    font-size: 1.2rem;
    justify-content: center;
}

.download-count {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.download-count span {
    color: var(--primary);
    font-weight: 600;
}

/* Security Badge */
.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    padding: 15px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 15px;
    position: relative;
    z-index: 1;
}

.security-badge svg {
    color: var(--accent);
}

.security-badge span {
    font-size: 0.9rem;
    color: var(--accent);
}

/* Download Sidebar */
.download-sidebar {
    position: sticky;
    top: 100px;
}

/* ============================================
   Installation Section
   ============================================ */

.installation {
    background: var(--bg-darker);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: 24px;
    padding: 35px;
    text-align: center;
    position: relative;
    transition: var(--transition-smooth);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 170, 0.3);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bg-dark);
    margin: 0 auto 20px;
    box-shadow: var(--shadow-button);
}

.step-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.step-code {
    margin-top: 15px;
    padding: 12px 18px;
    background: var(--bg-glass);
    border: var(--border-glass);
    border-radius: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--primary);
    word-break: break-all;
}

/* ============================================
   Compatibility Section
   ============================================ */

.compatibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.compat-item {
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition-fast);
}

.compat-item:hover {
    border-color: rgba(0, 212, 170, 0.3);
}

.compat-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-glass);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.compat-text h4 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.compat-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   FAQ Section
   ============================================ */

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item:hover {
    border-color: rgba(0, 212, 170, 0.3);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--bg-darker);
    border-top: var(--border-glass);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 45px;
    height: 45px;
    border-radius: 10px;
}

.footer-logo span {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: var(--border-glass);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--primary);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .download-wrapper {
        grid-template-columns: 1fr;
    }

    .download-sidebar {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .hero-stats {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px;
        gap: 25px;
        border-bottom: var(--border-glass);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }

    .version-details {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-logo {
        width: 140px;
        height: 140px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .download-main {
        padding: 30px 20px;
    }

    .feature-card {
        padding: 25px;
    }
}

/* ============================================
   Utility Classes
   ============================================ */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-4 {
    margin-top: 2rem;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 16px 24px;
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    box-shadow: var(--shadow-card);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 9999;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    border-color: var(--accent);
}

.toast.error {
    border-color: #ef4444;
}