/* ═══════════════════════════════════════════════════════════
   DESIGN SYSTEM — CSS Custom Properties
   ═══════════════════════════════════════════════════════════ */
:root {
    /* ── Colors ── */
    --clr-bg-primary:    hsl(222, 47%, 7%);
    --clr-bg-secondary:  hsl(222, 40%, 10%);
    --clr-bg-card:       hsl(222, 35%, 12%);
    --clr-bg-card-hover: hsl(222, 35%, 15%);

    --clr-accent:        hsl(199, 100%, 55%);
    --clr-accent-soft:   hsla(199, 100%, 55%, 0.15);
    --clr-accent-glow:   hsla(199, 100%, 55%, 0.35);

    --clr-text-primary:  hsl(210, 40%, 96%);
    --clr-text-secondary:hsl(215, 20%, 65%);
    --clr-text-muted:    hsl(215, 15%, 45%);

    --clr-border:        hsl(222, 30%, 18%);
    --clr-border-hover:  hsl(199, 60%, 40%);

    --clr-gradient-start: hsl(199, 100%, 55%);
    --clr-gradient-end:   hsl(260, 100%, 65%);

    /* ── Typography ── */
    --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --fs-xs:   0.75rem;
    --fs-sm:   0.875rem;
    --fs-base: 1rem;
    --fs-md:   1.125rem;
    --fs-lg:   1.25rem;
    --fs-xl:   1.5rem;
    --fs-2xl:  2rem;
    --fs-3xl:  2.5rem;
    --fs-4xl:  3.5rem;
    --fs-hero: clamp(2.5rem, 6vw, 5rem);

    --fw-light:    300;
    --fw-regular:  400;
    --fw-medium:   500;
    --fw-semibold: 600;
    --fw-bold:     700;
    --fw-extrabold:800;

    /* ── Spacing ── */
    --spacing-xs:  0.25rem;
    --spacing-sm:  0.5rem;
    --spacing-md:  1rem;
    --spacing-lg:  1.5rem;
    --spacing-xl:  2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    --spacing-section: 7rem;

    /* ── Misc ── */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-card: 0 4px 24px hsla(222, 50%, 4%, 0.5);
    --shadow-glow: 0 0 30px var(--clr-accent-glow);

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

    --header-height: 4rem;
}

/* ═══════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--ff-body);
    font-size: var(--fs-base);
    font-weight: var(--fw-regular);
    line-height: 1.7;
    color: var(--clr-text-primary);
    background-color: var(--clr-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

strong {
    color: var(--clr-accent);
    font-weight: var(--fw-semibold);
}

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

/* ═══════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════ */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section {
    padding: var(--spacing-section) 0;
    position: relative;
}

/* ═══════════════════════════════════════════════════════════
   SECTION HEADER
   ═══════════════════════════════════════════════════════════ */
.section__header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-3xl);
}

.section__tag {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--clr-accent);
    font-family: monospace;
    letter-spacing: 0.05em;
}

.section__title {
    font-size: var(--fs-2xl);
    font-weight: var(--fw-bold);
    white-space: nowrap;
}

.section__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--clr-border), transparent);
}

/* ═══════════════════════════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════════════════════════ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: hsla(222, 47%, 7%, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.header--scrolled {
    border-bottom-color: var(--clr-border);
    box-shadow: 0 2px 24px hsla(222, 50%, 4%, 0.4);
}

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

.nav__logo {
    font-size: var(--fs-lg);
    font-weight: var(--fw-extrabold);
    color: var(--clr-accent);
    letter-spacing: -0.02em;
    transition: opacity var(--transition-fast);
}

.nav__logo:hover {
    opacity: 0.8;
}

.nav__list {
    display: flex;
    gap: var(--spacing-xl);
}

.nav__link {
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--clr-text-secondary);
    position: relative;
    padding: var(--spacing-xs) 0;
    letter-spacing: 0.02em;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-accent);
    border-radius: var(--radius-full);
    transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link.active {
    color: var(--clr-text-primary);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__toggle,
.nav__close {
    display: none;
    color: var(--clr-text-primary);
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.75rem 1.75rem;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, var(--clr-gradient-start), var(--clr-gradient-end));
    color: white;
    box-shadow: 0 4px 16px hsla(199, 100%, 55%, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px hsla(199, 100%, 55%, 0.4);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--outline {
    border: 1.5px solid var(--clr-border-hover);
    color: var(--clr-accent);
    background: transparent;
}

.btn--outline:hover {
    background: var(--clr-accent-soft);
    border-color: var(--clr-accent);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

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

.hero__particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero__content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero__greeting {
    display: inline-block;
    font-size: var(--fs-md);
    font-weight: var(--fw-medium);
    color: var(--clr-accent);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero__name {
    font-size: var(--fs-hero);
    font-weight: var(--fw-extrabold);
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--clr-text-primary) 0%, var(--clr-text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    font-size: var(--fs-xl);
    font-weight: var(--fw-light);
    color: var(--clr-text-secondary);
    margin-bottom: var(--spacing-lg);
}

.hero__title-separator {
    color: var(--clr-accent);
    font-weight: var(--fw-light);
}

.hero__subtitle {
    font-size: var(--fs-md);
    color: var(--clr-text-muted);
    max-width: 520px;
    margin: 0 auto var(--spacing-2xl);
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
}

.hero__socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
}

.hero__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--clr-border);
    color: var(--clr-text-secondary);
    transition: all var(--transition-base);
}

.hero__social-link:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    background: var(--clr-accent-soft);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* Scroll Indicator */
.hero__scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--clr-text-muted);
    font-size: var(--fs-xs);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--clr-accent), transparent);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════════ */
