:root {
    --bg: #f6f1e8;
    --bg-deep: #ece4d7;
    --surface: rgba(255, 253, 250, 0.92);
    --surface-strong: #efe5d5;
    --surface-soft: #fbf7f0;
    --ink: #102131;
    --ink-soft: #556474;
    --ink-faint: #7a8793;
    --line: rgba(16, 33, 49, 0.1);
    --brand: #f16a2d;
    --brand-deep: #cb5215;
    --brand-soft: #ffe5d7;
    --accent: #dbe7ef;
    --accent-deep: #bed2df;
    --dark: #102131;
    --dark-soft: #17324a;
    --dark-card: #162a3c;
    --white: #ffffff;
    --shadow: 0 28px 80px rgba(16, 33, 49, 0.08);
    --shadow-soft: 0 16px 36px rgba(16, 33, 49, 0.06);
    --radius: 28px;
    --radius-sm: 18px;
    --container: min(1200px, calc(100vw - 40px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
    background:
        radial-gradient(circle at top right, rgba(241, 106, 45, 0.06), transparent 28%),
        radial-gradient(circle at left 80%, rgba(16, 33, 49, 0.05), transparent 34%),
        linear-gradient(180deg, #fbf8f1 0%, #f3ede5 100%);
    color: var(--ink);
    line-height: 1.68;
}

body.is-ready .hero-title,
body.is-ready .hero-text,
body.is-ready .hero-actions,
body.is-ready .hero-badges,
body.is-ready .hero-stats,
body.is-ready .hero-media,
body.is-ready .banner-grid > div:first-child,
body.is-ready .banner-media {
    animation: fadeRise .78s ease both;
}

body.is-ready .hero-text,
body.is-ready .hero-actions,
body.is-ready .banner-grid > div:first-child p {
    animation-delay: .08s;
}

body.is-ready .hero-badges,
body.is-ready .hero-stats,
body.is-ready .hero-media,
body.is-ready .banner-media {
    animation-delay: .16s;
}

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

img {
    display: block;
    max-width: 100%;
}

main {
    position: relative;
    overflow: clip;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(20px);
    background: rgba(251, 248, 241, 0.78);
    border-bottom: 1px solid rgba(16, 33, 49, 0.08);
}

.header-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 82px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-mark strong {
    display: block;
    font-size: 1rem;
}

.brand-mark small {
    color: var(--ink-soft);
}

.brand-mark__logo {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--dark) 0%, #203c55 100%);
    color: var(--brand);
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.main-nav__link {
    position: relative;
    color: var(--ink-soft);
    font-size: 0.96rem;
    transition: color .2s ease;
}

.main-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 2px;
    border-radius: 99px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.main-nav__link:hover,
.main-nav__link.is-active {
    color: var(--ink);
}

.main-nav__link:hover::after,
.main-nav__link.is-active::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--ink);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 600;
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    background: var(--brand);
    color: var(--white);
    box-shadow: 0 14px 30px rgba(241, 106, 45, 0.22);
}

.button--primary:hover {
    background: var(--brand-deep);
}

.button--secondary {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.68);
}

.button--compact {
    min-height: 42px;
    padding: 0 18px;
    font-size: 0.94rem;
}

.hero-section,
.page-banner {
    padding: 78px 0 46px;
}

.hero-grid,
.banner-grid,
.split-panel,
.cta-shell {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 30px;
}

.hero-title,
.page-banner h1,
.section-heading h2,
.hero-panel h2,
.cta-shell h2 {
    margin: 0;
    line-height: 1.18;
    letter-spacing: -0.025em;
    font-weight: 700;
}

.hero-title {
    font-size: clamp(2rem, 3.5vw, 3.3rem);
    max-width: 13ch;
}

.page-banner h1,
.section-heading h2,
.cta-shell h2 {
    font-size: clamp(1.45rem, 2.2vw, 2.2rem);
}

.hero-text,
.section-copy {
    margin: 18px 0 0;
    max-width: 62ch;
    color: var(--ink-soft);
    font-size: 1rem;
}

.section-copy--light {
    color: rgba(255, 255, 255, 0.76);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--brand);
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-actions,
.form-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-actions--center {
    justify-content: center;
}

