/* ============================================
   TRANSCENDENCE — Personal Website
   Theme: Fresh Ocean / Sky / Sunshine
   ============================================ */

:root {
    --purple-lightest: #f3e8ff;
    --purple-light: #e9d5ff;
    --purple-mid: #a855f7;
    --purple-deep: #7c3aed;
    --purple-darker: #5b21b6;
    --purple-darkest: #2e1065;
    --violet-deep: #1e1b4b;
    --sun-warm: #ffeaa7;
    --sun-gold: #fdcb6e;
    --sun-orange: #f39c12;
    --fresh-mint: #55efc4;
    --fresh-green: #00b894;
    --white: #ffffff;
    --off-white: #faf7ff;
    --gray-100: #f5f3ff;
    --gray-200: #ede9fe;
    --gray-300: #ddd6fe;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #1f2937;
    --gray-900: #111827;
    --font-sans: 'Times New Roman', Times, serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --section-padding: 120px;
    --container-max: 1200px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-sans);
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }

/* --- Floating Navigation --- */
.floating-nav {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
    z-index: 1000; width: calc(100% - 48px); max-width: 800px;
    transition: all 0.4s var(--ease-out);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 24px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 4px 30px rgba(9,132,227,0.08), 0 1px 3px rgba(0,0,0,0.04);
}
.floating-nav.scrolled .nav-inner {
    box-shadow: 0 8px 40px rgba(9,132,227,0.12), 0 2px 6px rgba(0,0,0,0.06);
}
.nav-logo {
    font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600;
    color: var(--gray-900); letter-spacing: -0.02em;
}
.nav-links { display: flex; gap: 8px; }
.nav-link {
    padding: 8px 16px; border-radius: 10px; font-size: 1rem;
    font-weight: 500; color: var(--gray-700); transition: all 0.3s var(--ease-out);
}
.nav-link:hover { color: var(--purple-deep); background: rgba(124,58,237,0.06); }
.nav-link.active { color: var(--purple-deep); background: rgba(124,58,237,0.1); }
.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
    width: 22px; height: 2px; background: var(--gray-700);
    border-radius: 2px; transition: all 0.3s var(--ease-out);
}
.mobile-menu {
    display: none; position: fixed; top: 80px; left: 50%;
    transform: translateX(-50%) translateY(-10px); z-index: 999;
    width: calc(100% - 48px); max-width: 800px;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
    border-radius: 16px; padding: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
    opacity: 0; pointer-events: none; transition: all 0.3s var(--ease-out);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mobile-link {
    display: block; padding: 14px 20px; border-radius: 10px;
    font-weight: 500; color: var(--gray-900); transition: all 0.2s;
}
.mobile-link:hover { background: rgba(124,58,237,0.06); color: var(--purple-deep); }

/* --- Hero Section --- */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(170deg, #faf7ff 0%, #f3e8ff 15%, #e9d5ff 35%, #d8b4fe 55%, #c084fc 75%, #a855f7 100%);
    overflow: hidden;
}
#waveCanvas { position: absolute; bottom: 0; left: 0; width: 100%; height: 40%; pointer-events: none; }
.hero::before {
    content: ''; position: absolute; top: -20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, transparent 70%);
    border-radius: 50%; animation: sunGlow 8s ease-in-out infinite;
}
.hero::after {
    content: ''; position: absolute; top: 10%; left: 5%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%; animation: cloudFloat 20s ease-in-out infinite;
}
@keyframes sunGlow {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 0.9; }
}
@keyframes cloudFloat {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(40px) translateY(-20px); }
}
.hero-content { position: relative; z-index: 2; text-align: center; padding: 0 24px; }
.hero-greeting {
    font-size: 1.35rem; font-weight: 500; color: var(--gray-700);
    letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px;
    animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}
.hero-name {
    font-family: var(--font-serif); font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 600; color: var(--gray-900); line-height: 1.1; margin-bottom: 20px;
    animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}
.hero-tagline {
    font-size: clamp(1.2rem, 2.8vw, 1.5rem); color: var(--gray-600);
    max-width: 600px; margin: 0 auto 40px; line-height: 1.8;
    animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}
