/* ============================================================
   EASY DIET — custom.css  (WARM BEIGE PREMIUM THEME)
   ============================================================ */

/* ---------- DESIGN TOKENS ---------- */
:root {
    --bg: #FAF8F5;
    --bg-card: #FFFFFF;
    --bg-warm: #F5F0EB;
    --border: rgba(0, 0, 0, 0.06);

    --text: #1A1A1A;
    --text-dim: #6B6B6B;
    --text-faint: #A0A0A0;

    --accent: #E8604C;
    --accent-light: rgba(232, 96, 76, 0.08);
    --accent-border: rgba(232, 96, 76, 0.2);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.08);
    --radius: 20px;
    --radius-sm: 12px;

    --font: 'Inter', -apple-system, sans-serif;
    --font-head: 'Playfair Display', Georgia, serif;
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background: var(--bg);
}

body.edd-landing {
    margin: 0;
    padding: 0 !important;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: var(--font);
}

/* ---------- LAYOUT ---------- */
.edd-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
}

.edd-section {
    position: relative;
    padding: 80px 0;
}

/* ============================================================
   NAVBAR — PREMIUM AUTO-HIDE
   ============================================================ */
.edd-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    /* smooth hide/show + shadow transitions */
    transition: transform 0.42s cubic-bezier(0.23, 1, 0.32, 1),
        background 0.3s ease,
        box-shadow 0.3s ease;
    will-change: transform;
}

/* Scrolled state — subtle drop-shadow */
.edd-nav.is-scrolled {
    background: rgba(250, 248, 245, 0.97);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07), 0 1px 0 rgba(232, 96, 76, 0.1);
}

/* Fully hidden when scrolling DOWN */
.edd-nav.nav-hidden {
    transform: translateY(-100%);
}

.edd-nav__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 68px;
    gap: 16px;
}

/* ===== LOGO — premium branded ===== */
.edd-logo {
    font-family: var(--font);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.6px;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1px;
    flex-shrink: 0;
}

/* "Easy" — gradient coral-to-orange */
.edd-logo .logo-easy {
    background: linear-gradient(135deg, #E8604C 0%, #f0855a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* dot separator */
.edd-logo .logo-dot {
    color: #E8604C;
    -webkit-text-fill-color: #E8604C;
    margin: 0 1px;
    opacity: 0.6;
}

/* "Diet" — dark text */
.edd-logo .logo-diet {
    color: var(--text);
    -webkit-text-fill-color: var(--text);
}

/* ===== NAV LINKS — pill button style ===== */
.edd-nav__links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.edd-nav__links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    border-radius: 999px;
    padding: 8px 18px;
    transition: all 0.22s ease;
    white-space: nowrap;
}

/* "Історії успіху" — ghost/outline pill */
.edd-nav__links a:first-child {
    background: rgba(0, 0, 0, 0.04);
    border: 1.5px solid rgba(0, 0, 0, 0.10);
    color: var(--text);
}

.edd-nav__links a:first-child:hover {
    background: rgba(232, 96, 76, 0.07);
    border-color: rgba(232, 96, 76, 0.3);
    color: var(--accent);
    transform: translateY(-1px);
}

/* "AI Прогноз" — filled coral pill */
.edd-nav__links a:nth-child(2) {
    background: var(--accent);
    color: #fff;
    border: 1.5px solid transparent;
    box-shadow: 0 4px 14px rgba(232, 96, 76, 0.28);
    font-weight: 600;
}

.edd-nav__links a:nth-child(2):hover {
    background: #d44f3d;
    box-shadow: 0 6px 20px rgba(232, 96, 76, 0.4);
    transform: translateY(-2px);
    color: #fff;
}

/* ============================================================
   HERO — offset for fixed header
   ============================================================ */
/* ---------- HERO ---------- */
.edd-hero {
    text-align: center;
    padding-top: calc(68px + 56px);
    padding-bottom: 80px;
}

.edd-hero__inner {
    max-width: 700px;
    margin: 0 auto;
}

.edd-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    padding: 10px 24px;
    border-radius: 999px;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-dim);
    margin-bottom: 32px;
}

.edd-badge--coral {
    background: var(--accent-light);
    border-color: var(--accent-border);
    color: var(--accent);
}

.edd-hero__title {
    font-family: var(--font);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    color: var(--text);
}

.edd-accent-text {
    font-family: var(--font-head);
    font-style: italic;
    color: var(--accent);
    font-weight: 700;
}

.edd-hero__sub {
    font-size: 1.05rem;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 40px;
}

