/* ===================================
   教育装备官网 - 多页重构版
   =================================== */

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

:root {
    --primary: #1a6dff;
    --primary-dark: #0050d4;
    --primary-light: #4d8eff;
    --accent: #ff6a00;
    --accent-hover: #e55d00;
    --text: #1a1a2e;
    --text-secondary: #5a6377;
    --text-light: #8c95a8;
    --bg: #ffffff;
    --bg-section: #f5f7fb;
    --bg-dark: #0a1628;
    --border: #e8ecf2;
    --shadow: 0 2px 20px rgba(0,0,0,0.06);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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


/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    background: var(--bg-dark);
}


.navbar.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    transition: var(--transition);
}

.navbar.scrolled .logo {
    color: var(--text);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 3px 10px rgba(26,109,255,0.3);
}

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

.logo-main {
    font-size: 1rem;
    font-weight: 700;
}

.logo-sub {
    font-size: 0.6rem;
    opacity: 0.5;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
}

.navbar.scrolled .nav-links a {
    color: var(--text-secondary);
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    background: rgba(255,255,255,0.12);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
    color: var(--primary);
    background: transparent;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
}

.navbar.scrolled .nav-search {
    color: var(--text-light);
}

.nav-search input {
    border: none;
    background: transparent;
    outline: none;
    color: inherit;
    font-size: 0.85rem;
    width: 100px;
}

.nav-phone {
    text-decoration: none;
    color: #fff;
    background: var(--accent);
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-phone:hover {
    background: var(--accent-hover);
}

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

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}

.navbar.scrolled .mobile-menu-btn span {
    background: var(--text);
}

/* ===== Hero 首屏 ===== */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 5;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero-slide-bg + .container {
    position: relative;
    z-index: 2;
}

.hero-slide-overlay {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.7) 0%, rgba(26,58,110,0.5) 60%, rgba(26,109,255,0.3) 100%);
    z-index: 10;
}

.hero-slide-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
    background-size: 40px 40px;
    z-index: 10;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 140px 0 80px;
}

.hero-slide-text {
    max-width: 580px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 28px;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary-light);
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 50px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26,109,255,0.35);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-outline-white:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

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

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.hero-stat-number span {
    font-size: 1rem;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}


/* ===== 统计数据区域 ===== */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a1628 0%, #1a3a6e 100%);
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    display: block;
    line-height: 1.2;
}

.stat-number span {
    font-size: 1.5rem;
    color: var(--primary-light);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
    display: block;
}

/* ===== 优势卡片 ===== */
.advantage-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.advantage-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}


.shape-1 {
    width: 200px;
    height: 200px;
    background: #fff;
    top: 10%;
    right: 10%;
    transform: rotate(15deg);
    animation: float1 6s ease-in-out infinite;
}

.shape-2 {
    width: 140px;
    height: 140px;
    background: var(--accent);
    bottom: 20%;
    right: 25%;
    transform: rotate(-20deg);
    animation: float2 8s ease-in-out infinite;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: var(--primary-light);
    top: 30%;
    right: 35%;
    transform: rotate(45deg);
    animation: float3 7s ease-in-out infinite;
}


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

@keyframes float2 {
    0%, 100% { transform: translateY(0) rotate(-20deg); }
    50% { transform: translateY(-10px) rotate(-20deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(-12px) rotate(45deg); }
}

/* 轮播箭头 */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
    z-index: 10;
}

.hero-arrow:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.hero-arrow-left {
    left: 24px;
}

.hero-arrow-right {
    right: 24px;
}

/* 页码计数器 */
.hero-counter {
    position: absolute;
    bottom: 36px;
    right: 40px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    z-index: 10;
}

.hero-counter-current {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

/* ===== 合作伙伴 ===== */
.partners {
    padding: 48px 0;
    background: var(--bg-section);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.partners-title {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 28px;
    font-weight: 500;
}

.partners-scroll {
    display: flex;
    gap: 40px;
    animation: scroll-partners 30s linear infinite;
    width: max-content;
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    white-space: nowrap;
    padding: 10px 20px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--border);
}

@keyframes scroll-partners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== 通用 Section ===== */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-section);
}

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

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 14px;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* ===== Why Section ===== */
.why-section {
    padding: 100px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.why-card {
    padding: 36px 30px;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    background: #fff;
    transition: var(--transition);
}

.why-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-hover);
}

.why-card-icon {
    font-size: 2rem;
    margin-bottom: 18px;
}

.why-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.why-list {
    list-style: none;
}

