* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #38bdf8;
    --primary-dark: #0ea5e9;
    --secondary-color: #7dd3fc;
    --accent-color: #22d3ee;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --bg-light: #f9fafb;
    --bg-card: #ffffff;
    --border-color: #e5e7eb;
    --border-radius: 12px;
    --max-file-size: 10485760;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */

nav {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(56, 189, 248, 0.08);
    border-bottom: 1px solid rgba(56, 189, 248, 0.1);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
}

nav.scrolled .logo-img {
    height: 38px;
}

.logo-text {
    font-size: 1.4em;
    font-weight: 700;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    padding: 10px 18px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-links a:hover {
    color: white;
    transform: translateY(-2px);
}

.nav-links a:hover::before {
    opacity: 1;
}

.nav-links a:last-child {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: white;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
    margin-left: 10px;
}

.nav-links a:last-child:hover {
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
    transform: translateY(-3px);
}

/* Mobile Menu Toggle */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
    .nav-links {
        display: none;
    }
    .nav-links.active {
        display: flex;
    }
}

/* Modern Hero Section */

.hero {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9em;
    font-weight: 500;
    margin-bottom: 25px;
    animation: fadeInDown 0.8s ease;
}

.hero h1 {
    font-size: 3.5em;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    animation: fadeInDown 0.8s ease 0.2s both;
}

.hero-highlight {
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25em;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 35px;
    animation: fadeInDown 0.8s ease 0.4s both;
}

.hero-security-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(16, 185, 129, 0.25);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(16, 185, 129, 0.4);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.5s both;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
}

.hero-security-badge .security-icon {
    font-size: 2.5em;
    color: #10b981;
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.hero-security-badge .security-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-security-badge .security-text strong {
    font-size: 1.1em;
    color: white;
    display: block;
}

.hero-security-badge .security-text span {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    animation: fadeIn 1s ease 0.8s both;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2.5em;
    font-weight: 700;
    display: block;
    text-align: center;
}

.stat-label {
    font-size: 0.95em;
    opacity: 0.9;
    text-align: center;
}

.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease 0.4s both;
}

