:root {
    --bg: #f7f8fb;
    --surface: #ffffff;
    --surface-strong: #111827;
    --text: #162033;
    --muted: #667085;
    --line: #e5e7eb;
    --primary: #f05a28;
    --primary-dark: #c83f16;
    --accent: #0f766e;
    --accent-soft: #d9f7f2;
    --blue: #1d4ed8;
    --shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
}

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

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

input,
textarea,
button {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.narrow {
    width: min(860px, calc(100% - 32px));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    backdrop-filter: blur(16px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--blue));
    box-shadow: 0 10px 22px rgba(240, 90, 40, 0.26);
}

.brand-text {
    font-size: 19px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 9px 12px;
    border-radius: var(--radius);
    color: #334155;
    font-size: 15px;
}

.nav-link:hover,
.nav-link.active,
.nav-link.is-active {
    color: var(--primary);
    background: rgba(240, 90, 40, 0.08);
}

.header-cta {
    padding: 10px 16px;
    border-radius: var(--radius);
    color: #fff;
    background: var(--surface-strong);
    font-weight: 700;
    white-space: nowrap;
}

.hero,
.page-hero,
.login-page {
    position: relative;
    overflow: hidden;
    padding: 88px 0;
}

.hero::before,
.page-hero::before,
.login-page::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 12% 18%, rgba(240, 90, 40, 0.18), transparent 28%),
        radial-gradient(circle at 80% 12%, rgba(15, 118, 110, 0.16), transparent 25%),
        linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}

.hero-grid,
.page-hero-grid,
.login-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    align-items: center;
    gap: 54px;
}

