/* Mugshot Generator Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background: #f8fafc;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 80px 20px;
    color: white;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-family: 'Fraunces', serif;
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content .subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
}

.hero-features {
    list-style: none;
    margin-bottom: 30px;
}

.hero-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.hero-features li::before {
    content: '✓';
    margin-right: 12px;
    color: #4ade80;
    font-weight: bold;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #dc2626;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.cta-button:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

/* Hero Preview Card */
.mugshot-preview-card {
    background: #374151;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.preview-header {
    background: #1f2937;
    padding: 10px;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.preview-photo {
    height: 200px;
    background: linear-gradient(180deg, #4b5563, #374151);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-photo::after {
    content: '👤';
    font-size: 80px;
    opacity: 0.3;
}

.preview-info {
    background: #111827;
    padding: 15px;
    text-align: center;
    font-family: 'Special Elite', monospace;
}

.preview-charge {
    color: #fbbf24;
    margin-top: 5px;
    font-size: 0.85rem;
}

/* Perfect For Section */
.perfect-for-section {
    background: #fef3c7;
    padding: 40px 20px;
}

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

.perfect-container h2 {
    font-family: 'Fraunces', serif;
    margin-bottom: 25px;
    color: #92400e;
}

.occasions-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.occasion-item {
    background: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Editor Section */
.editor-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.editor-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 40px;
}

/* Progress Bar */
.progress-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.5;
    transition: opacity 0.3s;
    cursor: pointer;
}

.progress-step.active, .progress-step.completed { opacity: 1; }

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.progress-step.active .step-number {
    background: #dc2626;
    color: white;
}

.progress-step.completed .step-number {
    background: #10b981;
    color: white;
}

.step-label { font-weight: 500; color: #64748b; }
.progress-step.active .step-label { color: #1e293b; }

/* Step Content */
.step-content { display: none; }
.step-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-content h2 {
    font-family: 'Fraunces', serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
}

.step-description {
    text-align: center;
    color: #64748b;
    margin-bottom: 30px;
}

/* Style Grid */
.style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.style-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.style-card:hover {
    border-color: #dc2626;
    transform: translateY(-3px);
}

.style-card.selected {
    border-color: #dc2626;
    background: #fef2f2;
}

.style-card .style-preview {
    height: 150px;
    background: #374151;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.style-card h3 { font-size: 1rem; margin-bottom: 5px; }
.style-card p { font-size: 0.85rem; color: #64748b; }
.style-card .credit-badge {
    display: inline-block;
    background: #dc2626;
    color: white;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-top: 8px;
}

/* Photo Upload */
.photo-upload-container { max-width: 600px; margin: 0 auto; }

.upload-zone {
    border: 3px dashed #cbd5e1;
    border-radius: 16px;
    padding: 50px 30px;
    text-align: center;
    transition: all 0.3s;
    background: #f8fafc;
}

.upload-zone:hover, .upload-zone.dragover {
    border-color: #dc2626;
    background: #fef2f2;
}

.upload-icon { font-size: 4rem; margin-bottom: 15px; }
.upload-or { color: #94a3b8; margin: 15px 0; }

.upload-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #dc2626;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.upload-btn:hover { background: #b91c1c; }

.camera-btn {
    display: block;
    margin: 15px auto 0;
    padding: 10px 20px;
    background: #1e293b;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.upload-hint { font-size: 0.85rem; color: #94a3b8; margin-top: 15px; }

/* Photo Editor */
.photo-editor { text-align: center; }

.photo-preview-container {
    position: relative;
    display: inline-block;
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
}

.photo-preview-container canvas {
    display: block;
}

.face-guide {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 70%;
    border: 2px dashed rgba(255,255,255,0.5);
    border-radius: 50% 50% 45% 45%;
    pointer-events: none;
}

.photo-controls {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.photo-controls .control-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.photo-controls label { font-size: 0.85rem; color: #64748b; }
.photo-controls input[type="range"] { width: 100px; }

.filter-buttons { display: flex; gap: 8px; }

.filter-btn {
    padding: 8px 16px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    border-color: #dc2626;
    background: #fef2f2;
}

.change-photo-btn {
    padding: 8px 16px;
    background: #64748b;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.privacy-notice {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 15px;
    margin: 25px auto;
    max-width: 500px;
    text-align: center;
    font-size: 0.9rem;
    color: #166534;
}

/* Details Form */
.details-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    align-items: start;
}

.preview-panel canvas {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.details-form { max-width: 400px; }

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

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

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #dc2626;
}

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

.generate-btn {
    margin-top: 8px;
    padding: 6px 15px;
    background: #64748b;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
}

/* Download Layout */
.download-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    align-items: start;
}

.final-preview canvas {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.download-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.download-box {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.download-box.premium {
    border-color: #dc2626;
    background: #fef2f2;
}

.download-box h3 { margin-bottom: 8px; }
.download-box p { color: #64748b; font-size: 0.9rem; margin-bottom: 15px; }

.price-tag {
    display: inline-block;
    background: #dc2626;
    color: white;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.price-tag.small { font-size: 0.75rem; padding: 3px 12px; }

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

.btn-primary:hover:not(:disabled) { background: #b91c1c; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #f1f5f9;
    color: #475569;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

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

.btn-outline {
    padding: 12px 24px;
    background: transparent;
    color: #dc2626;
    border: 2px solid #dc2626;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.btn-outline:hover { background: #fef2f2; }
.btn-outline:disabled { opacity: 0.5; cursor: not-allowed; }

.step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

/* FAQ Section */
.faq-section {
    background: #1e293b;
    color: white;
    padding: 60px 20px;
}

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

.faq-container h2 {
    font-family: 'Fraunces', serif;
    text-align: center;
    margin-bottom: 40px;
}

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

.faq-item h3 { color: #fbbf24; margin-bottom: 10px; }
.faq-item p { color: rgba(255,255,255,0.8); font-size: 0.95rem; }

/* Responsive */
@media (max-width: 900px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-preview { display: none; }
    .details-layout, .download-layout { grid-template-columns: 1fr; }
    .preview-panel { order: -1; text-align: center; }
    .preview-panel canvas, .final-preview canvas { max-width: 100%; height: auto; }
}

@media (max-width: 600px) {
    .hero-content h1 { font-size: 2rem; }
    .progress-bar { gap: 10px; }
    .step-label { display: none; }
    .style-grid { grid-template-columns: 1fr 1fr; }
}
