/* ========================================
   九可医疗 - 高原制氧机官网主题样式
   ======================================== */

/* ========== CSS变量 ========== */
:root {
    --primary-color: #1a73e8;
    --primary-dark: #1557b0;
    --primary-light: #4a90f5;
    --secondary-color: #00bfa5;
    --accent-color: #00c853;
    --text-dark: #1a2332;
    --text-body: #4a5568;
    --text-light: #718096;
    --bg-white: #ffffff;
    --bg-light: #f7fafc;
    --bg-gray: #edf2f7;
    --bg-dark: #1a2332;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-primary: 0 4px 20px rgba(26, 115, 232, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1200px;
    --header-height: 72px;
}

/* ========== 重置与基础 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-body);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
}

/* ========== 通用工具类 ========== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.text-primary {
    color: var(--primary-color);
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1), rgba(0, 191, 165, 0.1));
    color: var(--primary-color);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-dark), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== 按钮样式 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    line-height: 1.4;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(26, 115, 232, 0.4);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 18px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
}

/* ========== 顶部导航 ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--border-color);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
    font-weight: 700;
}

.site-title:hover {
    color: var(--primary-color);
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-cn {
    font-size: 18px;
    color: var(--text-dark);
}

.logo-en {
    font-size: 11px;
    color: var(--text-light);
    letter-spacing: 1px;
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-body);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-color);
    background: rgba(26, 115, 232, 0.08);
}

.header-cta {
    margin-left: 20px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========== 模块1：Hero区 ========== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6fffa 50%, #f0fff4 100%);
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: white;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-body);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-product {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-product-img {
    max-width: 450px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.hero-product-placeholder {
    position: relative;
    width: 350px;
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.product-device {
    width: 200px;
    height: 350px;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    position: relative;
}

.device-screen {
    width: 120px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
}

.device-body {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.device-button {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.device-vents {
    width: 100px;
    height: 60px;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 4px,
        rgba(0, 0, 0, 0.1) 4px,
        rgba(0, 0, 0, 0.1) 6px
    );
    border-radius: 8px;
}

.product-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}

.badge-icon {
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 14px;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    font-size: 20px;
}

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

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ========== 模块2：公司简介 ========== */
.about-section {
    background: var(--bg-white);
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

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

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--bg-gray), var(--bg-light));
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--text-light);
}

