/* ===========================================================
   My App — landing theme (stil recime.app)
   Cobalt + cream, serif cu accent italic, ilustrații hand-drawn.
   =========================================================== */
:root {
    --cobalt: #4A90E2;
    --cream: #FBF1E3;
    --orange: #F08A2C;
    --orange-deep: #E8732A;
    --mustard: #F5C518;
    --ink: #1A1A1A;
    --acc-blue: #5BA3D9;
    --green: #6BA547;
    --purple: #8B5FBF;
    --red: #B84A2E;
    --maxw: 1100px;
    --pad-x: clamp(1.25rem, 4vw, 2rem);
    --sec-y: clamp(64px, 9vw, 120px);
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Inter", system-ui, -apple-system, sans-serif;
    --display: "Baloo 2", var(--serif);
}

* { box-sizing: border-box; }
.myapp-body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
.myapp-body img, .myapp-body svg { max-width: 100%; }
.myapp-main { display: block; }
.myapp-container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad-x); }

/* ---------- Typography ---------- */
.myapp-h1, .myapp-h2 {
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin: 0;
    text-wrap: balance;
}
.myapp-h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
.myapp-h2 { font-size: clamp(1.9rem, 4vw, 3.25rem); }
.myapp-h1 em, .myapp-h2 em { font-style: italic; font-weight: 500; }
.acc-yellow { color: var(--mustard); }
.acc-blue { color: var(--acc-blue); }
.acc-cream { color: var(--cream); }
.myapp-center { text-align: center; }
.myapp-body p { margin: 0 0 1.1rem; }

/* ---------- Buttons (flat pills) ---------- */
.myapp-btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--sans); font-weight: 600; font-size: 0.98rem;
    text-decoration: none; cursor: pointer;
    padding: 13px 28px; border-radius: 9999px; border: 1.5px solid transparent;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
    line-height: 1;
}
.myapp-btn--lg { padding: 16px 34px; font-size: 1.05rem; }
.myapp-btn--primary { background: var(--orange); color: var(--cream); }
.myapp-btn--primary:hover { background: var(--orange-deep); }
.myapp-btn--cream { background: var(--cream); color: var(--ink); }
.myapp-btn--cream:hover { background: #fff; }
.myapp-btn--outline { background: transparent; color: var(--cream); border-color: var(--cream); }
.myapp-btn--outline:hover { background: var(--cream); color: var(--cobalt); }

/* ---------- Nav (on cobalt) ---------- */
.myapp-nav { background: var(--cobalt); }
.myapp-nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.myapp-logo { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--cream); }
.myapp-chef { width: 34px; height: 30px; color: var(--cream); flex-shrink: 0; }
.myapp-logo__word { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.01em; }
.myapp-nav__links { display: flex; align-items: center; gap: 1.5rem; }
.myapp-nav__link { color: var(--cream); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.myapp-nav__link:hover { opacity: 0.8; }

/* ---------- Hero (cobalt) ---------- */
.myapp-hero { background: var(--cobalt); color: var(--cream); position: relative; padding-top: clamp(48px, 7vw, 90px); padding-bottom: 230px; text-align: center; overflow: hidden; }
.myapp-hero__inner { position: relative; z-index: 2; max-width: 820px; }
.myapp-hero .myapp-hero__sub { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 540px; margin: 1.4rem auto 2rem; color: var(--cream); opacity: 0.92; }
.myapp-hero__food { position: absolute; left: 0; right: 0; bottom: -10px; height: 220px; z-index: 1; pointer-events: none; }
.myapp-hero__food .ill { position: absolute; bottom: 0; filter: drop-shadow(0 -2px 0 rgba(0,0,0,0)); }
.ill-cheese  { width: 200px; left: 4%;  bottom: -20px; transform: rotate(-8deg); }
.ill-egg     { width: 160px; left: 24%; bottom: 30px; transform: rotate(6deg); }
.ill-tomato  { width: 170px; left: 45%; bottom: -26px; }
.ill-chili   { width: 110px; left: 64%; bottom: 10px; transform: rotate(12deg); }
.ill-herb    { width: 150px; right: 5%; bottom: -18px; transform: rotate(-6deg); }

/* ---------- Feature rows (cream) ---------- */
.myapp-feature { padding-block: var(--sec-y); }
.myapp-feature__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.myapp-feature--reverse .myapp-feature__media { order: -1; }
.myapp-feature__text { max-width: 460px; }
.myapp-feature__text p { color: #3a3a3a; font-size: 1.05rem; margin-block: 1rem 1.6rem; }
.myapp-sparkle { font-size: 1.6rem; display: inline-block; margin-bottom: 0.4rem; }
.myapp-sparkle--purple { color: var(--purple); }
.myapp-sparkle--orange { color: var(--orange-deep); }
.myapp-feature__media { position: relative; display: grid; place-items: center; min-height: 460px; }
.myapp-blob { position: absolute; width: 115%; max-width: none; z-index: 1; }
.myapp-scribble { position: absolute; width: 100%; z-index: 2; pointer-events: none; }
.myapp-phone { position: relative; z-index: 3; width: 230px; filter: drop-shadow(0 20px 40px rgba(26,26,26,0.18)); }

/* ---------- Testimonials (cream) ---------- */
.myapp-testi { padding-block: var(--sec-y); }
.myapp-testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.myapp-card { background: #fff; border: 1px solid color-mix(in srgb, var(--ink) 8%, var(--cream)); border-radius: 18px; padding: 1.6rem; }
.myapp-stars { display: flex; gap: 3px; margin-bottom: 0.9rem; }
.myapp-stars svg { width: 20px; height: 20px; }
.myapp-card__title { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; margin: 0 0 0.6rem; }
.myapp-card__quote { color: #444; font-size: 0.98rem; margin: 0 0 1.3rem; }
.myapp-card__author { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; font-size: 0.9rem; }
.myapp-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--mustard); color: var(--ink); display: grid; place-items: center; font-family: var(--serif); font-weight: 600; }

/* ---------- Press band (mustard) ---------- */
.myapp-press { background: var(--mustard); }
.myapp-press__inner { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 4vw, 3rem); flex-wrap: wrap; min-height: 84px; padding-block: 1rem; }
.myapp-press__label { font-size: 0.85rem; font-weight: 500; color: var(--ink); }
.myapp-press__logo { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--ink); opacity: 0.85; }

