/* ========================================
   CSS VARIABLES - BRAND COLORS
======================================== */
:root {
    /* Light Mode (Default) */
    --bg-primary: #ffffff;
    --bg-secondary: #F6F6F6;
    --text-primary: #11222C;
    --text-secondary: #343a40;
    --text-tertiary: #6c757d;
    --border-color: rgba(17, 34, 44, 0.1);
    --card-bg: #ffffff;
    --header-bg: rgba(255, 255, 255, 0.95);

    /* Brand Colors */
    --brand-primary: #ff914d;
    --brand-primary-dark: #ff6b35;
    --brand-primary-light: #ffb380;

    --brand-dark: #11222C;
    --brand-dark-secondary: #1a3240;

    --brand-light: #F6F6F6;
    --brand-gray: #343a40;
    --brand-gray-light: #6c757d;

    /* Additional Colors */
    --white: #ffffff;
    --black: #000000;
    
    --success: #12b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #4dbbfe;
    
    /* Compression Preset Colors */
    --balanced: linear-gradient(135deg, #ff914d 0%, #ff6b35 100%);
    --quality: linear-gradient(135deg, #914dfe 0%, #7c3aed 100%);
    --size: linear-gradient(135deg, #12b981 0%, #059669 100%);
    --custom: linear-gradient(135deg, #4dbbfe 0%, #2196f3 100%);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #ff914d 0%, #ff6b35 100%);
    --gradient-hero: linear-gradient(135deg, rgba(255,145,77,0.1) 0%, rgba(77,187,254,0.1) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.2);
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --spacing-3xl: 96px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Dark Mode */
[data-theme="dark"] {
    --bg-primary: #0f1419;
    --bg-secondary: #1a1f28;
    --text-primary: #e5e7eb;
    --text-secondary: #9ca3af;
    --text-tertiary: #6b7280;
    --border-color: rgba(255, 255, 255, 0.1);
    --card-bg: #1a1f28;
    --header-bg: rgba(15, 20, 25, 0.95);

    --brand-dark: #e5e7eb;
    --brand-gray: #9ca3af;
    --brand-gray-light: #6b7280;
    --brand-light: #1a1f28;
    --white: #1a1f28;
}

/* ========================================
   RESET & BASE STYLES
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

button {
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   SCROLL PROGRESS BAR
======================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #ff914d 0%, #4dbbfe 50%, #fee94d 100%);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* ========================================
   CONTAINER
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ========================================
   HEADER
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

/* Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 2rem;
}

/* Brand */
.nav-brand {
    flex-shrink: 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: translateY(-2px);
}

.nav-logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #ff914d 0%, #4dbbfe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    box-shadow: 0 4px 12px rgba(77, 187, 254, 0.3);
    transition: all 0.3s ease;
}

.nav-logo:hover .nav-logo-icon {
    box-shadow: 0 6px 20px rgba(77, 187, 254, 0.4);
    transform: rotate(-5deg);
}

.nav-logo-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #ff914d 0%, #4dbbfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.nav-logo-tagline {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--brand-primary);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropdown-icon {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.nav-dropdown.active .dropdown-icon,
.nav-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 340px;
    padding: 8px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 8px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

[data-theme="dark"] .dropdown-menu {
    background: #1e293b;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    margin-bottom: 2px;
    border-left: 3px solid transparent;
    position: relative;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(255, 107, 53, 0.05) 100%);
    border-left-color: #ff6b35;
    transform: translateX(2px);
    padding-left: 18px;
}

.dropdown-item:active {
    transform: translateX(2px) scale(0.98);
}

[data-theme="dark"] .dropdown-item {
    color: #e2e8f0;
}

[data-theme="dark"] .dropdown-item:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(255, 107, 53, 0.1) 100%);
}

.dropdown-item i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b35;
    font-size: 18px;
    flex-shrink: 0;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-item:hover i {
    transform: scale(1.1);
}

.dropdown-item-content {
    flex: 1;
    min-width: 0;
}

.dropdown-item-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2px;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.dropdown-item:hover .dropdown-item-title {
    color: #ff6b35;
}

.dropdown-item-desc {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.dropdown-item:hover .dropdown-item-desc {
    color: #4b5563;
}

[data-theme="dark"] .dropdown-item-title {
    color: #e2e8f0;
}

[data-theme="dark"] .dropdown-item-desc {
    color: #94a3b8;
}

[data-theme="dark"] .dropdown-item:hover .dropdown-item-title {
    color: #ff6b35;
}

[data-theme="dark"] .dropdown-item:hover .dropdown-item-desc {
    color: #cbd5e1;
}

/* Accessibility Focus States */
.dropdown-item:focus {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
}

.dropdown-item:focus:not(:focus-visible) {
    outline: none;
}

/* Staggered Animations */
.dropdown-item:nth-child(1) { animation-delay: 0.03s; }
.dropdown-item:nth-child(2) { animation-delay: 0.06s; }
.dropdown-item:nth-child(3) { animation-delay: 0.09s; }
.dropdown-item:nth-child(4) { animation-delay: 0.12s; }
.dropdown-item:nth-child(5) { animation-delay: 0.15s; }
.dropdown-item:nth-child(6) { animation-delay: 0.18s; }
.dropdown-item:nth-child(7) { animation-delay: 0.21s; }
.dropdown-item:nth-child(8) { animation-delay: 0.24s; }
.dropdown-item:nth-child(9) { animation-delay: 0.27s; }
.dropdown-item:nth-child(10) { animation-delay: 0.30s; }

.dropdown-menu.active .dropdown-item,
.nav-dropdown:hover .dropdown-menu .dropdown-item,
.nav-dropdown.active .dropdown-menu .dropdown-item {
    animation: dropdownItemFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

@keyframes dropdownItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.btn {
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.btn-primary {
    background: #ff914d;
    color: white;
    border: 2px solid #ff914d;
}

.btn-primary:hover {
    background: #ff711a;
    border-color: #ff711a;
}

.btn-block {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu - Dropdown Style */
.mobile-menu {
    display: none;
    padding: 16px 20px;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active,
.mobile-menu.show {
    display: block;
}

.mobile-menu-dropdown {
    margin-bottom: 4px;
}

.mobile-menu-dropdown-toggle {
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
}

.mobile-dropdown-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    transition: transform 0.3s ease;
}

.mobile-menu-dropdown.active .mobile-dropdown-icon {
    transform: translateY(-50%) rotate(180deg);
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg-secondary);
    border-radius: 8px;
    margin-top: 4px;
    margin-bottom: 8px;
}

.mobile-menu-dropdown.active .mobile-submenu {
    max-height: 500px;
    padding: 8px 0;
}

.mobile-submenu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.mobile-submenu-link i {
    font-size: 14px;
    width: 18px;
    text-align: center;
    color: var(--brand-primary);
}

.mobile-submenu-link:hover {
    background: rgba(255, 145, 77, 0.1);
    color: var(--brand-primary);
    padding-left: 24px;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: all 0.2s ease;
}

.mobile-menu-link i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: var(--brand-primary);
}

.mobile-menu-link:hover {
    background: var(--bg-secondary);
    color: var(--brand-primary);
    padding-left: 16px;
}

.mobile-menu-link:last-of-type {
    border-bottom: none;
}

.mobile-menu-auth {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

/* Theme Toggle Button */
.theme-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 12px;
}

.theme-toggle:hover {
    transform: scale(1.05);
    border-color: var(--brand-primary);
    box-shadow: 0 4px 12px rgba(255, 145, 77, 0.2);
}

.theme-icon {
    position: absolute;
    font-size: 20px;
    transition: all 0.3s ease;
}

.theme-icon-light {
    color: var(--brand-primary);
    opacity: 1;
    transform: rotate(0deg);
}

.theme-icon-dark {
    color: var(--brand-primary);
    opacity: 0;
    transform: rotate(180deg);
}

[data-theme="dark"] .theme-icon-light {
    opacity: 0;
    transform: rotate(180deg);
}

[data-theme="dark"] .theme-icon-dark {
    opacity: 1;
    transform: rotate(0deg);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    position: relative;
    padding: 120px 0 var(--spacing-3xl);
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #ff914d 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #4dbbfe 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #12b981 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(100px, -100px) scale(1.1);
    }
    66% {
        transform: translate(-100px, 100px) scale(0.9);
    }
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(17, 34, 44, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 34, 44, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 145, 77, 0.1);
    border: 1px solid rgba(255, 145, 77, 0.3);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.6s ease;
}

.hero-badge i {
    font-size: 16px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    line-height: 1.8;
    color: var(--brand-gray-light);
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

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

/* ========================================
   UPLOAD SECTION
======================================== */
.upload-section {
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

.upload-area {
    background: var(--card-bg);
    border: 3px dashed rgba(255, 145, 77, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    cursor: pointer;
    transition: var(--transition-base);
}

.upload-area:hover {
    border-color: var(--brand-primary);
    background: rgba(255, 145, 77, 0.02);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.upload-area.drag-over {
    border-color: var(--brand-primary);
    background: rgba(255, 145, 77, 0.05);
    transform: scale(1.02);
}

.upload-content {
    text-align: center;
}

.upload-icon {
    font-size: 64px;
    color: var(--brand-primary);
    margin-bottom: var(--spacing-md);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.upload-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--brand-dark);
}

.upload-text {
    color: var(--brand-gray-light);
    margin-bottom: var(--spacing-md);
}

.upload-limit {
    font-size: 14px;
    color: var(--brand-gray-light);
}

.upload-btn {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 16px 40px;
    border-radius: var(--radius-full);
    font-size: 18px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.upload-btn i {
    font-size: 20px;
}

/* ========================================
   HERO STATS
======================================== */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.stat {
    background: var(--card-bg);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--brand-primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-gray-light);
}

/* ========================================
   TRUST SECTION
======================================== */
.trust-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--brand-gray);
}

.trust-badge i {
    font-size: 24px;
    color: var(--brand-primary);
}

/* ========================================
   SECTION HEADERS
======================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-badge {
    display: inline-block;
    background: rgba(255, 145, 77, 0.1);
    color: var(--brand-primary);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: 20px;
    color: var(--brand-gray-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   COMPRESSION SHOWCASE
======================================== */
.compression-showcase {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-primary);
}

.compression-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.compression-card {
    background: var(--card-bg);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 2px solid var(--border-color);
    transition: var(--transition-base);
    position: relative;
}

.compression-card.featured {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
}

.compression-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--brand-primary);
}

