/*
 * MyLesson.AI — Logged-out Landing Design System
 * Scoped under `.lp` classes to avoid leaking into the app/Volt theme.
 * Brand palette mirrors the site nav gradient for a cohesive, A-grade feel.
 */

:root {
    --lp-ink: #16121f;
    --lp-purple: #4016a0;
    --lp-purple-2: #5b2bd6;
    --lp-blue: #3f59e4;
    --lp-teal: #4cb7a3;
    --lp-cream: #f6f1e7;
    --lp-gold: #ffb020;
    --lp-gold-2: #ff9416;
    --lp-muted: #5b6072;
    --lp-line: #e9e7f1;
    --lp-radius: 16px;
    --lp-shadow-sm: 0 2px 8px rgba(22, 18, 31, 0.06);
    --lp-shadow: 0 18px 48px -18px rgba(64, 22, 160, 0.35);
    --lp-shadow-lg: 0 30px 70px -24px rgba(64, 22, 160, 0.45);
}

/* ============================================================
   HERO
   ============================================================ */
.lp-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(76, 183, 163, 0.35), transparent 60%),
        radial-gradient(900px 500px at 0% 110%, rgba(255, 176, 32, 0.18), transparent 55%),
        linear-gradient(135deg, #2a0f63 0%, var(--lp-purple) 38%, var(--lp-blue) 100%);
    color: #fff;
    padding: clamp(3rem, 6vw, 6rem) 0 clamp(3.5rem, 7vw, 7rem);
}

.lp-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.5;
    pointer-events: none;
}

.lp-hero > .container {
    position: relative;
    z-index: 1;
}

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #fff;
    margin-bottom: 1.25rem;
}

.lp-eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lp-teal);
    box-shadow: 0 0 0 4px rgba(76, 183, 163, 0.3);
}

.lp-hero h1 {
    color: #ffffff;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    margin-bottom: 1.1rem;
}

.lp-hero h1 .lp-accent { color: var(--lp-gold); }

.lp-hero .lp-accent {
    background: linear-gradient(120deg, var(--lp-gold), #ffd56b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lp-hero .lp-sub {
    font-size: clamp(1.02rem, 1.6vw, 1.22rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 36ch;
    margin-bottom: 1.75rem;
}

/* Hero media frame */
.lp-hero-media {
    position: relative;
}

.lp-hero-media img {
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.lp-hero-media .lp-float {
    position: absolute;
    background: #fff;
    color: var(--lp-ink);
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
    box-shadow: var(--lp-shadow);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 0.85rem;
}

.lp-hero-media .lp-float .ic {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: #fff;
    flex-shrink: 0;
}

.lp-float-1 { top: 1rem; left: -0.75rem; }
.lp-float-2 { bottom: 1.25rem; right: -0.75rem; }

@media (max-width: 575.98px) {
    .lp-hero-media .lp-float { display: none; }
}

/* ============================================================
   BUTTONS (high-contrast CTA on gradient)
   ============================================================ */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-weight: 700;
    border-radius: 12px;
    padding: 0.9rem 1.6rem;
    font-size: 1.02rem;
    line-height: 1;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    cursor: pointer;
}

.lp-btn-primary {
    background: linear-gradient(135deg, var(--lp-gold) 0%, var(--lp-gold-2) 100%);
    color: #20160a;
    box-shadow: 0 12px 28px -8px rgba(255, 148, 22, 0.7);
}

.lp-btn-primary:hover {
    color: #20160a;
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -10px rgba(255, 148, 22, 0.85);
}

.lp-btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(6px);
}

.lp-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    transform: translateY(-2px);
}

.lp-btn-dark {
    background: linear-gradient(135deg, var(--lp-purple) 0%, var(--lp-blue) 100%);
    color: #fff;
    box-shadow: 0 12px 28px -10px rgba(64, 22, 160, 0.6);
}

.lp-btn-dark:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 38px -12px rgba(64, 22, 160, 0.7);
}