.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.why-list .icon {
    font-weight: 700;
    font-size: 0.8rem;
    min-width: 18px;
}

.why-card.trader .icon {
    color: #e74c3c;
}

.why-card.yours .icon,
.why-card.benefits .icon {
    color: #27ae60;
}

.why-highlight {
    text-align: center;
    padding: 24px;
    background: linear-gradient(135deg, rgba(26,109,255,0.05), rgba(26,109,255,0.02));
    border-radius: var(--radius);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text);
}

.price {
    color: var(--accent);
    font-weight: 700;
}

/* ===== About Section ===== */
.about-simple {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-simple-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
    line-height: 1.4;
}

.about-simple-desc {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.8;
    text-align: left;
}

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

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.about-features {
    list-style: none;
    margin-top: 20px;
}

.about-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.about-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    background: linear-gradient(135deg, #e8f0fe, #d4e4fc);
    border-radius: var(--radius-lg);
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 3rem;
}

.about-image p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.about-experience {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: #fff;
    padding: 20px 28px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(26,109,255,0.3);
}

.about-experience .number {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.about-experience .label {
    font-size: 0.75rem;
    opacity: 0.85;
    margin-top: 4px;
}

/* ===== Contact Section ===== */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    padding-top: 20px;
}

.contact-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e8f0fe, #d4e4fc);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.contact-form-wrapper {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
}

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

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: #fafafa;
}

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

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

.form-submit {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    margin-top: 8px;
}

/* ===== Products Section ===== */
.products {
    background: linear-gradient(180deg, #0a1628 0%, #0f2044 50%, #0a1628 100%);
    position: relative;
    overflow: hidden;
}

.products::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(26,109,255,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(26,109,255,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.products .section-tag {
    color: var(--primary-light);
}

.products .section-title {
    color: #fff;
}

.products .section-desc {
    color: rgba(255,255,255,0.6);
}

/* 首页产品区浅色背景覆盖 */
.products-light {
    background: var(--bg) !important;
    position: relative;
}

.products-light::before {
    content: '';
    display: none;
}

.products-light .section-tag {
    color: var(--primary);
}

.products-light .section-title {
    color: var(--text);
}

.products-light .section-desc {
    color: var(--text-secondary);
}

.products-light .product-card {
    background: #fff;
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow);
}

.products-light .product-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 40px rgba(26,109,255,0.15);
}

.products-light .product-info h3 {
    color: var(--text);
}

.products-light .product-desc {
    color: var(--text-secondary);
}

.products-light .product-features li {
    color: var(--text-light);
}

.products-light .product-link {
    color: var(--primary);
}

.products-light .product-image {
    min-height: 260px;
    max-height: 320px;
}

.product-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 48px;
    position: relative;
    z-index: 10;
}

.product-tab {
    padding: 10px 22px;
    border: 1.5px solid var(--border);
    background: #fff;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.product-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f0f4ff;
}

.product-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(26,109,255,0.35);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 10;
}

.product-card {
    background: rgba(255,255,255,0.04);
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: rgba(26,109,255,0.4);
    box-shadow: 0 8px 40px rgba(26,109,255,0.15);
    transform: translateY(-4px);
    background: rgba(255,255,255,0.07);
}

.product-image {
    width: 100%;
    min-height: 240px;
    max-height: 300px;
    background: linear-gradient(135deg, #f8fafc, #eef2f7);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.15) 100%);
}

.product-image img {
    width: 100%;
    height: 100%;
    max-height: 280px;
    object-fit: contain;
    object-position: center;
    position: relative;
    z-index: 10;
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.product-desc {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 14px;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    margin-bottom: 18px;
}

.product-features li {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    padding: 3px 0;
    padding-left: 16px;
    position: relative;
}

.product-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: 700;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-link {
    font-size: 0.83rem;
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
}

.product-link:hover {
    text-decoration: underline;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.82rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.btn-sm-primary {
    background: var(--primary);
    color: #fff;
}

.btn-sm-primary:hover {
    background: var(--primary-dark);
}

/* ===== Strength Section ===== */
.strength-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.strength-item {
    text-align: center;
    padding: 36px 20px;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    transition: var(--transition);
}

.strength-item:hover {
    border-color: transparent;
    box-shadow: var(--shadow-hover);
}

.strength-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.strength-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.strength-item p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
}

.image-placeholder {
    background: linear-gradient(135deg, #e8f0fe, #d4e4fc);
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 2.5rem;
    transition: var(--transition);
}

.image-placeholder:hover {
    transform: scale(1.02);
}

.image-placeholder p {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ===== Contact Section ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

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

.contact-icon {
    font-size: 1.5rem;
    min-width: 40px;
    height: 40px;
    background: rgba(26,109,255,0.06);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-text h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
}

.contact-form h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 28px;
}

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

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: var(--transition);
    background: #fff;
    color: var(--text);
}

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

.btn-full {
    width: 100%;
    padding: 14px;
    margin-top: 8px;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}

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

.footer-section h4 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.65);
}

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

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

