:root {
    --green-900: #064735;
    --green-800: #0b5f49;
    --green-700: #0f7a5b;
    --green-100: #ddf6ec;
    --blue-700: #1769d2;
    --blue-100: #e7f0ff;
    --amber-600: #b77910;
    --amber-100: #fff2cc;
    --rose-600: #c72c55;
    --rose-100: #ffe7ee;
    --cyan-600: #0e7490;
    --cyan-100: #dff7fb;
    --slate-900: #142033;
    --slate-700: #334155;
    --slate-500: #64748b;
    --slate-100: #eef2f7;
    --line: #d8e1ed;
    --paper: #ffffff;
    --page: #f5f8fb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.landing-body {
    margin: 0;
    color: var(--slate-900);
    background: var(--page);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
svg { display: block; fill: currentColor; }

.landing-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.25rem;
    align-items: center;
    min-height: 66px;
    width: 100%;
    padding: .55rem clamp(1rem, 2.2vw, 2.2rem);
    border-bottom: 1px solid rgba(216, 225, 237, .78);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 36px rgba(20, 32, 51, .05);
    isolation: isolate;
}
.landing-nav::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--green-700), var(--blue-700), var(--green-700));
}
.landing-brand img { width: 196px; height: auto; }
.landing-brand { display: inline-flex; align-items: center; text-decoration: none; }

.landing-links {
    justify-self: center;
    display: flex;
    justify-content: center;
    gap: .25rem;
    border: 1px solid rgba(216, 225, 237, .86);
    border-radius: 999px;
    background: rgba(248, 250, 252, .88);
    padding: .28rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 12px 28px rgba(20, 32, 51, .05);
}
.landing-links a,
.landing-mobile-menu-panel a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    border-radius: 999px;
    padding: 0 .72rem;
    color: var(--slate-700);
    font-size: .88rem;
    font-weight: 800;
    white-space: nowrap;
    text-decoration: none;
}
.landing-links a:hover {
    color: var(--green-800);
    background: linear-gradient(135deg, rgba(15, 122, 91, .14), rgba(23, 105, 210, .12));
}
.landing-links svg,
.landing-mobile-menu svg {
    width: 1.08rem;
    height: 1.08rem;
    min-width: 1.08rem;
}
.landing-mobile-menu { display: none; }
.landing-mobile-menu summary {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0 .8rem;
    font-weight: 900;
    list-style: none;
    background: var(--paper);
}
.landing-mobile-menu summary::-webkit-details-marker { display: none; }
.landing-mobile-menu-panel {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + .5rem);
    display: grid;
    gap: .35rem;
    padding: .7rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
    box-shadow: 0 20px 44px rgba(20, 32, 51, .15);
}
.landing-actions,
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    align-items: center;
}
.btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 0 .95rem;
    font-size: .92rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    background: linear-gradient(180deg, #10a777, var(--green-700));
    color: #fff;
    box-shadow: 0 14px 28px rgba(15, 122, 91, .24);
}
.btn-ghost {
    border-color: rgba(216, 225, 237, .95);
    background: rgba(255, 255, 255, .72);
    color: var(--slate-700);
}
.btn-soft {
    background: var(--green-100);
    color: var(--green-900);
}
.btn-light {
    background: rgba(255, 255, 255, .92);
    color: var(--slate-900);
}
.btn-large {
    min-height: 50px;
    padding-inline: 1.2rem;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 66px);
    display: grid;
    align-items: center;
    background:
        linear-gradient(120deg, rgba(6, 71, 53, .95), rgba(20, 32, 51, .84)),
        radial-gradient(circle at 78% 30%, rgba(23, 105, 210, .42), transparent 34%),
        linear-gradient(135deg, #0b5f49, #142033);
    color: #fff;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 46px 46px;
    opacity: .42;
}
.hero-content {
    position: relative;
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    padding: clamp(3rem, 7vw, 6rem) 0;
}
.hero-copy h1 {
    margin: .6rem 0 1rem;
    font-size: clamp(3.2rem, 8vw, 6.6rem);
    line-height: .9;
    letter-spacing: 0;
}
.hero-copy p {
    max-width: 650px;
    margin: 0 0 1.4rem;
    color: rgba(255,255,255,.84);
    font-size: clamp(1.08rem, 1.6vw, 1.32rem);
    line-height: 1.58;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: .42rem .72rem;
    background: rgba(255,255,255,.14);
    color: #dff7fb;
    font-size: .78rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.eyebrow.dark {
    background: var(--green-100);
    color: var(--green-900);
}
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1.2rem;
}
.hero-trust span {
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    padding: .48rem .72rem;
    color: rgba(255,255,255,.84);
    font-weight: 800;
    font-size: .85rem;
}

