:root {
    --brand: #d85d45;
    --brand-dark: #a93f2d;
    --ink: #1f2527;
    --ink-soft: #536066;
    --muted: #7a858b;
    --paper: #fffaf5;
    --surface: #ffffff;
    --surface-warm: #f7efe6;
    --line: #eadfd3;
    --gold: #b9874d;
    --blue-gray: #516b78;
    --shadow: 0 18px 48px rgba(46, 35, 28, 0.10);
    --shadow-soft: 0 10px 26px rgba(46, 35, 28, 0.08);
    --radius: 8px;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
}

body {
    margin: 0;
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    overflow-x: hidden;
}

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

a {
    color: inherit;
}

:focus-visible {
    outline: 3px solid rgba(216, 93, 69, 0.38);
    outline-offset: 4px;
}

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

.site-header {
    position: fixed;
    top: 16px;
    left: 50%;
    z-index: 20;
    width: min(1120px, calc(100% - 32px));
    min-height: 68px;
    padding: 10px 12px 10px 18px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    background: rgba(255, 250, 245, 0.92);
    border: 1px solid rgba(234, 223, 211, 0.95);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
    transform: translateX(-50%);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    min-width: 0;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(216, 93, 69, 0.26);
    flex: 0 0 auto;
    overflow: hidden;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn svg,
.header-cta svg,
.hero-notes svg,
.activity-meta svg,
.feature-card svg,
.trust-card svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
}

.brand strong,
.brand em {
    display: block;
    line-height: 1.1;
}

.brand strong {
    font-size: 18px;
    font-weight: 800;
}

.brand em {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    font-style: normal;
    letter-spacing: 0;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.site-nav a {
    padding: 9px 12px;
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius);
    transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover {
    color: var(--brand-dark);
    background: rgba(216, 93, 69, 0.08);
}

.site-nav a[aria-current="page"] {
    color: var(--brand-dark);
    background: rgba(216, 93, 69, 0.12);
}

.header-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 11px 16px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-cta,
.btn-primary {
    color: #fff;
    background: var(--brand);
    box-shadow: 0 12px 26px rgba(216, 93, 69, 0.22);
}

.btn-secondary {
    color: var(--ink);
    background: var(--surface);
    border-color: var(--line);
}

.btn-ghost {
    color: var(--brand-dark);
    background: rgba(216, 93, 69, 0.08);
    border-color: rgba(216, 93, 69, 0.18);
}

.header-cta:hover,
.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.section {
    padding: 96px 0;
}

.section-band {
    background:
        linear-gradient(180deg, rgba(255, 250, 245, 0.96), rgba(247, 239, 230, 0.82)),
        repeating-linear-gradient(135deg, rgba(185, 135, 77, 0.08) 0 1px, transparent 1px 18px);
}

.hero {
    min-height: 100vh;
    padding: 132px 0 76px;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
    gap: 72px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--brand-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 720px;
    margin-bottom: 22px;
    font-size: clamp(42px, 6vw, 74px);
    line-height: 1.08;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.16;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.35;
}

.hero-lede,
.section-heading p {
    color: var(--ink-soft);
    font-size: 17px;
}

.hero-lede {
    max-width: 650px;
    margin-bottom: 28px;
}

.hero-actions,
.download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

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

.hero-notes span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    color: var(--blue-gray);
    font-size: 13px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.hero-visual {
    min-height: 570px;
    position: relative;
    isolation: isolate;
}

.phone {
    width: 238px;
    aspect-ratio: 9 / 16;
    padding: 0;
    background: var(--surface);
    border: 1px solid rgba(234, 223, 211, 0.92);
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(74, 32, 24, 0.16);
    overflow: hidden;
}

.phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.phone-main {
    position: absolute;
    right: 136px;
    top: 0;
    width: 296px;
    z-index: 2;
    transform: rotate(-2deg);
}

.phone-side {
    position: absolute;
    right: 0;
    top: 108px;
    width: 246px;
    z-index: 1;
    opacity: 0.98;
    transform: rotate(3deg);
}

.quality-panel {
    position: absolute;
    left: 0;
    bottom: 6px;
    z-index: 3;
    width: min(260px, 54%);
    padding: 16px 18px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
}

.quality-panel span {
    display: block;
    margin-bottom: 4px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
}

.quality-panel strong {
    font-size: 19px;
    line-height: 1.25;
}

.section-heading {
    max-width: 780px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading.align-left {
    margin: 0;
    text-align: left;
}

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

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

.feature-card,
.trust-card,
.activity-card {
    min-width: 0;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 22px rgba(46, 35, 28, 0.05);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card:hover,
.trust-card:hover,
.activity-card:hover {
    transform: translateY(-4px);
    border-color: rgba(216, 93, 69, 0.46);
    box-shadow: var(--shadow-soft);
}

.feature-card svg,
.trust-card svg {
    width: 30px;
    height: 30px;
    margin-bottom: 18px;
    color: var(--brand);
}

.feature-card p,
.trust-card p,
.activity-card p,
.screen-item p,
.scene-item p,
.company-row span,
.footer-content p {
    color: var(--ink-soft);
}

.screenshots {
    padding: 92px 0;
}

.screenshot-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 22px;
    overflow-x: auto;
    padding: 8px 2px 20px;
    scroll-snap-type: x mandatory;
}

.screen-item {
    min-width: 220px;
    text-align: center;
    scroll-snap-align: start;
}

.screen-item .phone {
    width: 100%;
    max-width: 244px;
    margin: 0 auto 18px;
    box-shadow: 0 12px 30px rgba(74, 32, 24, 0.12);
}

.screen-item h3 {
    margin-bottom: 5px;
}

.screen-item p {
    margin-bottom: 0;
    font-size: 14px;
}

.split-layout {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 54px;
    align-items: start;
}

.scene-list {
    display: grid;
    gap: 14px;
}

.scene-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.scene-item span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--brand-dark);
    font-weight: 900;
    background: rgba(216, 93, 69, 0.1);
    border-radius: var(--radius);
}

