:root {

    --bg-page: #07162B;
    --accent: #6E8CFF;
    --accent-glow: rgba(110, 140, 255, 0.45);
    --surface-1: #2F4A3E;
    --surface-2: #6D8F73;
    --surface-3: #EAF2EA;
    --text-on-surface-1: #EAF2EA;
    --text-on-surface-2: #EAF2EA;
    --text-on-surface-3: #2F4A3E;
    --text-primary: #EAF2EA;
    --text-muted: #8FA3B8;
    --status-running: #E8C468;
    --status-running-glow: rgba(232, 196, 104, 0.45);
    --status-completed: #7FBF7F;
    --status-completed-glow: rgba(127, 191, 127, 0.45);
    --box-header-bg: #07162B;
    --box-border: #6D8F73;

    --font-mono: 'JetBrains Mono', 'Roboto Mono', monospace;
}


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

}

body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: var(--font-mono);
    line-height: 1.6;
    scroll-behavior: smooth;

}


p,
li {
    text-align: justify;
}

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

ul {
    list-style: none;
}

/* ---- 3. NAV BAR ---- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    max-width: 100%;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background-color: var(--bg-page);
    border-bottom: 1px solid var(--box-border);
    box-shadow: 0 4px 20px rgba(110, 140, 255, 0.15);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #4ADE80;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 10px;
}

.nav-link {
    font-size: 0.85rem;
    color: var(--text-primary);
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-link:hover {
    color: var(--accent);
    text-shadow: 0 0 8px var(--accent-glow);
}

.nav-link.active {
    color: var(--accent);
    text-shadow: 0 0 8px var(--accent-glow);
}

html {
    scroll-behavior: smooth;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #4ADE80;
    display: inline-block;
    animation: blink-dot 1.6s ease-in-out infinite;
    box-shadow: 0 0 6px #4ADE80;
}

@keyframes blink-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* ---- 4. HERO ---- */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
    max-width: 600px;
    margin: 0 auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--box-border);
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero-name {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.hero-role {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.cursor {
    animation: blink-cursor 1s step-end infinite;
}

@keyframes blink-cursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-bio {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
    text-align: justify;
}

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

.btn {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-filled {
    background-color: var(--accent);
    color: var(--bg-page);
    border: 1px solid var(--accent);
    font-weight: 600;
}

.btn-filled:hover {
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);

}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--box-border);
}

.btn-outline:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}



.skill-box,
.project-box,
.contact-box {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--surface-2);
    transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.skill-box:hover,
.project-box:hover,
.contact-box:hover {
    box-shadow: 0 0 24px rgba(110, 140, 255, 0.25);
    transform: translateY(-2px);
}

.box-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background-color: var(--box-header-bg);
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red {
    background-color: #FF5F56;
}

.dot-yellow {
    background-color: #FFBD2E;
}

.dot-green {
    background-color: #27C93F;
}

.box-filename {
    margin-left: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}


.box-body {
    padding: 20px 16px;
}

.contact-box .badge {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: 0;
    margin-bottom: 24px;
    margin-top: 4px;
}

.surface-1 .box-body {
    background-color: var(--surface-1);
    color: var(--text-on-surface-1);
}

.surface-2 .box-body {
    background-color: var(--surface-2);
    color: var(--text-on-surface-2);
}

.surface-3 .box-body {
    background-color: var(--surface-3);
    color: var(--text-on-surface-3);
}


.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tag:hover {
    box-shadow: 0 0 12px rgba(110, 140, 255, 0.35);
    transform: translateY(-1px);
}

.surface-1 .tag {
    background-color: var(--surface-3);
    color: var(--text-on-surface-3);
}

.surface-2 .tag {
    background-color: var(--surface-1);
    color: var(--text-on-surface-1);
}

.surface-3 .tag {
    background-color: var(--surface-1);
    color: var(--text-on-surface-1);
}

/* ---- 4. PROJECT-SPECIFIC: title row + status badges ---- */
.project-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.project-name {
    font-size: 1.1rem;
    font-weight: 700;
}

.project-desc {
    font-size: 0.85rem;
    margin-bottom: 16px;
    opacity: 0.9;
}


.status-tag {
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1.5px solid transparent;
    transition: box-shadow 0.2s ease;
}

.surface-1 .status-tag {
    background-color: var(--surface-3);
}

.surface-2 .status-tag {
    background-color: var(--surface-1);
}

.surface-3 .status-tag {
    background-color: var(--surface-1);
}

.status-running {
    border-color: var(--status-running);
    color: var(--status-running);
    box-shadow: 0 0 10px var(--status-running-glow);
}

.status-completed {
    border-color: var(--status-completed);
    color: var(--status-completed);
    box-shadow: 0 0 10px var(--status-completed-glow);
}

.status-tag:hover {
    box-shadow: 0 0 18px currentColor;

}

