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

body {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0f0f23 100%);
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    color: #ffffff;
    overflow-x: hidden;
}

/* Navigation */
.nav {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 50px;
    padding: 12px 24px;
    display: flex;
    gap: 30px;
}

.nav-item {
    color: #8892b0;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item:hover,
.nav-item.active {
    color: #64ffda;
}

.nav-item::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #64ffda;
    transition: width 0.3s ease;
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

/* Sections */
.section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 60px;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
}

#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: left;
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 200;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #64ffda 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 2s ease-out 0s forwards;
    animation-play-state: paused;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    color: #8892b0;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 2s ease-out 0s forwards;
    animation-play-state: paused;
}

.hero-description {
    font-size: 1.2rem;
    font-weight: 300;
    color: #a8b2d1;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 2s ease-out 0s forwards;
    animation-play-state: paused;
}

.cta-button {
    background: transparent;
    border: 2px solid #64ffda;
    color: #64ffda;
    padding: 15px 30px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: inherit;
    opacity: 0;
    animation: fadeInUp 2s ease-out 0s forwards;
    animation-play-state: paused;
}

.cta-button:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #64ffda;
    font-size: 0.9rem;
    opacity: 0;
    animation: fadeInUp 2s ease-out 0s forwards;
    animation-play-state: paused;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.scroll-arrow {
    display: block;
    margin-top: 10px;
    animation: bounce 2s infinite;
}

/* About Section */
.about {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
}

.about-content {
    max-width: 800px;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 200;
    color: #64ffda;
    margin-bottom: 30px;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #64ffda, transparent);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #a8b2d1;
    margin-bottom: 40px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.skill-category {
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    background: rgba(100, 255, 218, 0.1);
}

.skill-title {
    color: #64ffda;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.skill-list {
    color: #8892b0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Projects Section */
.projects {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
}

.projects-content {
    max-width: 1000px;
    width: 100%;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.project-card {
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    background: rgba(100, 255, 218, 0.1);
    box-shadow: 0 20px 40px rgba(100, 255, 218, 0.1);
}

.project-title {
    color: #64ffda;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.project-description {
    color: #a8b2d1;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.tech-tag {
    background: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    color: #64ffda;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #ffffff;
}

/* Experience Section */
.experience {
    background: rgba(10, 10, 15, 0.9);
}

.experience-content {
    max-width: 800px;
}

.timeline {
    position: relative;
    margin-top: 50px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, #64ffda, rgba(100, 255, 218, 0.3));
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 12px;
    padding: 25px;
    width: 45%;
    position: relative;
}

.timeline-date {
    color: #64ffda;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.timeline-title {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.timeline-company {
    color: #8892b0;
    font-size: 1rem;
    margin-bottom: 15px;
}

.timeline-description {
    color: #a8b2d1;
    line-height: 1.6;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: #64ffda;
    border-radius: 50%;
    z-index: 2;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f23 100%);
}

.contact-content {
    max-width: 600px;
    text-align: center;
}

.contact-form {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-label {
    color: #64ffda;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 4px;
    padding: 12px;
    color: #ffffff;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #64ffda;
    background: rgba(100, 255, 218, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.contact-link {
    color: #8892b0;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #64ffda;
}

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

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

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .section {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .nav {
        padding: 10px 20px;
        gap: 20px;
    }

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

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
        margin-left: 40px;
    }

    .timeline-item:nth-child(even) {
        flex-direction: column;
    }

    .timeline-content {
        width: 100%;
    }

    .timeline-dot {
        left: 20px;
    }
}

.loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #64ffda;
    font-size: 1.1rem;
    font-weight: 300;
    z-index: 1000;
}
