/* ========================================
   ADVANCED THEME — Cyberpunk AI Portfolio
   ======================================== */

/* ========================================
   1. CSS Custom Properties
   ======================================== */
:root {
    --bg-primary: #060b18;
    --bg-secondary: #0a1020;
    --bg-card: rgba(10, 16, 32, 0.7);
    --bg-card-hover: rgba(15, 25, 50, 0.85);
    --neon-cyan: #4a9eff;
    --neon-purple: #8b5cf6;
    --neon-pink: #ec4899;
    --neon-green: #10b981;
    --neon-gold: #f0a500;
    --neon-amber: #f59e0b;
    --gradient-primary: linear-gradient(135deg, #4a9eff, #f0a500);
    --gradient-glow: linear-gradient(135deg, rgba(74, 158, 255, 0.15), rgba(240, 165, 0, 0.15));
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(74, 158, 255, 0.12);
    --border-glow: rgba(240, 165, 0, 0.3);
    --shadow-neon: 0 0 20px rgba(74, 158, 255, 0.15);
    --shadow-neon-strong: 0 0 40px rgba(74, 158, 255, 0.2), 0 0 80px rgba(240, 165, 0, 0.1);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 50%;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.7;
    background: var(--bg-primary);
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: var(--transition);
}

a:hover { color: #fff; text-shadow: 0 0 10px var(--neon-cyan); }

a:focus-visible {
    outline: 2px solid var(--neon-cyan);
    outline-offset: 2px;
    border-radius: 2px;
}

ul { list-style: none; }

::selection {
    background: rgba(74, 158, 255, 0.3);
    color: #fff;
}

/* Particle Canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Scanline Overlay */
.scanline-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(74, 158, 255, 0.008) 2px,
        rgba(74, 158, 255, 0.008) 4px
    );
    pointer-events: none;
    z-index: 1;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--neon-cyan);
    color: var(--bg-primary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 10000;
    font-weight: 600;
}

.skip-link:focus { top: 16px; color: var(--bg-primary); }

/* ========================================
   3. Utilities
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.section {
    padding: 100px 0;
    position: relative;
    background: var(--bg-primary);
    z-index: 2;
}

.section--alt {
    background: var(--bg-secondary);
}

.section__title {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    line-height: 1.2;
}

.section__title-decorator {
    color: var(--neon-cyan);
    opacity: 0.6;
}

.section__divider {
    width: 80px;
    height: 2px;
    background: var(--gradient-primary);
    margin: 16px auto 56px;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(74, 158, 255, 0.4);
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-neon);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-mono);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    text-decoration: none;
    line-height: 1.5;
    position: relative;
}

.btn--primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    border: none;
}

.btn--primary:hover {
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

.btn--outline:hover {
    background: rgba(74, 158, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
}

.btn--glow:hover {
    box-shadow: 0 0 20px rgba(74, 158, 255, 0.4), 0 0 40px rgba(240, 165, 0, 0.15);
}

.btn--full { width: 100%; }

/* Tags */
.tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(74, 158, 255, 0.08);
    color: var(--neon-cyan);
    border: 1px solid rgba(74, 158, 255, 0.15);
    border-radius: 20px;
    font-size: 0.8125rem;
    font-family: var(--font-mono);
    font-weight: 500;
    line-height: 1.5;
    transition: var(--transition);
}

.tag:hover {
    background: rgba(74, 158, 255, 0.15);
    box-shadow: 0 0 10px rgba(74, 158, 255, 0.2);
}

.tag--sm {
    padding: 3px 10px;
    font-size: 0.7rem;
}

/* Status dots */
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--neon-cyan);
    box-shadow: 0 0 8px var(--neon-cyan);
    animation: pulse-glow 2s ease-in-out infinite;
}

.status-dot--active {
    background: var(--neon-green);
    box-shadow: 0 0 8px var(--neon-green);
}

.status-dot--done {
    background: var(--neon-purple);
    box-shadow: 0 0 8px var(--neon-purple);
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ========================================
   4. Navbar
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar--scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar__logo {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--neon-cyan);
    letter-spacing: -0.5px;
}

