/* ========================================
   关于我们页面样式
   ======================================== */

/* ========================================
   关于我们页面 - 高级动画效果
   ======================================== */

/* 英雄区整体 - 电影级渐显 */
.about-hero {
    animation: aboutHeroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes aboutHeroFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* 英雄区内容 - 分层揭示 */
.about-hero-content {
    opacity: 0;
    animation: aboutContentLayered 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

@keyframes aboutContentLayered {
    0% {
        opacity: 0;
        transform: translateY(80px) scale(0.9);
        filter: blur(20px);
    }
    50% {
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* 徽章 - 流光滑入 */
.hero-badge {
    opacity: 0;
    animation: badgeShineSlide 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

@keyframes badgeShineSlide {
    0% {
        opacity: 0;
        transform: translateX(-80px);
        letter-spacing: 0.8em;
    }
    50% {
        letter-spacing: 0.15em;
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        letter-spacing: 0.1em;
    }
}

/* 徽章线条 - 展开动画 */
.badge-line {
    animation: badgeLineExpand 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
    transform: scaleX(0);
}

@keyframes badgeLineExpand {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}

/* 标题主文字 - 3D翻转入场 */
.title-main {
    opacity: 0;
    animation: titleMain3D 1s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
    display: inline-block;
    transform-style: preserve-3d;
}

@keyframes titleMain3D {
    0% {
        opacity: 0;
        transform: rotateX(-80deg) translateY(50px);
    }
    100% {
        opacity: 1;
        transform: rotateX(0) translateY(0);
    }
}

/* 标题副文字 - 渐显上浮 */
.title-sub {
    opacity: 0;
    animation: titleSubFloat 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.1s forwards;
    display: inline-block;
}

@keyframes titleSubFloat {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* 描述文字 - 打字机模糊渐显 */
.hero-desc {
    opacity: 0;
    animation: descBlurReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 1.3s forwards;
}

@keyframes descBlurReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(15px);
        letter-spacing: 0.2em;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
        letter-spacing: normal;
    }
}

/* 统计数据行 - 整体上浮 */
.hero-stats-row {
    opacity: 0;
    animation: statsRowRise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.5s forwards;
}

@keyframes statsRowRise {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 单个统计项 - 弹性依次弹出 */
.hero-stat:nth-child(1) {
    opacity: 0;
    animation: statBounceIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 1.7s forwards;
}
.hero-stat:nth-child(2) {
    opacity: 0;
    animation: statBounceIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 1.85s forwards;
}
.hero-stat:nth-child(3) {
    opacity: 0;
    animation: statBounceIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 2s forwards;
}

@keyframes statBounceIn {
    0% {
        opacity: 0;
        transform: scale(0) translateY(40px);
    }
    50% {
        transform: scale(1.15) translateY(-10px);
    }
    70% {
        transform: scale(0.95) translateY(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 统计数字 - 脉冲发光 */
.stat-num {
    animation: statNumPulse 2s ease-in-out 2.2s infinite;
}

@keyframes statNumPulse {
    0%, 100% {
        text-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
    }
    50% {
        text-shadow: 0 0 40px rgba(220, 38, 38, 0.6);
    }
}

/* 滚动提示 - 呼吸渐显 */
.hero-scroll {
    opacity: 0;
    animation: scrollHintBreathe 1s ease-out 2.5s forwards;
}

@keyframes scrollHintBreathe {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 背景光晕 - 呼吸效果 */
.hero-glow {
    animation: glowBreathe 4s ease-in-out infinite;
}

@keyframes glowBreathe {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

/* 背景网格 - 渐显 */
.hero-pattern {
    opacity: 0;
    animation: patternFadeIn 2s ease-out 0.5s forwards;
}

@keyframes patternFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0.5;
    }
}

/* CSS变量定义（确保独立使用时的兼容性） */
:root {
    --primary-color: #DC2626;
    --primary-dark: #B91C1C;
    --primary-light: #FEE2E2;
    --secondary-color: #1F2937;
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-dark: #111827;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========================================
   关于我们页面 - Hero区域样式
   ======================================== */

.about-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 50%, #16213e 100%);
}

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(220, 38, 38, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(220, 38, 38, 0.05) 0%, transparent 70%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.about-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.badge-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.8), transparent);
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.hero-title {
    margin-bottom: 24px;
}

.title-main {
    display: block;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: 8px;
    text-shadow: 0 0 80px rgba(220, 38, 38, 0.3);
}

.title-sub {
    display: block;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 12px;
}

.hero-desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 500px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

.hero-stats-row {
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #DC2626;
    margin-bottom: 8px;
}

.stat-name {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(220, 38, 38, 0.8), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* 响应式 */
@media (max-width: 768px) {
    .about-hero {
        min-height: auto;
        padding: 140px 0 100px;
    }
    
    .hero-stats-row {
        gap: 32px;
    }
    
    .badge-line {
        width: 40px;
    }
    
    .title-main {
        letter-spacing: 4px;
    }
    
    .title-sub {
        letter-spacing: 6px;
    }
}

/* 企业使命 */
.mission-section {
    background: white;
    padding: 100px 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 24px;
}

.mission-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.3;
}

.mission-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.mission-stats {
    display: flex;
    gap: 48px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* 使命视觉 */
.mission-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-graphic {
    position: relative;
    width: 400px;
    height: 400px;
}

.core-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(145deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    box-shadow: 0 20px 60px rgba(220, 38, 38, 0.4);
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
}

.orbit-ring.ring-1 {
    width: 180px;
    height: 180px;
    animation: rotate 20s linear infinite;
}

.orbit-ring.ring-2 {
    width: 260px;
    height: 260px;
    animation: rotate 30s linear infinite reverse;
}

.orbit-ring.ring-3 {
    width: 340px;
    height: 340px;
    animation: rotate 40s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.floating-icon svg {
    width: 28px;
    height: 28px;
}

.floating-icon.icon-1 {
    top: 10%;
    right: 15%;
    animation-delay: 0s;
}

.floating-icon.icon-2 {
    bottom: 20%;
    right: 5%;
    animation-delay: 1s;
}

.floating-icon.icon-3 {
    bottom: 30%;
    left: 5%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

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

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

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 64px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    padding-right: 64px;
    padding-left: 0;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition-normal);
}

.timeline-dot.active {
    background: var(--primary-color);
    box-shadow: 0 0 0 8px rgba(220, 38, 38, 0.2);
}

.timeline-content {
    width: 50%;
    padding-left: 64px;
}

.timeline-year {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-color);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 12px;
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 核心技术优势 */
.tech-section {
    background: white;
    padding: 100px 0;
}

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

.tech-card {
    background: var(--bg-secondary);
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.tech-card:hover {
    background: white;
    border-color: var(--border-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.tech-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition-normal);
}

.tech-card:hover .tech-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.tech-icon svg {
    width: 40px;
    height: 40px;
}

.tech-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.tech-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 企业文化 */
.culture-section {
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
    color: white;
    padding: 100px 0;
}

.culture-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.culture-content .section-label {
    background: rgba(220, 38, 38, 0.2);
    color: #FCA5A5;
}

.culture-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 40px;
}

.culture-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.value-icon {
    width: 48px;
    height: 48px;
    background: rgba(220, 38, 38, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.value-text h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.value-text p {
    font-size: 0.95rem;
    color: #9CA3AF;
    line-height: 1.6;
}

.culture-quote {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 48px;
    border-left: 4px solid var(--primary-color);
}

.culture-quote blockquote {
    margin: 0;
}

.culture-quote p {
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #E5E7EB;
}

.culture-quote cite {
    font-size: 0.95rem;
    color: #9CA3AF;
    font-style: normal;
}

/* 联系我们 */
.contact-section {
    background: var(--bg-secondary);
    padding: 100px 0;
}

.contact-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
}

.contact-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.contact-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-decoration {
    position: relative;
    width: 200px;
    height: 200px;
}

.deco-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--primary-light);
    border-radius: 50%;
}

.deco-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse-ring 2s ease-in-out infinite;
}

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

/* 响应式设计 */
@media (max-width: 1024px) {
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 64px;
    }
    
    .mission-visual {
        order: -1;
    }
    
    .mission-graphic {
        width: 300px;
        height: 300px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .culture-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .timeline-content {
        width: 100%;
        padding-left: 64px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 140px 0 60px;
    }
    
    .mission-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
        padding: 48px 32px;
    }
    
    .contact-decoration {
        margin-top: 32px;
    }
    
    .mission-graphic {
        width: 250px;
        height: 250px;
    }
    
    .floating-icon {
        width: 48px;
        height: 48px;
    }
    
    .floating-icon svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .mission-graphic {
        width: 200px;
        height: 200px;
    }
    
    .core-circle {
        width: 60px;
        height: 60px;
    }
    
    .orbit-ring.ring-1 {
        width: 120px;
        height: 120px;
    }
    
    .orbit-ring.ring-2 {
        width: 160px;
        height: 160px;
    }
    
    .orbit-ring.ring-3 {
        width: 200px;
        height: 200px;
    }
    
    .culture-quote {
        padding: 32px 24px;
    }
    
    .contact-card {
        padding: 40px 24px;
    }
}
