/* ============================================
   makephoto2video.online — Light Design 2026
   ============================================ */

:root {
    --primary: #FACC15;
    --primary-light: #FEF08A;
    --primary-dark: #CA8A04;
    --primary-glow: rgba(250, 204, 21, 0.25);
    --bg: #FAFAFA;
    --bg-white: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-input: #FFFFFF;
    --border: rgba(0, 0, 0, 0.08);
    --border-strong: rgba(0, 0, 0, 0.12);
    --text-main: #1C1917;
    --text-muted: #57534E;
    --text-dim: #A8A29E;
    --radius: 16px;
    --radius-sm: 12px;
    --radius-pill: 999px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ===== HEADER ===== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 64px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 200;
    border-bottom: 1px solid var(--border);
}

/* ===== LOGO ===== */
.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-svg-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon svg { display: block; }

.logo-wordmark {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--text-main);
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

.logo-wordmark .live {
    color: var(--primary);
}

nav { display: flex; align-items: center; gap: 2px; }

nav a {
    text-decoration: none;
    color: var(--text-muted);
    padding: 8px 14px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.18s;
    border-radius: var(--radius-sm);
}

nav a:hover { color: var(--text-main); }

/* ===== BUTTONS ===== */
.btn-primary, .btn-outline {
    padding: 11px 24px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.18s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    letter-spacing: 0.1px;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: #111827;
    box-shadow: 0 1px 3px rgba(250, 204, 21, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(250, 204, 21, 0.35);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--bg-input);
    border-color: var(--border-strong);
}

.btn-sm { padding: 7px 14px; font-size: 0.84rem; }

/* ===== HERO (full-screen upload form) ===== */
.hero {
    min-height: 100svh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 5% 40px;
    background: var(--bg);
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 50% at 50% 0%, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-center {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    text-align: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.18);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-eyebrow-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.5); }
}

.hero h1 {
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 16px;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
}

.hero h1 em {
    font-style: normal;
    color: var(--primary);
}

.hero-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.65;
}

/* ===== UPLOAD PANEL (the big form) ===== */
.hero-panel {
    width: 100%;
    background: var(--bg-white);
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 44px;
    position: relative;
    z-index: 1;
}

/* ===== STAGES ===== */
.stage { width: 100%; display: none; animation: fadeUp 0.35s ease; }
.stage.active { display: block; }
.stage.hidden { display: none; }

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

/* ===== AI MODEL SELECTOR ===== */
.ai-model-selector {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.ai-model-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
}

.ai-model-options {
    display: inline-flex;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 4px;
}

.ai-model-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    letter-spacing: 0.02em;
}

.ai-model-btn:hover {
    color: var(--text-main);
}

.ai-model-btn.active {
    background: var(--bg-white);
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
}

/* ===== UPLOAD BOX ===== */
.upload-box {
    width: 100%;
    border: 3px dashed var(--border-strong);
    border-radius: var(--radius);
    padding: 80px 40px;
    min-height: 440px;
    transition: all 0.2s ease;
    background: var(--bg);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.upload-box:hover, .upload-box.dragover {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.03);
}

.icon-pulse {
    background: rgba(37, 99, 235, 0.08);
    width: 64px; height: 64px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.icon-pulse svg { stroke: var(--primary); }

.upload-box h3 {
    margin-bottom: 8px;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-main);
}

.upload-box p { color: var(--text-muted); margin-bottom: 24px; font-size: 1.05rem; }
.formats { font-size: 0.85rem; margin-top: 20px; color: var(--text-dim); }

/* After-file upload state */
.upload-after { display: none; }
.upload-initial { text-align: center; }
.upload-box.has-file .upload-initial { display: none; }
.upload-box.has-file .upload-after { display: block; }

.selected-file {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 14px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.selected-thumb {
    width: 60px; height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid var(--border);
}

.selected-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }
.selected-name { font-weight: 600; font-size: 0.95rem; color: var(--text-main); }

/* ===== PROMPT BOX ===== */
.prompt-box { margin-top: 16px; }

