
/* ============================================
   米智数码 - 样式表
   优化版本：CSS 变量、组件化、可维护
   ============================================ */

/* ---------- CSS 变量 ---------- */
:root {
    /* 品牌色 */
    --color-primary: #FF5733; /* 活力橙红 */
    --color-primary-dark: #CC452C;
    --color-primary-rgb: 255, 87, 51;
    --color-secondary: #FF8D66; /* 柔和橙 */
    --color-accent-pink: #FF69B4;
    --color-accent-red: #FF4500;
    --color-accent-blue: #4682B4;
    --color-accent-cyan: #40E0D0;
    --color-accent-green: #32CD32;
    --color-accent-mint: #66CDAA;
    --color-accent-warm: #FFA07A;
    --color-accent-yellow: #FFD700;
    --color-accent-teal: #20B2AA;
    --color-accent-purple: #8A2BE2;

    /* 中性色 */
    --color-text: #333333;
    --color-text-light: #555555;
    --color-text-muted: #777777;
    --color-heading: #1A1A1A;
    --color-bg: #FFFFFF;
    --color-bg-soft: #F9FAFC;
    --color-bg-blue: #F0F5FF; /* 浅蓝色背景 */
    --color-bg-blue-2: #E6EEFF;
    --color-border: rgba(0, 0, 0, 0.1);
    --color-border-light: rgba(0, 0, 0, 0.05);
    --color-border-dark: rgba(255, 255, 255, 0.15);

    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    --gradient-pink: linear-gradient(135deg, var(--color-accent-pink) 0%, var(--color-accent-red) 100%);
    --gradient-blue: linear-gradient(135deg, var(--color-accent-blue) 0%, var(--color-accent-cyan) 100%);
    --gradient-green: linear-gradient(135deg, var(--color-accent-green) 0%, var(--color-accent-mint) 100%);
    --gradient-warm: linear-gradient(135deg, var(--color-accent-warm) 0%, var(--color-accent-yellow) 100%);
    --gradient-teal: linear-gradient(135deg, var(--color-accent-teal) 0%, var(--color-accent-purple) 100%);
    --gradient-page-soft: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-soft) 100%);

    /* 阴影 */
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 8px 20px rgba(var(--color-primary-rgb), 0.4);
    --shadow-primary-hover: 0 12px 30px rgba(var(--color-primary-rgb), 0.5);
    --shadow-navbar: 0 3px 15px rgba(0, 0, 0, 0.08);

    /* 圆角 */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 50px;
    --radius-blob: 40% 60% 70% 30% / 40% 50% 60% 50%;

    /* 动画 */
    --transition: all 0.3s ease-in-out;

    /* 布局 */
    --max-width: 1200px;
    --nav-height: 85px;
}

/* ============================================
   基础样式
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--gradient-page-soft);
    color: var(--color-text);
    line-height: 1.7;
    min-height: 100vh;
    font-size: 16px;
}

body.menu-open {
    overflow: hidden;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 9999;
    padding: 10px 16px;
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.skip-link:focus {
    top: 16px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--color-primary);
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 25px;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   导航栏
   ============================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--color-border-light);
    padding: 12px 0;
    box-shadow: var(--shadow-navbar);
    transition: var(--transition);
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 8px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 26px;
    font-weight: 700;
    color: var(--color-heading);
    z-index: 1001;
}

.logo-icon {
    width: 200px;
    max-width: 160px;
    height: auto;
    background: transparent;
    border-radius: var(--radius-sm);
    display: block;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--color-text-light);
    font-weight: 500;
    font-size: 15px;
    padding: 5px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease-in-out;
}

.nav-menu a:hover { color: var(--color-primary); }
.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}
.nav-menu a.active { color: var(--color-primary); font-weight: 600; }

/* 汉堡菜单 */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--color-heading);
    transition: var(--transition);
    border-radius: 2px;
}

.menu-toggle.menu-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.menu-open span:nth-child(2) { opacity: 0; }
.menu-toggle.menu-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: calc(100vh - var(--nav-height));
        flex-direction: column;
        background: var(--color-bg);
        padding: 30px;
        box-shadow: -8px 0 25px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease-in-out;
        gap: 25px;
        align-items: flex-start;
        border-left: 1px solid var(--color-border);
        z-index: 1000;
    }
    .nav-menu.menu-open { right: 0; }

    .hero {
        padding: 60px 0;
        min-height: auto;
    }

    .hero::before,
    .hero::after {
        display: none;
    }

    .hero-title {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .hero-highlights li {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 10px 18px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 14px;
    }

    .btn {
        padding: 14px 36px;
        font-size: 14px;
    }
}

