/* ================================
   DESIGN SYSTEM — Light Theme
   ================================ */
:root {
    /* Palette */
    --bg-primary: #fafaf8;
    --bg-secondary: #f2f1ed;
    --bg-tertiary: #eae9e4;
    --bg-card: #ffffff;
    --bg-nav: rgba(255, 255, 255, 0.85);

    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --text-tertiary: #888888;
    --text-inverse: #ffffff;

    --accent: #e87830;
    --accent-hover: #d16820;
    --accent-light: rgba(232, 120, 48, 0.10);
    --accent-lighter: rgba(232, 120, 48, 0.05);
    --accent-gradient: linear-gradient(135deg, #e87830 0%, #f5a623 100%);

    --border-color: rgba(0, 0, 0, 0.08);
    --border-color-strong: rgba(0, 0, 0, 0.12);

    /* Typography */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: clamp(80px, 12vh, 140px);
    --container-width: 1180px;
    --gap: clamp(16px, 2vw, 24px);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.10);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    cursor: none;
    line-height: 1.7;
}

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

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

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

button {
    cursor: none;
    border: none;
    background: none;
    font: inherit;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

/* ================================
   CUSTOM CURSOR
   ================================ */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width var(--transition-fast), height var(--transition-fast), background var(--transition-fast);
}

.cursor-follower {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width var(--transition-smooth), height var(--transition-smooth), border-color var(--transition-smooth), opacity var(--transition-smooth);
    opacity: 0.5;
}

.cursor-follower.hover {
    width: 56px;
    height: 56px;
    border-color: var(--accent);
    opacity: 0.3;
}

/* ================================
   SCROLL PROGRESS
   ================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent-gradient);
    z-index: 10001;
    transition: width 0.1s linear;
}

/* ================================
   NAVIGATION
   ================================ */
.nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--bg-nav);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    z-index: 1000;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.nav.scrolled {
    top: 16px;
    box-shadow: var(--shadow-md);
    border-color: var(--border-color-strong);
}

.nav-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-right: 16px;
    letter-spacing: -0.02em;
}

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

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

.nav-link {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 50px;
    transition: all var(--transition-fast);
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--accent-light);
}

.nav-link.active {
    color: var(--text-primary);
    background: var(--bg-tertiary);
    font-weight: 600;
}

/* Language Toggle */
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 16px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: var(--font-heading);
    padding: 5px 12px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    transition: all var(--transition-fast);
    letter-spacing: 0.03em;
}

.lang-toggle:hover {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.lang-separator {
    color: var(--text-tertiary);
    font-weight: 300;
}

.lang-option {
    color: var(--text-tertiary);
    transition: color var(--transition-fast);
}

.lang-option.active {
    color: var(--accent);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 clamp(32px, 6vw, 80px);
    max-width: 620px;
}

.hero-avatar {
    position: absolute;
    right: clamp(60px, 10vw, 160px);
    top: 38%;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1s;
}

.hero-avatar::before {
    content: '';
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    border: 1.5px dashed rgba(232, 120, 48, 0.18);
    animation: slowSpin 30s linear infinite;
}

.hero-avatar-frame {
    position: relative;
    width: clamp(260px, 24vw, 360px);
    height: clamp(260px, 24vw, 360px);
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent);
    box-shadow:
        0 0 0 8px var(--accent-light),
        0 24px 64px rgba(232, 120, 48, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.06);
    animation: subtleFloat 6s ease-in-out infinite;
}

.hero-avatar-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