.hero-cta {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
    animation: fadeInUp 0.8s var(--ease-out) 0.8s both;
}
.hero-social {
    display: flex; gap: 16px; justify-content: center; margin-bottom: 40px;
    animation: fadeInUp 0.8s var(--ease-out) 0.7s both;
}
.social-link {
    width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
    background: rgba(15,15,15,0.06); border-radius: 14px; font-size: 1.4rem;
    color: var(--gray-700); transition: all 0.3s var(--ease-out);
    border: 1px solid rgba(15,15,15,0.1);
}
.social-link:hover {
    background: var(--gray-900); color: var(--white); transform: translateY(-2px);
    border-color: transparent;
}
.btn-primary {
    padding: 16px 36px; background: var(--gray-900); color: var(--white);
    border-radius: 12px; font-weight: 600; font-size: 1.1rem;
    transition: all 0.3s var(--ease-out); box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.18); }
.btn-secondary {
    padding: 16px 36px; background: rgba(15,15,15,0.06); color: var(--gray-700);
    border-radius: 12px; font-weight: 600; font-size: 1.1rem;
    border: 2px solid rgba(15,15,15,0.15); transition: all 0.3s var(--ease-out);
    backdrop-filter: blur(8px);
}
.btn-secondary:hover {
    background: rgba(15,15,15,0.12); border-color: rgba(15,15,15,0.25);
    transform: translateY(-2px);
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2;
    animation: fadeInUp 0.8s var(--ease-out) 1.2s both;
}
.mouse {
    width: 26px; height: 40px; border: 2px solid rgba(15,15,15,0.25);
    border-radius: 13px; display: flex; justify-content: center; padding-top: 8px;
}
.wheel {
    width: 3px; height: 8px; background: rgba(15,15,15,0.4);
    border-radius: 2px; animation: scrollWheel 1.5s ease-in-out infinite;
}
@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}
.scroll-indicator span { font-size: 0.9rem; color: rgba(15,15,15,0.5); letter-spacing: 0.05em; }

