/* 完全仿照 www.xinbor.com 模板 - 蓝色调 */
:root {
    --primary: #0066cc;
    --primary-dark: #004499;
    --primary-light: #3399ff;
    --text: #333;
    --text-light: #666;
    --border: #e0e0e0;
    --bg-light: #f0f7ff;
    --white: #ffffff;
}

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

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 分类筛选按钮 */
.btn-filter {
    padding: 8px 20px;
    border: 2px solid var(--primary);
    border-radius: 20px;
    color: var(--primary);
    font-size: 14px;
    transition: all 0.3s;
}
.btn-filter:hover {
    background: var(--primary);
    color: white;
}
.btn-filter.active {
    background: var(--primary);
    color: white;
}

/* 产品分类标签 */
.product-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 12px;
    font-size: 12px;
    margin-bottom: 8px;
    font-weight: 500;
}

/* 顶部栏 */
.top-bar {
    background: #f8f8f8;
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    font-size: 12px;
    color: var(--text-light);
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-left { display: flex; align-items: center; gap: 20px; }
.logo-small { font-size: 16px; font-weight: bold; color: var(--primary); }

/* 导航 */
.header-nav {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.header-nav .container { display: flex; justify-content: space-between; align-items: center; }
.logo {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary);
    letter-spacing: 2px;
}
.nav-menu { display: flex; gap: 5px; }
.nav-menu a {
    display: block;
    padding: 12px 20px;
    color: white;
    background: var(--primary);
    font-weight: 500;
    border-radius: 4px;
}
.nav-menu a:hover { background: var(--primary-dark); }
.nav-buttons { display: flex; gap: 10px; }
.btn-nav {
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}
.btn-nav-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
}
.btn-nav-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

/* 轮播图 */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}
.slider-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    background-size: cover !important;
    background-position: center !important;
}
.slider-item.active { opacity: 1; }
.slider-content {
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 20px;
    z-index: 10;
}
.slider-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 25px;
    font-size: 14px;
    margin-bottom: 30px;
}
.slider-title {
    font-size: 52px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
}
.slider-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
}
.slider-buttons { display: flex; gap: 20px; justify-content: center; margin-bottom: 70px; }
.btn-slider {
    padding: 16px 45px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}
.btn-slider-primary {
    background: white;
    color: var(--primary);
    border: 2px solid white;
}
.btn-slider-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}
.slider-stats {
    display: flex;
    justify-content: center;
    gap: 90px;
}
.stat-item { text-align: center; }
.stat-number {
    display: block;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}
.stat-label {
    font-size: 14px;
    opacity: 0.8;
}
.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}
.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}
.slider-dot.active {
    background: white;
    transform: scale(1.3);
}

/* Section */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-subtitle {
    color: var(--text-light);
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 15px;
}
.section-title {
    font-size: 36px;
    color: var(--text);
    font-weight: bold;
}

/* 产品中心 */
.products-section { background: var(--white); }
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}
.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0,102,204,0.15);
    border-color: var(--primary);
}
.product-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    margin: 0 auto 20px;
}
.product-name {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}
.product-desc {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.8;
}
.product-link {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
}
.section-action { text-align: center; }
.btn-section {
    padding: 14px 45px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

/* 关于我们 */
.about-section { background: var(--bg-light); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.about-content h2 {
    font-size: 30px;
    margin-bottom: 25px;
    color: var(--text);
}
.about-content p {
    color: var(--text-light);
    line-height: 2.2;
    margin-bottom: 25px;
    text-indent: 2em;
}
.about-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 380px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 90px;
}

/* 新闻资讯 */
.news-section { background: var(--white); }
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}
.news-card {
    display: flex;
    gap: 25px;
    padding: 25px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s;
}
.news-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-color: var(--primary);
}
.news-date {
    display: inline-block;
    text-align: center;
}
.news-date .day {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: var(--primary);
    line-height: 1;
}
.news-date .month {
    font-size: 12px;
    margin-top: 4px;
    display: block;
    color: #dc3545;
    font-weight: bold;
    line-height: 1;
}
.news-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.4;
}
.news-content h3 a { color: var(--text); }
.news-content h3 a:hover { color: var(--primary); }
.news-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
}

/* 会员推广 */
.member-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 80px 0;
    text-align: center;
    color: white;
}
.member-title {
    font-size: 34px;
    font-weight: bold;
    margin-bottom: 18px;
}
.member-subtitle {
    font-size: 17px;
    opacity: 0.95;
    margin-bottom: 45px;
}
.member-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    max-width: 950px;
    margin: 0 auto 55px;
    text-align: left;
}
.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 10px;
}
.benefit-icon {
    font-size: 28px;
    flex-shrink: 0;
}
.benefit-text {
    font-size: 14px;
    line-height: 1.8;
}
.member-buttons { display: flex; gap: 20px; justify-content: center; }
.btn-member {
    padding: 16px 45px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}
.btn-member-white {
    background: white;
    color: var(--primary);
    border: none;
}
.btn-member-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

/* 页脚 */
.footer {
    background: #1a1a2e;
    color: rgba(255,255,255,0.7);
    padding: 35px 0;
    text-align: center;
    font-size: 13px;
}
.footer p { margin-bottom: 8px; }

/* 认证页面 */
.auth-page {
    min-height: calc(100vh - 200px);
    background: var(--bg-light);
    padding: 80px 0;
}
.auth-container {
    max-width: 460px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.auth-header { text-align: center; margin-bottom: 40px; }
.auth-header h2 {
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 12px;
}
.form-group { margin-bottom: 24px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}
.form-group input {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
}
.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

/* 响应式 */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .member-benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .slider-title { font-size: 36px; }
    .slider-stats { flex-wrap: wrap; gap: 30px; }
    .products-grid, .about-grid, .member-benefits, .news-grid { grid-template-columns: 1fr; }
    .nav-menu { display: none; }
}
