/* ============================================
   农土地 - 首页
   清新简洁：纯文字品牌、留白、细线条
   ============================================ */

:root {
    --h-ink: #1d3a3a;
    --h-muted: #64807f;
    --h-faint: #93a8a5;
    --h-line: #e2ece6;
    --h-accent: #0d8ba1;
    --h-accent-dark: #0a7186;
    --h-bg: #f8fbf9;
    --h-card: #ffffff;
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

.home-body {
    margin: 0;
    min-height: 100%;
    background: var(--h-bg);
    color: var(--h-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ========== 顶部导航 ========== */
.hnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: background-color .25s, border-color .25s, box-shadow .25s;
    border-bottom: 1px solid transparent;
}
.hnav.scrolled {
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom-color: var(--h-line);
}
.hnav-inner {
    max-width: 1120px;
    margin: 0 auto;
    height: 64px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 32px;
}
.hnav-brand {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--h-ink);
    white-space: nowrap;
}
.hnav-brand span {
    font-size: 11.5px;
    font-weight: 400;
    color: var(--h-faint);
    letter-spacing: .04em;
}
.hnav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}
.hnav-links a {
    position: relative;
    padding: 6px 0;
    font-size: 13.5px;
    color: var(--h-muted);
    transition: color .2s;
}
.hnav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.5px;
    background: var(--h-accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .28s ease;
}
.hnav-links a:hover { color: var(--h-ink); }
.hnav-links a:hover::after,
.hnav-links a.is-active::after { transform: scaleX(1); }
.hnav-links a.is-active { color: var(--h-ink); }
.hnav-login {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 18px;
    border: 1px solid var(--h-line);
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--h-ink);
    background: #fff;
    transition: all .2s;
}
.hnav-login:hover {
    border-color: var(--h-accent);
    color: var(--h-accent);
}

/* ========== 首屏 ========== */
.hero {
    padding: 136px 24px 80px;
    background:
        radial-gradient(820px 420px at 12% -8%, rgba(13, 139, 161, .10), transparent 62%),
        radial-gradient(680px 420px at 92% 8%, rgba(63, 174, 143, .12), transparent 62%),
        var(--h-bg);
}
.hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    gap: 72px;
}
.hero-eyebrow {
    margin: 0 0 18px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .18em;
    color: var(--h-accent);
}
.hero-title {
    margin: 0;
    font-size: clamp(30px, 3.6vw, 42px);
    line-height: 1.24;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--h-ink);
}
.hero-sub {
    margin: 22px 0 0;
    max-width: 470px;
    font-size: 15px;
    line-height: 1.9;
    color: var(--h-muted);
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}
.btn-solid,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 24px;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 600;
    transition: all .2s;
}
.btn-solid {
    background: var(--h-accent);
    color: #fff;
    box-shadow: 0 8px 20px rgba(13, 139, 161, .18);
}
.btn-solid:hover {
    background: var(--h-accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(13, 139, 161, .24);
}
.btn-ghost {
    border: 1px solid var(--h-line);
    color: var(--h-ink);
    background: #fff;
}
.btn-ghost:hover {
    border-color: var(--h-accent);
    color: var(--h-accent);
}
.hero-tip {
    margin: 18px 0 0;
    font-size: 12.5px;
    color: var(--h-faint);
}

/* 账单样例 */
.hero-bill {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    padding: 22px 24px 0;
    background: var(--h-card);
    border: 1px solid var(--h-line);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(19, 74, 70, .10), 0 2px 6px rgba(19, 74, 70, .04);
}
.hb-head { display: flex; flex-direction: column; }
.hb-brand {
    font-size: 10.5px;
    letter-spacing: .12em;
    color: var(--h-accent);
    font-weight: 600;
}
.hb-subject {
    margin-top: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--h-ink);
}
.hb-name {
    margin-top: 4px;
    font-size: 12.5px;
    color: var(--h-muted);
}
.hb-rows { margin-top: 16px; border-top: 1px solid var(--h-line); }
.hb-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px dashed #e8f0eb;
}
.hb-row > span { font-size: 12.5px; color: var(--h-muted); }
.hb-row b { font-size: 15.5px; font-weight: 600; color: var(--h-ink); }
.hb-row b i {
    margin-left: 4px;
    font-style: normal;
    font-size: 11.5px;
    font-weight: 400;
    color: var(--h-faint);
}
.hb-row.is-total { border-bottom: 0; padding-bottom: 15px; }
.hb-row.is-total b { font-size: 19px; color: var(--h-accent); }
.hb-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid var(--h-line);
    font-size: 11px;
    color: var(--h-faint);
}
.hb-foot b {
    font-family: ui-monospace, Menlo, monospace;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: .04em;
    color: var(--h-muted);
}