/* --- Wave Dividers --- */
.wave-divider { position: relative; margin-top: -2px; line-height: 0; }
.wave-divider svg { width: 100%; height: 80px; display: block; }
.wave-divider-1 { color: var(--off-white); }
.wave-divider-2 { color: #f5f3ff; }
.wave-divider-3 { color: var(--off-white); }
.wave-divider-4 { color: #faf7ff; }

/* --- Section Base --- */
.section { padding: var(--section-padding) 0; position: relative; }
.section-tech { background: var(--off-white); }
.section-life { background: #f5f3ff; }
.section-resources { background: var(--off-white); }
.section-academic { background: #faf7ff; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 1rem; font-weight: 600; color: var(--purple-deep);
    letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px;
    padding: 6px 16px; background: rgba(124,58,237,0.08); border-radius: 20px;
}
.section-title {
    font-family: var(--font-serif); font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600; color: var(--gray-900); margin-bottom: 16px; line-height: 1.2;
}
.section-subtitle { font-size: 1.3rem; color: var(--gray-700); max-width: 500px; margin: 0 auto; }

/* --- Tech Section --- */
.tech-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 64px; }

.tech-card {
    background: var(--white); border-radius: 20px; padding: 36px 28px;
    border: 1px solid rgba(124,58,237,0.06); transition: all 0.4s var(--ease-out);
    position: relative; overflow: hidden; width: 100%;
}
.tech-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--purple-mid), var(--purple-deep));
    transform: scaleX(0); transition: transform 0.4s var(--ease-out);
}
.tech-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(124,58,237,0.1);
    border-color: rgba(124,58,237,0.12);
}
.tech-card:hover::before { transform: scaleX(1); }
.tech-card-featured {
    grid-column: 1 / -1; display: grid;
    grid-template-columns: auto 1fr; gap: 0 24px; align-items: start;
}
.tech-card-featured .tech-card-icon { grid-row: 1 / 3; }
.tech-card-icon {
    width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--purple-mid), var(--purple-deep));
    border-radius: 14px; margin-bottom: 20px; font-size: 1.4rem; color: var(--white);
    overflow: hidden;
}
.tech-icon-img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 14px;
}
.tech-card h3 { font-size: 1.75rem; font-weight: 600; color: var(--gray-900); margin-bottom: 12px; }
.tech-card p { font-size: 1.35rem; color: var(--gray-700); line-height: 1.7; margin-bottom: 20px; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-tags span {
    padding: 6px 14px; background: rgba(124,58,237,0.06); color: var(--purple-deep);
    border-radius: 8px; font-size: 1.1rem; font-weight: 500;
}

/* Project Showcase */
.project-showcase {
    background: var(--white); border-radius: 24px; padding: 40px;
    border: 1px solid rgba(124,58,237,0.08);
    box-shadow: 0 4px 20px rgba(124,58,237,0.04);
}
.showcase-title {
    font-size: 1.2rem; font-weight: 600; color: var(--sun-orange);
    margin-bottom: 28px; display: flex; align-items: center; gap: 8px;
}
.project-card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.project-info h4 { font-size: 1.9rem; font-weight: 600; color: var(--gray-900); margin-bottom: 14px; }
.project-info p { font-size: 1.35rem; color: var(--gray-700); margin-bottom: 18px; }
.project-tech { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.project-tech span {
    padding: 6px 14px; background: rgba(124,58,237,0.06); color: var(--purple-deep);
    border-radius: 8px; font-size: 1.1rem; font-weight: 500;
}
.project-link {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--purple-deep); font-weight: 600; font-size: 1.3rem;
    transition: gap 0.3s var(--ease-out);
}
.project-link:hover { gap: 12px; }
.code-window {
    background: #1e293b; border-radius: 16px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.code-header {
    display: flex; align-items: center; gap: 8px; padding: 14px 18px;
    background: #0f172a; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.code-title { margin-left: 12px; font-size: 0.95rem; color: rgba(255,255,255,0.4); }
.code-body {
    padding: 20px; font-size: 1rem; line-height: 1.8; overflow-x: auto;
    font-family: 'SF Mono', 'Fira Code', monospace; color: #e2e8f0;
}
.code-body .kw { color: #c084fc; }
.code-body .fn { color: #67e8f9; }
.code-body .str { color: #86efac; }

/* --- Life Section --- */
.life-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 48px; }
.life-card {
    border-radius: 20px; overflow: hidden; position: relative;
    min-height: 280px; transition: all 0.4s var(--ease-out); cursor: default;
}
.life-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.life-card-wide { grid-column: span 2; }
.life-card-bg {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-size: 4rem; color: rgba(255,255,255,0.2); transition: all 0.4s var(--ease-out);
}
.life-card:hover .life-card-bg { transform: scale(1.05); }
.life-card-content {
    position: relative; z-index: 2; padding: 28px; height: 100%;
    display: flex; flex-direction: column; justify-content: flex-end;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
}
.life-card-content h3 { font-size: 1.75rem; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.life-card-content p { font-size: 1.3rem; color: rgba(255,255,255,0.85); line-height: 1.6; }

/* Daily Vibes */
.daily-vibes { text-align: center; padding: 40px 0; }
.vibe-quote {
    max-width: 600px; margin: 0 auto; padding: 40px;
    background: var(--white); border-radius: 20px;
    border: 1px solid rgba(124,58,237,0.08);
    box-shadow: 0 4px 20px rgba(124,58,237,0.04);
}
.vibe-quote i { font-size: 1.5rem; color: var(--purple-mid); margin-bottom: 16px; }
.vibe-quote p {
    font-family: var(--font-serif); font-size: 1.4rem; font-style: italic;
    color: var(--gray-900); margin-bottom: 12px; line-height: 1.8;
}
.vibe-quote span { font-size: 1.05rem; color: var(--gray-700); }

/* --- Resources Section --- */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}
.resource-category {
    background: var(--white);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(124,58,237,0.08);
    box-shadow: 0 4px 20px rgba(124,58,237,0.04);
    transition: all 0.3s var(--ease-out);
}
.resource-category:hover {
    box-shadow: 0 12px 40px rgba(124,58,237,0.08);
    border-color: rgba(124,58,237,0.12);
}
.category-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(124,58,237,0.1);
}
.category-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--purple-mid);
    letter-spacing: 0.1em;
}
.category-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gray-900);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Live Indicator */
.resources-header-live {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
    font-family: var(--font-mono);
}
.live-indicator {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.live-text {
    font-size: 0.95rem;
    color: var(--gray-700);
    text-transform: lowercase;
    letter-spacing: 0.05em;
}

/* Research Content Levels */
.resource-category-wide {
    grid-column: span 2;
}
.research-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.research-level {
    padding: 20px;
    background: rgba(124,58,237,0.03);
    border-radius: 12px;
    border-left: 3px solid var(--purple-mid);
}
.level-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--purple-deep);
    text-transform: lowercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}
