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

:root {
    --bg-primary: #0b0b1a;
    --bg-secondary: #10102a;
    --bg-card: rgba(255, 255, 255, 0.06);
    --text-primary: #ffffff;
    --text-secondary: #d0d0e8;
    --text-muted: #9595c0;
    --accent-1: #7c6cf7;
    --accent-2: #00e5d5;
    --accent-3: #ff6b9d;
    --accent-4: #ffd93d;
    --accent-5: #6bffb8;
    --gradient: linear-gradient(135deg, #7c6cf7, #00e5d5);
    --gradient-2: linear-gradient(135deg, #ff6b9d, #7c6cf7);
    --glass: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.12);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-1) var(--bg-primary);
}

html::-webkit-scrollbar { width: 6px; }
html::-webkit-scrollbar-track { background: var(--bg-primary); }
html::-webkit-scrollbar-thumb { background: var(--accent-1); border-radius: 3px; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    cursor: none;
    line-height: 1.7;
}

/* ========== CUSTOM CURSOR ========== */
#cursor {
    width: 8px;
    height: 8px;
    background: var(--accent-2);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.15s ease, background 0.3s ease;
    mix-blend-mode: difference;
}

#cursor-follower {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--accent-1);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.2s ease;
}

body:hover #cursor { transform: scale(1); }
body:hover #cursor-follower { opacity: 1; }
.cursor-hover #cursor { transform: scale(2.5); background: var(--accent-3); }
.cursor-hover #cursor-follower { width: 50px; height: 50px; border-color: var(--accent-3); }

/* ========== THREE.JS CANVAS ========== */
#bg-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ========== NAVIGATION ========== */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    animation: fadeDown 0.8s ease-out;
}

#navbar.scrolled {
    background: rgba(11, 11, 26, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.6rem 0;
}

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

.logo {
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 2px;
    animation: fadeInLeft 0.8s ease-out;
}

.logo-bracket { color: var(--accent-1); }
.logo-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
    animation: fadeInUp 0.6s ease-out backwards;
}

.nav-link:nth-child(1) { animation-delay: 0.1s; }
.nav-link:nth-child(2) { animation-delay: 0.2s; }
.nav-link:nth-child(3) { animation-delay: 0.3s; }
.nav-link:nth-child(4) { animation-delay: 0.4s; }
.nav-link:nth-child(5) { animation-delay: 0.5s; }

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

.nav-link:hover { color: #ffffff; }
.nav-link:hover::after { width: 100%; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: none;
    padding: 5px;
}

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

/* ========== GLOBAL ANIMATIONS ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(124, 108, 247, 0.2); }
    50% { box-shadow: 0 0 20px rgba(124, 108, 247, 0.5), 0 0 40px rgba(124, 108, 247, 0.2); }
}

@keyframes borderGlow {
    0%, 100% { border-color: var(--accent-1); }
    50% { border-color: var(--accent-2); }
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(124, 108, 247, 0.3); }
    50% { text-shadow: 0 0 20px rgba(124, 108, 247, 0.6), 0 0 40px rgba(124, 108, 247, 0.3); }
}

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

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-8px) rotate(2deg); }
    66% { transform: translateY(4px) rotate(-1deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

@keyframes rotateGlow {
    100% { transform: rotate(360deg); }
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

@keyframes borderFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(5px, -5px) rotate(1deg); }
    50% { transform: translate(-3px, 5px) rotate(-1deg); }
    75% { transform: translate(3px, 3px) rotate(0.5deg); }
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(2.5); opacity: 0; }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ========== SECTIONS ========== */
.section {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    padding: 5rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* ========== SECTION HEADER ========== */
.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-tag {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    color: var(--accent-2);
    letter-spacing: 3px;
    display: block;
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease-out;
}

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

.section-line {
    width: 60px;
    height: 3px;
    background: var(--gradient);
    margin: 0 auto;
    border-radius: 2px;
    animation: shimmer 3s ease-in-out infinite;
    background-size: 200% 100%;
}

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

/* ========== HERO ========== */
#hero {
    justify-content: center;
    padding-top: 5rem;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-2);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out 0.2s backwards, glow 3s ease-in-out infinite;
}

.tag-dot {
    width: 8px; height: 8px;
    background: var(--accent-2);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 1.5rem;
}

.hero-title .line { display: block; }

.hero-title .line-1 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.hero-title .line-2 {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.8s ease-out 0.5s backwards, textGlow 4s ease-in-out infinite;
}

.hero-title .line-3 {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: var(--text-muted);
    animation: fadeInUp 0.6s ease-out 0.7s backwards;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.9;
    animation: fadeInUp 0.6s ease-out 0.9s backwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 1.1s backwards;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s ease;
    border: none;
    cursor: none;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(124, 108, 247, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(124, 108, 247, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--accent-1);
    background: rgba(124, 108, 247, 0.1);
    transform: translateY(-3px);
}

.btn-full { width: 100%; justify-content: center; }

/* ========== HERO STATS ========== */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    animation: fadeInUp 0.6s ease-out backwards;
}

