/* ==========================================================================
   home.css - Landing Page Styles
   Self-contained. No dependency on animation frameworks or 20 other CSS files.
   ========================================================================== */

/* --- Nav --- */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid #e5e7eb;
}

.landing-nav__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-nav__brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.landing-nav__login {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: #2563eb;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s;
}

.landing-nav__login:hover {
    background: #1d4ed8;
    text-decoration: none;
    color: #fff;
}

/* --- Hero --- */
.landing-hero {
    padding: 10rem 1.5rem 5rem;
    text-align: center;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.landing-hero__inner {
    max-width: 700px;
    margin: 0 auto;
}

.landing-hero__title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0 0 1.25rem;
}

.landing-hero__sub {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: #475569;
    line-height: 1.6;
    margin: 0 0 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.landing-hero__actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.landing-hero__note {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
}

/* --- Buttons --- */
.landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s;
    cursor: pointer;
    border: none;
}

.landing-btn--primary {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.3);
}

.landing-btn--primary:hover {
    background: #1d4ed8;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

.landing-btn--ghost {
    background: transparent;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.landing-btn--ghost:hover {
    background: #f8fafc;
    color: #1e293b;
    text-decoration: none;
    border-color: #94a3b8;
}

.landing-btn--lg {
    padding: 0.85rem 2.25rem;
    font-size: 1.05rem;
}

/* --- Features --- */
.landing-features {
    padding: 5rem 1.5rem;
    background: #fff;
}

.landing-features__inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.landing-section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.landing-section-sub {
    font-size: 1.05rem;
    color: #64748b;
    margin: 0 0 3rem;
}

.landing-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
}

.landing-card {
    padding: 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
}

.landing-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.landing-card__icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.landing-card__title {
    font-size: 1.125rem;
    font-weight: 650;
    color: #0f172a;
    margin: 0 0 0.5rem;
}

.landing-card__text {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* --- Social Proof --- */
.landing-proof {
    padding: 4rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.landing-proof__inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.landing-proof__stat {
    text-align: center;
}

.landing-proof__number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #2563eb;
    letter-spacing: -0.02em;
}

.landing-proof__label {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 0.25rem;
}

/* --- CTA --- */
.landing-cta {
    padding: 5rem 1.5rem;
    text-align: center;
    background: #fff;
}

.landing-cta__inner {
    max-width: 600px;
    margin: 0 auto;
}

.landing-cta__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}

.landing-cta__sub {
    font-size: 1.05rem;
    color: #64748b;
    margin: 0 0 2rem;
}

/* --- Footer --- */
.landing-footer {
    padding: 3rem 1.5rem 2rem;
    background: #f1f5f9;
    color: #475569;
    border-top: 1px solid #e2e8f0;
}

.landing-footer__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.landing-footer__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.landing-footer__col h4 {
    color: #1e293b;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.landing-footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.landing-footer__col li {
    margin-bottom: 0.4rem;
}

.landing-footer__col a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.15s;
}

.landing-footer__col a:hover {
    color: #2563eb;
    text-decoration: none;
}

.landing-footer__bottom {
    padding-top: 1.5rem;
    border-top: 1px solid #cbd5e1;
    font-size: 0.85rem;
    text-align: center;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .landing-features__grid {
        grid-template-columns: 1fr;
    }

    .landing-proof__inner {
        gap: 2rem;
    }

    .landing-footer__cols {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .landing-hero {
        padding-top: 7rem;
    }
}

@media (max-width: 480px) {
    .landing-hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .landing-btn {
        width: 100%;
        max-width: 280px;
    }
}