@keyframes subtleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes slowSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-greeting {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-greeting-line {
    width: 40px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: clamp(3.2rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.hero-name-line {
    display: block;
    overflow: hidden;
    opacity: 0;
    animation: nameReveal 0.9s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-name-line:nth-child(1) {
    animation-delay: 0.4s;
}

.hero-name-line:nth-child(2) {
    animation-delay: 0.6s;
}

.hero-dot {
    color: var(--accent);
}

.hero-title {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 24px;
    min-height: 2em;
    display: flex;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.9s;
}

.hero-title-text {
    border-right: none;
}

.hero-title-cursor {
    color: var(--accent);
    animation: blink 0.8s step-end infinite;
    font-weight: 300;
    margin-left: 2px;
}

.hero-description {
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 560px;
    margin-bottom: 36px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all var(--transition-smooth);
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--accent);
    color: var(--text-inverse);
    box-shadow: 0 4px 16px rgba(232, 120, 48, 0.25);
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 6px 24px rgba(232, 120, 48, 0.35);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-color-strong);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-lighter);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1rem;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-tertiary);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1.5s;
}

.hero-scroll-mouse {
    width: 22px;
    height: 34px;
    border: 2px solid var(--text-tertiary);
    border-radius: 12px;
    position: relative;
    opacity: 0.5;
}

.hero-scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: -100px;
    right: -100px;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    bottom: 15%;
    right: 20%;
    animation: floatShape 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 120px;
    height: 120px;
    border: 2px solid var(--accent);
    background: transparent;
    opacity: 0.08;
    top: 30%;
    right: 10%;
    border-radius: 24px;
    transform: rotate(45deg);
    animation: floatShapeRotate 25s ease-in-out infinite;
}

.shape-4 {
    width: 80px;
    height: 80px;
    background: var(--accent);
    top: 20%;
    left: 60%;
    animation: floatShape 18s ease-in-out infinite;
}

.shape-5 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    bottom: -80px;
    left: -80px;
    animation: floatShape 22s ease-in-out infinite reverse;
}

/* ================================
   SECTIONS BASE
   ================================ */
.section {
    padding: var(--section-padding) 0;
}

.section:nth-child(odd) {
    background: var(--bg-primary);
}

.section:nth-child(even) {
    background: var(--bg-secondary);
}

.section-header {
    margin-bottom: clamp(40px, 6vh, 72px);
}


.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.accent-text {
    color: var(--accent);
}

/* ================================
   ABOUT SECTION
   ================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.about-text p {
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text strong {
    color: var(--text-primary);
    font-weight: 600;
}


.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-tertiary);
    margin-top: 8px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ================================
   EXPERIENCE / TIMELINE
   ================================ */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color-strong);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    display: flex;
    justify-content: flex-end;
    padding: 0 0 56px 0;
    width: 50%;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    justify-content: flex-start;
}

.timeline-item:nth-child(odd) {
    padding-right: 48px;
}

.timeline-item:nth-child(even) {
    padding-left: 48px;
}

.timeline-marker {
    position: absolute;
    top: 24px;
    width: 16px;
    height: 16px;
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -8px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -8px;
}

.timeline-marker-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    background: var(--bg-primary);
    transition: all var(--transition-fast);
}

.timeline-item:hover .timeline-marker-dot {
    background: var(--accent);
    transform: scale(1.3);
}

.timeline-marker-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    transform: translate(-50%, -50%);
    animation: pulse 2s ease-in-out infinite;
    opacity: 0.3;
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    width: 100%;
}

.timeline-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(232, 120, 48, 0.2);
}

.timeline-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.timeline-date {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.04em;
}

.timeline-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.timeline-badge.active {
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid rgba(232, 120, 48, 0.2);
}

.timeline-role {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.timeline-company {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 12px;
}

.timeline-description {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

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

.tag {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 50px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: all var(--transition-fast);
}

.tag:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-lighter);
}

/* ================================
   EDUCATION
   ================================ */
.education-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.education-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.education-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(232, 120, 48, 0.2);
}

.education-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all var(--transition-smooth);
}

.education-card:hover .education-icon {
    background: var(--accent);
    color: var(--text-inverse);
    transform: scale(1.05);
}

.education-period {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.04em;
}

.education-degree {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 8px 0;
    letter-spacing: -0.01em;
}

.education-extra {
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 8px;
    min-height: 1.2em;
}

