/* ===================================================
   PRANAV MURALIDHAR — PORTFOLIO STYLES
   Premium, Interactive, Dark/Light Theme
   =================================================== */

/* ---------- CSS Variables / Design Tokens ---------- */
:root {
    /* Dark Theme (default) — Neural Network Aesthetic */
    --bg-primary: #050510;
    --bg-secondary: #0a0a1a;
    --bg-tertiary: #10102a;
    --bg-card: rgba(16, 16, 42, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --text-primary: #e4e4e7;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --accent-1: #7c3aed;
    --accent-2: #06b6d4;
    --accent-3: #ec4899;
    --accent-4: #10b981;
    --gradient-main: linear-gradient(135deg, #7c3aed, #06b6d4);
    --gradient-warm: linear-gradient(135deg, #ec4899, #f97316);
    --gradient-neural: linear-gradient(135deg, #7c3aed, #ec4899, #06b6d4);
    --gradient-card: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(6, 182, 212, 0.05));
    --border-color: rgba(124, 58, 237, 0.12);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.2);
    --shadow-glow-cyan: 0 0 40px rgba(6, 182, 212, 0.2);
    --nav-bg: rgba(5, 5, 16, 0.9);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    --bg-primary: #f5f3ff;
    --bg-secondary: #ffffff;
    --bg-tertiary: #ede9fe;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-glass: rgba(124, 58, 237, 0.04);
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a5a;
    --text-muted: #8a8a9a;
    --border-color: rgba(124, 58, 237, 0.1);
    --shadow-sm: 0 2px 8px rgba(124, 58, 237, 0.06);
    --shadow-md: 0 8px 32px rgba(124, 58, 237, 0.08);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.1);
    --shadow-glow-cyan: 0 0 40px rgba(6, 182, 212, 0.1);
    --nav-bg: rgba(245, 243, 255, 0.9);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
    transition: background var(--transition), color var(--transition);
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }
}

a {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Custom Cursor ---------- */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent-1);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

.cursor-follower {
    width: 36px;
    height: 36px;
    border: 2px solid var(--accent-1);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, width 0.3s, height 0.3s, border-color 0.3s;
    opacity: 0.6;
}

.cursor.active {
    transform: scale(3);
}

.cursor-follower.active {
    width: 50px;
    height: 50px;
    border-color: var(--accent-2);
    opacity: 0.4;
}

@media (max-width: 768px) {

    .cursor,
    .cursor-follower {
        display: none;
    }
}

/* ---------- Particle Canvas ---------- */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#neural-net-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

/* ---------- Loader ---------- */
.loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* Neural Network Loader */
.neural-loader {
    display: flex;
    align-items: center;
    gap: 0;
    height: 120px;
}

.nn-layer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    height: 120px;
    gap: 8px;
}

.nn-node {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-1);
    box-shadow: 0 0 12px rgba(124, 58, 237, 0.6), 0 0 30px rgba(124, 58, 237, 0.2);
    animation: nodePulse 1.8s ease-in-out infinite;
    animation-delay: var(--delay);
}

.node-hidden {
    width: 12px;
    height: 12px;
    background: var(--accent-3);
    box-shadow: 0 0 12px rgba(236, 72, 153, 0.6), 0 0 30px rgba(236, 72, 153, 0.2);
}

.node-output {
    background: var(--accent-2);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.6), 0 0 30px rgba(6, 182, 212, 0.2);
}

@keyframes nodePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.4);
        opacity: 1;
    }
}

/* Synapses */
.nn-synapses {
    width: 80px;
    height: 120px;
    flex-shrink: 0;
}

.synapse-svg {
    width: 100%;
    height: 100%;
}

.synapse-line {
    stroke: var(--accent-1);
    stroke-width: 0.8;
    opacity: 0;
    animation: synapseFlow 2s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes synapseFlow {
    0% {
        opacity: 0;
        stroke-dasharray: 100;
        stroke-dashoffset: 100;
    }

    50% {
        opacity: 0.6;
        stroke-dashoffset: 0;
    }

    100% {
        opacity: 0;
        stroke-dashoffset: -100;
    }
}

/* Brain Icon */
.loader-brain-icon {
    font-size: 2.2rem;
    background: var(--gradient-neural);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: brainGlow 2s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(124, 58, 237, 0.4));
}

@keyframes brainGlow {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.3));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 25px rgba(124, 58, 237, 0.6));
    }
}

/* Loader Label */
.loader-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.loading-dots::after {
    content: '';
    animation: loadingDots 1.5s steps(4, end) infinite;
}

