/* filename: static/css/landing.css
 *
 * Landing page styles for PocketLaw.
 * All classes are prefixed with "lp-" to prevent collisions with base.css.
 * base.css is also loaded for font/reset.
 */

/* ============================================================
   ROOT / RESET OVERRIDES
   ============================================================ */

.lp-root {
    background: #ffffff;
    color: #1b2436;
    margin: 0;
    padding: 0;
}

.lp-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ============================================================
   NAV
   ============================================================ */

.lp-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    min-height: 68px;
    display: flex;
    align-items: center;
}

.lp-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.lp-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.lp-brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #0b2f57;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: -0.03em;
    flex-shrink: 0;
}

.lp-brand-name {
    font-size: 18px;
    font-weight: 900;
    color: #0b2f57;
    letter-spacing: -0.03em;
}

.lp-brand-tag {
    font-size: 12px;
    color: #9ca3af;
    border-left: 1px solid #e5e7eb;
    padding-left: 10px;
    margin-left: 2px;
}

.lp-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lp-nav-link {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.12s;
}

.lp-nav-link:hover {
    background: #f3f4f6;
    color: #111827;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.15s, transform 0.1s;
    border: 0;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
}

.lp-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.lp-btn-sm {
    padding: 9px 18px;
    font-size: 14px;
}

.lp-btn-lg {
    padding: 15px 28px;
    font-size: 16px;
}

.lp-btn-primary {
    background: #2f86f6;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(47, 134, 246, 0.28);
}

.lp-btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.lp-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}

.lp-btn-white {
    background: #ffffff;
    color: #0b2f57;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.lp-btn-outline {
    background: transparent;
    color: #2f86f6;
    border: 1.5px solid #2f86f6;
}

/* ============================================================
   HERO
   ============================================================ */

.lp-hero {
    background: linear-gradient(145deg, #0b2f57 0%, #0e3a6e 60%, #143e76 100%);
    color: #ffffff;
    padding: 80px 0 72px;
    overflow: hidden;
}

.lp-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 56px;
}

.lp-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7eb8f7;
    margin-bottom: 16px;
    background: rgba(47, 134, 246, 0.15);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(47, 134, 246, 0.25);
}

.lp-eyebrow-dark {
    color: #2f86f6;
    background: rgba(47, 134, 246, 0.08);
    border-color: rgba(47, 134, 246, 0.15);
}

.lp-eyebrow-light {
    color: #a5c8f7;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.lp-hero-h1 {
    font-size: 46px;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0 0 20px;
}

.lp-hero-desc {
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 32px;
    max-width: 460px;
}

.lp-hero-cta {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.lp-hero-note {
    margin: 16px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}

/* ============================================================
   HERO MOCKUP
   ============================================================ */

.lp-hero-visual {
    display: flex;
    justify-content: flex-end;
}

.lp-mock-window {
    width: 100%;
    max-width: 500px;
    background: #1e293b;
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.06);
}

.lp-mock-titlebar {
    background: #2d3748;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lp-mock-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
}