.stat:nth-child(1) { animation-delay: 1.3s; }
.stat:nth-child(2) { animation-delay: 1.4s; }
.stat:nth-child(3) { animation-delay: 1.5s; }

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

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

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ========== SCROLL INDICATOR ========== */
.scroll-indicator {
    position: absolute;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInUp 0.6s ease-out 1.8s backwards;
}

.mouse {
    width: 24px; height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.mouse-wheel {
    width: 3px; height: 8px;
    background: var(--accent-1);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

/* ========== ABOUT ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    display: flex;
    justify-content: center;
}

.about-image {
    position: relative;
    width: 320px;
    height: 320px;
    animation: floatSlow 8s ease-in-out infinite;
}

.image-placeholder {
    width: 100%; height: 100%;
    background: var(--gradient);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
    position: relative;
    overflow: hidden;
    animation: glow 4s ease-in-out infinite;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124,108,247,0.85), rgba(0,229,213,0.85));
    z-index: 1;
}

.image-placeholder i { position: relative; z-index: 2; }

.image-border {
    position: absolute;
    inset: -10px;
    border: 2px solid var(--accent-1);
    border-radius: calc(var(--radius) + 5px);
    opacity: 0.3;
    animation: borderFloat 6s ease-in-out infinite, borderGlow 4s ease-in-out infinite;
}

.floating-badge {
    position: absolute;
    width: 50px; height: 50px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent-2);
    backdrop-filter: blur(10px);
    z-index: 3;
}

.badge-1 { top: -10px; right: -10px; animation: float 4s ease-in-out infinite; }
.badge-2 { bottom: 20px; left: -20px; animation: float 4s ease-in-out infinite 1s; }
.badge-3 { top: 50%; right: -25px; animation: float 4s ease-in-out infinite 2s; }

.about-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: var(--text-primary);
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.9;
}

.about-content strong { color: var(--accent-2); font-weight: 600; }

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    padding: 0.6rem 0;
    transition: all 0.3s ease;
}

.highlight:hover {
    color: var(--text-primary);
    transform: translateX(8px);
}

.highlight i {
    color: var(--accent-1);
    font-size: 1rem;
    width: 20px;
    text-align: center;
    animation: pulse 3s ease-in-out infinite;
}

/* ========== SKILLS ========== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.skill-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.skill-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-1);
    box-shadow: 0 20px 50px rgba(124, 108, 247, 0.2);
    animation: glow 2s ease-in-out;
}

.skill-icon {
    width: 55px; height: 55px;
    background: rgba(124, 108, 247, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-1);
    margin-bottom: 1.2rem;
    transition: all 0.4s ease;
}

.skill-card:hover .skill-icon {
    background: var(--gradient);
    color: white;
    transform: scale(1.15) rotate(5deg);
}

.skill-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.skill-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

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

.skill-tags span {
    padding: 4px 12px;
    background: rgba(124, 108, 247, 0.1);
    border: 1px solid rgba(124, 108, 247, 0.25);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--accent-1);
    transition: all 0.3s ease;
}

.skill-tags span:hover {
    background: rgba(124, 108, 247, 0.25);
    transform: scale(1.05);
}

/* ========== TOOLS GRID ========== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.4s ease;
    text-align: center;
}

.tool-item:hover {
    border-color: var(--accent-1);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(124, 108, 247, 0.15);
}

.tool-icon {
    width: 50px; height: 50px;
    background: rgba(124, 108, 247, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent-1);
    transition: all 0.4s ease;
}

.tool-item:hover .tool-icon {
    background: var(--gradient);
    color: white;
    transform: scale(1.15) rotate(8deg);
}

.tool-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.tool-role {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ========== CURRENTLY LEARNING ========== */
.learning-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.learning-card {
    padding: 2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.learning-card::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(124, 108, 247, 0.08), transparent);
    animation: rotateGlow 8s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.learning-card:hover::after { opacity: 1; }

.learning-card:hover {
    border-color: var(--accent-1);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(124, 108, 247, 0.15);
}

.learning-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    animation: float 5s ease-in-out infinite;
}

.learning-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    color: var(--text-primary);
}

.learning-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ========== JOURNEY TIMELINE ========== */
.journey-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 3rem;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: var(--gradient);
    opacity: 0.5;
    animation: shimmer 4s ease-in-out infinite;
    background-size: 200% 100%;
}

.journey-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    transition: all 0.4s ease;
}

.journey-item:hover {
    border-color: var(--accent-1);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(124, 108, 247, 0.15);
}

.journey-item::before {
    content: '';
    position: absolute;
    left: -2.55rem; top: 1.8rem;
    width: 14px; height: 14px;
    background: var(--accent-1);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 12px rgba(124, 108, 247, 0.6);
    animation: pulse 3s ease-in-out infinite;
}