.hero-badges,
.banner-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-badges span,
.banner-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(16, 33, 49, 0.08);
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 36px;
}

.stat-card,
.info-card,
.hero-panel,
.product-card,
.solution-card,
.mini-card,
.faq-card,
.timeline-card,
.resource-group,
.cta-form,
.table-shell,
.quote-card,
.art-card {
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.stat-card {
    padding: 20px;
    background: rgba(255, 253, 250, 0.9);
}

.stat-card strong {
    display: block;
    font-size: 1.84rem;
    letter-spacing: -0.04em;
}

.stat-card span {
    color: var(--ink-soft);
    font-size: 0.94rem;
}

.hero-panel,
.cta-form,
.resource-group,
.table-shell,
.quote-card,
.art-card {
    padding: 28px;
}

.hero-panel {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(241, 106, 45, 0.1), transparent 32%),
        linear-gradient(180deg, rgba(255, 253, 250, 0.98), rgba(247, 240, 231, 0.98));
}

.hero-panel__badge,
.chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--ink);
    font-size: 0.84rem;
}

.hero-media,
.banner-media {
    position: relative;
}

.hero-media__image,
.banner-media__image,
.section-art__image {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform .45s ease, box-shadow .45s ease;
}

.hero-spotlight {
    position: absolute;
    right: 26px;
    bottom: 24px;
    width: min(320px, 82%);
    padding: 18px 20px;
    border-radius: 24px;
    background: rgba(16, 33, 49, 0.9);
    color: var(--white);
    box-shadow: 0 18px 40px rgba(16, 33, 49, 0.26);
    animation: floatSoft 6s ease-in-out infinite;
}

.hero-spotlight h3,
.metric-card h3,
.mini-card h3,
.faq-card h3,
.product-card h3,
.solution-card h3,
.quote-card h3 {
    margin: 0;
}

.hero-spotlight p,
.metric-card p,
.mini-card p,
.faq-card p,
.product-card p,
.solution-card p,
.quote-card p {
    margin: 10px 0 0;
}

.info-stack,
.faq-list,
.resource-groups {
    display: grid;
    gap: 16px;
}

.info-card,
.product-card,
.solution-card,
.mini-card,
.faq-card,
.timeline-card {
    padding: 26px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.info-card,
.mini-card,
.faq-card {
    box-shadow: var(--shadow-soft);
}

.info-card:hover,
.product-card:hover,
.solution-card:hover,
.mini-card:hover,
.faq-card:hover,
.timeline-card:hover,
.pricing-card:hover,
.metric-card:hover,
.quote-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 52px rgba(16, 33, 49, 0.12);
    border-color: rgba(241, 106, 45, 0.18);
}

.section {
    padding: 44px 0;
}

.section--accent {
    background:
        linear-gradient(180deg, rgba(220, 231, 239, 0.48), rgba(220, 231, 239, 0.16));
}

.section--dark {
    background:
        radial-gradient(circle at top left, rgba(241, 106, 45, 0.12), transparent 24%),
        linear-gradient(145deg, var(--dark) 0%, var(--dark-soft) 100%);
    color: var(--white);
}

.section-heading {
    max-width: 680px;
    margin-bottom: 22px;
}

.section-heading--tight {
    margin-bottom: 14px;
}

