/* ===== about.html 样式 - 阿里云风格 ===== */

/* ===== Hero 区块 ===== */
.about-hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0A1628 0%, #0D2B52 40%, #0A3D7A 70%, #0052D9 100%);
    padding: 120px 0 80px;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* 背景光效 */
.about-hero-bg::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(0, 82, 217, 0.25) 0%, transparent 65%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

.about-hero-bg::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 50%;
    height: 130%;
    background: radial-gradient(ellipse, rgba(0, 164, 255, 0.15) 0%, transparent 60%);
    animation: heroGlow 10s ease-in-out infinite alternate-reverse;
}

@keyframes heroGlow {
    0% { transform: scale(1) translateY(0); opacity: 0.8; }
    100% { transform: scale(1.1) translateY(20px); opacity: 1; }
}

/* 粒子背景 */
.hero-particles {
    position: absolute;
    inset: 0;
}

.hero-particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    animation: floatParticle linear infinite;
}

.hero-particles span:nth-child(1) { left: 10%; top: 20%; animation-duration: 18s; animation-delay: 0s; }
.hero-particles span:nth-child(2) { left: 25%; top: 60%; animation-duration: 22s; animation-delay: -3s; }
.hero-particles span:nth-child(3) { left: 45%; top: 35%; animation-duration: 16s; animation-delay: -6s; }
.hero-particles span:nth-child(4) { left: 65%; top: 75%; animation-duration: 20s; animation-delay: -9s; }
.hero-particles span:nth-child(5) { left: 80%; top: 15%; animation-duration: 24s; animation-delay: -12s; }
.hero-particles span:nth-child(6) { left: 88%; top: 55%; animation-duration: 19s; animation-delay: -5s; }
.hero-particles span:nth-child(7) { left: 35%; top: 85%; animation-duration: 17s; animation-delay: -8s; }
.hero-particles span:nth-child(8) { left: 55%; top: 45%; animation-duration: 21s; animation-delay: -2s; }

@keyframes floatParticle {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-300px) scale(0.5); opacity: 0; }
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.about-hero-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 500;
}

.about-hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.about-hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    font-weight: 400;
}

.about-hero-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 560px;
}

.about-hero-actions {
    display: flex;
    gap: 16px;
}

/* Hero 按钮变体 */
.btn-white {
    background: #fff;
    color: var(--primary-color);
    border-color: #fff;
}

.btn-white:hover {
    background: #F0F7FF;
    color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

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

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

/* ===== 通用 Section 头部 ===== */
.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.section-heading {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.4;
}

.section-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.section-header.center .section-tag {
    display: block;
    text-align: center;
}

.section-title {
    font-size: 34px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== 公司简介 ===== */
.intro-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 80px;
    align-items: start;
}

/* 数字墙 */
.intro-numbers {
    background: linear-gradient(135deg, #0A1628 0%, #0D2B52 100%);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    position: sticky;
    top: 80px;
}

.intro-num-item {
    text-align: center;
    padding: 16px 0;
    /* 滚动动画 */
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.intro-num-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

.intro-num-value {
    font-size: 44px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.num-unit {
    font-size: 24px;
    font-weight: 600;
}

.intro-num-label {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4px;
}

.intro-num-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.intro-num-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 8px;
}

/* 文字介绍 */
.intro-text-block {
    /* 滚动动画 */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.intro-text-block.in-view {
    opacity: 1;
    transform: translateY(0);
}

.intro-text-block p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 16px;
}

.intro-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.highlight-item:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.highlight-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-icon svg {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
}

.highlight-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.highlight-item p {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

/* ===== 核心价值观 ===== */
.values-section {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.value-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    /* 滚动动画 */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.value-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.value-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.value-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon svg {
    width: 56px;
    height: 56px;
}

.value-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== 发展历程 ===== */
.history-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.history-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* 中央时间线 */
.history-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
        transparent 0%,
        var(--primary-light) 5%,
        var(--primary-color) 30%,
        var(--primary-color) 70%,
        var(--primary-light) 95%,
        transparent 100%);
}

.history-item {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    align-items: start;
    margin-bottom: 48px;
    position: relative;
    /* 滚动动画 */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.history-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* 年份 */
.history-year {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
    text-align: right;
    padding-right: 36px;
    padding-top: 4px;
    letter-spacing: -0.01em;
}

.history-item:nth-child(even) .history-year {
    order: 3;
    text-align: left;
    padding-right: 0;
    padding-left: 36px;
}

/* 节点圆点 */
.history-node {
    grid-column: 2;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.history-node::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid var(--primary-light);
    box-shadow: 0 0 0 3px rgba(0, 82, 217, 0.15);
}

/* 内容卡片 */
.history-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.history-card:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.history-item:nth-child(odd) .history-card {
    order: 1;
    margin-right: 36px;
}

.history-item:nth-child(even) .history-card {
    order: 1;
    margin-left: 36px;
}

.history-card-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-color);
    background: var(--primary-light);
    padding: 2px 8px;
    border-radius: 10px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.history-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.history-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== 核心优势 ===== */
.advantages-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0A1628 0%, #0D2B52 50%, #0A3D7A 100%);
    position: relative;
    overflow: hidden;
}

.advantages-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at right center, rgba(0, 82, 217, 0.2) 0%, transparent 60%);
}

