/* ========================================
   大厂宽带网 - 样式文件
   ======================================== */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: #1a1a2e;
    line-height: 1.6;
    background: #fff;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Top Bar */
.top-bar {
    background: #0d1b3e;
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
    position: relative;
    z-index: 100;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-phone {
    color: #ffd700;
    font-weight: 600;
    white-space: nowrap;
}

/* Navbar */
.navbar {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: all 0.3s;
}
.navbar.scrolled {
    box-shadow: 0 2px 30px rgba(0,0,0,0.15);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 800;
    color: #0d1b3e;
}
.logo-icon { font-size: 28px; }
.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}
.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: #555;
    padding: 4px 0;
    position: relative;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0066ff, #00c9ff);
    transition: width 0.3s;
}
.nav-menu a:hover,
.nav-menu a.active {
    color: #0066ff;
}
.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }
.nav-cta {
    background: linear-gradient(135deg, #ff6b35, #ff4757);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(255,107,53,0.4); }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.nav-toggle span {
    display: block;
    width: 25px;
    height: 2.5px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Hero */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0d1b3e 0%, #1a2980 50%, #0d1b3e 100%);
    padding: 80px 0 100px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(0,102,255,0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 30%, rgba(0,201,255,0.1) 0%, transparent 50%);
}
.hero-inner {
    position: relative;
    text-align: center;
    color: #fff;
}
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}
.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}
.hero-title span {
    background: linear-gradient(90deg, #ffd700, #ffaa00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 8px;
}
.hero-address {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 32px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
    display: block;
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(90deg, #ffd700, #ffaa00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, #ff6b35, #ff4757);
    color: #fff;
    border-color: transparent;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,107,53,0.4);
}
.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}
.btn-white {
    background: #fff;
    color: #ff4757;
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}
.btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-block { width: 100%; }

