/**
 * LeaseCraft Homepage — Modern Trust + SaaS Simplicity
 * Navy trust, emerald action, conversion-first layout
 */

:root {
    --lc-navy: #153B6A;
    --lc-navy-light: #1e4d85;
    --lc-navy-muted: #2a5f9e;
    --lc-green: #16A34A;
    --lc-green-hover: #15803d;
    --lc-green-light: #dcfce7;
    --lc-bg: #F8FAFC;
    --lc-surface: #ffffff;
    --lc-text: #1F2937;
    --lc-text-muted: #6B7280;
    --lc-border: #E5E7EB;
    --lc-radius: 14px;
    --lc-radius-lg: 16px;
    --lc-shadow: 0 4px 6px -1px rgba(21, 59, 106, 0.06), 0 2px 4px -2px rgba(21, 59, 106, 0.04);
    --lc-shadow-lg: 0 20px 25px -5px rgba(21, 59, 106, 0.08), 0 8px 10px -6px rgba(21, 59, 106, 0.04);
    --lc-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --lc-font-display: 'Manrope', 'Inter', sans-serif;
}

body.lc-home {
    font-family: var(--lc-font);
    color: var(--lc-text);
    background: var(--lc-bg);
    -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
.lc-nav {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--lc-border);
    padding: 0.875rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.lc-nav .navbar-brand {
    font-family: var(--lc-font-display);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--lc-navy) !important;
    letter-spacing: -0.03em;
}

.lc-nav .nav-link {
    color: var(--lc-text-muted) !important;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 0.875rem !important;
    border-radius: 10px;
}

.lc-btn-nav {
    background: var(--lc-green);
    color: #fff !important;
    font-weight: 600;
    padding: 0.5rem 1.25rem !important;
    border-radius: 10px;
    border: none;
    transition: background 0.2s, transform 0.15s;
}

/* ── Hero ── */
.lc-hero {
    padding: 4.5rem 0 5rem;
    background: linear-gradient(180deg, #fff 0%, var(--lc-bg) 100%);
    overflow: hidden;
}

.lc-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.lc-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--lc-green-light);
    color: var(--lc-green-hover);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.375rem 0.875rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.lc-hero h1 {
    font-family: var(--lc-font-display);
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--lc-navy);
    margin-bottom: 1.25rem;
}

.lc-hero-lead {
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--lc-text-muted);
    margin-bottom: 2rem;
    max-width: 32rem;
}

.lc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-bottom: 2rem;
}

.lc-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--lc-green);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--lc-radius);
    text-decoration: none;
    border: 2px solid var(--lc-green);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
}

.lc-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--lc-surface);
    color: var(--lc-navy);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--lc-radius);
    text-decoration: none;
    border: 2px solid var(--lc-border);
    transition: border-color 0.2s, background 0.2s;
}

.lc-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.lc-trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: var(--lc-text-muted);
    font-weight: 500;
}

.lc-trust-item i {
    color: var(--lc-green);
}

/* Hero mockup */
.lc-mockup {
    position: relative;
    background: var(--lc-surface);
    border: 1px solid var(--lc-border);
    border-radius: var(--lc-radius-lg);
    box-shadow: var(--lc-shadow-lg);
    overflow: hidden;
}

.lc-mockup-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    background: var(--lc-bg);
    border-bottom: 1px solid var(--lc-border);
}

.lc-mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--lc-border);
}

.lc-mockup-dot:nth-child(1) { background: #fca5a5; }
.lc-mockup-dot:nth-child(2) { background: #fcd34d; }
.lc-mockup-dot:nth-child(3) { background: #86efac; }

.lc-mockup-title {
    margin-left: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lc-text-muted);
}

.lc-mockup-body {
    padding: 1.5rem;
}

.lc-mockup-progress {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.lc-mockup-step {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: var(--lc-border);
}

.lc-mockup-step.done { background: var(--lc-green); }
.lc-mockup-step.active { background: var(--lc-navy); }

.lc-mockup-field {
    height: 36px;
    background: var(--lc-bg);
    border: 1px solid var(--lc-border);
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.lc-mockup-field.short { width: 60%; }
.lc-mockup-preview {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--lc-bg);
    border: 1px dashed var(--lc-navy-muted);
    border-radius: 10px;
    position: relative;
}

.lc-mockup-preview-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lc-navy);
    margin-bottom: 0.5rem;
}

.lc-mockup-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lc-mockup-line {
    height: 8px;
    background: var(--lc-border);
    border-radius: 4px;
}

.lc-mockup-line:nth-child(1) { width: 95%; }
.lc-mockup-line:nth-child(2) { width: 80%; }
.lc-mockup-line:nth-child(3) { width: 88%; }
.lc-mockup-line:nth-child(4) { width: 60%; }

.lc-mockup-generating {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--lc-green);
    animation: lc-pulse 2s ease-in-out infinite;
}

