/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    color: #999999;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 80px;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
}

.typing-container {
    height: 40px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.typed-text {
    color: #666666;
    font-size: 1.1rem;
    font-weight: 400;
}

.cursor {
    display: inline-block;
    background-color: #ffffff;
    margin-left: 2px;
    width: 2px;
    height: 20px;
    animation: blink 1s infinite;
}

.hero-description {
    font-size: 1.1rem;
    color: #999999;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
}

/* Buttons */
.btn {
    padding: 14px 32px;
    border: 1px solid #333333;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #ffffff;
    color: #0a0a0a;
    border-color: #ffffff;
}

.btn-primary:hover {
    background: transparent;
    color: #ffffff;
}

.btn-secondary:hover {
    border-color: #ffffff;
    color: #ffffff;
}

/* About Section */
.about {
    padding: 8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 4rem;
    color: #ffffff;
    letter-spacing: -1px;
}

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

.about-text {
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.8;
}

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

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-item {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666666;
    font-weight: 400;
}

/* Skills Section */
.skills {
    padding: 8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
}

.skill-category {
    padding: 2rem 0;
}

.skill-category h3 {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.skill-item {
    color: #999999;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.3s ease;
}

.skill-item:hover {
    color: #ffffff;
}

/* Contact Section */
.contact {
    padding: 8rem 0 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.contact p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-link {
    color: #999999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

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

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.contact-link:hover::after {
    width: 100%;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0;
    color: #666666;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

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

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

    .nav-links {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-links {
        flex-direction: column;
        gap: 1.5rem;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}