/* Variables & Reset */
:root {
    --bg-dark: #0a0a0a;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --accent-1: #7928ca;
    --accent-2: #ff0080;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Effects */
.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 15% 50%, rgba(121, 40, 202, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 0, 128, 0.15), transparent 25%);
    z-index: -2;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    z-index: -1;
    pointer-events: none;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.greeting {
    font-size: 1.2rem;
    color: var(--accent-2);
    margin-bottom: 10px;
    font-weight: 500;
}

.name {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.role {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-links {
    display: flex;
    gap: 20px;
}

.btn-glass {
    padding: 12px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-primary {
    padding: 12px 30px;
    background: linear-gradient(45deg, var(--accent-1), var(--accent-2));
    border-radius: 50px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.glow-effect:hover {
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.5);
    transform: translateY(-2px);
}

/* Abstract Shapes */
.hero-visual {
    position: relative;
    width: 400px;
    height: 400px;
}

.abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--accent-1);
    top: 0;
    left: 0;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: var(--accent-2);
    bottom: 0;
    right: 0;
    animation-delay: -3s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -20px);
    }
}

/* Section Styles */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--accent-1), var(--accent-2));
    border-radius: 2px;
}

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

.project-card {
    position: relative;
    height: 350px;
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.project-card:hover .card-inner {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
}

.project-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 10px;
    right: 20px;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.project-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tech-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tech-tags span {
    font-size: 0.8rem;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: #ccc;
}

.project-link {
    color: var(--accent-2);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.project-link:hover {
    gap: 10px;
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Skills Cloud */
.skills-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    padding: 10px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-1);
    color: #fff;
    transform: scale(1.05);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid var(--glass-border);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-marker {
    position: absolute;
    left: -26px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: var(--accent-1);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-1);
}

.timeline-role {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.timeline-org {
    color: var(--accent-2);
    margin-bottom: 5px;
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
}

.highlight {
    color: #fff;
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--accent-1);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-left {
    opacity: 0;
    animation: fadeInLeft 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .name {
        font-size: 3rem;
    }

    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

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

    .hero-visual {
        display: none;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .footer {
        flex-direction: column;
        gap: 20px;
    }
}
