/* ===== Design Tokens ===== */
:root {
    --bg: #0b0b14;
    --bg-elevated: #12121f;
    --bg-card: #16162a;
    --bg-nav: rgba(11, 11, 20, 0.85);
    --accent: #34d399;
    --accent-dim: rgba(52, 211, 153, 0.15);
    --accent-border: rgba(52, 211, 153, 0.25);
    --text: #e8eaf0;
    --text-secondary: #9ca3b8;
    --text-heading: #ffffff;
    --font-heading: 'Sora', system-ui, sans-serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --max-width: 1200px;
    --radius: 16px;
    --radius-sm: 10px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: #6ee7b7;
}

/* ===== Focus styles ===== */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ===== Container ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
}

/* ===== Section Labels ===== */
.section-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 12px;
}

/* ===== Nav ===== */
#nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

#nav.scrolled {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.5px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-heading);
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s, font-weight 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--text-heading);
    font-weight: 700;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ===== Nav Dropdown ===== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 16px 0 8px;
    background: #1a1a2e;
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-sm);
    min-width: 240px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
    list-style: none;
    z-index: 200;
    backdrop-filter: blur(20px);
    margin-top: 0;
}

.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 20px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu li {
    padding: 0;
}

.nav-dropdown-menu a {
    display: block;
    padding: 12px 22px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text) !important;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
}

.nav-dropdown-menu a::after {
    display: none;
}

.nav-dropdown-menu a:hover {
    color: var(--accent) !important;
    background: rgba(52, 211, 153, 0.1);
}

.lang-toggle {
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: background 0.2s, transform 0.1s;
}

.lang-toggle:hover {
    background: rgba(52, 211, 153, 0.25);
}

.lang-toggle:active {
    transform: scale(0.95);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 140px 32px 80px;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
}

/* Aurora mesh background */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(52, 211, 153, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 60% 80% at 85% 15%, rgba(99, 102, 241, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 60% 85%, rgba(52, 211, 153, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 70% 40% at 10% 90%, rgba(167, 139, 250, 0.18) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: auroraPulse 6s ease-in-out infinite alternate;
}

@keyframes auroraPulse {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Animated grid */
.hero::after {
    content: '';
    position: absolute;
    inset: -50%;
    background-image:
        linear-gradient(rgba(52, 211, 153, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(52, 211, 153, 0.12) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: center top;
    mask-image: linear-gradient(to bottom, transparent 15%, rgba(0,0,0,0.8) 35%, rgba(0,0,0,0.5) 55%, transparent 75%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 15%, rgba(0,0,0,0.8) 35%, rgba(0,0,0,0.5) 55%, transparent 75%);
    animation: gridScroll 15s linear infinite;
}

@keyframes gridScroll {
    0% { background-position: 0 0; }
    100% { background-position: 0 60px; }
}

/* Floating aurora blobs */
.hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hero-glow::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -5%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.35) 0%, rgba(52, 211, 153, 0.1) 40%, transparent 70%);
    animation: auroraFloat1 10s ease-in-out infinite;
    filter: blur(40px);
}

.hero-glow::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.28) 0%, rgba(167, 139, 250, 0.08) 40%, transparent 70%);
    animation: auroraFloat2 13s ease-in-out infinite;
    filter: blur(40px);
}

@keyframes auroraFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-80px, 50px) scale(1.15); }
    66% { transform: translate(40px, -40px) scale(0.9); }
}

@keyframes auroraFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(70px, -50px) scale(1.2); }
    66% { transform: translate(-50px, 40px) scale(0.85); }
}