.product-stage {
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    padding: 1rem;
    background: rgba(255,255,255,.94);
    color: var(--slate-900);
    box-shadow: 0 30px 80px rgba(0,0,0,.25);
}
.browser-bar,
.screen-toolbar,
.product-grid,
.result-preview,
.pipeline-preview,
.workflow-actions,
.workflow-kpis,
.feature-grid,
.timeline-grid {
    display: grid;
    gap: .75rem;
}
.browser-bar {
    grid-template-columns: repeat(3, 10px) 1fr;
    align-items: center;
    padding-bottom: .8rem;
    border-bottom: 1px solid var(--line);
}
.browser-bar span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--line);
}
.browser-bar strong {
    justify-self: end;
    color: var(--slate-500);
    font-size: .78rem;
}
.screen-toolbar {
    grid-template-columns: repeat(4, 1fr);
    margin: 1rem 0;
}
.screen-tab {
    border-radius: 999px;
    padding: .5rem .6rem;
    text-align: center;
    font-weight: 900;
    font-size: .82rem;
    background: var(--slate-100);
    color: var(--slate-700);
}
.screen-tab.active {
    background: var(--green-100);
    color: var(--green-900);
}
.product-grid,
.result-preview {
    grid-template-columns: repeat(3, 1fr);
}
.metric-tile,
.search-preview,
.result-preview div,
.pipeline-preview div,
.operation-card,
.feature-grid article,
.timeline-grid article {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}
.metric-tile {
    min-height: 120px;
    padding: .85rem;
}
.metric-tile small,
.metric-tile span,
.search-preview span,
.search-preview em,
.result-preview span,
.pipeline-preview span,
.workflow-search span,
.workflow-result span,
.workflow-result small,
.workflow-kpis span {
    color: var(--slate-500);
}
.metric-tile strong {
    display: block;
    margin: .5rem 0 .25rem;
    font-size: 1.65rem;
}
.metric-tile.blue { background: var(--blue-100); }
.metric-tile.green { background: var(--green-100); }
.metric-tile.amber { background: var(--amber-100); }
.search-preview {
    margin-top: .85rem;
    padding: 1rem;
}
.search-preview strong,
.search-preview em {
    display: block;
}
.search-preview strong {
    margin: .3rem 0;
    font-size: 1.18rem;
}
.result-preview {
    grid-template-columns: repeat(4, 1fr);
    margin-top: .85rem;
}
.result-preview div {
    padding: .8rem;
}
.result-preview strong { display: block; margin-top: .25rem; }
.pipeline-preview {
    grid-template-columns: repeat(3, 1fr);
    margin-top: .85rem;
}
.pipeline-preview div { padding: .85rem; }
.pipeline-preview b,
.pipeline-preview span { display: block; }

