    :root {
        --primary-color: #e5332d;
        --primary-dark: #c42a25;
        --primary-light: #ff6b66;
        --secondary-color: #1a1a2e;
        --accent-color: #16213e;
        --success-color: #00c853;
        --warning-color: #ffc107;
        --gradient-primary: linear-gradient(135deg, #e5332d 0%, #ff6b66 100%);
        --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
        --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
        --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
        --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
        --border-radius: 16px;
        --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    * {
        box-sizing: border-box;
    }

    .pdf-compress-tool {
        background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
        min-height: 100vh;
    }

    /* Main Container with Ad Space */
    .main-content-wrapper {
        display: flex;
        max-width: 1600px;
        margin: 0 auto;
        padding: 0 15px;
        gap: 20px;
    }

    /* Ad Sidebar Styles */
    .ad-sidebar {
        width: 160px;
        min-width: 160px;
        position: sticky;
        top: 100px;
        height: fit-content;
        z-index: 10;
    }

    .ad-sidebar.left {
        order: -1;
    }

    .ad-sidebar.right {
        order: 1;
    }

    .ad-container {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border: 2px dashed #dee2e6;
        border-radius: 12px;
        min-height: 600px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 15px;
        text-align: center;
    }

    .ad-label {
        font-size: 10px;
        color: #6c757d;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }

    .ad-placeholder {
        width: 100%;
        background: #fff;
        border-radius: 8px;
        padding: 20px 10px;
        box-shadow: var(--shadow-sm);
    }

    .main-content {
        flex: 1;
        max-width: 1200px;
        min-width: 0;
    }

    /* Hero Section */
    .hero-section {
        background: var(--gradient-dark);
        padding: 60px 0 80px;
        position: relative;
        overflow: hidden;
    }

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        opacity: 0.5;
    }

    .hero-section .container {
        position: relative;
        z-index: 1;
    }

    .tool-icon-wrapper {
        display: flex;
        justify-content: center;
        margin-bottom: 25px;
    }

    .tool-icon {
        width: 100px;
        height: 100px;
        background: var(--gradient-primary);
        border-radius: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 48px;
        color: #fff;
        box-shadow: 0 15px 40px rgba(229, 51, 45, 0.4);
        animation: float 3s ease-in-out infinite;
    }

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

    .hero-section h1 {
        color: #fff;
        font-size: 2.5rem;
        font-weight: 800;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .hero-section .lead {
        color: rgba(255, 255, 255, 0.85);
        font-size: 1.2rem;
        max-width: 700px;
        margin: 0 auto 25px;
    }

    /* Trust Badges */
    .trust-badges {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        margin-bottom: 35px;
    }

    .trust-badge {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 8px 18px;
        border-radius: 50px;
        color: #fff;
        font-size: 0.9rem;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: var(--transition);
    }

    .trust-badge:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }

    .trust-badge i {
        color: var(--success-color);
    }

    /* Rating Display */
    .rating-display {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        margin-bottom: 30px;
        flex-wrap: wrap;
    }

    .rating-stars {
        display: flex;
        gap: 3px;
    }

    .rating-stars i {
        color: #ffc107;
        font-size: 1.2rem;
    }

    .rating-text {
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.95rem;
    }

    .rating-text strong {
        color: #fff;
    }

    /* Upload Area */
    .upload-area {
        background: #fff;
        border: 3px dashed #e0e0e0;
        border-radius: var(--border-radius);
        padding: 50px 30px;
        text-align: center;
        transition: var(--transition);
        cursor: pointer;
        position: relative;
        overflow: hidden;
    }

    .upload-area::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--gradient-primary);
        opacity: 0;
        transition: var(--transition);
    }

    .upload-area:hover, .upload-area.dragover {
        border-color: var(--primary-color);
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

    .upload-area:hover::before, .upload-area.dragover::before {
        opacity: 0.03;
    }

    .upload-area .upload-icon {
        font-size: 64px;
        color: var(--primary-color);
        margin-bottom: 20px;
        transition: var(--transition);
    }

    .upload-area:hover .upload-icon {
        transform: scale(1.1);
    }

    .upload-area h4 {
        color: var(--secondary-color);
        font-weight: 700;
        margin-bottom: 10px;
    }

    .upload-area p {
        color: #6c757d;
        margin-bottom: 25px;
    }

    .btn-primary {
        background: var(--gradient-primary);
        border: none;
        padding: 14px 35px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 50px;
        transition: var(--transition);
        box-shadow: 0 8px 25px rgba(229, 51, 45, 0.35);
    }

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(229, 51, 45, 0.45);
        background: var(--gradient-primary);
    }

    .btn-outline-primary {
        border: 2px solid var(--primary-color);
        color: var(--primary-color);
        padding: 12px 28px;
        font-weight: 600;
        border-radius: 50px;
        transition: var(--transition);
        background: transparent;
    }

    .btn-outline-primary:hover {
        background: var(--primary-color);
        color: #fff;
        transform: translateY(-2px);
    }

    .btn-success {
        background: linear-gradient(135deg, #00c853 0%, #00e676 100%);
        border: none;
        padding: 12px 28px;
        font-weight: 600;
        border-radius: 50px;
        transition: var(--transition);
        box-shadow: 0 8px 25px rgba(0, 200, 83, 0.35);
    }

    .btn-success:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(0, 200, 83, 0.45);
    }

    /* Settings Panel */
    .settings-panel {
        background: #fff;
        border-radius: var(--border-radius);
        padding: 35px;
        margin-top: 30px;
        box-shadow: var(--shadow-md);
        display: none;
        animation: slideDown 0.4s ease;
    }

    .settings-panel.show {
        display: block;
    }

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

    .settings-panel h5 {
        color: var(--secondary-color);
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .settings-panel h5 i {
        color: var(--primary-color);
    }

    .form-label {
        font-weight: 600;
        color: var(--secondary-color);
        margin-bottom: 10px;
    }

    .form-range {
        height: 8px;
        border-radius: 4px;
    }

    .form-range::-webkit-slider-thumb {
        background: var(--primary-color);
        width: 22px;
        height: 22px;
        border: 3px solid #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }

    .form-select {
        padding: 14px 20px;
        border-radius: 12px;
        border: 2px solid #e0e0e0;
        font-weight: 500;
        transition: var(--transition);
    }

    .form-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 4px rgba(229, 51, 45, 0.1);
    }

    /* File Preview */
    .file-preview {
        background: #fff;
        border-radius: var(--border-radius);
        padding: 30px;
        margin-top: 25px;
        box-shadow: var(--shadow-md);
        display: none;
    }

    .file-preview.show {
        display: block;
    }

    .file-preview h5 {
        color: var(--secondary-color);
        font-weight: 700;
        margin-bottom: 20px;
    }

    .file-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px;
        background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
        border-radius: 12px;
        margin-bottom: 12px;
        border: 1px solid #e8e8e8;
        transition: var(--transition);
    }

    .file-item:hover {
        box-shadow: var(--shadow-sm);
        border-color: var(--primary-light);
    }

    .file-info {
        display: flex;
        align-items: center;
        gap: 15px;
        flex: 1;
        min-width: 0;
    }

    .file-icon {
        width: 52px;
        height: 52px;
        background: var(--gradient-primary);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 24px;
        flex-shrink: 0;
    }

    .file-details {
        min-width: 0;
        flex: 1;
    }

    .file-details h6 {
        margin: 0 0 5px;
        color: var(--secondary-color);
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .file-details p {
        margin: 0;
        font-size: 0.85rem;
        color: #6c757d;
    }

    .file-details .text-success {
        color: var(--success-color) !important;
        font-weight: 600;
    }

    .file-actions {
        display: flex;
        gap: 10px;
        flex-shrink: 0;
    }

    .progress-container {
        margin-top: 12px;
        display: none;
    }

    .progress-container.show {
        display: block;
    }

    .progress {
        height: 8px;
        border-radius: 4px;
        background: #e9ecef;
        overflow: hidden;
    }

    .progress-bar {
        background: var(--gradient-primary);
        border-radius: 4px;
        transition: width 0.3s ease;
    }

    /* Sections */
    .section-light {
        background: #fff;
        padding: 80px 0;
    }

    .section-gray {
        background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
        padding: 80px 0;
    }

    .section-dark {
        background: var(--gradient-dark);
        padding: 80px 0;
        color: #fff;
    }

    .section-title {
        font-size: 2.2rem;
        font-weight: 800;
        color: var(--secondary-color);
        margin-bottom: 15px;
        text-align: center;
    }

    .section-dark .section-title {
        color: #fff;
    }

    .section-subtitle {
        font-size: 1.1rem;
        color: #6c757d;
        text-align: center;
        max-width: 700px;
        margin: 0 auto 50px;
    }

    .section-dark .section-subtitle {
        color: rgba(255, 255, 255, 0.7);
    }

    /* How To Steps */
    .step-card {
        background: #fff;
        border-radius: var(--border-radius);
        padding: 40px 30px;
        text-align: center;
        box-shadow: var(--shadow-md);
        height: 100%;
        transition: var(--transition);
        position: relative;
        overflow: hidden;
    }

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

    .step-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-primary);
    }

    .step-number {
        width: 60px;
        height: 60px;
        background: var(--gradient-primary);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: 800;
        color: #fff;
        margin: 0 auto 25px;
        box-shadow: 0 8px 25px rgba(229, 51, 45, 0.3);
    }

    .step-card h5 {
        color: var(--secondary-color);
        font-weight: 700;
        margin-bottom: 15px;
    }

    .step-card p {
        color: #6c757d;
        line-height: 1.7;
        margin: 0;
    }

    /* Feature Cards */
    .feature-card {
        background: #fff;
        border-radius: var(--border-radius);
        padding: 35px;
        height: 100%;
        box-shadow: var(--shadow-sm);
        border: 1px solid #f0f0f0;
        transition: var(--transition);
    }

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

    .feature-icon-box {
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 30px;
        color: var(--primary-color);
        margin-bottom: 25px;
        transition: var(--transition);
    }

    .feature-card:hover .feature-icon-box {
        background: var(--gradient-primary);
        color: #fff;
        transform: scale(1.1);
    }

    .feature-card h5 {
        color: var(--secondary-color);
        font-weight: 700;
        margin-bottom: 12px;
    }

    .feature-card p {
        color: #6c757d;
        line-height: 1.7;
        margin: 0;
    }

    /* Use Case Cards */
    .use-case-card {
        background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
        border-radius: var(--border-radius);
        padding: 30px;
        height: 100%;
        border: 2px solid #f0f0f0;
        transition: var(--transition);
    }

    .use-case-card:hover {
        border-color: var(--primary-color);
        box-shadow: var(--shadow-md);
    }

    .use-case-card h5 {
        color: var(--secondary-color);
        font-weight: 700;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .use-case-card h5 i {
        color: var(--primary-color);
        font-size: 1.3rem;
    }

    .use-case-card p {
        color: #6c757d;
        margin: 0;
        line-height: 1.7;
    }

    /* Stats Section */
    .stats-section {
        background: var(--gradient-primary);
        padding: 60px 0;
    }

    .stat-item {
        text-align: center;
        padding: 20px;
    }

    .stat-number {
        font-size: 3rem;
        font-weight: 800;
        color: #fff;
        line-height: 1;
        margin-bottom: 10px;
    }

    .stat-label {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1rem;
        font-weight: 500;
    }

    /* FAQ Section */
    .faq-section {
        background: #fff;
        padding: 80px 0;
    }

    .accordion-item {
        border: 2px solid #f0f0f0;
        border-radius: 12px !important;
        margin-bottom: 15px;
        overflow: hidden;
        transition: var(--transition);
    }

    .accordion-item:hover {
        border-color: var(--primary-light);
    }

    .accordion-button {
        padding: 22px 25px;
        font-weight: 600;
        font-size: 1.05rem;
        color: var(--secondary-color);
        background: #fff;
    }

    .accordion-button:not(.collapsed) {
        background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
        color: var(--primary-color);
        box-shadow: none;
    }

    .accordion-button:focus {
        box-shadow: none;
        border-color: transparent;
    }

    .accordion-button::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e5332d'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    }

    .accordion-body {
        padding: 0 25px 25px;
        color: #555;
        line-height: 1.8;
    }

    /* Tips Box */
    .tips-box {
        background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
        border-radius: var(--border-radius);
        padding: 30px;
        border-left: 5px solid #2196f3;
    }

    .tips-box h6 {
        color: #1565c0;
        font-weight: 700;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .tips-box ul {
        margin: 0;
        padding-left: 20px;
    }

    .tips-box li {
        color: #37474f;
        margin-bottom: 10px;
        line-height: 1.6;
    }

    .tips-box li:last-child {
        margin-bottom: 0;
    }

    /* Benefits Grid */
    .benefit-item {
        text-align: center;
        padding: 30px 20px;
    }

    .benefit-icon {
        width: 80px;
        height: 80px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        font-size: 35px;
        color: #fff;
        transition: var(--transition);
    }

    .benefit-item:hover .benefit-icon {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.1);
    }

    .benefit-item h6 {
        color: #fff;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .benefit-item p {
        color: rgba(255, 255, 255, 0.8);
        margin: 0;
        font-size: 0.9rem;
    }

    /* Comparison Table */
    .comparison-table {
        background: #fff;
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: var(--shadow-md);
    }

    .comparison-table table {
        width: 100%;
        margin: 0;
    }

    .comparison-table th {
        background: var(--gradient-dark);
        color: #fff;
        padding: 18px 20px;
        font-weight: 600;
    }

    .comparison-table td {
        padding: 16px 20px;
        border-bottom: 1px solid #f0f0f0;
    }

    .comparison-table tr:last-child td {
        border-bottom: none;
    }

    .comparison-table .check {
        color: var(--success-color);
        font-size: 1.2rem;
    }

    .comparison-table .cross {
        color: #dc3545;
        font-size: 1.2rem;
    }

    /* CTA Section */
    .cta-section {
        background: var(--gradient-primary);
        padding: 80px 0;
        text-align: center;
    }

    .cta-section h2 {
        color: #fff;
        font-size: 2.5rem;
        font-weight: 800;
        margin-bottom: 20px;
    }

    .cta-section p {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1.2rem;
        max-width: 600px;
        margin: 0 auto 30px;
    }

    .btn-white {
        background: #fff;
        color: var(--primary-color);
        padding: 16px 40px;
        font-size: 1.1rem;
        font-weight: 700;
        border-radius: 50px;
        border: none;
        transition: var(--transition);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }

    .btn-white:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
        color: var(--primary-dark);
    }

    /* Mobile Ad Banner */
    .mobile-ad-banner {
        display: none;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border: 2px dashed #dee2e6;
        border-radius: 12px;
        padding: 20px;
        margin: 20px 0;
        text-align: center;
    }

    /* Responsive */
    @media (max-width: 1400px) {
        .ad-sidebar {
            width: 120px;
            min-width: 120px;
        }
    }

    @media (max-width: 1200px) {
        .ad-sidebar {
            display: none;
        }
        .mobile-ad-banner {
            display: block;
        }
    }

    @media (max-width: 768px) {
        .hero-section {
            padding: 40px 0 60px;
        }

        .hero-section h1 {
            font-size: 1.8rem;
        }

        .hero-section .lead {
            font-size: 1rem;
        }

        .tool-icon {
            width: 80px;
            height: 80px;
            font-size: 36px;
            border-radius: 20px;
        }

        .trust-badge {
            font-size: 0.8rem;
            padding: 6px 14px;
        }

        .upload-area {
            padding: 35px 20px;
        }

        .upload-area .upload-icon {
            font-size: 48px;
        }

        .settings-panel, .file-preview {
            padding: 25px 20px;
        }

        .section-title {
            font-size: 1.7rem;
        }

        .stat-number {
            font-size: 2.2rem;
        }

        .file-item {
            flex-direction: column;
            align-items: flex-start;
            gap: 15px;
        }

        .file-actions {
            width: 100%;
            justify-content: flex-end;
        }
    }

    /* Print Styles */
    @media print {
        .ad-sidebar, .mobile-ad-banner {
            display: none !important;
        }
    }