.advantages-section .section-tag {
    background: rgba(0, 82, 217, 0.3);
    color: #00A4FF;
}

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

.advantages-section .section-subtitle {
    color: rgba(255, 255, 255, 0.65);
}

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

.advantage-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    /* 滚动动画 */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.advantage-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

.advantage-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 164, 255, 0.4);
    transform: translateY(-4px);
}

.advantage-num {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.adv-unit {
    font-size: 26px;
    font-weight: 600;
}

.advantage-label {
    font-size: 16px;
    font-weight: 600;
    color: #00A4FF;
    margin-bottom: 12px;
}

.advantage-item p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

/* ===== 客户案例 ===== */
.customers-section {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.customer-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
    /* 滚动动画 */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.customer-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.customer-card:hover {
    background: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.customer-logo {
    margin-bottom: 16px;
}

.customer-logo svg {
    width: 120px;
    height: 48px;
}

.customer-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.customer-desc {
    font-size: 13px;
    color: var(--text-light);
}

/* ===== 联系我们 ===== */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0A1628 0%, #0D2B52 50%, #0A3D7A 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(0, 82, 217, 0.2) 0%, transparent 55%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 32px;
}

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

.contact-item-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
    color: #00A4FF;
}

.contact-item-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.contact-item-value {
    font-size: 15px;
    color: #fff;
    font-weight: 500;
}

/* 表单卡片 */
.contact-form-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.contact-form-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-form-card > p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 28px;
}

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

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-family: inherit;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(0, 82, 217, 0.1);
}

.btn-block {
    width: 100%;
}

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

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

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .intro-numbers {
        position: static;
        display: flex;
        gap: 0;
        padding: 32px;
    }

    .intro-num-item {
        flex: 1;
    }

    .intro-num-divider {
        width: 1px;
        height: auto;
        margin: 0;
    }

    .intro-highlights {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .about-hero-title {
        font-size: 28px;
    }

    .about-hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .history-timeline::before {
        left: 20px;
    }

    .history-item {
        grid-template-columns: 40px 1fr;
        gap: 0;
    }

    .history-year {
        order: 1;
        grid-column: 1;
        grid-row: 1;
        text-align: left;
        padding: 0;
        font-size: 16px;
        align-self: center;
        padding-left: 8px;
    }

    .history-node {
        order: 0;
        grid-column: 1;
        grid-row: 2;
        padding-top: 0;
    }

    .history-card {
        order: 2;
        grid-column: 2;
        margin: 0 !important;
    }

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

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

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .intro-numbers {
        flex-direction: column;
    }

    .intro-num-divider {
        width: auto;
        height: 1px;
        margin: 8px 0;
    }

    .intro-highlights {
        grid-template-columns: 1fr;
    }

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