:root {
    --navy: #0b1836;
    --blue: #1a3276;
    --gold: #e08e12;
    --gold-deep: #b86a08;
    --ink: #172033;
    --muted: #5d6b80;
    --line: #e4ddd0;
    --paper: #f7f4ee;
    --white: #ffffff;
    --shadow: 0 18px 40px rgba(11, 24, 54, 0.12);
    --header: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(720px, calc(100% - 40px)); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}
.header-bar {
    min-height: var(--header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: 0.04em; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { text-decoration: none; color: var(--ink); }
.site-nav a:hover { color: var(--blue); }
.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 999px;
    padding: 6px 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
}
.btn-sm { min-height: 36px; padding: 0 14px; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(180deg, #f0b33a, var(--gold-deep)); color: #1b1203; font-weight: 700; }
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.trial-card .btn-ghost { color: var(--blue); border-color: var(--line); }
.trial-card .btn-ghost:hover { background: var(--paper); }
.btn:disabled { opacity: 0.7; cursor: progress; }

.hero {
    background:
        radial-gradient(circle at 80% 10%, rgba(255,184,48,.22), transparent 28%),
        linear-gradient(160deg, #10224d 0%, var(--navy) 58%, #08101f 100%);
    color: var(--white);
    padding: 72px 0 64px;
}
.hero-grid, .trial-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { margin: 0 0 8px; color: var(--gold); letter-spacing: 0.14em; font-size: 13px; }
.hero h1, .section h2, .trial-card h3 { line-height: 1.25; margin: 0 0 12px; }
.hero h1 { font-size: clamp(32px, 4vw, 48px); }
.lead { color: #d5dced; font-size: 18px; }
.section .lead { color: var(--muted); }
.trial-section .lead { color: #d5dced; }
section[id] { scroll-margin-top: 84px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-board {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    padding: 18px;
    box-shadow: var(--shadow);
}
.board-top { background: #071226; border-radius: 14px; padding: 12px 16px; }
.board-top img { height: 54px; width: auto; }
.board-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.board-list li { display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,.05); border-radius: 12px; padding: 10px 12px; }
.board-list span { color: var(--gold); font-weight: 700; }

.section { padding: 72px 0; }
.section-alt { background: var(--paper); }
.section-head { max-width: 680px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); }
.card-grid { display: grid; gap: 16px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.five { grid-template-columns: repeat(5, 1fr); }
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
}
.section-alt .card { background: #fffdf9; }
.card h3 { margin: 0 0 8px; font-size: 20px; }
.card p { margin: 0 0 10px; color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card.slim h3 { font-size: 18px; }
.tag { margin: 0 0 6px; color: var(--gold-deep); font-size: 13px; letter-spacing: 0.08em; }

.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.flow li { background: var(--paper); border-radius: 16px; padding: 18px; }
.flow strong, .flow span { display: block; }
.flow span { color: var(--muted); margin-top: 6px; }
.stack-list { margin: 22px 0 0; padding-left: 18px; color: var(--muted); }
.check-list { padding-left: 18px; color: #d5dced; }
.trial-section { background: linear-gradient(180deg, #10224d, #0b1836); color: var(--white); }
.trial-section .eyebrow { color: #ffd27a; }
.trial-card { background: var(--white); color: var(--ink); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.trial-card label { display: block; margin: 12px 0 6px; font-size: 14px; }
.trial-card input, .trial-card select, .trial-card textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
}
.trial-card input:focus, .trial-card select:focus, .trial-card textarea:focus {
    outline: 2px solid rgba(26, 50, 118, .25);
    border-color: var(--blue);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.captcha-line { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.captcha-line input { order: 1; flex: 1; min-width: 96px; }
.captcha-line img { order: 2; height: 46px; width: auto; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.captcha-refresh { order: 3; border: 0; background: transparent; color: var(--blue); padding: 0; cursor: pointer; white-space: nowrap; }
.trial-card form .btn-block { margin-top: 22px; }
.field-error, .validation-summary { color: #a32626; font-size: 13px; }
.validation-summary ul { margin: 0 0 8px; padding-left: 18px; }
.success h3 { margin-top: 0; }
.hp {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-footer { background: #08101f; color: #c9d2e3; padding: 40px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 24px; }
.site-footer h2 { color: var(--white); font-size: 16px; margin: 0 0 8px; }
.site-footer a { display: block; color: #c9d2e3; text-decoration: none; margin: 6px 0; }
.brand-light { color: var(--white); margin-bottom: 8px; }
.footer-copy { margin-top: 24px; font-size: 13px; color: #8ea0bb; }
.trial-dock { display: none; }

@media (max-width: 980px) {
    .card-grid.four, .card-grid.five, .flow { grid-template-columns: 1fr 1fr; }
    .card-grid.three, .hero-grid, .trial-grid, .footer-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 48px; }
}
@media (max-width: 720px) {
    .wrap { width: min(1120px, calc(100% - 28px)); }
    .nav-toggle { display: inline-flex; }
    .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: var(--header);
        background: var(--white);
        border-bottom: 1px solid var(--line);
        padding: 12px 20px 16px;
        flex-direction: column;
        align-items: stretch;
    }
    body.nav-open .site-nav { display: flex; }
    .site-nav .btn { width: 100%; }
    .card-grid.four, .card-grid.five, .flow, .form-row { grid-template-columns: 1fr; }
    .section { padding: 52px 0; }
    .trial-dock {
        display: inline-flex;
        position: fixed;
        right: 16px;
        bottom: 16px;
        z-index: 30;
        background: var(--gold);
        color: #1b1203;
        text-decoration: none;
        font-weight: 700;
        border-radius: 999px;
        padding: 12px 16px;
        box-shadow: var(--shadow);
    }
    body.nav-open .trial-dock { display: none; }
}
