@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');


/* ===== GlowCore (Thermal) 专属主题样式 ===== */
:root {
    --thermal-primary: #10B981; /* 翠绿色 */
    --thermal-secondary: #059669; /* 深绿色 */
}

/* 选项卡渐变背景 */
.product-tab.thermal::before {
    background: linear-gradient(135deg, var(--thermal-primary), var(--thermal-secondary));
}

/* 选项卡激活状态 */
.product-tab.thermal.active {
    border-color: var(--thermal-primary);
    background: rgba(16, 185, 129, 0.15);
}

/* 详情面板顶部线条 */
.product-panel.thermal::before {
    background: linear-gradient(90deg, var(--thermal-primary), var(--thermal-secondary));
}

/* 详情面板按钮 */
.product-panel.thermal .panel-link {
    background: var(--thermal-primary);
}

/* 详情面板按钮悬停发光 */
.product-panel.thermal .panel-link:hover {
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0EA5E9;
    --secondary: #8B5CF6;
    --accent: #F59E0B;
    --danger: #EF4444;
    --dark: #0A0A0F;
    --dark-light: #14141F;
    --text: #FFFFFF;
    --text-dim: #94A3B8;
    --border: rgba(255, 255, 255, 0.06);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}


/* ===== 视频背景样式 ===== */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1) saturate(1.2);
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center top, transparent 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.8) 100%),
        linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, transparent 50%, rgba(139, 92, 246, 0.05) 100%);
    z-index: -1;
    backdrop-filter: blur(1px);
}

/* ===== Hero区域 ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 4rem 2rem;
}

.grid-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(to right, rgba(14, 165, 233, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(14, 165, 233, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    z-index: -1;
    opacity: 0.5;
}

.hero-content {
    max-width: 1100px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.5rem, 9vw, 8rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    color: var(--text);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-dim);
    max-width: 650px;
    margin: 0 auto 4rem;
    line-height: 1.75;
    font-weight: 400;
    padding: 0 1rem;
}

.scroll-hint {
    margin-top: 4rem;
    color: var(--text-dim);
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.6;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(10px); }
}

/* ===== 产品区域 ===== */
.products {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    background: transparent;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.section-intro h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.section-intro p {
    color: var(--text-dim);
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.7;
}

/* ===== 产品选择器 ===== */
.product-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.product-tab {
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.product-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-tab.featured::before {
    background: linear-gradient(135deg, var(--danger), var(--accent));
}

.product-tab:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.product-tab.active {
    border-color: var(--primary);
    background: rgba(14, 165, 233, 0.15);
}

.product-tab.featured.active {
    border-color: var(--danger);
    background: rgba(239, 68, 68, 0.15);
}

.product-tab::before {
    z-index: 0;
}

.product-tab > * {
    position: relative;
    z-index: 1;
}

.tab-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.tab-subtitle {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-weight: 500;
}

/* ===== 产品详情 ===== */
.product-details {
    max-width: 1200px;
    margin: 0 auto;
}

.product-panel {
    display: none;
    background: rgba(20, 20, 31, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    animation: slideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.product-panel.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.product-panel.featured::before {
    background: linear-gradient(90deg, var(--danger), var(--accent));
}

.panel-header {
    margin-bottom: 2.5rem;
}

.panel-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.panel-subtitle {
    color: var(--text-dim);
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 500;
}

.panel-desc {
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 3rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.panel-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.spec-label {
    color: var(--text-dim);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.spec-value {
    color: var(--text);
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 600;
}

.panel-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.product-panel.featured .panel-link {
    background: var(--danger);
}

.panel-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

.product-panel.featured .panel-link:hover {
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
}

/* ===== 技术区域 ===== */
.tech {
    padding: 6rem 2rem;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.tech-grid {
    max-width: 1200px;
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-item {
    padding: 2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.15);
}

.tech-item h3 {
    font-size: clamp(1.15rem, 3vw, 1.4rem);
    margin-bottom: 1rem;
    font-weight: 600;
}

.tech-item p {
    color: var(--text-dim);
    line-height: 1.7;
    font-size: clamp(0.95rem, 2vw, 1rem);
}

/* ===== 联系区域 ===== */
.contact {
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
}

.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.contact-wrapper h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.contact-text {
    color: var(--text-dim);
    margin-bottom: 3rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.7;
}

.email-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 2.5rem;
    background: rgba(14, 165, 233, 0.1);
    border: 2px solid var(--primary);
    border-radius: 50px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    transition: all 0.3s ease;
    word-break: break-all;
}

.email-button:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.03);
}

/* ===== 页脚 ===== */
.footer {
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-text {
    color: var(--text-dim);
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    line-height: 1.6;
}

/* ===== 移动端优化 ===== */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 1.5rem;
    }

    .products, .tech, .contact {
        padding: 4rem 1.5rem;
    }

    .product-selector {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .product-tab {
        padding: 1.25rem 1.5rem;
    }

    .product-panel {
        padding: 2rem 1.5rem;
    }

    .panel-specs {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 0;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .email-button {
        padding: 1.2rem 2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-label {
        font-size: 0.7rem;
        padding: 0.5rem 1.5rem;
    }

    .product-tab {
        padding: 1rem 1.25rem;
    }

    .tab-title {
        font-size: 1.1rem;
    }

    .tab-subtitle {
        font-size: 0.8rem;
    }

    .product-panel {
        padding: 1.5rem 1.25rem;
    }

    .panel-link {
        padding: 1rem 2rem;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }

    .tech-item {
        padding: 1.5rem;
    }
}

/* ===== 滚动动画 ===== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}