/*
    黑土未来成交型官网样式。
    目标：把农业智能体能力转成免费试用、预约演示和上传地块体验。
*/
:root {
    --bg: #f4f7f1;
    --surface: #ffffff;
    --ink: #122018;
    --muted: #627067;
    --deep: #102d1c;
    --green: #2f7d4f;
    --lime: #d5ef75;
    --gold: #b8872b;
    --red: #b6453c;
    --line: rgba(18, 32, 24, 0.12);
    --shadow: 0 22px 52px rgba(18, 32, 24, 0.12);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

.siteHeader {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 16px 32px;
    background: rgba(244, 247, 241, 0.9);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.siteBrand {
    display: flex;
    gap: 12px;
    align-items: center;
}

.siteBrand span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--deep);
    background: var(--lime);
    border-radius: var(--radius);
    font-weight: 900;
}

.siteBrand strong,
.siteBrand small {
    display: block;
}

.siteBrand small {
    color: var(--muted);
}

.siteNav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.siteNav a {
    padding: 9px 12px;
    color: var(--muted);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
}

.siteNav a:last-child,
.siteNav a:hover {
    color: var(--deep);
    background: #e8f1df;
}

.heroSection {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    gap: 30px;
    align-items: center;
    min-height: 760px;
    padding: 58px 32px;
    background:
        linear-gradient(90deg, rgba(244, 247, 241, 0.96), rgba(244, 247, 241, 0.72)),
        url("./assets/future-agriculture-hero.png") center / cover;
}

.kicker {
    margin: 0 0 10px;
    color: var(--green);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.heroCopy h1 {
    max-width: 760px;
    margin: 0;
    font-size: 64px;
    line-height: 1.08;
}

.heroLead {
    max-width: 700px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.8;
}

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

.primaryLink,
.secondaryLink,
.pricingGrid a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 12px 18px;
    border-radius: var(--radius);
    font-weight: 900;
}

.primaryLink,
.pricingGrid a {
    color: #ffffff;
    background: var(--green);
}

.secondaryLink {
    color: var(--deep);
    background: var(--surface);
    border: 1px solid var(--line);
}

.trustStrip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.trustStrip span {
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.trustStrip b {
    margin-right: 6px;
}

.heroProduct {
    padding: 18px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.productTopbar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 900;
}

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

.productMap {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    background:
        repeating-linear-gradient(18deg, rgba(224, 238, 168, 0.34) 0 3px, transparent 3px 18px),
        radial-gradient(circle at 32% 22%, rgba(135, 167, 82, 0.72), transparent 28%),
        #315838;
    border-radius: var(--radius);
}

.mapTools {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    display: flex;
    gap: 6px;
}

.mapTools span {
    padding: 7px 9px;
    color: #ffffff;
    background: rgba(16, 45, 28, 0.76);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.fieldShape {
    position: absolute;
    display: grid;
    gap: 5px;
    min-width: 150px;
    padding: 14px;
    color: #ffffff;
    border: 3px solid #ffffff;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
    clip-path: polygon(6% 12%, 95% 0, 100% 82%, 12% 100%);
}

.fieldShape b {
    font-size: 15px;
}

.fieldShape small {
    font-weight: 900;
}

.fieldNormal {
    top: 84px;
    left: 48px;
    background: rgba(47, 125, 79, 0.74);
}

.fieldWatch {
    top: 110px;
    right: 44px;
    background: rgba(184, 135, 43, 0.82);
}

.fieldRisk {
    bottom: 62px;
    left: 165px;
    background: rgba(182, 69, 60, 0.84);
}

.mapCoords {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 8px 10px;
    color: #ffffff;
    background: rgba(16, 45, 28, 0.76);
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 900;
}

.agentPreview {
    display: grid;
    gap: 10px;
    margin-top: 12px;
    padding: 16px;
    background: #edf7ef;
    border: 1px solid rgba(47, 125, 79, 0.18);
    border-radius: var(--radius);
}

.agentPreview span {
    padding: 11px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.agentPreview p {
    margin: 0;
    color: var(--green);
    font-weight: 800;
    line-height: 1.6;
}

.briefingSection,
.pricingSection,
.modulesSection,
.leadSection,
.uploadSection {
    padding: 54px 32px;
}

.sectionTitle {
    max-width: 820px;
    margin-bottom: 20px;
}

.sectionTitle h2,
.uploadSection h2,
.leadSection h2 {
    margin: 0;
    font-size: 38px;
    line-height: 1.18;
}

.briefingCards,
.pricingGrid,
.moduleGrid {
    display: grid;
    gap: 16px;
}

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

.pricingGrid,
.moduleGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.briefingCards article,
.pricingGrid article,
.moduleGrid article,
.uploadSection,
.leadSection {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.briefingCards article,
.pricingGrid article,
.moduleGrid article {
    padding: 20px;
}

.briefingCards span,
.pricingGrid span {
    color: var(--muted);
    font-weight: 800;
}

.briefingCards strong,
.pricingGrid strong {
    display: block;
    margin: 10px 0;
    font-size: 28px;
}

.briefingCards p,
.pricingGrid p,
.moduleGrid span,
.uploadSection p,
.leadSection p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.uploadSection,
.leadSection {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 22px;
    margin: 34px 32px;
}

.uploadBox,
.leadForm {
    display: grid;
    gap: 12px;
}

.uploadBox label,
.leadForm label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.uploadBox input,
.leadForm input,
.leadForm select {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    color: var(--ink);
    background: #f8faf6;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.uploadBox button,
.leadForm button {
    min-height: 48px;
    color: #ffffff;
    background: var(--green);
    border: 0;
    border-radius: var(--radius);
    font-weight: 900;
    cursor: pointer;
}

#uploadStatus,
.formStatus {
    min-height: 22px;
    color: var(--green);
    font-weight: 800;
}

.pricingGrid article {
    display: grid;
    align-content: start;
    gap: 12px;
}

.pricingGrid article.isFeatured {
    color: #ffffff;
    background: linear-gradient(180deg, #12321f, #1d5133);
}

.pricingGrid article.isFeatured span,
.pricingGrid article.isFeatured p {
    color: rgba(255, 255, 255, 0.78);
}

.pricingGrid ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 18px;
}

.moduleGrid b {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
}

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

.fullField {
    grid-column: 1 / -1;
}

.siteFooter {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 32px;
    color: rgba(255, 255, 255, 0.78);
    background: var(--deep);
}

.siteFooter a {
    color: var(--lime);
    font-weight: 900;
}

@media (max-width: 960px) {
    .siteHeader,
    .siteFooter {
        align-items: flex-start;
        flex-direction: column;
    }

    .heroSection,
    .uploadSection,
    .leadSection,
    .briefingCards,
    .pricingGrid,
    .moduleGrid {
        grid-template-columns: 1fr;
    }

    .heroCopy h1 {
        font-size: 42px;
    }

    .heroSection {
        min-height: auto;
        padding: 34px 18px;
    }

    .briefingSection,
    .pricingSection,
    .modulesSection {
        padding: 36px 18px;
    }

    .uploadSection,
    .leadSection {
        margin: 18px;
        padding: 22px;
    }

    .leadForm {
        grid-template-columns: 1fr;
    }

    .productMap {
        min-height: 310px;
    }
}