.prompt-label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.prompt-label .muted { color: var(--text-dim); font-weight: 400; }

.prompt-box textarea {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    padding: 12px 16px;
    font-size: 0.9rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s;
    line-height: 1.5;
}

.prompt-box textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.prompt-hint { font-size: 0.78rem; color: var(--text-dim); margin-top: 8px; }

.create-btn { width: 100%; margin-top: 20px; padding: 15px; font-size: 1rem; font-weight: 700; justify-content: center; }
.create-note { font-size: 0.78rem; color: var(--text-dim); margin-top: 10px; text-align: center; }

/* ===== PROCESSING ===== */
.processing-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 24px 0;
}

.scanner-image {
    position: relative;
    width: 160px; height: 160px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.scanner-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.scan-line {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
    animation: scanning 2s linear infinite;
}

@keyframes scanning {
    0% { top: 0; }
    50% { top: 100%; }
    100% { top: 0; }
}

#loading-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
    text-align: center;
}

.loader-ring {
    width: 32px; height: 32px;
    border: 2.5px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
    margin: 14px auto;
}

@keyframes spin { to { transform: rotate(360deg); } }

.progress-bar-container {
    width: 80%;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin-top: 16px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s linear;
}

/* ===== RESULT ===== */
.result-wrapper {
    text-align: center;
    min-height: 300px;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.result-wrapper h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
}

.result-copy {
    color: var(--text-muted);
    margin-bottom: 22px;
    font-size: 0.95rem;
    line-height: 1.55;
}

.result-video-placeholder {
    position: relative;
    width: 100%;
    max-width: 380px;
    min-height: 260px;
    border-radius: var(--radius);
    overflow: hidden;
    margin: 0 auto 22px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0ee;
}

.result-preview-image {
    display: block;
    width: 100%;
    max-height: 38vh;
    object-fit: contain;
    pointer-events: none;
    filter: brightness(0.92) saturate(0.9);
}

/* Overlay dim for loading feel */
.result-video-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.22);
    z-index: 1;
    pointer-events: none;
}

/* Infinite spinner in center of result */
.result-play-overlay {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 68px; height: 68px;
    border-radius: 999px;
    border: 2.5px solid rgba(255,255,255,0.22);
    border-top-color: rgba(255,255,255,0.9);
    animation: resultSpin 0.9s linear infinite;
    z-index: 2;
    pointer-events: none;
    background: none;
    box-shadow: none;
}

.result-loading-badge {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.92);
    font-size: 0.76rem;
    font-weight: 600;
    z-index: 2;
}

.result-loading-spinner {
    width: 12px; height: 12px;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,0.22);
    border-top-color: #fff;
    animation: resultSpin 0.85s linear infinite;
}

@keyframes resultSpin {
    to { transform: rotate(360deg); }
}

.action-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* ===== VIDEO GALLERY ===== */
.examples-dense {
    padding: 80px 5%;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
}

.examples-wrap { max-width: 1400px; margin: 0 auto; }

.examples-head {
    text-align: center;
    margin-bottom: 48px;
}

.examples-head h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    letter-spacing: -1.2px;
    margin-bottom: 12px;
    font-weight: 800;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
}

.examples-head p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}

/* === Radical Grid Gallery === */
.gallery-radical {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    width: 100%;
    align-items: start;
    padding-bottom: 40px;
}

.gallery-radical .gallery-card:nth-child(2) {
    transform: translateY(40px);
}

@media (max-width: 800px) {
    .gallery-radical .gallery-card:nth-child(2) {
        transform: translateY(0);
    }
}

.gallery-card {
    width: 100%;
    flex-shrink: 0;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    background: #f0f0ee;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    z-index: 2;
}

.gallery-video {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
}

.gallery-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 28px 14px 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gallery-ai-badge {
    background: var(--primary);
    color: #111827;
    font-size: 0.64rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 999px;
    letter-spacing: 0.06em;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 90px 5%;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.how-wrap { max-width: 1000px; margin: 0 auto; }

.how-head {
    text-align: center;
    margin-bottom: 52px;
}

.how-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}