.navbar__logo-bracket {
    color: var(--neon-purple);
    opacity: 0.7;
}

.navbar__logo:hover {
    color: #fff;
    text-shadow: 0 0 15px var(--neon-cyan);
}

.navbar__list {
    display: flex;
    align-items: center;
    gap: 2px;
}

.navbar__link {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-family: var(--font-mono);
}

.navbar__link:hover,
.navbar__link--active {
    color: var(--neon-cyan);
    background: rgba(74, 158, 255, 0.06);
    text-shadow: 0 0 10px rgba(74, 158, 255, 0.3);
}

.navbar__link--cta {
    background: rgba(74, 158, 255, 0.1);
    border: 1px solid rgba(74, 158, 255, 0.3);
    color: var(--neon-cyan);
    margin-left: 8px;
}

.navbar__link--cta:hover {
    background: rgba(74, 158, 255, 0.2);
    box-shadow: 0 0 15px rgba(74, 158, 255, 0.2);
    color: #fff;
}

/* Hamburger */
.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.navbar__toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--neon-cyan);
    border-radius: 2px;
    transition: var(--transition);
    box-shadow: 0 0 5px rgba(74, 158, 255, 0.3);
}

.navbar__toggle--active .navbar__toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle--active .navbar__toggle-bar:nth-child(2) { opacity: 0; }

.navbar__toggle--active .navbar__toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Theme Switch */
.theme-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    transition: var(--transition);
    text-decoration: none;
    margin-left: 12px;
}

.theme-switch:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    background: rgba(74, 158, 255, 0.06);
    text-shadow: none;
}

/* ========================================
   5. Hero
   ======================================== */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: var(--bg-primary);
}

/* Background image - your photo */
.hero__bg-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: url('assets/hero-bg.png') top center / cover no-repeat;
    z-index: 0;
}

/* Gradient overlay to blend image into dark background */
.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background:
        linear-gradient(90deg, var(--bg-primary) 35%, rgba(6, 11, 24, 0.5) 65%, rgba(6, 11, 24, 0.3) 100%),
        linear-gradient(0deg, var(--bg-primary) 0%, transparent 30%),
        linear-gradient(180deg, var(--bg-primary) 0%, transparent 20%);
    z-index: 1;
}

.hero__grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(74, 158, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 158, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 30% center, rgba(0, 0, 0, 0.3) 0%, transparent 60%);
    -webkit-mask-image: radial-gradient(ellipse at 30% center, rgba(0, 0, 0, 0.3) 0%, transparent 60%);
    z-index: 2;
}

.hero__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 580px;
    margin-left: 120px;
    margin-right: auto;
    position: relative;
    z-index: 3;
    padding: 60px 0;
}

/* Terminal effect */
.hero__terminal {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--neon-green);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal__prompt { color: var(--neon-cyan); }

