/* ========================================
   易触达 EasyReach - 主样式表
   v1.0.0
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
    /* Colors */
    --bg-dark: #060D1A;
    --bg-card: #0F1729;
    --bg-card-hover: #1A2744;
    --accent: #0EA5E9;
    --accent-secondary: #06B6D4;
    --accent-light: #38BDF8;
    --white: #FFFFFF;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --border-blue: rgba(30, 58, 95, 0.6);

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 120px;

    /* Transitions */
    --transition-fast: 0.2s;
    --transition-normal: 0.3s;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--gray-100);
    background: var(--bg-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-width: 320px;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
}

/* ---------- Layout ---------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Typography ---------- */
.section-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -1px;
    margin-bottom: 20px;
    line-height: 1.2;
    white-space: nowrap;
}

.section-desc {
    font-size: 18px;
    color: var(--gray-400);
    line-height: 1.7;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 26px;
        white-space: normal;
    }
    .section-desc {
        font-size: 16px;
    }
    /* 移动端全宽适配，防止溢出 */
    .container {
        padding: 0 16px;
        max-width: 100%;
        overflow-x: hidden;
    }
    /* 定价卡缩小 */
    .pricing-card {
        flex: 0 0 280px;
    }
    /* 案例卡缩小 */
    .case-card {
        flex: 0 0 280px;
        padding: 24px;
    }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all var(--transition-fast);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: var(--bg-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--gray-500);
}

.btn-secondary:hover {
    border-color: var(--gray-300);
    background: rgba(255, 255, 255, 0.05);
}

/* ========================================
   Navigation
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(6, 13, 26, 0.98);
    border-bottom: 1px solid rgba(30, 58, 95, 0.4);
    z-index: 100;
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.nav-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.footer-logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--gray-400);
    font-size: 15px;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: var(--bg-dark);
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .nav-hamburger {
        display: flex;
    }
    .nav-cta {
        display: none;
    }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(6, 182, 212, 0.04) 100%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse at center top, rgba(14, 165, 233, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 32px;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: var(--white);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 20px;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 0 80px;
    }
    .hero h1 {
        font-size: 40px;
    }
    .hero p {
        font-size: 17px;
    }
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
}

/* ========================================
   Stats Bar
   ======================================== */