.journey-year {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    color: var(--accent-2);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.journey-item h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.journey-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ========== BEYOND CODE ========== */
.beyond-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.beyond-card {
    padding: 2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.4s ease;
}

.beyond-card:hover {
    border-color: var(--accent-3);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(255, 107, 157, 0.15);
}

.beyond-icon {
    width: 65px; height: 65px;
    margin: 0 auto 1rem;
    background: rgba(255, 107, 157, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-3);
    transition: all 0.4s ease;
}

.beyond-card:hover .beyond-icon {
    background: var(--gradient-2);
    color: white;
    transform: scale(1.15) rotate(10deg);
}

.beyond-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.beyond-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.7;
}

.beyond-tags {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.beyond-tags span {
    padding: 3px 10px;
    background: rgba(255, 107, 157, 0.1);
    border: 1px solid rgba(255, 107, 157, 0.25);
    border-radius: 50px;
    font-size: 0.7rem;
    color: var(--accent-3);
    transition: all 0.3s ease;
}

.beyond-tags span:hover {
    background: rgba(255, 107, 157, 0.25);
    transform: scale(1.05);
}

/* ========== PROJECTS ========== */
.projects-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 24px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: none;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient);
    color: #ffffff;
    border-color: transparent;
    transform: scale(1.05);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.project-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-1);
    box-shadow: 0 20px 50px rgba(124, 108, 247, 0.2);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    transition: all 0.5s ease;
}

.project-card:hover .project-placeholder { transform: scale(1.1); }

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 11, 26, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: all 0.4s ease;
}

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

.project-link {
    width: 45px; height: 45px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}

.project-card:hover .project-link {
    transform: translateY(0);
    opacity: 1;
}

.project-link:hover {
    background: var(--accent-1);
    border-color: var(--accent-1);
    transform: scale(1.1);
}

.project-info { padding: 1.5rem; }

.project-tags { display: flex; gap: 6px; margin-bottom: 0.75rem; }

.project-tags span {
    padding: 3px 10px;
    background: rgba(0, 229, 213, 0.1);
    border: 1px solid rgba(0, 229, 213, 0.25);
    border-radius: 50px;
    font-size: 0.7rem;
    color: var(--accent-2);
}

.project-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.project-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.7;
}

.projects-cta {
    text-align: center;
    padding: 3rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    transition: all 0.4s ease;
}

.projects-cta:hover {
    border-color: var(--accent-1);
    box-shadow: 0 10px 30px rgba(124, 108, 247, 0.1);
}

.projects-cta p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* ========== CONTACT ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.9;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    padding: 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    transition: all 0.4s ease;
}

.contact-link:hover {
    border-color: var(--accent-1);
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(124, 108, 247, 0.15);
}

.contact-icon {
    width: 45px; height: 45px;
    background: rgba(124, 108, 247, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-link:hover .contact-icon {
    background: var(--gradient);
    color: white;
    transform: rotate(10deg) scale(1.1);
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    display: block;
    color: var(--text-primary);
    font-weight: 500;
}

/* ========== FORM ========== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group { position: relative; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.4s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 25px rgba(124, 108, 247, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.form-group label {
    position: absolute;
    top: 1rem; left: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.6rem;
    left: 0.8rem;
    font-size: 0.75rem;
    color: var(--accent-1);
    background: var(--bg-primary);
    padding: 0 4px;
}

.form-line {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line { transform: scaleX(1); }

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

/* ========== FOOTER ========== */
#footer {
    position: relative;
    z-index: 1;
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-brand { text-align: center; }

.footer-brand .logo-bracket,
.footer-brand .logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 42px; height: 42px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.4s ease;
}

.footer-social a:hover {
    background: var(--gradient);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-5px) scale(1.1);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.js-loaded .reveal {
    opacity: 0;
    transform: translateY(40px);
}

.js-loaded .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .tools-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    body { cursor: auto; }
    #cursor, #cursor-follower { display: none; }

    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 5rem 2rem;
        gap: 2rem;
        transition: right 0.4s ease;
        border-left: 1px solid var(--glass-border);
    }

    .nav-links.active { right: 0; }
    .nav-toggle { display: flex; }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-image { width: 250px; height: 250px; }
    .skills-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-stats { gap: 2rem; }

    .btn, .filter-btn, .nav-toggle, .contact-link, .tool-item, a, button { cursor: pointer; }
}

@media (max-width: 480px) {
    .hero-title .line-2 { font-size: 3rem; }
    .hero-cta { flex-direction: column; align-items: center; }
    .section { padding: 4rem 0; }
    .hero-stats { flex-direction: column; gap: 1.5rem; }
    .journey-timeline { padding-left: 2rem; }
    .journey-item::before { display: none; }
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
    .learning-grid { grid-template-columns: 1fr; }
    .beyond-grid { grid-template-columns: 1fr; }
}