@keyframes loadingDots {
    0% {
        content: '';
    }

    25% {
        content: '.';
    }

    50% {
        content: '..';
    }

    75% {
        content: '...';
    }
}

.loader-bar {
    width: 240px;
    height: 3px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    height: 100%;
    width: 0;
    background: var(--gradient-neural);
    border-radius: 10px;
    animation: loaderProgress 2s ease forwards;
}

@keyframes loaderProgress {
    to {
        width: 100%;
    }
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-bracket {
    color: var(--accent-1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width var(--transition);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-glass);
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.theme-toggle:hover {
    background: var(--accent-1);
    color: white;
    border-color: var(--accent-1);
    transform: rotate(30deg);
}

.nav-cta {
    padding: 10px 24px;
    background: var(--gradient-main);
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.nav-resume {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border: 1px solid var(--accent-2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-2);
    transition: all var(--transition);
    cursor: none;
}

.nav-resume i {
    font-size: 0.8rem;
    transition: transform var(--transition);
}

.nav-resume:hover {
    background: var(--accent-2);
    color: #050510;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
    transform: translateY(-2px);
}

.nav-resume:hover i {
    transform: translateY(2px);
}

@media (max-width: 768px) {
    .nav-resume span {
        display: none;
    }

    .nav-resume {
        padding: 9px 12px;
    }
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        transition: right var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-actions .nav-cta {
        display: none;
    }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition);
    cursor: none;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
}

.btn-primary i {
    transition: transform var(--transition);
}

.btn-primary:hover i {
    transform: translateX(4px);
}

.btn-outline {
    border: 2px solid var(--accent-1);
    color: var(--accent-1);
    background: transparent;
}

.btn-outline:hover {
    background: var(--accent-1);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.3);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ---------- Section Styles ---------- */
.section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--accent-1);
    display: block;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ---------- Hero Section ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-1);
    top: -200px;
    right: -100px;
    animation: float-shape 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-2);
    bottom: -100px;
    left: -100px;
    animation: float-shape 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-3);
    top: 50%;
    left: 50%;
    animation: float-shape 18s ease-in-out infinite 3s;
}

@keyframes float-shape {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(10px, -10px) scale(1.02);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-2);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s ease forwards;
    opacity: 0;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-greeting {
    display: block;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
}

.hero-name {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-cursor-blink {
    animation: blink 1s step-end infinite;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero-roles {
    min-height: 36px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.role-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--accent-2);
    font-family: 'JetBrains Mono', monospace;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 520px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    gap: 40px;
    animation: fadeInUp 0.8s ease 1s forwards;
    opacity: 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-plus {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease 0.5s forwards;
    opacity: 0;
}

.hero-avatar-container {
    position: relative;
    width: 420px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--accent-1);
    border-right-color: var(--accent-2);
    animation: spin-ring 8s linear infinite;
}

.ring-2 {
    inset: 15px;
    border-top-color: var(--accent-3);
    border-right-color: var(--accent-1);
    animation-direction: reverse;
    animation-duration: 12s;
}

@keyframes spin-ring {
    to {
        transform: rotate(360deg);
    }
}

.avatar-inner {
    width: 280px;
    height: 280px;
    position: relative;
    z-index: 2;
    border-radius: 50%;
    overflow: hidden;
}

/* Profile Photo */
.profile-photo-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.photo-glow {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--gradient-neural);
    z-index: -1;
    filter: blur(15px);
    opacity: 0.5;
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* Third ring */
.ring-3 {
    inset: 30px;
    border-top-color: var(--accent-2);
    border-right-color: var(--accent-3);
    animation-duration: 16s;
    opacity: 0.5;
}

/* Code Window */
.code-window {
    background: #1e1e2e;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f57;
}

.dot.yellow {
    background: #febc2e;
}

.dot.green {
    background: #28c840;
}

.code-title {
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.code-body {
    padding: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    line-height: 1.8;
    color: #cdd6f4;
    overflow-x: auto;
}

.code-keyword {
    color: #cba6f7;
}

.code-class {
    color: #89dceb;
}

.code-func {
    color: #89b4fa;
}

.code-string {
    color: #a6e3a1;
}

/* Floating Icons */
.floating-icon {
    position: absolute;
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    z-index: 3;
    transition: transform var(--transition), box-shadow var(--transition);
}

.floating-icon:hover {
    transform: scale(1.2);
    box-shadow: var(--shadow-glow);
}

.icon-neuron {
    top: 5%;
    left: 10%;
    color: var(--accent-1);
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.icon-tensor {
    top: 5%;
    right: 10%;
    color: var(--accent-2);
    animation: float 7s ease-in-out infinite 0.5s;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.icon-python {
    top: 45%;
    left: -5%;
    color: #3776ab;
    animation: float 5s ease-in-out infinite 1s;
}

.icon-data {
    top: 45%;
    right: -5%;
    color: var(--accent-4);
    animation: float 6s ease-in-out infinite 1.5s;
}

.icon-gpu {
    bottom: 10%;
    left: 5%;
    color: var(--accent-3);
    animation: float 8s ease-in-out infinite 2s;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
}

.icon-nlp {
    bottom: 10%;
    right: 10%;
    color: #f59e0b;
    animation: float 7s ease-in-out infinite 0.8s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 1s ease 1.5s forwards;
    opacity: 0;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 14px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-1);
    border-radius: 4px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(14px);
    }
}

.scroll-indicator span {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ---------- About Section ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 1rem;
}

.about-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.info-item:hover {
    border-color: var(--accent-1);
    transform: translateY(-2px);
}

.info-item i {
    color: var(--accent-1);
    font-size: 1.1rem;
    margin-top: 3px;
}

.info-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.info-value {
    font-weight: 500;
    font-size: 0.9rem;
}

.about-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--accent-1);
    color: white;
    border-color: var(--accent-1);
    transform: translateY(-3px);
}