.level-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.level-skills span {
    padding: 4px 12px;
    background: var(--white);
    border-radius: 6px;
    font-size: 1rem;
    color: var(--gray-700);
    text-transform: lowercase;
}
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.project-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.project-num {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--purple-mid);
    min-width: 20px;
}
.project-info h6 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    text-transform: lowercase;
    margin-bottom: 2px;
}
.project-info p {
    font-size: 0.95rem;
    color: var(--gray-700);
    text-transform: lowercase;
    line-height: 1.5;
}
.future-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.future-items span {
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(124,58,237,0.2));
    border-radius: 20px;
    font-size: 1rem;
    color: var(--purple-deep);
    text-transform: lowercase;
    font-weight: 500;
}

.resource-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.resource-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    text-decoration: none;
    border-bottom: 1px solid rgba(124,58,237,0.06);
    transition: all 0.3s var(--ease-out);
}
.resource-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.resource-card:hover {
    padding-left: 8px;
}
.resource-card-content {
    flex: 1;
    padding-right: 16px;
}
.resource-card-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
    line-height: 1.4;
}
.resource-card-content p {
    font-size: 1.2rem;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 10px;
}
.resource-source {
    font-size: 1.05rem;
    color: var(--purple-deep);
    font-weight: 500;
}
.resource-arrow {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(124,58,237,0.06);
    color: var(--purple-deep);
    font-size: 0.85rem;
    transition: all 0.3s var(--ease-out);
    flex-shrink: 0;
}
.resource-card:hover .resource-arrow {
    background: var(--purple-deep);
    color: var(--white);
    transform: translate(2px, -2px);
}

/* Featured Resource Card (Series) */
.resource-card-featured {
    padding: 28px 24px;
}
.resource-series-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(124,58,237,0.08);
    border-radius: 20px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--purple-deep);
}
.resource-series-badge i {
    font-size: 1rem;
}
.resource-card-featured h4 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}
.resource-card-featured p {
    font-size: 1.15rem;
    margin-bottom: 16px;
}
.resource-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.resource-topics span {
    padding: 5px 12px;
    background: rgba(124,58,237,0.06);
    color: var(--purple-deep);
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
}

/* --- Academic Section --- */
.academic-timeline { position: relative; max-width: 800px; margin: 0 auto 64px; padding: 0 20px; }
.timeline-line {
    position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, var(--purple-light), var(--purple-deep), var(--purple-light));
    transform: translateX(-50%);
}
.timeline-item { position: relative; margin-bottom: 48px; width: 50%; padding-right: 48px; }
.timeline-item-right { margin-left: 50%; padding-right: 0; padding-left: 48px; }
.timeline-dot {
    position: absolute; top: 24px; width: 16px; height: 16px;
    background: var(--purple-deep); border: 3px solid var(--white);
    border-radius: 50%; box-shadow: 0 0 0 4px rgba(124,58,237,0.2);
    z-index: 2;
}
.timeline-item .timeline-dot { right: -8px; }
.timeline-item-right .timeline-dot { left: -8px; }
.timeline-card {
    background: var(--white); border-radius: 16px; padding: 28px;
    border: 1px solid rgba(124,58,237,0.08);
    box-shadow: 0 4px 20px rgba(124,58,237,0.04);
    transition: all 0.3s var(--ease-out);
}
.timeline-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(124,58,237,0.08);
}
.timeline-year {
    font-size: 0.95rem; font-weight: 700; color: var(--purple-deep);
    text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px;
}
.timeline-card h4 { font-size: 1.5rem; font-weight: 600; color: var(--gray-900); margin-bottom: 10px; }
.timeline-card p { font-size: 1.25rem; color: var(--gray-700); margin-bottom: 14px; }
.timeline-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.timeline-tags span {
    padding: 4px 12px; background: rgba(124,58,237,0.06); color: var(--purple-deep);
    border-radius: 6px; font-size: 1.05rem; font-weight: 500;
}