/* ========== 通用区块 ========== */
.sec {
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px 24px 76px;
    scroll-margin-top: 84px;
}
.sec-head { max-width: 560px; margin-bottom: 38px; }
.sec-eyebrow {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    color: var(--h-accent);
}
.sec-title {
    margin: 0;
    font-size: clamp(23px, 2.2vw, 28px);
    line-height: 1.35;
    font-weight: 700;
    color: var(--h-ink);
}
.sec-desc {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.8;
    color: var(--h-muted);
}

/* 功能卡片 */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.feat {
    padding: 26px 26px 24px;
    background: var(--h-card);
    border: 1px solid var(--h-line);
    border-radius: 12px;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.feat:hover {
    border-color: #cfe3da;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(19, 74, 70, .06);
}
.feat-no {
    display: block;
    margin-bottom: 14px;
    font-family: ui-monospace, Menlo, monospace;
    font-size: 11px;
    letter-spacing: .1em;
    color: var(--h-accent);
}
.feat h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
}
.feat p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--h-muted);
}

/* 流程 */
.flow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.flow-step {
    padding: 24px;
    border-left: 2px solid var(--h-line);
    transition: border-color .2s;
}
.flow-step:hover { border-left-color: var(--h-accent); }
.flow-no {
    display: block;
    margin-bottom: 14px;
    font-family: ui-monospace, Menlo, monospace;
    font-size: 11px;
    letter-spacing: .1em;
    color: var(--h-faint);
}
.flow-step h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
}
.flow-step p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--h-muted);
}

/* 公开账单 */
.bill-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 40px;
    background: linear-gradient(135deg, #eef8f2 0%, #f6fbf7 100%);
    border: 1px solid #e0ede6;
    border-radius: 16px;
}
.bill-band .sec-head { margin-bottom: 0; }
.bill-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-content: center;
}
.bill-points b {
    display: block;
    margin-bottom: 5px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--h-ink);
}
.bill-points span {
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--h-muted);
}

/* 行动区 */
.cta-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px 84px;
}
.cta {
    padding: 52px 24px;
    text-align: center;
    border-top: 1px solid var(--h-line);
    border-bottom: 1px solid var(--h-line);
}
.cta h2 {
    margin: 0;
    font-size: 25px;
    font-weight: 700;
    color: var(--h-ink);
}
.cta p {
    margin: 10px 0 26px;
    font-size: 14px;
    color: var(--h-muted);
}

/* ========== 页脚 ========== */
.home-footer {
    padding: 30px 24px 34px;
    border-top: 1px solid var(--h-line);
    background: #f5faf7;
}
.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-brand {
    font-size: 15px;
    font-weight: 700;
    color: var(--h-ink);
}
.footer-slogan {
    margin-left: 10px;
    font-size: 12px;
    color: var(--h-faint);
}
.footer-right { text-align: right; }
.footer-icp {
    font-size: 11.5px;
    color: var(--h-faint);
    line-height: 1.8;
}
.footer-icp a { color: var(--h-faint); }
.footer-icp a:hover { color: var(--h-accent); }
.footer-copyright {
    margin-top: 2px;
    font-size: 11.5px;
    color: var(--h-faint);
}

/* ========== 进入动画 ========== */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .55s ease, transform .55s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .feat:hover, .btn-solid:hover { transform: none; }
}

/* ========== 响应式 ========== */
@media (max-width: 980px) {
    .hnav-links { display: none; }
    .hnav-inner { justify-content: space-between; }
    .hero { padding: 118px 22px 64px; }
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 44px;
    }
    .hero-bill { margin: 0 auto; }
    .bill-band {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px 26px;
    }
}

@media (max-width: 640px) {
    .hnav-brand span { display: none; }
    .hnav-inner { height: 58px; padding: 0 18px; }
    .hero { padding: 104px 18px 52px; }
    .hero-title { font-size: 28px; }
    .hero-sub { font-size: 14px; margin-top: 18px; }
    .hero-actions { margin-top: 26px; }
    .btn-solid, .btn-ghost { height: 44px; padding: 0 20px; font-size: 14px; }
    .hero-bill { padding: 20px 20px 0; }
    .hb-subject { font-size: 18px; }

    .sec { padding: 16px 18px 56px; }
    .sec-head { margin-bottom: 28px; }
    .feat-grid { grid-template-columns: 1fr; }
    .feat { padding: 22px; }
    .flow-grid { grid-template-columns: 1fr; gap: 0; }
    .flow-step { padding: 18px 20px; border-left-width: 2px; }
    .bill-band { padding: 26px 20px; }
    .bill-points { grid-template-columns: 1fr; gap: 18px; }
    .cta-wrap { padding: 0 18px 60px; }
    .cta { padding: 40px 18px; }
    .cta h2 { font-size: 21px; }

    .home-footer { padding: 24px 18px 28px; }
    .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
    .footer-right { text-align: left; }
}
