:root {
    --landing-ink: #0b1736;
    --landing-muted: #5f6d83;
    --landing-line: #dbe5ef;
    --landing-soft: #f4f8fb;
    --landing-blue: #155eef;
    --landing-navy: #0d2c63;
    --landing-green: #16a34a;
    --landing-green-dark: #107237;
    --landing-white: #ffffff;
    --landing-radius: 18px;
    --landing-shadow: 0 24px 70px rgba(15, 35, 70, .12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--landing-white);
    color: var(--landing-ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
    margin: 0;
}

a {
    color: inherit;
}

.landing-header {
    align-items: center;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(219, 229, 239, .86);
    display: flex;
    gap: 28px;
    justify-content: space-between;
    left: 0;
    min-height: 72px;
    padding: 14px clamp(18px, 4vw, 64px);
    position: sticky;
    right: 0;
    top: 0;
    z-index: 30;
}

.landing-brand {
    align-items: center;
    display: inline-flex;
    font-size: 15px;
    font-weight: 900;
    gap: 10px;
    text-decoration: none;
    white-space: nowrap;
}

.landing-brand-mark {
    align-items: center;
    background: var(--landing-navy);
    border-radius: 12px;
    color: var(--landing-white);
    display: inline-flex;
    font-size: 12px;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.landing-nav {
    align-items: center;
    display: flex;
    gap: clamp(14px, 2vw, 28px);
}

.landing-nav a,
.footer-links a {
    color: #31415b;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.landing-nav a:hover,
.footer-links a:hover {
    color: var(--landing-blue);
}

.landing-header-cta,
.btn-primary,
.btn-secondary {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 15px;
    font-weight: 800;
    justify-content: center;
    line-height: 1;
    min-height: 46px;
    padding: 0 22px;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
    white-space: nowrap;
}

.landing-header-cta,
.btn-primary {
    background: var(--landing-green);
    border: 1px solid var(--landing-green);
    color: var(--landing-white);
}

.btn-secondary {
    background: var(--landing-white);
    border: 1px solid #b7c6d8;
    color: var(--landing-navy);
}

.landing-header-cta:hover,
.btn-primary:hover {
    background: var(--landing-green-dark);
    border-color: var(--landing-green-dark);
    transform: translateY(-1px);
}

.btn-secondary:hover {
    border-color: var(--landing-blue);
    color: var(--landing-blue);
    transform: translateY(-1px);
}

.hero-section,
.landing-section,
.philosophy-section,
.workflow-section,
.map-dashboard-section,
.knowledge-section,
.cta-section,
.contact-section,
.landing-footer {
    margin: 0 auto;
    max-width: 1180px;
    padding-left: clamp(18px, 4vw, 32px);
    padding-right: clamp(18px, 4vw, 32px);
}

.hero-section {
    align-items: center;
    display: grid;
    gap: clamp(32px, 5vw, 64px);
    grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
    min-height: calc(100dvh - 72px);
    padding-bottom: 44px;
    padding-top: 52px;
}

.hero-copy h1,
.section-heading h2,
.map-panel h2,
.dashboard-panel h2,
.cta-section h2,
.contact-card h2 {
    color: var(--landing-ink);
    letter-spacing: 0;
    line-height: 1.12;
    margin: 0;
}

.hero-copy h1 {
    font-size: clamp(34px, 3.4vw, 52px);
    font-weight: 800;
    max-width: 680px;
}

.hero-lead {
    color: #233553;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 650;
    line-height: 1.45;
    margin: 24px 0 0;
    max-width: 680px;
}

.hero-seo,
.cta-section p,
.feature-grid p,
.problem-grid p,
.philosophy-grid p,
.knowledge-grid p {
    color: var(--landing-muted);
    font-size: 16px;
    line-height: 1.62;
}

.hero-seo {
    margin: 16px 0 0;
    max-width: 660px;
}

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

.hero-visual {
    background: linear-gradient(145deg, #eef6ff, #f8fbff);
    border: 1px solid rgba(155, 180, 210, .38);
    border-radius: 28px;
    box-shadow: var(--landing-shadow);
    overflow: hidden;
    padding: clamp(10px, 2vw, 20px);
}

.hero-visual img {
    display: block;
    height: auto;
    width: 100%;
}

.section-kicker {
    color: var(--landing-blue);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    margin: 0 0 12px;
    text-transform: none;
}

.trust-strip {
    background: var(--landing-navy);
    color: var(--landing-white);
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-strip article {
    background: rgba(255, 255, 255, .06);
    min-height: 150px;
    padding: 28px;
}

.trust-strip strong {
    display: block;
    font-size: 18px;
    line-height: 1.3;
}

.trust-strip span {
    color: rgba(255, 255, 255, .72);
    display: block;
    line-height: 1.55;
    margin-top: 10px;
}

.landing-section,
.philosophy-section,
.workflow-section,
.knowledge-section,
.contact-section {
    padding-bottom: clamp(70px, 9vw, 118px);
    padding-top: clamp(70px, 9vw, 118px);
}

.section-heading {
    max-width: 760px;
}

.section-heading h2,
.map-panel h2,
.dashboard-panel h2,
.cta-section h2,
.contact-card h2 {
    font-size: clamp(32px, 4vw, 52px);
}

.problem-grid,
.philosophy-grid,
.knowledge-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 32px;
}

.problem-grid article,
.philosophy-grid article,
.feature-grid article,
.knowledge-grid article,
.contact-card,
.contact-form,
.map-panel,
.dashboard-panel {
    background: var(--landing-white);
    border: 1px solid var(--landing-line);
    border-radius: var(--landing-radius);
    box-shadow: 0 16px 44px rgba(15, 35, 70, .07);
}

.problem-grid article,
.philosophy-grid article,
.feature-grid article,
.knowledge-grid article {
    padding: 26px;
}

.problem-grid h3,
.philosophy-grid h3,
.feature-grid h3,
.knowledge-grid h3 {
    font-size: 20px;
    line-height: 1.25;
    margin: 0 0 10px;
}

.problem-grid p,
.philosophy-grid p,
.feature-grid p,
.knowledge-grid p {
    margin: 0;
}

.philosophy-section,
.knowledge-section {
    background: var(--landing-soft);
    max-width: none;
}

.philosophy-section > *,
.knowledge-section > * {
    margin-left: auto;
    margin-right: auto;
    max-width: 1180px;
}

.philosophy-grid span {
    color: var(--landing-green);
    display: block;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 28px;
}

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

.workflow-section {
    background: var(--landing-navy);
    color: var(--landing-white);
    max-width: none;
}

.workflow-section .section-heading {
    margin-left: auto;
    margin-right: auto;
    max-width: 1180px;
}

.workflow-section h2 {
    color: var(--landing-white);
}

.workflow-list {
    counter-reset: workflow;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    list-style: none;
    margin: 34px auto 0;
    max-width: 1180px;
    padding: 0;
}

.workflow-list li {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 16px;
    font-weight: 800;
    line-height: 1.35;
    min-height: 128px;
    padding: 18px;
}

.workflow-list li::before {
    color: #8bd9a2;
    content: counter(workflow, decimal-leading-zero);
    counter-increment: workflow;
    display: block;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 18px;
}

.map-dashboard-section {
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
    padding-bottom: clamp(70px, 9vw, 118px);
    padding-top: clamp(70px, 9vw, 118px);
}

.map-panel,
.dashboard-panel {
    padding: clamp(24px, 4vw, 34px);
}

.location-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
}

.location-grid span {
    border-radius: 12px;
    font-size: 14px;
    font-weight: 900;
    padding: 18px 10px;
    text-align: center;
}

.is-full {
    background: #d9f6e2;
    color: #12692f;
}

.is-partial {
    background: #e8f1ff;
    color: #174ea6;
}

.is-empty {
    background: #f3f7fb;
    color: #657386;
}

.location-detail {
    background: #f8fbff;
    border: 1px solid var(--landing-line);
    border-radius: 16px;
    display: grid;
    gap: 8px;
    margin-top: 16px;
    padding: 18px;
}

.location-detail strong {
    color: var(--landing-navy);
}

.dashboard-metrics {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
}

.dashboard-metrics span {
    background: #f8fbff;
    border: 1px solid var(--landing-line);
    border-radius: 16px;
    color: var(--landing-muted);
    display: grid;
    gap: 6px;
    padding: 18px;
}

.dashboard-metrics strong {
    color: var(--landing-navy);
    font-size: 28px;
}

.bar-chart {
    align-items: end;
    background: linear-gradient(180deg, #f7fbff, #eef5ff);
    border: 1px solid var(--landing-line);
    border-radius: 18px;
    display: flex;
    gap: 12px;
    height: 170px;
    margin-top: 18px;
    padding: 18px;
}

.bar-chart span {
    background: linear-gradient(180deg, var(--landing-blue), #8db8ff);
    border-radius: 999px 999px 8px 8px;
    flex: 1;
}

.goods-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.goods-grid span {
    background: #eef6ff;
    border: 1px solid #c9dcf4;
    border-radius: 999px;
    color: var(--landing-navy);
    font-weight: 800;
    padding: 13px 18px;
}

.cta-section {
    align-items: center;
    background: linear-gradient(135deg, var(--landing-navy), #164e9d);
    border-radius: 28px;
    color: var(--landing-white);
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: 70px;
    margin-top: 20px;
    padding-bottom: 38px;
    padding-top: 38px;
}

.cta-section h2,
.cta-section p {
    color: var(--landing-white);
}

.cta-section p {
    color: rgba(255, 255, 255, .78);
    margin-bottom: 0;
}

.contact-section {
    display: grid;
    gap: 22px;
    grid-template-columns: .88fr 1.12fr;
    padding-top: 0;
}

.contact-card,
.contact-form {
    padding: clamp(24px, 4vw, 34px);
}

address {
    display: grid;
    font-style: normal;
    gap: 12px;
    margin-top: 26px;
}

address strong {
    font-size: 22px;
}

address a {
    color: var(--landing-blue);
    font-weight: 800;
    text-decoration: none;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form label {
    color: #30415d;
    display: grid;
    font-size: 14px;
    font-weight: 800;
    gap: 8px;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid #b7c6d8;
    border-radius: 12px;
    color: var(--landing-ink);
    font: inherit;
    min-height: 48px;
    padding: 12px 14px;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--landing-blue);
    box-shadow: 0 0 0 4px rgba(21, 94, 239, .14);
    outline: none;
}

.contact-form button {
    cursor: pointer;
    justify-self: start;
}

.landing-footer {
    align-items: center;
    border-top: 1px solid var(--landing-line);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding-bottom: 32px;
    padding-top: 32px;
}

.landing-footer div:first-child {
    display: grid;
    gap: 6px;
}

.landing-footer span {
    color: var(--landing-muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .landing-header-cta,
    .btn-primary,
    .btn-secondary {
        transition: none;
    }
}

@media (max-width: 1040px) {
    .landing-nav {
        display: none;
    }

    .hero-section,
    .map-dashboard-section,
    .contact-section,
    .cta-section {
        grid-template-columns: 1fr;
    }

    .hero-section {
        min-height: auto;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .workflow-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-actions {
        margin-top: 0;
    }
}

@media (max-width: 760px) {
    .landing-header {
        gap: 12px;
        min-height: 64px;
    }

    .landing-brand span:last-child {
        display: none;
    }

    .hero-section {
        padding-top: 34px;
    }

    .hero-copy h1 {
        font-size: clamp(32px, 8.2vw, 40px);
        line-height: 1.14;
    }

    .hero-actions,
    .cta-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .trust-strip,
    .problem-grid,
    .philosophy-grid,
    .feature-grid,
    .knowledge-grid,
    .dashboard-metrics {
        grid-template-columns: 1fr;
    }

    .workflow-list {
        grid-template-columns: 1fr;
    }

    .workflow-list li {
        min-height: 96px;
    }

    .location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
