/* ==========================================================================
   1. 基础变量与现代化重置 (CSS Variables & Reset)
   ========================================================================== */
:root {
    /* 核心色彩 */
    --color-primary: #1F2937;
    --color-accent: #D97706;
    --color-accent-hover: #B45309;

    /* 文本与背景色 */
    --color-text-main: #374151;
    --color-text-light: #6B7280;
    --color-text-dark: #111827;
    --color-bg-body: #FFFFFF;
    --color-bg-section: #F9FAFB;

    /* 弥散阴影 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px -10px rgba(31, 41, 55, 0.08);
    --shadow-lg: 0 20px 40px -15px rgba(31, 41, 55, 0.12);
    --shadow-glow: 0 0 20px rgba(217, 119, 6, 0.4);

    /* 交互过渡 */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* 排版 */
    --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-stack);
    color: var(--color-text-main);
    background-color: var(--color-bg-body);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

img,
svg {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   2. 公共组件 (Components)
   ========================================================================== */

/* 按钮体系 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-base);
    border: 1px solid transparent;
}

.btn:active {
    transform: scale(0.98);
}

.btn--large {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 10px;
}

.btn--primary {
    background-color: var(--color-accent);
    color: #FFF;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.btn--primary:hover {
    background-color: var(--color-accent-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn--outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn--outline:hover {
    background-color: var(--color-primary);
    color: #FFF;
}

.btn--white {
    background-color: #FFF;
    color: var(--color-primary);
}

.btn--white:hover {
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn--outline-white {
    border-color: rgba(255, 255, 255, 0.4);
    color: #FFF;
}

.btn--outline-white:hover {
    background-color: #FFF;
    color: var(--color-primary);
}

/* 标题体系 */
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1.2;
    margin-bottom: 16px;
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.text-highlight {
    color: var(--color-accent);
}

.section-bg {
    background-color: var(--color-bg-section);
}

/* 卡片网格 */
.cards-grid {
    display: grid;
    gap: 32px;
}

.cards-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.cards-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ==========================================================================
   3. 导航栏 (Navbar)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition-base);
}

.navbar__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
}

.navbar__logo svg {
    width: 28px;
    height: 28px;
}

.navbar__menu {
    display: flex;
    gap: 32px;
}

.navbar__menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-main);
}

.navbar__menu a:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   4. 首屏 Banner (Hero)
   ========================================================================== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    text-align: center;
    background: #FFF;
}

.hero__glow {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 600px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero__badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    background: rgba(217, 119, 6, 0.1);
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero__title {
    font-size: 38px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.4;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero__subtitle {
    font-size: 18px;
    color: var(--color-text-light);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero__features {
    display: flex;
    justify-content: center;
    gap: 32px;
    list-style: none;
    margin-bottom: 48px;
}

.hero__features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text-main);
}

.hero__features svg {
    width: 20px;
    height: 20px;
}

.hero__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ==========================================================================
   5. 关于我们 (About)
   ========================================================================== */
.about {
    padding: 100px 0;
}

.about__stats {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
}

.stat-item__number {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item__label {
    font-size: 16px;
    color: var(--color-text-light);
}

/* ==========================================================================
   6. 痛点卡片 (Pain Points)
   ========================================================================== */
.pain-points {
    padding: 100px 0;
}

.card {
    background: #FFF;
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-base);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(31, 41, 55, 0.05);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.card__icon svg {
    width: 24px;
    height: 24px;
}

.card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 16px;
}

.card__quote {
    font-size: 15px;
    color: var(--color-text-light);
    font-style: italic;
    padding-left: 16px;
    border-left: 3px solid #E5E7EB;
    margin-bottom: 24px;
}

.card__solution h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.card__solution p {
    font-size: 14px;
    line-height: 1.6;
}

/* ==========================================================================
   7. 核心服务 (Services)
   ========================================================================== */
.services {
    padding: 120px 0;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 100px;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-item--reverse {
    flex-direction: row-reverse;
}

.service-item__content {
    flex: 1;
}

.service-item__content h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.service-item__content p {
    font-size: 18px;
    color: var(--color-text-main);
}

.service-item__image-placeholder {
    flex: 1;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.1);
}

.service-item__image-placeholder svg {
    width: 80px;
    height: 80px;
}

/* ==========================================================================
   8. 优势卡片 (Advantages)
   ========================================================================== */
.advantages {
    padding: 100px 0;
}

.card--advantage {
    text-align: center;
    padding: 40px 24px;
}

.card--advantage .card__icon {
    margin: 0 auto 24px;
    background: rgba(217, 119, 6, 0.1);
    color: var(--color-accent);
}

.card--advantage h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text-dark);
}

.card--advantage p {
    font-size: 15px;
    color: var(--color-text-light);
}

