/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ===== CSS VARIABLES — LIGHT GLASSMORPHISM ===== */
:root {
    --bg-primary: #f0f4ff;
    --bg-secondary: #e8edf8;
    --bg-card: rgba(255, 255, 255, 0.55);
    --bg-glass: rgba(255, 255, 255, 0.45);
    --bg-glass-hover: rgba(255, 255, 255, 0.7);
    --border-glass: rgba(255, 255, 255, 0.7);
    --border-glass-hover: rgba(99, 102, 241, 0.3);
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --accent-1: #6366f1;
    --accent-2: #8b5cf6;
    --accent-3: #a78bfa;
    --accent-pink: #ec4899;
    --accent-cyan: #06b6d4;
    --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    --gradient-warm: linear-gradient(135deg, #f59e0b, #ef4444, #ec4899);
    --gradient-cool: linear-gradient(135deg, #06b6d4, #6366f1, #8b5cf6);
    --gradient-glow: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(139,92,246,0.12));
    --shadow-sm: 0 2px 8px rgba(99, 102, 241, 0.06);
    --shadow-md: 0 8px 24px rgba(99, 102, 241, 0.08);
    --shadow-lg: 0 25px 50px -12px rgba(99, 102, 241, 0.12);
    --shadow-glow: 0 0 40px rgba(99,102,241,0.12);
    --shadow-glass: 0 8px 32px rgba(99, 102, 241, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    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;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

::selection {
    background: var(--accent-1);
    color: #fff;
}

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

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

ul { list-style: none; }

/* ===== ANIMATED BACKGROUND ORBS ===== */
.bg-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent 70%);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15), transparent 70%);
    bottom: -5%;
    left: -5%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12), transparent 70%);
    top: 40%;
    left: 30%;
    animation-delay: -10s;
    animation-duration: 22s;
}

.orb-4 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 70%);
    top: 20%;
    right: 20%;
    animation-delay: -7s;
    animation-duration: 18s;
}

.orb-5 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1), transparent 70%);
    bottom: 20%;
    right: 10%;
    animation-delay: -12s;
    animation-duration: 28s;
}

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

/* ===== GRAIN OVERLAY ===== */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ===== LOADER ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8edf8 50%, #f5f3ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-icon {
    margin-bottom: 20px;
    animation: loaderSpin 1.2s linear infinite;
}

@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}

.loader-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-bar-fill {
    width: 40%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    animation: loaderSlide 1.2s ease-in-out infinite;
}

@keyframes loaderSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

/* ===== GLASS CARD UTILITY ===== */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glass);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(240, 244, 255, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 30px rgba(99, 102, 241, 0.06);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.nav-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transition: var(--transition-spring);
}

.nav-logo:hover .nav-logo-icon {
    transform: rotate(-8deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-1);
    background: rgba(99, 102, 241, 0.06);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2.5px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.nav-cta {
    padding: 10px 24px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== SECTION COMMONS ===== */
.section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-1);
    margin-bottom: 16px;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.06);
    border-radius: 50px;
    border: 1px solid rgba(99, 102, 241, 0.12);
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.8;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    animation: fadeInDown 0.8s ease forwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.5; box-shadow: 0 0 16px rgba(34, 197, 94, 0.6); }
}

.hero-greeting {
    font-size: 1.1rem;
    color: var(--accent-1);
    font-weight: 500;
    margin-bottom: 8px;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

.hero-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
    color: var(--text-primary);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    animation-delay: 0.4s;
}

.hero-title-role {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    animation-delay: 0.6s;
}

.typing-cursor {
    animation: blink 1s step-end infinite;
    color: var(--accent-1);
    font-weight: 300;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    animation-delay: 0.8s;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    animation-delay: 1s;
}

.hero-socials {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    animation-delay: 1.2s;
}

.social-link {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition-spring);
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.social-link:hover {
    color: #fff;
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(99,102,241,0.3);
}

/* Hero Visual / Avatar */
.hero-visual-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeIn 1s ease forwards;
    opacity: 0;
    animation-delay: 0.5s;
}

