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

:root {
    --primary-color: #7c3aed;
    --secondary-color: #3b82f6;
    --neon-purple: #a855f7;
    --neon-blue: #06b6d4;
    --text-primary: #f0f4ff;
    --text-secondary: #b8c5f0;
    --bg-primary: #0a0618;
    --bg-secondary: #151020;
    --bg-dark: #050410;
    --bg-card: #1a1528;
    --bg-card-hover: #221b35;
    --border-color: #5b21b6;
    --border-light: rgba(168, 85, 247, 0.4);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --neon-glow: 0 0 10px rgba(168, 85, 247, 0.5), 0 0 20px rgba(168, 85, 247, 0.3), 0 0 30px rgba(168, 85, 247, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(at 0% 0%, rgba(124, 58, 237, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(59, 130, 246, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(168, 85, 247, 0.08) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(6, 182, 212, 0.08) 0px, transparent 50%);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 6, 24, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid rgba(168, 85, 247, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-purple);
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue));
    box-shadow: var(--neon-glow);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--neon-purple);
    text-shadow: 0 0 8px rgba(168, 85, 247, 0.6);
}

.nav-link:hover::after {
    width: 100%;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
}

.nav-link.active {
    color: var(--neon-purple);
    text-shadow: 0 0 8px rgba(168, 85, 247, 0.6);
}

.nav-link.active::after {
    width: 100%;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--neon-purple);
    box-shadow: 0 0 5px rgba(168, 85, 247, 0.5);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #1a0b2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(168,85,247,0.2)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

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

/* Neural Network Animation */
.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.neural-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, var(--neon-purple), var(--neon-blue));
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.8), 0 0 20px rgba(168, 85, 247, 0.4);
    animation: nodePulse 3s ease-in-out infinite;
}

.neural-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-purple), var(--neon-blue), transparent);
    box-shadow: 0 0 5px rgba(168, 85, 247, 0.6);
    opacity: 0.5;
    transform-origin: left center;
    animation: dataFlow 4s linear infinite;
}

@keyframes nodePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

@keyframes dataFlow {
    0% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 0.2;
    }
}

/* Data Streams */
.data-streams {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.stream {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        var(--neon-purple) 20%, 
        var(--neon-blue) 50%, 
        var(--neon-purple) 80%, 
        transparent 100%);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
    opacity: 0.5;
}

.stream-1 {
    left: 10%;
    animation: streamFlow 8s linear infinite;
}

.stream-2 {
    left: 50%;
    animation: streamFlow 10s linear infinite;
    animation-delay: -2s;
}

.stream-3 {
    right: 15%;
    animation: streamFlow 12s linear infinite;
    animation-delay: -4s;
}

@keyframes streamFlow {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Code Particles */
.code-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.code-particle {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--neon-blue);
    text-shadow: 0 0 5px rgba(6, 182, 212, 0.8);
    opacity: 0.6;
    white-space: nowrap;
    animation: codeFall linear infinite;
}

@keyframes codeFall {
    0% {
        transform: translateY(-100px) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(100vh) translateX(20px);
        opacity: 0;
    }
}

/* Circuit Lines */
.circuit-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.3;
}

.circuit-svg {
    width: 100%;
    height: 100%;
}

.circuit-path {
    fill: none;
    stroke: url(#circuitGradient);
    stroke-width: 1;
    stroke-dasharray: 5, 5;
    animation: circuitFlow 20s linear infinite;
}

@keyframes circuitFlow {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: 100;
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .greeting {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.hero-title .name {
    display: block;
    background: linear-gradient(120deg, #a855f7 0%, #06b6d4 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.3));
}

.hero-title .role {
    display: block;
    font-size: 2rem;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

/* Hero Tech Stack */
.hero-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
}

.hero-tech-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.hero-tech-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

.hero-tech-item i {
    font-size: 1.2rem;
    color: var(--neon-purple);
    filter: drop-shadow(0 0 5px rgba(168, 85, 247, 0.6));
}

.hero-tech-item:hover i {
    color: var(--neon-blue);
    filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.8));
}

.hero-tech-item span {
    color: white;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

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

.btn {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    color: white;
    box-shadow: var(--neon-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.6), 0 0 40px rgba(6, 182, 212, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: var(--neon-purple);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    color: white;
    box-shadow: var(--neon-glow);
}

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

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 50%;
    color: var(--neon-purple);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
    border-color: transparent;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease;
}

.image-container {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.6), 0 0 80px rgba(6, 182, 212, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.image-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 3s linear infinite;
}

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

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border: 3px solid var(--bg-primary);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.image-container:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.8), 0 0 100px rgba(6, 182, 212, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 3;
}

.scroll-indicator a {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.8);
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
}

section:not(.hero) {
    border-top: 1px solid rgba(168, 85, 247, 0.08);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    width: 100%;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
}

/* About Section */
.about {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(168, 85, 247, 0.1);
    border-bottom: 1px solid rgba(168, 85, 247, 0.1);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

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

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border: 2px solid rgba(168, 85, 247, 0.25);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--neon-purple);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.5);
}