.hero-image-container {
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-mockup {
    width: 100%;
    border-radius: 16px;
    background: white;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e5e7eb;
}

.mockup-content {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.mockup-icon {
    font-size: 60px;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.mockup-text {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 10px;
}

.mockup-subtext {
    color: var(--text-light);
    font-size: 0.9em;
}

.floating-element {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    font-weight: 600;
    color: var(--text-dark);
    animation: floatAround 4s ease-in-out infinite;
}

.floating-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.floating-2 {
    bottom: 15%;
    left: -15%;
    animation-delay: 1s;
}

@keyframes floatAround {
    0%,
    100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(10px, -10px);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Features Section */

.features-section {
    background: linear-gradient(135deg, #fdfcff 0%, #f8f9ff 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.features-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.features-header {
    text-align: center;
    margin-bottom: 50px;
}

.features-header h2 {
    font-size: 2.5em;
    font-weight: 700;
    background: linear-gradient(135deg, #1f2937, #374151);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.features-header p {
    font-size: 1.15em;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature-card {
    background: white;
    padding: 30px 25px;
    border-radius: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(139, 92, 246, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(6) {
    animation-delay: 0.6s;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03), rgba(124, 58, 237, 0.03));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(139, 92, 246, 0.2);
    border-color: #38bdf8;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #38bdf8;
    transition: all 0.4s ease;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
    color: #0ea5e9;
}

.feature-title {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-title {
    color: #38bdf8;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95em;
    position: relative;
    z-index: 1;
}

/* Content Section - SEO Rich Content */

.content-section {
    background: white;
    padding: 80px 0;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.content-header {
    text-align: center;
    margin-bottom: 60px;
}

.content-header h2 {
    font-size: 2.5em;
    font-weight: 700;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.content-header p {
    font-size: 1.2em;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.content-card {
    background: linear-gradient(135deg, #fdfcff 0%, #f8f9ff 100%);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
}

.content-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
    transform: translateY(-3px);
}

.content-card h3 {
    font-size: 1.8em;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-card h3 i {
    color: #38bdf8;
    font-size: 0.9em;
}

.content-card h4 {
    font-size: 1.3em;
    font-weight: 700;
    color: #374151;
    margin: 25px 0 15px 0;
}

.content-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05em;
    margin-bottom: 15px;
}

.content-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.content-card ul li {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05em;
    margin-bottom: 12px;
    padding-left: 35px;
    position: relative;
}

.content-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-card ul li::after {
    content: 'âœ“';
    position: absolute;
    left: 5px;
    top: 6px;
    color: white;
    font-size: 0.8em;
    font-weight: bold;
}

.content-card strong {
    color: #1f2937;
    font-weight: 700;
}

.content-link {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.content-link:hover {
    border-bottom-color: #2563eb;
    color: #1d4ed8;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(124, 58, 237, 0.05));
    border-left: 4px solid #38bdf8;
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
}

.highlight-box p {
    margin: 0;
    color: #374151;
    font-weight: 500;
}

.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 25px 0;
}

.column-box {
    background: white;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid rgba(139, 92, 246, 0.15);
}

.column-box h5 {
    font-size: 1.2em;
    font-weight: 700;
    color: #38bdf8;
    margin-bottom: 12px;
}

.feature-list {
    margin: 20px 0;
}

.feature-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.feature-list-item i {
    color: #38bdf8;
    font-size: 1.2em;
    margin-top: 3px;
    min-width: 20px;
}

.feature-list-item span {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.02em;
}

@media (max-width: 768px) {
    .content-section {
        padding: 60px 0;
    }
    .content-card {
        padding: 30px 25px;
    }
    .content-card h3 {
        font-size: 1.5em;
    }
    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .content-header h2 {
        font-size: 2em;
    }
}

/* Main Container */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
}

/* Compression Options */

.compression-options {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.option-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.option-card:hover {
    border-color: var(--primary-color);
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.option-title {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1em;
}

.option-value {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.95em;
}

.option-slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #e0e0e0;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    margin-bottom: 10px;
}

.option-slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.option-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.option-description {
    color: var(--text-light);
    font-size: 0.9em;
    margin-top: 10px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-toggle {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider-toggle:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked+.slider-toggle {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

input:checked+.slider-toggle:before {
    transform: translateX(24px);
}

/* Custom Size Options */

.custom-size-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-top: 25px;
    border: 2px solid #f59e0b;
}

.custom-size-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.usp-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    display: inline-block;
}

.custom-size-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.size-preset {
    background: white;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.size-preset:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.size-preset.active {
    border-color: var(--primary-color);
    background: #f0f9ff;
}

.size-preset-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.size-preset-desc {
    font-size: 0.85em;
    color: var(--text-light);
}

.custom-dimensions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.dimension-input {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dimension-input label {
    font-weight: 600;
    font-size: 0.9em;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 0.7em;
    cursor: help;
    font-weight: 700;
}

.dimension-input input,
.dimension-input select {
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
    background: white;
}

.dimension-input input:focus,
.dimension-input select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.target-size-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
}

.helper-text {
    font-size: 0.8em;
    color: var(--text-light);
    margin-top: 5px;
}

/* Download Queue Manager */

.download-manager {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    display: none;
}

.download-manager.active {
    display: block;
    animation: slideUpBottom 0.4s ease;
}

.download-manager-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.download-manager-title {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-item {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 2px solid var(--border-color);
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.download-item.completed {
    border-color: var(--success-color);
    background: #d1fae5;
}

.download-icon {
    font-size: 2em;
}

.download-info {
    flex: 1;
}

.download-filename {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.download-status {
    font-size: 0.9em;
    color: var(--text-light);
}

.download-progress {
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 8px;
}

.download-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--success-color), var(--primary-color));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.download-checkmark {
    color: var(--success-color);
    font-size: 1.5em;
    font-weight: 700;
}

/* Upload Section */

.upload-section {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.8em;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.section-subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.05em;
}

.upload-area {
    border: 3px dashed var(--primary-color);
    border-radius: var(--border-radius);
    padding: 60px 40px;
    text-align: center;
    background: var(--bg-light);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.upload-area:hover {
    border-color: var(--secondary-color);
    background: #f0f2ff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.upload-area.dragover {
    border-color: var(--secondary-color);
    background: #e8ebff;
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
}

.upload-icon {
    font-size: 72px;
    margin-bottom: 20px;
    color: #38bdf8;
    animation: bounce 2s infinite;
    pointer-events: none;
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.upload-text {
    font-size: 1.4em;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
    pointer-events: none;
}

.upload-hint {
    color: var(--text-light);
    font-size: 1em;
    margin-bottom: 15px;
    pointer-events: none;
}

.size-limit-info {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    margin-top: 10px;
    pointer-events: none;
}

.file-input {
    display: none;
}

/* Queue Management */

.queue-status {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: none;
}

.queue-status.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.queue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.queue-title {
    font-weight: 600;
    color: var(--text-dark);
}

.queue-progress {
    color: var(--primary-color);
    font-weight: 600;
}

.queue-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.queue-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    transition: width 0.3s ease;
}

.queue-info {
    font-size: 0.9em;
    color: var(--text-light);
}

/* Preview Section */

.preview-section {
    margin-bottom: 40px;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.images-count {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95em;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

/* Mobile override - prevent overflow */

@media (max-width: 768px) {
    .preview-grid {
        grid-template-columns: 1fr !important;
        min-width: 0 !important;
    }
    .preview-card {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .preview-card * {
        min-width: 0 !important;
        max-width: 100% !important;
    }
    .card-actions {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .image-comparison,
    .image-preview-box {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .info-row {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

.preview-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: cardSlideIn 0.4s ease;
    border: 2px solid transparent;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.preview-card.compressed {
    border-color: var(--success-color);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.preview-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.05em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    margin-right: 10px;
}

.badge-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.format-badge {
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 0.7em;
    font-weight: 700;
    white-space: nowrap;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: white;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.status-badge {
    padding: 5px 14px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge.pending {
    background: #dbeafe;
    color: #1e40af;
}

.status-badge.compressed {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.processing {
    background: #fed7aa;
    color: #9a3412;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.image-comparison {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.image-preview-box {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #e0e0e0;
}

.image-preview-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.image-label {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.75em;
    font-weight: 600;
}

.image-info {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-label {
    color: var(--text-light);
    font-weight: 500;
}

.info-value {
    color: var(--text-dark);
    font-weight: 600;
}

.savings-highlight {
    color: var(--success-color);
    font-weight: 700;
}

.card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.target-compress-toggle {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    border: 2px solid #f59e0b;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.target-compress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.target-compress-title {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.target-compress-inputs {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 8px;
    margin-top: 8px;
}

.target-compress-inputs input,
.target-compress-inputs select {
    padding: 8px 10px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.85em;
    background: white;
}

.target-compress-inputs input:focus,
.target-compress-inputs select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.mini-toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.mini-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.mini-slider-toggle {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 20px;
}

.mini-slider-toggle:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.mini-toggle-switch input:checked+.mini-slider-toggle {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.mini-toggle-switch input:checked+.mini-slider-toggle:before {
    transform: translateX(20px);
}

.btn-compress {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.btn-compress:hover:not(:disabled):not(.compressing) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-compress:disabled,
.btn-compress.compressing {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-compress.compressing {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.btn-compress.compressing i.fa-spinner {
    animation: spin 1s linear infinite;
}

.btn-preview {
    background: var(--warning-color);
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.btn-preview:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-download {
    background: var(--success-color);
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.btn-download:hover:not(:disabled) {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-download:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-download.dimmed {
    opacity: 0.5;
    background: #6ee7b7;
    cursor: not-allowed;
}

.btn-remove {
    background: #f3f4f6;
    color: var(--danger-color);
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
    grid-column: 1 / -1;
}

.btn-remove:hover {
    background: var(--danger-color);
    color: white;
}

.full-width {
    grid-column: 1 / -1;
}

/* Preview Modal */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.preview-modal {
    background: white;
    border-radius: 20px;
    max-width: 1100px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideUp 0.4s ease;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 30px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--text-dark);
}

.modal-close {
    background: var(--bg-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--danger-color);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
}

.comparison-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    background: #2d3748;
}

.comparison-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
    will-change: clip-path;
}

.image-before {
    z-index: 1;
}

.image-after {
    z-index: 2;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.comparison-slider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: white;
    cursor: ew-resize;
    z-index: 10;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    color: var(--primary-color);
}

.comparison-labels {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.comparison-label {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9em;
}

.modal-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
}

.detail-item {
    text-align: center;
}

.detail-value {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.detail-label {
    color: var(--text-light);
    font-size: 0.9em;
}

.modal-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.btn-large {
    padding: 16px 30px;
    font-size: 1.05em;
    border-radius: 10px;
}

/* Bottom Actions - NOT STICKY */

.bottom-actions {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    display: none;
}

.bottom-actions.active {
    display: block;
    animation: slideUpBottom 0.4s ease;
}

@keyframes slideUpBottom {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

/* Stats Summary */

.stats-summary {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 20px;
    display: none;
}

.stats-summary.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.stat-box {
    text-align: center;
}

.stat-value-display {
    font-size: 2em;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 5px;
}

.stat-label-display {
    color: #047857;
    font-weight: 500;
}

/* Alert Messages */

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: alertSlideIn 0.3s ease;
}

@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #dc2626;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border-left: 4px solid #f59e0b;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

/* Responsive Design */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-visual {
        order: -1;
    }
    .floating-element {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5em;
    }
    .hero-description {
        font-size: 1.1em;
    }
    .nav-links {
        display: none;
    }
    .preview-grid {
        grid-template-columns: 1fr;
    }
    .upload-area {
        padding: 40px 20px;
    }
    .actions-grid {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    .comparison-container {
        height: 300px;
    }
    .modal-header {
        padding: 20px;
    }
    .modal-body {
        padding: 20px;
    }
}

/* Loading Spinner */

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* How It Works Section */

.how-it-works-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: radial-gradient(circle at top center, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 50px;
    position: relative;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .steps-container {
        grid-template-columns: 1fr;
    }
}

.step-card {
    background: white;
    padding: 30px 25px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.step-card:nth-child(1) {
    animation-delay: 0.1s;
}

.step-card:nth-child(2) {
    animation-delay: 0.2s;
}

.step-card:nth-child(3) {
    animation-delay: 0.3s;
}

.step-card:nth-child(4) {
    animation-delay: 0.4s;
}

.step-card:nth-child(5) {
    animation-delay: 0.5s;
}

.step-card:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.step-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.25);
    border-color: #38bdf8;
}

.step-card:hover::before {
    opacity: 0.05;
}

.step-number {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: 700;
    margin: 0 auto 18px;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.35);
    position: relative;
    z-index: 1;
}

.step-number::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    opacity: 0.3;
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.step-icon {
    font-size: 2.8em;
    color: #38bdf8;
    margin-bottom: 18px;
    transition: all 0.4s ease;
    display: inline-block;
}

.step-card:hover .step-icon {
    transform: scale(1.15) rotate(5deg);
    color: #0ea5e9;
}

.step-title {
    font-size: 1.25em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.step-card:hover .step-title {
    color: #38bdf8;
}

.step-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.92em;
}

.step-badge {
    display: inline-block;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: white;
    padding: 5px 14px;
    border-radius: 18px;
    font-size: 0.75em;
    font-weight: 600;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Live Demo Section - Separated from How It Works */

.demo-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    isolation: isolate;
}

.demo-animation {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
    padding: 40px 35px;
    border-radius: 25px;
    margin-top: 50px;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

.demo-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.demo-container {
    position: relative;
    z-index: 1;
}

.demo-title {
    text-align: center;
    margin-bottom: 25px;
    color: white;
    font-size: 1.5em;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.demo-visual-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 25px;
    align-items: center;
    margin: 30px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .demo-visual-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.demo-image-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 20px;
    text-align: center;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.demo-image-card:hover {
    transform: translateZ(20px) rotateY(5deg);
}

.demo-image-card.before:hover {
    transform: translateZ(20px) rotateY(-5deg);
}

.demo-image-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border: 3px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2em;
    color: #7dd3fc;
    transition: all 0.4s ease;
}

.demo-image-card:hover .demo-image-icon {
    transform: scale(1.1) rotateZ(5deg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
}

.demo-label {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

.demo-size {
    font-size: 1.5em;
    color: white;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.demo-arrow {
    font-size: 2.5em;
    color: #7dd3fc;
    animation: bounce-horizontal 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(167, 139, 250, 0.5);
}

@keyframes bounce-horizontal {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
}

.demo-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0 25px;
    flex-wrap: wrap;
}

.demo-stat {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.demo-stat:nth-child(1) {
    animation-delay: 0.2s;
}

.demo-stat:nth-child(2) {
    animation-delay: 0.4s;
}

.demo-stat:nth-child(3) {
    animation-delay: 0.6s;
}

.demo-stat-value {
    font-size: 2em;
    font-weight: 700;
    color: #7dd3fc;
    text-shadow: 0 0 20px rgba(167, 139, 250, 0.5);
}

.demo-stat-label {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}

.demo-progress {
    width: 100%;
    max-width: 550px;
    height: 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    margin: 25px auto;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #38bdf8, #7dd3fc, #bae6fd);
    background-size: 200% 100%;
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
    animation: shimmer 2s linear infinite;
    position: relative;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.demo-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progress-shine 1.5s ease-in-out infinite;
}

@keyframes progress-shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.demo-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1em;
    margin-bottom: 8px;
    min-height: 28px;
}

.demo-info {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9em;
    margin-bottom: 25px;
}

.demo-btn {
    display: block;
    margin: 0 auto;
    padding: 14px 38px;
    background: linear-gradient(135deg, #38bdf8, #7dd3fc);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1em;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.demo-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.6);
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    border-color: rgba(255, 255, 255, 0.4);
}

.demo-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.demo-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(167, 139, 250, 0.6);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 0.5s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 1s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: 1.5s;
}

.particle:nth-child(5) {
    left: 50%;
    animation-delay: 2s;
}

.particle:nth-child(6) {
    left: 60%;
    animation-delay: 2.5s;
}

.particle:nth-child(7) {
    left: 70%;
    animation-delay: 0.7s;
}

.particle:nth-child(8) {
    left: 80%;
    animation-delay: 1.2s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(-100px) scale(1.5);
        opacity: 1;
    }
}

/* FAQ Section */

.faq-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.faq-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 35px;
    margin-top: 45px;
}

@media (max-width: 968px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.faq-categories {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.faq-category-card {
    background: white;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.faq-category-title {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-category-item {
    padding: 10px 16px;
    margin-bottom: 8px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.faq-category-item:hover {
    background: #f8f9ff;
    color: #38bdf8;
    transform: translateX(5px);
}

.faq-category-item.active {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.faq-category-icon {
    font-size: 1.2em;
}

.faq-items-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #f3f4f6;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.faq-item:nth-child(1) {
    animation-delay: 0.1s;
}

.faq-item:nth-child(2) {
    animation-delay: 0.15s;
}

.faq-item:nth-child(3) {
    animation-delay: 0.2s;
}

.faq-item:nth-child(4) {
    animation-delay: 0.25s;
}

.faq-item:nth-child(5) {
    animation-delay: 0.3s;
}

.faq-item:nth-child(6) {
    animation-delay: 0.35s;
}

.faq-item:nth-child(7) {
    animation-delay: 0.4s;
}

.faq-item:nth-child(8) {
    animation-delay: 0.45s;
}

.faq-item:nth-child(9) {
    animation-delay: 0.5s;
}

.faq-item:nth-child(10) {
    animation-delay: 0.55s;
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.15);
    border-color: #38bdf8;
    transform: translateX(5px);
}

.faq-item.active {
    border-color: #38bdf8;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.2);
}

.faq-question {
    padding: 22px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.05em;
    user-select: none;
    position: relative;
    transition: all 0.3s ease;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #38bdf8, #0ea5e9);
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item.active .faq-question::before {
    opacity: 1;
}

.faq-question-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.faq-number {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85em;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.faq-item:hover .faq-number {
    transform: scale(1.1);
}

.faq-question:hover {
    color: #38bdf8;
}

.faq-icon {
    font-size: 1.2em;
    color: #38bdf8;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #0ea5e9;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 28px 0 73px;
}

.faq-item.active .faq-answer {
    max-height: 600px;
    padding: 0 28px 25px 73px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1em;
    position: relative;
    padding-left: 18px;
}

.faq-answer p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 4px;
    height: 4px;
    background: #38bdf8;
    border-radius: 50%;
}

.faq-search {
    margin-bottom: 30px;
    position: relative;
}

.faq-search input {
    width: 100%;
    padding: 16px 50px 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: white;
}

.faq-search input:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.faq-search-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #38bdf8;
    font-size: 1.2em;
}

.faq-badge {
    display: inline-block;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 600;
    margin-left: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* About Us Section */

.about-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 50%, #ffffff 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 1;
}

.about-hero h2 {
    font-size: 2.5em;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #1f2937, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero-subtitle {
    font-size: 1.2em;
    color: var(--text-light);
    line-height: 1.7;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.about-mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 50px 0;
}

@media (max-width: 968px) {
    .about-mission-grid {
        grid-template-columns: 1fr;
    }
}

.mission-card {
    background: white;
    padding: 32px 25px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #38bdf8, #0ea5e9);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.mission-card:hover::before {
    transform: scaleX(1);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
    border-color: #38bdf8;
}

.mission-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8em;
    color: white;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
    transition: transform 0.4s ease;
}

.mission-card:hover .mission-icon {
    transform: scale(1.1) rotate(10deg);
}

.mission-title {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.mission-desc {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95em;
}

.about-stats-section {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    padding: 45px;
    border-radius: 25px;
    margin: 50px 0;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.about-stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

@media (max-width: 968px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-card {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.stat-card:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-card:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-card:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-card:nth-child(4) {
    animation-delay: 0.4s;
}

.stat-number {
    font-size: 2.5em;
    font-weight: 700;
    color: #7dd3fc;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(167, 139, 250, 0.5);
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95em;
    font-weight: 500;
}

.team-section {
    margin: 60px 0 40px;
}

.team-header {
    text-align: center;
    margin-bottom: 40px;
}

.team-header h3 {
    font-size: 2.2em;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.team-header p {
    font-size: 1.1em;
    color: var(--text-light);
}

.team-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.team-card {
    background: white;
    padding: 50px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid #f3f4f6;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.team-card:hover::before {
    opacity: 0.05;
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.25);
    border-color: #38bdf8;
}

.team-card>* {
    position: relative;
    z-index: 1;
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    position: relative;
}

.team-avatar-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    color: white;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
    transition: transform 0.4s ease;
    position: relative;
    overflow: hidden;
}

.team-card:hover .team-avatar-circle {
    transform: scale(1.1) rotate(10deg);
}

.team-avatar-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%,
    100% {
        transform: translateX(-100%) translateY(-100%);
    }
    50% {
        transform: translateX(100%) translateY(100%);
    }
}

.team-name {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.team-role {
    font-size: 1em;
    color: #38bdf8;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-bio {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    transition: all 0.3s ease;
    font-size: 1.1em;
}

.team-social a:hover {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

/* Team Section Responsive */

@media (max-width: 768px) {
    .team-grid {
        max-width: 100%;
        padding: 0 20px;
    }
    .team-card {
        padding: 35px 25px;
    }
    .team-avatar {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }
    .team-avatar-circle {
        font-size: 2.5em;
    }
    .team-name {
        font-size: 1.3em;
    }
    .team-role {
        font-size: 0.9em;
    }
    .team-bio {
        font-size: 0.95em;
    }
}

.about-cta {
    text-align: center;
    margin-top: 80px;
    padding: 60px 40px;
    background: linear-gradient(135deg, #f8f9ff, #ffffff);
    border-radius: 30px;
    border: 2px solid #e5e7eb;
}

.about-cta h3 {
    font-size: 2em;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-cta p {
    font-size: 1.1em;
    color: var(--text-light);
    margin-bottom: 30px;
}

.about-cta-btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: white;
    border-radius: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.3);
}

.about-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
}

/* Contact Section */

.contact-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 45px;
    margin-top: 45px;
    position: relative;
    z-index: 1;
}

@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 18px;
    align-items: start;
    padding: 22px;
    background: white;
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.6s ease forwards;
}

.contact-item:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-item:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-item:nth-child(3) {
    animation-delay: 0.3s;
}

.contact-item:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-item:hover {
    transform: translateX(5px);
    border-color: #38bdf8;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-details h3 {
    font-size: 1.2em;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95em;
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 22px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid #f3f4f6;
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #38bdf8, #0ea5e9);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 1.6em;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-light);
    font-size: 0.95em;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.92em;
}

.form-group label .required {
    color: #ef4444;
    margin-left: 3px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1em;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #f9fafb;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #38bdf8;
    background: white;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-success,
.form-error {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: none;
    align-items: center;
    gap: 10px;
    animation: fadeIn 0.3s ease;
}

.form-success {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.form-error {
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

.form-success.show,
.form-error.show {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */

footer {
    background: #1f2937;
    color: #e5e7eb;
    padding: 60px 0 20px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand .footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-brand p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* Sticky Action Buttons */

.sticky-buttons {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sticky-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sticky-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.sticky-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.sticky-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.sticky-btn:hover::before {
    width: 300px;
    height: 300px;
}

.sticky-btn i {
    position: relative;
    z-index: 1;
}

.scroll-top-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.scroll-top-btn:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.compress-now-btn {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.compress-now-btn:hover {
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

/* Mobile Responsive for Sticky Buttons */

@media (max-width: 768px) {
    .sticky-buttons {
        bottom: 80px;
        right: 15px;
        gap: 10px;
    }
    .sticky-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .sticky-buttons {
        bottom: 70px;
        right: 12px;
        gap: 8px;
    }
    .sticky-btn {
        width: 48px;
        height: 48px;
        font-size: 1.1em;
    }
}

/* AdSense Placeholders */

.ad-container {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin: 30px 0;
    color: #6c757d;
    font-size: 0.9em;
}

/* Responsive Updates */

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .steps-container {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .about-stats {
        grid-template-columns: 1fr;
    }
}

/* Scrollbar Styling */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ======================================== COMPREHENSIVE RESPONSIVE DESIGN Mobile-First Optimization ======================================== */

/* Tablet & Small Desktop (max-width: 1024px) */

@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .preview-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    .compression-controls {
        padding: 25px;
    }
    .modal-content {
        width: 90%;
        margin: 30px auto;
    }
}

/* Tablet Portrait (max-width: 768px) */

@media (max-width: 768px) {
    body {
        font-size: 17px;
    }
    .container {
        max-width: 100% !important;
        padding: 20px 20px;
        width: 100%;
    }
    /* Remove all max-width constraints for app-like feel */
    * {
        max-width: 100%;
    }
    section,
    .hero-container,
    .features-container,
    .how-it-works-section,
    .faq-container,
    .about-section,
    .contact-section,
    .content-section {
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    /* Live Demo - Reduced Side MARGINS at 768px */
    .demo-animation {
        max-width: 100% !important;
        padding: 40px 30px !important;
        margin-left: 8px !important;
        margin-right: 8px !important;
    }
    .demo-container {
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    /* Navigation */
    nav {
        padding: 12px 0px;
    }
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px 15px;
        gap: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 998;
    }
    .nav-links.active {
        display: flex !important;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-links a {
        width: 100%;
        text-align: left;
        padding: 14px 15px;
        justify-content: flex-start;
        margin: 0;
    }
    .logo-img {
        height: 35px;
    }
    .logo-text {
        font-size: 1.1em;
    }
    /* Features Section */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .feature-card {
        padding: 25px 20px;
    }
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8em;
    }
    /* Upload Section */
    .upload-section {
        padding: 30px 0;
    }
    .section-title {
        font-size: 1.8em;
    }
    /* Compression Controls */
    .control-group {
        margin-bottom: 20px;
    }
    .control-label {
        font-size: 0.95em;
    }
    /* USP Badge - Smaller on Mobile */
    .usp-badge {
        font-size: 0.8em !important;
        padding: 5px 15px !important;
        white-space: nowrap !important;
        display: inline-block !important;
    }
    /* Preview Cards - Fixed Overflow */
    .preview-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    .preview-header {
        padding: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .preview-grid {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
    }
    .preview-card {
        padding: 18px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .preview-card * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .card-actions {
        gap: 10px;
    }
    .card-actions button {
        font-size: 0.9em;
        padding: 10px 16px;
    }
    /* Bottom Actions */
    .bottom-actions {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
    }
    .actions-left,
    .actions-right {
        width: 100%;
        justify-content: center;
    }
    .actions-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    /* Modals */
    .modal-content {
        width: 95%;
        padding: 25px 20px;
        margin: 20px auto;
    }
    .modal-header h2 {
        font-size: 1.5em;
    }
    .comparison-slider {
        height: 300px;
    }
    /* Content Sections */
    .content-card {
        padding: 25px 20px;
    }
    .content-card h3 {
        font-size: 1.5em;
    }
    .content-card h4 {
        font-size: 1.2em;
    }
    .two-column-grid {
        grid-template-columns: 1fr;
    }
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .footer-section {
        text-align: center;
    }
    .footer-links {
        align-items: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Mobile Landscape & Large Phones (max-width: 640px) */

@media (max-width: 640px) {
    .container {
        padding: 0 12px;
    }
    /* Hero Section */
    .hero {
        padding: 40px 0;
    }
    .hero h1 {
        font-size: 2.3em;
        line-height: 1.3;
    }
    .hero-description {
        font-size: 1.1em;
        line-height: 1.6;
    }
    .hero-badge {
        font-size: 0.9em;
        padding: 9px 18px;
    }
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .btn {
        width: 100%;
        justify-content: center;
        font-size: 1em;
    }
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .stat-card {
        padding: 22px;
    }
    .stat-value {
        font-size: 2.2em;
    }
    .stat-label {
        font-size: 1em;
    }
    /* Upload Area */
    .upload-area {
        padding: 35px 20px;
    }
    .upload-icon {
        font-size: 2.5em;
    }
    .upload-text {
        font-size: 1.1em;
    }
    .upload-hint {
        font-size: 0.9em;
    }
    /* Compression Controls */
    .compression-controls {
        padding: 20px 18px;
    }
    .controls-grid {
        grid-template-columns: 1fr;
    }
    .control-group label {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .custom-size-inputs {
        grid-template-columns: 1fr;
    }
    /* USP Badge - Smaller on Mobile */
    .usp-badge {
        font-size: 0.75em !important;
        padding: 5px 14px !important;
        white-space: nowrap !important;
        display: inline-block !important;
    }
    /* Preview Grid - Fixed Overflow */
    .preview-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    .preview-header {
        padding: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .preview-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        display: grid !important;
    }
    .preview-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
    .preview-card * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    /* How It Works */
    .how-it-works-section h2 {
        font-size: 2.3em;
    }
    .steps-container {
        gap: 25px;
    }
    .step-card {
        padding: 25px 20px;
    }
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5em;
    }
    .step-icon {
        font-size: 2em;
    }
    .step-title {
        font-size: 1.3em;
    }
    .step-description {
        font-size: 1em;
    }
    /* Live Demo - Reduced Side MARGINS */
    .demo-animation {
        padding: 38px 30px !important;
        margin-left: 5px !important;
        margin-right: 5px !important;
    }
    .demo-container {
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .demo-image-card {
        width: 140px;
        height: 140px;
    }
    .demo-arrow {
        font-size: 2em;
    }
    .demo-stat-value {
        font-size: 2em;
    }
    /* FAQ Section */
    .faq-search {
        padding: 14px 45px 14px 18px;
        font-size: 1em;
    }
    .faq-category-card {
        padding: 15px 20px;
        margin-bottom: 15px;
    }
    .faq-items-wrapper {
        gap: 18px;
    }
    .faq-item {
        margin-bottom: 18px;
    }
    .faq-question {
        padding: 20px 18px;
    }
    .faq-number {
        width: 38px;
        height: 38px;
        font-size: 1em;
    }
    .faq-question span {
        font-size: 1.1em;
    }
    .faq-answer {
        padding: 20px 18px;
    }
    .faq-answer p {
        font-size: 1.05em;
        line-height: 1.7;
    }
    /* About Section */
    .about-hero h2 {
        font-size: 2em;
    }
    .mission-card {
        padding: 25px 20px;
    }
    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .stat-number {
        font-size: 2.2em;
    }
    /* Contact Section */
    .contact-item {
        padding: 25px 20px;
    }
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5em;
    }
    .form-group {
        margin-bottom: 18px;
    }
    .form-group input,
    .form-group textarea {
        font-size: 15px;
        padding: 12px 15px;
    }
}

/* Mobile Portrait (max-width: 480px) - Medium App Design */

@media (max-width: 480px) {
    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    body {
        font-size: 16px !important;
        -webkit-font-smoothing: antialiased;
    }
    /* Medium-sized container */
    .container {
        max-width: 100% !important;
        padding: 15px 15px !important;
        width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    /* Ensure preview section respects container bounds */
    .container .preview-section {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    /* Remove all section max-widths with medium padding */
    section,
    .hero-container,
    .features-container,
    .demo-container,
    .faq-container,
    .about-section,
    .contact-section,
    .content-section,
    .how-it-works-section {
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
    }
    /* Navigation */
    .logo-img {
        height: 40px;
        margin-left: -18px;
        margin-right: 5px;
    }
    .logo-text {
        font-size: 1.3em;
    }
    .mobile-menu-toggle {
        width: 38px;
        height: 38px;
        margin-right: -18px;
    }
    /* Hero Section - Medium Size */
    .hero {
        padding: 40px 15px !important;
        max-width: 100% !important;
    }
    .hero-container {
        padding: 0 15px !important;
        max-width: 100% !important;
    }
    .hero h1 {
        font-size: 2.4em !important;
        line-height: 1.25 !important;
        font-weight: 700 !important;
        margin-bottom: 20px !important;
    }
    .hero-description {
        font-size: 1.15em !important;
        line-height: 1.6 !important;
        margin-bottom: 30px !important;
    }
    .hero-badge {
        font-size: 0.95em !important;
        padding: 10px 20px !important;
        margin-bottom: 25px !important;
    }
    .hero-cta {
        gap: 15px !important;
        margin-bottom: 40px !important;
    }
    .hero-cta .btn {
        padding: 16px 28px !important;
        font-size: 1.05em !important;
        font-weight: 600 !important;
        min-height: 50px !important;
        border-radius: 14px !important;
    }
    /* Hero Stats - Horizontal Layout: 2 up, 1 below centered */
    .hero-stats {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        padding: 0 15px !important;
        margin-top: 30px !important;
    }
    .stat-item {
        width: 100% !important;
    }
    /* Third stat below, centered */
    .stat-item:nth-child(3) {
        grid-column: 1 / -1 !important;
        max-width: 180px !important;
        margin: 0 auto !important;
        margin-top: 8px !important;
    }
    .stat-card {
        padding: 24px 22px !important;
        border-radius: 18px !important;
    }
    .stat-value {
        font-size: 2.3em !important;
        font-weight: 700 !important;
    }
    .stat-label {
        font-size: 1.05em !important;
        font-weight: 500 !important;
    }
    .hero-visual {
        display: none;
    }
    /* Section Titles - Medium Size */
    .section-title {
        font-size: 2.em !important;
        font-weight: 700 !important;
        margin-bottom: 15px !important;
        line-height: 1.25 !important;
        padding-top: 15px;
        padding-left: 15px;
        padding-right: 15px;
        text-align: center;
    }
    .section-subtitle {
        font-size: 1.em !important;
        line-height: 1.6 !important;
        margin-bottom: 30px !important;
        text-align: center;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Upload Area - Medium Size */
    .upload-section {
        padding: 10px 15px !important;
        padding-bottom: 30px !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.0);
    }
    .upload-area {
        padding: 40px 20px !important;
        border-radius: 18px !important;
    }
    .upload-icon {
        font-size: 2.8em !important;
        margin-bottom: 20px !important;
    }
    .upload-text {
        font-size: 1.25em !important;
        font-weight: 600 !important;
        margin-bottom: 12px !important;
    }
    .upload-hint {
        font-size: 1.05em !important;
        margin-bottom: 12px !important;
    }
    .size-limit-info {
        font-size: 0.95em !important;
        padding: 10px 18px !important;
    }
    /* Compression Controls - Fix Narrow Width & Wide Gaps */
    .compression-controls {
        padding: 25px 20px !important;
        border-radius: 18px !important;
        margin: 25px 15px !important;
        max-width: 100% !important;
        width: calc(100% - 30px) !important;
    }
    .compression-options {
        padding: 15px;
        box-shadow: 0 4px 20px rgba(255, 255, 255, 0);
        padding-bottom: 40px !important;
    }
    .info-icon {
        margin-left: 2px;
    }
    .controls-grid {
        gap: 20px !important;
        width: 100% !important;
    }
    .control-group {
        width: 100% !important;
        margin-bottom: 22px !important;
    }
    .control-section-title {
        font-size: 1.3em !important;
        font-weight: 600 !important;
        margin-bottom: 20px !important;
    }
    .control-label {
        font-size: 1.05em !important;
        font-weight: 500 !important;
        margin-bottom: 12px !important;
    }
    .quality-value {
        font-size: 1.5em !important;
        font-weight: 700 !important;
    }
    .quality-slider {
        height: 8px !important;
        margin: 15px 0 !important;
        width: 100% !important;
    }
    /* Custom Size Inputs - Fix Narrow Width */
    .custom-size-inputs {
        gap: 12px !important;
        width: 100% !important;
    }
    .custom-size-section {
        padding: 20px;
    }
    /* Custom Size Header - Prevent Wrapping */
    .custom-size-header {
        flex-wrap: nowrap !important;
        gap: 10px !important;
        align-items: center !important;
    }
    .custom-size-header .option-title {
        flex: 1 !important;
        min-width: 0 !important;
        white-space: normal !important;
    }
    /* USP Badge - Smaller on Mobile */
    .usp-badge {
        font-size: 0.7em !important;
        padding: 8px 14px !important;
        white-space: nowrap !important;
        display: inline-block !important;
        flex-shrink: 0 !important;
    }
    .custom-size-inputs input {
        flex: 1 !important;
        min-width: 0 !important;
        padding: 12px 16px !important;
        font-size: 1em !important;
    }
    .custom-size-inputs select {
        padding: 12px 16px !important;
        font-size: 1em !important;
    }
    .controls-grid .control-group input,
    .controls-grid .control-group select {
        width: 100% !important;
        padding: 12px 16px !important;
        font-size: 1em !important;
        box-sizing: border-box !important;
    }
    /* Preview Cards - Medium Size - Fixed Overflow */
    .preview-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    .preview-header {
        padding: 0 !important;
        margin: 0 0 20px 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .preview-grid {
        gap: 20px !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
    }
    .preview-card {
        padding: 20px !important;
        border-radius: 16px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    /* Fix any internal card elements that might overflow */
    .preview-card * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .image-comparison,
    .image-preview-box {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .image-preview-box img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        display: block !important;
    }
    .card-header,
    .card-actions {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .card-actions button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .preview-name {
        font-size: 1.05em !important;
        font-weight: 600 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    .status-badge,
    .format-badge {
        font-size: 0.8em !important;
        padding: 6px 12px !important;
        font-weight: 600 !important;
    }
    .info-label,
    .info-value {
        font-size: 1em !important;
    }
    .card-actions {
        gap: 10px !important;
        margin-top: 18px !important;
    }
    .card-actions button {
        padding: 14px 20px !important;
        font-size: 1em !important;
        font-weight: 600 !important;
        min-height: 46px !important;
        border-radius: 12px !important;
    }
    .btn-compress,
    .btn-download {
        width: 100% !important;
    }
    /* Bottom Actions - Medium Size */
    .bottom-actions {
        padding: 20px 15px !important;
        gap: 15px !important;
    }
    .bottom-actions .btn {
        padding: 16px 24px !important;
        font-size: 1.05em !important;
        font-weight: 600 !important;
        min-height: 50px !important;
        border-radius: 14px !important;
    }
    /* Queue Status - App Design */
    .queue-status {
        padding: 20px 25px !important;
        border-radius: 16px !important;
        margin: 20px !important;
    }
    .queue-info {
        font-size: 1.1em !important;
        font-weight: 600 !important;
    }
    /* Download Manager - App Design */
    .download-manager {
        max-width: 100% !important;
        margin: 20px !important;
        border-radius: 24px !important;
    }
    .download-header h3 {
        font-size: 1.6em !important;
        font-weight: 700 !important;
    }
    .download-item {
        padding: 22px 25px !important;
        border-radius: 16px !important;
    }
    /* Modal - App Design */
    .modal-content {
        width: 98% !important;
        padding: 30px 25px !important;
        max-height: 90vh !important;
        border-radius: 24px !important;
    }
    .modal-header h2 {
        font-size: 1.8em !important;
        font-weight: 700 !important;
    }
    .close-modal {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.8em !important;
        border-radius: 12px !important;
    }
    .comparison-slider {
        height: 300px !important;
        border-radius: 16px !important;
    }
    .slider-handle {
        width: 45px !important;
        height: 45px !important;
        border-radius: 50% !important;
    }
    .modal-details {
        padding: 25px !important;
    }
    .detail-item {
        font-size: 1.15em !important;
        padding: 15px 0 !important;
    }
    .modal-actions {
        flex-direction: column !important;
        gap: 15px !important;
        margin-top: 25px !important;
    }
    .modal-actions .btn {
        width: 100% !important;
        padding: 20px 32px !important;
        font-size: 1.2em !important;
        font-weight: 600 !important;
        min-height: 60px !important;
        border-radius: 16px !important;
    }
    /* Content Sections */
    .content-section {
        padding: 50px 0;
    }
    .content-header h2 {
        font-size: 2.2em;
    }
    .content-header p {
        font-size: 1.05em;
    }
    .content-card {
        padding: 25px 18px;
    }
    .content-card h3 {
        font-size: 1.5em;
    }
    .content-card h4 {
        font-size: 1.25em;
    }
    .content-card p,
    .content-card li {
        font-size: 1em;
    }
    .feature-list-item {
        padding: 18px;
    }
    .feature-list-item i {
        font-size: 1.5em;
    }
    /* Features Section - Optimized Size */
    .features-section {
        padding: 40px 15px !important;
        max-width: 100% !important;
    }
    .features-header {
        margin-bottom: 30px !important;
    }
    .features-header h2 {
        font-size: 2.1em !important;
        font-weight: 700 !important;
        margin-bottom: 10px !important;
    }
    .features-header p {
        font-size: 1.1em !important;
    }
    .features-grid {
        gap: 18px !important;
    }
    .feature-card {
        padding: 22px 18px !important;
        border-radius: 16px !important;
    }
    .feature-icon {
        width: 58px !important;
        height: 58px !important;
        font-size: 1.8em !important;
        margin-bottom: 16px !important;
    }
    .feature-title {
        font-size: 1.25em !important;
        font-weight: 700 !important;
        margin-bottom: 12px !important;
    }
    .feature-description {
        font-size: 1em !important;
        line-height: 1.6 !important;
    }
    /* How It Works - Medium Size */
    .how-it-works-section {
        padding: 45px 15px !important;
        max-width: 100% !important;
    }
    .how-it-works-section h2 {
        font-size: 2.3em !important;
        font-weight: 700 !important;
        margin-bottom: 40px !important;
    }
    .steps-container {
        gap: 24px !important;
    }
    .step-card {
        padding: 26px 22px !important;
        border-radius: 18px !important;
    }
    .step-number {
        width: 55px !important;
        height: 55px !important;
        font-size: 1.6em !important;
        font-weight: 700 !important;
        margin-bottom: 20px !important;
    }
    .step-icon {
        font-size: 2.2em !important;
        margin-bottom: 20px !important;
    }
    .step-title {
        font-size: 1.35em !important;
        font-weight: 700 !important;
        margin-bottom: 15px !important;
    }
    .step-description {
        font-size: 1.05em !important;
        line-height: 1.6 !important;
    }
    .step-badge {
        font-size: 0.8em !important;
        padding: 6px 14px !important;
        font-weight: 600 !important;
        margin-top: 18px !important;
    }
    /* Live Demo - Optimized Size - Reduced Side MARGINS */
    .demo-animation {
        padding: 35px 25px !important;
        max-width: 100% !important;
        margin: 12px !important;
    }
    .content-container {
        padding: 0 5px;
    }
    .demo-container {
        padding: 0 !important;
        max-width: 100% !important;
    }
    .demo-title {
        font-size: 1.4em !important;
        font-weight: 700 !important;
        margin-bottom: 30px !important;
    }
    .demo-visual-wrapper {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 15px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        width: 100% !important;
    }
    .demo-image-card {
        width: 120px !important;
        height: 120px !important;
        border-radius: 16px !important;
        padding: 20px !important;
    }
    .demo-image-icon {
        font-size: 2.5em !important;
    }
    .demo-label {
        font-size: 0.85em !important;
        font-weight: 600 !important;
        margin-top: 25px !important;
    }
    .demo-size {
        font-size: 1em !important;
        font-weight: 500 !important;
    }
    .demo-arrow {
        font-size: 2em !important;
    }
    .demo-stats {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        margin-bottom: 18px !important;
        margin-top: 70px !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding: 0 !important;
    }
    .demo-stat {
        padding: 16px !important;
        border-radius: 14px !important;
        margin-top: 0 !important;
    }
    /* Make Quality Retained span full width or be centered - Reduced gap from above */
    .demo-stat:nth-child(3) {
        grid-column: 1 / -1 !important;
        max-width: 180px !important;
        margin: 0 auto !important;
        margin-top: -12px !important;
    }
    .demo-stat-value {
        font-size: 2em !important;
        font-weight: 700 !important;
    }
    .demo-stat-label {
        font-size: 0.95em !important;
        font-weight: 500 !important;
    }
    .demo-progress {
        margin: 18px auto !important;
    }
    .demo-text,
    .demo-info {
        font-size: 0.95em !important;
        margin-top: 15px !important;
    }
    /* FAQ Section - Medium Size */
    .faq-section {
        padding: 45px 15px !important;
        max-width: 100% !important;
    }
    .faq-container {
        padding: 0 15px !important;
        max-width: 100% !important;
    }
    .faq-header {
        margin-bottom: 35px !important;
    }
    .faq-header h2 {
        font-size: 2.3em !important;
        font-weight: 700 !important;
        margin-bottom: 12px !important;
    }
    .faq-header p {
        font-size: 1.15em !important;
    }
    .faq-search {
        padding: 14px 45px 14px 20px !important;
        font-size: 1.05em !important;
        border-radius: 14px !important;
        margin-bottom: 25px !important;
    }
    .faq-category-card {
        padding: 12px 18px !important;
        margin-bottom: 12px !important;
        border-radius: 12px !important;
    }
    .faq-category-title {
        font-size: 0.95em !important;
        font-weight: 600 !important;
        margin-bottom: 10px !important;
    }
    .faq-items-wrapper {
        gap: 14px !important;
        margin-top: 14px !important;
    }
    .faq-item {
        margin-bottom: 14px !important;
        border-radius: 12px !important;
    }
    .faq-question {
        padding: 18px 18px !important;
        border-radius: 14px !important;
        min-height: 56px !important;
    }
    .faq-number {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.95em !important;
        font-weight: 700 !important;
    }
    .faq-question span {
        font-size: 0.90em !important;
        font-weight: 600 !important;
    }
    /* FAQ Answer - Hidden by default, only show when active */
    .faq-answer {
        max-height: 0 !important;
        overflow: hidden !important;
        padding: 0 18px 0 54px !important;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease !important;
    }
    .faq-item.active .faq-answer {
        max-height: 600px !important;
        padding: 0 18px 18px 54px !important;
    }
    .faq-answer p {
        font-size: 1.05em !important;
        line-height: 1.7 !important;
    }
    /* FAQ Badges - Optimized Size */
    .faq-category-item {
        padding: 10px 16px !important;
        font-size: 0.9em !important;
        border-radius: 12px !important;
    }
    .faq-category-icon {
        font-size: 1em !important;
    }
    /* About Section - Optimized for Mobile */
    .about-section {
        padding: 40px 15px !important;
        max-width: 100% !important;
    }
    .about-hero {
        padding: 0 !important;
        margin-bottom: 30px !important;
        text-align: center !important;
    }
    .about-hero h2 {
        font-size: 1.8em !important;
        font-weight: 700 !important;
        margin-bottom: 10px !important;
        line-height: 1.2 !important;
    }
    .about-hero-subtitle {
        font-size: 1em !important;
        line-height: 1.6 !important;
        color: var(--text-light) !important;
    }
    .about-content {
        padding: 0 !important;
        gap: 30px !important;
        margin-top: 30px !important;
    }
    .about-mission-grid {
        gap: 16px !important;
        margin: 25px 0 !important;
    }
    .mission-card {
        padding: 20px 18px !important;
        border-radius: 14px !important;
    }
    .mission-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.4em !important;
        margin-bottom: 14px !important;
    }
    .mission-title {
        font-size: 1.15em !important;
        font-weight: 700 !important;
        margin-bottom: 10px !important;
        line-height: 1.3 !important;
    }
    .mission-desc {
        font-size: 0.9em !important;
        line-height: 1.6 !important;
        color: var(--text-light) !important;
    }
    .about-stats-section {
        padding: 30px 18px !important;
        border-radius: 18px !important;
        margin: 30px 0 !important;
    }
    .about-stats {
        gap: 16px !important;
    }
    .stat-card {
        padding: 18px 14px !important;
        border-radius: 14px !important;
    }
    .stat-number {
        font-size: 2em !important;
        font-weight: 700 !important;
        margin-bottom: 6px !important;
    }
    .stat-label {
        font-size: 0.9em !important;
        font-weight: 500 !important;
    }
    .team-section {
        margin: 35px 0 25px !important;
    }
    .team-header {
        margin-bottom: 25px !important;
        text-align: center !important;
    }
    .team-header h3 {
        font-size: 1.8em !important;
        font-weight: 700 !important;
        margin-bottom: 10px !important;
    }
    .team-header p {
        font-size: 0.95em !important;
        color: var(--text-light) !important;
    }
    .team-grid {
        max-width: 100% !important;
        padding: 0 !important;
    }
    .team-card {
        padding: 28px 20px !important;
        border-radius: 18px !important;
        margin: 0 !important;
    }
    .team-name {
        font-size: 1.3em !important;
        font-weight: 700 !important;
        margin-bottom: 6px !important;
    }
    .team-role {
        font-size: 0.85em !important;
        font-weight: 600 !important;
        margin-bottom: 14px !important;
    }
    .team-bio {
        font-size: 0.9em !important;
        line-height: 1.6 !important;
        margin-bottom: 18px !important;
        color: var(--text-light) !important;
    }
    .team-social {
        gap: 12px !important;
    }
    .team-social a {
        width: 38px !important;
        height: 38px !important;
        font-size: 1em !important;
    }
    .about-cta {
        padding: 30px 20px !important;
        margin-top: 30px !important;
        border-radius: 16px !important;
        text-align: center !important;
    }
    .about-cta h3 {
        font-size: 1.7em !important;
        font-weight: 700 !important;
        margin-bottom: 12px !important;
    }
    .about-cta p {
        font-size: 0.95em !important;
        margin-bottom: 18px !important;
    }
    .about-cta-btn {
        padding: 14px 28px !important;
        font-size: 1em !important;
        border-radius: 12px !important;
        min-height: 48px !important;
    }
    /* Contact Section - Optimized for Mobile */
    .contact-section {
        padding: 40px 15px !important;
        max-width: 100% !important;
    }
    .contact-hero {
        text-align: center !important;
        margin-bottom: 30px !important;
    }
    .contact-hero h2 {
        font-size: 2em !important;
        font-weight: 700 !important;
        margin-bottom: 10px !important;
    }
    .contact-hero-subtitle {
        font-size: 1em !important;
        color: var(--text-light) !important;
    }
    .contact-content {
        padding: 0 !important;
        gap: 25px !important;
        margin-top: 25px !important;
    }
    .contact-info {
        gap: 12px !important;
    }
    .contact-item {
        padding: 18px 16px !important;
        border-radius: 14px !important;
        margin-bottom: 12px !important;
        gap: 14px !important;
        flex-direction: row !important;
        align-items: flex-start !important;
    }
    .contact-icon {
        width: 48px !important;
        height: 48px !important;
        font-size: 1.3em !important;
        border-radius: 12px !important;
        flex-shrink: 0 !important;
    }
    .contact-details {
        flex: 1 !important;
        min-width: 0 !important;
    }
    .contact-details h3 {
        font-size: 1.1em !important;
        font-weight: 700 !important;
        margin-bottom: 6px !important;
        line-height: 1.3 !important;
    }
    .contact-details p {
        font-size: 0.9em !important;
        line-height: 1.5 !important;
        color: var(--text-light) !important;
        word-wrap: break-word !important;
    }
    .contact-form-wrapper {
        padding: 25px 20px !important;
        border-radius: 16px !important;
        margin-top: 20px !important;
    }
    .form-header {
        margin-bottom: 20px !important;
        text-align: center !important;
    }
    .form-header h3 {
        font-size: 1.5em !important;
        font-weight: 700 !important;
        margin-bottom: 8px !important;
    }
    .form-header p {
        font-size: 0.95em !important;
        color: var(--text-light) !important;
    }
    .form-group {
        margin-bottom: 16px !important;
    }
    .form-group label {
        font-size: 0.95em !important;
        font-weight: 600 !important;
        margin-bottom: 8px !important;
        color: var(--text-dark) !important;
    }
    .form-group input,
    .form-group textarea {
        font-size: 1em !important;
        padding: 12px 16px !important;
        border-radius: 12px !important;
        min-height: 46px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border: 2px solid #e5e7eb !important;
    }
    .form-group textarea {
        min-height: 100px !important;
        resize: vertical !important;
    }
    .form-group input:focus,
    .form-group textarea:focus {
        border-color: #38bdf8 !important;
        background: white !important;
        box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1) !important;
    }
    .submit-btn {
        padding: 14px 24px !important;
        font-size: 1.05em !important;
        font-weight: 700 !important;
        min-height: 50px !important;
        border-radius: 12px !important;
        width: 100% !important;
        margin-top: 10px !important;
    }
    /* Content Section - Medium Size */
    .content-section {
        padding: 45px 15px !important;
        max-width: 100% !important;
    }
    .content-header h2 {
        font-size: 2.3em !important;
        font-weight: 700 !important;
        margin-bottom: 12px !important;
    }
    .content-header p {
        font-size: 1.15em !important;
    }
    .content-card {
        padding: 26px 22px !important;
        border-radius: 18px !important;
        margin-bottom: -20px;
    }
    .content-card h3 {
        font-size: 1.5em !important;
        font-weight: 700 !important;
        margin-bottom: 18px !important;
    }
    .content-card h4 {
        font-size: 1.3em !important;
        font-weight: 600 !important;
        margin-bottom: 12px !important;
    }
    .content-card p,
    .content-card li {
        font-size: 1.05em !important;
        line-height: 1.7 !important;
    }
    .feature-list-item {
        padding: 18px !important;
        margin-bottom: 12px !important;
    }
    .feature-list-item i {
        font-size: 1.6em !important;
    }
    .feature-list-item span {
        font-size: 1.05em !important;
    }
    /* Footer - Medium Size */
    footer {
        padding: 45px 15px 25px !important;
        max-width: 100% !important;
    }
    .footer-brand h3 {
        font-size: 1.5em !important;
        font-weight: 700 !important;
        margin-bottom: 12px !important;
    }
    .footer-brand p {
        font-size: 1.05em !important;
        line-height: 1.6 !important;
    }
    .footer-section h4 {
        font-size: 1.2em !important;
        font-weight: 700 !important;
        margin-bottom: 18px !important;
    }
    .footer-links a {
        font-size: 1em !important;
        padding: 8px 0 !important;
        font-weight: 500 !important;
    }
    .footer-bottom {
        padding-top: 25px !important;
        font-size: 0.95em !important;
        font-weight: 500 !important;
    }
    /* Queue Status - Medium Size */
    .queue-status {
        padding: 18px 20px !important;
        border-radius: 14px !important;
        margin: 20px 15px !important;
    }
    .queue-info {
        font-size: 1.05em !important;
        font-weight: 600 !important;
    }
    /* Download Manager - Medium Size */
    .download-manager {
        max-width: 100% !important;
        margin: 15px !important;
        border-radius: 18px !important;
    }
    .download-header h3 {
        font-size: 1.5em !important;
        font-weight: 700 !important;
    }
    .download-item {
        padding: 20px 22px !important;
        border-radius: 14px !important;
    }
    /* Modal - Medium Size */
    .modal-content {
        width: 96% !important;
        padding: 25px 22px !important;
        max-height: 90vh !important;
        border-radius: 18px !important;
    }
    .modal-header h2 {
        font-size: 1.6em !important;
        font-weight: 700 !important;
    }
    .close-modal {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.6em !important;
        border-radius: 10px !important;
    }
    .comparison-slider {
        height: 280px !important;
        border-radius: 14px !important;
    }
    .slider-handle {
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
    }
    .modal-details {
        padding: 22px !important;
    }
    .detail-item {
        font-size: 1.05em !important;
        padding: 12px 0 !important;
    }
    .modal-actions {
        flex-direction: column !important;
        gap: 12px !important;
        margin-top: 22px !important;
    }
    .modal-actions .btn {
        width: 100% !important;
        padding: 16px 24px !important;
        font-size: 1.1em !important;
        font-weight: 600 !important;
        min-height: 50px !important;
        border-radius: 14px !important;
    }
    /* Alert System - Medium Size */
    .alert {
        padding: 18px 22px !important;
        font-size: 1.05em !important;
        font-weight: 500 !important;
        max-width: 95% !important;
        border-radius: 14px !important;
        margin: 15px !important;
    }
}

/* Extra Small Mobile (max-width: 375px) */

@media (max-width: 375px) {
    .container {
        padding: 0 10px;
    }
    .hero h1 {
        font-size: 2em;
    }
    .section-title {
        font-size: 1.9em;
    }
    .upload-text {
        font-size: 1.1em;
    }
    .preview-grid {
        gap: 15px;
    }
    .modal-content {
        padding: 18px 12px;
    }
    .comparison-slider {
        height: 220px;
    }
    .btn {
        padding: 12px 18px;
        font-size: 0.95em;
    }
    .features-header h2,
    .demo-title,
    .faq-header h2,
    .about-hero h2,
    .contact-hero h2 {
        font-size: 2.1em;
    }
    .faq-container,
    .about-content,
    .contact-content,
    .demo-container {
        padding: 0 10px;
    }
}

/* Performance Optimizations for Mobile */

@media (max-width: 768px) {
    /* Reduce animations on mobile for better performance */
    * {
        -webkit-tap-highlight-color: transparent;
    }
    /* Fix scrolling issues */
    html,
    body {
        overflow-x: hidden;
        position: relative;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    body {
        touch-action: pan-y pan-x;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    /* Simplify complex animations */
    .floating-element,
    .about-section::before,
    .faq-section::before,
    .features-section::before,
    .features-section::after {
        animation: none !important;
        display: none;
    }
    /* Optimize transforms */
    .preview-card,
    .feature-card,
    .step-card,
    .mission-card,
    .contact-item {
        will-change: auto;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }
    /* Fix upload area touch sensitivity */
    .upload-area {
        touch-action: manipulation;
        -webkit-user-select: none;
        user-select: none;
    }
    .file-input {
        pointer-events: auto;
    }
}

/* Landscape Orientation Fixes */

@media (max-width: 896px) and (orientation: landscape) {
    .hero {
        padding: 25px 0;
    }
    .modal-content {
        max-height: 95vh;
        overflow-y: auto;
    }
    .comparison-slider {
        height: 200px;
    }
    nav.scrolled {
        padding: 8px 20px;
    }
}

/* Touch Device Optimizations */

@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    button,
    a,
    .file-input,
    .faq-question {
        min-height: 44px;
        min-width: 44px;
    }
    /* Remove hover effects on touch devices */
    .preview-card:hover,
    .feature-card:hover,
    .step-card:hover {
        transform: none;
    }
    /* Better touch feedback */
    button:active,
    a:active {
        opacity: 0.7;
    }
}

.hero-security-badge .security-icon {
background-color: white !important;
}
.hero-security-badge {
    background: #22C55E !important;
}
