/* ============================================================
   Katriviya™ — public landing page (Views/Home/Index.cshtml)
   ============================================================ */

.lp {
    --lp-navy: #1b3a6b;
    --lp-blue: #2563eb;
    --lp-orange: #f59e0b;
    --lp-bg: #ffffff;
    --lp-alt: #f5f8fc;
    --lp-card: #ffffff;
    --lp-border: #e5ebf3;
    --lp-text: #0f172a;
    --lp-muted: #5b6b82;
    background: var(--lp-bg);
    color: var(--lp-text);
    height: auto;
    scroll-behavior: smooth;
}
[data-bs-theme="dark"] .lp {
    --lp-bg: #0b1220;
    --lp-alt: #0f1a2e;
    --lp-card: #111c31;
    --lp-border: #1f2c45;
    --lp-text: #e7edf6;
    --lp-muted: #9aa9bf;
}
html:has(body.lp) { scroll-behavior: smooth; scroll-padding-top: 76px; background: #ffffff; height: auto; }
html[data-bs-theme="dark"]:has(body.lp) { background: #0b1220; }

/* ── Top bar ── */
.lp-nav {
    position: sticky; top: 0; z-index: 1030;
    background: color-mix(in srgb, var(--lp-bg) 88%, transparent);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--lp-border);
}
.lp-nav-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.lp-brand img { height: 40px; width: auto; display: block; }
.lp .logo-on-dark { display: none !important; }
[data-bs-theme="dark"] .lp .logo-on-dark { display: block !important; }
[data-bs-theme="dark"] .lp .logo-on-light { display: none !important; }
.lp-links { gap: 1.4rem; margin-left: auto; }
.lp-links a { color: var(--lp-muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
.lp-links a:hover { color: var(--lp-blue); }
.lp-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.lp-links + .lp-actions { margin-left: 1rem; }
.lp-signin { font-weight: 600; padding: .45rem 1rem; }

/* ── Type ── */
.lp-eyebrow { color: var(--lp-orange); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; margin-bottom: .6rem; }
.lp-h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--lp-navy); margin-bottom: 1rem; }
[data-bs-theme="dark"] .lp-h1, [data-bs-theme="dark"] .lp-h2 { color: #f1f5fb; }
.lp-lead { font-size: 1.15rem; color: var(--lp-muted); margin-bottom: 1.6rem; max-width: 34rem; }
.lp-h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -.015em; color: var(--lp-navy); margin-bottom: .75rem; }
.lp-h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .6rem; }
.lp-sub { color: var(--lp-muted); font-size: 1.05rem; }
.lp-head { max-width: 46rem; margin: 0 auto 2.5rem; text-align: center; }
.lp-note { color: var(--lp-muted); font-size: .88rem; text-align: center; }

/* ── Hero ── */
.lp-hero { padding: 3rem 0 3.5rem; background:
    radial-gradient(60rem 30rem at 85% 10%, rgba(245,158,11,.10), transparent 60%),
    radial-gradient(50rem 30rem at 0% 100%, rgba(37,99,235,.08), transparent 60%); }
.lp-hero-frame { background: #fff; border-radius: 22px; padding: .5rem; border: 1px solid var(--lp-border);
    box-shadow: 0 24px 60px -24px rgba(27,58,107,.35); }
