/* ==================================================
   易上云网络科技 - 完整样式 (修复表格边框 & 公司页面排版)
   版本：2025.04.28
   ================================================== */

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

body {
    background: #050b1a;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, 'Poppins', sans-serif;
    color: #eef5ff;
    line-height: 1.5;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* 科技网格背景 + 动态光晕 */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(#0f2b3d10 1px, transparent 1px),
        linear-gradient(90deg, #0f2b3d10 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: "";
    position: fixed;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle at 30% 40%, rgba(0, 255, 255, 0.02), transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: rotateGlow 28s infinite linear;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); opacity: 0.4; }
    100% { transform: rotate(360deg); opacity: 0.7; }
}

/* 固定宽度的容器 */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* 玻璃态导航栏 */
.navbar {
    background: rgba(5, 11, 26, 0.75);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 1.7rem;
    font-weight: 800;
    background: linear-gradient(135deg, #A0E9FF, #5F9EF0, #2D6AFF);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.3px;
    text-shadow: 0 0 8px rgba(45, 106, 255, 0.3);
}

.logo span {
    font-size: 0.7rem;
    font-weight: 400;
    color: #8aaee0;
    display: block;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #ccdeff;
    font-weight: 500;
    transition: 0.2s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #2efff0;
    text-shadow: 0 0 5px #0ff;
}

.nav-links .contact-btn, .nav-links .company-btn {
    background: linear-gradient(90deg, #0b3b8f, #1b4cbf);
    border: 1px solid rgba(0, 255, 255, 0.5);
    color: white;
    padding: 0.45rem 1.3rem;
    border-radius: 40px;
    box-shadow: 0 0 8px rgba(0, 160, 255, 0.3);
}

/* Hero 区域 */
.hero {
    padding: 5rem 0 4rem;
    position: relative;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.hero-text {
    flex: 1.2;
}

.hero-text h2 {
    font-size: 3.2rem;
    font-weight: 800;
    background: linear-gradient(145deg, #FFFFFF, #5CC8FF, #2D6AFF);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.glow-text {
    text-shadow: 0 0 12px rgba(45, 106, 255, 0.5);
}

.hero-text p {
    font-size: 1.2rem;
    color: #bbd4ff;
    margin-bottom: 2rem;
    border-left: 3px solid #0ff;
    padding-left: 1rem;
}

.hero-badge {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-badge span {
    background: rgba(0, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: #bcffff;
}

.hero-stats {
    flex: 0.9;
    background: rgba(12, 25, 55, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 2rem;
    padding: 1.8rem;
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 20px 35px -15px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 200, 255, 0.1);
    text-align: center;
}

.stat-item {
    margin: 1rem 0;
}

.stat-number {
    font-size: 2.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #0ff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

/* 产品卡片 */
.section-title {
    text-align: center;
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: -0.5px;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0ff, #2d6aff);
    margin: 0.8rem auto 0;
    border-radius: 3px;
    box-shadow: 0 0 10px #0ff;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 2rem;
    margin: 2rem 0 4rem;
}

.service-card {
    background: rgba(12, 25, 55, 0.55);
    backdrop-filter: blur(10px);
    border-radius: 1.8rem;
    padding: 1.8rem;
    border: 1px solid rgba(0, 255, 255, 0.25);
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #0ff;
    box-shadow: 0 20px 35px -12px rgba(0, 255, 255, 0.3), 0 0 15px rgba(0, 255, 255, 0.2);
    background: rgba(10, 25, 55, 0.8);
}

.card-icon {
    font-size: 2.5rem;
    color: #0ff;
    filter: drop-shadow(0 0 6px #0ff);
    margin-bottom: 1.2rem;
}

.service-card h3 {
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.price {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #aaf0ff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin: 1rem 0 0.5rem;
}

.price small {
    font-size: 0.9rem;
    font-weight: 500;
    color: #8db5ff;
}

.spec-list {
    list-style: none;
    margin: 1.2rem 0;
    border-top: 1px solid rgba(0, 255, 255, 0.3);
    padding-top: 1rem;
}

.spec-list li {
    padding: 0.45rem 0;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.92rem;
    color: #cfebff;
}

.spec-list i {
    width: 1.3rem;
    color: #0ff;
}

.card-btn {
    display: inline-block;
    background: rgba(0, 255, 255, 0.1);
    color: #c3ffff;
    text-decoration: none;
    padding: 0.6rem 1.4rem;
    border-radius: 40px;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.2s;
    border: 1px solid rgba(0, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.card-btn:hover {
    background: #0ff;
    color: #010d1f;
    border-color: #0ff;
    box-shadow: 0 0 12px #0ff;
}

/* 多云专区 */
.multicloud-section {
    background: radial-gradient(ellipse at 70% 30%, rgba(0, 80, 120, 0.3), rgba(2, 20, 40, 0.8));
    backdrop-filter: blur(6px);
    border-radius: 2rem;
    padding: 2.5rem;
    margin: 3rem 0 2rem;
    border: 1px solid rgba(0, 255, 255, 0.5);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 0 30px rgba(0, 160, 255, 0.2);
}

.multicloud-text {
    flex: 2;
}

.multicloud-text h3 {
    font-size: 1.9rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.multicloud-text p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.2rem 0;
}

.badge-group span {
    background: rgba(0, 255, 255, 0.12);
    padding: 0.3rem 1.2rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #0ff55a70;
}

.multicloud-icon {
    flex: 0.8;
    text-align: center;
    font-size: 4rem;
    filter: drop-shadow(0 0 12px cyan);
}

/* 法律卡片 (SLA, 合同, TOS) */
.legal-card, .tos-section {
    background: rgba(6, 18, 34, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 2rem;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(0, 255, 255, 0.4);
    transition: 0.2s;
}

.legal-header, .tos-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.5);
    padding-bottom: 1rem;
    margin-bottom: 1.8rem;
}

.legal-header i, .tos-header i {
    font-size: 2.5rem;
    color: #0ff;
    filter: drop-shadow(0 0 6px cyan);
}

.legal-header h2, .tos-header h2 {
    font-size: 2rem;
    font-weight: 700;
}

.legal-grid, .tos-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.legal-item, .tos-card {
    background: rgba(0, 20, 40, 0.5);
    border-left: 4px solid #0ff;
    padding: 1.2rem 1.8rem;
    border-radius: 1rem;
}

.warning-note, .warning-badge {
    border-left-color: #ffaa33;
    background: rgba(255, 170, 51, 0.08);
}

.legal-item h3, .tos-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
    color: #8cdbff;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.legal-item p, .legal-item ul, .tos-card p, .tos-card ul {
    color: #d1e5ff;
    font-size: 0.98rem;
    line-height: 1.6;
}

.legal-item ul, .tos-card ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

/* ========= 公司信息独立页面样式 (完整修复) ========= */
.company-container {
    max-width: 1100px;
    margin: 2rem auto;
    background: rgba(6, 18, 34, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 2rem;
    padding: 2.5rem;
    border: 1px solid rgba(0, 255, 255, 0.4);
}

.company-section {
    margin-bottom: 2rem;
}

.company-section h2 {
    font-size: 1.8rem;
    color: #0ff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-left: 4px solid #0ff;
    padding-left: 1rem;
}

.company-card {
    background: rgba(0, 20, 40, 0.6);
    border-radius: 1.5rem;
    padding: 1.5rem;
    margin-top: 0.5rem;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.company-card p {
    margin: 0.6rem 0;
    line-height: 1.6;
}

.company-card i {
    width: 1.8rem;
    color: #0ff;
}

/* ========= 价格表表格样式 (边框、背景、悬停) ========= */
.pricing-header {
    text-align: center;
    margin: 2rem 0 1rem;
}

.pricing-subtitle {
    color: #8aaee0;
    font-size: 1.1rem;
    margin-top: -0.5rem;
}

/* 表格容器，支持横向滚动 */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 1rem 0;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(6, 18, 34, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 1.5rem;
    overflow: hidden;
    margin: 1rem 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.price-table th,
.price-table td {
    padding: 1rem 1.2rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);  /* 确保边框可见 */
    border-right: 1px solid rgba(0, 255, 255, 0.1);
}

.price-table th {
    background: rgba(0, 160, 255, 0.2);
    color: #0ff;
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 2px solid rgba(0, 255, 255, 0.5);
}

.price-table tr:hover {
    background: rgba(0, 255, 255, 0.08);
}

.price-table .price-col {
    font-weight: 700;
    color: #aaf0ff;
    white-space: nowrap;
}

.price-table .cart-link {
    display: inline-block;
    background: rgba(0, 255, 255, 0.1);
    padding: 0.3rem 1rem;
    border-radius: 30px;
    color: #0ff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.2s;
    border: 1px solid rgba(0,255,255,0.3);
}

.price-table .cart-link:hover {
    background: #0ff;
    color: #010d1f;
    box-shadow: 0 0 8px #0ff;
}

.table-caption {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    color: #7d9ec0;
}

/* 科技增值提醒条 */
.tech-badge-bar {
    background: rgba(0, 255, 255, 0.05);
    border-radius: 2rem;
    padding: 1rem 2rem;
    margin: 2rem 0 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    border: 1px solid rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    width: 100%;
    box-sizing: border-box;
}

.tech-badge-bar span {
    color: #eef5ff;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* 底部样式 */
footer {
    background: #020a17;
    border-top: 1px solid rgba(0, 255, 255, 0.3);
    padding: 2rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    margin-bottom: 1rem;
}

.copyright, .icp, .footer-contact {
    font-size: 0.85rem;
    color: #8bb3e0;
}

.icp a, .footer-contact a {
    color: #8bb3e0;
    text-decoration: none;
}

.icp a:hover, .footer-contact a:hover {
    color: #0ff;
}

.footer-address {
    font-size: 0.75rem;
    color: #5f7ea0;
    text-align: center;
    padding-top: 0.5rem;
}

/* 响应式 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 0.8rem;
    }
    .hero-text h2 {
        font-size: 2rem;
    }
    .hero-stats {
        width: 100%;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .multicloud-section {
        flex-direction: column;
        text-align: center;
    }
    .legal-header h2, .tos-header h2 {
        font-size: 1.5rem;
    }
    .price-table th,
    .price-table td {
        padding: 0.8rem;
        font-size: 0.85rem;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    .footer-address {
        font-size: 0.7rem;
        line-height: 1.4;
    }
    .company-container {
        padding: 1.5rem;
    }
    .company-section h2 {
        font-size: 1.5rem;
    }
    .tech-badge-bar {
        padding: 0.8rem 1rem;
        gap: 0.8rem;
    }
    .tech-badge-bar span {
        font-size: 0.75rem;
        white-space: normal;
    }
}

/* 滚动条 */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #07142a;
}
::-webkit-scrollbar-thumb {
    background: #0ff;
    border-radius: 8px;
}

/* 挖金子彩蛋 */
@keyframes goldPan {
    0% { text-shadow: 0 0 0px #ffd700, 0 0 0px #ffaa00; opacity: 0.9; }
    50% { text-shadow: 0 0 8px #ffd700, 0 0 15px #ffaa33; opacity: 1; transform: scale(1.01); }
    100% { text-shadow: 0 0 0px #ffd700, 0 0 0px #ffaa00; opacity: 0.9; }
}

.price, .stat-number, .price-col {
    animation: goldPan 1.8s infinite ease-in-out;
    display: inline-block;
}

.card-btn:hover, .cart-link:hover {
    background: linear-gradient(135deg, #ffd700, #ffaa33);
    color: #1a2a3a;
    box-shadow: 0 0 20px #ffd700;
    border-color: #ffcc44;
}

.service-card::after {
    content: "⛏️";
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.1;
    pointer-events: none;
    transition: 0.3s;
}

.service-card:hover::after {
    opacity: 0.4;
    transform: rotate(15deg) scale(1.1);
}

.price-table tr:hover td {
    background: linear-gradient(90deg, rgba(255,215,0,0.1), rgba(255,170,0,0.05));
}

.section-title:after {
    background: linear-gradient(90deg, #ffd700, #ffaa33, #ffd700);
    box-shadow: 0 0 12px #ffaa33;
}

.company-card:hover {
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}