.stat-item h3 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

.stat-item p {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Skills Section */
.skills {
    background: var(--bg-primary);
}

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

.skill-category {
    background: var(--bg-card);
    padding: 2rem;
    border: 2px solid rgba(168, 85, 247, 0.25);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--neon-purple);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.5);
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--neon-purple);
    border-bottom: 2px solid rgba(168, 85, 247, 0.3);
    padding-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.skill-item:hover {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    color: white;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
    border-color: transparent;
}

.skill-item i {
    font-size: 1.5rem;
    color: var(--neon-purple);
}

.skill-item:hover i {
    color: white;
}

.skill-item span {
    font-weight: 500;
}

/* Portfolio Showcase Section */
.portfolio-showcase {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(168, 85, 247, 0.1);
    border-bottom: 1px solid rgba(168, 85, 247, 0.1);
    padding: 80px 0;
}

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

.showcase-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--neon-purple);
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
    margin-bottom: 1rem;
}

.showcase-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Tab Navigation */
.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--bg-card);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.tab-btn i {
    font-size: 1.2rem;
    color: var(--neon-purple);
}

.tab-btn:hover {
    border-color: var(--neon-purple);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(6, 182, 212, 0.2));
    border-color: var(--neon-purple);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
    color: var(--neon-purple);
}

.tab-btn.active i {
    color: var(--neon-purple);
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
}

/* Tab Content */
.tab-content {
    min-height: 400px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.showcase-card {
    background: var(--bg-card);
    border: 2px solid rgba(168, 85, 247, 0.25);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.showcase-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.6);
    border-color: var(--neon-purple);
}

.showcase-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.showcase-card:hover .showcase-image img {
    transform: scale(1.1);
}

.showcase-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.showcase-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

.showcase-link:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.8);
}

.showcase-card-content {
    padding: 1.5rem;
}

.showcase-card-content h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
}

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

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

.showcase-tags span {
    padding: 0.4rem 0.9rem;
    background: var(--bg-secondary);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Certificate Cards */
.certificate-card {
    background: var(--bg-card);
    border: 2px solid rgba(168, 85, 247, 0.25);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.certificate-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--neon-purple);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.5);
}

