/* ========== 新页面样式 ========== */
.section-header {
    padding: 6rem 0 3rem;
    text-align: center;
}

.section-header .section-title {
    font-size: 3rem;
}

.section-header .section-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
}

.stats-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

/* 关于我们页面 */
.about-intro {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-intro h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-intro p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.team-section,
.timeline-section,
.culture-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.team-section:nth-child(even),
.timeline-section:nth-child(even) {
    background: var(--bg-primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: var(--bg-tertiary);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: var(--transition-speed);
}

.team-member:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.member-avatar {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.team-member h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.member-title {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.timeline {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 3rem;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

.timeline-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

.timeline-year {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.culture-card {
    background: var(--bg-tertiary);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.culture-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.culture-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 案例页面 */
.cases-filter-section {
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.cases-list-section {
    padding: 4rem 0;
    background: var(--bg-primary);
}

/* 优势页面 */
.advantages-main {
    padding-bottom: 4rem;
}

.tech-comparison {
    width: 100%;
    border-collapse: collapse;
    margin-top: 3rem;
}

.tech-comparison th,
.tech-comparison td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.tech-comparison th {
    background: var(--bg-tertiary);
    color: var(--primary-color);
    font-size: 1.1rem;
}

.tech-comparison td:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

.tech-comparison td:nth-child(3) {
    color: var(--primary-color);
    font-weight: 600;
}

.comparison-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

/* 文章页面 */
.articles-main {
    padding-bottom: 4rem;
}

/* 联系我们页面 */
.contact-main {
    padding-bottom: 4rem;
}

/* 响应式优化 - 新页面 */
@media (max-width: 768px) {
    .section-header .section-title {
        font-size: 2rem;
    }

    .section-header .section-subtitle {
        font-size: 1.1rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .culture-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        flex-direction: column;
    }

    .timeline::before {
        left: 50px;
        top: 0;
        bottom: 0;
        width: 2px;
        height: auto;
    }

    .timeline-item {
        display: flex;
        align-items: center;
        margin-bottom: 2rem;
    }

    .tech-comparison {
        font-size: 0.9rem;
    }

    .tech-comparison th,
    .tech-comparison td {
        padding: 1rem;
    }
}

/* ========== 优势卡片详情样式 ========== */
.advantage-card {
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.15);
}

.card-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-left: 1rem;
}

.card-details.active {
    max-height: 300px;
    opacity: 1;
    margin-top: 1.5rem;
}

.card-details p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    position: relative;
    padding-left: 0.5rem;
}

.card-details p::before {
    content: "•";
    position: absolute;
    left: -0.5rem;
    color: var(--primary-color);
}

/* 移动端优化 */
@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr !important;
    }
    
    .advantage-card {
        margin-bottom: 1.5rem;
    }
}

/* ========== 案例筛选动画 ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.case-item {
    animation: fadeIn 0.6s ease forwards;
    opacity: 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.case-image {
    position: relative;
    height: 250px;
    background: var(--bg-tertiary);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.case-placeholder {
    font-size: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    opacity: 0.5;
    transition: all 0.3s ease;
    animation: placeholder-pulse 2s infinite ease-in-out;
}

.case-item:hover .case-placeholder {
    opacity: 0.8;
    transform: scale(1.1);
}

@keyframes placeholder-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-image:hover .case-overlay {
    opacity: 1;
}

.case-preview-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.case-preview-btn:hover {
    transform: scale(1.05);
}

.case-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.case-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.case-tags {
    display: flex;
    gap: 0.5rem;
}

.tag {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 模态框样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-primary);
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 2rem;
}

.panorama-container {
    width: 100%;
    height: 400px;
    background: var(--bg-tertiary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.panorama-placeholder {
    text-align: center;
}

.panorama-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 212, 255, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.panorama-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.control-btn {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid rgba(0, 212, 255, 0.1);
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.control-btn:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

/* ========== 优势卡片视觉增强 ========== */
.toggle-indicator {
    display: inline-block;
    font-size: 0.8em;
    color: var(--primary-color);
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.advantage-card.active .toggle-indicator {
    transform: rotate(180deg);
}

.click-hint {
    font-size: 0.9em;
    color: var(--text-secondary);
    opacity: 0.8;
    font-style: italic;
}

.advantage-card.active {
    background: rgba(0, 212, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.2), 0 0 0 2px rgba(0, 212, 255, 0.1);
    transform: translateY(-5px) scale(1.02);
    z-index: 1;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .click-hint {
        display: block;
        margin-top: 0.5rem;
    }
    
    .toggle-indicator {
        font-size: 0.7em;
    }
}
