/* ============================================================
   eebbkpojie 前台样式 - 简洁大方 + 流畅过渡动画
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background 0.5s ease, color 0.5s ease;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ---------- 顶部导航 ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(11, 18, 32, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    background: rgba(11, 18, 32, 0.92);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.brand-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 12px var(--primary);
    animation: pulse 2.4s ease-in-out infinite;
}

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

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 15px;
    color: rgba(226, 232, 240, 0.8);
    transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 20%, rgba(14, 165, 233, 0.18), transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 70%, rgba(34, 211, 238, 0.14), transparent 60%),
        radial-gradient(ellipse 40% 40% at 60% 30%, rgba(99, 102, 241, 0.10), transparent 60%);
    animation: bgFloat 12s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes bgFloat {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-20px) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid rgba(34, 211, 238, 0.35);
    background: rgba(34, 211, 238, 0.08);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(120deg, var(--text) 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 17px;
    color: rgba(226, 232, 240, 0.75);
    max-width: 560px;
    margin: 0 auto 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 13px 30px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(34, 211, 238, 0.08);
}

.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    color: rgba(226, 232, 240, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: bob 2s ease-in-out infinite;
}

.scroll-arrow {
    font-size: 18px;
    color: var(--accent);
}

@keyframes bob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- 通用板块 ---------- */
.section {
    padding: 96px 24px;
    position: relative;
}

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

.section-head {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
    margin-bottom: 12px;
}

.section-sub {
    color: rgba(226, 232, 240, 0.6);
    font-size: 15px;
}

/* ---------- 公告 ---------- */
.notice-card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 36px 40px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.notice-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.notice-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.notice-content {
    color: rgba(226, 232, 240, 0.85);
    font-size: 15.5px;
}

/* ---------- 机型网格 ---------- */
.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.model-card {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

.model-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.model-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    border-color: rgba(34, 211, 238, 0.3);
}

.model-card:hover::before {
    transform: scaleX(1);
}

.model-name {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
}

.model-status {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
}

.model-status.ok {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.model-status.warn {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.model-status.info {
    background: rgba(14, 165, 233, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(14, 165, 233, 0.3);
}

.model-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    color: var(--accent);
    transition: color 0.3s ease, transform 0.3s ease;
}

.model-link:hover {
    color: var(--primary);
    transform: translateX(3px);
}

/* ---------- 团队 ---------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 32px 20px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.team-avatar {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35);
}

.team-name {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    word-break: break-all;
}

.team-role {
    font-size: 13px;
    color: rgba(226, 232, 240, 0.55);
}

/* ---------- 页脚 ---------- */
.footer {
    padding: 48px 24px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(226, 232, 240, 0.5);
    font-size: 13.5px;
}

.footer p {
    margin-bottom: 6px;
}

/* ---------- 滚动显现动画 ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(11, 18, 32, 0.97);
        padding: 16px 24px;
        gap: 4px;
        transform: translateY(-120%);
        transition: transform 0.4s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    .nav-toggle {
        display: flex;
    }

    .section {
        padding: 72px 20px;
    }

    .notice-card {
        padding: 24px;
        flex-direction: column;
    }
}
