:root {
    --primary-color: #0f172a;
    --accent-color: #2563eb;
    --text-color: #1e293b;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --border-color: #cbd5e1;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 19px;        
    line-height: 1.9;
    letter-spacing: 0.2px;
    overflow-x: hidden;
}

/* 顶部导航栏 */
header {
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 108px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-decoration: none;
}

.logo img {
    height: 64px;
    width: auto;
    object-fit: contain;
}

.company-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.75px;
    white-space: nowrap;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    margin-left: 2.5rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.2rem;
    transition: color 0.2s;
    white-space: nowrap;
}

nav a:hover, nav a.active {
    color: var(--accent-color);
}

.container {
    max-width: 1400px;
    margin: 3.5rem auto;
    padding: 0 3rem;
}

/* Hero 区域 */
.hero {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: 18px;
    margin: 2.5rem auto 3.5rem;
    max-width: 1400px;
}

.hero h1 {
    font-size: 3.5rem;          
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero p {
    font-size: 1.5rem;        
    color: #cbd5e1;
    max-width: 850px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: #ffffff;
    padding: 1.1rem 2.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    transition: background-color 0.2s;
}

.btn:hover {
    background-color: #1d4ed8;
}

/* 主卡片与网格 */
.intro-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 4.5rem 4rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.03);
}

.intro-header h2 {
    font-size: 2.5rem;        
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.divider {
    width: 75px;
    height: 5px;
    background-color: var(--accent-color);
    border-radius: 3px;
    margin-bottom: 3rem;
}

.intro-lead {
    font-size: 1.6rem;        
    line-height: 2;
    color: #0f172a;
    margin-bottom: 3.5rem;
    border-left: 7px solid var(--accent-color);
    padding-left: 2rem;
    background: #f1f5f9;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
    border-radius: 0 12px 12px 0;
}

/* 核心优化：电脑端固定为 2x2 完美的对称网格，彻底解决 3+1 不协调问题 */
.intro-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 4.5rem;
}

.info-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 2.75rem;
    border-radius: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.info-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px -5px rgba(0, 0, 0, 0.08);
}

.box-highlight {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border-color: #bfdbfe;
}

