/* CSS Variables */
:root {
    /* Colors - Lavender Theme */
    --primary-color: #8B7FE7;
    --primary-light: #A394ED;
    --primary-dark: #6B5DB8;
    --secondary-color: #E8E4F7;
    --accent-color: #B19CD9;
    --text-primary: #FFFFFF;
    --text-secondary: #B8A9D9;
    --text-muted: #8B7FE7;
    --background-primary: #0F0B1A;
    --background-secondary: #1A1325;
    --background-card: #211B2E;
    --border-color: #2A2439;
    --gradient-primary: linear-gradient(135deg, #8B7FE7 0%, #B19CD9 100%);
    --gradient-secondary: linear-gradient(135deg, #1A1325 0%, #211B2E 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Space Grotesk', 'SF Pro Display', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;
    
    /* Spacing */
    --section-padding: 8rem 0;
    --container-padding: 0 2rem;
    --border-radius: 1.5rem;
    --border-radius-small: 0.75rem;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Shadows */
    --shadow-small: 0 4px 20px rgba(139, 127, 231, 0.1);
    --shadow-medium: 0 8px 40px rgba(139, 127, 231, 0.15);
    --shadow-large: 0 20px 60px rgba(139, 127, 231, 0.2);
    --glow-primary: 0 0 30px rgba(139, 127, 231, 0.3);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--background-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loader {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.loader-ring {
    width: 60px;
    height: 60px;
    border: 3px solid transparent;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-text {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: 0.1em;
}

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

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 11, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.nav.scrolled {
    background: rgba(15, 11, 26, 0.95);
    box-shadow: var(--shadow-small);
}

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

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    border-radius: 8px;
    background: rgba(139, 127, 231, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.nav-toggle:hover {
    background: rgba(139, 127, 231, 0.2);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.nav-toggle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 127, 231, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.nav-toggle:hover::before {
    transform: scale(1);
    animation: rippleEffect 0.6s ease-out;
}

.bar {
    width: 30px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    transform-origin: center;
}

.bar:first-child {
    background: linear-gradient(90deg, #FFB366, #FFA726);
    box-shadow: 0 2px 8px rgba(255, 179, 102, 0.3);
}

.bar:nth-child(2) {
    background: linear-gradient(90deg, #4CAF50, #66BB6A);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
    width: 35px;
}

.bar:last-child {
    background: linear-gradient(90deg, #8B7FE7, #A394ED);
    box-shadow: 0 2px 8px rgba(139, 127, 231, 0.3);
}

.nav-toggle.active {
    background: rgba(139, 127, 231, 0.3);
    border-color: var(--primary-color);
    transform: rotate(180deg) scale(1.1);
}

.nav-toggle.active .bar:first-child {
    transform: rotate(45deg) translateY(8px) scaleX(1.2);
    background: linear-gradient(90deg, #FF6B6B, #FF8A80);
    animation: cheeseStretch 0.6s ease-out;
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
    animation: lettuceDisappear 0.3s ease-out;
}

.nav-toggle.active .bar:last-child {
    transform: rotate(-45deg) translateY(-8px) scaleX(1.2);
    background: linear-gradient(90deg, #8B7FE7, #9C88FF);
    animation: bunStretch 0.6s ease-out;
}

@keyframes rippleEffect {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(1); opacity: 0; }
}

@keyframes cheeseStretch {
    0% { transform: rotate(0deg) translateY(0px) scaleX(1); }
    50% { transform: rotate(22.5deg) translateY(4px) scaleX(1.4); }
    100% { transform: rotate(45deg) translateY(8px) scaleX(1.2); }
}

@keyframes lettuceDisappear {
    0% { opacity: 1; transform: scaleX(1) rotateY(0deg); }
    50% { opacity: 0.5; transform: scaleX(0.5) rotateY(90deg); }
    100% { opacity: 0; transform: scaleX(0) rotateY(180deg); }
}

@keyframes bunStretch {
    0% { transform: rotate(0deg) translateY(0px) scaleX(1); }
    50% { transform: rotate(-22.5deg) translateY(-4px) scaleX(1.4); }
    100% { transform: rotate(-45deg) translateY(-8px) scaleX(1.2); }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem 2rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #B19CD9 0%, #E8E4F7 100%);
    bottom: 10%;
    right: 10%;
    animation-delay: -3s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -6s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    margin-bottom: 2rem;
}

.title-line {
    display: block;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.title-name {
    display: block;
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.title-subtitle {
    display: block;
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-small);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-small);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.hero-visual {
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.floating-card {
    background: var(--background-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-large);
    border: 1px solid var(--border-color);
    animation: floatCard 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

/* Enhanced Background Elements */
.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(139, 127, 231, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 127, 231, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

.geometric-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bg-shape {
    position: absolute;
    opacity: 0.05;
    animation: floatRotate 15s ease-in-out infinite;
}

.shape-circle {
    width: 120px;
    height: 120px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 15%;
    left: 80%;
    animation-delay: 0s;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 87px solid var(--primary-color);
    top: 70%;
    left: 15%;
    animation-delay: -5s;
}

.shape-square {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    transform: rotate(45deg);
    top: 30%;
    left: 85%;
    animation-delay: -10s;
}

.shape-hexagon {
    width: 100px;
    height: 86.6px;
    background: var(--primary-color);
    position: relative;
    top: 80%;
    left: 75%;
    animation-delay: -2s;
}

.shape-hexagon::before,
.shape-hexagon::after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
}

.shape-hexagon::before {
    bottom: 100%;
    border-bottom: 28.87px solid var(--primary-color);
}

.shape-hexagon::after {
    top: 100%;
    border-top: 28.87px solid var(--primary-color);
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes floatRotate {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.code-snippet {
    font-family: var(--font-mono);
    font-size: 1rem;
    line-height: 1.6;
}

.code-line {
    margin-bottom: 0.5rem;
}

.code-keyword { color: #FF6B6B; }
.code-variable { color: #4ECDC4; }
.code-operator { color: var(--text-secondary); }
.code-string { color: #45B7D1; }

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-number {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    position: relative;
    text-shadow: 0 0 30px rgba(139, 127, 231, 0.3);
    font-feature-settings: "ss01" 1, "ss02" 1;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--background-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Quote Section */
.quote-section {
    text-align: center;
    margin-bottom: 2rem;
}

.main-quote {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-primary);
    margin: 0 0 1.5rem 0;
    position: relative;
    font-style: normal;
    letter-spacing: -0.02em;
    font-feature-settings: "ss01" 1, "kern" 1;
}

.main-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -1rem;
    left: -2rem;
    opacity: 0.3;
}

.main-quote::after {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    opacity: 0.3;
}

cite {
    color: var(--primary-color);
    font-family: var(--font-mono);
    font-style: normal;
    font-size: 0.9rem;
}

/* About Description */
.about-description {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-description p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Expertise Areas */
.expertise-areas {
    margin-top: 2rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.expertise-card {
    background: var(--background-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.expertise-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.expertise-card h4 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    font-feature-settings: "ss01" 1;
}

.expertise-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.expertise-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.mini-tag {
    background: var(--background-secondary);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

/* About Stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--background-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Profile Section */
.profile-section {
    position: relative;
}

.profile-card-modern {
    background: var(--background-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-large);
    position: sticky;
    top: 100px;
    backdrop-filter: blur(10px);
}

.profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.profile-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow-medium);
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-svg {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.profile-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.profile-details h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.profile-title {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem !important;
}

.profile-location {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem !important;
}

.profile-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.highlight-item i {
    color: var(--primary-color);
    width: 16px;
    height: 16px;
}

/* Visual Elements */
.visual-elements {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    pointer-events: none;
    z-index: -1;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 60px;
    height: 60px;
    top: 20px;
    right: 20px;
    animation-delay: 0s;
}

.shape-2 {
    width: 40px;
    height: 40px;
    top: 80px;
    right: 80px;
    animation-delay: -2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 140px;
    right: 40px;
    animation-delay: -4s;
}

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

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

/* Skills Section */
.skills-content {
    display: block;
}

.skills-header {
    text-align: center;
    margin-bottom: 3rem;
}

.skills-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.skill-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    background: var(--background-card);
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.filter-btn:hover {
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 127, 231, 0.3);
}

.filter-btn:hover::before {
    left: 0;
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(139, 127, 231, 0.4);
    transform: translateY(-2px);
}

.filter-btn.active::before {
    left: 0;
}

.skills-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    min-height: 400px;
    transition: all 0.6s ease;
}

.skill-card {
    background: var(--background-card);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease forwards;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.skill-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 127, 231, 0.05) 0%, rgba(177, 156, 217, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(139, 127, 231, 0.2);
    border-color: var(--primary-color);
}

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

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

.skill-card:hover .skill-icon-new {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(139, 127, 231, 0.4);
}

.skill-card.hidden {
    display: none;
}

.skill-icon-new {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.4rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

.skill-icon-new::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.3s ease;
}

.skill-card h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.skill-level {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.skill-dots {
    display: flex;
    gap: 0.3rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    transition: var(--transition-smooth);
}

.dot.filled {
    background: var(--primary-color);
    box-shadow: 0 0 12px rgba(139, 127, 231, 0.6);
    animation: dotGlow 2s ease-in-out infinite alternate;
}

@keyframes dotGlow {
    0% { box-shadow: 0 0 12px rgba(139, 127, 231, 0.6); }
    100% { box-shadow: 0 0 20px rgba(139, 127, 231, 0.8); }
}

.skill-text {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

/* Technology Stack Visualization */
.tech-stack-section {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--background-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.tech-stack-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: var(--background-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    position: relative;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.tech-item span {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.tech-progress {
    width: 100%;
    height: 4px;
    background: var(--background-primary);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.tech-progress .progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    width: 0%;
    transition: width 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.tech-progress .progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    animation: shimmer 2s infinite;
}

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

/* Code Quote Styling */
.about-quote {
    margin: 2rem 0;
    width: 100%;
}

.code-quote {
    background: #1e1e2e;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    font-family: 'JetBrains Mono', monospace;
    box-shadow: var(--shadow-medium);
}

.code-header {
    background: #2a2a3e;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.code-dots {
    display: flex;
    gap: 0.5rem;
}

.code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dots span:nth-child(1) { background: #ff5f56; }
.code-dots span:nth-child(2) { background: #ffbd2e; }
.code-dots span:nth-child(3) { background: #27ca3f; }

.code-title {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.code-content {
    padding: 2rem;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #e4e4e7;
    font-feature-settings: "liga" 1, "calt" 1;
    letter-spacing: 0.02em;
}

.code-comment { color: #6b7280; }
.code-keyword { color: #c792ea; }
.code-variable { color: #82aaff; }
.code-property { color: #f07178; }
.code-string { color: #c3e88d; }

/* LeetCode Section */
.leetcode-section {
    background: var(--background-secondary);
}

.leetcode-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.leetcode-card {
    background: var(--background-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-medium);
}

.leetcode-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.leetcode-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.leetcode-info h3 {
    font-family: var(--font-display);
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.leetcode-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.metric-item {
    text-align: center;
    padding: 1rem;
    background: var(--background-secondary);
    border-radius: var(--border-radius-small);
    border: 1px solid var(--border-color);
}

.metric-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.difficulty-breakdown h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.difficulty-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.difficulty-bar {
    display: grid;
    grid-template-columns: 80px 1fr 60px;
    align-items: center;
    gap: 1rem;
}

.difficulty-label {
    font-size: 0.9rem;
    font-weight: 500;
}

.difficulty-bar.easy .difficulty-label { color: #4ade80; }
.difficulty-bar.medium .difficulty-label { color: #fbbf24; }
.difficulty-bar.hard .difficulty-label { color: #f87171; }

.progress-bar {
    height: 8px;
    background: var(--background-secondary);
    border-radius: 4px;
    overflow: hidden;
}

.difficulty-bar.easy .progress-fill { background: #4ade80; }
.difficulty-bar.medium .progress-fill { background: #fbbf24; }
.difficulty-bar.hard .progress-fill { background: #f87171; }

.count {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: right;
}

.recent-submissions h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.submission-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.submission-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-card);
    border-radius: var(--border-radius-small);
    border: 1px solid var(--border-color);
    align-items: center;
}

.submission-problem {
    font-weight: 500;
    color: var(--text-primary);
}

.submission-status {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.submission-status.accepted {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
}

.submission-status.wrong {
    background: rgba(248, 113, 113, 0.1);
    color: #f87171;
}

.submission-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Education Timeline */
.education-timeline {
    background: var(--background-primary);
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.timeline-content {
    background: var(--background-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-medium);
    flex: 1;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid var(--background-card);
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-institution {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.timeline-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.highlight {
    background: var(--background-secondary);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

/* Modern Projects Section */
.projects {
    background: var(--background-secondary);
}

.projects-showcase {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.projects-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-filter {
    background: var(--background-card);
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.9rem;
}

.project-filter:hover,
.project-filter.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.projects-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    grid-auto-rows: min-content;
}

.project-item {
    background: var(--background-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.project-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-color);
}

.project-item.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--background-card) 0%, rgba(139, 127, 231, 0.05) 100%);
}

.project-visual {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.project-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
}

.project-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.stat i {
    width: 14px;
    height: 14px;
}

.project-details {
    padding: 0 2rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-details h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.project-details p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-badge {
    background: var(--background-secondary);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.project-actions {
    display: flex;
    gap: 1rem;
}

.project-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius-small);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    font-size: 0.9rem;
}

.project-btn.primary {
    background: var(--gradient-primary);
    color: white;
}

.project-btn.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.project-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.project-btn.secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Location Section */
.location-section {
    background: var(--background-primary);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.location-card {
    background: var(--background-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-medium);
}

.location-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.location-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.location-header h3 {
    font-family: var(--font-display);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.location-header p {
    color: var(--text-secondary);
    line-height: 1.5;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.detail-item i {
    color: var(--primary-color);
    width: 16px;
    height: 16px;
}

.map-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-large);
}

.street-view-map {
    position: relative;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 2rem;
    color: white;
}

.map-info h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.map-info p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--background-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-color);
}

.project-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.project-image {
    height: 250px;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-placeholder {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.5;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 127, 231, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

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

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    width: 50px;
    height: 50px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.project-content {
    padding: 2rem;
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Vision Section */
.vision {
    background: var(--gradient-secondary);
    border-radius: var(--border-radius);
    margin: 0 2rem;
}

.vision-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.vision-title {
    font-family: var(--font-display);
    font-size: 3rem;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vision-items {
    display: grid;
    gap: 2rem;
}

.vision-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.vision-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.vision-item p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

.vision-card {
    background: var(--background-card);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-large);
}

.vision-quote {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--primary-color);
    font-style: italic;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-text h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-info {
    display: grid;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.contact-item i {
    color: var(--primary-color);
}

.contact-form {
    background: var(--background-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-medium);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-small);
    color: var(--text-primary);
    font-family: var(--font-primary);
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 127, 231, 0.1);
}

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

/* Footer */
.footer {
    background: var(--background-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo .logo-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 400px;
}

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

.social-link {
    width: 50px;
    height: 50px;
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.footer-copyright i {
    color: #FF6B6B;
    width: 16px;
    height: 16px;
}

.footer-tech {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    background: var(--background-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

/* Cursor */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}

.cursor-inner {
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.6;
    transform: scale(0.2);
    transition: transform 0.2s ease;
}

.cursor.hover .cursor-inner {
    transform: scale(1);
}

/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Media Queries */
@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, var(--background-primary) 0%, var(--background-secondary) 100%);
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 2rem;
        transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        backdrop-filter: blur(20px);
        border-right: 1px solid var(--border-color);
        box-shadow: 0 0 50px rgba(139, 127, 231, 0.2);
        transform: translateX(-100%) scale(0.95);
        opacity: 0;
    }

    .nav-menu.active {
        left: 0;
        transform: translateX(0) scale(1);
        opacity: 1;
        animation: menuSlideIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .nav-menu .nav-item {
        opacity: 0;
        transform: translateX(-30px);
        transition: all 0.4s ease;
    }

    .nav-menu.active .nav-item {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu.active .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active .nav-item:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active .nav-item:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active .nav-item:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active .nav-item:nth-child(5) { transition-delay: 0.5s; }
    .nav-menu.active .nav-item:nth-child(6) { transition-delay: 0.6s; }
    .nav-menu.active .nav-item:nth-child(7) { transition-delay: 0.7s; }

    .nav-menu .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        border-radius: 50px;
        background: rgba(139, 127, 231, 0.1);
        border: 2px solid transparent;
        margin: 0.5rem 0;
        width: 200px;
        text-align: center;
        transition: all 0.3s ease;
    }

    .nav-menu .nav-link:hover {
        background: var(--gradient-primary);
        color: white;
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(139, 127, 231, 0.3);
    }

@keyframes menuSlideIn {
    0% { 
        transform: translateX(-100%) scale(0.95) rotateY(-90deg);
        opacity: 0;
    }
    50% { 
        transform: translateX(-10%) scale(1.02) rotateY(-10deg);
        opacity: 0.8;
    }
    100% { 
        transform: translateX(0) scale(1) rotateY(0deg);
        opacity: 1;
    }
}

    .nav-toggle {
        display: flex;
    }

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

    .title-name {
        font-size: 3rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .about-content,
    .contact-content,
    .vision-content,
    .footer-main,
    .leetcode-content,
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .skill-filters,
    .projects-filters {
        gap: 0.5rem;
    }

    .filter-btn,
    .project-filter {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

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

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

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

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

    .project-item.featured {
        grid-column: span 1;
    }

    .timeline-line {
        left: 15px;
    }

    .timeline-marker {
        width: 30px;
        height: 30px;
    }

    .timeline-item {
        gap: 1rem;
    }

    .timeline-content::before {
        left: -5px;
        border-right-width: 5px;
    }

    .leetcode-metrics {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .difficulty-bar {
        grid-template-columns: 60px 1fr 50px;
        gap: 0.5rem;
    }

    .submission-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cursor {
        display: none;
    }
}

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

    .hero {
        padding: 4rem 1rem 2rem;
    }

    .title-name {
        font-size: 2.5rem;
    }

    .vision {
        margin: 0 1rem;
    }
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