/* Floating orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    top: 5%;
    right: 10%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.35) 0%, rgba(52, 211, 153, 0.08) 50%, transparent 70%);
    filter: blur(30px);
    animation: orbDrift1 14s ease-in-out infinite;
}

.hero-orb-2 {
    width: 350px;
    height: 350px;
    top: 50%;
    right: 25%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, rgba(99, 102, 241, 0.06) 50%, transparent 70%);
    filter: blur(35px);
    animation: orbDrift2 20s ease-in-out infinite;
}

.hero-orb-3 {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 40%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.22) 0%, rgba(167, 139, 250, 0.05) 50%, transparent 70%);
    filter: blur(35px);
    animation: orbDrift3 16s ease-in-out infinite;
}

@keyframes orbDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-100px, 60px) scale(1.1); }
    50% { transform: translate(-40px, -50px) scale(0.95); }
    75% { transform: translate(80px, 30px) scale(1.05); }
}

@keyframes orbDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(80px, -60px) scale(1.15); }
    50% { transform: translate(-60px, 40px) scale(0.9); }
    75% { transform: translate(40px, -80px) scale(1.1); }
}

@keyframes orbDrift3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-60px, -80px) scale(1.1); }
    50% { transform: translate(90px, 50px) scale(0.95); }
    75% { transform: translate(-80px, 30px) scale(1.05); }
}

/* Mouse-reactive glow */
.hero-mouse-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.25) 0%, rgba(52, 211, 153, 0.08) 30%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s;
    transform: translate(-50%, -50%);
    filter: blur(15px);
}

/* Light streaks */
.hero-streaks {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 4;
    overflow: hidden;
}

.streak {
    position: absolute;
    height: 1px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.5), rgba(52, 211, 153, 0.15), transparent);
    animation: streakMove linear infinite;
    opacity: 0;
}

.streak-1 {
    top: 25%;
    width: 300px;
    animation-duration: 8s;
    animation-delay: 0s;
}

.streak-2 {
    top: 45%;
    width: 200px;
    animation-duration: 12s;
    animation-delay: 3s;
}

.streak-3 {
    top: 65%;
    width: 250px;
    animation-duration: 10s;
    animation-delay: 6s;
}

.streak-4 {
    top: 35%;
    width: 180px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.45), rgba(99, 102, 241, 0.12), transparent);
    animation-duration: 14s;
    animation-delay: 2s;
}

.streak-5 {
    top: 75%;
    width: 220px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.4), rgba(167, 139, 250, 0.1), transparent);
    animation-duration: 11s;
    animation-delay: 5s;
}

@keyframes streakMove {
    0% { left: -300px; opacity: 0; }
    5% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 110%; opacity: 0; }
}

.hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 740px;
}

.hero-intro {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
}

.hero-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(52, 211, 153, 0.25);
    box-shadow: 0 0 32px rgba(52, 211, 153, 0.12), 0 0 0 4px rgba(52, 211, 153, 0.06);
    flex-shrink: 0;
    background: var(--bg-elevated);
}

.hero-greeting {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 0;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 0 18px;
}

.hero-name .word {
    display: inline-flex;
}

.hero-name .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotateX(40deg);
    animation: letterReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform-origin: bottom;
}

@keyframes letterReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.hero-name .letter:hover {
    color: var(--accent);
    transform: translateY(-4px);
    transition: transform 0.2s, color 0.2s;
}

.hero-tagline {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.5;
    max-width: 560px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.tag {
    background: var(--accent-dim);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--accent-border);
    transition: background 0.2s;
}

.tag {
    transition: background 0.2s, font-weight 0.3s, transform 0.2s;
}

.tag:hover {
    background: rgba(52, 211, 153, 0.22);
    font-weight: 700;
    transform: translateY(-2px);
}

.hero-links {
    display: flex;
    gap: 16px;
}

.hero-links a {
    color: var(--text-secondary);
    padding: 10px;
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
}

.hero-links a:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.04);
}

/* ===== Sections ===== */
.section {
    padding: 80px 32px;
}

.section h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.5px;
    margin-bottom: 40px;
}

/* ===== Section Dividers ===== */
.section-fade {
    height: 80px;
}

.fade-hero-projects {
    background: linear-gradient(to bottom, var(--bg), var(--bg-elevated));
}

.fade-projects-about {
    background: linear-gradient(to bottom, var(--bg-elevated), var(--bg));
}

.fade-about-contact {
    background: linear-gradient(to bottom, var(--bg), var(--bg-elevated));
}

/* ===== Projects Section ===== */
.section-projects {
    background: var(--bg-elevated);
    position: relative;
    overflow: hidden;
}

/* Constellation dot grid */
.section-projects::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(52, 211, 153, 0.25) 1.5px, transparent 1.5px),
        radial-gradient(circle, rgba(99, 102, 241, 0.15) 1px, transparent 1px);
    background-size: 80px 80px, 120px 120px;
    background-position: 0 0, 40px 40px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(0,0,0,0.4) 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(0,0,0,0.4) 0%, transparent 70%);
}