.about__grid {
    display: grid;
    gap: var(--spacing-3xl);
}

.about__text p {
    font-size: var(--fs-md);
    color: var(--clr-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.about__stat-card {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.about__stat-card:hover {
    border-color: var(--clr-accent);
    background: var(--clr-bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.about__stat-number {
    font-size: var(--fs-4xl);
    font-weight: var(--fw-extrabold);
    color: var(--clr-accent);
    line-height: 1;
}

.about__stat-suffix {
    font-size: var(--fs-2xl);
    font-weight: var(--fw-bold);
    color: var(--clr-accent);
}

.about__stat-label {
    display: block;
    margin-top: var(--spacing-sm);
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
    font-weight: var(--fw-medium);
}

.about__extra-skills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.about__skill-group {
    padding: var(--spacing-lg);
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-base);
}

.about__skill-group:hover {
    border-color: var(--clr-border-hover);
}

.about__skill-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--clr-text-primary);
    margin-bottom: var(--spacing-xs);
}

.about__skill-group p {
    font-size: var(--fs-sm);
    color: var(--clr-text-secondary);
}

/* ═══════════════════════════════════════════════════════════
   TECHNOLOGIES SECTION
   ═══════════════════════════════════════════════════════════ */
.tech__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.tech__card {
    padding: var(--spacing-xl) var(--spacing-lg);
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.tech__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-gradient-start), var(--clr-gradient-end));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.tech__card:hover {
    border-color: var(--clr-border-hover);
    background: var(--clr-bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.tech__card:hover::before {
    opacity: 1;
}

.tech__card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--clr-accent-soft);
    color: var(--clr-accent);
    margin-bottom: var(--spacing-lg);
}

.tech__card-title {
    font-size: var(--fs-lg);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--spacing-md);
}

.tech__badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.tech__badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    color: var(--clr-accent);
    background: var(--clr-accent-soft);
    border: 1px solid hsla(199, 100%, 55%, 0.2);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    letter-spacing: 0.02em;
}

.tech__badge:hover {
    background: hsla(199, 100%, 55%, 0.25);
    border-color: var(--clr-accent);
    transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════
   EXPERIENCE TIMELINE
   ═══════════════════════════════════════════════════════════ */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--clr-accent), var(--clr-border), transparent);
}

.timeline__item {
    position: relative;
    margin-bottom: var(--spacing-2xl);
}

.timeline__item:last-child {
    margin-bottom: 0;
}

.timeline__dot {
    position: absolute;
    left: -2rem;
    top: 1.5rem;
    width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    background: var(--clr-bg-primary);
    border: 2.5px solid var(--clr-accent);
    z-index: 1;
    transition: all var(--transition-base);
}

.timeline__dot--active {
    background: var(--clr-accent);
    box-shadow: 0 0 0 4px var(--clr-accent-soft), var(--shadow-glow);
}

.timeline__item:hover .timeline__dot {
    background: var(--clr-accent);
    box-shadow: var(--shadow-glow);
}

.timeline__card {
    padding: var(--spacing-xl);
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.timeline__card:hover {
    border-color: var(--clr-border-hover);
    box-shadow: var(--shadow-card);
}

.timeline__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.timeline__company {
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    color: var(--clr-text-primary);
}

.timeline__company-desc {
    font-size: var(--fs-xs);
    color: var(--clr-text-muted);
    margin-top: 2px;
}

.timeline__period {
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    color: var(--clr-accent);
    background: var(--clr-accent-soft);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
    letter-spacing: 0.03em;
}

.timeline__role {
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--clr-text-secondary);
    margin-bottom: var(--spacing-md);
}

.timeline__tag {
    font-size: var(--fs-xs);
    color: var(--clr-text-muted);
    font-weight: var(--fw-regular);
    font-style: italic;
}

.timeline__bullets {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.timeline__bullets li {
    position: relative;
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    font-size: var(--fs-sm);
    color: var(--clr-text-secondary);
    line-height: 1.7;
}

.timeline__bullets li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--clr-accent);
    font-weight: var(--fw-bold);
}

.timeline__tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.timeline__tech-stack span {
    font-size: var(--fs-xs);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    background: var(--clr-bg-secondary);
    border: 1px solid var(--clr-border);
    color: var(--clr-text-muted);
    font-weight: var(--fw-medium);
}