.stats-bar {
    padding: 80px 0;
    border-top: 1px solid rgba(30, 58, 95, 0.4);
    border-bottom: 1px solid rgba(30, 58, 95, 0.4);
    background: rgba(15, 23, 41, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -2px;
    margin-bottom: 8px;
}

.stat-number span {
    color: var(--accent);
}

.stat-label {
    font-size: 15px;
    color: var(--gray-500);
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Problem Section
   ======================================== */
.problem {
    padding: var(--section-padding) 0;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border-blue);
    border-radius: 16px;
    padding: 40px 32px;
    transition: all var(--transition-normal);
}

.problem-card:hover {
    border-color: rgba(14, 165, 233, 0.4);
    transform: translateY(-4px);
}

.problem-icon {
    width: 48px;
    height: 48px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 12px;
    margin-bottom: 24px;
    position: relative;
}

.problem-icon::before,
.problem-icon::after {
    content: '';
    position: absolute;
    background: var(--accent);
}

/* Icon style 1 - Plus */
.problem-card:nth-child(1) .problem-icon::before {
    width: 24px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.problem-card:nth-child(1) .problem-icon::after {
    width: 2px;
    height: 24px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Icon style 2 - X */
.problem-card:nth-child(2) .problem-icon {
    background: rgba(239, 68, 68, 0.1);
}

.problem-card:nth-child(2) .problem-icon::before,
.problem-card:nth-child(2) .problem-icon::after {
    background: #EF4444;
    width: 20px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.problem-card:nth-child(2) .problem-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Icon style 3 - Question */
.problem-card:nth-child(3) .problem-icon::before {
    width: 20px;
    height: 2px;
    top: 40%;
    left: 50%;
    transform: translate(-50%, 0);
    background: var(--gray-400);
}

.problem-card:nth-child(3) .problem-icon::after {
    width: 16px;
    height: 16px;
    border: 2px solid var(--gray-400);
    border-radius: 50%;
    top: 55%;
    left: 50%;
    transform: translate(-50%, 0);
    background: transparent;
}

.problem-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.problem-card p {
    font-size: 15px;
    color: var(--gray-400);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .problem-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Solution Section
   ======================================== */
.solution {
    padding: var(--section-padding) 0;
    background: var(--bg-card);
}

.slider-wrapper {
    position: relative;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.slider-dot {
    height: 4px;
    width: 24px;
    border-radius: 2px;
    background: rgba(30, 58, 95, 1);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.slider-dot.active {
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    width: 40px;
}

.solution-scroll,
.cases-scroll {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
    scrollbar-width: none;
}

.case-grid {
    display: flex;
    gap: 24px;
    width: max-content;
    justify-content: center;
}

.solution-scroll::-webkit-scrollbar,
.cases-scroll::-webkit-scrollbar {
    display: none;
}

.solution-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.solution-tab-btn {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.solution-tab-btn.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    width: 60px;
}

.solution-tab-pane {
    display: none;
}

.solution-tab-pane.active {
    display: block;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-grid {
    display: flex;
    gap: 24px;
    width: max-content;
}

.case-card {
    flex: 0 0 520px;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-blue);
    border-radius: 16px;
    padding: 32px;
    transition: all var(--transition-normal);
}

.case-card:hover {
    border-color: rgba(14, 165, 233, 0.4);
    background: rgba(14, 165, 233, 0.04);
}

.case-number {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
}

.case-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.case-card p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
}

.solution-card {
    background: var(--bg-card);
    border: 1px solid rgba(14, 165, 233, 0.1);
    border-radius: 16px;
    padding: 32px 28px;
    transition: all var(--transition-normal);
}

.solution-card:hover {
    border-color: rgba(14, 165, 233, 0.3);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.solution-number {
    display: none;
}

.solution-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.solution-card p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .solution-grid {
        grid-template-columns: 1fr;
    }
    .case-card {
        flex: 0 0 300px;
    }
}

/* ========================================
   Process Section
   ======================================== */
.process {
    padding: var(--section-padding) 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-item {
    text-align: center;
    position: relative;
}

.process-badge {
    width: 88px;
    height: 88px;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    border-radius: 50%;
}

.process-badge-inner {
    position: relative;
    z-index: 1;
    width: 78px;
    height: 78px;
    background: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.process-badge .num {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.process-badge .sub {
    font-size: 9px;
    font-weight: 600;
    color: var(--gray-500);
    margin-top: 4px;
    letter-spacing: 2px;
}

/* 悬停效果已移除 */

.process-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.process-item p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-grid::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .process-item .num {
        font-size: 28px;
    }
    .process-badge {
        width: 64px;
        height: 64px;
    }
    .process-badge-inner {
        width: 56px;
        height: 56px;
    }
    .process-item h3 {
        font-size: 14px;
    }
    .process-item p {
        font-size: 12px;
    }
}

/* ========================================
   Cases Section
   ======================================== */
.cases {
    padding: var(--section-padding) 0;
    background: var(--bg-card);
}

.case-card {
    flex: 0 0 520px;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-blue);
    border-radius: 16px;
    padding: 48px;
    transition: all var(--transition-normal);
}

.case-card:hover {
    border-color: rgba(14, 165, 233, 0.4);
    background: rgba(14, 165, 233, 0.03);
}

.case-tag {
    display: inline-block;
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 24px;
}

.case-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.case-card p {
    font-size: 15px;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 32px;
}

.case-stats {
    display: flex;
    gap: 40px;
}

.case-stat {
    text-align: left;
}

.case-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.case-stat-label {
    font-size: 13px;
    color: var(--gray-500);
}

@media (max-width: 768px) {
    .case-card {
        flex: 0 0 300px;
    }
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing {
    padding: var(--section-padding) 0;
}

.pricing-scroll-wrapper {
    position: relative;
}

.pricing-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.pricing-nav-btn {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid var(--border-blue);
    background: transparent;
    color: var(--gray-400);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.pricing-nav-btn.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: var(--bg-dark);
    border-color: transparent;
}

.pricing-scroll {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
    scrollbar-width: none;
    /* 防止子元素溢出 */
    max-width: 100%;
}

.pricing-scroll::-webkit-scrollbar {
    display: none;
}

.pricing-grid {
    display: flex;
    gap: 24px;
    width: max-content;
    margin: 0 auto;
    justify-content: center;
}

.pricing-card {
    flex: 0 0 340px;
    scroll-snap-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-blue);
    border-radius: 16px;
    padding: 40px 32px;
    transition: all var(--transition-normal);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 40px rgba(14, 165, 233, 0.2);
}

.pricing-card.featured::before {
    content: '推荐';
    position: absolute;
    top: -1px;
    right: 24px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: var(--bg-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 0 0 8px 8px;
    letter-spacing: 1px;
}

.pricing-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 24px;
}

.pricing-price {
    margin-bottom: 24px;
}

.pricing-price span {
    font-size: 14px;
    color: var(--gray-500);
}

.pricing-price strong {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    font-size: 14px;
    color: var(--gray-300);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    border-radius: 50%;
    flex-shrink: 0;
}

.pricing-cta {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.pricing-card.featured .pricing-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: var(--bg-dark);
}

.pricing-card.featured .pricing-cta:hover {
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
    transform: translateY(-2px);
}

.pricing-card:not(.featured) .pricing-cta {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 1px solid rgba(30, 58, 95, 0.8);
}

.pricing-card:not(.featured) .pricing-cta:hover {
    border-color: rgba(14, 165, 233, 0.4);
    background: rgba(14, 165, 233, 0.05);
}

@media (max-width: 768px) {
    .pricing-card {
        flex: 0 0 300px;
    }
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(14, 165, 233, 0.08) 50%, rgba(6, 182, 212, 0.04) 100%);
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.2) 0%, rgba(6, 182, 212, 0.08) 50%, transparent 60%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.cta-section p {
    font-size: 18px;
    color: var(--gray-400);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    font-size: 17px;
    padding: 18px 40px;
}

@media (max-width: 768px) {
    .cta-section h2 {
        font-size: 32px;
    }
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid rgba(30, 58, 95, 0.4);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    font-size: 14px;
    color: var(--gray-500);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(30, 58, 95, 0.4);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--gray-500);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ========================================
   Modal
   ======================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 13, 26, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 20px;
    padding: 48px;
    max-width: 440px;
    width: 100%;
    position: relative;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(30, 58, 95, 0.8);
    background: transparent;
    border-radius: 50%;
    font-size: 20px;
    color: var(--gray-400);
    cursor: pointer;
    transition: all var(--transition-fast);
    line-height: 1;
}

.modal-close:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.modal-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.modal-price {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
}

.modal-desc {
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 24px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.modal-form input {
    padding: 14px 16px;
    border: 1px solid rgba(30, 58, 95, 0.8);
    border-radius: 10px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--white);
    transition: border-color var(--transition-fast);
}

.modal-form input:focus {
    outline: none;
    border-color: var(--accent);
}

.modal-form input::placeholder {
    color: var(--gray-500);
}

.modal-footer {
    text-align: center;
}

.modal-note {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.modal-cta {
    display: block;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: var(--bg-dark);
    padding: 16px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.modal-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
}

.modal-hint {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 12px;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 32px 24px;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--accent);
}

/* Loading state */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* ---------- 浮动客服按钮 ---------- */
.float-service {
    position: fixed;
    bottom: calc(28px + 400px);
    right: calc(28px + 200px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
}

.float-service-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0EA5E9, #06B6D4);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    animation: floatPulse 2s ease-in-out infinite;
}

@keyframes floatPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
    }
    50% {
        box-shadow: 0 4px 28px rgba(14, 165, 233, 0.6), 0 0 0 6px rgba(14, 165, 233, 0.1);
    }
}

.float-service-btn:hover {
    transform: scale(1.08);
    animation: none;
    box-shadow: 0 6px 24px rgba(14, 165, 233, 0.5);
}

.float-service-btn svg {
    width: 28px;
    height: 28px;
}

/* 二维码弹出卡片 — 绝对定位，相对于客服按钮容器 */
.float-qr-card {
    display: none;
    position: absolute;
    bottom: calc(100% + 14px);
    right: 0;
    flex-direction: column;
    width: 180px;
    /* 移动端：限制在视口内，不超出右边界 */
    max-width: calc(100vw - 56px);
    box-sizing: border-box;
}

/* 卡片下方小三角箭头（指向浮动按钮） */
.float-qr-card::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #0F1729;
}

.float-qr-card.active {
    display: flex;
    animation: fadeInUp 0.25s ease;
    background: #0F1729;
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.float-qr-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(14, 165, 233, 0.1);
    border-bottom: 1px solid rgba(14, 165, 233, 0.2);
}

.float-qr-header span {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent, #0EA5E9);
}

.float-qr-close {
    background: none;
    border: none;
    color: var(--gray-400, #94A3B8);
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.float-qr-close:hover {
    color: #fff;
}

.float-qr-body {
    padding: 16px;
    text-align: center;
}

.float-qr-img {
    width: 148px;
    height: 148px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}

.float-qr-tip {
    margin-top: 10px;
    font-size: 12px;
    color: var(--gray-400, #94A3B8);
}

/* 移动端浮动按钮适配 */
@media (max-width: 768px) {
    .float-service {
        bottom: calc(20px + 400px);
        right: calc(16px + 200px);
    }
    .float-service-btn {
        width: 52px;
        height: 52px;
    }
    .float-qr-card {
        bottom: calc(100% + 14px);
        right: 0;
        width: 160px;
        max-width: calc(100vw - 32px);
    }
    .float-qr-card::after {
        right: 10px;
    }
    .float-qr-img {
        width: 128px;
        height: 128px;
    }
    .float-qr-body {
        padding: 12px;
    }
}

/* 极窄屏幕自适应（< 360px） */
@media (max-width: 360px) {
    .float-qr-card {
        width: 140px;
        max-width: calc(100vw - 32px);
    }
    .float-qr-img {
        width: 110px;
        height: 110px;
    }
}

/* ---------- 移动端汉堡菜单 ---------- */
.nav-hamburger {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(30, 58, 95, 0.8);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
}

.nav-hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--gray-300);
    border-radius: 1px;
    transition: all 0.3s;
}

/* 汉堡菜单打开状态 */
.nav-hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* 移动端导航菜单 */
.nav-mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(6, 13, 26, 0.98);
    border-bottom: 1px solid rgba(30, 58, 95, 0.4);
    padding: 16px 24px 24px;
    z-index: 99;
    flex-direction: column;
    gap: 4px;
}

.nav-mobile-menu.active {
    display: flex;
}

.nav-mobile-menu a {
    color: var(--gray-300);
    font-size: 16px;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid rgba(30, 58, 95, 0.3);
    display: block;
    transition: color 0.2s;
}

.nav-mobile-menu a:last-child {
    border-bottom: none;
}

.nav-mobile-menu a:hover {
    color: var(--white);
}

.nav-mobile-menu .nav-mobile-cta {
    margin-top: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: var(--bg-dark);
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 0;
    border: none;
}
