/* 现代化公司简介落地页样式 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* 锚点导航样式 */

.anchor-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.anchor-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.anchor-nav-item {
    position: relative;
}

.anchor-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s ease;
    padding: 12px;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    position: relative;
}

.anchor-link:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
    transform: scale(1.1);
}

.anchor-link.active {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.15);
}

.anchor-icon {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.anchor-link.active .anchor-icon {
    transform: scale(1.1);
}

.anchor-link:hover .anchor-icon {
    transform: scale(1.15);
}


/* Hero区域 */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(30, 41, 59, 0.6) 100%);
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%), radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-logo {
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-logo img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* 通用区块样式 */

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--gradient-1);
    margin: 0 auto;
    border-radius: 2px;
}


/* 关于我们部分 */

.about-section {
    background: var(--bg-light);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-card {
    background: var(--bg-white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.about-logo {
    margin-top: -30px;
}

.about-logo img {
    max-width: 150px;
    height: auto;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    margin-top: -30px;
}

.card-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}


/* 项目介绍部分 */

.projects-section {
    background: var(--bg-white);
}

.project-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-count {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

.tab-btn.active .tab-count {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.tab-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.tab-btn:hover .tab-count {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.tab-btn.active {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

.tab-icon {
    font-size: 1.2rem;
}

.project-content {
    position: relative;
    min-height: 500px;
}

.project-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.project-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-intro {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.project-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-1);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.project-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.project-desc {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 25px;
}

.project-features {
    list-style: none;
    margin-bottom: 25px;
}

.project-features li {
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.project-detail {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.cta-button {
    padding: 15px 40px;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}


/* 案例展示网格 */

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.case-item {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.case-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.case-item-large {
    grid-column: span 2;
}

.case-logo {
    padding: 20px;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    border-bottom: 1px solid #e5e7eb;
}

.case-logo img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}


/* 官网logo区域使用中等深色背景，确保白色logo可见 */

#website .case-logo {
    background: #374151 !important;
    border: 1px solid #4b5563;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}


/* 白色logo在深色背景上更清晰可见 */

#website .case-logo img {
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.1));
}


/* 小程序和平台不显示logo */

#miniprogram .case-logo,
#platform .case-logo {
    display: none !important;
}

.case-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 10px;
}

.case-item:hover .case-image img {
    transform: scale(1.05);
}


/* 链接图标样式 */

.case-link-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 45px;
    height: 45px;
    background: rgba(99, 102, 241, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.case-link-icon svg {
    width: 20px;
    height: 20px;
}

.case-item:hover .case-link-icon {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}


/* 官网案例悬停时图片变暗 */

#website .case-item:hover .case-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    transition: all 0.3s ease;
}


/* 平台案例悬停时图片变暗 */

#platform .case-item:hover .case-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    transition: all 0.3s ease;
}


/* 小程序案例特殊样式 */

#miniprogram .case-image {
    aspect-ratio: 9/16;
    background: #f3f4f6;
    border-radius: 20px;
    overflow: hidden;
    padding: 20px;
}

#miniprogram .case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    padding: 0;
    border-radius: 20px;
}


/* 小程序不显示logo */

#miniprogram .case-logo {
    display: none !important;
}


/* 小程序案例名称样式 */

.case-name {
    padding: 15px 20px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--bg-white);
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0;
}

#miniprogram .case-name {
    padding: 15px 10px;
    font-size: 0.95rem;
    line-height: 1.5;
    word-break: break-word;
}


/* 平台案例特殊样式 */

#platform .cases-grid {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 40px auto 0;
}

#platform .case-item-large {
    grid-column: span 1;
}


/* 更多案例按钮样式 */

.more-cases {
    text-align: center;
    margin-top: 50px;
    padding: 20px 0;
}

.more-cases-btn {
    display: inline-block;
    padding: 15px 50px;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.more-cases-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.more-cases-btn:hover::before {
    width: 300px;
    height: 300px;
}

.more-cases-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.more-cases-btn:active {
    transform: translateY(-1px);
}


/* 平台不显示logo */

#platform .case-logo {
    display: none !important;
}


/* 核心优势部分 */

