/* 动态交互感暗色美学 (Dynamic Interactive Dark Bento) */
:root {
    --bg-color: #08080a;
    /* 稍微加深底色，拉大反差 */
    --surface-color: #1a1a1e;
    /* 提亮卡片背景色，脱离背景 */
    --border-color: rgba(255, 255, 255, 0.1);
    /* 显眼的边框 */

    --text-primary: #fcfcfc;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    --accent-color: #e4e4e7;
    --accent-glow: rgba(255, 255, 255, 0.05);

    --font-heading: 'Outfit', 'Noto Sans SC', sans-serif;
    --font-sans: 'Outfit', 'Noto Sans SC', sans-serif;

    --radius-md: 16px;
    --radius-lg: 32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* ==== 高级背景效果 & 镭射环境光 ==== */
.ambient-laser {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
    animation: drift 15s infinite alternate ease-in-out;
}

.laser-1 {
    width: 45vw;
    height: 40vh;
    background: rgba(138, 43, 226, 0.45);
    top: 10%;
    left: -10%;
}

.laser-2 {
    width: 55vw;
    height: 50vh;
    background: rgba(220, 20, 60, 0.35);
    bottom: -10%;
    right: -15%;
    animation-delay: -5s;
}

.laser-3 {
    width: 40vw;
    height: 40vh;
    background: rgba(0, 191, 255, 0.35);
    top: 35%;
    left: 45%;
    animation-duration: 25s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(120px, 80px) scale(1.1);
    }
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.035;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* 全局交互跟随微光 */
.mouse-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 800px;
    height: 800px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    will-change: transform, left, top;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

h1,
h2,
h3,
h4 {
    color: #ffffff;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.2rem;
    font-weight: 800;
}

/* ==== Navbar ==== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    padding: 16px 0;
    background: rgba(8, 8, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-center {
    display: flex;
    gap: 32px;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 24px;
    border-radius: 100px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #fff;
}

.nav-cta {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-weight: 600;
}

@media (max-width: 768px) {

    .nav-center,
    .nav-cta {
        display: none;
    }
}

/* ==== Buttons ==== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s;
}

.btn-primary {
    background-color: #fff;
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.1);
}

/* ==== HERO ==== */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.hero-center {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.justify-center {
    justify-content: center;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    margin-bottom: 24px;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 10px #10b981;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.glass-reflect {
    -webkit-box-reflect: below -20px linear-gradient(transparent 50%, rgba(255, 255, 255, 0.15));
}

.typed-cursor {
    font-weight: 800;
    font-size: 0.9em;
    opacity: 1;
    animation: blink 0.7s infinite;
    color: rgba(255, 255, 255, 0.8);
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* 副标题信息强化 */
.hero-role-wrapper {
    margin-bottom: 30px;
}

.hero-role {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

.hero-school {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 45px;
    max-width: 650px;
    font-weight: 400;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 45px;
    max-width: 650px;
    font-weight: 400;
}

.hero-contact-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 30px;
    margin-top: -10px;
}

.hero-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 18px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.3s, transform 0.3s;
}

.hero-contact-item i {
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
}

.hero-contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.text-accent {
    color: #fff;
    font-weight: 600;
}

/* ==== BENTO GRID (强烈对比 & Hover动效) ==== */
.bento-grid-fixed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 20px;
}

.bento-card {
    position: relative;
    background-color: var(--surface-color);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    /* 强烈阴影把它拔高 */
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

/* 划过的高光动画条 */
.bento-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg) translate(-100%, -100%);
    transition: transform 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.bento-card:hover::after {
    transform: rotate(30deg) translate(100%, 100%);
}

/* 聚光灯：局部鼠标光标跟踪高光 */
.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.35), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 0;
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    background-color: #2a2a32;
    /* hover 时卡片略微提亮 */
}

.bento-inner {
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

/* 网格Span定义 */
.col-span-2 {
    grid-column: span 2;
}

.col-span-3 {
    grid-column: span 3;
}

/* 动态点缀: Floating Orbs */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    animation: float 10s ease-in-out infinite alternate;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    top: 20%;
    left: -10%;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.02);
    top: 50%;
    right: -15%;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(50px) scale(1.1);
    }
}