.compression-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.compression-icon.balanced {
    background: var(--balanced);
}

.compression-icon.quality {
    background: var(--quality);
}

.compression-icon.size {
    background: var(--size);
}

.compression-icon.custom {
    background: var(--custom);
}

.compression-icon i {
    font-size: 36px;
    color: var(--white);
}

.compression-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.compression-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    background: rgba(255, 145, 77, 0.1);
    color: var(--brand-primary);
}

.compression-badge.premium {
    background: rgba(145, 77, 254, 0.1);
    color: #7c3aed;
}

.compression-badge.aggressive {
    background: rgba(18, 185, 129, 0.1);
    color: #059669;
}

.compression-badge.custom {
    background: rgba(77, 187, 254, 0.1);
    color: #2196f3;
}

.compression-description {
    color: var(--brand-gray-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.compression-features {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.compression-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-gray);
    margin-bottom: 8px;
}

.compression-features i {
    color: var(--success);
    font-size: 14px;
}

.compression-stats {
    background: var(--brand-light);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--brand-gray-light);
    font-weight: 600;
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-dark);
}

/* ========================================
   FEATURES SECTION
======================================== */
.features {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.feature-card {
    background: var(--card-bg);
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-primary);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.feature-icon i {
    font-size: 28px;
    color: var(--white);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    color: var(--brand-gray-light);
    line-height: 1.8;
}

/* ========================================
   FORMATS SECTION
======================================== */
.formats-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-primary);
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.format-card {
    background: var(--card-bg);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
    text-align: center;
    transition: var(--transition-base);
    position: relative;
}