@keyframes lc-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.lc-mockup-badge {
    position: absolute;
    top: -12px;
    right: 1.5rem;
    background: var(--lc-green);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

/* ── Sections shared ── */
.lc-section {
    padding: 5rem 0;
}

.lc-section-alt {
    background: var(--lc-surface);
}

.lc-section-header {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 3rem;
}

.lc-section-header h2 {
    font-family: var(--lc-font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--lc-navy);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.lc-section-header p {
    font-size: 1.0625rem;
    color: var(--lc-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ── How it works ── */
.lc-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.lc-step-card {
    background: var(--lc-surface);
    border: 1px solid var(--lc-border);
    border-radius: var(--lc-radius-lg);
    padding: 2rem 1.75rem;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}

.lc-step-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    background: rgba(21, 59, 106, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--lc-navy);
}

.lc-step-num {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lc-green);
    margin-bottom: 0.5rem;
}

.lc-step-card h3 {
    font-family: var(--lc-font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--lc-navy);
    margin-bottom: 0.625rem;
}

.lc-step-card p {
    font-size: 0.9375rem;
    color: var(--lc-text-muted);
    line-height: 1.55;
    margin: 0;
}

/* ── Document cards ── */
.lc-doc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.lc-doc-card {
    background: var(--lc-surface);
    border: 1px solid var(--lc-border);
    border-radius: var(--lc-radius-lg);
    padding: 1.75rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.lc-doc-icon {
    width: 44px;
    height: 44px;
    background: var(--lc-green-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lc-green);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.lc-doc-card h3 {
    font-family: var(--lc-font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--lc-navy);
    margin-bottom: 0.5rem;
}

.lc-doc-card p {
    font-size: 0.875rem;
    color: var(--lc-text-muted);
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.lc-doc-cta {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lc-green);
}

/* ── State map ── */
.lc-states-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.lc-states-copy h2 {
    font-family: var(--lc-font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--lc-navy);
    margin-bottom: 1rem;
}

.lc-states-copy p {
    color: var(--lc-text-muted);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.lc-state-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.lc-state-chip {
    display: inline-block;
    padding: 0.4rem 0.875rem;
    background: var(--lc-surface);
    border: 1px solid var(--lc-border);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lc-navy);
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}

.lc-map-wrap {
    background: var(--lc-surface);
    border: 1px solid var(--lc-border);
    border-radius: var(--lc-radius-lg);
    padding: 2rem;
    box-shadow: var(--lc-shadow);
}

.lc-map-wrap svg {
    width: 100%;
    height: auto;
    display: block;
}

.lc-map-state {
    fill: rgba(21, 59, 106, 0.12);
    stroke: var(--lc-surface);
    stroke-width: 0.5;
    transition: fill 0.2s;
    cursor: default;
}

.lc-map-state.highlight {
    fill: var(--lc-navy);
}

.lc-map-state.mid {
    fill: rgba(21, 59, 106, 0.35);
}

.lc-map-label {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--lc-navy);
}

/* ── Why LeaseCraft ── */
.lc-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.lc-benefit {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    background: var(--lc-surface);
    border: 1px solid var(--lc-border);
    border-radius: var(--lc-radius);
    padding: 1.25rem 1.5rem;
}

.lc-benefit-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--lc-green-light);
    color: var(--lc-green);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.lc-benefit strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--lc-navy);
    margin-bottom: 0.2rem;
}

.lc-benefit span {
    font-size: 0.8125rem;
    color: var(--lc-text-muted);
}

/* ── FAQ ── */
.lc-faq .accordion-item {
    border: 1px solid var(--lc-border);
    border-radius: var(--lc-radius) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: var(--lc-surface);
}

.lc-faq .accordion-button {
    font-family: var(--lc-font-display);
    font-weight: 600;
    font-size: 1rem;
    color: var(--lc-navy);
    background: var(--lc-surface);
    box-shadow: none;
    padding: 1.25rem 1.5rem;
}

.lc-faq .accordion-button:not(.collapsed) {
    background: rgba(21, 59, 106, 0.04);
    color: var(--lc-navy);
}

.lc-faq .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.lc-faq .accordion-body {
    color: var(--lc-text-muted);
    line-height: 1.65;
    padding: 0 1.5rem 1.25rem;
}

/* ── Final CTA ── */
.lc-cta-final {
    background: var(--lc-navy);
    padding: 5rem 0;
    text-align: center;
}

.lc-cta-final h2 {
    font-family: var(--lc-font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.lc-cta-final p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.0625rem;
    margin-bottom: 2rem;
}

.lc-cta-final .lc-btn-primary {
    font-size: 1.0625rem;
    padding: 1rem 2.25rem;
}

/* ── Footer ── */
.lc-footer {
    background: var(--lc-text);
    color: rgba(255, 255, 255, 0.7);
    padding: 3.5rem 0 1.5rem;
}

.lc-footer h5 {
    color: #fff;
    font-family: var(--lc-font-display);
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.lc-footer a {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.lc-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.8125rem;
}

.lc-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .lc-hero-grid,
    .lc-states-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .lc-mockup { order: -1; max-width: 480px; margin: 0 auto; }
    .lc-steps { grid-template-columns: 1fr; }
    .lc-doc-grid { grid-template-columns: repeat(2, 1fr); }
    .lc-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
    .lc-hero { padding: 3rem 0; }
    .lc-section { padding: 3.5rem 0; }
    .lc-doc-grid { grid-template-columns: 1fr; }
    .lc-hero-actions { flex-direction: column; }
    .lc-btn-primary, .lc-btn-secondary { justify-content: center; width: 100%; }
    .lc-footer-grid { grid-template-columns: 1fr; }
}