.advantages-section {
    background: var(--bg-light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.advantage-icon svg {
    width: 35px;
    height: 35px;
}

.advantage-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.advantage-desc {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}


/* 响应式设计 */

@media (max-width: 768px) {
    .anchor-nav {
        display: none;
    }
    .anchor-nav-list {
        padding: 15px 10px;
        gap: 15px;
    }
    .anchor-link {
        width: 40px;
        height: 40px;
        padding: 10px;
    }
    .anchor-icon {
        width: 18px;
        height: 18px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .hero-logo img {
        max-width: 150px;
    }
    .section-title {
        font-size: 2rem;
    }
    .project-name {
        font-size: 2rem;
    }
    .about-card {
        padding: 30px 20px;
    }
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    .tab-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    .cases-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    .case-item-large {
        grid-column: span 1;
    }
    .case-logo {
        min-height: 80px;
        padding: 15px;
    }
    .case-logo img {
        max-width: 100px;
        max-height: 50px;
    }
    .case-name {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    #miniprogram .case-name {
        padding: 12px 8px;
        font-size: 0.85rem;
    }
    .more-cases {
        margin-top: 40px;
        padding: 15px 0;
    }
    .more-cases-btn {
        padding: 13px 45px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .anchor-nav {
        display: none;
    }
    .anchor-nav-list {
        padding: 12px 8px;
        gap: 12px;
        border-radius: 20px;
    }
    .anchor-link {
        width: 36px;
        height: 36px;
        padding: 8px;
    }
    .anchor-icon {
        width: 16px;
        height: 16px;
    }
    section {
        padding: 50px 0;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-logo img {
        max-width: 120px;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .project-tabs {
        gap: 10px;
    }
    .tab-btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .case-logo {
        min-height: 70px;
        padding: 10px;
    }
    .case-logo img {
        max-width: 80px;
        max-height: 40px;
    }
    .case-name {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    #miniprogram .case-name {
        padding: 10px 8px;
        font-size: 0.8rem;
    }
    .more-cases {
        margin-top: 30px;
        padding: 15px 0;
    }
    .more-cases-btn {
        padding: 12px 40px;
        font-size: 0.9rem;
    }
}


/* 底部联系方式样式 */

.footer-section {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo img {
    max-width: 150px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-contact {
    flex: 1;
    min-width: 300px;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.1rem;
}

.contact-item:last-child {
    align-items: flex-start;
}

.contact-item:last-child .contact-value {
    line-height: 1.6;
    word-break: break-all;
    flex: 1;
    max-width: 100%;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    min-width: 60px;
}

.contact-value {
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-value:hover {
    color: var(--primary-color);
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-copyright p {
    margin: 0;
}


/* Footer响应式样式 */

@media (max-width: 768px) {
    .footer-section {
        padding: 40px 20px 20px;
        margin-top: 50px;
    }
    .footer-content {
        flex-direction: column;
        text-align: left;
        gap: 30px;
        align-items: flex-start;
    }
    .footer-contact {
        min-width: 100%;
        width: 100%;
    }
    .footer-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
        text-align: center;
    }
    .contact-item {
        justify-content: flex-start;
        font-size: 1rem;
        align-items: flex-start;
        width: 100%;
    }
    .contact-label {
        min-width: 50px;
        flex-shrink: 0;
    }
    .contact-value {
        flex: 1;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    .contact-item:last-child .contact-value {
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

@media (max-width: 480px) {
    .footer-section {
        padding: 30px 15px 15px;
    }
    .footer-logo {
        width: 100%;
        text-align: center;
    }
    .footer-logo img {
        max-width: 120px;
    }
    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    .contact-info {
        gap: 15px;
    }
    .contact-item {
        font-size: 0.9rem;
        flex-direction: row;
        gap: 10px;
        align-items: flex-start;
    }
    .contact-item svg {
        width: 20px;
        height: 20px;
        margin-top: 3px;
    }
    .contact-label {
        min-width: 45px;
        flex-shrink: 0;
        font-size: 0.9rem;
    }
    .contact-value {
        flex: 1;
        font-size: 0.9rem;
        word-break: break-word;
        overflow-wrap: break-word;
        line-height: 1.5;
    }
    .contact-item:last-child .contact-value {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    .footer-copyright {
        padding-top: 20px;
        font-size: 0.8rem;
    }
}