.terminal__cursor {
    animation: blink 1s step-end infinite;
    color: var(--neon-cyan);
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero__greeting {
    font-size: 1rem;
    color: var(--neon-gold);
    font-family: var(--font-mono);
    font-weight: 500;
    margin-bottom: 8px;
}

.hero__name {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 16px;
    font-family: var(--font-mono);
}

/* Glitch effect */
.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.hero__name:hover .glitch-text::before {
    animation: glitch-1 0.3s linear;
    color: var(--neon-cyan);
    opacity: 0.7;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.hero__name:hover .glitch-text::after {
    animation: glitch-2 0.3s linear;
    color: var(--neon-gold);
    opacity: 0.7;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes glitch-1 {
    0% { transform: translate(0); }
    20% { transform: translate(-3px, 2px); }
    40% { transform: translate(3px, -2px); }
    60% { transform: translate(-2px, 1px); }
    80% { transform: translate(2px, -1px); }
    100% { transform: translate(0); }
}

@keyframes glitch-2 {
    0% { transform: translate(0); }
    20% { transform: translate(3px, -2px); }
    40% { transform: translate(-3px, 2px); }
    60% { transform: translate(2px, -1px); }
    80% { transform: translate(-2px, 1px); }
    100% { transform: translate(0); }
}

.hero__title {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 20px;
    font-family: var(--font-mono);
}

.typed-prefix { color: var(--neon-gold); opacity: 0.5; }

.hero__tagline {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 32px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero__socials {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.hero__socials a {
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.hero__socials a:hover {
    color: var(--neon-gold);
    transform: translateY(-2px);
    filter: drop-shadow(0 0 8px rgba(240, 165, 0, 0.5));
    text-shadow: none;
}

.hero__status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--neon-green);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ========================================
   6. About
   ======================================== */
.about__content {
    max-width: 800px;
    margin: 0 auto;
}

.about__card {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.about__card-corner {
    position: absolute;
    width: 20px;
    height: 20px;
}

.about__card-corner::before,
.about__card-corner::after {
    content: '';
    position: absolute;
    background: var(--neon-cyan);
    opacity: 0.4;
}

.about__card-corner--tl { top: 0; left: 0; }
.about__card-corner--tl::before { width: 20px; height: 1px; top: 0; left: 0; }
.about__card-corner--tl::after { width: 1px; height: 20px; top: 0; left: 0; }

.about__card-corner--tr { top: 0; right: 0; }
.about__card-corner--tr::before { width: 20px; height: 1px; top: 0; right: 0; }
.about__card-corner--tr::after { width: 1px; height: 20px; top: 0; right: 0; }

.about__card-corner--bl { bottom: 0; left: 0; }
.about__card-corner--bl::before { width: 20px; height: 1px; bottom: 0; left: 0; }
.about__card-corner--bl::after { width: 1px; height: 20px; bottom: 0; left: 0; }

.about__card-corner--br { bottom: 0; right: 0; }
.about__card-corner--br::before { width: 20px; height: 1px; bottom: 0; right: 0; }
.about__card-corner--br::after { width: 1px; height: 20px; bottom: 0; right: 0; }

.about__text {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: center;
}

/* ========================================
   7. Education Timeline
   ======================================== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--neon-cyan), var(--neon-purple), transparent);
}

.timeline__item {
    position: relative;
    padding-left: 64px;
    padding-bottom: 40px;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__dot {
    position: absolute;
    left: 17px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    background: var(--bg-primary);
    border: 2px solid var(--neon-cyan);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline__dot-ping {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    background: var(--neon-cyan);
    opacity: 0.4;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.timeline__content {
    padding: 24px;
}

.timeline__date {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-mono);
    color: var(--neon-cyan);
    background: rgba(74, 158, 255, 0.08);
    border: 1px solid rgba(74, 158, 255, 0.15);
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.timeline__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.3;
}

.timeline__subtitle {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.timeline__detail {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.timeline__grades { margin-top: 16px; }

.timeline__grades-heading {
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-mono);
    color: var(--neon-cyan);
    margin-bottom: 8px;
    margin-top: 12px;
}

.timeline__grades-heading:first-child { margin-top: 0; }

.grades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 6px;
}

.grade-item {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    padding: 4px 0;
}

.grade-item strong {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-mono);
    margin-right: 8px;
    color: var(--bg-primary);
    background: var(--neon-cyan);
    box-shadow: 0 0 6px rgba(74, 158, 255, 0.3);
}

/* ========================================
   8. Experience
   ======================================== */
.experience__card {
    max-width: 900px;
    margin: 0 auto;
    padding: 36px;
}

.experience__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.experience__role {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.experience__company {
    font-size: 1rem;
    color: var(--neon-cyan);
    font-weight: 500;
    font-family: var(--font-mono);
}

.experience__date {
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-mono);
    color: var(--neon-cyan);
    background: rgba(74, 158, 255, 0.08);
    border: 1px solid rgba(74, 158, 255, 0.15);
    padding: 6px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.experience__list { margin-bottom: 24px; }

.experience__list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.experience__list li::before {
    content: '>';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--neon-cyan);
    font-family: var(--font-mono);
    font-weight: 700;
}

.experience__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ========================================
   9. Projects
   ======================================== */
.projects__filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 500;
    font-family: var(--font-mono);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

.filter-btn--active {
    background: rgba(74, 158, 255, 0.1);
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(74, 158, 255, 0.15);
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.project-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover::before { opacity: 1; }

.project-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.project-card__status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-card__year {
    font-size: 0.7rem;
    font-weight: 600;
    font-family: var(--font-mono);
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 10px;
    border-radius: 12px;
}

.project-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
    transition: var(--transition);
}

.project-card:hover .project-card__title {
    color: var(--neon-cyan);
}

.project-card__desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.project-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* ========================================
   10. Skills
   ======================================== */
.skills__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.skill-category {
    padding: 28px;
    text-align: center;
}

.skill-category__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 158, 255, 0.06);
    border: 1px solid rgba(74, 158, 255, 0.15);
    border-radius: var(--radius-lg);
    color: var(--neon-cyan);
    transition: var(--transition);
}

.skill-category:hover .skill-category__icon {
    box-shadow: 0 0 20px rgba(74, 158, 255, 0.2);
    border-color: var(--neon-cyan);
}

.skill-category__title {
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-primary);
    margin-bottom: 16px;
}

.skill-category__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.skill-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(74, 158, 255, 0.06);
    color: var(--neon-cyan);
    border: 1px solid rgba(74, 158, 255, 0.1);
    border-radius: 20px;
    font-size: 0.8125rem;
    font-family: var(--font-mono);
    font-weight: 500;
    transition: var(--transition);
}

.skill-tag:hover {
    background: rgba(74, 158, 255, 0.12);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(74, 158, 255, 0.15);
    color: #fff;
}

/* ========================================
   11. Certificates
   ======================================== */
.certs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.cert-card {
    padding: 24px;
    text-align: center;
}

.cert-card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-purple);
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: var(--radius-full);
}

