/* landing-modern.css - modern landing page (header, hero, features, footer). Frontend home only. */
.lp {
    --lp-primary: #35bd64;
    --lp-primary-hover: #2ca557;
    --lp-brand: #3d2a67;
    --lp-text: #2c303b;
    --lp-muted: #6b6f82;
    --lp-border: #eceef4;
    --lp-surface: #fff;
    --lp-bg: #f6f7fb;
    font-family: 'Nunito', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 16px; line-height: 1.6; color: var(--lp-text);
    background: var(--lp-bg); min-height: 100vh; display: flex; flex-direction: column;
}
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp :where(h1, h2, h3, p) { padding: 0; margin: 0; }
.lp :where(h1, h2, h3) { color: var(--lp-text); font-weight: 700; line-height: 1.2; }
.lp a { text-decoration: none; }
.lp main { flex: 1 0 auto; }
.lp-container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---- header ---- */
.lp-header {
    position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--lp-border); box-shadow: 0 1px 8px rgba(44,48,59,.05);
    backdrop-filter: saturate(1.4) blur(6px);
}
.lp-header__inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.lp-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.lp-brand img { height: 44px; width: auto; display: block; }
.lp-nav { display: flex; gap: 6px; margin-left: 8px; flex: 1 1 auto; }
.lp-nav__link {
    padding: 8px 14px; border-radius: 8px; font-size: .95rem; font-weight: 600; color: var(--lp-muted);
    transition: color .15s ease, background-color .15s ease;
}
.lp-nav__link:hover { color: var(--lp-brand); background: #f1effa; }
.lp-header__login { margin-left: auto; }

/* ---- buttons ---- */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 42px; padding: 0 1.25rem; border: 1px solid transparent; border-radius: 10px;
    font-size: .95rem; font-weight: 700; line-height: 1; cursor: pointer; white-space: nowrap;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.lp-btn i { font-size: 1.15rem; line-height: 1; }
.lp-btn--primary { background: var(--lp-primary); color: #fff; box-shadow: 0 4px 12px rgba(53,189,100,.28); }
.lp-btn--primary:hover { background: var(--lp-primary-hover); color: #fff; transform: translateY(-1px); }
.lp-btn--ghost { background: #fff; color: var(--lp-brand); border-color: #d9d4ea; }
.lp-btn--ghost:hover { border-color: var(--lp-brand); color: var(--lp-brand); }
.lp-btn--lg { min-height: 48px; padding: 0 1.6rem; font-size: 1rem; }
.lp-btn:focus-visible, .lp-nav__link:focus-visible { outline: 3px solid rgba(61,42,103,.35); outline-offset: 2px; }

/* ---- hero ---- */
.lp-hero {
    position: relative; padding: 88px 0 96px;
    background:
        linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.82) 40%, rgba(255,255,255,.1) 100%),
        url('../images/delivery.png') center/cover no-repeat;
}
.lp-hero__content { max-width: 560px; }
.lp-hero__messages:empty { display: none; }
.lp-hero__messages { margin-bottom: 20px; }
.lp-eyebrow {
    display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px;
    background: #ece9f5; color: var(--lp-brand); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.lp-hero__title { font-size: 2.75rem; letter-spacing: -.01em; margin-bottom: 16px; }
.lp-hero__text { font-size: 1.1rem; color: #4a4f63; margin-bottom: 28px; }
.lp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- features ---- */
.lp-features { padding: 72px 0 80px; }
.lp-section-title { font-size: 1.75rem; text-align: center; }
.lp-section-sub { margin: 10px 0 40px; text-align: center; color: var(--lp-muted); }
.lp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lp-card {
    padding: 24px; background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: 14px;
    box-shadow: 0 1px 3px rgba(44,48,59,.06); transition: transform .18s ease, box-shadow .18s ease;
}
.lp-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(44,48,59,.1); }
.lp-card__icon {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    margin-bottom: 16px; border-radius: 12px; font-size: 1.6rem;
}
.lp-card__icon--green  { background: #e3f6ea; color: #1f7a42; }
.lp-card__icon--purple { background: #ece9f5; color: var(--lp-brand); }
.lp-card__icon--blue   { background: #e5f1fb; color: #1b6fb5; }
.lp-card__icon--amber  { background: #fff3dc; color: #a86a00; }
.lp-card__title { font-size: 1.05rem; margin-bottom: 8px; }
.lp-card__text { font-size: .93rem; color: var(--lp-muted); }

/* ---- footer ---- */
.lp-footer { flex-shrink: 0; padding: 20px 0; background: #fff; border-top: 1px solid var(--lp-border); font-size: .85rem; color: var(--lp-muted); text-align: center; }

/* ---- responsive ---- */
@media (max-width: 991.98px) {
    .lp-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-hero { padding: 64px 0 72px; }
    .lp-hero__title { font-size: 2.25rem; }
}
@media (max-width: 575.98px) {
    .lp-container { padding: 0 16px; }
    .lp-header__inner { min-height: 60px; gap: 12px; }
    .lp-brand img { height: 36px; }
    .lp-nav { display: none; }
    .lp-header__login { min-height: 38px; padding: 0 1rem; }
    .lp-hero { padding: 44px 0 52px; background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.85)), url('../images/delivery.png') center/cover no-repeat; }
    .lp-hero__title { font-size: 1.85rem; }
    .lp-hero__text { font-size: 1rem; }
    .lp-hero__actions .lp-btn { flex: 1 1 100%; }
    .lp-features { padding: 48px 0 56px; }
    .lp-section-title { font-size: 1.4rem; }
    .lp-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .lp * { transition: none !important; } }