.edd-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    box-shadow: 0 6px 24px rgba(232, 96, 76, 0.25);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    border: none;
}

.edd-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(232, 96, 76, 0.35);
    background: #d44f3d;
}

/* ---------- FEATURES SECTION ---------- */
.edd-features {
    padding: 100px 0;
    background: #fff;
}

.edd-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.edd-feature-card {
    background: var(--bg-warm);
    padding: 40px;
    border-radius: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.edd-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.edd-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.edd-feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.edd-feature-text {
    color: var(--text-dim);
    line-height: 1.6;
    font-size: 1rem;
}

@media (max-width: 900px) {
    .edd-features__grid {
        grid-template-columns: 1fr;
    }

    .edd-features {
        padding: 60px 0;
    }
}

/* ---------- SUCCESS STORIES ---------- */
.edd-stories {
    padding: 40px 0 80px;
}

.edd-stories__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.edd-story-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

.edd-story-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.edd-story__photos {
    display: grid;
    grid-template-rows: 1fr 1fr;
}

.edd-story__photo {
    position: relative;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edd-story__photo--before {
    background: var(--bg-warm);
}

.edd-story__photo--after {
    background: var(--bg);
}

.edd-photo-placeholder {
    font-family: var(--font);
    font-weight: 800;
    font-size: 1.8rem;
    text-align: center;
    color: var(--text-faint);
    letter-spacing: 2px;
    line-height: 1.3;
}

.edd-photo-placeholder--accent {
    color: var(--accent);
}

.edd-story__tag {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 6px;
    background: var(--bg-card);
    color: var(--text-dim);
    border: 1px solid var(--border);
}

.edd-story__tag--accent {
    background: var(--accent-light);
    color: var(--accent);
    border-color: var(--accent-border);
}

.edd-story__info {
    padding: 20px 24px;
    text-align: center;
}

.edd-story__name {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.edd-story__result {
    font-weight: 700;
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.edd-story__quote {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.5;
    font-style: italic;
}

/* ---------- SECTION HEADER ---------- */
.edd-upload-header {
    margin-bottom: 48px;
}

.edd-section-title {
    font-family: var(--font);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 16px 0;
}

.edd-section-sub {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.6;
    max-width: 500px;
}

/* ---------- UPLOAD LAYOUT ---------- */
.edd-upload-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.edd-upload-card {
    width: 100%;
}

.edd-upload-zone {
    position: relative;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    padding: 60px 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.edd-upload-zone:hover,
.edd-upload-zone.dragover {
    border-color: var(--accent);
    background: var(--accent-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.edd-upload-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.edd-upload-icon {
    color: var(--text-faint);
    margin-bottom: 20px;
    transition: transform 0.4s;
}

.edd-upload-zone:hover .edd-upload-icon {
    transform: translateY(-6px);
    color: var(--accent);
}

.edd-upload-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.edd-upload-hint {
    font-size: 0.85rem;
    color: var(--text-faint);
}

/* Upload preview phone mockup */
.edd-upload-preview {
    display: flex;
    justify-content: center;
}

.edd-preview-phone {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 340px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.edd-preview-half {
    position: relative;
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-warm);
}

.edd-preview-half--after {
    background: #E8DDD5;
}

.edd-preview-label {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 4px;
    background: var(--bg-card);
    color: var(--text-dim);
}

.edd-preview-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.edd-preview-img span {
    font-weight: 800;
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-faint);
    letter-spacing: 1px;
    line-height: 1.3;
}

.edd-preview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- QUIZ OVERLAY ---------- */
/* ══════════════════════════════════════
   QUIZ OVERLAY
   ══════════════════════════════════════ */
.edd-quiz-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 0;
}

.edd-quiz-container {
    width: 100%;
    max-width: 560px;
    min-height: 100vh;
    padding: 28px 28px 60px;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* ── Progress bar ── */
.edd-quiz-progress {
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 3px;
    margin-bottom: 0;
    overflow: hidden;
    flex-shrink: 0;
}

.edd-quiz-progress__bar {
    height: 100%;
    width: 0%;
    background: var(--accent);
    border-radius: 3px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hide subtitle */
.edd-quiz-subtitle {
    display: none !important;
}

/* ── Global close button (top-right fixed) ── */
.edd-quiz-global-close {
    position: fixed;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.06);
    color: var(--text-dim);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}

.edd-quiz-global-close:hover {
    background: rgba(0, 0, 0, 0.12);
    color: var(--text);
}

/* Hide per-slide close buttons */
.edd-quiz-close {
    display: none !important;
}

/* ── Slides ── */
.edd-quiz-slide {
    display: none;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    flex: 1;
    padding-top: 36px;
}

.edd-quiz-slide.active {
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateX(0);
}

.edd-quiz-slide.exit-left {
    display: flex;
    opacity: 0;
    transform: translateX(-40px);
}

/* ── Question & hint ── */
.edd-quiz-question {
    font-family: var(--font-head);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
    color: var(--text);
}

.edd-quiz-hint {
    font-size: 0.88rem;
    color: var(--text-faint);
    margin-bottom: 0;
    line-height: 1.5;
}

/* ── Options ── */
.edd-quiz-options {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.edd-quiz-opt {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 20px;
    border-radius: 14px;
    font-size: 0.96rem;
    font-weight: 500;
    color: var(--text);
    background: #fff;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.18s ease;
    text-align: left;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.edd-quiz-opt:hover {
    border-color: var(--accent);
    background: #fff8f7;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 96, 76, 0.12);
}

.edd-quiz-opt.selected {
    border-color: var(--accent);
    background: rgba(232, 96, 76, 0.06);
    color: var(--accent);
    font-weight: 600;
    box-shadow: 0 0 0 3px rgba(232, 96, 76, 0.12);
}

/* ── Inputs ── */
.edd-quiz-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.edd-quiz-input-group label {
    font-size: 0.84rem;
    color: var(--text-dim);
    font-weight: 500;
    min-width: 52px;
}

.edd-quiz-input {
    width: 120px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: var(--font);
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    color: var(--text);
    text-align: center;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.edd-quiz-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 96, 76, 0.12);
}

.edd-quiz-input::placeholder {
    color: var(--text-faint);
}

.edd-quiz-unit {
    font-size: 0.95rem;
    color: var(--text-dim);
    font-weight: 500;
}

.edd-quiz-input-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* ── NEXT BUTTON — centered ── */
.edd-quiz-next {
    display: block;
    width: fit-content;
    margin: 32px auto 0;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
    background: var(--accent);
    border: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(232, 96, 76, 0.3);
    letter-spacing: 0.01em;
}

.edd-quiz-next:hover:not(:disabled) {
    background: #d14a37;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 96, 76, 0.4);
}

.edd-quiz-next:disabled,
.edd-quiz-next[disabled] {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

/* ── Textarea ── */
.edd-quiz-input-group--full {
    width: 100%;
    margin-top: 24px;
}

.edd-quiz-textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 1rem;
    font-family: var(--font);
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    color: var(--text);
    resize: vertical;
    min-height: 90px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.edd-quiz-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 96, 76, 0.12);
}

.edd-quiz-textarea::placeholder {
    color: var(--text-faint);
}

/* ── Budget slider ── */
.edd-quiz-slider {
    width: 100%;
    height: 5px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    outline: none;
    cursor: pointer;
}

.edd-quiz-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 26px;
    height: 26px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(232, 96, 76, 0.35);
    cursor: pointer;
}

.edd-quiz-slider::-moz-range-thumb {
    width: 26px;
    height: 26px;
    background: var(--accent);
    border-radius: 50%;
    border: none;
    box-shadow: 0 2px 8px rgba(232, 96, 76, 0.35);
    cursor: pointer;
}

/* ── Upload zone (step 0) ── */
.edd-upload-zone {
    border: 2px dashed rgba(0, 0, 0, 0.12) !important;
    border-radius: 20px !important;
    padding: 48px 24px;
    text-align: center;
    background: #fff !important;
    transition: all 0.25s ease;
    position: relative;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.edd-upload-zone.dragover,
.edd-upload-zone:hover {
    border-color: var(--accent) !important;
    background: rgba(232, 96, 76, 0.03) !important;
}

.edd-upload-icon svg {
    transition: transform 0.25s ease;
}

.edd-upload-zone:hover .edd-upload-icon svg {
    transform: translateY(-3px);
}

/* ── Equipment split ── */
.edd-equipment-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 16px;
}

.edd-quiz-options--compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.edd-quiz-options--compact .edd-quiz-opt {
    padding: 10px 14px;
    font-size: 0.85rem;
    text-align: center;
    justify-content: center;
}

.edd-quiz-options--food {
    grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 600px) {
    .edd-quiz-container {
        padding: 20px 16px 60px;
    }

    .edd-quiz-question {
        font-size: 1.5rem;
    }

    .edd-equipment-split {
        grid-template-columns: 1fr;
    }

    .edd-quiz-options--compact {
        grid-template-columns: 1fr 1fr;
    }

    .edd-quiz-options--food {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── Loading inner ── */
.edd-loading-inner {
    text-align: center;
    max-width: 400px;
    padding: 40px 32px;
}

.edd-loading-inner .edd-loading-spinner {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    border: 3px solid rgba(0, 0, 0, 0.08);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spinRing 1s linear infinite;
}

.edd-loading-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
    text-align: left;
}

.edd-loading-steps>div {
    font-size: 0.88rem;
    color: var(--text-dim);
    padding: 10px 16px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: opacity 0.4s, color 0.4s;
}

.edd-loading-steps>div.active {
    opacity: 1 !important;
    color: var(--accent);
    border-color: var(--accent-border);
    background: rgba(232, 96, 76, 0.05);
}


/* ---------- LOADING SCREEN ---------- */

/* ---------- LOADING SCREEN ---------- */


.edd-quiz-progress__bar {
    height: 100%;
    width: 12.5%;
    background: var(--accent);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.edd-quiz-subtitle {
    font-size: 0.8rem;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 48px;
}

/* Quiz Slides */
.edd-quiz-slide {
    display: none;
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.4s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.edd-quiz-slide.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.edd-quiz-slide.exit-left {
    display: block;
    opacity: 0;
    transform: translateX(-80px);
}

.edd-quiz-question {
    font-family: var(--font);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.edd-quiz-hint {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 28px;
    line-height: 1.5;
}

/* Quiz option buttons */
.edd-quiz-options {
    display: grid;
    gap: 12px;
    margin-top: 32px;
}

.edd-quiz-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.edd-quiz-opt:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}

.edd-quiz-opt.selected {
    border-color: var(--accent);
    background: var(--accent-light);
    color: var(--accent);
    font-weight: 600;
}

/* Quiz inputs */
.edd-quiz-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.edd-quiz-input-group label {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-weight: 500;
    min-width: 60px;
}

.edd-quiz-input {
    width: 120px;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 1.4rem;
    font-weight: 700;
    font-family: var(--font);
    border: 1.5px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    text-align: center;
    outline: none;
    transition: border-color 0.2s;
}

.edd-quiz-input:focus {
    border-color: var(--accent);
}

.edd-quiz-input::placeholder {
    color: var(--text-faint);
}

.edd-quiz-unit {
    font-size: 1rem;
    color: var(--text-dim);
    font-weight: 500;
}

.edd-quiz-input-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

/* Quiz next button */
.edd-quiz-next {
    display: inline-flex;
    align-items: center;
    margin-top: 32px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-dim);
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    transition: all 0.2s;
}

.edd-quiz-next:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.edd-quiz-next--finish {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
}

.edd-quiz-next--finish:hover {
    background: #d44f3d;
    color: #fff;
}

/* Textarea (restrictions) */
.edd-quiz-input-group--full {
    width: 100%;
    margin-top: 24px;
}

.edd-quiz-textarea {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font);
    border: 1.5px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    resize: vertical;
    min-height: 80px;
    outline: none;
    transition: border-color 0.2s;
}

.edd-quiz-textarea:focus {
    border-color: var(--accent);
}

.edd-quiz-textarea::placeholder {
    color: var(--text-faint);
}

/* Budget slider */
.edd-quiz-budget {
    margin-top: 32px;
}

.edd-quiz-range {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--border);
    border-radius: 6px;
    outline: none;
    cursor: pointer;
}

.edd-quiz-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(232, 96, 76, 0.3);
    cursor: pointer;
}

.edd-quiz-range::-moz-range-thumb {
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 50%;
    border: none;
    box-shadow: 0 2px 8px rgba(232, 96, 76, 0.3);
    cursor: pointer;
}

.edd-quiz-range-value {
    text-align: center;
    margin-top: 16px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.edd-quiz-range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--text-faint);
}

/* Equipment split */
.edd-equipment-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 16px;
}

.edd-equipment-group {}

.edd-equipment-label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

/* Food section (vertical) */
.edd-food-section {
    margin-top: 20px;
}

.edd-food-section__header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
}

.edd-food-section__header--love {
    background: rgba(34, 197, 94, 0.08);
    border-left: 3px solid #22c55e;
}

.edd-food-section__header--hate {
    background: rgba(239, 68, 68, 0.07);
    border-left: 3px solid #ef4444;
}

.edd-food-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.edd-food-section__title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2px;
}

