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

:root {
    --background: #080d19;
    --surface: #101a2d;
    --surface-light: #14223a;
    --text: #f4f7ff;
    --muted: #a5b2c8;
    --accent: #55d6ff;
    --accent-secondary: #7785ff;
    --border: rgba(255,255,255,0.09);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, 90%);
    margin: auto;
}

/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8,13,25,0.94);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
}

.navbar {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 23px;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--muted);
    font-size: 12px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

/* HERO */

.hero {
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
    gap: 60px;
    padding-top: 70px;
    padding-bottom: 70px;
}

.eyebrow {
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.12;
    letter-spacing: -2.5px;
    max-width: 700px;
}

.hero h1 span {
    display: block;
    color: var(--accent);
}

.hero-description {
    color: var(--muted);
    max-width: 570px;
    margin: 25px 0;
    font-size: 15px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 21px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s;
}

.primary-button {
    background: var(--accent);
    color: #07111d;
}

.primary-button:hover {
    background: #a0eaff;
    transform: translateY(-3px);
}

.secondary-button {
    border: 1px solid var(--border);
    color: var(--text);
}

.secondary-button:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

.hero-socials {
    display: flex;
    gap: 25px;
    margin-top: 30px;
}

.hero-socials a {
    color: var(--muted);
    font-size: 13px;
}

.hero-socials a:hover {
    color: var(--accent);
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.profile-card {
    width: 310px;
    padding: 25px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 25px 70px rgba(0,0,0,0.25);
}

.profile-image-container {
    width: 220px;
    height: 220px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(85,214,255,0.5);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card h2 {
    font-size: 20px;
}

.profile-card > p {
    color: var(--muted);
    font-size: 13px;
}

.profile-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 11px;
    color: #9fe5c1;
}

.profile-status span {
    width: 7px;
    height: 7px;
    background: #55d69e;
    border-radius: 50%;
}

/* SECTIONS */

.section {
    padding: 100px 0;
}

.section-dark {
    background: #0c1424;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 45px;
}

.section-heading h2,
.contact-content h2,
.github-card h2 {
    font-size: clamp(30px, 4vw, 42px);
    letter-spacing: -1.5px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.section-heading > p:not(.eyebrow),
.contact-content > p:not(.eyebrow),
.github-card p:not(.eyebrow) {
    color: var(--muted);
    font-size: 14px;
}

.about-content {
    max-width: 850px;
}

.about-content p {
    color: var(--muted);
    margin-bottom: 18px;
    font-size: 15px;
}

/* AI SKILLS */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.skill-card,
.backend-card,
.project-card,
.education-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 27px;
    border-radius: 12px;
    transition: transform 0.3s, border-color 0.3s;
}

.skill-card:hover,
.backend-card:hover,
.project-card:hover,
.education-card:hover {
    transform: translateY(-5px);
    border-color: rgba(85,214,255,0.5);
}

.skill-icon {
    font-size: 28px;
    color: var(--accent);
    margin-bottom: 17px;
}

.skill-card h3,
.backend-card h3,
.project-card h3,
.education-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.skill-card p,
.backend-card p,
.project-card p {
    color: var(--muted);
    font-size: 13px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 20px;
}

.tags span {
    padding: 5px 9px;
    background: rgba(85,214,255,0.08);
    color: var(--accent);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}

/* BACKEND */

.backend-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.backend-card {
    background: var(--surface);
}

.backend-label {
    font-size: 10px;
    color: var(--accent);
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 15px;
}

.backend-card ul {
    margin-top: 20px;
    padding-left: 20px;
    color: var(--muted);
    font-size: 13px;
}

.backend-card li {
    margin-bottom: 8px;
}

/* PROJECTS */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.project-number {
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.project-card {
    background: #111d31;
}

/* EXPERIENCE */

.timeline {
    max-width: 850px;
    border-left: 2px solid rgba(85,214,255,0.3);
    padding-left: 30px;
    margin-left: 10px;
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -38px;
    top: 7px;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
}

.timeline-date {
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
}

.timeline-item h3 {
    font-size: 19px;
    margin-top: 8px;
}

.timeline-item h4 {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
}

.timeline-item p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 12px;
    max-width: 700px;
}

/* EDUCATION */

.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.education-card span {
    color: var(--accent);
    font-size: 12px;
}

.education-card p {
    color: var(--muted);
    font-size: 13px;
}

/* GITHUB */

.github-card {
    padding: 40px;
    background: linear-gradient(120deg, #142a43, #111a35);
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.github-card p {
    max-width: 500px;
}

/* CONTACT */

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

.contact-content > p:not(.eyebrow) {
    max-width: 600px;
    margin: 0 auto 25px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.contact-links a {
    color: var(--accent);
    font-size: 13px;
}

/* FOOTER */

.footer {
    padding: 25px 5%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
}

.footer a:hover {
    color: var(--accent);
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .nav-links {
        gap: 12px;
    }

    .hero {
        gap: 30px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .navbar {
        padding: 15px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links {
        gap: 12px 17px;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 55px;
    }

    .hero-buttons,
    .hero-socials {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 25px;
    }

    .skills-grid,
    .backend-grid,
    .projects-grid,
    .education-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 70px 0;
    }

    .github-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px;
    }

    .contact-links {
        flex-direction: column;
        gap: 12px;
    }

    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
