:root {
    --bg: #0a0a0f;
    --text-primary: #f0f0f5;
    --text-muted: #6b7280;
    --accent: #6c63ff;
    --accent-glow: rgba(108, 99, 255, 0.3);
    --highlight-bg: rgba(108, 99, 255, 0.15);
    --nav-height: 64px;
}

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

::selection {
    color: var(--text-primary);
    background-color: var(--accent);
}

body {
    min-height: 100vh;
    color: var(--text-primary);
    background-color: var(--bg);
    background-image:
        radial-gradient(ellipse at 20% 30%, rgba(108, 99, 255, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(108, 99, 255, 0.05) 0%, transparent 50%);
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande',
                 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

/* ── Global links ── */
a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
    opacity: 0.75;
    text-decoration: underline;
    text-decoration-color: var(--accent);
}

a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ── Highlight (covers typo .highligh too) ── */
.highlight, .highligh {
    color: var(--accent);
    text-shadow: 0 0 30px var(--accent-glow);
    background: var(--highlight-bg);
    padding: 0 0.15em;
    border-radius: 4px;
}

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 100;
}

.nav-logo {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.nav-links__list {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-link__link {
    text-decoration: none;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.nav-link__link:hover {
    color: var(--text-primary);
}

/* ── Section shared ── */
.section-indicator {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: var(--accent);
    opacity: 0.6;
    margin-bottom: 1rem;
}

/* ── Hero ── */
.section__hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-height) + 2rem) 2rem 2rem;
}

.section__hero h1 {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.domain-subtitle {
    font-size: clamp(0.85rem, 2vw, 1rem);
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: lowercase;
}

/* ── About ── */
.section__about {
    max-width: 720px;
    margin: 0 auto;
    padding: 5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section__about h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.section__about p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.8;
    color: var(--text-muted);
}

/* ── Stack ── */
.section__stack {
    max-width: 720px;
    margin: 0 auto;
    padding: 5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section__stack h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.section__stack ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.section__stack li {
    font-size: 0.9rem;
    padding: 0.4em 0.9em;
    border-radius: 6px;
    background: var(--highlight-bg);
    color: var(--accent);
    border: 1px solid rgba(108, 99, 255, 0.2);
    letter-spacing: 0.03em;
}

.section__stack li.note {
    background: transparent;
    border-color: transparent;
    color: var(--text-muted);
    font-style: italic;
}

/* ── Availability ── */
.section__availability {
    max-width: 720px;
    margin: 0 auto;
    padding: 5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section__availability h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.section__availability p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.8;
    color: var(--text-muted);
}

/* ── Contact ── */
.section__contact {
    max-width: 720px;
    margin: 0 auto;
    padding: 5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section__contact h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-label {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    min-width: 90px;
    text-transform: uppercase;
}

.email-canvas {
    display: block;
    image-rendering: crisp-edges;
}

/* ── Projects ── */
.section__projects {
    max-width: 720px;
    margin: 0 auto;
    padding: 5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section__projects h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.projects-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-card {
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(108, 99, 255, 0.2);
    background: var(--highlight-bg);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-card__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.project-card__name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.project-card__desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.project-card__links {
    display: flex;
    gap: 1rem;
    margin-top: 0.25rem;
}

.project-card__links a {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25em 0.7em;
    border-radius: 4px;
    border: 1px solid rgba(108, 99, 255, 0.35);
    color: var(--accent);
    text-decoration: none;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.project-card__links a:hover {
    background: rgba(108, 99, 255, 0.15);
    opacity: 1;
    text-decoration: none;
}

.project-card--more {
    background: transparent;
    border-color: transparent;
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.9rem;
    padding-left: 0.25rem;
}

/* ── Skills ── */
.section__skills {
    max-width: 720px;
    margin: 0 auto;
    padding: 5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section__skills h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.skills-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.skills-table th {
    text-align: left;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0.5rem 1rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.skills-table td {
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.skills-table tbody tr:hover td {
    background: rgba(108, 99, 255, 0.05);
}

.level {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.2em 0.65em;
    border-radius: 4px;
    font-weight: 600;
}

.level--expert       { background: rgba(108, 99, 255, 0.2); color: #a89fff; border: 1px solid rgba(108,99,255,0.35); }
.level--advanced     { background: rgba(34, 197, 94, 0.12); color: #4ade80; border: 1px solid rgba(34,197,94,0.3); }
.level--intermediate { background: rgba(234, 179, 8, 0.12); color: #facc15; border: 1px solid rgba(234,179,8,0.3); }
.level--beginner     { background: rgba(239, 68, 68, 0.12); color: #f87171; border: 1px solid rgba(239,68,68,0.3); }


footer {
    background-color: var(--to-be-done);
    color: var(--to-be-done);
    margin: 3rem;
}

footer a {
    color: var(--to-be-done);
}

/* ── Footer ── */
.footer {
    max-width: 720px;
    margin: 3rem auto 2rem;
    padding: 0.9rem 1.5rem;
    border-radius: 12px;
    background: rgba(18, 18, 26, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer__copy {
    letter-spacing: 0.03em;
}

.footer__links {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.footer__links a {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__links a:hover {
    color: var(--text-primary);
    text-decoration: none;
    opacity: 1;
}