.edd-food-section__hint {
    font-size: 0.8rem;
    color: var(--text-faint);
    margin: 0;
}

.edd-food-divider {
    margin: 24px 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* Custom text add input */
.edd-quiz-text-add {
    width: 100%;
    margin-top: 10px;
    padding: 10px 16px;
    border: 1.5px dashed var(--border);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text);
    font-size: 0.9rem;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.2s;
}

.edd-quiz-text-add:focus {
    border-color: var(--accent);
    border-style: solid;
}

.edd-quiz-text-add::placeholder {
    color: var(--text-faint);
}

/* Compact option grid */
.edd-quiz-options--compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.edd-quiz-options--compact .edd-quiz-opt {
    padding: 10px 14px;
    font-size: 0.85rem;
    text-align: center;
    justify-content: center;
}

.edd-quiz-options--food {
    grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 600px) {
    .edd-equipment-split {
        grid-template-columns: 1fr;
    }

    .edd-quiz-options--compact {
        grid-template-columns: 1fr 1fr;
    }

    .edd-quiz-options--food {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---------- LOADING SCREEN ---------- */
.edd-loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.edd-loading-content {
    text-align: center;
    max-width: 400px;
    padding: 32px;
}

.edd-loading-spinner {
    margin: 0 auto 32px;
}

.edd-spinner-ring {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spinRing 1s linear infinite;
}

@keyframes spinRing {
    100% {
        transform: rotate(360deg);
    }
}

.edd-loading-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.edd-loading-sub {
    font-size: 0.95rem;
    color: var(--text-dim);
    margin-bottom: 32px;
}

.edd-loading-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.edd-loading-step {
    font-size: 0.9rem;
    color: var(--text-faint);
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.edd-loading-step.active {
    color: var(--accent);
    border-color: var(--accent-border);
    background: var(--accent-light);
}

.edd-loading-step.done {
    color: var(--text-dim);
}

/* ---------- RESULTS ---------- */
.edd-results {
    padding: 60px 0 100px;
    min-height: 100vh;
}

.edd-results__header {
    text-align: center;
    margin-bottom: 48px;
}

.edd-results__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.edd-results__timeline {
    font-size: 1.1rem;
    color: var(--text-dim);
}

.edd-results__timeline strong {
    color: var(--accent);
}

.edd-results__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.edd-results__photo-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.edd-results__photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.edd-results__photo-col {
    position: relative;
}

.edd-results__photo-col img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.edd-results__photo-label {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 6px;
    background: var(--bg-card);
    color: var(--text-dim);
}

.edd-results__photo-label--accent {
    background: var(--accent);
    color: #fff;
}

/* Blurred meal plan */
.edd-results__plan-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: relative;
}

.edd-results__plan-blur {
    position: relative;
    min-height: 100%;
}

.edd-results__plan-content {
    padding: 32px;
    opacity: 0.8;
    user-select: none;
    pointer-events: none;
}

.edd-results__plan-content h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.edd-plan-day {
    margin-bottom: 16px;
}

.edd-plan-day strong {
    font-size: 0.95rem;
    display: block;
    margin-bottom: 4px;
    color: var(--accent);
}

.edd-plan-day p {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 2px;
}

.edd-results__plan-lock {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(250, 248, 245, 0.5);
    backdrop-filter: blur(2px);
    padding: 32px;
    text-align: center;
}

.edd-lock-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.edd-results__plan-lock h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.edd-results__plan-lock p {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 24px;
    max-width: 280px;
}

/* ---------- FOOTER ---------- */
.edd-footer {
    text-align: center;
    padding: 40px 0;
    color: var(--text-faint);
    font-size: 0.85rem;
    border-top: 1px solid var(--border);
}

/* ---------- REVEAL ANIMATIONS ---------- */
.edd-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.edd-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .edd-hero {
        padding: 80px 0 60px;
    }

    .edd-hero__title {
        font-size: 2.4rem;
        letter-spacing: -1px;
    }

    .edd-stories__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .edd-upload-layout {
        grid-template-columns: 1fr;
    }

    .edd-upload-preview {
        display: none;
    }

    .edd-upload-zone {
        padding: 50px 24px;
    }

    .edd-container {
        padding: 0 20px;
    }

    .edd-results__grid {
        grid-template-columns: 1fr;
    }

    .edd-quiz-question {
        font-size: 1.4rem;
    }

    .edd-nav__links {
        display: none;
    }
}

/* ========================================
   RESULTS PAGE (page-results.php)
   ======================================== */
.edd-results-page {
    background: var(--bg);
}

.edd-results-main {
    padding: 40px 0 80px;
}

.edd-results-top {
    text-align: center;
    padding: 20px 0 48px;
}

.edd-results-headline {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    margin: 16px 0 12px;
    color: var(--text);
}

.edd-results-headline .edd-accent-text {
    color: var(--accent);
}

.edd-results-tagline {
    color: var(--text-faint);
    font-size: 1.05rem;
    max-width: 480px;
    margin: 0 auto;
}

/* Main grid */
.edd-results-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    align-items: start;
}