.hero-visual-container {
    position: relative;
    width: 380px;
    height: 380px;
}

.hero-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    border: 3px solid var(--border-glass);
    box-shadow: var(--shadow-lg), inset 0 2px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 2;
    transition: var(--transition);
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.08), rgba(236,72,153,0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.avatar-initials {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 6rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    user-select: none;
}

.hero-visual-container:hover .hero-avatar-placeholder {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.15);
}

.hero-image-glow {
    position: absolute;
    inset: -30px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    opacity: 0.12;
    filter: blur(50px);
    z-index: 1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.08; transform: scale(1); }
    50% { opacity: 0.15; transform: scale(1.05); }
}

.hero-float-card {
    position: absolute;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    z-index: 3;
    animation: floatCard 6s ease-in-out infinite;
    box-shadow: var(--shadow-glass);
    transition: var(--transition);
}

.hero-float-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.hero-float-card.card-1 {
    top: 10px;
    right: -50px;
    animation-delay: 0s;
}

.hero-float-card.card-2 {
    bottom: 50px;
    left: -50px;
    animation-delay: 2s;
}

.hero-float-card.card-3 {
    top: 50%;
    right: -60px;
    animation-delay: 4s;
}

.hero-float-card .card-icon {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.hero-float-card .card-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-float-card .card-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.35);
}

.btn-outline {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(99, 102, 241, 0.2);
    color: var(--accent-1);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    background: rgba(99, 102, 241, 0.06);
    border-color: var(--accent-1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
}

.btn-resume {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(236, 72, 153, 0.08));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(99, 102, 241, 0.25);
    color: var(--accent-1);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.btn-resume::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 0;
}

.btn-resume span,
.btn-resume svg {
    position: relative;
    z-index: 1;
}

.btn-resume:hover {
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-resume:hover::after {
    opacity: 1;
}

.btn-resume:hover svg {
    stroke: #fff;
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 60px;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.stat-card {
    text-align: center;
    padding: 24px 16px;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: var(--transition-spring);
    box-shadow: var(--shadow-glass);
}

.stat-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(99, 102, 241, 0.12);
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: var(--transition);
    box-shadow: var(--shadow-glass);
}

.detail-item:hover {
    border-color: rgba(99, 102, 241, 0.25);
    transform: translateX(6px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.1);
}

.detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-glow);
    border-radius: var(--radius-sm);
    color: var(--accent-1);
    flex-shrink: 0;
}

.detail-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.detail-value {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 2px;
}

/* ===== SKILLS SECTION ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.skill-category {
    padding: 32px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    transition: var(--transition-spring);
    box-shadow: var(--shadow-glass);
    position: relative;
    overflow: hidden;
}

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

.skill-category:hover::before {
    opacity: 1;
}

.skill-category:hover {
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.1);
}

.skill-category-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-glow);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 1.6rem;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.skill-category h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

.skill-tag {
    padding: 7px 16px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent-1);
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.12);
    border-radius: 50px;
    transition: var(--transition);
    cursor: default;
}

.skill-tag:hover {
    color: #fff;
    background: var(--accent-1);
    border-color: var(--accent-1);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
    transform: translateY(-2px);
}

/* ===== PROJECTS SECTION ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
    margin-top: 60px;
}

.project-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glass);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.2);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.project-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-glow);
    border-radius: var(--radius-md);
    color: var(--accent-1);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.project-status-badge {
    padding: 4px 14px;
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.project-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.project-description {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.tech-tag {
    padding: 5px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-2);
    background: rgba(139, 92, 246, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 50px;
}

/* ===== EDUCATION SECTION ===== */
.education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
    align-items: start;
}

.education-timeline {
    position: relative;
    padding-left: 30px;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-1), var(--accent-2), var(--accent-pink));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -37px;
    top: 24px;
    width: 16px;
    height: 16px;
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--bg-primary), 0 0 12px rgba(99, 102, 241, 0.3);
}

.timeline-content {
    padding: 24px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateX(6px);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.1);
}

