/* ============================================================================
   home.css — the public landing page (Pages/Index.cshtml). Everything is scoped
   under .page-landing so none of it leaks into the app shell. Uses lp- classes.
   ============================================================================ */
.page-landing {
    --lp-indigo: #5a3fd6;
    --lp-indigo-d: #4a31bd;
    --lp-teal: #10b3a3;
    --lp-navy: #17223f;
    --lp-ink: #2c3350;
    --lp-muted: #6a7192;
    --lp-line: #e9e7f6;
    --lp-lav: #f4f1ff;
    --lp-card: #ffffff;
    --lp-shadow: 0 18px 40px -18px rgba(43, 32, 110, .28);
    --lp-shadow-sm: 0 8px 22px -12px rgba(43, 32, 110, .30);
    color: var(--lp-ink);
}
.page-landing main.container { max-width: none; padding-inline: 0; }

.lp-section,
.lp-stats,
.lp-final { max-width: 1140px; margin-inline: auto; padding-inline: 24px; }

/* ---- shared buttons ---- */
.lp-btn {
    display: inline-flex; align-items: center; gap: .5rem;
    font-weight: 700; font-size: 1.02rem; line-height: 1;
    padding: .95rem 1.5rem; border-radius: 12px; text-decoration: none;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.lp-btn:hover { text-decoration: none; transform: translateY(-1px); }
.lp-btn-primary { background: var(--lp-indigo); color: #fff; box-shadow: 0 10px 22px -8px rgba(90, 63, 214, .6); }
.lp-btn-primary:hover { background: var(--lp-indigo-d); color: #fff; }
.lp-btn-ghost { background: #fff; color: var(--lp-navy); border: 1.5px solid var(--lp-line); }
.lp-btn-ghost:hover { border-color: #d6d2ee; color: var(--lp-navy); }
.lp-btn-light { background: #fff; color: var(--lp-indigo); box-shadow: 0 12px 26px -10px rgba(0,0,0,.35); }
.lp-btn-light:hover { color: var(--lp-indigo-d); }

/* ============================ HERO ============================ */
.lp-hero {
    width: 100vw; margin-inline: calc(50% - 50vw);
    background:
        radial-gradient(1100px 460px at 78% -8%, #ece7ff 0%, rgba(236,231,255,0) 60%),
        linear-gradient(180deg, #f5f2ff 0%, #faf9ff 62%, #ffffff 100%);
    padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 76px);
    overflow: hidden;
}
.lp-hero-inner {
    max-width: 1140px; margin-inline: auto; padding-inline: 24px;
    display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 4vw, 56px);
    align-items: center;
}
.lp-eyebrow {
    display: inline-flex; align-items: center; gap: .45rem;
    background: #efe9ff; color: var(--lp-indigo); font-weight: 700; font-size: .82rem;
    letter-spacing: .01em; padding: .45rem .85rem; border-radius: 100px;
}
.lp-headline {
    font-size: clamp(2.4rem, 5.2vw, 3.75rem); line-height: 1.04; font-weight: 800;
    color: var(--lp-navy); letter-spacing: -.02em; margin: .5em 0 .35em; text-wrap: balance;
}
.lp-accent {
    color: var(--lp-teal);
    background: linear-gradient(90deg, var(--lp-teal), #2ec6b6);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lp-lede { font-size: 1.12rem; line-height: 1.6; color: var(--lp-muted); max-width: 33em; margin: 0 0 1.7rem; }
.lp-cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.25rem; }
.lp-checks { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; padding: 0; margin: 0 0 1.5rem; }
.lp-checks li { color: var(--lp-ink); font-weight: 600; font-size: .95rem; }
.lp-checks li::before { content: "✓"; color: var(--lp-teal); font-weight: 800; margin-inline-end: .4rem; }
.lp-trusted { display: flex; align-items: center; gap: .7rem; }
.lp-avatars { display: inline-flex; }
.lp-avatars span {
    width: 34px; height: 34px; display: grid; place-items: center; font-size: 1rem;
    background: #fff; border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,.12);
    margin-inline-start: -10px; border: 2px solid #fff;
}
.lp-avatars span:first-child { margin-inline-start: 0; }
.lp-trusted-text { color: var(--lp-muted); font-weight: 600; font-size: .92rem; }

/* ---- hero product preview ---- */
.lp-hero-art { position: relative; min-height: 380px; }
.lp-mock {
    position: absolute; background: var(--lp-card); border: 1px solid #efedfb;
    border-radius: 18px; box-shadow: var(--lp-shadow); padding: 16px 18px;
}
.lp-mock-dash { left: 0; top: 18px; width: 74%; z-index: 1; }
.lp-mock-quiz { right: 0; bottom: 6px; width: 56%; z-index: 2; }
.lp-dash-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.lp-dash-hi { font-weight: 800; color: var(--lp-navy); font-size: .98rem; }
.lp-dash-sub { color: var(--lp-muted); font-size: .76rem; margin-top: 2px; }
.lp-dash-avatar { width: 30px; height: 30px; border-radius: 50%; background: #efe9ff; display: grid; place-items: center; }
.lp-dash-progress { display: flex; align-items: center; gap: 14px; margin: 14px 0 12px; }
.lp-ring { position: relative; width: 66px; height: 66px; flex: none; }
.lp-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.lp-ring circle { fill: none; stroke-width: 3.4; }
.lp-ring-bg { stroke: #eee9fb; }
.lp-ring-fg { stroke: var(--lp-indigo); stroke-linecap: round; stroke-dasharray: calc(var(--pct) * .999) 100; }
.lp-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: .9rem; color: var(--lp-navy); }
.lp-dash-great { font-weight: 700; color: var(--lp-navy); font-size: .9rem; }
.lp-dash-star { display: inline-block; margin-top: 4px; background: #fff7e2; color: #b7791f; font-size: .78rem; font-weight: 800; padding: .2rem .5rem; border-radius: 100px; }
.lp-dash-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--lp-muted); font-weight: 700; margin-bottom: 8px; }
.lp-dash-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lp-dc { background: #f7f6fe; border-radius: 12px; padding: 9px 10px; display: flex; flex-direction: column; }
.lp-dc-ic { font-size: 1.15rem; }
.lp-dc b { font-size: .82rem; color: var(--lp-navy); margin-top: 2px; }
.lp-dc small { color: var(--lp-muted); font-size: .68rem; }
.lp-quiz-top { display: flex; justify-content: space-between; font-size: .72rem; color: var(--lp-muted); font-weight: 700; }
.lp-quiz-q { font-weight: 800; color: var(--lp-navy); font-size: .92rem; margin: 8px 0 12px; }
.lp-quiz-pie {
    width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 12px;
    background: conic-gradient(var(--lp-indigo) 0 120deg, #ece9fb 120deg 360deg);
    box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #e9e6fa;
}
.lp-quiz-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.lp-quiz-opts span { text-align: center; font-weight: 700; font-size: .82rem; padding: .45rem 0; border-radius: 9px; background: #f5f4fd; color: var(--lp-ink); border: 1.5px solid transparent; }
.lp-quiz-opts .on { background: #e6faf5; color: #0c8f80; border-color: #7fe0d1; }
.lp-quiz-nice { text-align: center; margin-top: 10px; font-weight: 800; font-size: .82rem; color: var(--lp-teal); }
.lp-badge {
    position: absolute; z-index: 3; background: #fff; border-radius: 100px;
    box-shadow: var(--lp-shadow-sm); font-weight: 700; font-size: .8rem; color: var(--lp-navy);
    padding: .5rem .8rem; white-space: nowrap;
}
.lp-badge-1 { top: -6px; left: 30%; }
.lp-badge-2 { top: 34%; right: -8px; }
.lp-badge-3 { bottom: 40%; left: -12px; }

/* ============================ STATS ============================ */
.lp-stats {
    margin-top: -34px; position: relative; z-index: 4;
    background: #fff; border: 1px solid #f0eefb; border-radius: 18px; box-shadow: var(--lp-shadow);
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
    padding: 22px 26px;
}
.lp-stat { display: flex; align-items: center; gap: 12px; }
.lp-stat b { font-size: 1.35rem; font-weight: 800; color: var(--lp-navy); line-height: 1; font-variant-numeric: tabular-nums; }
.lp-stat small { display: block; color: var(--lp-muted); font-size: .78rem; margin-top: 3px; }
.lp-stat-ic { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 1.15rem; }
.ic-purple { background: #efe9ff; } .ic-green { background: #e6f8ef; } .ic-blue { background: #e7f1ff; }
.ic-yellow { background: #fff6e0; } .ic-pink { background: #ffe9f1; } .ic-teal { background: #e3f7f3; }
.ic-red { background: #ffe8ea; }

/* ============================ SECTIONS ============================ */
.lp-section { padding-top: clamp(48px, 6vw, 80px); }
.lp-head { text-align: center; max-width: 40em; margin: 0 auto clamp(28px, 4vw, 44px); }
.lp-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; color: var(--lp-navy); letter-spacing: -.02em; margin: 0 0 .5rem; text-wrap: balance; }
.lp-head p { color: var(--lp-muted); font-size: 1.05rem; line-height: 1.55; margin: 0; }

/* subjects */
.lp-subjects { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.lp-subject {
    background: #fff; border: 1px solid #f0eefb; border-radius: 18px; padding: 24px 18px 20px;
    text-align: center; text-decoration: none; box-shadow: var(--lp-shadow-sm);
    transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
    display: flex; flex-direction: column; align-items: center;
}
.lp-subject:hover { transform: translateY(-4px); box-shadow: var(--lp-shadow); border-color: #e3def8; text-decoration: none; }
.lp-subject-ic {
    width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center;
    font-size: 2.3rem; margin-bottom: 14px;
    background: radial-gradient(circle at 50% 30%, #f3f0ff, #eae5ff);
}
.lp-subject h3 { font-size: 1.08rem; font-weight: 800; color: var(--lp-navy); margin: 0 0 .2rem; }
.lp-subject-count { color: var(--lp-muted); font-size: .86rem; margin: 0 0 .9rem; }
.lp-subject-explore { margin-top: auto; color: var(--lp-indigo); font-weight: 700; font-size: .9rem; }

/* how it works */
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lp-step { position: relative; background: #fff; border: 1px solid #f0eefb; border-radius: 18px; padding: 26px 22px; box-shadow: var(--lp-shadow-sm); }
.lp-step-n { position: absolute; top: -14px; inset-inline-start: 22px; width: 30px; height: 30px; border-radius: 50%; background: var(--lp-indigo); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: 0 6px 14px -4px rgba(90,63,214,.6); }
.lp-step-ic { font-size: 2rem; margin: 6px 0 10px; }
.lp-step h3 { font-size: 1.12rem; font-weight: 800; color: var(--lp-navy); margin: 0 0 .4rem; }
.lp-step p { color: var(--lp-muted); font-size: .95rem; line-height: 1.55; margin: 0; }

/* trust + testimonial */
.lp-trust-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: stretch; background: #faf9ff; border: 1px solid #f0eefb; border-radius: 24px; padding: clamp(24px, 3vw, 40px); }
.lp-trust-left > h2 { font-size: 1.5rem; font-weight: 800; color: var(--lp-navy); margin: 0 0 1.3rem; }
.lp-trust-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.lp-tt { display: flex; gap: 12px; align-items: flex-start; }
.lp-tt-ic { width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center; font-size: 1.15rem; }
.lp-tt h4 { font-size: .98rem; font-weight: 800; color: var(--lp-navy); margin: 0 0 .2rem; }
.lp-tt p { color: var(--lp-muted); font-size: .85rem; line-height: 1.45; margin: 0; }
.lp-testimonial { position: relative; background: #fff; border: 1px solid #f0eefb; border-radius: 20px; padding: 30px 28px; box-shadow: var(--lp-shadow-sm); display: flex; flex-direction: column; justify-content: center; margin: 0; }
.lp-quote-mark { font-family: Georgia, serif; font-size: 4rem; line-height: .5; color: #d9d2f7; height: 26px; }
.lp-testimonial blockquote { font-size: 1.12rem; line-height: 1.55; color: var(--lp-navy); font-weight: 500; margin: 10px 0 16px; }
.lp-testimonial figcaption { color: var(--lp-muted); font-weight: 700; font-size: .9rem; }
.lp-stars { color: #f5b638; letter-spacing: 2px; margin-top: 10px; }

/* final CTA */
.lp-final { padding: clamp(48px, 6vw, 80px) 24px clamp(32px, 4vw, 56px); }
.lp-final-inner {
    background: linear-gradient(110deg, var(--lp-indigo) 0%, #6d4ad8 42%, var(--lp-teal) 100%);
    border-radius: 24px; text-align: center; color: #fff; padding: clamp(34px, 5vw, 56px) 24px;
    box-shadow: 0 24px 48px -22px rgba(74, 49, 189, .7);
}
.lp-final-inner h2 { font-size: clamp(1.7rem, 3.4vw, 2.35rem); font-weight: 800; margin: 0 0 .5rem; letter-spacing: -.02em; }
.lp-final-inner p { font-size: 1.08rem; opacity: .92; margin: 0 0 1.6rem; }
.lp-final-note { margin-top: 1.1rem; font-size: .9rem; opacity: .9; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 900px) {
    .lp-hero-inner { grid-template-columns: 1fr; }
    .lp-hero-art { min-height: 340px; margin-top: 8px; max-width: 460px; }
    .lp-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 18px; }
    .lp-subjects { grid-template-columns: repeat(2, 1fr); }
    .lp-steps { grid-template-columns: 1fr; }
    .lp-trust-grid { grid-template-columns: 1fr; }
    .lp-trust-tiles { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .lp-stats { grid-template-columns: 1fr; }
    .lp-subjects { grid-template-columns: 1fr 1fr; }
    .lp-cta-row .lp-btn { flex: 1 1 auto; justify-content: center; }
}
