/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

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

/* Navigation Header */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #2563eb;
}

.nav-brand i {
    margin-right: 10px;
    font-size: 28px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2563eb;
}

/* Buttons */
.btn-primary {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #e2e8f0;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #2563eb;
    background: #f1f5f9;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-buttons .btn-primary {
    background: white;
    color: #2563eb;
}

.hero-buttons .btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.3);
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

/* Hero Image/Demo */
.image-optimizer-demo {
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.optimizer-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #10b981;
}

.comparison-demo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

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

.demo-label {
    display: block;
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.demo-size {
    display: block;
    font-size: 18px;
    font-weight: bold;
}

.demo-arrow {
    font-size: 24px;
    opacity: 0.8;
}

.size-reduction {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #10b981;
    font-weight: 600;
}

/* Upload Section */
.upload-section {
    padding: 80px 0;
    background: white;
}

.upload-container {
    max-width: 800px;
    margin: 0 auto;
}

.upload-area {
    border: 3px dashed #cbd5e1;
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    background: #f8fafc;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #2563eb;
    background: #f1f5f9;
}

.upload-area.dragover {
    border-color: #2563eb;
    background: #eff6ff;
}

.upload-content i {
    font-size: 48px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.upload-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #1e293b;
}

.upload-content p {
    color: #64748b;
    margin-bottom: 30px;
}

.privacy-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 16px;
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    border-radius: 8px;
    font-size: 14px;
    color: #0369a1;
    font-weight: 500;
}

.privacy-notice i {
    color: #0ea5e9;
    font-size: 16px;
}

.upload-options {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.quality-control {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quality-control label {
    font-weight: 600;
    color: #374151;
}

#qualitySlider {
    width: 200px;
    height: 6px;
    border-radius: 3px;
    background: #e5e7eb;
    outline: none;
    cursor: pointer;
}

#qualityValue {
    font-weight: bold;
    color: #2563eb;
    min-width: 40px;
}

.preset-buttons {
    display: flex;
    gap: 10px;
}