.certificate-icon {
    font-size: 4rem;
    color: var(--neon-purple);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

.certificate-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

.certificate-date {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    color: var(--neon-purple);
    font-weight: 600;
    font-size: 0.875rem;
}

/* Tech Stack */
.tech-stack-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tech-category {
    background: var(--bg-card);
    border: 2px solid rgba(168, 85, 247, 0.25);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.tech-category:hover {
    border-color: var(--neon-purple);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.tech-category h3 {
    font-size: 1.5rem;
    color: var(--neon-purple);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
    border-bottom: 2px solid rgba(168, 85, 247, 0.3);
    padding-bottom: 0.5rem;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.tech-item:hover {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    color: white;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
    border-color: transparent;
}

.tech-item i {
    font-size: 1.5rem;
    color: var(--neon-purple);
}

.tech-item:hover i {
    color: white;
}

.tech-item span {
    font-weight: 500;
}

/* Contact Section */
.contact {
    background: var(--bg-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--neon-purple);
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 50%;
    color: var(--neon-purple);
    font-size: 1.2rem;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.contact-item span {
    color: var(--text-secondary);
    font-weight: 500;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: var(--bg-card);
    border-color: var(--neon-purple);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

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

.form-group textarea {
    resize: vertical;
}

/* Comments Section */
.comments-section {
    margin-top: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.comments-title {
    font-size: 2rem;
    color: var(--neon-purple);
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.comments-title i {
    font-size: 1.8rem;
}

/* Comment Form Card */
.comment-form-card {
    background: var(--bg-card);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.comment-form-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--neon-purple);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.5);
}

.comment-form-card h4 {
    font-size: 1.5rem;
    color: var(--neon-purple);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.comment-form .form-group {
    display: flex;
    flex-direction: column;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--neon-purple);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
    background: var(--bg-card);
}

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

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

.comment-form .btn {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Comments Container */
.comments-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comments-loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.comments-loading i {
    font-size: 2rem;
    color: var(--neon-purple);
}

.comments-empty {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 2px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;
}

.comments-empty i {
    font-size: 3rem;
    color: var(--neon-purple);
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Individual Comment Card */
.comment-card {
    background: var(--bg-card);
    border: 2px solid rgba(168, 85, 247, 0.25);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease;
    margin-bottom: 1rem;
}

.comment-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--neon-purple);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.4);
    transform: translateY(-2px);
}

.comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.comment-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

.comment-author-info h5 {
    color: var(--neon-purple);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    text-shadow: 0 0 8px rgba(168, 85, 247, 0.3);
}

.comment-author-info span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.comment-date {
    color: var(--text-secondary);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-date i {
    color: var(--neon-blue);
}

.comment-body {
    color: var(--text-primary);
    line-height: 1.7;
    margin-top: 1rem;
}

.comment-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(168, 85, 247, 0.15);
}

.comment-action-btn {
    background: transparent;
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-action-btn:hover {
    border-color: var(--neon-purple);
    color: var(--neon-purple);
    background: rgba(168, 85, 247, 0.1);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.comment-action-btn.liked {
    border-color: var(--neon-purple);
    color: var(--neon-purple);
    background: rgba(168, 85, 247, 0.1);
}

/* Responsive Comments */
@media (max-width: 768px) {
    .comment-form-row {
        grid-template-columns: 1fr;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comments-section {
        margin-top: 3rem;
    }
}

/* Additional Neon Effects */
.btn-primary,
.btn-secondary {
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover::before,
.btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

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

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

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 50%;
    color: var(--neon-purple);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
    border-color: transparent;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes fadeInBottom {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

/* Scroll Animation Classes */
.scroll-animate {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate.animate-in {
    opacity: 1;
}

.scroll-animate-from-left {
    transform: translateX(-80px);
}

.scroll-animate-from-left.animate-in {
    transform: translateX(0);
}

.scroll-animate-from-right {
    transform: translateX(80px);
}

.scroll-animate-from-right.animate-in {
    transform: translateX(0);
}

.scroll-animate-from-bottom {
    transform: translateY(80px);
}

.scroll-animate-from-bottom.animate-in {
    transform: translateY(0);
}

.scroll-animate-scale {
    transform: scale(0.8);
}

.scroll-animate-scale.animate-in {
    transform: scale(1);
}

.scroll-animate-rotate {
    transform: rotate(-5deg) scale(0.9);
    opacity: 0;
}

.scroll-animate-rotate.animate-in {
    transform: rotate(0deg) scale(1);
    opacity: 1;
}

/* Responsive Design */
/* Responsive adjustments for animations */
@media (max-width: 768px) {
    .neural-node {
        width: 8px;
        height: 8px;
    }
    
    .code-particle {
        font-size: 12px;
    }
    
    .stream {
        width: 1px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-card);
        border: 1px solid rgba(168, 85, 247, 0.3);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-title .role {
        font-size: 1.5rem;
    }
    
    .hero-tech-stack {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .hero-tech-item {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .hero-tech-item i {
        font-size: 1rem;
    }

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

    .social-links {
        justify-content: center;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer .container {
        flex-direction: column;
        gap: 1rem;
    }

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

    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-title {
        font-size: 2rem;
    }
    
    .showcase-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .showcase-tabs {
        gap: 0.5rem;
    }
    
    .tab-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-stack-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
