:root {
    --ink: #102033;
    --muted: #475569;
    --primary: #174ea6;
    --primary-dark: #123f99;
    --green: #047857;
    --violet: #6d5dfc;
    --soft: #f5f8ff;
    --line: #dde6f3;
    --card: #ffffff;
    --shadow: 0 24px 70px rgba(15, 40, 80, .12);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    color: var(--ink);
    background: #fff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.landing-nav {
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(221, 230, 243, .8);
    backdrop-filter: blur(16px);
}

.navbar-brand {
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 0;
}

.landing-nav .nav-link {
    color: #334155;
    font-weight: 600;
    font-size: .92rem;
}

.landing-nav .nav-link:hover {
    color: var(--primary);
}

.btn-primary {
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: var(--primary-dark);
    --bs-btn-hover-border-color: var(--primary-dark);
}

.landing-hero {
    padding: 144px 0 92px;
    background:
            radial-gradient(circle at 15% 20%, rgba(25, 89, 209, .14), transparent 28%),
            radial-gradient(circle at 90% 10%, rgba(16, 185, 129, .16), transparent 24%),
            linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.hero-badge, .section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    background: rgba(25, 89, 209, .08);
    border: 1px solid rgba(25, 89, 209, .14);
    border-radius: 999px;
    padding: 7px 12px;
    font-weight: 800;
    font-size: .78rem;
    text-transform: uppercase;
}

.hero-title {
    margin: 22px 0 18px;
    font-size: clamp(2.45rem, 5vw, 4.8rem);
    line-height: 1.02;
    font-weight: 850;
    letter-spacing: 0;
}

.hero-subtitle, .section-lead {
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-note {
    color: var(--muted);
    margin-top: 18px;
}

.product-preview, .solution-card, .demo-form {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.product-preview {
    padding: 20px;
}

.preview-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
    margin-bottom: 18px;
}

.preview-topbar span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #cbd5e1;
}

.preview-topbar strong {
    margin-left: auto;
    color: var(--primary);
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.metric-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    background: #f8fbff;
}

.metric-card small {
    display: block;
    color: var(--muted);
    font-weight: 700;
}

.metric-card strong {
    display: block;
    font-size: 2.2rem;
    color: var(--primary);
    line-height: 1.1;
}

.metric-card.danger strong { color: #dc2626; }
.metric-card.warning strong { color: #b45309; }
.metric-card.success strong { color: #059669; }

.preview-panel {
    margin-top: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
}

.preview-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
}

.preview-row:last-child {
    border-bottom: 0;
}

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

.section-soft {
    background: var(--soft);
}

.section-dark {
    background: #102033;
    color: #fff;
}

.section-dark .section-title,
.section-dark .mockup-card h3 {
    color: #fff;
}

.section-dark .section-kicker {
    color: #dbeafe;
    background: rgba(219, 234, 254, .12);
    border-color: rgba(219, 234, 254, .22);
}

.section-title {
    max-width: 860px;
    margin: 16px 0 18px;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 820;
    line-height: 1.12;
}

.problem-grid, .feature-grid, .pricing-grid, .mockup-grid {
    display: grid;
    gap: 18px;
}

.problem-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 34px;
}

.problem-grid div, .feature-card, .pricing-card, .mockup-card, .faq-item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
}

.problem-grid div {
    font-weight: 750;
    color: #334155;
}

.solution-card {
    padding: 36px;
}

.solution-card h3 {
    margin: 14px 0;
    font-weight: 800;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
}

.check-list li {
    margin-bottom: 12px;
    color: #334155;
    font-weight: 650;
}

.check-list li::before {
    content: "✓";
    color: var(--green);
    font-weight: 900;
    margin-right: 10px;
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 34px;
}

.feature-card span {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: var(--primary);
    background: rgba(25, 89, 209, .1);
    font-weight: 900;
}

.feature-card h3 {
    margin: 18px 0 10px;
    font-size: 1.15rem;
    font-weight: 800;
}

.feature-card p, .pricing-card p, .mockup-card p, .faq-item p {
    color: var(--muted);
    margin-bottom: 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.steps div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
}

.steps strong {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    margin-bottom: 18px;
}

.steps h3 {
    font-size: 1.05rem;
    font-weight: 800;
}

.benefit-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.benefit-list span {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 12px 16px;
    background: #fff;
    color: #334155;
    font-weight: 700;
}

.mockup-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 36px;
}

.mockup-card {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .16);
}

.mockup-card p {
    color: #cbd5e1;
}

.mini-bars, .table-lines, .alert-stack {
    display: grid;
    gap: 8px;
    margin: 18px 0;
}

.mini-bars span, .table-lines span {
    display: block;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--green), var(--primary));
}

.mini-bars span:nth-child(2) { width: 72%; }
.mini-bars span:nth-child(3) { width: 48%; }

.upload-zone, .report-preview {
    display: grid;
    place-items: center;
    height: 96px;
    margin: 18px 0;
    border: 1px dashed rgba(255, 255, 255, .35);
    border-radius: 16px;
    color: #dbeafe;
    font-weight: 800;
}

.alert-stack b {
    color: #fff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: .75rem;
    background: rgba(255, 255, 255, .12);
}

.pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 34px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
}

.pricing-card-featured {
    border-color: rgba(25, 89, 209, .4);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
}

.featured-label {
    position: absolute;
    top: -14px;
    left: 24px;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    padding: 6px 12px;
    font-size: .78rem;
    font-weight: 850;
}

.pricing-card h3 {
    font-weight: 850;
}

.pricing-card strong {
    display: block;
    margin: 20px 0;
    font-size: 2.15rem;
}

.pricing-card strong span {
    color: var(--muted);
    font-size: 1rem;
}

.pricing-card ul {
    min-height: 190px;
    padding-left: 18px;
    color: #334155;
}

.pricing-card li {
    margin-bottom: 9px;
}

.pricing-note {
    color: var(--muted);
    text-align: center;
    margin-top: 22px;
}

.cta-section {
    background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 100%);
}

.demo-form {
    padding: 28px;
}

.demo-disclaimer {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    color: #475569;
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.faq-item h3 {
    font-size: 1.05rem;
    font-weight: 800;
}

.landing-footer {
    background: #0b1626;
    color: #cbd5e1;
    padding: 56px 0 28px;
}

.landing-footer h2 {
    color: #fff;
    font-weight: 850;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: #dbeafe;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 28px;
    padding-top: 20px;
    font-size: .9rem;
}

@media (max-width: 1100px) {
    .mockup-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .landing-hero {
        padding-top: 118px;
    }

    .problem-grid, .feature-grid, .steps, .pricing-grid, .faq-list {
        grid-template-columns: 1fr;
    }

    .pricing-card-featured {
        transform: none;
    }
}

@media (max-width: 640px) {
    .preview-grid, .mockup-grid {
        grid-template-columns: 1fr;
    }

    .preview-row {
        display: grid;
    }

    .hero-actions .btn {
        width: 100%;
    }
}