/* ---- 5. CONTACT BOX + links ---- */
.contact-intro {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.contact-link {
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    border: 1px solid currentColor;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-link:hover {
    box-shadow: 0 0 14px var(--accent-glow);
    border-color: var(--accent);
    transform: translateY(-1px);
}

/* ---- 6. SECTION LABELS/TITLES (shared across Skills/Projects/etc.) ---- */
.section-label {
    color: var(--accent);
    font-size: 0.8rem;
    margin-bottom: 8px;
    padding: 0 4px;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding: 0 4px;
}

.skills-section,
.projects-section,
.experience-section,
.about-section,
.contact-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 20px;
}



.notes-box {
    border-radius: 14px;
    padding: 20px 18px;
    margin-bottom: 20px;
    border: 1px solid var(--surface-2);
    transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.notes-box:hover {
    box-shadow: 0 0 24px rgba(110, 140, 255, 0.25);
    transform: translateY(-2px);
}

/* Surface rotation — same 3 classes as Terminal-box, just applied here too */
.notes-box.surface-1 {
    background-color: var(--surface-1);
    color: var(--text-on-surface-1);
}

.notes-box.surface-2 {
    background-color: var(--surface-2);
    color: var(--text-on-surface-2);
}

.notes-box.surface-3 {
    background-color: var(--surface-3);
    color: var(--text-on-surface-3);
}

/* ---- 2. NOTES HEADER: X icon (left) + dots (right) ---- */
.notes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.notes-close-icon {
    display: inline-flex;
    opacity: 0.85;
}

.notes-close-icon svg {
    display: block;
}

.notes-dots {
    display: flex;
    gap: 6px;
}

.notes-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

/* hollow dots = just a ring outline, no fill */
.notes-dot--hollow {
    border: 1.4px solid currentColor;
    background-color: transparent;
}

/* filled dots = solid circle */
.notes-dot--filled {
    background-color: currentColor;
}

/* ---- 3. ROLE TITLE + META ROW ---- */
.notes-role-line {
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 0.95rem;
}

.notes-role-type {
    font-weight: 400;
    opacity: 0.75;
    margin-left: 6px;
}

.notes-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.85rem;
}

.notes-company {
    opacity: 0.85;
}


.notes-date-pill {
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    white-space: nowrap;
}

.surface-1 .notes-date-pill {
    background-color: var(--surface-3);
    color: var(--text-on-surface-3);
}

.surface-2 .notes-date-pill {
    background-color: var(--surface-1);
    color: var(--text-on-surface-1);
}

.surface-3 .notes-date-pill {
    background-color: var(--surface-1);
    color: var(--text-on-surface-1);
}

/* ---- 4. NOTES LIST (bullet points with ○/● markers) ---- */
.notes-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notes-list li {
    position: relative;
    padding-left: 22px;
    font-size: 0.85rem;
    line-height: 1.6;
}


.notes-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.notes-dots--hollow~* .notes-list li::before,
.notes-box:has(.notes-dot--hollow) .notes-list li::before {
    border: 1.4px solid currentColor;
    background-color: transparent;
}

.notes-box:has(.notes-dot--filled) .notes-list li::before {
    background-color: currentColor;
}

.about-list li {
    text-align: justify;
}




.stat-card {
    background-color: #0D2038;
    width: 100%;

    border: 1px solid var(--surface-2);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 32px;

    transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.stat-card:hover {
    box-shadow: 0 0 24px rgba(110, 140, 255, 0.2);
    transform: translateY(-2px);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 14px 0;
    border-bottom: 1px solid rgba(109, 143, 115, 0.25);

}

.stat-row:last-child {
    border-bottom: none;

}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}




@media (min-width: 768px) {


    .hero {
        max-width: 960px;

        display: grid;
        grid-template-columns: 1.3fr 1fr;

        gap: 48px;
        align-items: center;
        text-align: left;

    }

    .hero-left {
        text-align: left;
    }

    .hero-name {
        font-size: 3rem;

    }

    .hero-name-accent {
        color: var(--surface-3);
    }

    .badge,
    .hero-buttons {
        justify-content: flex-start;

    }

    .hero-bio {
        text-align: justify;

    }

    .stat-card {
        margin-top: 8px;
        margin-bottom: 0;

    }


    /* ---- Skills: 3-column grid ---- */
    .skills-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .skills-section {
        max-width: 1100px;

    }

    .skill-box {
        margin-bottom: 0;

    }



    .skill-box.surface-1,
    .project-box.surface-1 {
        background-color: var(--surface-1);
    }

    .skill-box.surface-2,
    .project-box.surface-2 {
        background-color: var(--surface-2);
    }

    .skill-box.surface-3,
    .project-box.surface-3 {
        background-color: var(--surface-3);
    }

    /* ---- Projects: 2-column grid ---- */
    .projects-section {
        max-width: 1000px;
    }

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

    .project-box {
        margin-bottom: 0;
    }

    .navbar {
        padding: 18px 48px;
    }

}

@media (min-width: 768px) {

    .experience-section,
    .about-section,
    .contact-section {
        max-width: 1000px;
    }

    .notes-box {
        padding: 28px 32px;
    }
}

.site-footer {
    text-align: center;
    padding: 24px 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--surface-2);
    margin-top: 40px;
    width: 100%;
}

.site-footer * {
    text-align: center;
}