/* Photo card */
.edd-photo-result-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.edd-photo-result-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.edd-photo-result-col {
    position: relative;
}

.edd-photo-result-col--before {
    border-right: 1px solid var(--border);
}

.edd-photo-result-tag {
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.edd-photo-result-tag--accent {
    color: #ffd700;
}

.edd-photo-result-img {
    height: 320px;
    background: var(--bg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edd-photo-result-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.edd-photo-result-placeholder {
    font-size: 3rem;
    opacity: 0.3;
}

.edd-photo-result-placeholder--glow {
    filter: drop-shadow(0 0 20px rgba(232, 96, 76, 0.6));
    opacity: 0.6;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 10px rgba(232, 96, 76, 0.4));
    }

    50% {
        filter: drop-shadow(0 0 28px rgba(232, 96, 76, 0.9));
    }
}

/* Weight diff */
.edd-photo-result-footer {
    padding: 16px 20px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.edd-weight-diff {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
}

.edd-weight-diff__now {
    color: var(--text-faint);
}

.edd-weight-diff__target {
    color: var(--accent);
}

.edd-weight-diff__label {
    font-size: 0.85rem;
    color: var(--text-faint);
    margin-top: 4px;
}

/* Plan CTA card */
.edd-plan-cta-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.edd-plan-cta-header {
    margin-bottom: 20px;
}

.edd-plan-cta-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.edd-plan-cta-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.edd-plan-cta-sub {
    color: var(--text-faint);
    font-size: 0.9rem;
}

/* Survey summary tags */
.edd-survey-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.edd-summary-tag {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
}

.edd-summary-tag--warn {
    background: rgba(251, 146, 60, 0.1);
    border-color: rgba(251, 146, 60, 0.4);
    color: #c2690a;
}



/* Includes list */
.edd-plan-includes {
    margin-bottom: 24px;
}

.edd-plan-includes__title {
    font-weight: 600;
    margin-bottom: 8px;
}

.edd-plan-includes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.edd-plan-includes li {
    padding: 5px 0;
    font-size: 0.9rem;
    color: var(--text);
}

/* Full CTA button */
.edd-cta-btn--full {
    width: 100%;
    padding: 18px 24px;
    font-size: 1.1rem;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-family: var(--font);
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
    box-shadow: 0 8px 24px rgba(232, 96, 76, 0.35);
}

.edd-cta-btn--full:hover {
    background: #d44f3d;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(232, 96, 76, 0.45);
}

.edd-plan-note {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-faint);
    margin-top: 10px;
}

.edd-badge--coral {
    display: inline-block;
    background: rgba(232, 96, 76, 0.12);
    color: var(--accent);
    border: 1px solid rgba(232, 96, 76, 0.25);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

@media (max-width: 900px) {
    .edd-results-grid {
        grid-template-columns: 1fr;
    }

    .edd-results-headline {
        font-size: 2.2rem;
    }

    .edd-photo-result-img {
        height: 240px;
    }
}

/* ---------- LOGIN MODAL & BUTTON ---------- */
.edd-nav-login {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    padding: 8px 18px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.edd-nav-login:hover {
    background: #d44f3d;
    transform: translateY(-1px);
}

/* User Menu Dropdown Styles */
.edd-user-menu {
    position: relative;
    display: inline-block;
}

.edd-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-warm);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
}


/* ---------- PAYMENT PAGE ---------- */
.edd-payment-page {
    background: var(--bg-warm);
    min-height: 100vh;
}

.edd-payment-main {
    padding: 60px 0;
}

.edd-payment-card {
    background: #fff;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.edd-payment-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.edd-payment-sub {
    color: var(--text-dim);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.edd-payment-details {
    text-align: left;
    max-width: 440px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.edd-payment-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.edd-payment-icon {
    font-size: 1.5rem;
    background: var(--bg-warm);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.edd-payment-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
}

.edd-payment-text span {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.4;
}

.edd-price-box {
    background: rgba(232, 96, 76, 0.04);
    border: 1px solid rgba(232, 96, 76, 0.1);
    padding: 30px;
    border-radius: 18px;
    margin-bottom: 30px;
}

.edd-price-label {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.edd-price-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
}

.edd-price-old {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: #999;
    font-weight: 400;
    margin-left: 8px;
}

.edd-price-info {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
}

.edd-secure-note {
    font-size: 0.8rem;
    color: #999;
    margin-top: 16px;
}

@media (max-width: 600px) {
    .edd-payment-card {
        padding: 40px 20px;
    }

    .edd-payment-title {
        font-size: 1.8rem;
    }
}

/* ---------- AI TEST SECTION ---------- */
.edd-test-section {
    padding: 80px 0;
    background: #f8f9fa;
    border-top: 1px solid var(--border);
}

.edd-test-header {
    text-align: center;
    margin-bottom: 50px;
}

.edd-test-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.edd-test-upload {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.edd-test-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.edd-test-result-col span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
}

.edd-test-img {
    height: 350px;
    background: var(--bg-warm);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ccc;
    border: 1px solid var(--border);
}

.edd-test-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.edd-test-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    display: none;
}

.edd-test-status.loading {
    display: block;
    background: #e9ecef;
    color: #495057;
}

.edd-test-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
}

.edd-test-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
}

