* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0f172a;
    color: #f1f5f9;
    overflow-x: hidden;
}

/* Animated background glow */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.25), transparent 70%);
    top: -200px;
    right: -150px;
    z-index: -2;
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.2);
    }
}

/* Floating particles */
.particles span {
    position: fixed;
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    animation: float 15s linear infinite;
    z-index: -1;
}

.particles span:nth-child(1) {
    left: 10%;
    animation-duration: 12s;
}

.particles span:nth-child(2) {
    left: 30%;
    animation-duration: 18s;
}

.particles span:nth-child(3) {
    left: 50%;
    animation-duration: 10s;
}

.particles span:nth-child(4) {
    left: 70%;
    animation-duration: 20s;
}

.particles span:nth-child(5) {
    left: 90%;
    animation-duration: 14s;
}

@keyframes float {
    from {
        transform: translateY(100vh);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    to {
        transform: translateY(-10vh);
        opacity: 0;
    }
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.hero-content {
    animation: fadeIn 1.5s ease;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero h1 span {
    color: #60a5fa;
}

.hero p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

/* Button */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
    box-shadow: 0 10px 30px rgba(37,99,235,0.3);
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(37,99,235,0.5);
}

/* Cards */
.card {
    width: min(1000px, 90%);
    margin: 3rem auto;
    padding: 2rem;
    border-radius: 24px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    animation: fadeUp 1s ease;
}

.card h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.card p {
    color: #cbd5e1;
    line-height: 1.7;
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.project {
    padding: 1.5rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    transition: 0.3s ease;
    border: 1px solid rgba(255,255,255,0.08);
}

.project:hover {
    transform: translateY(-8px);
    background: rgba(59,130,246,0.12);
}

.project h3 {
    margin-bottom: 0.8rem;
    color: #93c5fd;
}

.project p {
    font-size: 0.95rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}