/* ================================================================
   PORTFOLIO — Product Design System
   Stripe / Linear / Vercel-inspired dark UI.
   Neutral charcoal · Muted indigo accent · Clean grids.
   ================================================================ */

/* ── Design Tokens ────────────────────────────────────────────── */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --bg-hover: #1c1c1c;

    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --text-muted: #5a5a5a;

    --accent: #6366f1;
    --accent-hover: #818cf8;
    --accent-dim: rgba(99, 102, 241, 0.08);
    --accent-border: rgba(99, 102, 241, 0.25);

    --border: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 255, 255, 0.14);

    --red: #ef4444;

    --radius: 12px;
    --radius-sm: 8px;
    --radius-xs: 6px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);

    --transition: 0.2s ease;
    --transition-slow: 0.35s ease;

    --header-h: 60px;
    --max-w: 1120px;
}

/* ── Scrollbar ────────────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

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

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

body {
    font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

button {
    font-family: inherit;
}

/* ── Container ────────────────────────────────────────────────── */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================================================
   HEADER / NAVIGATION
   Horizontal, slim, fixed. Collapses to hamburger on mobile.
   ================================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    z-index: 100;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition);
}

.header--scrolled {
    background: rgba(10, 10, 10, 0.95);
    border-bottom-color: var(--border);
}

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

.nav__logo {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav__link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: var(--radius-xs);
    transition: color var(--transition), background var(--transition);
}

.nav__link:hover {
    color: var(--text-secondary);
}

.nav__link--active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.nav__resume {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-primary);
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    margin-left: 8px;
    transition: all var(--transition);
}

.nav__resume:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.04);
}

/* Hamburger — hidden on desktop */
.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.nav__hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: all 0.25s ease;
    transform-origin: center;
}

.nav__hamburger--open span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.nav__hamburger--open span:nth-child(2) {
    opacity: 0;
}

.nav__hamburger--open span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-h);
    position: relative;
    overflow: hidden;
}

/* ── Background layer 1: Ambient glow with breathing pulse ──── */
@keyframes heroPulse {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) scale(1.12);
        opacity: 0.7;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(99, 102, 241, 0.06) 40%, transparent 70%);
    pointer-events: none;
    animation: heroPulse 8s ease-in-out infinite;
}

/* ── Background layer 2: Floating gradient orb ─────────────── */
@keyframes heroDrift {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.15;
    }

    20% {
        opacity: 0.8;
    }

    50% {
        transform: translate(80px, -50px) scale(1.15);
        opacity: 1;
    }

    80% {
        opacity: 0.8;
    }

    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.15;
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: 15%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.20) 0%, rgba(99, 102, 241, 0.08) 40%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    animation: heroDrift 12s ease-in-out infinite;
}

/* ── Background layer 3: Gradient mesh lines ──────────────── */
@keyframes meshDrift {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 60px;
    }
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 59px,
            rgba(255, 255, 255, 0.04) 59px,
            rgba(255, 255, 255, 0.04) 60px),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 59px,
            rgba(255, 255, 255, 0.03) 59px,
            rgba(255, 255, 255, 0.03) 60px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
    pointer-events: none;
    animation: meshDrift 20s linear infinite;
}

/* ── Hero content ──────────────────────────────────────────── */
.hero__content {
    position: relative;
    z-index: 1;
    max-width: 620px;
}

.hero__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent);
    margin-bottom: 20px;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero__actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* ── Hero entrance animation ─────────────────────────────────── */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroLineIn {
    from {
        transform: scaleX(0);
        opacity: 0;
    }

    to {
        transform: scaleX(1);
        opacity: 1;
    }
}

/* Hide hero children until data is loaded & animation triggers */
.hero__label,
.hero__title,
.hero__subtitle,
.hero__actions {
    opacity: 0;
}

/* Staggered reveal — activated by JS adding .hero--animate
   Uses expo-out curve for a cinematic feel */
.hero--animate .hero__label {
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0s;
}

.hero--animate .hero__title {
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.15s;
}