/* ==========================================================================
   9. 对比表格与背书 (Comparison & Endorsements)
   ========================================================================== */
.comparison {
    padding: 120px 0;
}

.comparison__header {
    text-align: center;
    margin-bottom: 60px;
}

.comparison-table-wrapper {
    background: #FFF;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 80px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th,
.comparison-table td {
    padding: 24px 32px;
    border-bottom: 1px solid #F3F4F6;
}

.comparison-table th {
    background: #F9FAFB;
    font-weight: 600;
    font-size: 16px;
    color: var(--color-text-light);
}

.comparison-table th.highlight,
.comparison-table td.highlight {
    background: rgba(217, 119, 6, 0.03);
    color: var(--color-primary);
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.endorsements {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    background: var(--color-bg-section);
    padding: 40px 48px;
    border-radius: 16px;
}

.endorsement-item {
    flex: 1;
}

.endorsement-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.endorsement-item p {
    font-size: 14px;
    color: var(--color-text-light);
}

/* ==========================================================================
   10. FAQ 手风琴 (FAQ Accordion)
   ========================================================================== */
.faq {
    padding: 100px 0;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion__item {
    background: #FFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion__title {
    padding: 24px 32px;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-base);
}

.accordion__title::-webkit-details-marker {
    display: none;
}

.accordion__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-text-light);
    transition: transform 0.3s ease;
}

.accordion__item[open] .accordion__icon {
    transform: rotate(180deg);
}

.accordion__item[open] .accordion__title {
    color: var(--color-accent);
    border-bottom: 1px solid #F3F4F6;
}

.accordion__content {
    padding: 24px 32px;
    font-size: 15px;
    color: var(--color-text-main);
    line-height: 1.6;
    background: #FAFAFA;
}

/* ==========================================================================
   11. 底部转化区 (Bottom CTA)
   ========================================================================== */
.bottom-cta {
    background: var(--color-primary);
    padding: 100px 0;
    text-align: center;
    color: #FFF;
}

.bottom-cta__title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.bottom-cta__subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 48px;
}

.bottom-cta__row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin-bottom: 40px;
}

.bottom-cta__phone {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bottom-cta__qr {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-placeholder {
    width: 160px;
    height: 160px;
    background: #FFF;
    border-radius: 12px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--color-text-light);
    border: 2px dashed rgba(0, 0, 0, 0.1);
}

.qr-hint {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.bottom-cta__info {
    margin-bottom: 32px;
}

.bottom-cta__info p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 6px;
}

.bottom-cta__note {
    font-size: 14px;
    color: var(--color-accent);
}

/* ==========================================================================
   12. Footer 版权区
   ========================================================================== */
.footer {
    background: #111827;
    padding: 40px 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__logo {
    margin-bottom: 12px;
}

.footer__brand-name {
    color: #FFF;
}

.footer__brand p {
    margin-top: 8px;
}

.footer__copyright {
    text-align: right;
}

.footer__icp {
    margin-top: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   13. 悬浮咨询按钮 (Floating Button)
   ========================================================================== */
.floating-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 999;
}

.floating-btn__circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.4);
    transition: var(--transition-base);
    animation: pulse 2s infinite;
}

.floating-btn__circle svg {
    width: 28px;
    height: 28px;
}

.floating-btn__circle:hover {
    transform: scale(1.1);
    animation: none;
}

/* ==========================================================================
   14. 动画关键帧 (Keyframes)
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(217, 119, 6, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(217, 119, 6, 0);
    }
}

/* ==========================================================================
   15. 响应式适配 (Responsive)
   ========================================================================== */
@media (max-width: 1024px) {
    .cards-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__title {
        font-size: 32px;
    }

    .about__stats {
        gap: 60px;
    }

    .service-item {
        gap: 40px;
    }

    .endorsements {
        flex-direction: column;
        gap: 24px;
        padding: 32px;
    }

    .footer__content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .footer__copyright {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navbar__menu,
    .navbar__action {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero__title {
        font-size: 24px;
    }

    .hero__features {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .hero__actions {
        flex-direction: column;
    }

    .cards-grid--3,
    .cards-grid--4 {
        grid-template-columns: 1fr;
    }

    .about__stats {
        flex-direction: column;
        gap: 40px;
    }

    .service-item,
    .service-item--reverse {
        flex-direction: column;
        text-align: center;
        margin-bottom: 60px;
    }

    .service-item__image-placeholder {
        width: 100%;
    }

    .comparison-table-wrapper {
        overflow-x: auto;
    }

    .bottom-cta__row {
        flex-direction: column;
        gap: 24px;
    }

    .bottom-cta__title {
        font-size: 28px;
    }

    .floating-btn {
        bottom: 20px;
        right: 20px;
    }
}