.footer-section ul li a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-section ul li a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: #fff;
}

/* ===== Footer 2列布局（用于 about.html） ===== */
.footer-2col {
    grid-template-columns: 1.8fr 1.2fr;
    gap: 80px;
}

.footer-left,
.footer-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-brand {
    margin-bottom: 10px;
}

.footer-brand-contact p {
    margin-bottom: 6px;
    font-size: 0.88rem;
}

.footer-nav,
.footer-news,
.footer-contact {
    flex: 1;
}

.footer-nav ul,
.footer-news ul,
.footer-contact ul {
    display: grid;
    gap: 12px;
}

.footer-contact ul li {
    margin-bottom: 8px;
    font-size: 0.88rem;
}

/* ===== 浮动按钮 ===== */
.float-contact {
    position: fixed;
    bottom: 100px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 900;
}

.float-btn {
    width: 52px;
    height: 52px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(26,109,255,0.3);
    transition: var(--transition);
    position: relative;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-btn.wechat {
    background: #07c160;
    box-shadow: 0 4px 16px rgba(7,193,96,0.3);
}

.tooltip {
    position: absolute;
    right: 64px;
    background: var(--text);
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.float-btn:hover .tooltip {
    opacity: 1;
}

/* ===== 回到顶部 ===== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 900;
    box-shadow: 0 4px 12px rgba(26,109,255,0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-2px);
}

/* ===== 圆点指示器 ===== */
.hero-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: #fff;
    transform: scale(1.2);
}

.hero-dot:hover {
    background: rgba(255,255,255,0.6);
}
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: #fff;
    padding: 48px;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 400px;
}

.modal-icon {
    width: 56px;
    height: 56px;
    background: #27ae60;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    font-weight: 700;
}

.modal-box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.modal-box p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.modal-close {
    padding: 10px 32px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary-dark);
}