.placeholder-icon {
    font-size: 64px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.value-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    background: white;
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.value-title {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.value-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 发展历程时间轴 */
.about-timeline {
    margin-top: 60px;
}

.timeline-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    margin-bottom: 30px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-item:nth-child(odd)::before {
    right: -8px;
}

.timeline-item:nth-child(even)::before {
    left: -8px;
}

.timeline-year {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.timeline-content {
    background: var(--bg-light);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.timeline-content:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.timeline-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-light);
}

/* ========== 模块3：产品展示 ========== */
.products-section {
    background: var(--bg-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-card.featured {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.product-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.product-image {
    position: relative;
    height: 280px;
    background: linear-gradient(135deg, #f0f7ff, #e6fffa);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    max-height: 240px;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    height: 100%;
}

.mini-device, .pro-device, .max-device {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.mini-device {
    width: 80px;
    height: 140px;
}

.mini-screen {
    width: 50px;
    height: 35px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
}

.mini-body {
    flex: 1;
    width: 40px;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0, 0, 0, 0.1) 3px,
        rgba(0, 0, 0, 0.1) 4px
    );
    border-radius: 4px;
}

.pro-device {
    width: 100px;
    height: 180px;
}

.pro-screen {
    width: 65px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.pro-body {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.pro-buttons {
    display: flex;
    gap: 8px;
}

.pro-buttons::before, .pro-buttons::after {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
}

.pro-vents {
    width: 60px;
    height: 40px;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0, 0, 0, 0.1) 3px,
        rgba(0, 0, 0, 0.1) 4px
    );
    border-radius: 6px;
}

.max-device {
    width: 130px;
    height: 200px;
}

.max-screen {
    width: 90px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.max-body {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.max-panel {
    width: 80px;
    height: 30px;
    background: var(--bg-gray);
    border-radius: 6px;
}

.max-vents {
    width: 80px;
    height: 50px;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 4px,
        rgba(0, 0, 0, 0.1) 4px,
        rgba(0, 0, 0, 0.1) 5px
    );
    border-radius: 6px;
}

.product-category {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
}

.product-badge-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: white;
    color: var(--primary-color);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.product-badge-tag.hot {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
}

.product-badge-recommend {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--accent-color), #00e676);
    color: white;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.product-info {
    padding: 30px;
}

.product-name {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.product-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.spec-item {
    text-align: center;
}

.spec-label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.spec-value {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

/* ========== 模块4：产品优势 ========== */
.advantages-section {
    background: var(--bg-white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.advantage-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--primary-color);
    background: white;
}

.adv-icon {
    font-size: 56px;
    margin-bottom: 24px;
}

.adv-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.adv-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 合作客户 */
.clients-section {
    margin-top: 60px;
    text-align: center;
}

.clients-title {
    font-size: 28px;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.clients-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
}

.client-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.client-logo:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.client-logo img {
    max-height: 50px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.client-logo span {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

/* ========== 模块5：联系我们 ========== */
.contact-section {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6fffa 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

.contact-info-title,
.contact-form-title {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1), rgba(0, 191, 165, 0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-item-content h4 {
    font-size: 16px;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.contact-item-content p {
    font-size: 14px;
    color: var(--text-body);
    margin-bottom: 4px;
}

.contact-hint {
    font-size: 12px !important;
    color: var(--text-light) !important;
}

.qrcode-placeholder {
    margin-top: 8px;
}

.qrcode-box {
    width: 100px;
    height: 100px;
    background: var(--bg-light);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 14px;
}

.qrcode-placeholder img {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
}

/* 表单样式 */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group .required {
    color: #f56565;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    background: linear-gradient(135deg, #f0fff4, #e6fffa);
    border: 1px solid var(--accent-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.success-icon {
    width: 36px;
    height: 36px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.form-success p {
    color: #22543d;
    font-size: 14px;
    font-weight: 500;
}

/* ========== 页脚 ========== */
.site-footer {
    background: var(--bg-dark);
    color: #a0aec0;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.footer-logo .logo-cn {
    color: white;
    font-size: 18px;
    font-weight: 700;
}

.footer-logo .logo-en {
    color: #718096;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #a0aec0;
}

.footer-title {
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0aec0;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.contact-icon {
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 13px;
    color: #718096;
}

.footer-links-bottom {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-links-bottom a {
    color: #718096;
}

.footer-links-bottom a:hover {
    color: var(--primary-light);
}

/* ========== 返回顶部 ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    color: white;
    box-shadow: 0 6px 24px rgba(26, 115, 232, 0.5);
}

/* ========== 滚动动画 ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 44px;
    }

    .section-title {
        font-size: 36px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-card.featured {
        transform: none;
    }

    .product-card.featured:hover {
        transform: translateY(-10px);
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-desc {
        font-size: 16px;
    }

    /* 导航 */
    .main-navigation {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .main-navigation.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu {
        flex-direction: column;
        gap: 4px;
    }

    .nav-menu li a {
        padding: 12px 16px;
    }

    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    /* Hero */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }

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

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        justify-content: center;
        gap: 32px;
    }

    .stat-item {
        text-align: center;
    }

    .hero-product-placeholder {
        width: 280px;
        height: 360px;
    }

    .product-device {
        width: 160px;
        height: 280px;
    }

    /* 公司简介 */
    .about-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-values {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* 时间轴 */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 50px;
        padding-right: 0;
    }

    .timeline-item::before {
        left: 12px !important;
        right: auto !important;
    }

    /* 产品 */
    .products-grid {
        grid-template-columns: 1fr;
    }

    /* 优势 */
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .clients-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 联系 */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* 页脚 */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

/* ========== WordPress 必要样式 ========== */
.alignleft {
    float: left;
    margin-right: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
    padding-top: 8px;
}

.sticky {
    /* 置顶文章样式 */
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}