/* About Visual */
.about-card-stack {
    position: relative;
    height: 400px;
}

.about-card {
    position: absolute;
    width: 280px;
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-slow);
    cursor: pointer;
}

.about-card:hover {
    transform: translateY(-8px) rotate(0deg) !important;
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-1);
    z-index: 10 !important;
}

.card-1 {
    top: 0;
    left: 10px;
    transform: rotate(-3deg);
    z-index: 3;
}

.card-2 {
    top: 50px;
    left: 60px;
    transform: rotate(2deg);
    z-index: 2;
}

.card-3 {
    top: 100px;
    left: 30px;
    transform: rotate(-1deg);
    z-index: 1;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-main);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.about-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.about-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ---------- Skills Section ---------- */
.skills-categories {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    backdrop-filter: blur(10px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.category-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-main);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.category-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.skill-card {
    padding: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.skill-card:hover {
    border-color: var(--accent-1);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.skill-bar {
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-main);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Education / Timeline ---------- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 60px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-1), var(--accent-2), var(--accent-3));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -48px;
    top: 8px;
    width: 36px;
    height: 36px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
    z-index: 1;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    backdrop-filter: blur(10px);
    transition: all var(--transition);
}

.timeline-content:hover {
    border-color: var(--accent-1);
    transform: translateX(8px);
    box-shadow: var(--shadow-glow);
}

.timeline-badge {
    display: inline-block;
    padding: 4px 14px;
    background: var(--gradient-main);
    color: white;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.timeline-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.timeline-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: 12px;
}

.timeline-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.meta-item i {
    color: var(--accent-1);
}

/* ---------- Experience Section ---------- */
.experience-cards {
    max-width: 800px;
    margin: 0 auto;
}

.experience-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    backdrop-filter: blur(10px);
    transition: all var(--transition);
}

.experience-card:hover {
    border-color: var(--accent-1);
    box-shadow: var(--shadow-glow);
}