/* Section Common */
.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: #0d1b3e;
    margin-bottom: 12px;
}
.section-desc {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Brands */
.brands { padding: 80px 0; background: #f8f9ff; }
.brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.brand-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s;
    border: 2px solid transparent;
}
.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
#brand-mobile { border-color: rgba(0,122,255,0.1); }
#brand-mobile:hover { border-color: #007aff; }
#brand-unicom { border-color: rgba(255,71,87,0.1); }
#brand-unicom:hover { border-color: #ff4757; }
#brand-telecom { border-color: rgba(0,201,255,0.1); }
#brand-telecom:hover { border-color: #00c9ff; }
.brand-logo {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}
#brand-mobile .brand-logo { color: #007aff; }
#brand-unicom .brand-logo { color: #ff4757; }
#brand-telecom .brand-logo { color: #00c9ff; }
.brand-tag {
    display: inline-block;
    background: #fff3e0;
    color: #ff6b35;
    padding: 4px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}
.brand-list {
    text-align: left;
    margin-bottom: 24px;
}
.brand-list li {
    padding: 6px 0;
    font-size: 14px;
    color: #555;
}

/* Advantages */
.advantages { padding: 80px 0; background: #fff; }
.adv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.adv-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: 16px;
    background: #f8f9ff;
    transition: all 0.3s;
}
.adv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.adv-icon {
    font-size: 48px;
    margin-bottom: 16px;
}
.adv-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0d1b3e;
}
.adv-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* Packages */
.packages { padding: 80px 0; background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%); }
.pkg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}
.pkg-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.pkg-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.pkg-featured {
    border: 2px solid #ff4757;
    transform: scale(1.05);
    z-index: 1;
}
.pkg-featured:hover { transform: scale(1.05) translateY(-5px); }
.pkg-badge {
    display: inline-block;
    background: #fff3e0;
    color: #ff6b35;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}
.pkg-badge-best {
    background: linear-gradient(135deg, #ff4757, #ff6b35);
    color: #fff;
}
.pkg-operator {
    font-size: 14px;
    color: #007aff;
    font-weight: 600;
    margin-bottom: 8px;
}
.pkg-name {
    font-size: 22px;
    font-weight: 700;
    color: #0d1b3e;
    margin-bottom: 16px;
}
.pkg-price {
    margin-bottom: 24px;
}
.pkg-currency { font-size: 20px; color: #ff4757; vertical-align: super; }
.pkg-amount {
    font-size: 52px;
    font-weight: 800;
    color: #ff4757;
    line-height: 1;
}
.pkg-period { font-size: 16px; color: #999; }
.pkg-features {
    text-align: left;
    margin-bottom: 24px;
}
.pkg-features li {
    padding: 8px 0;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}
.pkg-features li:last-child { border-bottom: none; }
.pkg-note {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-top: 24px;
}

/* Process */
.process { padding: 80px 0; background: #fff; }
.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.step-card {
    text-align: center;
    padding: 40px 32px;
    border-radius: 16px;
    background: #f8f9ff;
    min-width: 260px;
    flex: 1;
    max-width: 320px;
}
.step-num {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066ff, #00c9ff);
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    margin: 0 auto 16px;
}
.step-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0d1b3e;
    margin-bottom: 8px;
}
.step-card p { font-size: 14px; color: #666; }
.step-arrow {
    font-size: 32px;
    color: #ccc;
    font-weight: 300;
}

/* Coverage */
.coverage { padding: 80px 0; background: #f8f9ff; }
.area-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.area-item {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: all 0.3s;
}
.area-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    color: #0066ff;
}

/* Reviews */
.reviews { padding: 80px 0; background: #fff; }
.review-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.review-card {
    background: #f8f9ff;
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s;
}
.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.review-stars { color: #ffd700; font-size: 18px; margin-bottom: 12px; }
.review-text {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
    font-style: italic;
}
.review-author { font-size: 13px; color: #999; text-align: right; }

/* FAQ */
.faq { padding: 80px 0; background: #f8f9ff; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.faq-q {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #0d1b3e;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
}
.faq-q:hover { background: #f8f9ff; }
.faq-q::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    color: #999;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 12px;
}
.faq-item.active .faq-q::after { transform: rotate(45deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s;
    padding: 0 24px;
}
.faq-item.active .faq-a {
    max-height: 300px;
    padding: 0 24px 20px;
}
.faq-a a { color: #0066ff; font-weight: 500; }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0d1b3e 0%, #1a2980 50%, #0d1b3e 100%);
    padding: 80px 0;
}
.cta-inner {
    text-align: center;
    color: #fff;
}
.cta-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}
.cta-text { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 8px; }
.cta-sub { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer {
    background: #0a0f1e;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}
.footer-desc { font-size: 14px; line-height: 1.7; }
.footer-col h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}
.footer-links a:hover { color: #ffd700; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}
.footer-bottom p + p { margin-top: 6px; }

/* Float Phone */
.float-phone {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 998;
}
.float-phone a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    padding: 12px 16px;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    animation: phonePulse 2s infinite;
    transition: all 0.3s;
}
.float-phone a:hover { transform: scale(1.05); }
.float-phone-icon { font-size: 24px; }
.float-phone-text { font-size: 12px; font-weight: 600; white-space: nowrap; }
@keyframes phonePulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6); }
}

/* Back to Top */
.back-top {
    position: fixed;
    bottom: 30px;
    right: 24px;
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    background: linear-gradient(135deg, #0066ff, #00c9ff);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    font-size: 20px;
    z-index: 997;
    box-shadow: 0 4px 15px rgba(0,102,255,0.4);
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { transform: translateY(-3px); }

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 992px) {
    .brand-grid,
    .adv-grid,
    .pkg-grid { grid-template-columns: repeat(2, 1fr); }
    .pkg-featured { transform: scale(1); }
    .pkg-featured:hover { transform: translateY(-5px); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .area-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-title { font-size: 36px; }
    .nav-menu { display: none; }
    .nav-cta { display: none; }
    .nav-toggle { display: flex; }
    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        gap: 16px;
    }
    .steps-grid { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); }
}

@media (max-width: 640px) {
    .brand-grid,
    .adv-grid,
    .pkg-grid,
    .review-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .area-grid { grid-template-columns: repeat(2, 1fr); }
    .hero { padding: 50px 0 60px; }
    .hero-title { font-size: 28px; }
    .hero-subtitle { font-size: 15px; }
    .hero-stats { gap: 24px; }
    .stat-num { font-size: 28px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .section-title { font-size: 28px; }
    .cta-title { font-size: 26px; }
    .cta-actions { flex-direction: column; align-items: center; }
    .float-phone { bottom: 80px; right: 16px; }
}
