/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0a192f;
    --secondary-color: #64ffda;
    --accent-color: #00d4aa;
    --text-primary: #e6f1ff;
    --text-secondary: #8892b0;
    --bg-dark: #020c1b;
    --bg-light: #112240;
    --card-bg: rgba(17, 34, 64, 0.7);
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 45px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

/* 主视觉区 */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: 78px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(2, 12, 27, 0.3) 0%,
        rgba(2, 12, 27, 0.6) 50%,
        rgba(2, 12, 27, 0.9) 100%
    );
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 0 20px;
    max-width: 900px;
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
}

.hero-title {
    font-size: clamp(1.5rem, 3.5vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(100, 255, 218, 0.3);
    white-space: nowrap;
}

.mobile-break {
    display: inline;
}

@media (max-width: 768px) {
    .mobile-break {
        display: block;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 30px;
    font-weight: 400;
}

.hero-badges {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    padding: 8px 20px;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid var(--secondary-color);
    border-radius: 30px;
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.badge:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: translateY(-2px);
}

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

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--secondary-color);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* 通用标题样式 */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 50px;
    margin-top: 20px;
}

/* 平台介绍 */
.intro {
    padding: 100px 0;
    background: var(--bg-dark);
}

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

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

/* AI工具链 */
.tools-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.tool-card {
    width: calc(50% - 15px);
    min-width: 280px;
}

.tool-card {
    background: var(--card-bg);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 16px;
    padding: 40px 30px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.tool-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-icon {
    width: 60px;
    height: 60px;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.tool-icon svg {
    width: 30px;
    height: 30px;
    color: var(--secondary-color);
}

.tool-card:hover .tool-icon {
    background: rgba(100, 255, 218, 0.2);
    transform: scale(1.1);
}

.tool-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.tool-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.tool-link {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.tool-card:hover .tool-link {
    gap: 10px;
}

/* 孵化案例 */
.cases-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.case-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    border: 1px solid rgba(100, 255, 218, 0.1);
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.case-image {
    height: 240px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.case-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

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

.case-icon {
    font-size: 4rem;
    z-index: 1;
}

.case-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.case-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
}

.case-link {
    margin-top: 20px;
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.case-card:hover .case-link {
    gap: 15px;
}

/* 孵化服务 */
.services-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.service-item {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    background: rgba(100, 255, 218, 0.05);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-item:hover .service-icon {
    background: rgba(100, 255, 218, 0.2);
    transform: scale(1.1);
}

.service-icon svg {
    width: 30px;
    height: 30px;
    color: var(--secondary-color);
}

.service-item h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
}

/* 页脚 */
.footer {
    background: var(--bg-dark);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-weight: 600;
}

.wechat-section {
    text-align: center;
}

.qr-code {
    width: 180px;
    height: 180px;
    background: white;
    border-radius: 12px;
    padding: 10px;
    margin: 0 auto 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wechat-section p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.partners-section {
    display: flex;
    flex-direction: column;
}

.partners-logos {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.partner-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: var(--transition);
}

.partner-logo:hover {
    border-color: var(--secondary-color);
    transform: translateX(10px);
}

.partner-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.partner-logo span {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
}

/* 战略合作伙伴 */
.strategic-partners-section {
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
}

.strategic-partners-title {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.strategic-partners-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.strategic-partner-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: var(--transition);
}

.strategic-partner-logo:hover {
    border-color: var(--secondary-color);
    transform: translateX(10px);
}

.strategic-partner-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    background: #fff;
    padding: 8px;
    border-radius: 8px;
}

.strategic-partner-logo span {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.4;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 896px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-dark);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: 20px 0;
        border-top: 1px solid rgba(100, 255, 218, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 1.3rem;
    }

    .hero-content {
        top: 110px;
        max-width: 100%;
        padding: 0 15px;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .hero-badges {
        gap: 8px;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .badge {
        font-size: 0.7rem;
        padding: 5px 12px;
        white-space: nowrap;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .tools-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .tools-grid {
        display: grid;
    }

    .tool-card {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .partners-logos {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .partner-logo {
        flex-direction: column;
        text-align: center;
        min-width: 150px;
    }

    .strategic-partners-logos {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .strategic-partner-logo {
        flex-direction: row;
        text-align: left;
        padding: 16px;
        gap: 16px;
    }

    .strategic-partner-logo img {
        height: 50px;
        padding: 6px;
    }

    .strategic-partner-logo span {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .partner-logo {
        width: 100%;
    }
}

/* 滚动动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
