/* ============================================================
   首页专属样式 - iOS Liquid Glass 风格
   ============================================================ */

/* === 导航栏 === */
.nav-wrap {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: calc(100% - 32px);
    max-width: 1280px;
    transition: top 0.3s var(--ease-out);
}

.nav-wrap.nav-scrolled {
    top: 8px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px 10px 22px;
    border-radius: var(--r-pill);
    background: rgba(20, 20, 24, 0.55);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.10) inset,
        0 -1px 0 rgba(0, 0, 0, 0.20) inset,
        0 8px 32px -8px rgba(0, 0, 0, 0.40);
    transition: background 0.3s var(--ease-out);
}

.nav-wrap.nav-scrolled .nav {
    background: rgba(14, 14, 18, 0.78);
    border-color: rgba(255, 255, 255, 0.14);
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 4px 8px;
    border-radius: var(--r-md);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.15), rgba(48, 209, 88, 0.10));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-text { display: inline-flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.brand-sub { font-size: 11px; color: var(--label-3); letter-spacing: 0.05em; }

.nav-menu {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--r-pill);
    font-size: 14px;
    font-weight: 500;
    color: var(--label-2);
    transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
    color: var(--label-1);
    background: rgba(255, 255, 255, 0.06);
}

.nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-right: 6px;
}

/* 用户名标签 */
.nav-user {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: var(--label-2);
}

/* 退出按钮 */
.btn-exit {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px !important;
    font-size: 13px !important;
    color: #ff453a !important;
    transition: all 0.2s ease;
}
.btn-exit:hover {
    background: rgba(255, 69, 58, 0.12) !important;
    color: #ff6960 !important;
}

/* === Hero === */
.hero {
    padding: 160px 0 100px;
    position: relative;
    text-align: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--label-2);
    margin-bottom: 32px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.hero-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--system-teal);
    box-shadow: 0 0 12px var(--system-teal);
    animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
    margin: 0 auto 32px;
    max-width: 900px;
}

.hero-line { display: block; }

.hero-gradient {
    background: linear-gradient(110deg, #0a84ff 0%, #64d2ff 35%, #30d158 70%, #66d4cf 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 100%;
    animation: shine 6s linear infinite;
}

@keyframes shine {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.hero-subtitle {
    max-width: 640px;
    margin: 0 auto 48px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--label-2);
}

.hero-actions {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 96px;
}

/* 数据卡 - Hero 下方四宫格 */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    padding: 28px 20px;
    text-align: center;
    border-radius: var(--r-lg);
}

.stat-value {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(180deg, #ffffff 0%, #b4b4b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 12px;
    color: var(--label-3);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* === 通用 section === */
.section {
    padding: 120px 0;
    position: relative;
}

.section-alt {
    /* 没有任何紫色 - 仅微妙的灰阶变化 */
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.012), transparent);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.section-head-center {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--label-3);
    margin-bottom: 16px;
}

.section-eyebrow-center { justify-content: center; }

.section-eyebrow-bar {
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--system-blue));
}

.section-title {
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.section-desc {
    color: var(--label-3);
    font-size: 16px;
    max-width: 600px;
}

/* === 项目网格 === */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
}

.project-cover {
    position: relative;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a84ff 0%, #30d158 100%);
}

.project-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.25), transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(0, 0, 0, 0.30), transparent 50%);
}

.project-cover-icon {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.85);
    transition: transform 0.4s var(--ease-spring);
}

.project-card:hover .project-cover-icon { transform: scale(1.15) rotate(-3deg); }

.project-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.project-body { padding: 22px 24px 24px; }

.project-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 8px;
    color: var(--label-1);
}

.project-desc {
    font-size: 14px;
    color: var(--label-3);
    line-height: 1.55;
    margin-bottom: 16px;
    min-height: 44px;
}

.project-meta {
    display: flex;
    gap: 16px;
    color: var(--label-4);
    font-size: 12px;
}

.project-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.project-meta-item svg { opacity: 0.7; }