.hero-copy h1,
.page-hero h1,
.login-intro h1 {
    margin: 12px 0 18px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.hero-copy p,
.page-hero p,
.login-intro p {
    margin: 0;
    max-width: 620px;
    color: var(--muted);
    font-size: 18px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 0;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.btn-primary {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 12px 24px rgba(240, 90, 40, 0.24);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    color: var(--surface-strong);
    background: #fff;
    border: 1px solid var(--line);
}

.btn-light {
    color: var(--surface-strong);
    background: #fff;
}

.btn.full {
    width: 100%;
}

.hero-media,
.split-media,
.page-hero-grid > img,
.login-intro img {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-media img,
.split-media img,
.page-hero-grid > img,
.login-intro img {
    width: 100%;
    min-height: 380px;
    object-fit: cover;
}

.hero-badge {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: grid;
    gap: 2px;
    padding: 14px 16px;
    color: #fff;
    background: rgba(17, 24, 39, 0.82);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}

.hero-badge strong {
    font-size: 24px;
    line-height: 1;
}

.metric-strip {
    margin-top: -34px;
    position: relative;
    z-index: 2;
}

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

.metric-card {
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.metric-card strong {
    display: block;
    color: var(--surface-strong);
    font-size: 32px;
    line-height: 1.1;
}

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

.section {
    padding: 86px 0;
}

.section-soft {
    background: #eef3f8;
}

.section-head {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-head h2 {
    margin: 10px 0 12px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.row-head {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.feature-grid,
.article-grid,
.app-screen-grid,
.team-grid,
.package-grid,
.process-grid,
.benefit-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card,
.article-card,
.screen-card,
.team-card,
.package-card,
.process-card,
.topic-card,
.faq-item,
.contact-box,
.auth-panel,
.story-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.feature-card,
.package-card,
.process-card,
.topic-card,
.faq-item,
.contact-box,
.auth-panel,
.story-card {
    padding: 26px;
}

.feature-card h3,
.category-card h3,
.service-card h3,
.article-card h3,
.news-item h3,
.screen-card h3,
.team-card h3,
.package-card h3,
.process-card h3,
.topic-card h3,
.faq-item h3 {
    margin: 0 0 10px;
    color: var(--surface-strong);
    font-size: 21px;
    line-height: 1.25;
}

.feature-card p,
.category-card p,
.service-card p,
.article-card p,
.news-item p,
.screen-card p,
.team-card p,
.package-card p,
.process-card p,
.topic-card p,
.faq-item p {
    margin: 0;
    color: var(--muted);
}

.card-index {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 5px 9px;
    border-radius: 99px;
    color: var(--accent);
    background: var(--accent-soft);
    font-size: 13px;
    font-weight: 800;
}

.category-grid,
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.category-card,
.service-card {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 20px;
    align-items: center;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.category-card img,
.service-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: var(--radius);
}

.split-panel {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
    gap: 46px;
    align-items: center;
}

.split-panel.reverse {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
}

.split-copy h2,
.story-card h2,
.contact-box h2,
.newsletter-box h2 {
    margin: 10px 0 14px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.16;
    letter-spacing: -0.04em;
}

.split-copy p,
.story-text p,
.contact-box p,
.newsletter-box p {
    color: var(--muted);
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 26px 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    color: #334155;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 900;
}

.article-card {
    overflow: hidden;
}

.article-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.article-card div {
    padding: 20px;
}

.article-card span,
.news-date {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

.text-link {
    color: var(--primary);
    font-weight: 800;
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 28px 0 86px;
    padding: 34px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(240, 90, 40, 0.95), rgba(29, 78, 216, 0.95)),
        var(--surface-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.cta-band h2 {
    margin: 10px 0 8px;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.16;
}

.cta-band p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
}

.cta-band .eyebrow {
    color: #fff;
}

.phone-preview {
    width: min(420px, 100%);
    margin: 0 auto;
    padding: 18px;
    background: #111827;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.phone-preview img {
    width: 100%;
    border-radius: 18px;
}

.screen-card {
    padding: 18px;
}

.screen-card img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 18px;
}

.step-list {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.step-item {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 16px;
    align-items: start;
}

.step-item > span,
.process-card > span {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--surface-strong);
    border-radius: var(--radius);
    font-weight: 900;
}

.step-item h3 {
    margin: 0 0 4px;
}

.step-item p {
    margin: 0;
    color: var(--muted);
}

.section-faq {
    padding-top: 40px;
}

.faq-item + .faq-item {
    margin-top: 14px;
}

.story-text p {
    margin-top: 0;
    font-size: 17px;
}

.timeline {
    max-width: 920px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.timeline-item strong {
    color: var(--primary);
    font-size: 28px;
}

.timeline-item h3 {
    margin: 0 0 8px;
}

.timeline-item p {
    margin: 0;
    color: var(--muted);
}

.team-card {
    overflow: hidden;
}

.team-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.team-card h3,
.team-card p {
    padding-left: 22px;
    padding-right: 22px;
}

.team-card h3 {
    padding-top: 22px;
}

.team-card p {
    padding-bottom: 22px;
}

.process-card {
    position: relative;
}

.process-card h3 {
    margin-top: 18px;
}

.package-card strong {
    display: block;
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 18px;
}

.section-contact {
    padding-top: 30px;
}

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

.contact-form label,
.auth-form label {
    display: grid;
    gap: 8px;
    color: #334155;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.auth-form input,
.newsletter-form input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px 14px;
    color: var(--text);
    background: #fff;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.auth-form input:focus,
.newsletter-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(240, 90, 40, 0.12);
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.article-list {
    display: grid;
    gap: 22px;
}

.news-item {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.news-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius);
}

.pagination-wrap {
    margin-top: 30px;
}

.newsletter-box {
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 28px;
    align-items: center;
    padding: 34px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

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

.login-grid {
    align-items: stretch;
}

.login-intro img {
    margin-top: 28px;
    min-height: 300px;
}

.auth-panel {
    align-self: center;
    padding: 30px;
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.auth-tabs span {
    padding: 12px;
    text-align: center;
    font-weight: 800;
}

.auth-tabs span:first-child {
    color: #fff;
    background: var(--surface-strong);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: end;
}

.auth-extra {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--primary);
    font-weight: 800;
}

.auth-extra button {
    padding: 0;
    border: 0;
    color: var(--primary);
    background: transparent;
    cursor: pointer;
    font-weight: 800;
}

.agreement {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.article-detail {
    padding: 76px 0 0;
    background: #fff;
}

.back-link {
    display: inline-flex;
    margin-bottom: 24px;
    color: var(--primary);
    font-weight: 800;
}

.article-header h1 {
    margin: 12px 0 18px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.article-header p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 14px;
}

.article-cover {
    width: 100%;
    max-height: 460px;
    margin: 34px 0;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.keyword-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.keyword-list span {
    padding: 6px 10px;
    border-radius: 99px;
    color: var(--accent);
    background: var(--accent-soft);
    font-weight: 700;
    font-size: 13px;
}

.article-body {
    color: #243044;
    font-size: 18px;
}

.article-body h2,
.article-body h3 {
    color: var(--surface-strong);
    line-height: 1.25;
}

.article-body img {
    border-radius: var(--radius);
    margin: 24px 0;
}

.post-nav {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin: 42px 0 70px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.post-nav a {
    color: var(--primary);
    font-weight: 800;
}

.site-footer {
    color: #d1d5db;
    background: #0b1220;
    padding: 58px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
    gap: 34px;
}

.footer-logo {
    color: #fff;
}

.footer-brand p,
.footer-col p {
    color: #9ca3af;
}

.footer-contact {
    display: grid;
    gap: 4px;
    color: #fff;
}

.footer-col {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer-col h3 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 17px;
}

.footer-col a {
    color: #9ca3af;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;
}

.footer-backlinks {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 960px) {
    .header-inner {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .site-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .hero-grid,
    .page-hero-grid,
    .login-grid,
    .split-panel,
    .split-panel.reverse,
    .newsletter-box {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .article-grid,
    .app-screen-grid,
    .team-grid,
    .package-grid,
    .process-grid,
    .benefit-row,
    .topic-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

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

    .news-item {
        grid-template-columns: 1fr;
    }

    .news-item img {
        height: 240px;
    }
}

@media (max-width: 640px) {
    .container,
    .narrow {
        width: min(100% - 24px, 1180px);
    }

    .header-cta {
        display: none;
    }

    .hero,
    .page-hero,
    .login-page {
        padding: 58px 0;
    }

    .metric-grid,
    .feature-grid,
    .article-grid,
    .app-screen-grid,
    .team-grid,
    .package-grid,
    .process-grid,
    .benefit-row,
    .topic-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 58px 0;
    }

    .row-head,
    .cta-band,
    .footer-bottom {
        display: grid;
        align-items: start;
    }

    .category-card,
    .service-card {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

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

    .post-nav {
        display: grid;
    }

    .hero-media img,
    .split-media img,
    .page-hero-grid > img,
    .login-intro img {
        min-height: 260px;
    }
}
