:root {
    --bg-color: #02020a;
    /* Deep space black/blue */
    --text-primary: #ffffff;
    --text-secondary: #b0b0d0;
    --accent-color: #00f3ff;
    /* Cyan */
    --accent-color-2: #ff00ff;
    /* Magenta */
    --glass-bg: rgba(10, 10, 30, 0.4);
    /* Darker glass */
    --glass-border: rgba(0, 243, 255, 0.2);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Canvas Background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    /* Let clicks pass through */
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, var(--accent-color) 50%, var(--accent-color-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 243, 255, 0.5);
    /* Neon Glow */
}

h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    color: var(--text-primary);
    border-left: none;
    padding-left: 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 10px var(--accent-color);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Sections */
section {
    min-height: 100vh;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    /* Above canvas */
}

/* Intro Section */
#intro {
    align-items: flex-start;
    text-align: left;
}

.intro-content {
    max-width: 800px;
    opacity: 0;
    /* Animated in via JS */
    transform: translateY(30px);
}

.badge-container {
    margin-bottom: 20px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--accent-color);
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--accent-color);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
    text-transform: uppercase;
    animation: badgePulse 3s infinite ease-in-out;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 25px rgba(0, 243, 255, 0.6);
    }
}

.verified-badge svg {
    color: var(--accent-color);
    width: 20px;
    height: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--accent-color);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    width: 100%;
    padding: 20px;
}

.project-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    opacity: 0;
    transform: translateY(50px) perspective(1000px) rotateX(10deg);
    /* Initial 3D state */
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    transform: translateY(-15px) perspective(1000px) rotateX(0deg) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 243, 255, 0.2);
    border-color: var(--accent-color);
}

.tags {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--accent-color);
    border: 1px solid rgba(0, 243, 255, 0.3);
}

/* Contact Section */
.contact-container {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 50px;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.contact-link {
    display: block;
    font-size: 1.2rem;
    color: var(--text-primary);
    text-decoration: none;
    margin: 15px 0;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-color);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid var(--glass-border);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 80px 20px;
    }
}