@media (max-width: 900px) {
    .edd-test-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   NEW HERO — MOBILE-FIRST (Kimi Design)
   ============================================================ */

/* Hero section — full width, no container padding on mobile */
.edd-hero {
    text-align: center;
    padding-top: 68px;
    /* height of nav */
    padding-bottom: 0;
    background: var(--bg);
}

.edd-hero__inner {
    max-width: 480px;
    margin: 0 auto;
    padding: 24px 20px 40px;
}

/* ---- Photo Box ---- */
.edd-hero__photo-box {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #EDE9E2;
    margin-bottom: 28px;
    cursor: pointer;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s, background 0.3s;
}

.edd-hero__photo-box:hover {
    border-color: var(--accent);
    background: rgba(232, 96, 76, 0.04);
}

.edd-hero__file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.edd-hero__photo-placeholder {
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.edd-hero__photo-icon {
    color: #aaa;
    margin-bottom: 8px;
}

.edd-hero__photo-label {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #999;
}

.edd-hero__photo-sub {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.edd-hero__photo-sub2 {
    font-size: 0.9rem;
    color: #999;
}

/* ---- Split preview (before/after) ---- */
.edd-hero__photo-preview {
    width: 100%;
    height: 100%;
}

.edd-hero__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 260px;
}

.edd-hero__split-half {
    position: relative;
    overflow: hidden;
    background: #EDE9E2;
}

.edd-hero__split-half--after {
    background: #E0DAD2;
}

.edd-hero__split-half img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.edd-hero__split-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.9);
    color: #555;
    z-index: 3;
}

