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

:root {
    --primary-color: #0071e3;
    --primary-hover: #0077ed;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --border-color: #d2d2d7;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

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

.logo img {
    height: 32px;
    width: auto;
    transition: var(--transition);
}

.logo img:hover {
    opacity: 0.8;
}

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

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

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

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero 区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 16px;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 400;
}

.hero-description {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 32px;
    font-weight: 500;
}

.hero-cta {
    margin-top: 40px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ip-character {
    max-width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

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

/* 通用区块样式 */
.section {
    padding: 100px 24px;
    position: relative;
}

.section-alt {
    background: var(--bg-secondary);
}

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

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

.section-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    margin: 0 auto 24px;
    border-radius: 2px;
}

.section-intro {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.content-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-primary);
}

.lead-text {
    font-size: 22px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-weight: 400;
}

.content-text p {
    margin-bottom: 20px;
}

.content-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* 技术实力卡片 */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.tech-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.tech-media {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 5 / 4;
    margin: 0 auto 24px;
    overflow: hidden;
}

.tech-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tech-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.tech-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* 产品展示 */
.product-showcase {
    margin-top: 64px;
}

.product-feature {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.product-feature.reverse {
    flex-direction: row-reverse;
}

.product-image {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.product-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-content {
    flex: 1;
}

.feature-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.feature-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* 团队展示 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.team-member {
    text-align: center;
    padding: 24px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.member-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border-color);
    transition: var(--transition);
}

.team-member:hover .member-avatar {
    border-color: var(--primary-color);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.member-role {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 500;
}

.member-position {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.member-description {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: left;
    flex-grow: 1;
    margin-top: auto;
}

/* 页脚 */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 24px 40px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.footer-logo img {
    height: 32px;
    width: auto;
    opacity: 0.9;
}

.footer-text {
    font-size: 18px;
    margin-bottom: 12px;
    opacity: 0.9;
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.7;
    color: inherit;
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 24px 60px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-description {
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
    }

    .product-feature,
    .product-feature.reverse {
        flex-direction: column;
        gap: 32px;
    }

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

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .member-avatar {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 64px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: saturate(180%) blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 32px 0;
        gap: 0;
    }

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

    .nav-menu li {
        padding: 16px 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section {
        padding: 60px 24px;
    }

    .section-title {
        font-size: 32px;
    }

    .lead-text {
        font-size: 18px;
    }

    .content-text {
        font-size: 16px;
    }

    .feature-title {
        font-size: 24px;
    }

    .feature-description {
        font-size: 16px;
    }

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

/* 图片占位符样式 - 仅在图片加载失败时显示 */
img[src*="images/"] {
    display: block;
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section > .container > * {
    animation: fadeInUp 0.6s ease-out;
}

