/* public/styles.css (full – consolidated from all previous additions, with examples-grid for selfie/headshot) */
/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f9ff 0%, #e0eafc 100%);
    min-height: 100vh;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e40af;
}
.logo span {
    color: #3b82f6;
}

/* Hero */
.hero {
    padding: 80px 0;
    text-align: center;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23dbeafe" fill-opacity="0.6" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom no-repeat;
    background-size: cover;
}
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #1e3a8a;
}
.hero h1 span {
    color: #3b82f6;
}
.hero p.lead {
    font-size: 1.5rem;
    margin: 1.5rem 0;
    color: #4b5563;
}
.hero .benefits {
    font-size: 1.2rem;
    margin: 2rem 0;
    color: #1e40af;
    font-weight: 600;
}

/* Form Styles */
.upload-form {
    max-width: 600px;
    margin: 3rem auto;
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}
label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1e40af;
}
.instructions {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1rem;
}
.file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}
.file-input-wrapper input[type=file] {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
}
.file-input-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background: #f3f4f6;
    border: 2px dashed #9ca3af;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    color: #4b5563;
    font-size: 1.1rem;
}
.file-input-button:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}
.preview-container {
    margin-top: 1.5rem;
    text-align: center;
    display: none;
}
.preview-container img {
    max-width: 100px;
    max-height: 100px;
    border-radius: 8px;
    margin: 0.5rem;
    object-fit: cover;
}
.submit-btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.3rem;
    font-weight: 700;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s;
}
.submit-btn:hover {
    background: #2563eb;
}
.disclaimer {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #6b7280;
}

/* Loading Overlay */
#loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #1e40af;
    font-size: 1.5rem;
}
#loading-overlay h2 {
    margin-bottom: 1rem;
}
#loading-overlay p {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: #4b5563;
}
.loading-spinner {
    border: 10px solid #f3f4f6;
    border-top: 10px solid #3b82f6;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Result page specific */
.result-hero { padding: 60px 0; }
.result-container { margin: 3rem auto; max-width: 800px; text-align: center; }
.result-container img { max-width: 100%; border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.download-section { margin-top: 2rem; }
.back-link { margin-top: 3rem; font-size: 1.1rem; }
.back-link a { color: #3b82f6; text-decoration: none; }

/* Result Grid */
.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem auto;
    max-width: 1200px;
}
.grid-item {
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.grid-item img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    margin-bottom: 1rem;
}
.download-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
}
.download-btn:hover {
    background: #2563eb;
}

/* Sales Points (fixed left-align for text, bullets on left) */
.sales-points {
    list-style-type: disc;
    padding-left: 20px;
    margin: 1rem 0;
    text-align: left; /* Left-align text */
}
.sales-points li {
    margin-bottom: 0.5rem;
}

/* Examples Grid */
.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}
.example-item {
    text-align: center;
}
.example-item h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #1e40af;
}
.example-img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Selfie Column (stacked vertically) */
.selfie-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.selfie-img {
    width: 200px; /* Smaller size */
    height: 200px; /* Square 1:1 */
    object-fit: cover; /* Crop to square */
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Headshot Column (stacked vertically) */
.headshot-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.headshot-img {
    width: 200px; /* Smaller size */
    height: 200px; /* Square 1:1 */
    object-fit: cover; /* Crop to square */
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 3rem auto;
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    color: #6b7280;
    font-size: 0.9rem;
}
.admin-link {
    margin-left: 1rem;
    color: #3b82f6;
    text-decoration: none;
}

/* Media Queries */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero p.lead {
        font-size: 1.3rem;
    }
    .upload-form {
        padding: 2rem;
    }
    .examples-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
}