/* ============================================
   英雄区
   ============================================ */
.hero {
    margin-top: var(--nav-height);
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #fff5f2 0%, #fff8f7 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 87, 51, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 141, 102, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, transparent 0%, transparent 70%, rgba(255, 87, 51, 0.03) 100%);
    animation: rotate 60s linear infinite;
    pointer-events: none;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 700px;
    text-align: center;
    position: relative;
    padding: 40px 20px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    margin-bottom: 28px;
    background: linear-gradient(135deg, rgba(255, 87, 51, 0.12) 0%, rgba(255, 141, 102, 0.12) 100%);
    color: var(--color-primary-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 50px;
    border: 1px solid rgba(255, 87, 51, 0.2);
    animation: fadeInUp 0.8s ease-out;
    box-shadow: 0 2px 12px rgba(255, 87, 51, 0.08);
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 24px;
    color: var(--color-heading);
    letter-spacing: -1px;
}

.title-part-1 {
    display: block;
    background: linear-gradient(135deg, #FF5733 0%, #FF8D66 50%, #FF5733 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out, textShimmer 3s ease-in-out infinite;
    background-size: 200% auto;
}

.title-part-2 {
    display: block;
    color: var(--color-heading);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 32px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-highlights {
    list-style: none;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero-highlights li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.8;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 87, 51, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.hero-highlights li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 87, 51, 0.18);
}

.highlight-label {
    flex-shrink: 0;
    min-width: 45px;
    padding: 3px 12px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px;
    text-align: center;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    justify-content: center;
}



/* ============================================
   按钮
   ============================================ */
.btn {
    padding: 14px 38px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 87, 51, 0.35);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(255, 87, 51, 0.45);
}

.btn-secondary {
    background: var(--color-bg);
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #fff5f2 0%, #fff8f7 100%);
    transform: translateY(-4px) scale(1.02);
    border-color: var(--color-primary-dark);
    box-shadow: 0 8px 25px rgba(255, 87, 51, 0.15);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 9px 22px;
    font-size: 13px;
}

.btn-outline:hover {
    background: var(--color-bg-blue);
    border-color: var(--color-primary-dark);
}

@media (max-width: 480px) {
    .btn { padding: 10px 20px; font-size: 13px; }
}

/* ============================================
   动画
   ============================================ */
@keyframes morph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    50% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(15px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes textShimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

/* ============================================
   通用动画类
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   通知
   ============================================ */
.notification {
    position: fixed;
    top: 20px; right: 20px;
    padding: 14px 22px;
    border-radius: var(--radius-md);
    color: white;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    z-index: 2000;
    animation: slideIn 0.4s ease-out;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.notification-success { background: var(--gradient-green); }
.notification-error { background: var(--gradient-pink); }
.notification-info { background: var(--gradient-primary); }
.notification-leaving { animation: slideOut 0.4s ease-out forwards; }

/* ============================================
   区段通用
   ============================================ */
section {
    padding: 80px 0;
    scroll-margin-top: var(--nav-height);
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 17px;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    .section-title { font-size: 32px; }
    .section-subtitle { font-size: 15px; margin-bottom: 40px; }
}

/* ============================================
   产品区
   ============================================ */
.products {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-soft) 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.product-card {
    background: var(--color-bg);
    border-radius: var(--radius-xl);
    padding: 35px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--color-primary-rgb), 0.3);
}

.product-image {
    width: 100px; height: 100px;
    margin: 0 auto 20px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 50px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.product-image.gaming { background: linear-gradient(45deg, #FF6F61, #FFC107); }
.product-image.design { background: linear-gradient(45deg, #A8C0FF, #3F2B96); }
.product-image.business { background: linear-gradient(45deg, #2193B0, #6DD5ED); }
.product-image.server { background: linear-gradient(45deg, #FFDAB9, #CD5C5C); }
.product-image.sales-mobile { background: linear-gradient(45deg, #56AB2F, #A8E063); }
.product-image.sales-computer { background: linear-gradient(45deg, #4776E6, #8E54E9); }
.product-image.broadband { background: linear-gradient(45deg, #00C9FF, #92FE9D); }
.product-image.phonecard { background: linear-gradient(45deg, #F7971E, #FFD200); }
.product-image.monitoring { background: linear-gradient(45deg, #834D9B, #D04ED6); }

.product-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--color-heading);
}

.product-card p {
    color: var(--color-text-light);
    margin-bottom: 18px;
    font-size: 15px;
    flex-grow: 1; /* Make paragraph take available space */
}

.product-specs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.spec {
    background: var(--color-bg-blue);
    color: var(--color-primary-dark);
    padding: 5px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

/* ============================================
   特性区
   ============================================ */
.features {
    background: var(--color-bg-blue);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: var(--color-bg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--color-border-light);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 80px; height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.gradient-icon-1 { background: linear-gradient(45deg, var(--color-primary), var(--color-secondary)); }
.gradient-icon-2 { background: linear-gradient(45deg, #6A11CB, #2575FC); }
.gradient-icon-3 { background: linear-gradient(45deg, #FFC371, #FF5F6D); }
.gradient-icon-4 { background: linear-gradient(45deg, #00B4DB, #0083B0); }
.gradient-icon-5 { background: linear-gradient(45deg, #EE9CA7, #FFDDE1); }
.gradient-icon-6 { background: linear-gradient(45deg, #C6FFDD, #FBD786, #F7797D); }

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--color-heading);
}

.feature-item p {
    color: var(--color-text-light);
    font-size: 15px;
}

/* ============================================
   统计区
   ============================================ */
.stats {
    background: var(--gradient-primary);
    color: white;
    padding: 100px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 20px;
}

.stat-card h3 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-card .stat-number {
    display: inline-block;
}

.stat-card p {
    font-size: 18px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .stats { padding: 70px 0; }
    .stat-card h3 { font-size: 40px; }
    .stat-card p { font-size: 16px; }
}

/* ============================================
   关于区
   ============================================ */
.about {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-soft) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--color-heading);
}

.about-text p {
    color: var(--color-text-light);
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 25px;
}

.about-feature {
    background: linear-gradient(135deg, var(--color-bg-blue) 0%, var(--color-bg-blue-2) 100%);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--color-primary-dark);
    font-size: 15px;
}

.about-visual {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blob-3 {
    width: 380px; height: 380px;
    position: absolute;
    top: 10%; right: 10%;
    background: var(--gradient-primary);
    border-radius: var(--radius-blob);
    opacity: 0.12;
    animation: morph 8s ease-in-out infinite;
}

.blob-4 {
    width: 320px; height: 320px;
    position: absolute;
    bottom: 10%; left: 10%;
    background: var(--gradient-pink);
    border-radius: var(--radius-blob);
    opacity: 0.1;
    animation: morph 10s ease-in-out infinite 1s;
}

@media (max-width: 768px) {
    .about-content { grid-template-columns: 1fr; gap: 40px; }
    .about-visual { height: 350px; }
    .blob-3, .blob-4 { display: none; }
}

/* ============================================
   联系区
   ============================================ */
.contact {
    background: var(--color-bg-soft);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin: 50px 0;
}

.contact-item {
    background: var(--color-bg);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--color-border);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 60px; height: 60px;
    margin: 0 auto 15px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.contact-item h3 {
    font-size: 19px;
    margin-bottom: 8px;
    color: var(--color-heading);
}

.contact-item p {
    color: var(--color-text-light);
    font-size: 15px;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    max-width: 700px;
    margin: 40px auto 0;
    padding: 30px;
    background: var(--color-bg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border-light);
}

.contact-form input,
.contact-form textarea {
    padding: 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--color-bg-soft);
    width: 100%;
}

.contact-form textarea {
    grid-column: span 2;
    resize: vertical;
    min-height: 100px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.2);
    background: var(--color-bg);
}

.contact-form button {
    grid-column: span 2;
    width: 100%;
    margin-top: 10px;
}

.contact-item a {
    color: var(--color-primary);
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-form { grid-template-columns: 1fr; padding: 25px; }
    .contact-form textarea, .contact-form button { grid-column: span 1; }
}

/* ============================================
   页脚
   ============================================ */
.footer {
    background: var(--gradient-primary);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 18px;
    color: white;
}

.footer-section ul { list-style: none; }

.footer-section li { margin-bottom: 10px; }

.footer-section a {
    color: white;
    font-size: 14px;
    transition: var(--transition);
}

.footer-section a:hover { color: var(--color-secondary); transform: translateX(5px); }

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-links a {
    width: 38px; height: 38px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
}

.social-links a:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(var(--color-primary-rgb), 0.4);
}

.footer-bottom {
    border-top: 1px solid var(--color-border-dark);
    padding-top: 25px;
    text-align: center;
    color: white;
    font-size: 13px;
}

/* ============================================
   页面头部
   ============================================ */
.page-hero {
    margin-top: var(--nav-height);
    padding: 70px 0 50px;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.08) 0%, var(--color-bg-blue) 100%);
    text-align: center;
    border-bottom: 1px solid var(--color-border-light);
}

.page-hero h1 {
    font-size: 44px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 17px;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-hero { padding: 50px 0 30px; }
    .page-hero h1 { font-size: 36px; }
    .page-hero p { font-size: 15px; }
}

/* ============================================
   产品详情页
   ============================================ */
.products-detail { padding: 80px 0; }

.product-category { margin-bottom: 70px; }

.category-header {
    text-align: center;
    margin-bottom: 45px;
}

.category-header h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--color-heading);
}

.category-header p {
    font-size: 16px;
    color: var(--color-text-muted);
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.product-item {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 25px;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--color-primary-rgb), 0.3);
}

.product-image-box {
    width: 100%;
    height: 110px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: white;
    font-size: 20px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.product-item h3 {
    font-size: 19px;
    margin-bottom: 8px;
    color: var(--color-heading);
}

.product-item p {
    color: var(--color-text-light);
    font-size: 14px;
    margin-bottom: 12px;
}

.product-desc {
    background: var(--color-bg-blue);
    padding: 10px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--color-text-muted);
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 10px;
}

/* ============================================
   维修页面
   ============================================ */
.repair-detail {
    padding: 80px 0;
}

.repair-section {
    margin-bottom: 50px;
    background: var(--color-bg);
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
}

.repair-section h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--color-heading);
    border-bottom: 3px solid var(--color-primary);
    padding-bottom: 12px;
    display: inline-block; /* Make border-bottom only as wide as text */
}

.repair-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

.step {
    text-align: center;
    padding: 25px 15px;
    background: linear-gradient(135deg, var(--color-bg-blue) 0%, var(--color-bg-blue-2) 100%);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.step:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.step-number {
    width: 45px; height: 45px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin: 0 auto 12px;
}

.step h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-heading);
}

.step p {
    font-size: 13px;
    color: var(--color-text-muted);
}

.repair-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-category {
    background: linear-gradient(135deg, var(--color-bg-blue) 0%, var(--color-bg-blue-2) 100%);
    padding: 22px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.service-category h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-primary-dark);
}

.service-category ul { list-style: none; }

.service-category li {
    padding: 7px 0;
    color: var(--color-text-light);
    font-size: 14px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.service-category li:last-child { border-bottom: none; }

.warranty-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.warranty-item {
    background: linear-gradient(135deg, var(--color-bg-blue) 0%, var(--color-bg-blue-2) 100%);
    padding: 22px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.warranty-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-primary-dark);
}

.warranty-item p {
    color: var(--color-text-light);
    font-size: 14px;
    line-height: 1.7;
}

.warranty-item strong { color: var(--color-primary); font-weight: 700; }

/* ============================================
   表格
   ============================================ */
.price-table {
    overflow-x: auto;
    margin: 25px 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-bg);
}

table th {
    background: var(--gradient-primary);
    color: white;
    padding: 14px;
    text-align: left;
    font-weight: 600;
    font-size: 15px;
}

table td {
    padding: 14px;
    border-bottom: 1px solid var(--color-border-light);
    color: var(--color-text-light);
    font-size: 14px;
}

table tbody tr:nth-child(even) { background: var(--color-bg-soft); }

table tbody tr:hover { background: var(--color-bg-blue); }

.price-note {
    color: var(--color-text-muted);
    font-size: 12px;
    margin-top: 15px;
    padding: 0 10px;
}

@media (max-width: 480px) {
    table { font-size: 12px; }
    table th, table td { padding: 10px; }
}

/* ============================================
   预约表单
   ============================================ */
.appointment-form { display: grid; gap: 15px; }

.appointment-form .form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.appointment-form input,
.appointment-form textarea {
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--color-bg-soft);
}

.appointment-form input:focus,
.appointment-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.2);
    background: var(--color-bg);
}

.appointment-form textarea {
    grid-column: span 2;
    resize: vertical;
    min-height: 90px;
}

@media (max-width: 480px) {
    .appointment-form .form-group { grid-template-columns: 1fr; }
    .appointment-form textarea { grid-column: span 1; }
}

/* ============================================
   关于页面
   ============================================ */
.about-detail {
    padding: 80px 0;
}

.about-section {
    margin-bottom: 50px;
    background: var(--color-bg);
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
}

.about-section h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--color-heading);
    border-bottom: 3px solid var(--color-primary);
    padding-bottom: 12px;
    display: inline-block;
}

.section-content p {
    color: var(--color-text-light);
    font-size: 15px;
    margin-bottom: 15px;
    line-height: 1.8;
}

.mission {
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.05) 0%, var(--color-bg-blue) 100%);
    border: 2px solid rgba(var(--color-primary-rgb), 0.15);
    box-shadow: none;
}

.mission-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.mission-item {
    background: var(--color-bg);
    padding: 25px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.mission-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-primary-dark);
}

.mission-item p {
    color: var(--color-text-light);
    font-size: 14px;
    margin: 0;
}

.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.advantage-item {
    background: linear-gradient(135deg, var(--color-bg-blue) 0%, var(--color-bg-blue-2) 100%);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(var(--color-primary-rgb), 0.15);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.advantage-icon {
    width: 60px; height: 60px;
    margin: 0 auto 15px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.advantage-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-heading);
}

.advantage-item p {
    color: var(--color-text-light);
    font-size: 14px;
    margin: 0;
}

/* ============================================
   荣誉
   ============================================ */
.honors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.honor-item {
    background: linear-gradient(135deg, #fffcf5 0%, #fff0d9 100%); /* 柔和的米色/金色渐变 */
    padding: 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 2px solid #FFC107;
    box-shadow: var(--shadow-sm);
}

.honor-badge {
    width: 55px; height: 55px;
    margin: 0 auto 10px;
    background: #FFC107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.honor-item p {
    color: var(--color-text-dark);
    font-weight: 600;
    margin: 0;
    font-size: 14px;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.stat {
    background: var(--gradient-primary);
    color: white;
    padding: 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .company-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .company-stats { grid-template-columns: 1fr; }
}

.recruitment {
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.05) 0%, var(--color-bg-blue) 100%);
    border: 2px solid rgba(var(--color-primary-rgb), 0.15);
    box-shadow: none;
}

.recruitment p {
    color: var(--color-text-light);
    font-size: 15px;
    margin-bottom: 20px;
}

.job-positions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.job-item {
    background: var(--color-bg);
    padding: 25px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.job-item h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-primary-dark);
}

.job-item p {
    color: var(--color-text-light);
    font-size: 13px;
    margin: 6px 0;
}

.apply-info {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 14px;
    margin-top: 30px;
}

.apply-info a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 600;
}

/* ============================================
   FAQ 页面
   ============================================ */
.faq-detail { padding: 80px 0; }

.faq-category { margin-bottom: 40px; }

.faq-category h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--color-heading);
    border-left: 4px solid var(--color-primary);
    padding-left: 15px;
}

.faq-items {
    display: grid;
    gap: 15px;
}

.faq-item {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 20px;
    background: linear-gradient(135deg, var(--color-bg-blue) 0%, var(--color-bg-blue-2) 100%);
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin: 0;
}

.faq-question .toggle-icon {
    font-size: 20px;
    color: var(--color-primary);
    transition: transform 0.3s ease-in-out;
}

.faq-item.active .faq-question .toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 20px;
    border-top: 1px solid var(--color-border-light);
    display: none; /* Hidden by default */
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    color: var(--color-text-light);
    font-size: 14px;
    margin: 0;
    line-height: 1.7;
}

.faq-section {
    background: var(--color-bg);
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border-light);
    margin-top: 40px;
    box-shadow: var(--shadow-sm);
}

.faq-section h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--color-heading);
    border-bottom: 3px solid var(--color-primary);
    padding-bottom: 12px;
    display: inline-block;
}

.faq-section p {
    color: var(--color-text-light);
    font-size: 15px;
    margin-bottom: 18px;
}

.contact-support {
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.05) 0%, var(--color-bg-blue) 100%);
    border: 2px solid rgba(var(--color-primary-rgb), 0.15);
    box-shadow: none;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.method {
    background: var(--color-bg);
    padding: 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    border-left: 4px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.method h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-heading);
}

.method p {
    color: var(--color-text-light);
    font-size: 14px;
    margin: 6px 0;
}

.tip {
    font-size: 12px;
    color: var(--color-text-muted);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}