/* ===== 面包屑导航 ===== */
.breadcrumb {
    background: var(--bg-section);
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.breadcrumb-list li + li::before {
    content: "/";
    margin-right: 8px;
    color: var(--text-light);
}

.breadcrumb-list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-list a:hover {
    color: var(--primary);
}

.breadcrumb-list .current {
    color: var(--primary);
    font-weight: 500;
}

/* ===== 产品列表页 ===== */
.product-list-header {
    background: linear-gradient(135deg, #0a1628, #1a3a6e);
    color: #fff;
    padding: 120px 0 60px;
    text-align: center;
}

.product-list-header h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.product-list-header p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
}

/* ===== 产品详情页 ===== */
.product-detail-header {
    background: linear-gradient(135deg, #0a1628, #1a3a6e);
    color: #fff;
    padding: 120px 0 60px;
    text-align: center;
}

.product-detail-header h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.product-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.product-specs-table th,
.product-specs-table td {
    padding: 12px 16px;
    border: 1px solid var(--border);
    text-align: left;
}

.product-specs-table th {
    background: var(--bg-section);
    font-weight: 600;
    width: 20%;
}

.product-comparison {
    margin: 40px 0;
}

.product-comparison h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

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

.comparison-card {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.comparison-card.highlight {
    border-color: var(--primary);
    background: rgba(26,109,255,0.02);
}

/* ===== 资讯列表页 ===== */
.news-list-header {
    background: linear-gradient(135deg, #0a1628, #1a3a6e);
    color: #fff;
    padding: 120px 0 60px;
    text-align: center;
}

.news-list-header h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.news-list-header p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
}

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

.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.news-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.news-image {
    height: 180px;
    background: linear-gradient(135deg, #e8f0fe, #d4e4fc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.news-excerpt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
    .container {
        padding: 0 24px;
    }

    .hero-slide-content {
        padding: 120px 0 100px;
        text-align: center;
    }

    .hero-slide-text {
        max-width: 100%;
    }

    
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .why-grid,
    .products-grid,
    .strength-grid,
    .gallery-grid,
    .news-grid,
    .comparison-grid,
    .advantages-grid,
    .trust-badges {
        grid-template-columns: 1fr;
    }

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

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

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

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

@media (max-width: 768px) {
    .faq-question {
        padding: 16px 18px;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 0 18px 16px 38px;
        font-size: 0.9rem;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .detail-img {
        height: 180px;
    }
    
    .product-img {
        height: 160px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }

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

    .section-title {
        font-size: 1.6rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }

    /* 移动端显示底部固定咨询栏 */
    .mobile-cta {
        display: flex;
    }

    /* 首页产品网格在移动端改为2列 */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }

    .product-info {
        padding: 16px;
    }

    .product-info h3 {
        font-size: 0.95rem;
    }

    .product-desc {
        display: none;
    }

    .product-features {
        display: none;
    }

    .product-actions {
        flex-direction: column;
        gap: 8px;
    }

    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .trust-number {
        font-size: 2rem;
    }

    /* 浮动按钮在移动端下移 */
    .float-contact {
        bottom: 80px;
    }
}

/* ===== 核心优势（Hero与产品间过渡） ===== */
.advantages {
    padding: 60px 0;
    background: var(--bg);
}

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

.advantage-item {
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    transition: var(--transition);
}

.advantage-item:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(26,109,255,0.1);
    transform: translateY(-4px);
}

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

.advantage-item p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== 信任数据 ===== */
.trust-data {
    padding: 48px 0;
    background: var(--primary);
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.trust-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.trust-number span {
    font-size: 1.2rem;
    font-weight: 600;
}

.trust-label {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    margin-top: 8px;
}

/* ===== 信任背书区域 ===== */
.trust-section {
    padding: 80px 0;
    background: var(--bg);
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.trust-badge {
    text-align: center;
    padding: 28px 20px;
    background: var(--bg-section);
    border-radius: var(--radius);
    transition: var(--transition);
}

.trust-badge:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.trust-badge-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.trust-badge h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.trust-badge p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* ===== CTA 引导区 ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a1628, #1a3a6e);
    color: #fff;
}

.cta-section h2 {
    color: #fff;
}

.cta-section p {
    color: rgba(255,255,255,0.7);
}

/* ===== 移动端底部固定"立即咨询"按钮 ===== */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 950;
    padding: 10px 16px;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
}

.mobile-cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.mobile-cta-btn-primary {
    background: var(--primary);
    color: #fff;
}

.mobile-cta-btn:not(.mobile-cta-btn-primary) {
    background: var(--bg-section);
    color: var(--text);
}

/* ===== 首页资讯卡片（与列表页区分） ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.news-image {
    height: 160px;
    background: linear-gradient(135deg, #1a3a6e, #1a6dff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
}

.news-category-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.4);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.news-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
    line-height: 1.5;
}

/* ===== 资讯列表页分类筛选 ===== */
.news-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.news-tab {
    padding: 8px 20px;
    border: 1.5px solid var(--border);
    background: #fff;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.news-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.news-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ===== 资讯分页 ===== */
.news-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.page-btn:hover,
.page-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ===== 响应式调整 ===== */
/* 注：响应式规则已统一合并到上面的 @media 查询中，此处保留移动端特定样式 */

/* ===================================
   储能与预制舱新增样式
   =================================== */
.new-products {
    background: var(--bg-section);
}

.details-showcase {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

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

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

.detail-img {
    width: 100%;
    max-width: 320px;
    height: 240px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.detail-img:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.detail-item p {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius);
    display: block;
}

.product-image {
    position: relative;
    overflow: hidden;
}

/* ===================================
   FAQ 常见问题（GEO 优化）
   =================================== */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    background: var(--bg);
}

.faq-item:hover {
    border-color: var(--primary-light);
    box-shadow: 0 2px 12px rgba(26,109,255,0.08);
}

.faq-item[open] {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(26,109,255,0.1);
}

.faq-question {
    padding: 18px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::before {
    content: '';
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::before {
    transform: rotate(-135deg);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-answer {
    padding: 0 24px 20px 44px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

.faq-answer p {
    margin-bottom: 8px;
}

.faq-answer ul {
    margin: 12px 0;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 6px;
}

.faq-answer strong {
    color: var(--text);
}

@media (max-width: 768px) {
    .faq-question {
        padding: 16px 18px;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 0 18px 16px 38px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .detail-img {
        height: 180px;
    }
    
    .product-img {
        height: 160px;
    }
    
    /* Product cards: switch to vertical layout on mobile */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .product-image {
        width: 100%;
        height: 200px;
        min-width: 0;
    }
    
    .product-img {
        height: 160px;
    }
    
    /* Contact section: stack on mobile */
    .contact-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}
