/* /Pages/Home.razor.rz.scp.css */
/* ============================================================
   OliveIt landing page (scoped to Home.razor)
   ============================================================ */

.lp[b-tlivxq89dn] {
    overflow-x: hidden;
}

/* ---------- Shared bits ---------- */
.brand[b-tlivxq89dn] {
    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.brand-olive[b-tlivxq89dn] { color: var(--olive-deep); }
.brand-it[b-tlivxq89dn]    { color: var(--olive-bright); }

.pill[b-tlivxq89dn] {
    display: inline-block;
    background: var(--cream-2);
    color: var(--olive-deep);
    font-weight: 800;
    font-size: 0.9rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
}

.btn[b-tlivxq89dn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    border: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn-sm[b-tlivxq89dn] { font-size: 0.95rem; padding: 0.55rem 1.1rem; }

.btn-primary[b-tlivxq89dn] {
    background: var(--olive-bright);
    color: #fff;
    box-shadow: 0 10px 22px -10px rgba(143, 198, 61, 0.9);
}

.btn-primary:hover[b-tlivxq89dn] {
    background: #7eb733;
    transform: translateY(-2px);
    box-shadow: 0 16px 26px -12px rgba(143, 198, 61, 0.95);
}

.btn-ghost[b-tlivxq89dn] {
    background: #fff;
    color: var(--olive-deep);
    border-color: var(--line);
}

.btn-ghost:hover[b-tlivxq89dn] {
    border-color: var(--olive-bright);
    transform: translateY(-2px);
}

/* ---------- Nav ---------- */
.lp-nav[b-tlivxq89dn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1140px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
}

.nav-links[b-tlivxq89dn] {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-links a[b-tlivxq89dn] {
    color: var(--olive-ink);
    text-decoration: none;
    font-weight: 700;
}

.nav-links a:hover[b-tlivxq89dn] { color: var(--olive-deep); }
.nav-links a.btn-primary[b-tlivxq89dn] { color: #fff; }

/* ---------- Hero ---------- */
.hero[b-tlivxq89dn] {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 2rem;
    max-width: 1140px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4.5rem;
}

.hero-title[b-tlivxq89dn] {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.04;
    margin: 1.1rem 0 0;
    color: var(--olive-deep);
}

.hero-sub[b-tlivxq89dn] {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--muted);
    line-height: 1.6;
    max-width: 34ch;
    margin: 1.25rem 0 0;
}

.hero-cta[b-tlivxq89dn] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

/* Hero art + floating mascots */
.hero-art[b-tlivxq89dn] {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 360px;
}

.hero-ollie[b-tlivxq89dn] {
    width: min(360px, 80%);
    height: auto;
    filter: drop-shadow(0 24px 30px rgba(74, 122, 30, 0.18));
    animation: bob-b-tlivxq89dn 4.5s ease-in-out infinite;
}

.float[b-tlivxq89dn] {
    position: absolute;
    width: 92px;
    height: auto;
    clip-path: inset(0 0 7% 0);          /* trim the exported black shadow bar */
    filter: drop-shadow(0 10px 14px rgba(46, 58, 32, 0.18));
    animation: bob-b-tlivxq89dn 5s ease-in-out infinite;
}

.float-a[b-tlivxq89dn] { top: 6%;  left: 2%;  animation-delay: 0.0s; }
.float-b[b-tlivxq89dn] { top: 12%; right: 4%; width: 78px; animation-delay: 0.6s; }
.float-c[b-tlivxq89dn] { bottom: 8%; left: 3%; width: 82px; animation-delay: 1.2s; }
.float-d[b-tlivxq89dn] { bottom: 4%;  right: 6%; width: 76px; animation-delay: 1.8s; }

@keyframes bob-b-tlivxq89dn {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

/* ---------- Trust / what makes OliveIt different ---------- */
.trust[b-tlivxq89dn] {
    /* soft brand-tinted band, distinct from the white hero above and cream categories below */
    background: linear-gradient(180deg, #fff 0%, var(--cream-2) 100%);
    padding: 4.5rem 1.5rem 5rem;
}

.pill-trust[b-tlivxq89dn] {
    background: #fff;
    box-shadow: var(--shadow-card);
    margin-bottom: 1.1rem;
}

.trust .section-head[b-tlivxq89dn] { margin-bottom: 2.75rem; }

.trust .section-head p strong[b-tlivxq89dn] { color: var(--olive-deep); }

.trust-compare[b-tlivxq89dn] {
    max-width: 880px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 1.25rem;
}

.trust-card[b-tlivxq89dn] {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

/* the "crowd" side is deliberately muted — it's what OliveIt is NOT */
.trust-card--crowd[b-tlivxq89dn] {
    border: 1px dashed var(--line);
    color: var(--muted);
}

/* the "you" side is the hero of the comparison — full brand weight */
.trust-card--you[b-tlivxq89dn] {
    border: 2px solid var(--olive-bright);
    box-shadow: var(--shadow-soft);
}

.trust-tag[b-tlivxq89dn] {
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
}

.trust-tag--you[b-tlivxq89dn] { color: var(--olive-deep); }

.trust-score[b-tlivxq89dn] {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
}

.trust-stars[b-tlivxq89dn] {
    font-size: 1.5rem;
    color: #c7cfba;
    letter-spacing: 0.05em;
}

.trust-num[b-tlivxq89dn] {
    font-size: 2.6rem;
    font-weight: 900;
    color: #9aa48b;
    line-height: 1;
}

.trust-meta[b-tlivxq89dn] {
    margin: 0;
    line-height: 1.5;
    font-size: 1rem;
}

.trust-meta--you[b-tlivxq89dn] { color: var(--olive-ink); }
.trust-meta--you strong[b-tlivxq89dn] { color: var(--olive-deep); }

/* stacked friend avatars */
.trust-friends[b-tlivxq89dn] {
    list-style: none;
    margin: 0;
    padding: 0.25rem 0 0;
    display: flex;
}

.trust-friends li[b-tlivxq89dn] {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: #fff;
    background: var(--olive);
    border: 3px solid #fff;
    margin-left: -12px;
    box-shadow: 0 4px 10px -4px rgba(46, 58, 32, 0.4);
}

.trust-friends li:first-child[b-tlivxq89dn] {
    margin-left: 0;
    background: var(--olive-deep);
}

.trust-friends-more[b-tlivxq89dn] {
    background: var(--cream-2) !important;
    color: var(--olive-deep) !important;
}

.trust-vs[b-tlivxq89dn] {
    align-self: center;
    font-weight: 900;
    font-style: italic;
    color: var(--muted);
    font-size: 1.1rem;
}

.trust-points[b-tlivxq89dn] {
    list-style: none;
    max-width: 880px;
    margin: 2.5rem auto 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
}

.trust-points li[b-tlivxq89dn] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    color: var(--olive-ink);
}

.trust-point-emoji[b-tlivxq89dn] { font-size: 1.2rem; }

@media (max-width: 640px) {
    .trust-compare[b-tlivxq89dn] {
        grid-template-columns: 1fr;
    }
    .trust-vs[b-tlivxq89dn] { transform: rotate(90deg); }
}

/* ---------- Section heads ---------- */
.section-head[b-tlivxq89dn] {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
    padding: 0 1rem;
}

.section-head h2[b-tlivxq89dn] {
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--olive-deep);
    margin: 0;
}

.section-head p[b-tlivxq89dn] {
    color: var(--muted);
    font-size: 1.15rem;
    margin: 0.75rem 0 0;
}

/* ---------- Categories ---------- */
.categories[b-tlivxq89dn] {
    background: var(--cream);
    padding: 4.5rem 1.5rem;
}

.cat-grid[b-tlivxq89dn] {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1040px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.25rem;
}

.cat-card[b-tlivxq89dn] {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem 1rem 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cat-card:hover[b-tlivxq89dn] {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px -18px rgba(46, 58, 32, 0.3);
}

.cat-card img[b-tlivxq89dn] {
    width: 96px;
    height: 96px;
    object-fit: contain;
    object-position: top center;
    clip-path: inset(0 0 7% 0);          /* trim the exported black shadow bar */
    margin-bottom: 0.5rem;
}

.cat-card span[b-tlivxq89dn] {
    display: block;
    font-weight: 800;
    color: var(--olive-ink);
}

/* ---------- Features ---------- */
.features[b-tlivxq89dn] {
    padding: 5rem 1.5rem;
}

.feature-grid[b-tlivxq89dn] {
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.feature-card[b-tlivxq89dn] {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    text-align: center;
}

.feature-emoji[b-tlivxq89dn] {
    font-size: 2.4rem;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.feature-card h3[b-tlivxq89dn] {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--olive-deep);
    margin: 0 0 0.5rem;
}

.feature-card p[b-tlivxq89dn] {
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* ---------- Phone showcase ---------- */
.showcase[b-tlivxq89dn] {
    /* full-bleed background band */
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
    padding: 4.5rem 1.5rem;
}

.showcase-inner[b-tlivxq89dn] {
    /* centered content column, matching the other lower sections (1040px) */
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 2rem;
}

.showcase-art[b-tlivxq89dn] {
    display: flex;
    justify-content: center;
}

.showcase-art img[b-tlivxq89dn] {
    width: auto;
    max-height: 560px;
    max-width: 100%;
    filter: drop-shadow(0 30px 45px rgba(46, 58, 32, 0.25));
}

.showcase-copy[b-tlivxq89dn] {
    max-width: 420px;
    justify-self: center;
}

.showcase-copy h2[b-tlivxq89dn] {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 900;
    color: var(--olive-deep);
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.showcase-copy p[b-tlivxq89dn] {
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.6;
    margin: 0 0 1.75rem;
}

/* ---------- Footer ---------- */
.lp-footer[b-tlivxq89dn] {
    background: var(--olive-ink);
    color: #dfe7d2;
    padding: 3rem 1.5rem;
}

.footer-inner[b-tlivxq89dn] {
    max-width: 1140px;
    margin: 0 auto;
    text-align: center;
}

.lp-footer .brand-olive[b-tlivxq89dn] { color: #cfe3b4; }
.lp-footer .brand-it[b-tlivxq89dn]    { color: var(--olive-bright); }

.footer-tag[b-tlivxq89dn] {
    margin: 0.75rem 0 1.25rem;
    color: #b9c6a6;
    font-weight: 700;
}

.footer-links[b-tlivxq89dn] {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.footer-links a[b-tlivxq89dn] {
    color: #dfe7d2;
    text-decoration: none;
    font-weight: 700;
}

.footer-links a:hover[b-tlivxq89dn] { color: #fff; }

.footer-copy[b-tlivxq89dn] {
    color: #93a381;
    font-size: 0.9rem;
    margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .hero[b-tlivxq89dn] {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 1.5rem;
    }

    .hero-sub[b-tlivxq89dn] { margin-left: auto; margin-right: auto; }
    .hero-cta[b-tlivxq89dn] { justify-content: center; }
    .hero-art[b-tlivxq89dn] { order: -1; min-height: 300px; }

    .showcase[b-tlivxq89dn] {
        text-align: center;
    }

    .showcase-inner[b-tlivxq89dn] {
        grid-template-columns: 1fr;
    }

    .showcase-copy[b-tlivxq89dn] { justify-self: center; order: -1; }
    .showcase-copy .btn[b-tlivxq89dn] { margin: 0 auto; }
}

@media (max-width: 560px) {
    .nav-links[b-tlivxq89dn] { gap: 0.9rem; }
    .nav-links a:not(.btn)[b-tlivxq89dn] { display: none; }   /* keep only the CTA on small screens */
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .hero-ollie[b-tlivxq89dn], .float[b-tlivxq89dn] { animation: none; }
    html[b-tlivxq89dn] { scroll-behavior: auto; }
}