.edd-hero__split-tag--after {
    background: var(--accent);
    color: #fff;
}

.edd-hero__ai-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    background: #E0DAD2;
    font-size: 0.8rem;
    color: #999;
}

.edd-hero__ai-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

/* Simple spinner */
.edd-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(0, 0, 0, 0.08);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spinRing 0.9s linear infinite;
    display: inline-block;
}

/* ---- Hero Typography ---- */
.edd-hero__title {
    font-family: var(--font);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 10px;
    color: var(--text);
}

.edd-hero__title-accent {
    color: var(--accent);
}

.edd-hero__sub {
    font-size: 1rem;
    color: var(--text-dim);
    margin-bottom: 24px;
}

/* ---- CTA Buttons ---- */
.edd-cta-btn--coral {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 6px 24px rgba(232, 96, 76, 0.3);
}

.edd-cta-btn--coral:hover {
    background: #d44f3d;
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(232, 96, 76, 0.4);
    color: #fff;
}

.edd-cta-btn--teal {
    background: #4ECDC4;
    color: #fff;
    box-shadow: 0 6px 24px rgba(78, 205, 196, 0.3);
}

.edd-cta-btn--teal:hover {
    background: #3dbdb5;
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(78, 205, 196, 0.4);
    color: #fff;
}

.edd-cta-btn--hero {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 18px 24px;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.edd-cta-full {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    padding: 18px 24px;
    border-radius: 14px;
    margin-top: 8px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ============================================================
   SOCIAL PROOF — Avatar Results Section
   ============================================================ */
.edd-results {
    padding: 48px 0;
    background: var(--bg);
}

.edd-results__title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--text);
}

