/* ============================================
   Hero — Warm, food-oriented, form above the fold
   Left: headline + form | Right: warm product photo
   ============================================ */

.hero {
    display: flex;
    align-items: center;
    padding: 116px 0 64px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

/* Warm radial glow behind content */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 10%, rgba(224, 89, 42, 0.10) 0%, transparent 55%),
                radial-gradient(ellipse at 0% 90%, rgba(202, 138, 4, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* ── Two-column grid ── */
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
    max-width: 1240px;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: left;
}

/* ── Pill badge ── */
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 16px;
    background: var(--terracotta-soft);
    border: 1px solid rgba(224, 89, 42, 0.22);
    border-radius: 100px;
    font-size: 0.82rem;
    color: var(--terracotta-hover);
    margin-bottom: 22px;
    opacity: 0;
    animation: fadeUp 0.6s ease forwards 0.05s;
    font-weight: 600;
}

.hero-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--terracotta);
    animation: pulse 2s ease infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

/* ── Title ── */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.95rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.08;
    color: var(--text-dark);
    margin-bottom: 18px;
    letter-spacing: -0.03em;
    opacity: 0;
    animation: fadeUp 0.6s ease forwards 0.15s;
}

.hero-title em {
    font-style: normal;
    color: var(--terracotta);
}

/* ── Subtitle ── */
.hero-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 520px;
    margin: 0 0 26px;
    font-weight: 400;
    opacity: 0;
    animation: fadeUp 0.6s ease forwards 0.25s;
}

.hero-subtitle strong {
    color: var(--text-dark);
    font-weight: 700;
}

/* ============================================
   HERO FORM INLINE (email only)
   ============================================ */
.hero-form-container {
    margin: 0;
    opacity: 0;
    animation: fadeUp 0.6s ease forwards 0.35s;
}

.hero-form-inline {
    max-width: 540px;
}

.hero-form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.hero-form-group input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 17px 20px;
    background: var(--white);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius);
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}

.hero-form-group input[type="email"]::placeholder {
    color: var(--text-muted);
}

.hero-form-group input[type="email"]:focus {
    outline: none;
    border-color: var(--terracotta);
    box-shadow: 0 0 0 4px var(--terracotta-soft);
}

.hero-form-submit {
    padding: 17px 30px;
    background: var(--terracotta);
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    box-shadow: 0 6px 20px var(--terracotta-glow);
}

.hero-form-submit:hover:not(:disabled) {
    background: var(--terracotta-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--terracotta-glow);
}

.hero-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.hero-form-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 14px;
    max-width: 480px;
}

.hero-form-note svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.6;
    color: var(--terracotta);
}

.hero-form-trust {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.hero-form-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-form-error {
    display: none;
    color: var(--red);
    font-size: 0.85rem;
    margin-top: 8px;
}

.hero-form-success {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--green-soft);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-md);
    color: #15803d;
    font-size: 0.92rem;
    font-weight: 600;
    margin-top: 14px;
}

.hero-form-success.active {
    display: flex;
    animation: slideDown 0.4s ease;
}

.hero-form-success svg {
    flex-shrink: 0;
    color: #15803d;
}

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

/* ============================================
   HERO VISUAL — warm photo + floating demo
   ============================================ */
.hero-visual {
    position: relative;
    width: 100%;
    opacity: 0;
    animation: fadeUp 0.7s ease forwards 0.4s;
}

.hero-visual-photo {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    aspect-ratio: 4 / 3;
}

.hero-visual-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-demo {
    border-radius: 12px;
    overflow: hidden;
    background: var(--plum);
    border: 1px solid rgba(26, 15, 31, 0.12);
    box-shadow: 0 20px 50px rgba(26, 15, 31, 0.25);
}

/* Floating demo overlapping bottom-left of photo */
.hero-demo-float {
    position: absolute;
    width: 56%;
    left: -24px;
    bottom: -28px;
    z-index: 2;
    border: 2px solid var(--white);
}

.hero-demo video {
    display: block;
    width: 100%;
    height: auto;
}

/* Browser-style top bar */
.hero-demo-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    background: var(--plum-soft);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-demo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.hero-demo-dot:first-child { background: #ff5f57; }
.hero-demo-dot:nth-child(2) { background: #ffbd2e; }
.hero-demo-dot:nth-child(3) { background: #28c840; }

.hero-demo-label {
    margin-left: 8px;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}

/* ============================================
   VALUE BULLETS BAND (first scroll reward)
   ============================================ */
.hero-bullets-band {
    background: var(--cream);
    padding: 24px 0 8px;
}

.hero-bullets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.hero-bullet {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px 18px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: left;
}

.hero-bullet-num {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terracotta);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 800;
    border-radius: 50%;
    flex-shrink: 0;
}

.hero-bullet p {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.45;
    font-weight: 600;
}

.hero-bullet p em {
    font-style: normal;
    color: var(--terracotta);
    font-weight: 700;
}

.hero-bullet-note {
    display: block;
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.82rem;
    margin-top: 2px;
}

/* ── Animations ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-pill,
    .hero-title,
    .hero-subtitle,
    .hero-form-container,
    .hero-visual {
        animation: none;
        opacity: 1;
    }
    .hero-pill-dot { animation: none; }
}

/* ============================================
   Tablet
   ============================================ */
@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-visual {
        max-width: 520px;
    }
}

/* ============================================
   Mobile — form above the fold
   ============================================ */
@media (max-width: 768px) {
    .hero {
        padding: 92px 0 40px;
    }

    .hero-pill {
        margin-bottom: 16px;
        font-size: 0.74rem;
        padding: 6px 13px;
    }

    .hero-title {
        font-size: clamp(1.7rem, 7vw, 2.1rem);
        margin-bottom: 14px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    /* Form group stacks but stays compact + visible early */
    .hero-form-group {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 10px;
    }

    .hero-form-group input[type="email"] {
        padding: 15px 18px;
        font-size: 16px; /* prevents iOS zoom */
    }

    .hero-form-submit {
        width: 100%;
        padding: 16px;
        font-size: 1rem;
    }

    .hero-form-note {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .hero-form-trust {
        gap: 8px 16px;
        font-size: 0.78rem;
    }

    /* Visual goes BELOW the form on mobile */
    .hero-visual {
        order: 3;
        margin: 8px auto 0;
        max-width: 100%;
    }

    .hero-demo-float {
        width: 52%;
        left: -10px;
        bottom: -18px;
    }

    /* Bullets stack vertically */
    .hero-bullets {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-bullets-band {
        padding: 28px 0 4px;
    }

    .hero-bullet p {
        font-size: 0.92rem;
    }
}