.lp-dot-red    { background: #ff5f57; }
.lp-dot-yellow { background: #febc2e; }
.lp-dot-green  { background: #28c840; }

.lp-mock-url {
    margin-left: 10px;
    font-size: 11px;
    color: #64748b;
    font-family: "SF Mono", "Consolas", monospace;
    background: #1e293b;
    padding: 3px 10px;
    border-radius: 5px;
}

.lp-mock-body {
    padding: 14px;
    background: #f8fafc;
}

.lp-mock-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 4px 10px;
}

.lp-mock-page-title {
    font-size: 13px;
    font-weight: 800;
    color: #1b2436;
}

.lp-mock-action-btn {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #2f86f6;
    padding: 4px 10px;
    border-radius: 6px;
}

.lp-mock-filters {
    display: flex;
    gap: 5px;
    padding: 6px 0 10px;
}

.lp-mock-chip {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    color: #64748b;
    background: #fff;
}

.lp-chip-active {
    background: #1b2436;
    color: #fff;
    border-color: #1b2436;
}

.lp-chip-warn {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

.lp-chip-ai {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.lp-mock-table-head {
    display: grid;
    grid-template-columns: 2fr 0.8fr 0.8fr 0.6fr 0.7fr;
    padding: 6px 10px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #94a3b8;
    border-bottom: 1px solid #e2e8f0;
    gap: 6px;
}

.lp-mock-row {
    display: grid;
    grid-template-columns: 2fr 0.8fr 0.8fr 0.6fr 0.7fr;
    padding: 9px 10px;
    border-bottom: 1px solid #f1f5f9;
    align-items: center;
    gap: 6px;
    transition: background 0.1s;
}

.lp-mock-row:hover {
    background: #f0f7ff;
}

.lp-mock-row:last-child {
    border-bottom: none;
}

.lp-mock-row-dim {
    opacity: 0.7;
}

.lp-mock-case-name {
    font-size: 11px;
    font-weight: 600;
    color: #1b2436;
}

.lp-mock-case-sub {
    font-size: 9px;
    color: #94a3b8;
    margin-top: 1px;
}

.lp-mock-badge {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    display: inline-block;
    white-space: nowrap;
}

.lp-badge-blue   { background: #dbeafe; color: #1e40af; }
.lp-badge-green  { background: #dcfce7; color: #166534; }
.lp-badge-orange { background: #fff7ed; color: #c2410c; }
.lp-badge-red    { background: #fee2e2; color: #991b1b; }
.lp-badge-grey   { background: #f3f4f6; color: #6b7280; }
.lp-badge-spin   { background: #eff6ff; color: #2563eb; }

.lp-mock-muted {
    font-size: 10px;
    color: #cbd5e1;
}

.lp-mock-date {
    font-size: 11px;
    font-weight: 600;
    color: #374151;
}

/* ============================================================
   STATS BAR
   ============================================================ */

.lp-stats {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 28px 0;
}

.lp-stats-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.lp-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 40px;
    flex: 1;
}

.lp-stat-value {
    font-size: 26px;
    font-weight: 900;
    color: #0b2f57;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.lp-stat-label {
    font-size: 13px;
    color: #6b7280;
    margin-top: 5px;
}

.lp-stat-divider {
    width: 1px;
    height: 40px;
    background: #e5e7eb;
    flex-shrink: 0;
}

/* ============================================================
   SECTION LAYOUT
   ============================================================ */

.lp-section {
    padding: 88px 0;
}

.lp-section-white { background: #ffffff; }
.lp-section-soft  { background: #f8fafc; }

.lp-section-header {
    text-align: center;
    margin-bottom: 56px;
}

.lp-section-h2 {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #0b2f57;
    margin: 12px 0 16px;
    line-height: 1.15;
}

.lp-section-sub {
    font-size: 17px;
    color: #6b7280;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================================
   PAIN POINTS (PROBLEM)
   ============================================================ */

.lp-pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.lp-pain-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px 24px;
    transition: box-shadow 0.15s;
}

.lp-pain-card:hover {
    box-shadow: 0 8px 24px rgba(11, 47, 87, 0.07);
}

.lp-pain-icon {
    font-size: 28px;
    margin-bottom: 14px;
    line-height: 1;
}

.lp-pain-title {
    font-size: 16px;
    font-weight: 800;
    color: #1b2436;
    margin: 0 0 10px;
}

.lp-pain-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   SOLUTION BRIDGE
   ============================================================ */

.lp-section-navy {
    background: linear-gradient(135deg, #0b2f57 0%, #0e3a6e 100%);
    padding: 72px 0;
    color: #fff;
}

.lp-solution-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
}

.lp-solution-h2 {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 12px 0 20px;
    line-height: 1.15;
}

.lp-solution-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
    margin: 0;
}

.lp-solution-steps {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.lp-sol-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.lp-sol-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(47, 134, 246, 0.25);
    border: 1.5px solid rgba(47, 134, 246, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 900;
    color: #7eb8f7;
}

.lp-sol-text {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    white-space: nowrap;
}

.lp-sol-arrow {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.3);
    margin-top: -16px;
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */

.lp-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.lp-feature-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 28px 24px;
    transition: box-shadow 0.15s, transform 0.1s;
}

.lp-feature-card:hover {
    box-shadow: 0 12px 32px rgba(11, 47, 87, 0.08);
    transform: translateY(-2px);
}

.lp-feature-card-wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr 2fr;
    align-items: start;
    gap: 20px;
}

.lp-feature-card-wide .lp-feature-title { margin-top: 4px; }

.lp-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.lp-feature-card-wide .lp-feature-icon { margin-bottom: 0; }

.lp-icon-blue   { background: #eff6ff; }
.lp-icon-purple { background: #f5f3ff; }
.lp-icon-green  { background: #f0fdf4; }
.lp-icon-orange { background: #fff7ed; }
.lp-icon-teal   { background: #f0fdfa; }
.lp-icon-navy   { background: #f0f5ff; }
.lp-icon-gold   { background: #fffbeb; }

.lp-feature-title {
    font-size: 16px;
    font-weight: 800;
    color: #1b2436;
    margin: 0 0 10px;
}

.lp-feature-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   WORKFLOW STEPS
   ============================================================ */

.lp-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: start;
}

.lp-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 12px;
}

.lp-step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #0b2f57;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 20px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(11, 47, 87, 0.2);
}

.lp-step-content { max-width: 200px; }

.lp-step-title {
    font-size: 16px;
    font-weight: 800;
    color: #1b2436;
    margin: 0 0 8px;
}

.lp-step-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.lp-step-connector {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, #bfdbfe, #93c5fd);
    margin-top: 28px;
    flex-shrink: 0;
}

/* ============================================================
   FILE TYPES
   ============================================================ */

.lp-filetype-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
}

.lp-filetype-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    border: 1.5px solid transparent;
}

.lp-ft-icon { font-size: 18px; }

.lp-ft-red    { background: #fff5f5; color: #991b1b; border-color: #fecaca; }
.lp-ft-blue   { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
.lp-ft-green  { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.lp-ft-yellow { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.lp-ft-grey   { background: #f9fafb; color: #374151; border-color: #e5e7eb; }
.lp-ft-purple { background: #faf5ff; color: #6b21a8; border-color: #e9d5ff; }
.lp-ft-orange { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }

.lp-filetypes-note {
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
    margin: 0;
}

/* ============================================================
   COMING SOON
   ============================================================ */

.lp-coming-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.lp-coming-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 12px;
    border: 1.5px dashed #e5e7eb;
    border-radius: 14px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #9ca3af;
}

.lp-coming-icon {
    font-size: 24px;
    opacity: 0.5;
}

/* ============================================================
   FINAL CTA
   ============================================================ */

.lp-cta {
    background: linear-gradient(145deg, #0b2f57 0%, #0e3a6e 100%);
    padding: 88px 0;
    text-align: center;
    color: #fff;
}

.lp-cta-inner {
    max-width: 680px;
}

.lp-cta-h2 {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 18px;
}

.lp-cta-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
    margin: 0 0 36px;
}

.lp-cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.lp-cta-note {
    margin: 20px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   FOOTER
   ============================================================ */

.lp-footer {
    background: #060f1c;
    padding: 40px 0;
}

.lp-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.lp-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lp-footer-logo {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
}

.lp-footer-tagline {
    font-size: 12px;
    color: #475569;
}

.lp-footer-nav {
    display: flex;
    gap: 24px;
}

.lp-footer-nav a {
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    transition: color 0.12s;
}

.lp-footer-nav a:hover {
    color: #94a3b8;
}

.lp-footer-copy {
    font-size: 12px;
    color: #334155;
    margin: 0;
    width: 100%;
    text-align: center;
    border-top: 1px solid #1e2d3d;
    padding-top: 20px;
    margin-top: 8px;
}
/* filename: static/css/landing.css */

/* ============================================================
   LANDING FOOTER OVERRIDES
   Prevent base.css footer/layout rules from stretching landing footer.
   ============================================================ */

body.lp-root {
    min-height: auto;
    display: block;
}

body.lp-root .lp-footer {
    min-height: 0;
    height: auto;
    padding: 36px 0 28px;
    background: #060f1c;
}

body.lp-root .lp-footer-inner {
    min-height: 0;
    height: auto;
    align-items: flex-start;
}

body.lp-root .lp-footer-company {
    font-size: 12px;
    line-height: 1.7;
    color: #64748b;
}

body.lp-root .lp-footer-copy {
    color: #475569;
    padding-top: 16px;
    margin-top: 14px;
}

/* ============================================================
   RESPONSIVE — tablet / mobile
   ============================================================ */

@media (max-width: 900px) {
    .lp-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lp-hero { padding: 60px 0 48px; }
    .lp-hero-h1 { font-size: 34px; }
    .lp-hero-visual { display: none; } /* hide mockup on mobile */

    .lp-stats-inner {
        flex-direction: column;
        gap: 20px;
    }

    .lp-stat-divider { display: none; }

    .lp-pain-grid          { grid-template-columns: repeat(2, 1fr); }
    .lp-feature-grid       { grid-template-columns: repeat(2, 1fr); }
    .lp-feature-card-wide  { grid-column: auto; grid-template-columns: auto 1fr; }
    .lp-feature-card-wide .lp-feature-desc { grid-column: 2; }

    .lp-solution-inner { grid-template-columns: 1fr; gap: 40px; }
    .lp-solution-steps { justify-content: center; }

    .lp-steps {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .lp-step { align-items: flex-start; text-align: left; padding: 24px 0; border-bottom: 1px solid #f3f4f6; }
    .lp-step:last-child { border-bottom: none; }
    .lp-step-connector { display: none; }

    .lp-coming-grid { grid-template-columns: repeat(3, 1fr); }

    .lp-footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .lp-footer-nav { justify-content: center; }

    .lp-section-h2 { font-size: 28px; }
    .lp-cta-h2 { font-size: 30px; }
}

@media (max-width: 600px) {
    .lp-pain-grid    { grid-template-columns: 1fr; }
    .lp-feature-grid { grid-template-columns: 1fr; }
    .lp-feature-card-wide { grid-template-columns: 1fr; }
    .lp-coming-grid  { grid-template-columns: repeat(2, 1fr); }
    .lp-brand-tag    { display: none; }
    .lp-nav-link     { display: none; }
}
