/* ============================================================
   GLOBAL VARIABLES & BASE STYLES
   ============================================================ */
:root {
    --bg-dark: #090a0f;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-hover-border: rgba(0, 136, 255, 0.4);

    --text-main: #f3f4f6;
    --text-sub: #9ca3af;
    --text-muted: #6b7280;

    --brand-primary: #0088ff;
    --brand-gradient: linear-gradient(135deg, #0088ff 0%, #7000ff 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* 背景光晕 */
.bg-glow {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 650px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 136, 255, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.container {
    width: 100%;
    max-width: 1080px;
    padding: 48px 24px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.avatar {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: var(--brand-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(0, 136, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.name {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #9ca3af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bio {
    font-size: 16px;
    color: var(--text-sub);
    max-width: 560px;
    line-height: 1.6;
    margin-bottom: 28px;
    font-style: italic;
}

.social-links {
    display: flex;
    gap: 14px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-sub);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-btn:hover {
    color: var(--text-main);
    border-color: var(--brand-primary);
    background: rgba(0, 136, 255, 0.12);
    transform: translateY(-2px);
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.section-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--text-muted);
    margin-bottom: 24px;
    text-align: center;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--card-hover-border);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    background: rgba(255, 255, 255, 0.05);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
}

.card-arrow {
    font-size: 20px;
    color: var(--text-muted);
    transition: transform 0.2s ease, color 0.2s ease;
}

.card:hover .card-arrow {
    transform: translateX(4px);
    color: var(--brand-primary);
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-sub);
    white-space: nowrap;
}

.card-desc {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.55;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    padding: 32px 24px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    border-top: 1px solid var(--card-border);
    width: 100%;
    z-index: 1;
}

footer a {
    color: var(--text-sub);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--brand-primary);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
    .name {
        font-size: 34px;
    }
    .bio {
        font-size: 14px;
    }
    .grid-cards {
        grid-template-columns: 1fr;
    }
}