.education-institution {
    font-size: 0.88rem;
    color: var(--text-tertiary);
    font-weight: 400;
}

/* ================================
   SKILLS
   ================================ */

.skills-categories {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.skills-category-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.skills-category-title svg {
    color: var(--accent);
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    display: inline-block;
    padding: 10px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.skill-tag:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-lighter);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ================================
   PROJECTS
   ================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(232, 120, 48, 0.15);
}

.project-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card-gradient {
    position: absolute;
    inset: 0;
    transition: transform var(--transition-smooth);
}

.project-card:hover .project-card-gradient {
    transform: scale(1.05);
}

.project-gradient-1 {
    background: linear-gradient(135deg, #e87830 0%, #f5a623 50%, #f7c948 100%);
}

.project-gradient-2 {
    background: linear-gradient(135deg, #2d3436 0%, #636e72 50%, #b2bec3 100%);
}

.project-gradient-3 {
    background: linear-gradient(135deg, #e87830 0%, #d63031 50%, #e17055 100%);
}

.project-card-icon {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.9);
}

.project-card-content {
    padding: 24px;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.project-description {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* ================================
   CONTACT
   ================================ */
.contact {
    text-align: center;
    background: var(--bg-primary) !important;
}

.contact .section-header {
    margin-bottom: 32px;
}


.contact-content {
    max-width: 640px;
    margin: 0 auto;
}

.contact-text {
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.contact-link:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.contact-link svg {
    color: var(--accent);
    flex-shrink: 0;
}

.contact-link div {
    text-align: left;
}

.contact-link-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-tertiary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.contact-link-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* ================================
   FOOTER
   ================================ */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    background: var(--bg-primary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--text-primary);
}

.footer-text {
    font-size: 0.82rem;
    color: var(--text-tertiary);
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-link {
    color: var(--text-tertiary);
    transition: color var(--transition-fast);
}

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

/* ================================
   ANIMATIONS
   ================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

@keyframes nameReveal {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

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

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(20px, -20px);
    }

    50% {
        transform: translate(-10px, 15px);
    }

    75% {
        transform: translate(15px, 10px);
    }
}

@keyframes floatShapeRotate {

    0%,
    100% {
        transform: rotate(45deg) translate(0, 0);
    }

    33% {
        transform: rotate(55deg) translate(10px, -15px);
    }

    66% {
        transform: rotate(35deg) translate(-10px, 10px);
    }
}

@keyframes pulse {

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

    50% {
        transform: translate(-50%, -50%) scale(1.6);
        opacity: 0;
    }
}

/* Scroll Reveal */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .timeline-line {
        display: none;
    }

    .timeline-marker {
        display: none;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding: 0 0 24px 0;
        justify-content: stretch;
    }

    .timeline-item:nth-child(odd) {
        padding-right: 0;
    }

    .timeline-item:nth-child(even) {
        padding-left: 0;
    }

    .timeline-card {
        border-left: 3px solid var(--accent);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: 16px;
        padding: 16px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-link {
        padding: 12px 16px;
        text-align: center;
        border-radius: 12px;
    }

    .hero-content {
        padding: 0 clamp(20px, 4vw, 40px);
    }

    .hero-avatar {
        display: none;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-name {
        font-size: clamp(2.8rem, 12vw, 4rem);
    }

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

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

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cursor,
    .cursor-follower {
        display: none !important;
    }

    body {
        cursor: auto;
    }

    a,
    button {
        cursor: pointer;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: clamp(2.2rem, 14vw, 3rem);
    }

    .hero-cta {
        flex-direction: column;
    }

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

    .about-stats {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
    }
}

/* ================================
   REDUCED MOTION
   ================================ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }

    .hero-name-line {
        opacity: 1;
    }

    .hero-greeting {
        opacity: 1;
    }

    .hero-title {
        opacity: 1;
    }

    .hero-scroll-indicator {
        opacity: 1;
    }
}