.exp-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.exp-company-logo {
    width: 56px;
    height: 56px;
    background: var(--gradient-main);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.exp-info {
    flex: 1;
}

.exp-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.exp-company {
    color: var(--accent-2);
    font-size: 0.95rem;
    font-weight: 500;
}

.exp-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.exp-date,
.exp-type {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.exp-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.exp-details li {
    display: flex;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.exp-details li i {
    color: var(--accent-1);
    font-size: 0.65rem;
    margin-top: 8px;
    flex-shrink: 0;
}

.exp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--accent-1);
    font-weight: 500;
    transition: all var(--transition);
}

.tag:hover {
    background: var(--accent-1);
    color: white;
    border-color: var(--accent-1);
}

/* ---------- Projects Section ---------- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all var(--transition-slow);
}

.project-card:hover {
    border-color: var(--accent-1);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.project-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(10, 10, 15, 0.9));
    z-index: 2;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.project-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.status-active {
    color: #22c55e;
}

.pulse {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s ease infinite;
}

.status-complete {
    color: var(--accent-2);
}

/* Project Visuals - CSS Illustrations */
.project-visual {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.project-bg-icon {
    position: absolute;
    font-size: 6rem;
    opacity: 0.08;
    z-index: 0;
}

/* AI Grid Visual */
.visual-ai {
    background: linear-gradient(135deg, #1a0a2e, #0a1a2e);
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 40px;
    z-index: 1;
}

.ai-node {
    width: 24px;
    height: 24px;
    background: var(--accent-1);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
    animation: neural-pulse 3s ease-in-out infinite;
}

.ai-node:nth-child(even) {
    animation-delay: 0.5s;
    background: var(--accent-2);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
}

.ai-node:nth-child(3n) {
    animation-delay: 1s;
    background: var(--accent-3);
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.5);
}

@keyframes neural-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* Chart Visual */
.visual-chart {
    background: linear-gradient(135deg, #0a1a2e, #0a2e1a);
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 140px;
    padding: 40px;
    z-index: 1;
}

.chart-bar {
    width: 24px;
    height: var(--height);
    background: var(--gradient-main);
    border-radius: 6px 6px 0 0;
    animation: chart-grow 2s ease-in-out infinite alternate;
}

.chart-bar:nth-child(even) {
    animation-delay: 0.3s;
}

.chart-bar:nth-child(3n) {
    animation-delay: 0.6s;
}

@keyframes chart-grow {
    from {
        transform: scaleY(0.7);
    }

    to {
        transform: scaleY(1);
    }
}

/* Game Visual */
.visual-game {
    background: linear-gradient(135deg, #1a1a2e, #2e1a0a);
}

.game-road {
    width: 100px;
    height: 100%;
    background: #333;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    z-index: 1;
    border-left: 3px solid #ffa500;
    border-right: 3px solid #ffa500;
}

.road-line {
    width: 4px;
    height: 30px;
    background: white;
    border-radius: 2px;
    animation: road-move 1s linear infinite;
}

@keyframes road-move {
    from {
        transform: translateY(-30px);
    }

    to {
        transform: translateY(30px);
    }
}

.game-car {
    position: absolute;
    bottom: 30px;
    font-size: 2.5rem;
    color: #ff4444;
    z-index: 2;
    animation: car-wobble 1s ease-in-out infinite;
}

@keyframes car-wobble {

    0%,
    100% {
        transform: translateX(-3px);
    }

    50% {
        transform: translateX(3px);
    }
}

.project-content {
    padding: 28px;
}

.project-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.project-subtitle {
    font-size: 0.85rem;
    color: var(--accent-2);
    font-weight: 500;
    margin-bottom: 12px;
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.project-highlights {
    margin-bottom: 20px;
}

.project-highlights li {
    position: relative;
    padding-left: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.project-highlights li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-1);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tech span {
    padding: 4px 12px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--accent-1);
    font-weight: 500;
}

/* ---------- Contact Section ---------- */
.contact-grid {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-info>p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.contact-card:hover {
    border-color: var(--accent-1);
    transform: translateX(8px);
    box-shadow: var(--shadow-glow);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-main);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-card-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-card-value {
    font-weight: 500;
    font-size: 0.9rem;
}

.contact-socials {
    display: flex;
    gap: 12px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.social-btn:hover {
    background: var(--accent-1);
    color: white;
    border-color: var(--accent-1);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 20px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 16px 18px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: all var(--transition);
    cursor: none;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.input-wrapper label {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: all var(--transition);
}

.input-wrapper textarea~label {
    top: 16px;
    transform: none;
}

.input-wrapper input:focus~label,
.input-wrapper input:not(:placeholder-shown)~label,
.input-wrapper textarea:focus~label,
.input-wrapper textarea:not(:placeholder-shown)~label {
    top: -8px;
    left: 14px;
    font-size: 0.75rem;
    background: var(--bg-card);
    padding: 0 6px;
    color: var(--accent-1);
    transform: none;
}

.input-wrapper textarea {
    resize: vertical;
    min-height: 120px;
}

.input-highlight {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: all var(--transition);
    border-radius: 2px;
}

.input-wrapper input:focus~.input-highlight,
.input-wrapper textarea:focus~.input-highlight {
    width: 100%;
    left: 0;
}

/* ---------- Footer ---------- */
.footer {
    padding: 48px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.footer-socials a:hover {
    background: var(--accent-1);
    color: white;
    border-color: var(--accent-1);
    transform: translateY(-3px);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ---------- Reveal Animations ---------- */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up {
    transform: translateY(60px);
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0);
}

/* ---------- Animations ---------- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-description {
        margin: 0 auto 32px auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-visual {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-info-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 40px;
    }

    .timeline::before {
        left: 14px;
    }

    .timeline-marker {
        left: -34px;
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }

    .exp-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .contact-socials {
        flex-direction: column;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-2);
}

/* ---------- Selection ---------- */
::selection {
    background: rgba(124, 58, 237, 0.3);
    color: white;
}