.format-card.popular,
.format-card.recommended,
.format-card.next-gen {
    border-color: var(--brand-primary);
}

.format-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary);
}

.format-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-sm);
    background: rgba(255, 145, 77, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.format-icon i {
    font-size: 28px;
    color: var(--brand-primary);
}

.format-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.format-description {
    font-size: 13px;
    color: var(--brand-gray-light);
}

.format-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--brand-primary);
    color: var(--white);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.format-note {
    background: rgba(255, 145, 77, 0.05);
    border: 1px solid rgba(255, 145, 77, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.format-note i {
    font-size: 24px;
    color: var(--brand-primary);
}

.format-note p {
    color: var(--brand-gray);
    margin: 0;
}

/* ========================================
   HOW IT WORKS SECTION
======================================== */
.how-it-works {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    box-shadow: var(--shadow-md);
}

.step-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-md);
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.step:hover .step-icon {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.step-icon i {
    font-size: 48px;
    color: var(--brand-primary);
}

.step-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.step-description {
    color: var(--brand-gray-light);
}

.step-connector {
    font-size: 32px;
    color: var(--brand-primary);
    opacity: 0.3;
}

.cta-center {
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(77, 187, 254, 0.2);
    border-color: #4dbbfe;
}

[data-theme="dark"] .step-card {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .step-card:hover {
    border-color: #4dbbfe;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ff914d 0%, #4dbbfe 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(77, 187, 254, 0.3);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(77, 187, 254, 0.4);
}

.cta-button {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 18px 48px;
    border-radius: var(--radius-full);
    font-size: 18px;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.cta-button.large {
    font-size: 20px;
    padding: 20px 56px;
}

/* ========================================
   USE CASES SECTION
======================================== */
.use-cases {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-primary);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.use-case-card {
    background: var(--card-bg);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 2px solid var(--border-color);
    transition: var(--transition-base);
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-primary);
}

.use-case-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 145, 77, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.use-case-icon i {
    font-size: 28px;
    color: var(--brand-primary);
}

.use-case-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.use-case-description {
    color: var(--brand-gray-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.use-case-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.benefit {
    padding: 4px 12px;
    background: rgba(255, 145, 77, 0.1);
    color: var(--brand-primary);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
}

/* ========================================
   COMPARISON SECTION
======================================== */
.comparison {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.comparison-table {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    border-bottom: 1px solid rgba(17, 34, 44, 0.1);
}

.comparison-row.header {
    background: var(--brand-dark);
    color: var(--white);
}

.comparison-cell {
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.comparison-cell.feature-cell {
    justify-content: flex-start;
    font-weight: 600;
}

.comparison-cell.highlight {
    background: rgba(255, 145, 77, 0.05);
    font-weight: 700;
    color: var(--brand-primary);
}

.comparison-cell i.fa-check {
    color: var(--success);
    font-size: 20px;
}

.comparison-cell i.fa-times {
    color: var(--error);
    font-size: 20px;
}

.our-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.our-brand i {
    color: var(--brand-primary);
}

/* ========================================
   STATS SECTION
======================================== */
.stats-section {
    padding: var(--spacing-3xl) 0;
    background: var(--gradient-primary);
    color: var(--white);
}

.stats-content {
    text-align: center;
}

.stats-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: var(--spacing-xl);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-base);
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
}

.stat-value {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff914d 0%, #4dbbfe 50%, #fee94d 100%);
    z-index: 0;
}

[data-theme="dark"] .cta-bg {
    background: linear-gradient(135deg, #ff914d 0%, #4dbbfe 50%, #fee94d 100%) !important;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: white;
    line-height: 1.2;
}

.gradient-text-light {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
    color: white;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.125rem;
}

.btn-white {
    background: white;
    color: #ff914d;
    border: 2px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

[data-theme="dark"] .btn-white {
    background: #ff914d !important;
    color: white !important;
    border: 2px solid #ff914d !important;
    box-shadow: 0 8px 24px rgba(255, 145, 77, 0.4);
}

[data-theme="dark"] .btn-white:hover {
    background: #ff711a !important;
    color: white !important;
    border: 2px solid #ff711a !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 145, 77, 0.6);
}

[data-theme="dark"] .btn-outline-white {
    background: white !important;
    color: #ff914d !important;
    border: 2px solid white !important;
}

[data-theme="dark"] .btn-outline-white:hover {
    background: #f9fafb !important;
    color: #ff914d !important;
    border: 2px solid #f9fafb !important;
    transform: translateY(-2px);
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.cta-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.cta-stats .stat:hover {
    transform: none !important;
    box-shadow: none !important;
}

.cta-stats .stat-number {
    font-size: 32px;
    font-weight: 800;
    color: white !important;
    margin-bottom: 4px;
    display: block;
}

.cta-stats .stat-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8) !important;
    display: block;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--brand-dark);
    color: var(--white);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

[data-theme="dark"] .footer {
    background: #0a0f14;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 0.9fr 0.9fr 1.5fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    align-items: start;
}

/* Section 1: Branding */
.footer-brand {
    padding-right: var(--spacing-md);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--spacing-md);
}

.footer-logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ff914d, #4dbbfe);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -4px rgba(0, 0, 0, 0.2);
}

.footer-logo-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-logo-text {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #ff914d, #4dbbfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
}

.footer-logo-tagline {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    font-size: 15px;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    font-size: 18px;
    color: #ffffff !important;
}

.social-link i {
    color: #ffffff !important;
}

.social-link:hover {
    background: var(--brand-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 145, 77, 0.3);
}

.social-link:hover i {
    color: #ffffff !important;
}

/* Footer Columns */
.footer-column {
    min-width: 0;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: #ffffff !important;
}

[data-theme="dark"] .footer-title {
    color: #ffffff !important;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.footer-list a i {
    font-size: 14px;
    color: var(--brand-primary);
    width: 18px;
    transition: var(--transition-base);
}

.footer-list a:hover {
    color: var(--brand-primary);
    padding-left: 6px;
}

.footer-list a:hover i {
    transform: translateX(3px);
}

/* Section 5: CTA Section */
.footer-cta {
    background: rgba(30, 41, 59, 0.5);
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
}

[data-theme="dark"] .footer-cta {
    background: rgba(20, 28, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-cta:hover {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(255, 145, 77, 0.3);
}

[data-theme="dark"] .footer-cta:hover {
    background: rgba(20, 28, 40, 0.8);
}

.footer-cta-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: #ffffff !important;
}

[data-theme="dark"] .footer-cta-title {
    color: #ffffff !important;
}

.footer-cta-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-md);
    font-size: 14px;
    line-height: 1.6;
    max-width: 100%;
}

.footer-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 145, 77, 0.3);
    transition: var(--transition-base);
    width: 100%;
    max-width: 180px;
}

.footer-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 145, 77, 0.4);
}