/* ═══════════════════════════════════════════════════════════
   EDUCATION SECTION
   ═══════════════════════════════════════════════════════════ */
.education__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.education__card {
    padding: var(--spacing-xl);
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
}

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

.education__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--clr-accent-soft);
    color: var(--clr-accent);
    margin-bottom: var(--spacing-md);
}

.education__year {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    color: var(--clr-accent);
    background: var(--clr-accent-soft);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-sm);
}

.education__title {
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    margin-bottom: var(--spacing-xs);
}

.education__institution {
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
    margin-bottom: var(--spacing-md);
    font-weight: var(--fw-medium);
}

.education__details {
    font-size: var(--fs-sm);
    color: var(--clr-text-secondary);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════════════ */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.contact__info-title {
    font-size: var(--fs-2xl);
    font-weight: var(--fw-bold);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.contact__info-text {
    font-size: var(--fs-md);
    color: var(--clr-text-secondary);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.7;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact__detail-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.contact__detail-item:hover {
    border-color: var(--clr-border-hover);
    background: var(--clr-bg-card-hover);
    transform: translateX(4px);
}

.contact__detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--clr-accent-soft);
    color: var(--clr-accent);
    flex-shrink: 0;
}

.contact__detail-label {
    display: block;
    font-size: var(--fs-xs);
    color: var(--clr-text-muted);
    font-weight: var(--fw-medium);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact__detail-value {
    display: block;
    font-size: var(--fs-sm);
    color: var(--clr-text-primary);
    font-weight: var(--fw-medium);
}

/* ── Contact Form ── */
.contact__form {
    padding: var(--spacing-2xl);
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
}

.form__group {
    margin-bottom: var(--spacing-lg);
}

.form__label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--clr-text-secondary);
    margin-bottom: var(--spacing-sm);
}

.form__input {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--ff-body);
    font-size: var(--fs-sm);
    color: var(--clr-text-primary);
    background: var(--clr-bg-secondary);
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-md);
    outline: none;
    transition: all var(--transition-base);
}

.form__input::placeholder {
    color: var(--clr-text-muted);
}

.form__input:focus {
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px var(--clr-accent-soft);
}

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

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
    padding: var(--spacing-2xl) 0;
    border-top: 1px solid var(--clr-border);
}

.footer__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer__logo {
    font-size: var(--fs-lg);
    font-weight: var(--fw-extrabold);
    color: var(--clr-accent);
}

.footer__copy {
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
}

.footer__socials {
    display: flex;
    gap: var(--spacing-md);
}

.footer__socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    color: var(--clr-text-muted);
    transition: all var(--transition-fast);
}

.footer__socials a:hover {
    color: var(--clr-accent);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
.reveal--delay-5 { transition-delay: 0.5s; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 992px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
    .contact__grid {
        grid-template-columns: 1fr;
    }

    .about__extra-skills {
        grid-template-columns: 1fr 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    :root {
        --spacing-section: 5rem;
    }

    .section__title {
        font-size: var(--fs-xl);
    }

    /* ── Mobile Nav ── */
    .nav__toggle {
        display: block;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--clr-bg-secondary);
        border-left: 1px solid var(--clr-border);
        padding: var(--spacing-4xl) var(--spacing-xl) var(--spacing-xl);
        transition: right var(--transition-slow);
        z-index: 1001;
        box-shadow: -8px 0 40px hsla(222, 50%, 4%, 0.7);
    }

    .nav__menu.show {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: var(--spacing-lg);
    }

    .nav__link {
        font-size: var(--fs-lg);
    }

    .nav__close {
        display: block;
        position: absolute;
        top: var(--spacing-lg);
        right: var(--spacing-lg);
    }

    /* ── Mobile Overlay ── */
    .nav__menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: -100vw;
        width: 100vw;
        height: 100vh;
        background: hsla(222, 47%, 7%, 0.6);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition-base);
    }

    .nav__menu.show::before {
        opacity: 1;
        pointer-events: auto;
    }

    /* ── Hero Mobile ── */
    .hero__title {
        flex-direction: column;
        gap: var(--spacing-xs);
        font-size: var(--fs-lg);
    }

    .hero__title-separator {
        display: none;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* ── About Mobile ── */
    .about__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
    }

    .about__stat-card {
        padding: var(--spacing-md);
    }

    .about__stat-number {
        font-size: var(--fs-2xl);
    }

    .about__extra-skills {
        grid-template-columns: 1fr;
    }

    /* ── Timeline Mobile ── */
    .timeline {
        padding-left: 1.5rem;
    }

    .timeline__dot {
        left: -1.5rem;
        width: 12px;
        height: 12px;
    }

    .timeline__header {
        flex-direction: column;
    }

    .timeline__card {
        padding: var(--spacing-lg);
    }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .hero__name {
        font-size: clamp(2rem, 8vw, 3rem);
    }

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

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

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

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

/* ═══════════════════════════════════════════════════════════
   SCROLLBAR
   ═══════════════════════════════════════════════════════════ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--clr-bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--clr-border);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--clr-accent);
}
