/* 关于页面样式 - 严格对齐首页风格 */

/* ========== 变量 ========== */
:root {
    --color-white: #FFFFFF;
    --color-black: #0F172A;
    --color-gray: #64748B;
    --color-blue: #3B82F6;
    --color-blue-dark: #1D4ED8;
    --color-blue-light: #EFF6FF;
    --color-border: #E5E7EB;
    --color-bg-light: #F9FAFB;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);

    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ========== 重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-black);
    background: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== 容器 ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== 导航栏 ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-black);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--color-black);
    background: var(--color-bg-light);
}

/* 下拉菜单 */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray);
    background: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-dropdown-btn:hover,
.nav-dropdown.open .nav-dropdown-btn {
    color: var(--color-black);
    background: var(--color-bg-light);
}

.nav-dropdown-btn svg {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
}

.nav-dropdown.open .nav-dropdown-btn svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    min-width: 280px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
}

.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    transition: all 0.15s ease;
}

.dropdown-item:hover {
    background: var(--color-bg-light);
}

.dropdown-item.active {
    background: var(--color-blue-light);
}

.dropdown-item.active .dropdown-item-title {
    color: var(--color-blue);
}

.dropdown-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.dropdown-item-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.dropdown-item-icon.blue {
    background: var(--color-blue-light);
    color: var(--color-blue);
}

.dropdown-item-content {
    flex: 1;
}

.dropdown-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-black);
}

.dropdown-item-desc {
    font-size: 12px;
    color: var(--color-gray);
    margin-top: 2px;
}

/* 右侧按钮 */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-login {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.btn-login:hover {
    color: var(--color-black);
    background: var(--color-bg-light);
}

.btn-primary {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-blue);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--color-blue-dark);
    box-shadow: var(--shadow-md);
}

/* ========== 主内容区 ========== */
.main-content {
    padding-top: 72px;
}

/* ========== 返回按钮 ========== */
.back-button {
    position: fixed;
    top: 100px;
    left: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: transparent;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    color: #6B7280;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    z-index: 100;
}

.back-button:hover {
    background: #F9FAFB;
    border-color: #D1D5DB;
    color: #374151;
}

.back-button svg {
    width: 16px;
    height: 16px;
}

/* ========== Slogan 区 ========== */
.hero-section {
    padding: 120px 0 100px;
    text-align: center;
    background: var(--color-white);
}

.hero-section .container {
    max-width: 800px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-black);
    letter-spacing: 4px;
    margin-bottom: 24px;
}

.hero-quote {
    font-size: 20px;
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.hero-desc {
    font-size: 16px;
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-company {
    font-size: 14px;
    color: #9CA3AF;
}

/* ========== 使命区 ========== */
.mission-section {
    padding: 80px 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
}

.mission-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-blue);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.3;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-text {
    font-size: 16px;
    color: var(--color-gray);
    line-height: 2;
    margin-bottom: 20px;
}

.mission-supplement {
    font-size: 14px;
    color: #9CA3AF;
    line-height: 1.8;
}

/* ========== 业务版图 ========== */
.products-section {
    padding: 80px 0;
    background: var(--color-bg-light);
}

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

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

.product-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
}

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

.product-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 20px;
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-icon.coming-soon {
    background: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray);
}

.product-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 8px;
}

.product-desc {
    font-size: 14px;
    color: var(--color-blue);
    font-weight: 500;
    margin-bottom: 16px;
}

.product-detail {
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-blue);
    transition: all 0.2s ease;
}

.product-link:hover {
    color: var(--color-blue-dark);
    gap: 10px;
}

.product-coming {
    display: inline-block;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-gray);
    background: var(--color-bg-light);
    border-radius: 20px;
}

/* ========== 专利声明 ========== */
.patent-section {
    padding: 40px 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
}

.patent-text {
    text-align: center;
    font-size: 14px;
    color: #9CA3AF;
}

/* ========== 页脚 ========== */
.footer {
    padding: 60px 0 32px;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
}

.footer-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-black);
}

.footer-location {
    font-size: 13px;
    color: var(--color-gray);
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 4px;
}

.footer-column a {
    font-size: 14px;
    color: var(--color-gray);
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--color-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    font-size: 13px;
    color: #9CA3AF;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }

    .mobile-menu-btn {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 0 20px;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--color-white);
        border-bottom: 1px solid var(--color-border);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        z-index: 999;
    }

    .navbar-menu.active {
        display: flex;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-btn {
        width: 100%;
        justify-content: space-between;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--color-bg-light);
        padding: 8px;
        margin-top: 8px;
        min-width: 100%;
    }

    .navbar-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: none;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        cursor: pointer;
        position: relative;
        order: 3;
    }

    .mobile-menu-btn span,
    .mobile-menu-btn::before,
    .mobile-menu-btn::after {
        content: '';
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 22px;
        height: 2px;
        background: var(--color-black);
        transition: all 0.3s ease;
    }

    .mobile-menu-btn span {
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .mobile-menu-btn::before {
        top: 10px;
    }

    .mobile-menu-btn::after {
        bottom: 10px;
    }

    .mobile-menu-btn.active span {
        background: transparent;
    }

    .mobile-menu-btn.active::before {
        top: 50%;
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .mobile-menu-btn.active::after {
        bottom: 50%;
        transform: translate(-50%, 50%) rotate(-45deg);
    }

    .hero-section {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .hero-quote {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 24px;
    }
}
