/* BlackOasis ERP — public landing page */
.lp {
    --lp-bg: #0b1220;
    --lp-bg-soft: #111827;
    --lp-surface: #ffffff;
    --lp-muted: #64748b;
    --lp-border: #e2e8f0;
    --lp-blue: #2563eb;
    --lp-blue-dark: #1d4ed8;
    --lp-gradient: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #0f172a;
    background: var(--lp-surface);
}

.lp-accent { color: var(--lp-blue); }

.lp-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Nav */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--lp-border);
}

.lp-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: #0f172a;
    text-decoration: none;
}

.lp-brand-icon { width: 32px; height: 32px; }

.lp-nav-links {
    display: none;
    gap: 24px;
}

.lp-nav-links a {
    color: var(--lp-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.lp-nav-links a:hover { color: var(--lp-blue); }

.lp-nav-actions {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}

.lp-btn:hover { transform: translateY(-1px); }

.lp-btn-primary {
    background: var(--lp-gradient);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.lp-btn-outline {
    border-color: var(--lp-border);
    color: #0f172a;
    background: white;
}

.lp-btn-ghost {
    color: var(--lp-muted);
    background: transparent;
}

.lp-btn-lg {
    padding: 14px 24px;
    font-size: 15px;
    border-radius: 12px;
}

/* Hero */
.lp-hero {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 50%, #ffffff 100%);
    padding: 48px 20px 64px;
}

.lp-hero-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.lp-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--lp-blue);
    background: #eff6ff;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.lp-hero-copy h1 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.lp-lead {
    font-size: 17px;
    color: var(--lp-muted);
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 520px;
}

.lp-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.lp-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    font-size: 12px;
    color: var(--lp-muted);
}

.lp-trust span::before {
    content: "✓ ";
    color: var(--lp-blue);
    font-weight: 700;
}

/* Mock dashboard */
.lp-mock {
    background: white;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.15);
    border: 1px solid var(--lp-border);
    overflow: hidden;
}

.lp-mock-bar {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: #f1f5f9;
    border-bottom: 1px solid var(--lp-border);
}

.lp-mock-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}

.lp-mock-title {
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--lp-muted);
    border-bottom: 1px solid var(--lp-border);
}

.lp-mock-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--lp-border);
}

.lp-mock-kpis div {
    background: white;
    padding: 14px 12px;
}

.lp-mock-kpis small {
    display: block;
    font-size: 10px;
    color: var(--lp-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lp-mock-kpis strong {
    display: block;
    font-size: 18px;
    margin-top: 4px;
}

.lp-mock-kpis em {
    font-size: 11px;
    color: #10b981;
    font-style: normal;
}

.lp-mock-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--lp-border);
}

.lp-mock-panel {
    background: white;
    padding: 14px;
}

.lp-mock-panel h4 {
    font-size: 12px;
    margin-bottom: 10px;
    color: var(--lp-muted);
}

.lp-mock-panel ul {
    list-style: none;
    font-size: 12px;
}

.lp-mock-panel li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #f1f5f9;
}

.lp-mock-panel li.warn { color: #d97706; }

/* Stats bar */
.lp-stats {
    background: var(--lp-bg);
    color: white;
    padding: 28px 20px;
}

.lp-stats-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.lp-stats strong {
    display: block;
    font-size: 28px;
    color: #93c5fd;
}

.lp-stats span {
    font-size: 13px;
    color: #94a3b8;
}

/* Sections */
.lp-section {
    padding: 72px 20px;
}

.lp-section-alt { background: #f8fafc; }

.lp-section-dark {
    background: linear-gradient(180deg, #0f172a, #1e293b);
    color: white;
}

.lp-section-tag {
    font-size: 13px;
    font-weight: 600;
    color: var(--lp-blue);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.lp-section-dark .lp-section-tag { color: #93c5fd; }

.lp-section h2 {
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
    margin-bottom: 12px;
    max-width: 640px;
}

.lp-section-lead {
    color: var(--lp-muted);
    font-size: 17px;
    max-width: 620px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.lp-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.lp-card {
    background: white;
    border: 1px solid var(--lp-border);
    border-radius: 16px;
    padding: 24px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.lp-section-alt .lp-card { background: white; }

.lp-card:hover {
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.lp-card-icon { font-size: 28px; margin-bottom: 12px; }

.lp-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.lp-card p {
    font-size: 14px;
    color: var(--lp-muted);
    line-height: 1.55;
}

.lp-module-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 32px;
}

.lp-module-columns ul {
    list-style: none;
}

.lp-module-columns li {
    padding: 10px 0;
    border-bottom: 1px solid var(--lp-border);
    font-size: 14px;
    color: #334155;
}

.lp-module-columns li::before {
    content: "→ ";
    color: var(--lp-blue);
    font-weight: 600;
}

/* Compare */
.lp-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
}

.lp-compare-col {
    border-radius: 16px;
    padding: 28px;
}

.lp-compare-bad {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.lp-compare-good {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.lp-compare-col h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.lp-compare-col ul { list-style: none; }

.lp-compare-col li {
    padding: 10px 0;
    font-size: 14px;
    line-height: 1.5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.lp-compare-bad li::before { content: "✗ "; color: #dc2626; }
.lp-compare-good li::before { content: "✓ "; color: #2563eb; font-weight: 700; }

/* Steps */
.lp-steps h2 { max-width: 100%; margin-bottom: 36px; }

.lp-step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.lp-step {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
}

.lp-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--lp-blue);
    border-radius: 10px;
    font-weight: 700;
    margin-bottom: 12px;
}

.lp-step h4 { font-size: 17px; margin-bottom: 8px; }

.lp-step p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.55;
}

.lp-final-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.lp-section-dark .lp-btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    background: transparent;
}

/* Footer */
.lp-footer {
    background: #0b1220;
    color: #94a3b8;
    padding: 40px 20px;
}

.lp-footer-inner {
    text-align: center;
}

.lp-footer-inner .lp-brand {
    justify-content: center;
    color: white;
    margin-bottom: 8px;
}

.lp-footer-inner > p {
    font-size: 14px;
    margin-bottom: 16px;
}

.lp-footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.lp-footer-links a {
    color: #93c5fd;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* Landing must scroll on phones (main.css locks body when .layout exists) */
html:has(.lp),
body:has(.lp) {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.lp {
    min-height: 100vh;
    min-height: 100dvh;
}

/* Responsive */
@media (min-width: 768px) {
    .lp-nav-links { display: flex; }
    .lp-nav-actions { margin-left: 0; }
}

@media (max-width: 900px) {
    .lp-hero-inner { grid-template-columns: 1fr; }
    .lp-hero-visual { order: -1; }
    .lp-feature-grid { grid-template-columns: 1fr; }
    .lp-module-columns { grid-template-columns: 1fr; }
    .lp-compare { grid-template-columns: 1fr; }
    .lp-step-grid { grid-template-columns: 1fr; }
    .lp-stats-inner { grid-template-columns: repeat(2, 1fr); }
    .lp-mock-kpis { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
    .lp-nav-links { display: none; }
    .lp-nav { padding: 12px 16px; }
    .lp-btn-ghost { display: none; }
    .lp-mock-grid { grid-template-columns: 1fr; }
}