.trust {
    padding: 92px 0;
}

.activity-tag {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 6px 9px;
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 900;
    background: rgba(216, 93, 69, 0.1);
    border-radius: var(--radius);
}

.activity-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.activity-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.download-section {
    padding: 28px 0 96px;
}

.download-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 34px;
    align-items: center;
    padding: 34px;
    color: #fff;
    background: #263032;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.download-panel .eyebrow,
.download-panel p {
    color: #f2c8b8;
}

.download-panel h2 {
    max-width: 720px;
    margin-bottom: 10px;
    font-size: clamp(28px, 4vw, 42px);
}

.download-panel .btn-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

.download-panel .btn-ghost {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.28);
}

.download-actions {
    justify-content: flex-end;
    max-width: 430px;
}

.company-section {
    padding-top: 0;
}

.company-list {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.company-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 18px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
}

.company-row:last-child {
    border-bottom: 0;
}

.company-row strong {
    text-align: right;
}

.company-row a {
    color: var(--brand-dark);
    text-decoration: none;
}

.company-row a:hover {
    text-decoration: underline;
}

.site-footer {
    padding: 38px 0;
    background: #1f2527;
    color: #fff;
}

.footer-content {
    display: grid;
    gap: 16px;
    text-align: center;
}

.footer-content p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.72);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
}

.subpage-main {
    padding-top: 0;
}

.faq-hero,
.contact-hero {
    min-height: 520px;
    padding: 150px 0 72px;
    display: flex;
    align-items: center;
}

.faq-hero-grid,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 44px;
    align-items: center;
}

.faq-search {
    max-width: 640px;
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.faq-search svg {
    width: 22px;
    height: 22px;
    color: var(--brand);
    flex: 0 0 auto;
}

.faq-search input {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--ink);
    background: transparent;
    font: inherit;
    font-weight: 700;
}

.faq-contact-card,
.wechat-card,
.contact-info-card,
.contact-panel {
    padding: 26px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.faq-contact-card svg,
.wechat-mark svg,
.contact-info-card > svg {
    width: 34px;
    height: 34px;
    margin-bottom: 18px;
    color: var(--brand);
}

.faq-contact-card h2,
.wechat-card h2,
.contact-info-card h2 {
    font-size: 22px;
}

.faq-contact-card p,
.wechat-card p,
.contact-info-card p,
.contact-panel p,
.faq-category-heading p,
.faq-item p {
    color: var(--ink-soft);
}

.faq-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
    padding: 70px 0 96px;
    align-items: start;
}

.faq-sidebar {
    position: sticky;
    top: 108px;
    display: grid;
    gap: 8px;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 22px rgba(46, 35, 28, 0.05);
}

.faq-sidebar a {
    padding: 10px 12px;
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    border-radius: var(--radius);
}

.faq-sidebar a:hover,
.faq-sidebar a:focus-visible {
    color: var(--brand-dark);
    background: rgba(216, 93, 69, 0.08);
}

.faq-content {
    display: grid;
    gap: 18px;
}

.faq-category {
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 22px rgba(46, 35, 28, 0.05);
}

.faq-category[hidden],
.faq-item[hidden] {
    display: none;
}

.faq-category-heading {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
    margin-bottom: 12px;
}

.faq-category-heading svg {
    width: 36px;
    height: 36px;
    color: var(--brand);
}

.faq-category-heading h2 {
    margin-bottom: 4px;
    font-size: 26px;
}