.section {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 5.5rem) 0;
}
.section-tight { padding-block: 2rem; }
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.stats-row article {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.25rem;
    background: var(--paper);
    box-shadow: 0 14px 34px rgba(20, 32, 51, .06);
}
.stats-row span,
.timeline-grid span {
    color: var(--green-700);
    font-weight: 950;
}
.stats-row strong,
.feature-grid strong,
.timeline-grid strong {
    display: block;
    margin: .35rem 0;
    font-size: 1.05rem;
}
.stats-row p,
.feature-grid p,
.timeline-grid p,
.operation-card p,
.security-section p,
.section-head p {
    margin: 0;
    color: var(--slate-500);
    line-height: 1.6;
}
.section-head {
    max-width: 780px;
    margin-bottom: 1.5rem;
}
.section-head h2,
.security-section h2 {
    margin: .75rem 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.02;
    letter-spacing: 0;
}
.operation-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 1rem;
}
.operation-card {
    padding: 1.15rem;
    box-shadow: 0 14px 34px rgba(20, 32, 51, .06);
}
.operation-card.main {
    grid-row: span 3;
}
.operation-card-head {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: .75rem;
}
.operation-card-head h3 {
    margin: 0;
    font-size: 1.3rem;
}
.operation-card-head-inline span {
    margin-left: auto;
    color: var(--green-700);
    font-weight: 900;
}
.icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    flex: 0 0 44px;
}
.icon svg { width: 24px; height: 24px; }
.icon.green { background: var(--green-100); color: var(--green-800); }
.icon.blue { background: var(--blue-100); color: var(--blue-700); }
.icon.amber { background: var(--amber-100); color: var(--amber-600); }
.icon.rose { background: var(--rose-100); color: var(--rose-600); }
.workflow-preview {
    margin-top: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem;
    background: #fbfdff;
}
.workflow-search,
.workflow-result {
    border-bottom: 1px solid var(--line);
    padding-bottom: .9rem;
    margin-bottom: .9rem;
}
.workflow-search strong,
.workflow-result strong {
    display: block;
    margin-top: .3rem;
}
.workflow-result {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.workflow-badge {
    align-self: start;
    border-radius: 999px;
    padding: .35rem .6rem;
    background: var(--green-100);
    color: var(--green-900) !important;
    font-weight: 900;
    white-space: nowrap;
}
.workflow-actions {
    grid-template-columns: repeat(3, 1fr);
}
.workflow-actions article {
    display: flex;
    gap: .7rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .8rem;
    background: var(--paper);
}
.workflow-actions span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--green-700);
    color: #fff;
    font-weight: 950;
    flex: 0 0 auto;
}
.workflow-actions strong,
.workflow-actions small {
    display: block;
}
.workflow-actions small {
    margin-top: .25rem;
    color: var(--slate-500);
}
.workflow-kpis {
    grid-template-columns: repeat(3, 1fr);
    margin-top: .75rem;
}
.workflow-kpis div {
    border-radius: 8px;
    padding: .8rem;
    background: var(--slate-100);
}
.workflow-kpis strong { display: block; margin-top: .25rem; }
.feature-band {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.feature-grid {
    grid-template-columns: repeat(4, 1fr);
}
.feature-grid article,
.timeline-grid article {
    padding: 1.1rem;
}
.timeline-grid {
    grid-template-columns: repeat(4, 1fr);
}
.security-section {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    border-top: 1px solid var(--line);
}
.landing-footer {
    padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 2.2vw, 2.2rem) 1.2rem;
    border-top: 1px solid var(--line);
    background: #0f1d2d;
    color: rgba(255, 255, 255, .78);
}
.footer-main {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, .95fr) minmax(0, 1.35fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: start;
}
.footer-brand img {
    width: 190px;
    height: auto;
    filter: brightness(0) invert(1);
}
.footer-brand p {
    max-width: 460px;
    margin: 1rem 0;
    line-height: 1.62;
}
.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}
.footer-badges span {
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    padding: .42rem .66rem;
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .86);
    font-size: .82rem;
    font-weight: 900;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.footer-links div {
    display: grid;
    gap: .55rem;
}
.footer-links strong {
    color: #fff;
    font-size: .95rem;
}
.footer-links a,
.footer-links span {
    color: rgba(255, 255, 255, .68);
    font-size: .92rem;
    line-height: 1.35;
    text-decoration: none;
}
.footer-links a:hover {
    color: #fff;
}
.footer-bottom {
    width: min(1180px, 100%);
    margin: 2rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: rgba(255, 255, 255, .58);
    font-size: .86rem;
    font-weight: 800;
}

@media (max-width: 1120px) {
    .landing-nav { grid-template-columns: auto auto 1fr; }
    .landing-links { display: none; }
    .landing-mobile-menu { display: block; }
    .landing-actions { justify-self: end; }
    .hero-content { grid-template-columns: 1fr; }
    .product-stage { max-width: 720px; }
}
@media (max-width: 760px) {
    .landing-nav {
        grid-template-columns: 1fr auto;
        gap: .75rem;
    }
    .landing-brand img { width: 160px; }
    .landing-actions {
        grid-column: 1 / -1;
        justify-self: stretch;
    }
    .landing-actions .btn { flex: 1 1 0; }
    .hero { min-height: auto; }
    .hero-content { padding: 2.4rem 0; }
    .hero-copy h1 { font-size: 3.2rem; }
    .product-grid,
    .result-preview,
    .pipeline-preview,
    .stats-row,
    .operation-grid,
    .workflow-actions,
    .workflow-kpis,
    .feature-grid,
    .timeline-grid,
    .security-section {
        grid-template-columns: 1fr;
    }
    .footer-main,
    .footer-links {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
    }
    .screen-toolbar { grid-template-columns: repeat(2, 1fr); }
    .workflow-result { display: block; }
    .workflow-badge {
        display: inline-flex;
        margin-top: .75rem;
    }
}
