/* Combined and Optimized CSS for ImageCompressor.site */
:root {
    --primary-color: #6c63ff;
    --primary-dark: #5a52d5;
    --primary-light: #8a84ff;
    --secondary-color: #ff6584;
    --accent-color: #42e2b8;
    --text-color: #2d3748;
    --text-light: #000;
    --bg-color: #f7fafc;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.1);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.dark-mode {
    --primary-color: #8a84ff;
    --primary-dark: #6c63ff;
    --primary-light: #a8a4ff;
    --secondary-color: #ff6584;
    --accent-color: #42e2b8;
    --text-color: #e2e8f0;
    --text-light: #a0aec0;
    --bg-color: #0f1419;
    --card-bg: #1a202c;
    --border-color: #2d3748;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: var(--transition);
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: var(--card-bg);
    padding: 1.2rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav a:hover {
    color: var(--primary-color);
}

nav a.active {
    color: var(--primary-color);
}

nav a.active::after,
nav a::after {
    content: '';
    position: absolute;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient);
    transition: var(--transition);
}

nav a.active::after {
    width: 100%;
}

nav a::after {
    width: 0;
}

nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle,
.mobile-menu-btn {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover,
.mobile-menu-btn:hover {
    background: var(--border-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    border-radius: 10px;
}

/* Hero Section */
.hero {
    padding: 5rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

.hero::before {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    top: -200px;
    right: -200px;
}

.hero::after {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
}

.hero h1, h2,
.page-hero h1, h2 {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.hero h1, h2 {
    font-size: 3.5rem;
}

.page-hero h1, h2 {
    font-size: 3rem;
}

.hero p,
.page-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--text-light);
}

.hero p {
    font-size: 1.3rem;
}

.cta-button,
.browse-button,
.submit-button,
.action-button,
.bulk-download-btn,
.compress-all-btn {
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.cta-button:hover,
.browse-button:hover,
.submit-button:hover,
.action-button:hover,
.bulk-download-btn:hover,
.compress-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(108, 99, 255, 0.4);
}

/* Main Content Layout */
.main-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.page-content {
    padding: 3rem 0;
}

.page-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

/* Compression Tool */
.compression-tool {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.compression-tool:hover {
    box-shadow: var(--shadow-hover);
}

.tool-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    text-align: center !important;
}

.tool-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
}

.tool-actions {
    display: flex;
    gap: 1rem;
}

.icon-button {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.icon-button:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Upload Areas */
.upload-area,
.bulk-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius);
    padding: 3.5rem 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.bulk-upload-area {
    padding: 2.5rem 2rem;
}

.upload-area::before,
.bulk-upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.05), transparent);
    transition: var(--transition);
}

.upload-area:hover::before,
.bulk-upload-area:hover::before {
    left: 100%;
}

.upload-area.active,
.bulk-upload-area.active {
    border-color: var(--primary-color);
    background-color: rgba(108, 99, 255, 0.03);
}

.upload-icon,
.bulk-upload-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.bulk-upload-icon {
    font-size: 3rem;
}

.upload-area h3,
.bulk-upload-area h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.upload-area p,
.bulk-upload-area p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.browse-button {
    padding: 0.8rem 1.8rem;
}

.file-input,
.bulk-file-input {
    display: none;
}

/* Controls */
.controls {
    margin-bottom: 2.5rem;
}

.control-group {
    margin-bottom: 2rem;
}

.control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

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

.control-value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.slider-container {
    position: relative;
}

.slider {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    background: var(--border-color);
    border-radius: 10px;
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient);
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(108, 99, 255, 0.3);
    transition: var(--transition);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.quality-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Preview & Stats */
.preview-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.preview-box {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    background: var(--card-bg);
}

.preview-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.preview-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.original .preview-icon {
    background: var(--secondary-color);
}

.compressed .preview-icon {
    background: var(--accent-color);
}