.timeline-badge {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(99, 102, 241, 0.08);
    color: var(--accent-1);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 12px;
    border: 1px solid rgba(99, 102, 241, 0.12);
}

.timeline-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.timeline-institution {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.timeline-detail {
    font-size: 0.88rem;
    color: var(--accent-1);
    font-weight: 600;
}

/* Extras (Hobbies) */
.extras-section {
    display: flex;
    flex-direction: column;
}

.extras-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.extras-heading svg {
    color: var(--accent-1);
}

.hobbies-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hobby-tag {
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    cursor: default;
}

.hobby-tag:hover {
    color: var(--accent-1);
    border-color: rgba(99, 102, 241, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.08);
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-top: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: rgba(99, 102, 241, 0.25);
    transform: translateX(6px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.08);
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-glow);
    border-radius: var(--radius-sm);
    color: var(--accent-1);
    flex-shrink: 0;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.contact-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.contact-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 2px;
}

.contact-form {
    padding: 36px;
    border-radius: var(--radius-lg);
}

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

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.5);
    color: var(--text-primary);
    transition: var(--transition);
    outline: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: rgba(255, 255, 255, 0.7);
}

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

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

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.35);
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    z-index: 2;
    padding: 60px 0 30px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-glass);
}

.footer-content {
    text-align: center;
    margin-bottom: 30px;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: inline-block;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.footer-link:hover {
    color: var(--accent-1);
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(99, 102, 241, 0.08);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

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

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

@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); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 1024px) {
    .hero-content {
        gap: 40px;
    }

    .hero-visual-container {
        width: 320px;
        height: 320px;
    }

    .hero-float-card.card-1 { right: -30px; }
    .hero-float-card.card-2 { left: -30px; }
    .hero-float-card.card-3 { right: -35px; }

    .about-content,
    .education-grid {
        gap: 40px;
    }
}

/* ===== RESPONSIVE — MOBILE ===== */
@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    /* Nav Mobile */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(240, 244, 255, 0.95);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        padding: 100px 32px 40px;
        gap: 8px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(99, 102, 241, 0.08);
        border-left: 1px solid var(--border-glass);
        z-index: 999;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-link {
        font-size: 1.05rem;
        padding: 12px 20px;
        width: 100%;
        border-radius: var(--radius-sm);
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    /* Hero Mobile */
    .hero {
        padding: 100px 0 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        order: 2;
    }

    .hero-visual-wrapper {
        order: 1;
    }

    .hero-visual-container {
        width: 250px;
        height: 250px;
    }

    .avatar-initials {
        font-size: 4rem;
    }

    .hero-float-card.card-1 {
        right: -20px;
        top: -10px;
    }

    .hero-float-card.card-2 {
        left: -20px;
        bottom: 20px;
    }

    .hero-float-card.card-3 {
        display: none;
    }

    .hero-float-card {
        padding: 10px 14px;
    }

    .hero-float-card .card-icon { font-size: 1.2rem; }
    .hero-float-card .card-label { font-size: 0.65rem; }
    .hero-float-card .card-value { font-size: 0.82rem; }

    .hero-badge {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-socials {
        justify-content: center;
    }

    .hero-name {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    /* About Mobile */
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 18px 12px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    /* Education Mobile */
    .education-grid {
        grid-template-columns: 1fr;
    }

    /* Projects Mobile */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    /* Contact Mobile */
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }

    /* Footer */
    .footer-links {
        gap: 16px;
    }

    /* Orbs mobile */
    .orb { opacity: 0.3; }
    .orb-1 { width: 300px; height: 300px; }
    .orb-2 { width: 250px; height: 250px; }
    .orb-3 { width: 200px; height: 200px; }
    .orb-4, .orb-5 { display: none; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 60px 0;
    }

    .hero {
        padding: 90px 0 40px;
    }

    .hero-visual-container {
        width: 200px;
        height: 200px;
    }

    .avatar-initials {
        font-size: 3rem;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .hero-float-card.card-2 {
        display: none;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.88rem;
    }

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

    .timeline-content {
        padding: 18px;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}
