@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap");

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

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #1f2933 0%, #13151a 55%, #0d0d10 100%);
    color: #f5f5f5;
    line-height: 1.7;
    min-height: 100vh;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px;
}

header {
    padding: 120px 0 80px;
    text-align: center;
    margin-bottom: 72px;
}

h1 {
    font-size: 4.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ff8653;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.4rem;
    color: #c3c9d2;
    font-weight: 500;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    color: #f5f5f5;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    background: rgba(255, 255, 255, 0.06);
}

.hero-button.primary {
    background: linear-gradient(135deg, #ff9d5c 0%, #ff6a3d 100%);
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(255, 122, 60, 0.3);
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(12, 14, 18, 0.35);
}

main {
    padding-bottom: 120px;
}

.intro {
    text-align: center;
    margin-bottom: 90px;
    padding: 54px;
    background: rgba(23, 26, 32, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(8, 10, 14, 0.4);
}

.intro p {
    font-size: 1.15rem;
    margin-bottom: 22px;
    color: #dbe1eb;
    font-weight: 400;
}

.intro p:last-child {
    margin-bottom: 0;
}

.section {
    margin-bottom: 80px;
    padding: 52px;
    background: rgba(20, 23, 28, 0.93);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    box-shadow: 0 16px 38px rgba(7, 9, 12, 0.45);
}

.section h2 {
    font-size: 2.1rem;
    margin-bottom: 44px;
    color: #ff8653;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.skill-category {
    background: rgba(16, 19, 24, 0.95);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-top: 3px solid #ff8653;
}

.skill-category h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: #ff9d5c;
    font-weight: 700;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 0.95rem;
    color: #f0f0f0;
    font-weight: 500;
}

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

.project-card {
    background: rgba(15, 18, 24, 0.96);
    border-radius: 16px;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.2s ease, border 0.2s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 134, 83, 0.8);
}

.project-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.project-card h3 {
    color: #ff9d5c;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0;
}

.project-link {
    font-size: 0.85rem;
    color: #c6ccda;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.2s ease, color 0.2s ease;
}

.project-link:hover {
    background: rgba(255, 134, 83, 0.16);
    color: #ff9d5c;
}

.project-card p {
    color: #d4d9e2;
    margin-bottom: 24px;
    line-height: 1.7;
    font-size: 1rem;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-meta span {
    background: rgba(255, 255, 255, 0.08);
    color: #f0f3f9;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.contact-card {
    background: rgba(15, 18, 24, 0.9);
    border-radius: 18px;
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
}

.contact-card h3 {
    font-size: 1.3rem;
    color: #ff9d5c;
}

.contact-card p {
    color: #d4d9e2;
    font-size: 0.98rem;
}

.socials-card {
    background: rgba(18, 20, 25, 0.85);
}

.socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
}

.social-link img {
    height: 40px;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.social-link img:hover {
    transform: translateY(-2px);
}

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

.stat-card {
    text-align: center;
    padding: 26px;
    background: rgba(14, 16, 22, 0.9);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-card img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

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

    header {
        padding: 90px 0 60px;
    }

    h1 {
        font-size: 3.4rem;
    }

    .intro {
        padding: 40px;
    }

    .section {
        padding: 40px;
    }
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

    header {
        padding: 72px 0 48px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .intro, .section {
        padding: 28px;
    }

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

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

    .social-link img {
        height: 36px;
    }
}