.preset-btn {
    padding: 8px 16px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.preset-btn:hover,
.preset-btn.active {
    border-color: #2563eb;
    background: #eff6ff;
    color: #2563eb;
}

/* Processing Section */
.processing-section {
    padding: 40px 0;
    background: #f1f5f9;
}

.processing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.processing-header h3 {
    color: #1e293b;
}

.processing-list {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.processing-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
}

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

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

.queue-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.error-message {
    color: #ef4444;
    font-size: 12px;
    margin-top: 2px;
}

.retry-btn {
    background: #f59e0b;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.3s ease;
}

.retry-btn:hover {
    background: #d97706;
}

.retry-container {
    min-width: 60px;
}

/* Overall Progress Bar */
.overall-progress {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.overall-progress-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.overall-progress-bar {
    width: 100%;
    height: 12px;
    background: #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
}

.overall-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 6px;
    transition: width 0.3s ease;
}

.file-status {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-status.processing {
    background: #fbbf24;
    animation: pulse 2s infinite;
}

.file-status.completed {
    background: #10b981;
    color: white;
}

.file-status.error {
    background: #ef4444;
    color: white;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.progress-bar {
    width: 200px;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #2563eb;
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Results Section */
.results-section {
    padding: 60px 0;
    background: white;
}

.results-section h3 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    color: #1e293b;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

.result-item {
    background: #f8fafc;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.result-filename {
    font-weight: 600;
    color: #1e293b;
}

.result-stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #64748b;
}

.image-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.image-container img {
    width: 100%;
    max-width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.image-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #374151;
}

.image-size {
    font-size: 12px;
    color: #64748b;
    margin-top: 5px;
}

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

.comparison-tools {
    display: flex;
    gap: 10px;
}

.tool-btn {
    padding: 6px 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tool-btn:hover {
    background: #e2e8f0;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e293b;
}

.section-header p {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 32px;
    color: white;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: white;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

.about-text h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
    margin-top: 30px;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-features {
    list-style: none;
    padding: 0;
}

.about-features li {
    padding: 12px 0;
    color: #64748b;
    line-height: 1.6;
    border-bottom: 1px solid #f1f5f9;
}

.about-features li:last-child {
    border-bottom: none;
}

.about-features strong {
    color: #2563eb;
    font-weight: 600;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-cta {
    background: #f8fafc;
    padding: 50px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid #e2e8f0;
}

.about-cta h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e293b;
}

.about-cta p {
    color: #64748b;
    font-size: 16px;
    margin-bottom: 30px;
}

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

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.faq-item {
    padding: 30px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

.faq-item p {
    color: #64748b;
    line-height: 1.6;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h2 {
    color: #1e293b;
}

.close {
    font-size: 24px;
    cursor: pointer;
    color: #64748b;
}

.modal-body {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #374151;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #374151;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #2563eb;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.auth-switch a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

/* Premium Modal Styles */
.premium-plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.plan-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.plan-card.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.plan-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1e293b;
}

.plan-card.featured h3 {
    color: white;
}

.price {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2563eb;
}

.plan-card.featured .price {
    color: white;
}

.price span {
    font-size: 14px;
    color: #64748b;
    font-weight: normal;
}

.plan-card.featured .price span {
    color: rgba(255,255,255,0.8);
}

.savings {
    background: #10b981;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #374151;
}

.plan-card.featured .features-list li {
    color: white;
}

.features-list i {
    color: #10b981;
    margin-right: 10px;
    font-size: 14px;
}

.plan-card.featured .features-list i {
    color: #10b981;
}

.plan-card .btn-primary {
    width: 100%;
    margin-top: auto;
}

.plan-card.featured .btn-primary {
    background: white;
    color: #667eea;
}

.plan-card.featured .btn-primary:hover {
    background: #f1f5f9;
    color: #5b6ee6;
}

.payment-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #64748b;
    font-size: 14px;
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}

.payment-security i {
    color: #10b981;
}

/* Premium Features Indicator */
.premium-feature {
    position: relative;
}

.premium-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(45deg, #ffd700, #ff8c00);
    color: white;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.premium-limitation {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 12px;
    margin: 10px 0;
    color: #92400e;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.premium-limitation i {
    color: #f59e0b;
}

.upgrade-prompt {
    text-align: center;
    margin: 20px 0;
}

.upgrade-btn {
    background: linear-gradient(45deg, #ffd700, #ff8c00);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Advertisement Section */
.advertisement-section {
    padding: 40px 0;
    background: #f1f5f9;
}

.ad-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.ad-label {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ad-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-content ins {
    width: 100%;
    height: 250px;
    display: block;
}

/* Results Ad */
.results-ad {
    margin-top: 40px;
    padding: 30px;
    background: #f8fafc;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.results-ad .ad-label {
    margin-bottom: 20px;
    color: #94a3b8;
}

.results-ad ins {
    max-width: 100%;
    min-height: 200px;
}

/* Sidebar Advertisement */
.sidebar-ad {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 100;
}

.sidebar-ad .ad-label {
    text-align: center;
    margin-bottom: 10px;
}

.sidebar-ad ins {
    width: 130px;
    height: 600px;
    display: block;
}

/* AdSense responsive adjustments */
@media (max-width: 1400px) {
    .sidebar-ad {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .ad-content {
        padding: 15px;
        min-height: 200px;
    }
    
    .ad-content ins {
        height: 200px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }
    
    .nav-menu {
        margin-top: 15px;
        gap: 20px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .upload-area {
        padding: 40px 20px;
    }
    
    .upload-options {
        flex-direction: column;
        align-items: stretch;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .about-cta {
        padding: 30px 20px;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 24px;
    }
}

/* Guide Section Styles */
.guide-section {
    padding: 80px 0;
    background: #f8fafc;
}

.guide-content {
    max-width: 800px;
    margin: 0 auto;
}

.guide-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-right: 25px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.step-content p {
    color: #64748b;
    line-height: 1.7;
    font-size: 16px;
}

/* Tips Section Styles */
.tips-section {
    padding: 80px 0;
    background: white;
}

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

.tip-card {
    padding: 30px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.tip-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.tip-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
}

.tip-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 15px;
}

/* SEO Content Section Styles */
.seo-content-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.seo-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
    margin-bottom: 60px;
}

.seo-content-block {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.seo-content-block h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
}

.seo-content-block p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 16px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #374151;
    font-size: 15px;
}

.feature-list i {
    color: #10b981;
    margin-right: 12px;
    font-size: 14px;
}

.use-cases {
    display: grid;
    gap: 15px;
}

.use-case {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.use-case i {
    color: #667eea;
    font-size: 20px;
    width: 30px;
}

.use-case span {
    color: #374151;
    font-size: 14px;
}

.compression-benefits {
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.compression-benefits h3 {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 40px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.benefit-item i {
    font-size: 32px;
    color: #667eea;
    margin-bottom: 20px;
}

.benefit-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.benefit-item p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

/* Mobile responsiveness for new sections */
@media (max-width: 768px) {
    .guide-step {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tip-card {
        padding: 25px 20px;
    }
    
    .seo-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .seo-content-block {
        padding: 30px 25px;
    }
    
    .compression-benefits {
        padding: 40px 25px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Schengen Visa Photo Generator Styles */
.schengen-hero {
    background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
    padding: 120px 0 80px;
    color: white;
}

.visa-photo-demo {
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.demo-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #10b981;
    font-weight: 600;
}

.photo-specs {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    font-size: 14px;
}

.spec-label {
    color: rgba(255,255,255,0.8);
}

.spec-value {
    font-weight: bold;
    color: white;
}

.processing-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #10b981;
    font-weight: 600;
}

.schengen-generator-section {
    padding: 80px 0;
    background: white;
}

.generator-container {
    max-width: 1000px;
    margin: 0 auto;
}

.upload-area-schengen {
    border: 3px dashed #cbd5e1;
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    background: #f8fafc;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 40px;
}

.upload-area-schengen:hover {
    border-color: #1e40af;
    background: #f1f5f9;
}

.upload-area-schengen.dragover {
    border-color: #1e40af;
    background: #eff6ff;
}

.upload-content i {
    font-size: 64px;
    color: #1e40af;
    margin-bottom: 20px;
}

.schengen-requirements-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    font-size: 14px;
    color: #1e40af;
    font-weight: 500;
}

.photo-editor {
    background: #f8fafc;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
}

.editor-header {
    text-align: center;
    margin-bottom: 30px;
}

.editor-header h3 {
    color: #1e293b;
    font-size: 24px;
    margin-bottom: 10px;
}

.editor-header p {
    color: #64748b;
}

.editor-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.photo-canvas-container {
    position: relative;
    display: flex;
    justify-content: center;
}

#photoCanvas {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    max-width: 100%;
    height: auto;
    background: white;
}

.size-guidelines {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    width: 350px;
    height: 450px;
}

.size-label {
    position: absolute;
    background: #10b981;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.size-label-top {
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.size-label-left {
    left: -40px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
}

.face-guidelines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.face-area {
    position: absolute;
    top: 15%;
    left: 15%;
    right: 15%;
    height: 70%;
    border: 2px dashed #10b981;
    border-radius: 8px;
}

.eye-line {
    position: absolute;
    top: 35%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #ef4444;
    opacity: 0.7;
}

.eye-line:before {
    content: 'Eyes here';
    position: absolute;
    right: 0;
    top: -20px;
    font-size: 10px;
    color: #ef4444;
    font-weight: 600;
}

.dimension-arrows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.arrow-horizontal {
    position: absolute;
    bottom: -25px;
    left: 0;
    right: 0;
    height: 2px;
    background: #10b981;
}

.arrow-horizontal .arrow-line {
    width: 100%;
    height: 2px;
    background: #10b981;
}

.arrow-head {
    position: absolute;
    width: 0;
    height: 0;
    border: 4px solid transparent;
}

.arrow-left {
    left: 0;
    top: -2px;
    border-right-color: #10b981;
}

.arrow-right {
    right: 0;
    top: -2px;
    border-left-color: #10b981;
}

.arrow-vertical {
    position: absolute;
    right: -25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #10b981;
}

.arrow-vertical .arrow-line {
    width: 2px;
    height: 100%;
    background: #10b981;
}

.arrow-up {
    top: 0;
    left: -2px;
    border-bottom-color: #10b981;
}

.arrow-down {
    bottom: 0;
    left: -2px;
    border-top-color: #10b981;
}

.photo-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding: 12px 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.photo-info span {
    color: #15803d;
}

.editor-controls {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.control-group {
    margin-bottom: 25px;
}

.control-group:last-child {
    margin-bottom: 0;
}

.control-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
}

.position-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.control-btn {
    padding: 10px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    color: #374151;
    transition: all 0.3s ease;
}

.control-btn:hover {
    border-color: #1e40af;
    color: #1e40af;
}

#scaleSlider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e5e7eb;
    outline: none;
    cursor: pointer;
    margin-bottom: 10px;
}

#scaleValue {
    font-weight: bold;
    color: #1e40af;
}

#backgroundSelect {
    width: 100%;
    padding: 10px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    background: white;
    cursor: pointer;
}

.editor-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.visa-photo-results {
    background: #f0fdf4;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.results-header h3 {
    color: #15803d;
    margin-bottom: 10px;
    font-size: 24px;
}

.results-header p {
    color: #166534;
    margin-bottom: 30px;
}

.photo-preview {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: center;
    margin: 40px 0;
}

.preview-container {
    position: relative;
    justify-self: center;
}

#finalVisaPhoto {
    width: 280px;
    height: 360px;
    object-fit: cover;
    border: 3px solid #15803d;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.photo-specs-overlay {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #15803d;
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.compliance-check {
    display: grid;
    gap: 12px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: white;
    border-radius: 8px;
    border: 1px solid #bbf7d0;
    text-align: left;
}

.check-item i {
    color: #15803d;
    font-size: 16px;
}

.check-item span {
    color: #166534;
    font-weight: 500;
    font-size: 14px;
}

.download-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.download-btn {
    min-width: 180px;
}

.requirements-section {
    padding: 80px 0;
    background: #f8fafc;
}

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

.requirement-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.requirement-card:hover {
    transform: translateY(-4px);
}

.req-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.requirement-card h3 {
    color: #1e293b;
    margin-bottom: 15px;
    font-size: 20px;
}

.req-details {
    text-align: left;
}

.req-details p {
    color: #64748b;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.req-details strong {
    color: #1e40af;
    font-weight: 600;
}

.countries-info {
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.countries-info h3 {
    text-align: center;
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 24px;
}

.countries-info > p {
    text-align: center;
    color: #64748b;
    margin-bottom: 40px;
    font-size: 16px;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.country-group h4 {
    color: #1e40af;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.country-group ul {
    list-style: none;
    padding: 0;
}

.country-group li {
    padding: 6px 0;
    color: #64748b;
    font-size: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.country-group li:last-child {
    border-bottom: none;
}

.visa-info-section {
    padding: 80px 0;
    background: white;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.info-card {
    background: #f8fafc;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.info-card h3 {
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 20px;
}

.comparison-table {
    display: grid;
    gap: 12px;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    font-size: 14px;
}

.comparison-label {
    font-weight: 600;
    color: #374151;
}

.schengen-spec {
    color: #15803d;
    font-weight: 600;
}

.regular-spec {
    color: #64748b;
}

.resources-section {
    padding: 80px 0;
    background: #f8fafc;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.resource-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-4px);
}

.resource-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.resource-card h3 {
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 18px;
}

.resource-card ul {
    list-style: none;
    padding: 0;
}

.resource-card li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    color: #64748b;
    font-size: 14px;
    border-bottom: 1px solid #f1f5f9;
    line-height: 1.5;
}

.resource-card li:last-child {
    border-bottom: none;
}

.resource-card li:before {
    content: "•";
    color: #1e40af;
    font-weight: bold;
    width: 6px;
    margin-top: 2px;
}

/* Mobile responsiveness for Schengen page */
@media (max-width: 768px) {
    .schengen-hero .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .schengen-hero .hero-text h1 {
        font-size: 32px;
    }
    
    .upload-area-schengen {
        padding: 40px 25px;
    }
    
    .editor-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .photo-preview {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .countries-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }
    
    .download-options {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        min-width: 200px;
    }
    
    #finalVisaPhoto {
        width: 240px;
        height: 310px;
    }
}

/* PDF Password Protection Styles */
.pdf-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fef7f0 0%, #fed7aa 100%);
}

.feature-limitation {
    background: #e0f2fe;
    border: 1px solid #0284c7;
    border-radius: 8px;
    padding: 12px 15px;
    margin-top: 15px;
    color: #0369a1;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-limitation i {
    color: #0284c7;
    font-size: 14px;
}

.pdf-section .section-header h2 {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    color: #ea580c;
}

.pdf-section .section-header h2 i {
    font-size: 32px;
    color: #ea580c;
}

.pdf-upload-container {
    max-width: 800px;
    margin: 0 auto;
}

.pdf-upload-area {
    background: white;
    border: 3px dashed #fed7aa;
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 40px;
}

.pdf-upload-area:hover {
    border-color: #ea580c;
    background: #fefbf7;
}

.pdf-upload-area.dragover {
    border-color: #ea580c;
    background: #fef7f0;
    transform: scale(1.02);
}

.pdf-upload-content i {
    font-size: 64px;
    color: #ea580c;
    margin-bottom: 20px;
}

.pdf-upload-content h3 {
    font-size: 24px;
    color: #1e293b;
    margin-bottom: 10px;
}

.pdf-upload-content p {
    color: #64748b;
    margin-bottom: 30px;
}

.pdf-privacy-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 16px;
    background: #fef7f0;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    font-size: 14px;
    color: #ea580c;
    font-weight: 500;
}

.pdf-privacy-notice i {
    color: #ea580c;
    font-size: 16px;
}

/* Password Options Styles */
.password-options {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.password-options h4 {
    font-size: 20px;
    color: #1e293b;
    margin-bottom: 25px;
    text-align: center;
}

.password-choice {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.radio-option {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover {
    border-color: #ea580c;
    background: #fefbf7;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: #ea580c;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #ea580c;
    border-radius: 50%;
}

.radio-content {
    flex: 1;
}

.radio-content strong {
    font-size: 16px;
    color: #1e293b;
    display: block;
    margin-bottom: 5px;
}

.radio-content p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

/* Password Display Styles */
.password-display, .password-input {
    margin-bottom: 25px;
}

.password-display label, .password-input label {
    display: block;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}

.password-field {
    display: flex;
    gap: 10px;
    align-items: center;
}

.password-field input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    background: #f8fafc;
}

.copy-btn, .regenerate-btn {
    padding: 12px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    color: #64748b;
    transition: all 0.3s ease;
}

.copy-btn:hover, .regenerate-btn:hover {
    border-color: #ea580c;
    color: #ea580c;
    background: #fefbf7;
}

.password-note {
    font-size: 12px;
    color: #dc2626;
    margin-top: 8px;
    font-weight: 500;
}

.password-input input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 10px;
}

.password-input input:focus {
    outline: none;
    border-color: #ea580c;
}

.password-strength {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 15px;
}

.password-strength.weak {
    background: linear-gradient(to right, #dc2626 30%, #e2e8f0 30%);
}

.password-strength.medium {
    background: linear-gradient(to right, #f59e0b 60%, #e2e8f0 60%);
}

.password-strength.strong {
    background: linear-gradient(to right, #10b981 100%, #e2e8f0 100%);
}

/* PDF Processing Styles */
.pdf-processing {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
}

.processing-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.processing-indicator .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #fed7aa;
    border-top: 4px solid #ea580c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.processing-indicator p {
    color: #64748b;
    font-size: 16px;
}

/* PDF Results Styles */
.pdf-results-section {
    padding: 60px 0;
    background: #f8fafc;
}

.pdf-result-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.pdf-result-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
}

.pdf-result-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.pdf-result-details {
    flex: 1;
    text-align: left;
}

.pdf-result-details h4 {
    font-size: 18px;
    color: #1e293b;
    margin-bottom: 5px;
}

.pdf-result-details p {
    color: #64748b;
    font-size: 14px;
}

.pdf-download-btn {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.pdf-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
}

/* PDF Decryption Section Styles */
.decrypt-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #bae6fd 100%);
}

.decrypt-section .section-header h2 {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    color: #0369a1;
}

.decrypt-section .section-header h2 i {
    font-size: 32px;
    color: #0369a1;
}

.decrypt-upload-container {
    max-width: 800px;
    margin: 0 auto;
}

.decrypt-upload-area {
    background: white;
    border: 3px dashed #bae6fd;
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 40px;
}

.decrypt-upload-area:hover {
    border-color: #0369a1;
    background: #f8fafc;
}

.decrypt-upload-area.dragover {
    border-color: #0369a1;
    background: #f0f9ff;
    transform: scale(1.02);
}

.decrypt-upload-content i {
    font-size: 64px;
    color: #0369a1;
    margin-bottom: 20px;
}

.decrypt-password-section {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.decrypt-password-section h4 {
    font-size: 20px;
    color: #1e293b;
    margin-bottom: 20px;
    text-align: center;
}

.decrypt-password-input {
    display: flex;
    gap: 15px;
    align-items: center;
}

.decrypt-password-input input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
}

.decrypt-password-input input:focus {
    outline: none;
    border-color: #0369a1;
}

.decrypt-processing {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
}

.decrypt-result {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
}

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

.decrypt-success i {
    font-size: 48px;
    color: #10b981;
    margin-bottom: 20px;
}

.decrypt-success h4 {
    font-size: 24px;
    color: #1e293b;
    margin-bottom: 15px;
}

.decrypt-success p {
    color: #64748b;
    margin-bottom: 30px;
}

.success-notice {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    color: #15803d;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.success-notice i {
    color: #16a34a;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Mobile Responsiveness for PDF Section */
@media (max-width: 768px) {
    .pdf-upload-area {
        padding: 40px 25px;
    }
    
    .password-options {
        padding: 30px 25px;
    }
    
    .password-field {
        flex-direction: column;
        gap: 15px;
    }
    
    .copy-btn, .regenerate-btn {
        width: 100%;
    }
    
    .pdf-result-info {
        flex-direction: column;
        text-align: center;
    }
    
    .pdf-result-details {
        text-align: center;
    }
    
    .decrypt-upload-area {
        padding: 40px 25px;
    }
    
    .decrypt-password-section {
        padding: 30px 25px;
    }
    
    .decrypt-password-input {
        flex-direction: column;
        gap: 20px;
    }
    
    .decrypt-password-input button {
        width: 100%;
    }
}