/* Project Specific Styles for Couverture */
.project-hero {
    padding: 120px 0 80px;
    background: var(--bg-primary);
    text-align: center;
    border-top: 6px solid var(--accent-1);
}

.project-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
}

.project-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* App Styles */
.app-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.app-container {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.app-header-internal {
    background: var(--gradient-primary);
    padding: 30px;
    color: white;
    text-align: center;
}

.app-header-internal h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.app-body {
    padding: 40px;
}

/* Upload Cards */
.upload-card {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8fafc;
    position: relative;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upload-card:hover {
    border-color: var(--accent-1);
    background: #f0f9ff;
    transform: translateY(-3px);
}

.upload-card.has-file {
    border-color: #10b981;
    background: #ecfdf5;
}

.upload-icon {
    font-size: 3rem;
    color: #94a3b8;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.upload-card:hover .upload-icon {
    color: var(--accent-1);
}

.upload-card.has-file .upload-icon {
    color: #10b981;
}

.file-info {
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-all;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Action Area */
.action-area {
    margin-top: 40px;
    text-align: center;
}

.btn-process {
    background: var(--accent-2);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-process:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-process:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Progress Bar */
.progress-container {
    margin-top: 30px;
    display: none; /* Hidden by default */
}

.progress-bar-bg {
    background: #e2e8f0;
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    background: var(--accent-1);
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
}

.status-text {
    margin-top: 10px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Log Area */
.log-area {
    margin-top: 20px;
    padding: 15px;
    background: #1e293b;
    color: #f1f5f9;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    max-height: 200px;
    overflow-y: auto;
    display: none; /* Hidden by default */
}

.log-entry { margin-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 2px; }
.log-success { color: #4ade80; }
.log-error { color: #f87171; }
.log-info { color: #60a5fa; }

/* JSON Tools */
.json-tools {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.btn-secondary-action {
    background: white;
    border: 2px solid #e2e8f0;
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary-action:hover {
    border-color: var(--accent-1);
    color: var(--accent-1);
    background: #f8fafc;
}

/* Benefits Grid (Advantages) */
.benefits-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--accent-1);
    margin-bottom: 20px;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.benefit-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Download / Promo Section */
.download-section {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.desktop-promo {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 60px;
    border-radius: 20px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.desktop-promo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
    pointer-events: none;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #1e3c72;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    background: #f8f9fa;
}

.download-btn.mac {
    background: rgba(255,255,255,0.2);
    color: white;
    backdrop-filter: blur(5px);
}

.download-btn.mac:hover {
    background: rgba(255,255,255,0.3);
}
