﻿/* ================================================
   共享样式系统 (Shared Design System)
   ================================================ */
:root {
    --color-primary: #0b1d31;
    --color-primary-light: #142d4f;
    --color-accent: #1a73e8;
    --color-accent-dark: #1557b0;
    --color-accent-light: #e8f0fe;
    --color-text: #1e293b;
    --color-text-secondary: #64748b;
    --color-text-light: #94a3b8;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-bg-dark: #0b1d31;
    --color-border: #e2e8f0;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
    --max-width: 1200px;
    --nav-height: 72px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea {
    font-family: inherit;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.text-center {
    text-align: center;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226,232,240,0.5);
    transition: var(--transition-base);
}

    .nav.scrolled {
        box-shadow: 0 1px 12px rgba(0,0,0,0.06);
    }

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--color-accent), #0d47a1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

    .nav-links a {
        padding: 8px 18px;
        font-size: 14px;
        font-weight: 500;
        color: var(--color-text-secondary);
        border-radius: 6px;
        transition: var(--transition-fast);
    }

        .nav-links a:hover {
            color: var(--color-accent);
            background: var(--color-accent-light);
        }

        .nav-links a.active {
            color: var(--color-accent);
            font-weight: 600;
        }

            .nav-links a.active::after {
                content: '';
                position: absolute;
                bottom: 2px;
                left: 50%;
                transform: translateX(-50%);
                width: 20px;
                height: 2px;
                background: var(--color-accent);
                border-radius: 1px;
            }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 22px;
    background: var(--color-accent);
    color: #fff !important;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition-fast);
}

    .nav-cta:hover {
        background: var(--color-accent-dark);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(26,115,232,0.3);
    }

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
}

    .nav-hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--color-primary);
        border-radius: 2px;
        transition: var(--transition-fast);
    }

    .nav-hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

.mobile-nav {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-base);
    z-index: 999;
}

    .mobile-nav.open {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-nav a {
        font-size: 22px;
        font-weight: 500;
        color: var(--color-text-secondary);
        padding: 14px 32px;
        border-radius: 8px;
        transition: var(--transition-fast);
    }

        .mobile-nav a:hover, .mobile-nav a.active {
            color: var(--color-accent);
            background: var(--color-accent-light);
        }

    .mobile-nav .nav-cta {
        margin-top: 16px;
        font-size: 16px;
        padding: 14px 40px;
    }

/* Footer */
.footer {
    background: var(--color-bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand .nav-logo {
    color: #fff;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    max-width: 320px;
}

.footer-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    padding: 6px 0;
    transition: var(--transition-fast);
}

    .footer-col a:hover {
        color: #fff;
    }

.footer-bottom {
    max-width: var(--max-width);
    margin: 40px auto 0;
    padding: 20px 24px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition-base);
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
}

    .btn-primary:hover {
        background: var(--color-accent-dark);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(26,115,232,0.3);
    }

.btn-outline {
    border: 1.5px solid var(--color-border);
    color: var(--color-text);
    background: transparent;
}

    .btn-outline:hover {
        border-color: var(--color-accent);
        color: var(--color-accent);
        transform: translateY(-2px);
    }

/* ================================================
   UNMANNED PAGE SPECIFIC
   ================================================ */

/* Page Banner */
.page-banner {
    margin-top: var(--nav-height);
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #0b1d31 0%, #0f2838 50%, #1a4a5e 100%);
    position: relative;
    overflow: hidden;
}

    .page-banner::after {
        content: '';
        position: absolute;
        top: -30%;
        right: -10%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(26,115,232,0.08) 0%, transparent 60%);
        border-radius: 50%;
    }

.page-banner-content {
    position: relative;
    z-index: 1;
}

.page-banner-breadcrumb {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    margin-bottom: 20px;
}

    .page-banner-breadcrumb a {
        color: rgba(255,255,255,0.5);
    }

        .page-banner-breadcrumb a:hover {
            color: #fff;
        }

.page-banner h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 16px;
}

.page-banner p {
    font-size: 17px;
    color: rgba(255,255,255,0.55);
    max-width: 520px;
    line-height: 1.7;
}

/* Product Showcase */
.showcase-section {
    background: var(--color-bg);
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.showcase-image {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #0b1d31, #1a3a5c);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-placeholder {
    text-align: center;
    color: rgba(255,255,255,0.12);
}

    .showcase-placeholder svg {
        width: 100px;
        height: 100px;
    }

    .showcase-placeholder p {
        font-size: 14px;
        margin-top: 12px;
    }

.showcase-text h2 {
    font-size: clamp(24px, 2.8vw, 34px);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: 20px;
}

.showcase-text p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.showcase-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.showcase-feature {
    padding: 16px;
    background: var(--color-bg-alt);
    border-radius: 8px;
    border-left: 3px solid var(--color-accent);
}

    .showcase-feature h5 {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 4px;
    }

    .showcase-feature p {
        font-size: 12px;
        color: var(--color-text-light);
        margin: 0;
    }

/* Tech Specs */
.tech-section {
    background: var(--color-bg-alt);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tech-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: var(--transition-base);
}

    .tech-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0,0,0,0.05);
    }