.cert-card:hover .cert-card__icon {
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.cert-card__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.3;
}

.cert-card__org {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.cert-card__year {
    font-size: 0.7rem;
    font-weight: 600;
    font-family: var(--font-mono);
    color: var(--neon-purple);
}

/* ========================================
   12. Extracurricular
   ======================================== */
.activities__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.activity-card {
    padding: 28px;
    text-align: center;
}

.activity-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(236, 72, 153, 0.08);
    border: 1px solid rgba(236, 72, 153, 0.15);
    border-radius: var(--radius-full);
    color: var(--neon-pink);
}

.activity-card:hover .activity-card__icon {
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.3);
}

.activity-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.activity-card__desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.activity-card__year {
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-mono);
    color: var(--neon-pink);
}

/* ========================================
   13. Contact
   ======================================== */
.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact__text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact__details { margin-bottom: 32px; }

.contact__item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.contact__item svg {
    color: var(--neon-cyan);
    flex-shrink: 0;
}

.contact__item a,
.contact__item span {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.contact__item a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(74, 158, 255, 0.3);
}

.contact__socials {
    display: flex;
    gap: 16px;
}

.contact__socials a {
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.contact__socials a:hover {
    color: var(--neon-cyan);
    transform: translateY(-2px);
    filter: drop-shadow(0 0 8px rgba(74, 158, 255, 0.5));
    text-shadow: none;
}

/* Form */
.contact__form { padding: 32px; }

.form-group { margin-bottom: 20px; }

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    font-family: var(--font-mono);
    color: var(--neon-cyan);
    margin-bottom: 6px;
    opacity: 0.8;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(74, 158, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-input::placeholder { color: var(--text-muted); }

.form-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    background: rgba(74, 158, 255, 0.05);
    box-shadow: 0 0 15px rgba(74, 158, 255, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    margin-top: 16px;
    font-size: 0.875rem;
    font-family: var(--font-mono);
    text-align: center;
    min-height: 20px;
}

.form-status--success { color: var(--neon-green); }
.form-status--error { color: var(--neon-pink); }

/* ========================================
   14. Footer
   ======================================== */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 40px 0 24px;
    position: relative;
    z-index: 2;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer__logo {
    font-family: var(--font-mono);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--neon-cyan);
}

.footer__tagline {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.footer__links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer__links a {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--font-mono);
    transition: var(--transition);
}

.footer__links a:hover { color: var(--neon-cyan); }

.footer__socials {
    display: flex;
    gap: 16px;
}

.footer__socials a {
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer__socials a:hover {
    color: var(--neon-cyan);
    text-shadow: none;
}

.footer__bottom { text-align: center; }

.footer__bottom p {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
}

/* ========================================
   15. Scroll to Top
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: rgba(74, 158, 255, 0.1);
    border: 1px solid rgba(74, 158, 255, 0.3);
    color: var(--neon-cyan);
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
    backdrop-filter: blur(10px);
}

.scroll-top--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: rgba(74, 158, 255, 0.2);
    box-shadow: 0 0 20px rgba(74, 158, 255, 0.3);
    transform: translateY(-2px);
}

/* ========================================
   16. Scroll Animations
   ======================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.projects__grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.projects__grid .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.skills__grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.skills__grid .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }

/* ========================================
   17. Responsive
   ======================================== */
@media (max-width: 1024px) {
    .hero__name { font-size: 2.75rem; }
    .contact__inner { gap: 40px; }
    .theme-switch span { display: none; }
}

@media (max-width: 768px) {
    .section { padding: 70px 0; }
    .section__title { font-size: 1.5rem; }
    .section__divider { margin-bottom: 40px; }

    .navbar__toggle { display: flex; }

    .navbar__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        padding: 80px 32px 32px;
        transition: var(--transition);
        border-left: 1px solid var(--border-color);
    }

    .navbar__menu--open { right: 0; }

    .navbar__list { flex-direction: column; gap: 0; }

    .navbar__link {
        display: block;
        padding: 12px 16px;
        font-size: 0.9375rem;
    }

    .navbar__link--cta { margin-left: 0; margin-top: 8px; text-align: center; }

    .theme-switch { margin-left: auto; margin-right: 12px; }
    .theme-switch span { display: none; }

    .hero { min-height: auto; padding: 120px 0 60px; background: var(--bg-primary); }
    .hero__bg-image { position: absolute; width: 100%; opacity: 0.15; }
    .hero__overlay { position: absolute; background: linear-gradient(0deg, var(--bg-primary) 10%, rgba(6, 11, 24, 0.8) 100%); }
    .hero__inner { text-align: center; max-width: 100%; }
    .hero__name { font-size: 2rem; }
    .hero__tagline { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero__actions { justify-content: center; }
    .hero__socials { justify-content: center; }
    .hero__terminal { justify-content: center; }
    .hero__status { justify-content: center; }

    .projects__grid { grid-template-columns: 1fr; }
    .skills__grid { grid-template-columns: 1fr; }
    .contact__inner { grid-template-columns: 1fr; gap: 40px; }
    .experience__header { flex-direction: column; }
    .experience__card { padding: 24px; }
    .grades-grid { grid-template-columns: 1fr; }

    .footer__top { flex-direction: column; text-align: center; }
    .footer__links { justify-content: center; }
    .footer__socials { justify-content: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero__name { font-size: 1.75rem; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }
    .project-card { padding: 20px; }
    .experience__card { padding: 20px; }
    .contact__form { padding: 20px; }
    .about__card { padding: 24px; }
    .certs__grid { grid-template-columns: 1fr; }
    .activities__grid { grid-template-columns: 1fr; }
    .scroll-top { bottom: 20px; right: 20px; }
}

/* ========================================
   18. Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .animate-on-scroll { opacity: 1; transform: none; }
    .terminal__cursor { animation: none; opacity: 1; }
    .timeline__dot-ping { animation: none; opacity: 0; }
    .status-dot { animation: none; }
    .scanline-overlay { display: none; }
}