.how-head h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    letter-spacing: -1px;
    margin-bottom: 12px;
    font-weight: 800;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
}

.how-head p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 440px;
    margin: 0 auto;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.how-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
}

.how-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.how-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.how-num {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.1em;
    font-family: 'Outfit', sans-serif;
}

.how-icon {
    width: 38px; height: 38px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(37, 99, 235, 0.14);
}

.how-icon svg { stroke: var(--primary); }

.how-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.how-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== FAQ ===== */
.faq {
    padding: 80px 5%;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
}

.faq-wrap { max-width: 720px; margin: 0 auto; }

.faq-layout {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 40px;
}

.faq-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    padding-top: 4px;
}

.faq-row {
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
}

.faq-row:first-child { border-top: 1px solid var(--border); }

.faq-row summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    user-select: none;
}

.faq-row summary::-webkit-details-marker { display: none; }

.faq-row summary::after {
    content: "+";
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.faq-row[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding-top: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ===== FOOTER ===== */
footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 28px 5%;
    text-align: center;
}

footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

footer a {
    color: var(--primary);
    text-decoration: none;
}

footer a:hover { text-decoration: underline; }

/* ===== DOWNLOAD MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.4);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-card {
    background: #fff;
    border-radius: 20px;
    max-width: 430px;
    width: 100%;
    box-shadow: 0 24px 60px rgba(0,0,0,0.2);
    border: 1px solid var(--border);
    animation: modalSlideUp 0.25s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 24px 0;
}

.modal-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    font-family: 'Sora', sans-serif;
}

.modal-close {
    background: var(--bg-input);
    border: none;
    width: 30px; height: 30px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.modal-close:hover { background: var(--border-strong); }

.modal-body { padding: 16px 24px; }

.modal-body p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 14px; }

.modal-steps {
    list-style: none;
    counter-reset: step;
}

.modal-steps li {
    counter-increment: step;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-main);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.modal-steps li:last-child { border-bottom: none; }

.modal-steps li::before {
    content: counter(step);
    min-width: 24px; height: 24px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    flex-shrink: 0;
}

.modal-hint {
    margin-top: 14px;
    padding: 12px 14px;
    background: rgba(37, 99, 235, 0.06);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--text-muted);
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.modal-footer {
    padding: 0 24px 22px;
}

.modal-ok {
    width: 100%;
    padding: 13px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}

.modal-ok:hover { background: var(--primary-dark); }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 500;
    background: var(--text-main);
    color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    max-width: 520px;
    width: calc(100% - 40px);
    transition: opacity 0.3s, transform 0.3s;
}

.cookie-banner.is-hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
    pointer-events: none;
}

.cookie-text { font-size: 0.85rem; flex: 1; line-height: 1.5; }

.cookie-text a { color: #93C5FD; text-decoration: underline; }

.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

.btn-cookie-decline {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}

.btn-cookie-decline:hover { background: rgba(255,255,255,0.18); }

.btn-cookie-accept {
    background: var(--primary);
    border: none;
    color: #fff;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}

.btn-cookie-accept:hover { background: var(--primary-dark); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .how-grid { grid-template-columns: 1fr; gap: 16px; }
    .faq-layout { grid-template-columns: 1fr; gap: 8px; }
    .faq-kicker { padding-top: 0; margin-bottom: 4px; }
}

@media (max-width: 640px) {
    header { padding: 0 4%; }
    .hero { padding: 80px 4% 48px; }
    .hero-panel { padding: 24px; }
    .upload-box { padding: 40px 24px; min-height: 240px; }
    .how-it-works, .examples-dense, .faq { padding: 60px 4%; }
    .cookie-banner { flex-direction: column; align-items: flex-start; gap: 12px; }
    .cookie-actions { width: 100%; }
    .btn-cookie-decline, .btn-cookie-accept { flex: 1; text-align: center; }
    nav a { display: none; }
}