.tech-card-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.tech-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.tech-card p {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ===== 三包凭证模块 ===== */
.warranty-section {
    background: var(--color-bg);
    position: relative;
}

    .warranty-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--color-border), transparent);
    }

.warranty-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Warranty Form */
.warranty-form {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px;
}

    .warranty-form h3 {
        font-size: 20px;
        font-weight: 700;
        color: var(--color-primary);
        margin-bottom: 8px;
    }

    .warranty-form .form-desc {
        font-size: 14px;
        color: var(--color-text-secondary);
        margin-bottom: 28px;
        line-height: 1.7;
    }

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        color: var(--color-text);
        margin-bottom: 6px;
    }

    .form-group input {
        width: 100%;
        padding: 12px 16px;
        border: 1.5px solid var(--color-border);
        border-radius: 8px;
        font-size: 15px;
        transition: var(--transition-fast);
        background: var(--color-bg);
    }

        .form-group input:focus {
            outline: none;
            border-color: var(--color-accent);
            box-shadow: 0 0 0 3px rgba(26,115,232,0.1);
        }

    .form-group .hint {
        font-size: 12px;
        color: var(--color-text-light);
        margin-top: 6px;
    }

    .form-group input.error {
        border-color: #ef4444;
    }

.form-error-msg {
    font-size: 13px;
    color: #ef4444;
    display: none;
    margin-bottom: 12px;
}

    .form-error-msg.show {
        display: block;
    }

/* Warranty Certificate */
.warranty-result {
    display: none;
}

    .warranty-result.show {
        display: block;
    }

.certificate {
    background: #fff;
    border: 2px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    animation: certFadeIn 0.5s ease;
}

@keyframes certFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cert-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .cert-header h3 {
        color: #fff;
        font-size: 18px;
        font-weight: 700;
    }

    .cert-header .cert-badge {
        padding: 4px 14px;
        border-radius: 20px;
        background: rgba(255,255,255,0.15);
        color: rgba(255,255,255,0.8);
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.05em;
    }

.cert-body {
    padding: 32px;
}

.cert-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cert-info-item {
}

    .cert-info-item .label {
        font-size: 11px;
        color: var(--color-text-light);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 4px;
    }

    .cert-info-item .value {
        font-size: 15px;
        font-weight: 600;
        color: var(--color-text);
    }

.cert-footer {
    padding: 20px 32px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .cert-footer .stamp {
        font-size: 24px;
        opacity: 0.6;
    }

    .cert-footer .cert-legal {
        font-size: 12px;
        color: var(--color-text-light);
    }

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tech-grid {
        grid-template-columns: 1fr 1fr;
    }

    .warranty-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .container {
        padding: 0 16px;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .showcase-features {
        grid-template-columns: 1fr;
    }

    .warranty-form {
        padding: 24px;
    }

    .cert-body {
        padding: 20px;
    }

    .cert-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cert-header {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .page-banner {
        padding: 100px 0 60px;
    }
}
/* ================================================
   移动端 Footer 统一优化 (适用于所有页面)
   添加到每个 CSS 文件末尾即可生效
   ================================================ */

/* 主屏手机 (≤600px) */
@media (max-width: 600px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr; /* 两列布局 */
        gap: 24px 20px;
        padding: 0 20px;
    }

    /* 品牌简介跨两列，居中显示 */
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 4px;
    }

        .footer-brand .nav-logo {
            font-size: 18px;
            justify-content: center;
        }

        .footer-brand .nav-logo-img {
            height: 30px;
        }

        .footer-brand p {
            font-size: 13px;
            max-width: 100%;
            text-align: center;
            margin: 0 auto;
        }

    /* 其余栏目自然排成两列 */
    .footer-col h4 {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .footer-col a {
        font-size: 13px;
        padding: 4px 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
        text-align: center;
        font-size: 12px;
        padding: 16px 20px 0;
        margin-top: 28px;
    }
}

/* 超小屏设备 (≤400px) 进一步收紧间距 */
@media (max-width: 400px) {
    .footer-inner {
        gap: 16px 12px;
        padding: 0 14px;
    }

    .footer-brand p {
        font-size: 12px;
    }

    .footer-col h4 {
        font-size: 12px;
    }

    .footer-col a {
        font-size: 12px;
        padding: 3px 0;
    }
}