/* Aurora wash */
.section-projects::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 80% 30%, rgba(52, 211, 153, 0.16) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 15% 70%, rgba(167, 139, 250, 0.16) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 50% 50%, rgba(99, 102, 241, 0.12) 0%, transparent 60%);
    pointer-events: none;
    animation: projectsGlow 10s ease-in-out infinite alternate;
}

@keyframes projectsGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.section-projects > .container {
    position: relative;
    z-index: 1;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 40px;
    transition: border-color 0.3s, transform 0.2s, box-shadow 0.3s;
}

.project-card:hover {
    border-color: var(--accent-border);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.project-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
}

.project-icon-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.15), rgba(52, 211, 153, 0.05));
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    border: 1px solid var(--accent-border);
}

.project-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-heading);
    font-weight: 700;
}

.badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-live {
    background: rgba(52, 211, 153, 0.15);
    color: var(--accent);
}

.badge-founder {
    background: rgba(167, 139, 250, 0.15);
    color: #a78bfa;
}

.badge-internal {
    background: rgba(156, 163, 184, 0.12);
    color: var(--text-secondary);
}

.project-desc {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.project-highlights {
    list-style: none;
    margin-bottom: 24px;
}

.project-highlights li {
    position: relative;
    padding-left: 22px;
    color: var(--text);
    font-size: 1.05rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.project-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.project-links {
    display: flex;
    gap: 10px;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 4px;
}

.project-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent);
    padding: 8px 18px;
    border: 1px solid var(--accent-border);
    border-radius: 100px;
    transition: background 0.2s, transform 0.1s;
}

.project-link:hover {
    background: var(--accent-dim);
    color: var(--accent);
}

.project-link:active {
    transform: scale(0.97);
}

/* ===== Hero Track Record ===== */
.hero-track {
    margin-top: 56px;
    position: relative;
    z-index: 1;
}

.hero-track-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 20px;
}

.hero-track-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hero-track-card {
    padding: 28px 24px;
    border-radius: var(--radius);
    background: rgba(22, 22, 42, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.2s;
}

.hero-track-card:hover {
    border-color: var(--accent-border);
    transform: translateY(-3px);
}

.hero-track-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), rgba(99, 102, 241, 0.6));
    opacity: 0;
    transition: opacity 0.3s;
}

.hero-track-card:hover::before {
    opacity: 1;
}

.hero-track-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--accent) 0%, #6ee7b7 50%, rgba(99, 102, 241, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    line-height: 1.1;
}

.hero-track-desc {
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 12px;
}

.hero-track-result {
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 500;
    font-family: var(--font-heading);
    line-height: 1.5;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

a.hero-track-card,
a.project-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.project-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.divider-projects-about {
    background: var(--bg-elevated);
}

/* ===== About Section ===== */
.section-about {
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

/* Diagonal aurora flow — emerald (top-right) → indigo (center) → violet (bottom-left) */
.section-about::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 50% at 85% 10%, rgba(52, 211, 153, 0.22) 0%, transparent 60%),
        radial-gradient(ellipse 50% 55% at 60% 40%, rgba(99, 102, 241, 0.16) 0%, transparent 55%),
        radial-gradient(ellipse 55% 50% at 35% 65%, rgba(167, 139, 250, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 50% 60% at 10% 90%, rgba(167, 139, 250, 0.22) 0%, transparent 60%);
    pointer-events: none;
    animation: aboutDiagonalPulse 10s ease-in-out infinite alternate;
}

@keyframes aboutDiagonalPulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.75; }
}

/* Floating orb drifting along the diagonal */
.section-about::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    top: 10%;
    right: 5%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.2) 0%, rgba(99, 102, 241, 0.1) 35%, rgba(167, 139, 250, 0.06) 55%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    animation: aboutOrbDiagonal 18s ease-in-out infinite;
}

@keyframes aboutOrbDiagonal {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    33% { transform: translate(-200px, 150px) scale(1.15); opacity: 1; }
    66% { transform: translate(-350px, 280px) scale(0.95); opacity: 0.7; }
}

.section-about > .container {
    position: relative;
    z-index: 1;
}

/* About zigzag rows */
.about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    min-height: 280px;
}

.about-row + .about-row {
    margin-top: 20px;
}

.about-row-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 32px 0;
}

