﻿/* ============================================================
   home.css — Landing page styles for Views/Home/Index.cshtml
   All colours use variables from theme.css — light/dark auto.
   ============================================================ */

/* ---------- layout ---------- */
.lp-full {
    width: 100%;
    background: var(--color-bg);
}

.lp-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 52px;
}

/* ---------- shared ---------- */
.lp-kicker {
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--color-brand);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.lp-h2 {
    font-size: 1.875rem;
    font-weight: 500;
    color: var(--color-text-strong);
    line-height: 1.22;
    margin-bottom: 12px;
}

.lp-h2-lg {
    font-size: 2rem;
    margin-bottom: 0;
}

.lp-body {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.lp-accent {
    font-style: normal;
    color: var(--color-brand);
}

.lp-brand {
    color: var(--color-brand);
}

/* ---------- HERO ---------- */
.lp-hero {
    padding: 88px 0 76px;
    text-align: center;
}

.lp-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0.5px solid var(--color-border);
    border-radius: 20px;
    padding: 5px 16px;
    margin-bottom: 28px;
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
}

.lp-hero-tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-brand);
    flex-shrink: 0;
}

.lp-hero-h1 {
    font-size: 3.75rem;
    font-weight: 500;
    line-height: 1.08;
    color: var(--color-text-strong);
    margin-bottom: 20px;
}

.lp-hero-sub {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    max-width: 480px;
    margin: 0 auto 36px;
}

.lp-hero-btns {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ---------- BUTTONS ---------- */
.lp-btn-primary {
    background: var(--color-brand);
    color: #fff;
    border: none;
    padding: 13px 32px;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-base);
}

    .lp-btn-primary:hover {
        background: var(--color-brand-dark);
        color: #fff;
        text-decoration: none;
    }

.lp-btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 0.5px solid var(--color-border);
    padding: 13px 24px;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-base);
}

    .lp-btn-secondary:hover {
        background: var(--color-surface);
        color: var(--color-text);
        text-decoration: none;
    }

/* ---------- STATS ---------- */
.lp-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 40px 0;
}

.lp-stat {
    padding: 32px 20px;
    text-align: center;
    background: var(--color-surface);
    border-radius: var(--radius-md);
}

.lp-stat-n {
    font-size: 2.875rem;
    font-weight: 500;
    color: var(--color-text-strong);
    line-height: 1;
}

.lp-stat-l {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 6px;
}

.lp-stat-s {
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-top: 3px;
}

/* ---------- HOW IT WORKS ---------- */
.lp-how {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 64px 0;
}

.lp-how-l {
    padding-right: 52px;
    border-right: 0.5px solid var(--color-border);
}

.lp-how-r {
    padding-left: 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
}

.lp-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.lp-step-n {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-brand);
    min-width: 24px;
    padding-top: 3px;
    flex-shrink: 0;
}

.lp-step-t {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-strong);
    margin-bottom: 5px;
}

.lp-step-d {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

/* ---------- FEATURES ---------- */
.lp-feat-header {
    padding: 52px 0 28px;
}

.lp-feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-bottom: 52px;
}

.lp-feat {
    padding: 28px;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    transition: background var(--transition-base);
}

    .lp-feat:hover {
        background: var(--color-bg-hover);
    }

/* corner glow */
.lp-feat-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    opacity: 0.07;
    pointer-events: none;
}

.fg-green {
    background: #059669;
}

.fg-blue {
    background: #3b82f6;
}

.fg-amber {
    background: #f59e0b;
}

.fg-purple {
    background: #8b5cf6;
}

.fg-teal {
    background: #14b8a6;
}

.fg-red {
    background: #ef4444;
}

.lp-feat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.lp-feat-ic {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* icon backgrounds — light mode */
.fi-green {
    background: var(--color-brand-light);
}

.fi-blue {
    background: #dbeafe;
}

.fi-amber {
    background: #fef3c7;
}

.fi-purple {
    background: #ede9fe;
}

.fi-teal {
    background: #ccfbf1;
}

.fi-red {
    background: #fee2e2;
}

/* icon backgrounds — dark mode */
[data-theme="dark"] .fi-green {
    background: #064e3b;
}

[data-theme="dark"] .fi-blue {
    background: #1e3a5f;
}

[data-theme="dark"] .fi-amber {
    background: #2d1f08;
}

[data-theme="dark"] .fi-purple {
    background: #2e1f4a;
}

[data-theme="dark"] .fi-teal {
    background: #0d3330;
}

[data-theme="dark"] .fi-red {
    background: #2d0f0f;
}

.lp-feat-tag {
    font-size: var(--font-size-xs);
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 20px;
    color: var(--color-text-muted);
    background: var(--color-bg);
    border: 0.5px solid var(--color-border);
    white-space: nowrap;
}

.lp-feat-t {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-strong);
    margin-bottom: 7px;
}

.lp-feat-d {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ---------- QUOTE ---------- */
.lp-quote {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 0.5px solid var(--color-border);
    border-bottom: 0.5px solid var(--color-border);
}

.lp-q-l {
    padding: 56px 52px;
    border-right: 0.5px solid var(--color-border);
}

.lp-q-mark {
    font-size: 3.5rem;
    color: var(--color-brand);
    line-height: 0.75;
    margin-bottom: 20px;
    font-family: Georgia, serif;
}

.lp-q-text {
    font-size: 1.125rem;
    color: var(--color-text-strong);
    line-height: 1.75;
    margin-bottom: 18px;
}

.lp-q-auth {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

    .lp-q-auth span {
        color: var(--color-brand);
    }

.lp-q-r {
    padding: 56px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
}

.lp-q-stat {
    padding-left: 20px;
    border-left: 2px solid var(--color-brand);
}

.lp-q-stat-n {
    font-size: 2.125rem;
    font-weight: 500;
    color: var(--color-text-strong);
    line-height: 1;
}

.lp-q-stat-l {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* ---------- BOTTOM CTA ---------- */
.lp-bottom {
    padding: 80px 0;
    text-align: center;
}

.lp-bottom-h2 {
    font-size: 2.375rem;
    font-weight: 500;
    color: var(--color-text-strong);
    margin-bottom: 10px;
}

.lp-bottom-p {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.lp-bottom-btns {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .lp-inner {
        padding: 0 28px;
    }

    .lp-hero-h1 {
        font-size: 2.75rem;
    }

    /* stats */
    .lp-stats {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 28px 0;
    }

    /* how it works */
    .lp-how {
        grid-template-columns: 1fr;
        padding: 40px 0;
    }

    .lp-how-l {
        border-right: none;
        border-bottom: 0.5px solid var(--color-border);
        padding-right: 0;
        padding-bottom: 40px;
    }

    .lp-how-r {
        padding-left: 0;
        padding-top: 40px;
    }

    /* quote */
    .lp-quote {
        grid-template-columns: 1fr;
    }

    .lp-q-l {
        border-right: none;
        border-bottom: 0.5px solid var(--color-border);
        padding: 40px 28px;
    }

    .lp-q-r {
        padding: 40px 28px;
    }

    /* features */
    .lp-feat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lp-feat-header {
        padding: 40px 0 20px;
    }

    .lp-bottom-h2 {
        font-size: 1.875rem;
    }
}

@media (max-width: 560px) {
    .lp-hero {
        padding: 56px 0 48px;
    }

    .lp-hero-h1 {
        font-size: 2.125rem;
    }

    .lp-hero-sub {
        font-size: 0.9375rem;
    }

    .lp-feat-grid {
        grid-template-columns: 1fr;
    }

    .lp-bottom {
        padding: 56px 0;
    }
}