.lp-hero-img { width: 100%; height: auto; display: block; border-radius: 16px; }
.lp-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; color: var(--lp-muted); font-size: .92rem; }
.lp-checks i { color: #16a34a; margin-right: .35rem; }

/* ── Stats strip ── */
.lp-stats { padding: 0 0 1rem; }
.lp-stat { background: var(--lp-card); border: 1px solid var(--lp-border); border-radius: 16px; padding: 1.1rem .8rem; height: 100%; }
.lp-stat-n { font-size: 1.8rem; font-weight: 800; color: var(--lp-blue); line-height: 1.1; }
.lp-stat-l { color: var(--lp-muted); font-size: .88rem; margin-top: .25rem; }

/* ── Sections & cards ── */
.lp-section { padding: 4.5rem 0; }
.lp-alt { background: var(--lp-alt); border-top: 1px solid var(--lp-border); border-bottom: 1px solid var(--lp-border); }
.lp-card { background: var(--lp-card); border: 1px solid var(--lp-border); border-radius: 16px; padding: 1.4rem; transition: transform .15s ease, box-shadow .15s ease; }
.lp-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(15,23,42,.35); }
.lp-icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: .9rem; }
.lp-i-blue { background: rgba(37,99,235,.12); color: #2563eb; }
.lp-i-orange { background: rgba(245,158,11,.15); color: #d97706; }
.lp-i-green { background: rgba(22,163,74,.12); color: #16a34a; }
.lp-i-purple { background: rgba(124,58,237,.12); color: #7c3aed; }
.lp-list { padding-left: 1.1rem; margin: 0; color: var(--lp-muted); }
.lp-list li { margin-bottom: .35rem; }
.lp-list li::marker { color: var(--lp-orange); }

.lp-feature { list-style: none; padding: 0; margin: 0; }
.lp-feature li { display: flex; gap: .9rem; margin-bottom: 1rem; color: var(--lp-muted); }
.lp-feature li strong { color: var(--lp-text); }
.lp-feature li > i { flex: 0 0 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(37,99,235,.12); color: var(--lp-blue); font-size: 1.05rem; }

/* ── Screenshots ── */
.lp-shot { margin: 0; }
.lp-shot img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--lp-border);
    box-shadow: 0 20px 50px -28px rgba(15,23,42,.45); background: #fff; }
.lp-shot figcaption { color: var(--lp-muted); font-size: .85rem; margin-top: .6rem; text-align: center; }
.lp-shot-wide { max-width: 1000px; margin-left: auto; margin-right: auto; }
.lp-tablet { background: #1f2937; padding: 14px; border-radius: 28px; box-shadow: 0 30px 60px -28px rgba(15,23,42,.6); }
.lp-tablet img { border-radius: 14px; border: 0; box-shadow: none; }

/* ── Requirements ── */
.lp-req-num { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; color: var(--lp-navy); }
[data-bs-theme="dark"] .lp-req-num { color: #cbd5e1; }
.lp-req-num i { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(37,99,235,.12); color: var(--lp-blue); font-size: 1.05rem; }
.lp-pill { font-size: .72rem; font-weight: 700; padding: .25rem .55rem; border-radius: 999px; white-space: nowrap; }
.lp-pill-met { background: rgba(22,163,74,.13); color: #15803d; }
.lp-pill-partial { background: rgba(37,99,235,.13); color: #1d4ed8; }
.lp-pill-process { background: rgba(100,116,139,.15); color: #475569; }
.lp-pill-early { background: rgba(245,158,11,.16); color: #b45309; }
[data-bs-theme="dark"] .lp-pill-met { color: #4ade80; }
[data-bs-theme="dark"] .lp-pill-partial { color: #93c5fd; }
[data-bs-theme="dark"] .lp-pill-process { color: #cbd5e1; }
[data-bs-theme="dark"] .lp-pill-early { color: #fbbf24; }

/* ── Modules ── */
.lp-basic { background: var(--lp-card); border: 1px dashed var(--lp-border); border-radius: 16px; padding: 1.1rem 1.3rem; max-width: 900px; margin: 0 auto; }
.lp-chip { background: rgba(37,99,235,.08); color: var(--lp-text); border: 1px solid var(--lp-border); border-radius: 999px; padding: .3rem .75rem; font-size: .88rem; }
.lp-chip i { color: #16a34a; }
.lp-mod-text { color: var(--lp-muted); font-size: .93rem; margin: 0; }

/* ── Contact sales ── */
.lp-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ── Call to action & footer ── */
.lp-cta { padding: 4rem 0; background: linear-gradient(135deg, #1b3a6b 0%, #2563eb 100%); }
.lp-cta-sub { color: rgba(255,255,255,.85); font-size: 1.05rem; }
.lp-cta .btn-light { font-weight: 700; color: #1b3a6b; }
.lp-footer { padding: 2.5rem 0 2rem; border-top: 1px solid var(--lp-border); }
.lp-name { color: var(--lp-muted); }
.lp-name strong { color: var(--lp-text); }
.lp-word { white-space: nowrap; }
.lp-word + .lp-word::before { content: "·"; margin: 0 .4rem; color: var(--lp-orange); }
.lp-word [lang="ta"] { color: var(--lp-text); }
.lp-legal { font-size: .75rem; color: var(--lp-muted); }

@media (max-width: 575.98px) {
    .lp-nav-inner { gap: .75rem; }
    .lp-brand img { height: 32px; }
    .lp-hero { padding: 1.5rem 0 2.5rem; }
    .lp-section { padding: 3rem 0; }
    .lp-tablet { padding: 8px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .lp, html:has(body.lp) { scroll-behavior: auto; }
    .lp-card { transition: none; }
    .lp-card:hover { transform: none; }
}
