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

:root {
    --primary-gradient: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    --secondary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --purple-gradient: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
    --shadow-soft: 0 8px 32px rgba(31, 38, 135, 0.37);
    --shadow-intense: 0 20px 40px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--primary-gradient);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Advanced Animated Background */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

/* Gradient Orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    animation: orb-float 20s infinite ease-in-out;
    opacity: 0.3;
}

.gradient-orb:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -200px;
    left: -200px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    animation-delay: 0s;
}

.gradient-orb:nth-child(2) {
    width: 600px;
    height: 600px;
    top: 50%;
    right: -300px;
    background: linear-gradient(45deg, #f093fb, #f5576c);
    animation-delay: -10s;
}

.gradient-orb:nth-child(3) {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: 30%;
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    animation-delay: -5s;
}

/* Neural Network Lines */
.neural-network {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 200, 255, 0.3) 0%, transparent 50%);
    animation: neural-pulse 15s infinite ease-in-out;
}

/* Floating Tech Particles */
.tech-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particle-float 25s infinite linear;
}

.tech-particle:nth-child(4) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.tech-particle:nth-child(5) {
    top: 60%;
    left: 80%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.tech-particle:nth-child(6) {
    top: 80%;
    left: 20%;
    animation-delay: -10s;
    animation-duration: 30s;
}

.tech-particle:nth-child(7) {
    top: 30%;
    left: 70%;
    animation-delay: -15s;
    animation-duration: 22s;
}

.tech-particle:nth-child(8) {
    top: 70%;
    left: 50%;
    animation-delay: -20s;
    animation-duration: 28s;
}

/* Geometric Grid */
.geometric-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: grid-shift 30s infinite linear;
}

/* Data Flow Lines */
.data-flow {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(79, 172, 254, 0.5) 20%, 
        rgba(79, 172, 254, 0.8) 50%, 
        rgba(79, 172, 254, 0.5) 80%, 
        transparent 100%);
    animation: data-stream 8s infinite linear;
}

.data-flow:nth-child(9) {
    left: 15%;
    animation-delay: 0s;
}

.data-flow:nth-child(10) {
    left: 35%;
    animation-delay: -2s;
}

.data-flow:nth-child(11) {
    left: 65%;
    animation-delay: -4s;
}

.data-flow:nth-child(12) {
    left: 85%;
    animation-delay: -6s;
}

/* Animations */
@keyframes orb-float {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    25% {
        transform: translateY(-30px) scale(1.1);
    }
    50% {
        transform: translateY(-60px) scale(1);
    }
    75% {
        transform: translateY(-30px) scale(0.9);
    }
}

@keyframes neural-pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

@keyframes grid-shift {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(100px, 100px);
    }
}

@keyframes data-stream {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Enhanced floating shapes */
.floating-shapes {
    position: absolute;
    background: var(--glass-bg);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    animation: float 25s infinite linear;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-shapes:nth-child(13) {
    top: 15%;
    left: 15%;
    width: 100px;
    height: 100px;
    animation-delay: 0s;
}

.floating-shapes:nth-child(14) {
    top: 75%;
    left: 75%;
    width: 150px;
    height: 150px;
    animation-delay: -8s;
}

.floating-shapes:nth-child(15) {
    top: 35%;
    left: 85%;
    width: 80px;
    height: 80px;
    animation-delay: -16s;
}

.floating-shapes:nth-child(16) {
    top: 65%;
    left: 10%;
    width: 120px;
    height: 120px;
    animation-delay: -24s;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 1;
    }
    100% {
        transform: translateY(0px) rotate(360deg);
        opacity: 0.6;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(45deg, #fff, #a8edea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Main Content */
.main-content {
    padding-top: 5rem;
    position: relative;
    z-index: 1;
}

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

.hero-content {
    max-width: 1000px;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 0.6rem 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, #a8edea, #fed6e3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.3rem, 3.5vw, 2rem);
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-muted);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Projects Section */
.projects-section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #a8edea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-intense);
    border-color: rgba(255, 255, 255, 0.3);
}

.project-status {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.status-live {
    background: linear-gradient(45deg, #00f2fe, #4facfe);
    color: white;
}

.status-development {
    background: linear-gradient(45deg, #feca57, #ff9ff3);
    color: white;
}

.status-concept {
    background: linear-gradient(45deg, #a8edea, #fed6e3);
    color: #333;
}

.project-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.project-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    flex-grow: 1;
    line-height: 1.7;
}

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

.tech-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--success-gradient);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.project-link:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(79, 172, 254, 0.4);
}

.project-link.coming-soon {
    background: linear-gradient(45deg, #636e72, #74b9ff);
    cursor: not-allowed;
}

/* About Section */
.about-section {
    padding: 5rem 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    margin: 0 2rem;
    border-radius: 24px;
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 1;
}

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

.about-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #fff, #a8edea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Footer */
.footer {
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 3rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--text-primary);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-card {
        padding: 2rem;
    }
    
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .projects-section {
        padding: 3rem 1rem;
    }
    
    .about-section {
        margin: 0 1rem;
        padding: 3rem 2rem;
    }
    
    .contact-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .gradient-orb:nth-child(1) {
        width: 250px;
        height: 250px;
    }
    
    .gradient-orb:nth-child(2) {
        width: 300px;
        height: 300px;
    }
    
    .gradient-orb:nth-child(3) {
        width: 200px;
        height: 200px;
    }
} 