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

:root {
    --background: hsl(220, 25%, 10%);
    --foreground: hsl(210, 40%, 98%);
    --card: hsl(220, 20%, 14%);
    --primary: hsl(199, 89%, 48%);
    --primary-light: hsl(199, 89%, 58%);
    --accent: hsl(25, 95%, 53%);
    --accent-light: hsl(35, 95%, 60%);
    --secondary: hsl(220, 15%, 20%);
    --muted: hsl(215, 20%, 65%);
    --border: hsl(220, 15%, 20%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--background), hsl(220, 30%, 15%));
}

.hero-background {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.blob {
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    filter: blur(80px);
}

.blob-1 {
    top: 25%;
    left: 25%;
    background-color: var(--primary);
}

.blob-2 {
    bottom: 25%;
    right: 25%;
    background-color: var(--accent);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s ease-out forwards;
}

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

.profile-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.profile-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.3;
    transform: scale(1.1);
}

.profile-image {
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .profile-image {
        width: 16rem;
        height: 16rem;
    }
}

.hero-text {
    margin-top: 1rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.875rem;
    }
}

.tech-badges {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    padding: 0.5rem 1rem;
    background-color: var(--secondary);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.scroll-arrow {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

/* About Section */
.about {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1rem;
}

.about-content {
    max-width: 64rem;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.about-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accent-line {
    width: 5rem;
    height: 0.25rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 9999px;
}

.about-text {
    font-size: 1.125rem;
    color: var(--muted);
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat-card {
    background-color: var(--card);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    transition: border-color 0.3s;
}

.stat-card:hover {
    border-color: var(--primary);
}

.stat-number {
    color: var(--accent);
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--muted);
}

/* Experience Section */
.experience {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1rem;
    background: linear-gradient(180deg, var(--background), var(--secondary));
}

.experience-content {
    max-width: 80rem;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.experience-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.experience .section-header {
    text-align: center;
}

.experience .accent-line {
    margin: 0 auto;
}

.experience-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.experience-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 2rem;
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.3s ease-out, opacity 0.6s ease-out, transform 0.6s ease-out;
}

.experience-content.visible .experience-card {
    animation: slideInLeft 0.6s ease-out forwards;
}

.experience-content.visible .experience-card:nth-child(1) {
    animation-delay: 0s;
}

.experience-content.visible .experience-card:nth-child(2) {
    animation-delay: 0.15s;
}

.experience-content.visible .experience-card:nth-child(3) {
    animation-delay: 0.3s;
}

.experience-content.visible .experience-card:nth-child(4) {
    animation-delay: 0.45s;
}

.experience-content.visible .experience-card:nth-child(5) {
    animation-delay: 0.6s;
}

.experience-content.visible .experience-card:nth-child(n+6) {
    animation-delay: 0.75s;
}

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

.experience-card:hover {
    border-color: var(--primary);
    transform: scale(1.02);
}

.experience-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .experience-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.experience-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.experience-company {
    color: var(--primary);
    font-weight: 500;
}

.experience-period {
    color: var(--muted);
    font-weight: 500;
}

.experience-description {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.25rem 0.75rem;
    background-color: var(--secondary);
    font-size: 0.875rem;
    border-radius: 9999px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.tech-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Footer */
.footer {
    background: linear-gradient(to bottom, transparent, rgba(0, 159, 227, 0.05));
    border-top: 1px solid rgba(0, 159, 227, 0.1);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    text-align: center;
}

.footer-text {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--muted);
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.7;
}