.section-kicker {
    max-width: 640px;
    color: var(--ink-soft);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

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

.mini-grid,
.timeline-grid,
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

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

.metric-card {
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(16, 33, 49, 0.08);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

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

.pricing-card {
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(16, 33, 49, 0.1);
    box-shadow: var(--shadow-soft);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.pricing-card h3,
.pricing-card p {
    margin: 0;
}

.pricing-card__price {
    margin-top: 12px;
    font-size: 2rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.pricing-card__unit {
    margin-top: 6px;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.pricing-card__note {
    margin-top: 14px;
    color: var(--ink-soft);
}

.metric-card strong {
    display: block;
    font-size: 2rem;
    letter-spacing: -0.04em;
}

.art-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(251, 247, 240, 0.88));
}

.hero-media:hover .hero-media__image,
.banner-media:hover .banner-media__image,
.section-art:hover .section-art__image {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 32px 90px rgba(16, 33, 49, 0.14);
}

.section-art {
    display: grid;
    gap: 18px;
}

.section-art__caption {
    display: grid;
    gap: 10px;
}

.section-art__caption p {
    margin: 0;
    color: var(--ink-soft);
}

.bullet-list {
    padding-left: 18px;
    margin: 18px 0 0;
    color: var(--ink-soft);
}

.bullet-list--compact {
    margin-top: 14px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.tag-list span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(16, 33, 49, 0.06);
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.text-link,
.mini-card a,
.resource-group a,
.quote-card a {
    display: inline-block;
    margin-top: 18px;
    color: var(--brand-deep);
    font-weight: 600;
}

.table-shell {
    overflow-x: auto;
}

.matrix-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}

.matrix-table th,
.matrix-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.matrix-table th {
    color: var(--ink-soft);
    font-weight: 600;
}

.timeline-list {
    margin: 18px 0 0;
    padding-left: 18px;
}

.quote-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 240, 231, 0.96));
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.quote-card::before {
    content: "“";
    position: absolute;
    top: -20px;
    right: 24px;
    color: rgba(241, 106, 45, 0.15);
    font-size: 8rem;
    line-height: 1;
    font-weight: 700;
}

.quote-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    color: var(--ink-faint);
    font-size: 0.92rem;
}

.lead-form label {
    display: block;
}

.lead-form span {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.92rem;
    color: var(--ink-soft);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-grid__full {
    grid-column: 1 / -1;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(16, 33, 49, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    font: inherit;
}

.lead-form textarea {
    resize: vertical;
}

.form-tip,
.helper-text,
.form-status {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
}

.helper-text--dark {
    color: var(--ink-soft);
}

.form-status.is-error {
    color: #ffd0bd;
}

.form-status.is-success {
    color: #b8f7d0;
}

.resource-group + .resource-group {
    margin-top: 16px;
}

.page-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 33, 49, 0.12), transparent);
    margin: 20px 0 0;
}

.footer-grid,
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.site-footer {
    padding: 34px 0 24px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.55);
}

.footer-title {
    margin: 0 0 10px;
    font-weight: 700;
}

.footer-text {
    margin: 0 0 8px;
    color: var(--ink-soft);
}

.footer-bottom {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.page-banner--center {
    text-align: center;
    min-height: 58vh;
    display: grid;
    align-items: center;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s ease;
    transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal="left"] {
    transform: translateX(-28px);
}

[data-reveal="right"] {
    transform: translateX(28px);
}

[data-reveal="scale"] {
    transform: translateY(18px) scale(.96);
}

[data-reveal="left"].is-visible,
[data-reveal="right"].is-visible,
[data-reveal="scale"].is-visible {
    transform: translateX(0) translateY(0) scale(1);
}

@keyframes fadeRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatSoft {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .banner-grid,
    .split-panel,
    .cta-shell,
    .card-grid,
    .card-grid--products,
    .mini-grid,
    .timeline-grid,
    .metrics-grid,
    .pricing-grid,
    .hero-stats,
    .footer-grid,
    .footer-bottom {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 8px);
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border-radius: 24px;
        background: rgba(255, 253, 250, 0.98);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav__link::after {
        bottom: -6px;
    }

    .nav-toggle {
        display: block;
    }
}

@media (max-width: 760px) {
    :root {
        --container: min(100vw - 28px, 1180px);
        --radius: 22px;
    }

    .header-shell {
        min-height: 72px;
    }

    .hero-section,
    .page-banner {
        padding: 50px 0 28px;
    }

    .section {
        padding: 28px 0;
    }

    .hero-title {
        max-width: none;
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-banner h1,
    .section-heading h2,
    .cta-shell h2 {
        font-size: clamp(1.3rem, 5.8vw, 1.9rem);
    }

    .hero-panel,
    .cta-form,
    .resource-group,
    .table-shell,
    .quote-card,
    .art-card,
    .info-card,
    .product-card,
    .solution-card,
    .mini-card,
    .faq-card,
    .timeline-card {
        padding: 20px;
    }

    .hero-spotlight {
        position: static;
        width: 100%;
        margin-top: 16px;
    }

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

    .button,
    .button--compact {
        width: 100%;
    }

    .hero-actions,
    .form-actions {
        align-items: stretch;
    }
}