.hero--animate .hero__subtitle {
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.30s;
}

.hero--animate .hero__actions {
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.45s;
}

/* Accent divider under title — wider, with subtle glow */
.hero--animate .hero__title::after {
    content: '';
    display: block;
    width: 64px;
    height: 2px;
    margin-top: 16px;
    background: rgba(99, 102, 241, 0.5);
    border-radius: 1px;
    transform-origin: left;
    animation: heroLineIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.55s;
    transform: scaleX(0);
    opacity: 0;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.25);
}

/* CTA primary button glow on hover */
.hero__actions .btn--primary:hover {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3), var(--shadow-md);
}

/* Accessibility — disable all hero motion */
@media (prefers-reduced-motion: reduce) {
    .hero::before {
        animation: none !important;
        opacity: 0.08;
    }

    .hero::after {
        animation: none !important;
        opacity: 0;
    }

    .hero__grid {
        animation: none !important;
        opacity: 0.3;
    }

    .hero__label,
    .hero__title,
    .hero__subtitle,
    .hero__actions {
        opacity: 1;
        animation: none !important;
    }

    .hero--animate .hero__title::after {
        animation: none !important;
        transform: scaleX(1);
        opacity: 1;
    }
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn--primary {
    background: var(--accent);
    color: #fff;
}

.btn--primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn--outline:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    transform: translateY(-1px);
}

/* ================================================================
   SECTIONS — Base
   ================================================================ */
.section {
    padding: 100px 0;
}

.section--alt {
    background: var(--bg-secondary);
}

.section__header {
    margin-bottom: 48px;
}

.section__label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent);
    margin-bottom: 10px;
}

.section__title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

/* ── Scroll Reveal ────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal--visible {
    opacity: 1;
    transform: none;
}

/* ================================================================
   ABOUT
   ================================================================ */
.about__grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 48px;
    align-items: start;
}

.about__avatar {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.about__text p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about__tags-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
    margin-top: 24px;
}

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

.about__tag {
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 5px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all var(--transition);
}

.about__tag:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

/* ================================================================
   SKILLS
   ================================================================ */
.skills__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.skills__card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all var(--transition-slow);
}

.skills__card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.skills__card-icon {
    font-size: 1.15rem;
    color: var(--accent);
    margin-bottom: 14px;
}

.skills__card-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.skills__card-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ================================================================
   PROJECTS — CSS Grid (3 → 2 → 1 columns)
   ================================================================ */
.projects__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
}

.project-card__cover-wrap {
    overflow: hidden;
}

.project-card__cover {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-card__cover {
    transform: scale(1.04);
}

.project-card__body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-card__badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 8px;
}

.project-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.project-card__desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 16px;
    flex: 1;
}

.project-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.project-card__tag {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 3px 8px;
    border-radius: 4px;
}

.project-card__links {
    display: flex;
    gap: 18px;
    margin-top: auto;
}

.project-card__link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color var(--transition);
}

.project-card__link i {
    font-size: 0.85rem;
}

.project-card__link:hover {
    color: var(--text-primary);
}

/* ================================================================
   EXPERIENCE
   ================================================================ */
.experience__list {
    max-width: 720px;
}

.experience__item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 16px;
    transition: border-color var(--transition);
}

.experience__item:hover {
    border-color: var(--border-hover);
}