/* ---------- FAQ (cream) ---------- */
.myapp-faq { padding-block: var(--sec-y); }
.myapp-faq__list { max-width: 760px; margin: 2.5rem auto 0; }
.myapp-faq__item { border-top: 1px solid color-mix(in srgb, var(--ink) 14%, var(--cream)); }
.myapp-faq__item:last-child { border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, var(--cream)); }
.myapp-faq__item summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; padding: 1.3rem 0; font-family: var(--serif); font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}
.myapp-faq__item summary::-webkit-details-marker { display: none; }
.myapp-faq__icon { font-family: var(--sans); font-weight: 400; font-size: 1.6rem; line-height: 1; color: var(--orange-deep); transition: transform .2s ease; flex-shrink: 0; }
.myapp-faq__item[open] .myapp-faq__icon { transform: rotate(45deg); }
.myapp-faq__answer { padding: 0 0 1.4rem; color: #444; max-width: 90%; }

/* ---------- Pre-footer CTA (orange) ---------- */
.myapp-cta { background: var(--orange-deep); color: var(--cream); text-align: center; padding-block: clamp(70px, 10vw, 130px); position: relative; overflow: hidden; }
.myapp-cta__scribble { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.myapp-cta__inner { position: relative; z-index: 3; }
.myapp-cta__title { color: var(--cream); }
.myapp-cta p { opacity: 0.92; margin-block: 0.8rem 1.8rem; }
.myapp-recipe-card { position: absolute; z-index: 2; width: 150px; height: 190px; background: var(--cream); border-radius: 14px; box-shadow: 0 14px 30px rgba(26,26,26,0.18); }
.myapp-recipe-card::before { content: ""; position: absolute; inset: 14px; border-top: 22px solid var(--mustard); border-radius: 6px; }
.myapp-recipe-card--1 { left: -40px; top: 30px; transform: rotate(-14deg); }
.myapp-recipe-card--2 { right: -44px; bottom: 24px; transform: rotate(11deg); }

/* ---------- Footer (cobalt) ---------- */
.myapp-footer { background: var(--cobalt); color: var(--cream); padding-top: clamp(48px, 7vw, 80px); overflow: hidden; }
.myapp-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-bottom: 1.5rem; }
.myapp-footer__links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.myapp-footer__links a { color: var(--cream); text-decoration: none; font-size: 0.9rem; opacity: 0.9; }
.myapp-footer__links a:hover { opacity: 1; text-decoration: underline; }
.myapp-footer__stores { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.myapp-store { display: inline-flex; align-items: center; gap: 0.5rem; border: 1.5px solid var(--cream); border-radius: 12px; padding: 8px 14px; color: var(--cream); text-decoration: none; }
.myapp-store svg { width: 22px; height: 22px; }
.myapp-store span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 600; font-size: 0.95rem; }
.myapp-store small { font-size: 0.6rem; font-weight: 400; text-transform: uppercase; opacity: 0.85; letter-spacing: 0.04em; }
.myapp-footer__meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid color-mix(in srgb, var(--cream) 25%, transparent); padding-block: 1.4rem; font-size: 0.85rem; opacity: 0.92; }
.myapp-footer__social { display: flex; gap: 0.6rem; }
.myapp-footer__social a { color: var(--cream); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--cream) 45%, transparent); }
.myapp-footer__social svg { width: 17px; height: 17px; }
.myapp-footer__social a:hover { background: var(--cream); color: var(--cobalt); }
.myapp-footer__wordmark { display: flex; align-items: flex-end; justify-content: center; gap: 0.5rem; color: var(--cream); margin-top: 1rem; margin-bottom: -3vw; line-height: 0.8; }
.myapp-footer__wordmark span { font-family: var(--display); font-weight: 700; font-size: clamp(5rem, 22vw, 18rem); letter-spacing: -0.03em; }
.myapp-chef--big { width: clamp(3rem, 13vw, 11rem); height: auto; align-self: center; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .myapp-feature__inner { grid-template-columns: 1fr; gap: 2rem; }
    .myapp-feature--reverse .myapp-feature__media { order: 0; }
    .myapp-feature__text { max-width: none; text-align: center; margin-inline: auto; }
    .myapp-feature__media { min-height: 380px; }
    .myapp-testi__grid { grid-template-columns: 1fr; }
    .myapp-nav__links .myapp-nav__link { display: none; }
    .myapp-hero { padding-bottom: 180px; }
    .ill-egg, .ill-chili { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .myapp-btn, .myapp-faq__icon { transition: none; }
}