.edd-results__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 20px;
}

.edd-avatar-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.edd-avatar-card.edd-revealed {
    opacity: 1;
    transform: translateY(0);
}

.edd-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #D8D0C8;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Subtle gradient backgrounds for avatar placeholders */
.edd-avatar--1 {
    background: linear-gradient(135deg, #D4C5B2, #C0AE98);
}

.edd-avatar--2 {
    background: linear-gradient(135deg, #C8B8A8, #B8A898);
}

.edd-avatar--3 {
    background: linear-gradient(135deg, #D0C0B0, #C0B0A0);
}

.edd-avatar--4 {
    background: linear-gradient(135deg, #C5B5A5, #B5A895);
}

.edd-avatar__kg {
    font-size: 0.85rem;
    font-weight: 700;
    color: #4ECDC4;
}

.edd-avatar__name {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-align: center;
}

/* ============================================================
   BENEFITS — What you get
   ============================================================ */
.edd-benefits {
    padding: 48px 0;
    background: var(--bg-warm);
}

.edd-benefits__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding: 0 20px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.edd-benefits__title.edd-revealed {
    opacity: 1;
    transform: translateY(0);
}

.edd-benefits__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 20px;
}

.edd-benefit-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-card);
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.edd-benefit-item.edd-revealed {
    opacity: 1;
    transform: translateX(0);
}

.edd-benefit-item:hover {
    box-shadow: var(--shadow);
    transform: translateX(4px);
}

.edd-benefit-item--cta {
    background: #4ECDC4;
    border-color: #4ECDC4;
    color: #fff;
}

.edd-benefit-item--cta .edd-benefit-name,
.edd-benefit-item--cta .edd-benefit-desc {
    color: #fff;
}

.edd-benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.edd-benefit-icon--teal {
    background: rgba(78, 205, 196, 0.12);
}

.edd-benefit-icon--coral {
    background: rgba(255, 255, 255, 0.2);
}

.edd-benefit-text {
    flex: 1;
}

.edd-benefit-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.edd-benefit-desc {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin: 0;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.edd-how {
    padding: 56px 0;
    background: var(--bg);
}

.edd-how__title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text);
}

.edd-how__steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.edd-how__steps::before {
    content: '';
    position: absolute;
    left: 38px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), #4ECDC4);
    opacity: 0.2;
}