.faq-category-heading p {
    margin-bottom: 0;
}

.faq-item {
    border-top: 1px solid var(--line);
}

.faq-item summary {
    padding: 18px 2px;
    color: var(--ink);
    font-weight: 800;
    cursor: pointer;
    list-style-position: outside;
}

.faq-item p {
    margin: -4px 0 18px;
    max-width: 820px;
}

.faq-empty {
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink-soft);
}

.faq-empty a {
    color: var(--brand-dark);
    font-weight: 800;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.wechat-card {
    background: var(--surface);
}

.wechat-mark {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    background: rgba(7, 193, 96, 0.12);
    border: 1px solid rgba(7, 193, 96, 0.22);
    border-radius: var(--radius);
}

.wechat-mark svg {
    margin: 0;
    color: #07a650;
}

.service-link {
    margin-top: 18px;
    padding: 12px;
    color: var(--blue-gray);
    font-size: 13px;
    font-weight: 800;
    word-break: break-all;
    background: var(--surface-warm);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.contact-section {
    padding: 72px 0 96px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.contact-info-card {
    box-shadow: 0 8px 22px rgba(46, 35, 28, 0.05);
}

.contact-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    margin-bottom: 22px;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 50;
    max-width: calc(100% - 32px);
    padding: 12px 16px;
    color: #fff;
    font-weight: 800;
    background: rgba(31, 37, 39, 0.94);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateX(-50%);
}

@media (prefers-reduced-motion: reduce) {
    :root {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 980px) {
    .site-header {
        grid-template-columns: 1fr auto;
    }

    .site-nav {
        order: 3;
        grid-column: 1 / -1;
        justify-content: flex-start;
        overflow-x: auto;
        padding-top: 2px;
    }

    .hero {
        padding-top: 150px;
    }

    .hero-grid,
    .split-layout,
    .download-panel,
    .faq-hero-grid,
    .contact-grid,
    .faq-layout,
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .faq-sidebar {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-visual {
        min-height: 520px;
    }

    .phone-main {
        left: 50%;
        right: auto;
        transform: translateX(-72%) rotate(-2deg);
    }

    .phone-side {
        left: 50%;
        right: auto;
        transform: translateX(8%) rotate(3deg);
    }

    .quality-panel {
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        width: min(330px, 78%);
    }

    .feature-grid,
    .trust-grid,
    .activity-grid,
    .contact-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .download-actions {
        justify-content: flex-start;
        max-width: none;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1160px);
    }

    .site-header {
        top: 8px;
        width: calc(100% - 16px);
        min-height: 60px;
        padding: 9px;
        gap: 8px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
    }

    .brand strong {
        font-size: 16px;
    }

    .brand em {
        display: none;
    }

    .header-cta {
        min-height: 38px;
        padding: 9px 10px;
        font-size: 0;
    }

    .header-cta svg {
        width: 18px;
        height: 18px;
    }

    .site-nav {
        gap: 4px;
    }

    .site-nav a {
        padding: 7px 9px;
        font-size: 13px;
    }

    .hero {
        min-height: auto;
        padding: 146px 0 58px;
    }

    .faq-hero,
    .contact-hero {
        min-height: auto;
        padding: 148px 0 54px;
    }

    h1 {
        font-size: 40px;
    }

    .hero-lede,
    .section-heading p {
        font-size: 16px;
    }

    .hero-actions .btn,
    .download-actions .btn,
    .contact-actions .btn {
        width: 100%;
    }

    .hero-visual {
        min-height: 460px;
    }

    .phone-main {
        width: 230px;
        top: 0;
        transform: translateX(-72%) rotate(-2deg);
    }

    .phone-side {
        width: 182px;
        top: 92px;
        transform: translateX(8%) rotate(3deg);
    }

    .quality-panel {
        bottom: 0;
        width: min(310px, 88%);
    }

    .section,
    .screenshots,
    .trust {
        padding: 66px 0;
    }

    .feature-grid,
    .trust-grid,
    .activity-grid,
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .trust-card,
    .activity-card,
    .scene-item,
    .download-panel,
    .faq-category,
    .faq-contact-card,
    .wechat-card,
    .contact-info-card,
    .contact-panel {
        padding: 20px;
    }

    .faq-layout,
    .contact-section {
        padding: 54px 0 66px;
    }

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

    .faq-category-heading {
        grid-template-columns: 1fr;
    }

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

    .screenshot-row {
        grid-template-columns: repeat(4, 76vw);
    }

    .company-row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 16px;
    }

    .company-row strong {
        text-align: left;
    }
}

@media (max-width: 380px) {
    h1 {
        font-size: 35px;
    }

    .phone-main {
        width: 214px;
    }

    .phone-side {
        width: 166px;
    }
}