.experience__role {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.experience__company {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 4px;
}

.experience__period {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.experience__duties {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.experience__duty {
    padding-left: 18px;
    position: relative;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.experience__duty::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

/* ================================================================
   BLOGS — CSS Grid (3 → 2 → 1 columns)
   ================================================================ */
.blogs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition);
    display: flex;
    flex-direction: column;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
}

.blog-card--hidden {
    display: none;
}

.blog-card__thumb-wrap {
    overflow: hidden;
}

.blog-card__thumb {
    width: 100%;
    height: 170px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__thumb {
    transform: scale(1.04);
}

.blog-card__body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__date {
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.blog-card__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card__excerpt {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.blog-card__read {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}

.blog-card__read::after {
    content: '→';
    transition: transform var(--transition);
}

.blog-card:hover .blog-card__read::after {
    transform: translateX(4px);
}

.blogs__more {
    text-align: center;
    margin-top: 28px;
}

/* ================================================================
   CERTIFICATIONS / EDUCATION
   ================================================================ */
.certs__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all var(--transition-slow);
}

.cert-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.cert-card__badge {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 14px;
}

.cert-card__badge--edu {
    color: var(--accent);
    background: var(--accent-dim);
}

.cert-card__badge--cert {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
}

.cert-card__name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.cert-card__issuer {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 4px;
}

.cert-card__period {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.cert-card__detail {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact__layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    max-width: 800px;
}

.contact__intro {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 28px;
}

.contact__row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.contact__row-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xs);
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.contact__row-label {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact__row-value {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact__row-value a {
    color: var(--text-secondary);
    transition: color var(--transition);
}

.contact__row-value a:hover {
    color: var(--text-primary);
}

/* Form */
.contact__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact__input,
.contact__textarea {
    width: 100%;
    padding: 11px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    transition: border-color var(--transition);
}

.contact__input::placeholder,
.contact__textarea::placeholder {
    color: var(--text-muted);
}

.contact__input:focus,
.contact__textarea:focus {
    outline: none;
    border-color: var(--accent-border);
}

.contact__textarea {
    min-height: 120px;
    resize: vertical;
}

.contact__submit {
    align-self: flex-start;
    padding: 10px 28px;
    background: var(--accent);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
}

.contact__submit:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.contact__submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer__socials {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer__social {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 1rem;
    transition: all var(--transition);
}

.footer__social:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.footer__copy {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer__link {
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer__link:hover {
    color: var(--text-secondary);
}

/* ================================================================
   TOAST
   ================================================================ */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.875rem;
    z-index: 9999;
    transform: translateY(80px);
    opacity: 0;
    transition: all 0.35s ease;
}

.toast--visible {
    transform: translateY(0);
    opacity: 1;
}

.toast--error {
    border-color: var(--red);
    color: var(--red);
}

/* ================================================================
   RESPONSIVE — Tablet (≤ 1024px)
   ================================================================ */
@media (max-width: 1024px) {
    .hero__title {
        font-size: 2.75rem;
    }

    .about__grid {
        grid-template-columns: 160px 1fr;
        gap: 32px;
    }

    .about__avatar {
        width: 160px;
        height: 160px;
    }

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

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

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

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

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

/* ================================================================
   RESPONSIVE — Mobile (≤ 768px)
   ================================================================ */
@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    /* Nav collapses to hamburger */
    .nav__hamburger {
        display: flex;
    }

    .nav__links {
        position: fixed;
        inset: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s ease;
        z-index: 100;
    }

    .nav__links--open {
        opacity: 1;
        visibility: visible;
    }

    .nav__link {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .nav__resume {
        margin-left: 0;
        margin-top: 12px;
    }

    .hero__title {
        font-size: 2.25rem;
    }

    .hero__subtitle {
        font-size: 0.95rem;
    }

    .hero__actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        justify-content: center;
        text-align: center;
    }

    .section__title {
        font-size: 1.4rem;
    }

    .about__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about__avatar {
        width: 160px;
        height: 160px;
        margin: 0 auto;
    }

    .about__tags {
        justify-content: center;
    }

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

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

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

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

    .contact__submit {
        width: 100%;
        text-align: center;
    }
}

/* ================================================================
   RESPONSIVE — Small Mobile (≤ 480px)
   ================================================================ */
@media (max-width: 480px) {
    .section {
        padding: 56px 0;
    }

    .container {
        padding: 0 16px;
    }

    .hero__title {
        font-size: 1.85rem;
    }

    .hero__label {
        font-size: 0.65rem;
    }

    .section__title {
        font-size: 1.25rem;
    }

    .about__avatar {
        width: 130px;
        height: 130px;
    }
}