/* ===== 设计变量 ===== */
.ai-orange,
.logo .ai-orange,
.section-title .ai-orange,
.footer-content h2 .ai-orange,
.footer-bottom .ai-orange,
.auth-logo .ai-orange {
    color: #f59e0b !important;
}

:root {
    --color-bg: #0a0e17;
    --color-bg-elevated: #111827;
    --color-bg-card: #1a2234;
    --color-primary: #f59e0b;
    --color-primary-dim: #d97706;
    --color-accent: #3b82f6;
    --color-text: #f3f4f6;
    --color-text-muted: #9ca3af;
    --color-border: rgba(255, 255, 255, 0.08);
    --font-display: 'Syne', 'Noto Sans SC', sans-serif;
    --font-body: 'Noto Sans SC', -apple-system, sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ===== 基础重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== 页面进入/离开动画 ===== */
body.page-enter {
    animation: pageFadeIn 0.6s var(--ease-out-expo) forwards;
}
body.page-exit {
    animation: pageFadeOut 0.4s var(--ease-in-out) forwards;
}
@keyframes pageFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes pageFadeOut {
    to { opacity: 0; }
}

/* ===== 导航栏 ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: transform 0.4s var(--ease-out-expo), background 0.3s;
}
.nav.nav-hidden { transform: translateY(-100%); }
.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: 0.02em;
}
.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--color-primary); }
.nav-actions { display: flex; gap: 1rem; }

/* ===== 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s var(--ease-out-expo);
    cursor: pointer;
}
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dim) 100%);
    color: #0a0e17;
    border: none;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}
.btn-ghost {
    background: transparent;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
}
.btn-ghost:hover {
    color: var(--color-text);
    border-color: var(--color-text-muted);
}
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }

/* ===== Hero 区域 ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse 60% 40% at 80% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
}
.hero-grid {
    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;
}
.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
    filter: blur(60px);
}
.hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
}
.hero-tag {
    font-size: 0.9rem;
    color: var(--color-primary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    animation: fadeUp 0.8s var(--ease-out-expo) 0.2s both;
}
.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s var(--ease-out-expo) 0.3s both;
}
.title-line { display: block; }
.hero-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    animation: fadeUp 0.8s var(--ease-out-expo) 0.4s both;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.8s var(--ease-out-expo) 0.5s both;
}
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    animation: fadeUp 0.8s var(--ease-out-expo) 0.8s both;
}
.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(6px); }
}

/* ===== 通用区块 ===== */
.section {
    padding: 6rem 2rem;
    position: relative;
}
.section-dark { background: var(--color-bg-elevated); }
.container {
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.75rem;
}
.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ===== 滚动动画 ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}
[data-animate].visible-delay-1 { transition-delay: 0.1s; }
[data-animate].visible-delay-2 { transition-delay: 0.2s; }
[data-animate].visible-delay-3 { transition-delay: 0.3s; }

/* ===== 使命区块 ===== */
.mission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.mission-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s var(--ease-out-expo);
}
.mission-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.card-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}
.mission-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.mission-card p { color: var(--color-text-muted); margin-bottom: 0.75rem; }
.card-detail {
    font-size: 0.85rem;
    color: var(--color-primary);
    opacity: 0.9;
}
.mission-footer {
    text-align: center;
    color: var(--color-text-muted);
}

/* ===== 痛点区块 ===== */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}
.pain-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.4s var(--ease-out-expo);
}
.pain-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(59, 130, 246, 0.3);
}
.pain-num {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--color-primary);
    opacity: 0.8;
    margin-bottom: 0.5rem;
}
.pain-card h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.pain-card p { font-size: 0.9rem; color: var(--color-text-muted); }

/* ===== 服务区块 ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s var(--ease-out-expo);
}
.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.25);
}
.service-card-featured {
    border-color: rgba(245, 158, 11, 0.4);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, transparent 100%);
}
.service-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--color-primary);
}
.service-card h4 { margin-bottom: 0.5rem; }
.service-card p { font-size: 0.9rem; color: var(--color-text-muted); }

/* ===== 工分制区块 ===== */
.gongfen-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}
.gongfen-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}
.gongfen-step {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    min-width: 200px;
    text-align: center;
    transition: all 0.4s var(--ease-out-expo);
}
.gongfen-step:hover {
    transform: scale(1.02);
    border-color: rgba(245, 158, 11, 0.3);
}
.step-num {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    background: var(--color-primary);
    color: #0a0e17;
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.gongfen-step h4 { margin-bottom: 0.5rem; }
.gongfen-step p { font-size: 0.9rem; color: var(--color-text-muted); }
.gongfen-arrow {
    color: var(--color-primary);
    font-size: 1.5rem;
}
.gongfen-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}
.benefit-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1.25rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}
.benefit-item span {
    display: block;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* ===== 优势区块 ===== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.advantage-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.4s var(--ease-out-expo);
}
.advantage-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
}
.advantage-card h4 { margin-bottom: 0.5rem; }
.advantage-card p { font-size: 0.9rem; color: var(--color-text-muted); }

/* ===== 案例区块 ===== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.case-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s var(--ease-out-expo);
}
.case-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, 0.3);
}
.case-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.case-card h4 { margin-bottom: 0.5rem; }
.case-card p { color: var(--color-text-muted); }

/* ===== 入驻区块 ===== */
.join-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}
.join-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: all 0.4s var(--ease-out-expo);
}
.join-step:hover { border-color: rgba(245, 158, 11, 0.3); }
.join-num {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: var(--color-primary);
    color: #0a0e17;
    border-radius: 50%;
    font-weight: 700;
}
.join-step h4 { font-size: 1rem; }
.join-requirements {
    max-width: 600px;
    margin: 0 auto 2rem;
    background: var(--color-bg-card);
    border-radius: 12px;
    padding: 2rem;
}
.join-requirements h4 { margin-bottom: 1rem; }
.join-requirements ul { list-style: none; }
.join-requirements li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-muted);
}
.join-requirements li:last-child { border-bottom: none; }
.join-cta { text-align: center; }

/* ===== 环境区块 ===== */
.env-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.env-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}
.env-card:hover { transform: translateY(-4px); }
.env-placeholder {
    height: 200px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
}
.env-card h4 {
    padding: 1.5rem;
    text-align: center;
}

/* ===== 未来展望 ===== */
.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.future-item {
    text-align: center;
    padding: 2rem;
}
.future-item h4 { margin-bottom: 0.5rem; }
.future-item p { color: var(--color-text-muted); }

/* ===== 页脚 ===== */
.footer {
    padding: 4rem 2rem 2rem;
    background: var(--color-bg-elevated);
    border-top: 1px solid var(--color-border);
}
.footer-content {
    text-align: center;
    margin-bottom: 3rem;
}
.footer-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.footer-addr, .footer-tel, .footer-email, .footer-domain {
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}
.footer-qr {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.qr-placeholder {
    width: 120px;
    height: 120px;
    background: var(--color-bg-card);
    border: 1px dashed var(--color-border);
    border-radius: 8px;
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}
.footer-bottom p { color: var(--color-text-muted); font-size: 0.9rem; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-actions { flex-direction: column; }
    .gongfen-arrow { display: none; }
}