/* === 知识产权 === */
.property-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.property-card {
    padding: 28px 24px;
    border-radius: var(--r-lg);
    transition: transform 0.3s var(--ease-spring), border-color 0.3s;
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-3px);
    border-color: var(--glass-border-strong);
}

.property-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--r-sm);
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.20), rgba(102, 212, 207, 0.15));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border: 1px solid rgba(10, 132, 255, 0.20);
    color: var(--system-blue);
}

.property-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.property-type {
    font-size: 12px;
    color: var(--label-3);
    margin-bottom: 14px;
}

.property-num {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--label-2);
    letter-spacing: 0.02em;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* === 团队 === */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.team-card {
    padding: 32px 24px 28px;
    text-align: center;
    border-radius: var(--r-xl);
}

.team-avatar-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--system-blue), var(--system-teal));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.10);
    box-shadow:
        0 0 0 4px rgba(10, 132, 255, 0.10),
        0 8px 24px -4px rgba(10, 132, 255, 0.30);
}

.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-avatar-letter { color: #fff; }

.team-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-role {
    font-size: 13px;
    color: var(--system-blue);
    font-weight: 500;
    margin-bottom: 10px;
}

.team-bio {
    font-size: 13px;
    color: var(--label-3);
    line-height: 1.55;
}

/* === 企业文化 === */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.culture-card {
    padding: 36px 32px;
    border-radius: var(--r-xl);
    transition: transform 0.3s var(--ease-spring);
}

.culture-card:hover { transform: translateY(-3px); }

.culture-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--r-md);
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.18), rgba(48, 209, 88, 0.10));
    border: 1px solid rgba(255, 255, 255, 0.10);
    font-size: 22px;
    font-weight: 700;
    color: var(--label-1);
    margin-bottom: 22px;
}

.culture-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.015em;
}

.culture-desc {
    color: var(--label-3);
    font-size: 14px;
    line-height: 1.6;
}

/* === CTA === */
.cta-section { padding: 60px 0 140px; }

.cta-card {
    padding: 64px 56px;
    border-radius: var(--r-2xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.cta-card::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(10, 132, 255, 0.20), transparent 60%);
    top: -50%;
    right: -10%;
    border-radius: 50%;
    pointer-events: none;
}

.cta-content { flex: 1; min-width: 280px; }
.cta-title { margin-bottom: 8px; }
.cta-desc { color: var(--label-3); font-size: 16px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* === 空状态 === */
.empty-state {
    grid-column: 1 / -1;
    padding: 60px 20px;
    text-align: center;
    color: var(--label-3);
    border-radius: var(--r-lg);
}

/* === 页脚 === */
.footer {
    padding: 80px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.30));
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand .nav-brand { padding-left: 0; }

.footer-tagline {
    color: var(--label-3);
    font-size: 14px;
    line-height: 1.6;
    margin-top: 16px;
    max-width: 320px;
}

.footer-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--label-2);
    margin-bottom: 20px;
}

.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 10px; }
.footer-list a, .footer-list li {
    color: var(--label-3);
    font-size: 14px;
    transition: color 0.2s;
}
.footer-list a:hover { color: var(--label-1); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    color: var(--label-4);
    flex-wrap: wrap;
    gap: 12px;
}

/* ICP 备案号 */
.footer-icp {
    color: var(--label-4);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-icp:hover {
    color: var(--accent-blue);
}

/* === 响应式 === */
@media (max-width: 980px) {
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .project-grid { grid-template-columns: repeat(2, 1fr); }
    .property-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .culture-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .nav-menu { display: none; }
    .cta-card { padding: 48px 32px; }
}

@media (max-width: 640px) {
    .hero { padding: 120px 0 60px; }
    .section { padding: 80px 0; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stat-card { padding: 20px 12px; }
    .stat-value { font-size: 32px; }
    .project-grid, .culture-grid { grid-template-columns: 1fr; }
    .property-grid, .team-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .nav { padding: 8px 10px 8px 16px; }
    .brand-text { display: none; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .cta-card { padding: 36px 24px; flex-direction: column; text-align: center; }
}
