/* ===== 基础变量 ===== */
:root {
    --navy: #0A192F;
    --deep-navy: #0D1B2A;
    --red: #C1121F;
    --coral: #E63946;
    --gray: #E0E0E0;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --text-dark: #1A1A2E;
    --text-muted: #6B7280;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: var(--white);
    color: var(--navy);
    line-height: 1.7;
}

/* ===== 导航栏 ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 3px solid var(--navy);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 8%;
    box-shadow: 0 4px 20px rgba(10, 25, 47, 0.1);
}

.logo {
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.logo span {
    color: var(--red);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--red);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-primary {
    padding: 12px 28px;
    background: var(--red);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(193, 18, 31, 0.3);
}

/* ===== HERO 区域 ===== */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--deep-navy) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(193, 18, 31, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 85%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.text-side {
    flex: 0 0 55%;
}

.main-title {
    font-size: 4.5rem;
    line-height: 1.1;
    color: white;
    font-weight: 300;
    margin-bottom: 30px;
}

.highlight {
    color: var(--red);
    font-weight: 800;
}

.sub-title {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-tags {
    display: flex;
    gap: 15px;
}

.hero-tags span {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.image-side {
    flex: 0 0 40%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-img {
    width: 100%;
    max-width: 550px;
    filter: drop-shadow(0 0 60px rgba(193, 18, 31, 0.4));
    animation: float 6s ease-in-out infinite;
}

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

.img-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(193, 18, 31, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.3; }
}

/* ===== 通用容器 ===== */
.container {
    width: 85%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    border-left: 8px solid var(--red);
    padding-left: 25px;
    margin-bottom: 60px;
    font-weight: 700;
}

.section-title.light {
    color: white;
    border-left-color: var(--red);
}

/* ===== 商业范式 ===== */
.vision-card {
    display: flex;
    align-items: center;
    gap: 60px;
    background: var(--light-gray);
    padding: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.vision-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.vision-card img {
    width: 55%;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(10, 25, 47, 0.15);
}

.vision-desc {
    flex: 1;
}

.vision-desc p {
    font-size: 1.2rem;
    line-height: 2;
    color: var(--text-dark);
}

/* ===== 超级引擎展示 ===== */
.engine-display {
    background: var(--light-gray);
}

.engine-display h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
}

.full-width-img {
    width: 100%;
    border: 1px solid var(--gray);
    box-shadow: 0 30px 80px rgba(10, 25, 47, 0.1);
}

.caption {
    text-align: center;
    margin-top: 30px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* ===== 核心架构（深色板块） ===== */
.dark-section {
    background: linear-gradient(180deg, var(--deep-navy) 0%, var(--navy) 100%);
    color: white;
}

.arch-box {
    display: flex;
    gap: 60px;
    align-items: center;
}

.arch-visual {
    flex: 1;
    position: relative;
}

.arch-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.arch-info {
    flex: 1;
}

.arch-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--red);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s ease;
}

.arch-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.arch-icon {
    font-size: 1.5rem;
}

.arch-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.arch-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.shield {
    font-size: 1.5rem;
    animation: shieldPulse 3s ease-in-out infinite;
}

@keyframes shieldPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ===== B端标品 ===== */
.product-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.cycle-img {
    width: 45%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(10, 25, 47, 0.12);
}

.product-desc {
    flex: 1;
}

.product-item {
    padding: 30px;
    background: var(--light-gray);
    margin-bottom: 20px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(30px);
}

.product-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.product-item:hover {
    border-left-color: var(--red);
}

.product-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.product-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.product-note {
    margin-top: 30px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* ===== 视频 SOP ===== */
.sop-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--deep-navy) 100%);
    color: white;
}

.sop-visual {
    text-align: center;
    margin-bottom: 60px;
}

.sop-visual img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.sop-flow {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.sop-step {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 20px;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    position: relative;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s ease;
}

.sop-step.visible {
    opacity: 1;
    transform: scale(1);
}

.sop-step::after {
    content: '→';
    position: absolute;
    right: -22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--red);
    font-size: 1.3rem;
}

.sop-step:last-child::after {
    display: none;
}

.step-label {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.step-efficiency {
    display: block;
    color: var(--red);
    font-weight: 700;
    font-size: 1.6rem;
}

.sop-summary {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.sop-summary .highlight {
    font-size: 1.5rem;
}

.tech-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.tech-tags span {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.tech-tags span.visible {
    opacity: 1;
    transform: translateY(0);
}

.tech-tags span:hover {
    background: var(--red);
    border-color: var(--red);
}

/* ===== ROI 矩阵 ===== */
.roi-section {
    background: white;
}

.roi-visual {
    text-align: center;
    margin-bottom: 50px;
}

.roi-img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(10, 25, 47, 0.12);
}

.table-wrapper {
    overflow-x: auto;
    margin-bottom: 40px;
}

.roi-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 20px 20px 0 var(--navy);
}

.roi-table th,
.roi-table td {
    padding: 25px 30px;
    border: 1px solid var(--gray);
    text-align: left;
}

.roi-table th {
    background: var(--light-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.roi-table th.active {
    background: var(--red);
    color: white;
}

.roi-table tbody tr:hover {
    background: rgba(193, 18, 31, 0.03);
}

.red-text {
    color: var(--red);
    font-weight: 700;
    font-size: 1.1rem;
}

.case-study {
    background: linear-gradient(135deg, var(--navy) 0%, var(--deep-navy) 100%);
    padding: 35px 45px;
    color: white;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.case-study::before {
    content: 'CASE';
    position: absolute;
    top: 5px;
    right: 25px;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    letter-spacing: 8px;
}

.case-study strong {
    color: var(--red);
}

/* ===== 范式矩阵 ===== */
.paradigm-section {
    background: var(--light-gray);
}

.paradigm-section .container {
    text-align: center;
}

.paradigm-img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(10, 25, 47, 0.12);
}

/* ===== 页脚 ===== */
.final-footer {
    background: linear-gradient(135deg, var(--navy) 0%, var(--deep-navy) 100%);
    color: white;
    text-align: center;
}

.final-footer h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.final-footer > .container > p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.footer-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ===== 水印 ===== */
.brand-watermark {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 0.7rem;
    color: rgba(10, 25, 47, 0.5);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.brand-watermark::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
}

.brand-watermark.light {
    color: rgba(255, 255, 255, 0.4);
}

/* ===== 动画 ===== */
.animate {
    opacity: 0;
    transition: all 0.6s ease;
}

.animate.visible {
    opacity: 1;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 120px 0 80px;
    }
    
    .text-side {
        flex: none;
        width: 100%;
    }
    
    .main-title {
        font-size: 3rem;
    }
    
    .hero-tags {
        justify-content: center;
    }
    
    .image-side {
        flex: none;
        margin-top: 50px;
    }
    
    .floating-img {
        max-width: 350px;
    }
    
    .arch-box,
    .product-layout,
    .vision-card {
        flex-direction: column;
    }
    
    .vision-card img,
    .cycle-img {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        border-left-width: 5px;
    }
    
    .sop-flow {
        flex-direction: column;
        align-items: center;
    }
    
    .sop-step {
        max-width: 100%;
    }
    
    .sop-step::after {
        content: '↓';
        right: 50%;
        top: auto;
        bottom: -22px;
        transform: translateX(50%);
    }
    
    .roi-table th,
    .roi-table td {
        padding: 15px;
        font-size: 0.85rem;
    }
    
    .red-text {
        font-size: 1rem;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 15px;
    }
}