/* 专属样式辅助类 */
.flex-col-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.blur-glow-text {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.hero-subtitle-new {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    letter-spacing: 1px;
}

.hero-subtitle-new .divider {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
}

/* ==== 各个卡片内容调整 ==== */
.bento-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.bento-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.bento-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.text-sm {
    font-size: 0.9rem;
}

.text-xs {
    font-size: 0.8rem;
}

.mt-top {
    margin-top: auto;
}

/* Tools */
.tools-layout {
    flex-direction: row;
    gap: 20px;
}

.tools-info {
    flex: 1.1;
    display: flex;
    flex-direction: column;
}

.tools-chart {
    flex: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.tools-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
}

.tool-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tool-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    opacity: 0.8;
}

/* Platforms Slide Effect */
.platform-list {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plat-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform 0.3s, border-color 0.3s;
}

.bento-card:hover .plat-item {
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.1);
}

/* 鼠标进入卡背滑动 */
.plat-name {
    font-weight: 800;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

.plat-name::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    margin-right: 8px;
}

.plat-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-left: 14px;
}

/* GPA, Lang */
.metric {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 16px;
}

.metric-value {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.metric-total {
    color: var(--text-muted);
    font-weight: 600;
}

.lang-level {
    font-size: 2.5rem;
    font-weight: 900;
    margin-top: auto;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

/* Campus Tags */
.campus-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 0 4px;
}

.campus-tag {
    font-size: 0.75rem;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-secondary);
    line-height: 1.2;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-auto {
    margin-bottom: auto;
}

/* Workflow Progress Bar Effect */
.workflow-layout {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.workflow-text-top {
    width: 100%;
    text-align: left;
    margin-bottom: auto;
}

.workflow-steps-wide {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 35px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.step i {
    padding: 14px;
    background: #1a1a1e;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: #fff;
    transition: all 0.3s;
}

.bento-card:hover .step i {
    background: #fff;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.step span {
    font-size: 0.8rem;
    font-weight: 600;
}

.step-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: -24px;
    border-radius: 2px;
    overflow: hidden;
}

.line-fill {
    width: 0%;
    height: 100%;
    background: #fff;
    transition: width 1s ease 0.2s;
}

.group:hover .line-fill {
    width: 100%;
}

/* Hover 状态下的进度条加载动画 */

/* ==== ABOUT ==== */
.about-wrapper {
    background: transparent;
    padding: 30px 0;
    border: none;
}

.about-inner {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.about-grid {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text-col {
    flex: 1.3;
}

.about-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.about-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
    font-weight: 400;
}

.about-desc strong {
    color: #fff;
    font-weight: 600;
}

.about-photo-col {
    flex: 0.7;
    display: flex;
    justify-content: flex-end;
}

.photo-frame {
    width: 100%;
    aspect-ratio: 4/5;
    max-width: 280px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(10%) contrast(1.1);
    transition: transform 0.5s;
}

.bento-card:hover .about-photo {
    transform: scale(1.05);
}

/* ==== Experience ==== */
.section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 8px;
}

.exp-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.exp-item {
    display: flex;
    gap: 40px;
}

.exp-date-col {
    flex: 0 0 160px;
    padding-top: 36px;
}

.date-badge {
    font-family: 'Outfit', monospace;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 8px;
}

.exp-content-col {
    flex: 1;
}

.exp-role {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.exp-company {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-weight: 600;
}

.exp-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.exp-bullets li {
    font-size: 1rem;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.exp-bullets li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #fff;
    font-weight: bold;
}

.exp-bullets strong {
    color: #fff;
    font-weight: 600;
}

.highlight-text {
    color: #fff;
    font-weight: 800;
}

/* ==== Contact ==== */
.contact-wrapper {
    text-align: center;
    padding: 100px 20px 80px;
    background: transparent;
    border: none;
    position: relative;
    z-index: 2;
}

.contact-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contact-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 6px;
    letter-spacing: -2px;
}

.text-gradient-fx {
    background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.mt-12 {
    margin-top: 48px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.contact-actions {
    display: flex;
    gap: 20px;
    margin-top: 24px;
}

footer {
    padding: 60px 0;
    border-top: 1px solid transparent;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 900px) {

    .bento-grid,
    .bento-grid-fixed {
        grid-template-columns: 1fr;
    }

    .col-span-2,
    .col-span-3,
    .row-span-2 {
        grid-column: span 1;
        grid-row: auto;
    }

    .hero-title {
        font-size: 3rem;
    }

    .tools-layout,
    .align-horizontal,
    .about-grid {
        flex-direction: column;
    }

    .workflow-steps,
    .workflow-steps-wide {
        width: 100%;
        margin-top: 24px;
        flex-wrap: wrap;
    }

    .step-line {
        display: none;
    }

    .exp-item {
        flex-direction: column;
        gap: 12px;
    }

    .exp-date-col {
        padding-top: 0;
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}