:root {
    --bg: #ffffff;
    --text: #1a1a1a;
    --primary: #FF0055;
    --secondary: #00E5FF;
    --tertiary: #7000FF;
    --quaternary: #FFD500;
    --font-main: 'Space Grotesk', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Custom cursor */
}

body {
    font-family: var(--font-main);
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

/* Custom Cursor */
.cursor {
    width: 10px;
    height: 10px;
    background: var(--text);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s, width 0.3s, height 0.3s;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.links a {
    text-decoration: none;
    color: var(--text);
    margin-left: 2rem;
    font-weight: 500;
    position: relative;
}

.links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary);
    transition: width 0.3s;
}

.links a:hover::after {
    width: 100%;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    max-width: 600px;
}

h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary), var(--tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--text);
    color: var(--bg);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 2rem;
    transition: transform 0.3s, background 0.3s;
}

.cta-btn:hover {
    transform: translateY(-5px);
    background: var(--primary);
}

/* Animated Blobs */
.hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 10s infinite ease-in-out;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    bottom: 10%;
    right: 20%;
    animation-delay: 2s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: var(--quaternary);
    top: 40%;
    left: 40%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -50px); }
    66% { transform: translate(-20px, 20px); }
}

/* Sections */
section {
    padding: 8rem 10%;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    width: 50%;
    height: 10px;
    bottom: 10px;
    left: 0;
    background: var(--quaternary);
    z-index: -1;
    opacity: 0.5;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.skill-tag {
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--text);
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s;
}

.skill-tag:hover {
    background: var(--text);
    color: var(--bg);
    transform: scale(1.1);
}

.stat-item {
    margin-bottom: 2rem;
}

.stat-item .number {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    color: var(--tertiary);
}

/* Experience */
.timeline {
    border-left: 2px solid var(--text);
    padding-left: 2rem;
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    left: -2.6rem;
    top: 5px;
}

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

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

.project-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.project-card:hover {
    transform: translateY(-10px);
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.tags {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tags span {
    font-size: 0.8rem;
    background: #f0f0f0;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

/* Contact */
.contact-links {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-btn {
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    transition: color 0.3s;
}

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

footer {
    padding: 2rem 10%;
    text-align: center;
    border-top: 1px solid #eee;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    .about-grid { grid-template-columns: 1fr; }
    #hero { padding: 0 5%; flex-direction: column; justify-content: center; text-align: center; }
    .hero-visual { opacity: 0.4; }
}