.lp-btn-lg { padding: 1.05rem 2rem; font-size: 1.08rem; }

/* ============================================================
   HERO TRUST SIGNALS
   ============================================================ */
.lp-hero-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1.75rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9rem;
}

.lp-stars { color: var(--lp-gold); letter-spacing: 2px; font-size: 1rem; }

.lp-avatars { display: inline-flex; }
.lp-avatars span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -8px;
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
}
.lp-avatars span:first-child { margin-left: 0; }

/* ============================================================
   LOGO / TRUST BAR
   ============================================================ */
.lp-trustbar {
    background: #fff;
    border-bottom: 1px solid var(--lp-line);
}
.lp-trustbar .lp-metric {
    text-align: center;
    padding: 1.4rem 0.5rem;
}
.lp-trustbar .lp-metric .num {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--lp-purple);
    line-height: 1;
    letter-spacing: -0.02em;
}
.lp-trustbar .lp-metric .lbl {
    font-size: 0.82rem;
    color: var(--lp-muted);
    margin-top: 0.35rem;
    font-weight: 500;
}

/* ============================================================
   SECTION HELPERS
   ============================================================ */
.lp-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--lp-blue);
}
.lp-section-title {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--lp-ink);
}

/* Feature cards */
.lp-feature {
    height: 100%;
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    padding: 1.6rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.lp-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-shadow);
    border-color: transparent;
}
.lp-feature .lp-ic {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    margin-bottom: 1rem;
}
.lp-ic-purple { background: linear-gradient(135deg, var(--lp-purple), var(--lp-purple-2)); }
.lp-ic-blue { background: linear-gradient(135deg, var(--lp-blue), #6b7cf0); }
.lp-ic-teal { background: linear-gradient(135deg, var(--lp-teal), #6fd0bd); }

/* Step badges */
.lp-step-num {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--lp-purple), var(--lp-blue));
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.lp-quote {
    height: 100%;
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    padding: 1.6rem;
    box-shadow: var(--lp-shadow-sm);
}
.lp-quote .lp-stars { font-size: 0.95rem; }
.lp-quote p { color: #353a4a; }
.lp-quote .lp-person { display: flex; align-items: center; gap: 0.75rem; }
.lp-quote .lp-ava {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
}

/* ============================================================
   PRICING
   ============================================================ */
.lp-price-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    padding: 2rem 1.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lp-price-card:hover { transform: translateY(-4px); box-shadow: var(--lp-shadow); }
.lp-price-card.is-featured {
    border: 2px solid var(--lp-blue);
    box-shadow: var(--lp-shadow);
    position: relative;
}
.lp-price-badge {
    position: absolute;
    top: -0.85rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--lp-gold), var(--lp-gold-2));
    color: #20160a;
    font-weight: 700;
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    white-space: nowrap;
}
.lp-price-amt { font-size: 2.6rem; font-weight: 800; color: var(--lp-ink); letter-spacing: -0.02em; }
.lp-price-amt .per { font-size: 0.95rem; font-weight: 600; color: var(--lp-muted); }
.lp-plan-name { font-weight: 800; color: var(--lp-ink); }
.lp-feat-list { list-style: none; padding: 0; margin: 1.25rem 0; }
.lp-feat-list li { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.7rem; color: #353a4a; }
.lp-feat-list .ok { color: var(--lp-teal); flex-shrink: 0; margin-top: 2px; }
.lp-feat-list .no { color: #c0c4d0; flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   FINAL CTA BAND
   ============================================================ */
.lp-cta-band {
    background:
        radial-gradient(800px 400px at 90% 0%, rgba(76, 183, 163, 0.4), transparent 60%),
        linear-gradient(135deg, var(--lp-purple) 0%, var(--lp-blue) 100%);
    color: #fff;
    border-radius: 24px;
    padding: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    box-shadow: var(--lp-shadow-lg);
}
.lp-cta-band h2,
.lp-cta-band p { color: #fff; }

/* utilities */
.lp-soft { background: #faf9fd; }