.edd-how-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 16px 0;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.edd-how-step.edd-revealed {
    opacity: 1;
    transform: translateY(0);
}

.edd-how-step__num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(232, 96, 76, 0.25);
    position: relative;
    z-index: 1;
}

.edd-how-step__content {
    padding-top: 8px;
}

.edd-how-step__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.edd-how-step__desc {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin: 0;
}

/* ============================================================
   Scroll Reveal — base state
   ============================================================ */
.edd-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.edd-revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transform: translateX(0) !important;
}

/* ============================================================
   MOBILE RESPONSIVE — max 480px
   ============================================================ */
@media (max-width: 480px) {
    .edd-hero__title {
        font-size: 1.7rem;
    }

    .edd-results__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .edd-avatar {
        width: 52px;
        height: 52px;
    }

    .edd-avatar__kg {
        font-size: 0.75rem;
    }

    .edd-avatar__name {
        font-size: 0.62rem;
    }

    .edd-hero__photo-box {
        min-height: 220px;
    }

    .edd-hero__split {
        height: 220px;
    }
}

/* ---------- QUIZ SLIDER (budget) ---------- */
.edd-quiz-slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--border);
    border-radius: 6px;
    outline: none;
    cursor: pointer;
}

.edd-quiz-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(232, 96, 76, 0.3);
    cursor: pointer;
}

.edd-quiz-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 50%;
    border: none;
    box-shadow: 0 2px 8px rgba(232, 96, 76, 0.3);
    cursor: pointer;
}

/* ---------- LOADING INNER ---------- */
.edd-loading-inner {
    text-align: center;
    max-width: 400px;
    padding: 40px 32px;
}

.edd-loading-inner .edd-loading-spinner {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spinRing 1s linear infinite;
}

.edd-loading-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
    text-align: left;
}

.edd-loading-steps>div {
    font-size: 0.9rem;
    color: var(--text-dim);
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: opacity 0.3s, color 0.3s;
}

.edd-loading-steps>div.active {
    opacity: 1 !important;
    color: var(--accent);
    border-color: var(--accent-border);
    background: var(--accent-light);
}