.box-icon {
    width: 56px;
    height: 56px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.info-box h3 {
    font-size: 1.65rem;          
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.info-box p {
    font-size: 1.3rem;       
    color: #334155;
    line-height: 1.9;
    letter-spacing: 0.3px;   
}

.product-showcase h3 {
    font-size: 1.85rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.product-item {
    display: flex;
    align-items: flex-start;
    gap: 1.75rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 2.25rem;
    border-radius: 16px;
    text-decoration: none;
}

.product-info strong {
    color: var(--primary-color);
    font-size: 1.45rem;      
    display: block;
}

.product-info p {
    color: #475569;
    font-size: 1.25rem;      
    margin-top: 0.6rem;
    line-height: 1.8;
}

.badge {
    background-color: var(--accent-color);
    color: white;
    font-size: 0.95rem;
    padding: 0.45rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    white-space: nowrap;
    margin-top: 0.25rem;
}

.badge.light {
    background-color: #0d9488;
}

.highlight {
    color: var(--accent-color);
    font-weight: 700;
    background-color: #eff6ff;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
}

footer {
    text-align: center;
    padding: 4.5rem 3rem;
    border-top: 1px solid var(--border-color);
    color: #64748b;
    font-size: 1.15rem;
    background-color: var(--card-bg);
    margin-top: 6rem;
}

.footer-company {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.footer-info {
    margin-bottom: 0.5rem;
    color: #475569;
}

/* 旗舰产品精美样式 */
.cyberlinux-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.03);
    opacity: 0.95;
}

.cyberlinux-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cyberlinux-titles h2 {
    font-size: 2.3rem;
    color: var(--primary-color);
    margin-top: 0.75rem;
    font-weight: 800;
    line-height: 1.3;
}

.cyberlinux-desc-box {
    margin-top: 2.5rem;
    background: #f8fafc;
    border: 1px dashed var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
}

.cyberlinux-desc-box p {
    font-size: 1.35rem;
    line-height: 2.0;
    color: #1e293b;
    letter-spacing: 0.3px;
}

/* 核心功能特性专属样式大盒 */
.features-section-box {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border: 2px solid #bfdbfe;
    border-radius: 20px;
    padding: 3.5rem 3rem;
}

.features-title-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.features-number-badge {
    width: 48px;
    height: 48px;
    background: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.features-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
}

.feature-card-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 14px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.feature-card-icon {
    background: #eff6ff;
    padding: 0.85rem;
    border-radius: 10px;
    color: #2563eb;
    flex-shrink: 0;
}

.feature-card-content h4 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.feature-card-content p {
    font-size: 1.15rem;
    color: #334155;
    line-height: 1.7;
}

/* ==================== 移动端响应式适配媒体查询 (Mobile Friendly) ==================== */
@media (max-width: 768px) {
    body {
        font-size: 15px !important; 
    }

    header {
        height: auto !important;
        min-height: 60px !important;
        padding: 0.3rem 0 !important;
    }

    .nav-container {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 0.5rem !important;
        width: 100% !important;
    }

    .logo {
        gap: 0.3rem !important;
    }

    .logo img {
        height: 26px !important;
    }

    .company-title {
        font-size: 0.75rem !important;
        white-space: nowrap !important;
    }

    nav {
        gap: 0.2rem !important;
    }

    nav a {
        margin-left: 0.4rem !important;
        font-size: 0.75rem !important;
    }

    .container {
        margin: 0.5rem auto !important;
        padding: 0 0.25rem !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .hero {
        padding: 1.25rem 0.5rem !important;
        margin: 0.25rem !important;
        border-radius: 8px !important;
    }

    .hero h1 {
        font-size: 1.2rem !important;
        margin-bottom: 0.3rem !important;
    }

    .hero p {
        font-size: 0.8rem !important;
        margin-bottom: 0.5rem !important;
    }

    .intro-card {
        padding: 0.85rem 0.5rem !important;
        border-radius: 8px !important;
        margin-bottom: 1rem !important;
        width: 100% !important;
    }

    .intro-header h2 {
        font-size: 1.1rem !important;
    }

    .intro-lead {
        font-size: 0.85rem !important;
        padding: 0.5rem !important;
        border-left-width: 3px !important;
        margin-bottom: 0.75rem !important;
    }

    .intro-grid {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
        margin-bottom: 0.75rem !important;
    }

    .info-box {
        padding: 0.75rem !important;
    }

    .info-box h3 {
        font-size: 0.95rem !important;
        margin-bottom: 0.4rem !important;
    }

    .info-box p {
        font-size: 0.8rem !important;
    }

    .product-item {
        flex-direction: column !important;
        gap: 0.4rem !important;
        padding: 0.65rem !important;
    }

    .product-info strong {
        font-size: 0.9rem !important;
    }

    .product-info p {
        font-size: 0.75rem !important;
    }

    /* 旗舰产品手机端精美排版 */
    .cyberlinux-card {
        padding: 0.85rem 0.5rem !important;
        border-radius: 8px !important;
        width: 100% !important;
    }

    .cyberlinux-header-flex {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }

    .cyberlinux-titles h2 {
        font-size: 1.15rem !important;
    }

    .cyberlinux-desc-box {
        padding: 0.85rem 0.5rem !important;
        margin-top: 0.75rem !important;
        border-radius: 6px !important;
    }

    .cyberlinux-desc-box p {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
    }

    /* 核心功能特性外层大盒手机端完美消除左右多余空白，宽度铺满 */
    .features-section-box {
        padding: 1rem 0.65rem !important;
        border-radius: 10px !important;
        border-width: 1px !important;
        width: 100% !important;
    }

    .features-title-box {
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.5rem !important;
        margin-bottom: 0.75rem !important;
    }

    .features-number-badge {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.85rem !important;
        border-radius: 6px !important;
        flex-shrink: 0 !important;
    }

    .features-title-box h3 {
        font-size: 1.1rem !important;
        line-height: 1.2 !important;
    }

    .features-title-box span {
        font-size: 0.7rem !important;
    }

    /* 核心功能子项网格在手机端自适应 100% 铺满 */
    .features-grid-container {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }

    .feature-card-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 1rem !important;
        gap: 0.6rem !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 10px !important;
    }

    .feature-card-icon {
        padding: 0.4rem !important;
        border-radius: 6px !important;
    }

    .feature-card-content h4 {
        font-size: 1rem !important;
        margin-bottom: 0.25rem !important;
    }

    .feature-card-content p {
        font-size: 0.85rem !important;
        line-height: 1.6 !important;
    }

    /* 移动端下载表格转为精美独立卡片流 */
    .download-table-wrapper {
        background: transparent !important;
        border: none !important;
    }

    .download-table, .download-table thead, .download-table tbody, .download-table tr, .download-table th, .download-table td {
        display: block !important;
        width: 100% !important;
    }

    .download-table thead {
        display: none !important;
    }

    .download-table tr {
        margin-bottom: 0.6rem !important;
        background: #ffffff !important;
        border: 1px solid var(--border-color) !important;
        border-radius: 8px !important;
        padding: 0.6rem !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.03) !important;
        width: 100% !important;
    }

    .download-table td {
        padding: 0.2rem 0 !important;
        text-align: left !important;
        border: none !important;
        white-space: normal !important;
        font-size: 0.85rem !important;
    }

    .download-table td:first-child {
        font-weight: 700 !important;
        color: var(--primary-color) !important;
        font-size: 0.95rem !important;
    }

    .download-table td:nth-child(2) {
        color: #475569 !important;
        font-size: 0.8rem !important;
    }

    .download-table td:last-child {
        margin-top: 0.4rem !important;
        padding-top: 0.4rem !important;
        border-top: 1px solid #f1f5f9 !important;
        text-align: right !important;
    }

    .btn {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.8rem !important;
        width: 100% !important;
        text-align: center !important;
    }

    footer {
        padding: 1rem 0.5rem !important;
        margin-top: 1rem !important;
        font-size: 0.75rem !important;
    }
}
