:root {
    --primary-color: #2d3436;
    --secondary-color: #636e72;
    --accent-color: #6c5ce7;
    --accent-light: #a29bfe;
    --background-color: #ffffff;
    --section-bg-light: #f9f9f9;
    --section-padding: 120px 24px;
    --transition-smooth: all 0.3s ease;
    --card-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--background-color);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition-smooth);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--section-bg-light) 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent-light) 0%, rgba(108, 92, 231, 0.1) 50%, transparent 70%);
    opacity: 0.1;
    transform: rotate(-45deg);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Scroll Indicator */
.scroll-indicator {
    margin-top: 4rem;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--accent-color);
    border-radius: 25px;
    margin: 0 auto 1rem;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 20px); opacity: 0; }
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--background-color);
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about h2, .work h2, .projects h2, .contact h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.about h2::after, .work h2::after, .projects h2::after, .contact h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-tag {
    padding: 0.8rem 1.5rem;
    background: var(--section-bg-light);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--accent-color);
    border: 2px solid var(--accent-light);
    transition: var(--transition-smooth);
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow);
}

/* Work Experience */
.work {
    padding: var(--section-padding);
    background: var(--section-bg-light);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    border-left: 4px solid var(--accent-color);
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px -15px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.company {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Projects Section */
.projects {
    padding: var(--section-padding);
    background: var(--background-color);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: var(--section-bg-light);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.project-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--card-shadow);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.project-content p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.project-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.project-link i {
    transition: var(--transition-smooth);
}

.project-link:hover i {
    transform: translateX(5px);
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--section-bg-light);
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact .section-content {
    width: 100%;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-content p {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: var(--transition-smooth);
    padding: 1rem;
    border-radius: 50%;
    background: white;
    box-shadow: var(--card-shadow);
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Footer */
footer {
    padding: 2rem 24px;
    background: var(--primary-color);
    text-align: center;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px 24px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-links {
        display: none;
    }

    .section-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .section-content h2 {
        font-size: 1.8rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }
}
