@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0f;
    color: #e0e0e0;
}

.site-nav {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-base {
    background: #0a0a0f;
}

.section-alt {
    background: #0d0d15;
}

.hero {
    position: relative;
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(10, 10, 15, 0.85) 0%, rgba(20, 15, 10, 0.7) 50%, rgba(10, 10, 15, 0.85) 100%),
        url('image/banner.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 72rem;
}

.hero-kicker {
    margin-bottom: 1.25rem;
    font-size: 0.82rem;
    letter-spacing: 0.34em;
}

.hero-title {
    margin-bottom: 1.4rem;
    line-height: 1.16;
    letter-spacing: -0.03em;
}

.hero-title-line {
    display: block;
}

.hero-title-line + .hero-title-line {
    margin-top: 0.45rem;
}

.hero-description {
    max-width: 46rem;
    margin: 0 auto 2.75rem;
    line-height: 1.95;
}

.hero-actions {
    margin-top: 0.5rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(210, 140, 60, 0.15) 0%, transparent 70%);
}

.glow-text {
    background: linear-gradient(135deg, #f0a040 0%, #e87830 30%, #d4a860 60%, #f0c060 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary {
    background: linear-gradient(135deg, #e87830, #d46020);
    color: #fff;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(232, 120, 48, 0.4);
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232, 120, 48, 0.6);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    padding: 12px 34px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-outline:hover {
    border-color: #f0a040;
    color: #f0a040;
    box-shadow: 0 4px 15px rgba(240, 160, 64, 0.3);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #f0a040, #e87830);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: #a0a0b0;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.section-subtitle-nowrap {
    max-width: none;
    white-space: nowrap;
}

.card {
    background: linear-gradient(145deg, #16161f, #1a1a25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(240, 160, 64, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(240, 160, 64, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #f0a040, #e87830);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.comparison-section {
    background: linear-gradient(135deg, #0d1b3e 0%, #0a1f2d 50%, #0d1b3e 100%);
    position: relative;
}

.comparison-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(240, 160, 64, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(100, 200, 180, 0.08) 0%, transparent 60%);
}

.compare-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
}

.compare-card.before {
    border-left: 3px solid rgba(255, 100, 100, 0.6);
}

.compare-card.after {
    border-left: 3px solid rgba(100, 220, 180, 0.6);
}

.testimonial-card {
    background: linear-gradient(145deg, #16161f, #1e1e2a);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
}

.contact-section {
    background: linear-gradient(180deg, #0a0a0f 0%, #0f0f18 50%, #0a0a0f 100%);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(240, 160, 64, 0.2), rgba(232, 120, 48, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f0a040;
    font-size: 1.3rem;
}

footer {
    background: #06060a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-record {
    margin-top: 0.9rem;
    color: #72727d;
    font-size: 0.76rem;
    line-height: 1.9;
}

.site-record-meta {
    margin-bottom: 0.2rem;
}

.site-record-link {
    color: #8c8c98;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-record-link:hover {
    color: #f0a040;
}

.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 80;
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 6, 10, 0.78);
    backdrop-filter: blur(8px);
}

.modal-dialog {
    position: relative;
    width: min(100%, 27rem);
    padding: 2rem 2rem 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(28, 28, 38, 0.98) 0%, rgba(19, 19, 27, 0.98) 100%);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    text-align: center;
    transform: translateY(18px) scale(0.98);
    transition: transform 0.25s ease;
}

.modal.is-open .modal-dialog {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #d0d0d8;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
    background: rgba(240, 160, 64, 0.16);
    color: #f4c27c;
    transform: rotate(90deg);
}

.modal-eyebrow {
    margin-bottom: 0.6rem;
    color: #f0a040;
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.modal-title {
    margin-bottom: 0.85rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
}

.modal-description {
    max-width: 22rem;
    margin: 0 auto 1.5rem;
    color: #a9a9b6;
    line-height: 1.8;
}

.modal-qrcode-frame {
    width: min(100%, 18rem);
    margin: 0 auto 1rem;
    padding: 0.9rem;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(16, 16, 20, 0.04);
}

.modal-qrcode {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.modal-tip {
    color: #8d8d99;
    font-size: 0.92rem;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle-nowrap {
        max-width: 32rem;
        white-space: normal;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .hero h1 {
        font-size: 2rem !important;
    }

    .hero-kicker {
        letter-spacing: 0.22em;
        margin-bottom: 1rem;
    }

    .hero-title {
        margin-bottom: 1.1rem;
        line-height: 1.22;
    }

    .hero-title-line + .hero-title-line {
        margin-top: 0.35rem;
    }

    .hero-description {
        max-width: 32rem;
        margin-bottom: 2.25rem;
        line-height: 1.85;
    }

    .modal-dialog {
        padding: 1.5rem 1.25rem 1.25rem;
        border-radius: 16px;
    }

    .modal-title {
        font-size: 1.45rem;
    }

    .modal-description {
        margin-bottom: 1.25rem;
    }
}