/* Empty spacer — aurora shows through from section background */
.about-row-spacer {
    min-height: 200px;
}

/* About blocks — borderless with left accent bar */
.about-block {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 0 0 24px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-block::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent), rgba(167, 139, 250, 0.6));
    border-radius: 3px;
    transition: width 0.3s, opacity 0.3s;
    opacity: 0.5;
}

.about-block:hover::before {
    width: 4px;
    opacity: 1;
}

.about-block:hover {
    transform: translateX(4px);
}

.about-block-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.about-block-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    animation: iconFloat 4s ease-in-out infinite;
    transition: transform 0.3s, color 0.3s;
}

.about-block-icon svg {
    width: 22px;
    height: 22px;
}

.about-row-left .about-block:nth-child(1) .about-block-icon { animation-delay: 0s; }
.about-row-left .about-block:nth-child(2) .about-block-icon { animation-delay: 1s; }
.about-row-right .about-block:nth-child(1) .about-block-icon { animation-delay: 2s; }
.about-row-right .about-block:nth-child(2) .about-block-icon { animation-delay: 3s; }

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.about-block:hover .about-block-icon {
    transform: scale(1.15);
    color: #6ee7b7;
}

.about-block-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-heading);
}

.about-block-text {
    font-size: 1.15rem;
    color: var(--text);
    line-height: 1.7;
}

/* ===== Contact Section ===== */
.section-contact {
    background: var(--bg-elevated);
    position: relative;
    overflow: hidden;
}

/* Aurora glow — emerald + purple */
.section-contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 30% 40%, rgba(167, 139, 250, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 60% 70% at 70% 60%, rgba(52, 211, 153, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 50% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    pointer-events: none;
    animation: contactAurora 8s ease-in-out infinite alternate;
}

/* Floating violet orb */
.section-contact::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.2) 0%, rgba(52, 211, 153, 0.08) 40%, transparent 70%);
    filter: blur(30px);
    pointer-events: none;
    animation: contactOrb 10s ease-in-out infinite;
}

@keyframes contactAurora {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

@keyframes contactOrb {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    33% { transform: translate(-45%, -55%) scale(1.2); }
    66% { transform: translate(-55%, -45%) scale(0.9); }
}

.section-contact > .container {
    position: relative;
    z-index: 1;
}

.contact-links {
    display: flex;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 16px 28px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.2s, transform 0.2s;
}

.contact-item:hover {
    color: var(--accent);
    border-color: var(--accent-border);
    transform: translateY(-2px);
}

.contact-item svg {
    flex-shrink: 0;
}

/* ===== Footer ===== */
footer {
    padding: 40px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    background: linear-gradient(to top, rgba(52, 211, 153, 0.03) 0%, transparent 100%);
}

footer p {
    font-family: var(--font-heading);
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-align: center;
}

/* ===== Animations ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-intro { animation: fadeUp 0.6s ease both; }
.hero-tagline { animation: fadeUp 0.6s 0.5s ease both; }
.hero-tags { animation: fadeUp 0.6s 0.6s ease both; }
.hero-links { animation: fadeUp 0.6s 0.7s ease both; }

/* ===== Scroll Reveal ===== */
[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Card Tilt ===== */
.project-card {
    transform-style: preserve-3d;
    perspective: 800px;
}

.project-card .project-header,
.project-card .project-desc,
.project-card .project-highlights,
.project-card .project-links {
    transform: translateZ(20px);
}

/* ===== Skip Link ===== */
.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    padding: 8px 16px;
    background: var(--accent);
    color: var(--bg);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    z-index: 200;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 16px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .about-row {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .about-row-spacer {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.6rem;
        letter-spacing: -1px;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .hero {
        padding: 100px 24px 60px;
        min-height: auto;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }


    .hero-track-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 60px 24px;
    }

    .container {
        padding: 0 20px;
    }

    .nav-inner {
        padding: 0 20px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .contact-links {
        flex-direction: column;
    }

    .section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-tags {
        gap: 8px;
    }

    .tag {
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    .nav-right {
        gap: 16px;
    }

    .project-card {
        padding: 28px;
    }

    .hero-track-grid {
        grid-template-columns: 1fr;
    }

    .hero-track-number {
        font-size: 2rem;
    }

    .hero-track {
        margin-top: 40px;
    }
}