.footer-cta-button i {
    font-size: 14px;
    transition: var(--transition-base);
}

.footer-cta-button:hover i {
    transform: translateX(3px);
}

/* Backward compatibility for old footer markup */
.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--brand-primary);
    padding-left: 4px;
}

.coming-soon {
    font-size: 11px;
    background: rgba(255, 145, 77, 0.2);
    color: var(--brand-primary);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    margin-left: 8px;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-bottom i {
    color: var(--brand-primary);
    margin: 0 4px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
}

/* ========================================
   LOADING OVERLAY
======================================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 34, 44, 0.95);
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.loading-overlay.active {
    display: flex;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 145, 77, 0.2);
    border-top-color: var(--brand-primary);
    border-radius: 50%;
    margin: 0 auto var(--spacing-md);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .compression-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .formats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        padding-bottom: var(--spacing-lg);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: var(--spacing-lg);
    }

    .footer-social {
        justify-content: center;
    }

    .footer-cta {
        grid-column: 1 / -1;
    }
}

/* Ensure mobile toggle is hidden on desktop */
@media (min-width: 993px) {
    .mobile-menu-toggle,
    .mobile-toggle {
        display: none !important;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .nav-actions .btn-outline,
    .nav-actions .btn-primary {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--card-bg);
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-xl);
        padding: 0 clamp(16px, 3vw, 24px);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .mobile-menu.show {
        max-height: 800px;
        padding: 16px clamp(16px, 3vw, 24px);
    }
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        margin-top: 0;
    }

    .dropdown-item {
        padding: 14px 16px;
    }

    .nav-actions .btn {
        display: none;
    }

    .hero {
        padding: calc(var(--spacing-2xl) + 80px) 0 var(--spacing-2xl);
        min-height: auto;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .upload-area {
        padding: var(--spacing-xl);
    }
    
    .upload-icon {
        font-size: 48px;
    }
    
    .upload-title {
        font-size: 20px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .formats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-connector {
        transform: rotate(90deg);
    }
    
    .comparison-row {
        grid-template-columns: 1fr;
    }
    
    .comparison-cell {
        border-bottom: 1px solid rgba(17, 34, 44, 0.1);
    }
    
    .comparison-cell:last-child {
        border-bottom: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-brand,
    .footer-column,
    .footer-cta {
        grid-column: 1;
        text-align: center;
    }

    .footer-brand {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: var(--spacing-lg);
        margin-bottom: var(--spacing-lg);
    }

    .footer-list a {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .upload-btn {
        padding: 14px 32px;
        font-size: 16px;
    }
    
    .cta-button.large {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .formats-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   UTILITIES
======================================== */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}