/* Academic Interests */
.academic-interests {
    text-align: center; padding: 48px; background: var(--white);
    border-radius: 24px; border: 1px solid rgba(124,58,237,0.08);
}
.academic-interests h3 { font-size: 1.4rem; font-weight: 600; color: var(--gray-900); margin-bottom: 24px; }
.interest-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.interest-tag {
    padding: 8px 20px; border-radius: 24px; font-weight: 500;
    background: linear-gradient(135deg, rgba(124,58,237,0.06), rgba(124,58,237,0.12));
    color: var(--purple-deep); transition: all 0.3s var(--ease-out);
}
.interest-tag:hover { background: var(--purple-deep); color: var(--white); transform: scale(1.05); }
.interest-tag.large { font-size: 1.4rem; padding: 10px 24px; }
.interest-tag.medium { font-size: 1.3rem; }
.interest-tag.small { font-size: 1.1rem; padding: 6px 16px; }

/* --- Footer --- */
.footer {
    background: var(--gray-900); color: rgba(255,255,255,0.7);
    padding: 60px 0 30px; position: relative;
}
.footer-wave { position: absolute; top: -1px; left: 0; right: 0; line-height: 0; color: #faf7ff; }
.footer-wave svg { width: 100%; height: 60px; display: block; }
.footer-content {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 30px; padding-top: 20px;
}
.footer-brand h3 {
    font-family: var(--font-serif); font-size: 1.5rem;
    color: var(--white); margin-bottom: 8px;
}
.footer-brand p { font-size: 1.05rem; }
.footer-links { display: flex; gap: 16px; }
.footer-links a {
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08); border-radius: 12px; font-size: 1.25rem;
    color: rgba(255,255,255,0.6); transition: all 0.3s var(--ease-out);
}
.footer-links a:hover { background: var(--purple-deep); color: var(--white); transform: translateY(-2px); }
.footer-bottom {
    text-align: center; padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.08); font-size: 1rem;
}
.footer-bottom .fa-heart { color: #ff6b6b; }
.footer-beian { margin-top: 8px; }
.footer-beian a { color: rgba(255,255,255,0.5); font-size: 0.95rem; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; transition: color 0.3s; }
.footer-beian a:hover { color: rgba(255,255,255,0.85); }

/* --- Scroll Animations --- */
[data-aos] { opacity: 0; transform: translateY(30px); transition: all 0.7s var(--ease-out); }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .tech-grid { grid-template-columns: 1fr; }
    .tech-card-featured { grid-column: 1 / -1; }
    .project-card { grid-template-columns: 1fr; }
    .life-mosaic { grid-template-columns: repeat(2, 1fr); }
    .resources-grid { grid-template-columns: 1fr; max-width: 600px; }
    .resource-category-wide { grid-column: span 1; }
}
@media (max-width: 768px) {
    :root { --section-padding: 80px; }
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .mobile-menu { display: block; }
    .tech-grid { grid-template-columns: 1fr; }
    .tech-card-featured { grid-template-columns: 1fr; }
    .life-mosaic { grid-template-columns: 1fr; }
    .life-card-wide { grid-column: span 1; }
    .timeline-line { left: 20px; }
    .timeline-item, .timeline-item-right {
        width: 100%; margin-left: 0; padding-left: 56px; padding-right: 0;
    }
    .timeline-item .timeline-dot, .timeline-item-right .timeline-dot {
        left: 12px; right: auto;
    }
    .footer-content { flex-direction: column; text-align: center; gap: 24px; }
}
@media (max-width: 480px) {
    :root { --section-padding: 60px; }
    .hero-name { font-size: 2.5rem; }
    .section-title { font-size: 1.8rem; }
}