.preview-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.preview-image {
    max-width: 100%;
    max-height: 250px;
    margin: 0 auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.file-info {
    margin-top: 1.2rem;
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.file-size {
    font-weight: 600;
    color: var(--text-color);
}

/* Progress */
.progress-container,
.bulk-progress-container {
    margin-bottom: 2rem;
}

.progress-header,
.bulk-progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.progress-label,
.bulk-progress-label {
    font-weight: 600;
    color: var(--text-color);
}

.progress-value,
.bulk-progress-value {
    font-weight: 700;
    color: var(--primary-color);
}

.progress-bar,
.bulk-progress-bar {
    height: 10px;
    background-color: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.progress,
.bulk-progress {
    height: 100%;
    background: var(--gradient);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 10px;
}

/* Stats */
.stats,
.bulk-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.3rem;
    color: white;
}

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

.savings-icon {
    background: var(--accent-color);
}

.time-icon {
    background: var(--primary-color);
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.savings {
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Actions */
.actions,
.bulk-actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
}

.action-button {
    padding: 1rem 2rem;
    flex: 1;
    justify-content: center;
}

.download-btn {
    background: var(--gradient);
    color: white;
}

.reset-btn {
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.reset-btn:hover {
    background: var(--border-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.bulk-download-btn,
.compress-all-btn {
    padding: 1rem 2rem;
    flex: 1;
    justify-content: center;
}

.compress-all-btn {
    background: var(--accent-color);
    box-shadow: 0 8px 20px rgba(66, 226, 184, 0.3);
}

.compress-all-btn:hover {
    box-shadow: 0 12px 25px rgba(66, 226, 184, 0.4);
}

/* Bulk Compression */
.selected-files {
    margin-bottom: 2rem;
}

.selected-files-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.selected-files-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-color);
}

.clear-all-btn {
    background: none;
    border: none;
    color: var(--secondary-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.clear-all-btn:hover {
    color: var(--primary-color);
}

.file-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1rem;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.file-item:last-child {
    border-bottom: none;
}

.file-info-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-icon {
    width: 30px;
    height: 30px;
    background: var(--gradient);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
}

.file-details {
    display: flex;
    flex-direction: column;
}

.file-name {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 2px;
}

.file-actions {
    display: flex;
    gap: 8px;
}

.file-action-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-action-btn:hover {
    background: var(--border-color);
    color: var(--text-color);
}

.remove-btn:hover {
    color: var(--secondary-color);
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ad-container {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.ad-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

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

.ad-placeholder {
    width: 100%;
    height: 250px;
    background: var(--border-color);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    font-weight: 500;
    flex-direction: column;
    gap: 10px;
}

.ad-icon {
    font-size: 2rem;
    opacity: 0.5;
}

.info-box {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.info-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
}

.info-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.info-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.info-list li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-footer {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Steps & Features */
.steps-container,
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.step-card,
.feature-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.step-card:hover,
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.step-title,
.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.step-description,
.feature-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-form,
.contact-info {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--card-bg);
    color: var(--text-color);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.6;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.faq-item {
    background: var(--card-bg);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(108, 99, 255, 0.05);
}

.faq-answer {
    padding: 0 2rem 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
footer {
    background: var(--card-bg);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--text-color);
}

.footer-section p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2.5rem;
    margin-top: 2.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Utility Classes */
.hidden {
    display: none;
}

/* Mode Toggle */
.mode-toggle {
    display: flex;
    background: var(--border-color);
    border-radius: 50px;
    padding: 4px;
    margin-bottom: 2rem;
}

.mode-button {
    flex: 1;
    padding: 0.7rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-color);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mode-button.active {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 10px rgba(108, 99, 255, 0.3);
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes compress {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.compressing {
    animation: compress 1s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 968px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--card-bg);
        flex-direction: column;
        padding: 1.5rem 0;
        box-shadow: var(--shadow);
        border-top: 1px solid var(--border-color);
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 0;
        text-align: center;
        padding: 0.8rem 0;
    }

    .hero h1, h2 {
        font-size: 2.5rem;
    }

    .page-hero h1, h2 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .preview-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .stats,
    .bulk-stats {
        grid-template-columns: 1fr;
    }
.bulk-stats{
    margin-top: 20px !important;
}
    .actions,
    .bulk-actions {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Disabled States */
.bulk-download-btn:disabled,
.compress-all-btn:disabled {
    background: var(--border-color);
    color: var(--text-light);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}