/* ═══════════════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════════════ */
:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;

    --text-primary: #e8e8ed;
    --text-secondary: #8b8b9e;
    --text-muted: #5a5a6e;

    --accent-1: #6c5ce7;
    --accent-2: #a29bfe;
    --accent-3: #00cec9;
    --accent-gradient: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 50%, #00cec9 100%);
    --accent-gradient-hover: linear-gradient(135deg, #7c6cf7 0%, #b2abfe 50%, #10ded9 100%);

    --gold: #ffd700;
    --gold-bg: rgba(255, 215, 0, 0.08);
    --bronze: #cd7f32;
    --bronze-bg: rgba(205, 127, 50, 0.08);

    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: 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;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--accent-2);
    text-decoration: none;
    transition: color 0.3s var(--ease-out);
}

a:hover {
    color: var(--accent-3);
}

::selection {
    background: rgba(108, 92, 231, 0.3);
    color: #fff;
}

/* ═══════════════════════════════════════════════════
   PARTICLES CANVAS
   ═══════════════════════════════════════════════════ */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* ═══════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 72px;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.9);
    border-bottom-color: var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-brand {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.brand-bracket {
    color: var(--accent-1);
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.3s var(--ease-out);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(108, 92, 231, 0.1);
}

.nav-link.active {
    color: var(--accent-2);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(30px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}

.mobile-menu.active {
    display: flex;
    opacity: 1;
}

.mobile-link {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-out);
}

.mobile-link:hover {
    color: var(--accent-2);
    transform: translateX(8px);
}

/* ═══════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-header {
    margin-bottom: 64px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-3);
    background: rgba(0, 206, 201, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.section-line {
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 48px 80px;
    gap: 64px;
    position: relative;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 206, 201, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    flex: 1;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-2);
    margin-bottom: 32px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-3);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(0, 206, 201, 0.4);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 8px rgba(0, 206, 201, 0);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-line {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.4);
    color: #fff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-2px);
    color: var(--text-primary);
}

.btn-outline {
    background: transparent;
    color: var(--accent-2);
    border: 1px solid var(--accent-1);
    padding: 12px 24px;
}

.btn-outline:hover {
    background: rgba(108, 92, 231, 0.1);
    transform: translateY(-2px);
    color: var(--accent-2);
}

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Visual — Code Window */
.hero-visual {
    flex: 0 0 460px;
    z-index: 1;
}

.code-window {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.code-window:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
}

.code-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f57;
}

.dot.yellow {
    background: #febc2e;
}

.dot.green {
    background: #28c840;
}

.code-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.code-body {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.8;
    overflow-x: auto;
}

.code-body code {
    font-family: inherit;
}

.code-keyword {
    color: #c792ea;
}

.code-class {
    color: #ffcb6b;
}

.code-string {
    color: #c3e88d;
}

.code-number {
    color: #f78c6c;
}

.code-type {
    color: #82aaff;
}

.code-method {
    color: #82aaff;
}

/* ═══════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.about-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.detail-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.detail-value a {
    color: var(--accent-2);
}

/* Terminal */
.terminal-window {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
}

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 24px;
    min-height: 200px;
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.prompt {
    color: var(--accent-3);
    font-weight: 700;
}

.terminal-text {
    color: var(--text-primary);
}

.cursor {
    color: var(--accent-2);
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ═══════════════════════════════════════════════════
   SKILLS SECTION
   ═══════════════════════════════════════════════════ */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.4s var(--ease-out);
    cursor: default;
}

.skill-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.skill-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 12px;
    margin-bottom: 20px;
    color: var(--accent-2);
}

.skill-icon svg {
    width: 24px;
    height: 24px;
}

.skill-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.skill-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.skill-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 4px;
    width: 0;
    transition: width 1.2s var(--ease-out);
}

/* ═══════════════════════════════════════════════════
   PROJECTS SECTION
   ═══════════════════════════════════════════════════ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease-out);
    transform-origin: left;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}



.project-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.project-folder {
    color: var(--accent-2);
}

.project-folder svg {
    width: 36px;
    height: 36px;
}

.project-links {
    display: flex;
    gap: 12px;
}

.project-link-icon {
    color: var(--text-muted);
    transition: color 0.3s var(--ease-out);
}

.project-link-icon:hover {
    color: var(--accent-2);
}

.project-link-icon svg {
    width: 22px;
    height: 22px;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.project-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 24px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tech span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-3);
    background: rgba(0, 206, 201, 0.08);
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 500;
}

.projects-cta {
    text-align: center;
    margin-top: 48px;
}

/* ═══════════════════════════════════════════════════
   ACHIEVEMENTS SECTION
   ═══════════════════════════════════════════════════ */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.achievement-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.6s var(--ease-out);
    pointer-events: none;
}

.achievement-card.gold::before {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.06) 0%, transparent 50%);
}

.achievement-card.bronze::before {
    background: radial-gradient(circle, rgba(205, 127, 50, 0.06) 0%, transparent 50%);
}

.achievement-card:hover::before {
    opacity: 1;
}

.achievement-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.achievement-card.gold {
    border-color: rgba(255, 215, 0, 0.2);
}

.achievement-card.gold:hover {
    border-color: rgba(255, 215, 0, 0.4);
}

.achievement-card.bronze {
    border-color: rgba(205, 127, 50, 0.2);
}

.achievement-card.bronze:hover {
    border-color: rgba(205, 127, 50, 0.4);
}

.achievement-medal {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
}

.gold .achievement-medal {
    color: var(--gold);
    background: var(--gold-bg);
}

.bronze .achievement-medal {
    color: var(--bronze);
    background: var(--bronze-bg);
}

.achievement-medal svg {
    width: 32px;
    height: 32px;
}

.achievement-rank {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.gold .achievement-rank {
    color: var(--gold);
}

.bronze .achievement-rank {
    color: var(--bronze);
}

.achievement-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.achievement-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.achievement-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 100px;
}

.gold .achievement-badge {
    background: var(--gold-bg);
    color: var(--gold);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.bronze .achievement-badge {
    background: var(--bronze-bg);
    color: var(--bronze);
    border: 1px solid rgba(205, 127, 50, 0.2);
}

/* ═══════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════ */
.contact-content {
    text-align: center;
}

.contact-lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.8;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.4s var(--ease-out);
    text-decoration: none;
}

.contact-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 12px;
    color: var(--accent-2);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-value {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
    text-align: center;
    word-break: break-all;
}

/* ═══════════════════════════════════════════════════
   SUPPORT / BUY ME A COFFEE
   ═══════════════════════════════════════════════════ */
.support-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 0;
}

.support-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 195, 0, 0.1);
    border-radius: 50%;
    margin: 0 auto 28px;
    color: #ffc300;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.support-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.support-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
}

.btn-coffee {
    background: linear-gradient(135deg, #ff9100 0%, #ffc300 100%);
    color: #1a1a2e;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 36px;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(255, 195, 0, 0.3);
    transition: all 0.4s var(--ease-out);
}

.btn-coffee:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 36px rgba(255, 195, 0, 0.45);
    color: #1a1a2e;
}

.btn-coffee svg {
    stroke: #1a1a2e;
}

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.footer {
    padding: 48px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.footer-content {
    text-align: center;
}

.footer-brand {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════ */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-in:nth-child(2) {
    transition-delay: 0.1s;
}

.animate-in:nth-child(3) {
    transition-delay: 0.2s;
}

.animate-in:nth-child(4) {
    transition-delay: 0.3s;
}

.animate-in:nth-child(5) {
    transition-delay: 0.4s;
}

.animate-in:nth-child(6) {
    transition-delay: 0.5s;
}

/* Section scroll reveal */
.section .section-header,
.section .skill-card,
.section .project-card,
.section .achievement-card,
.section .contact-card,
.section .about-text,
.section .about-visual {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.section .section-header.revealed,
.section .skill-card.revealed,
.section .project-card.revealed,
.section .achievement-card.revealed,
.section .contact-card.revealed,
.section .about-text.revealed,
.section .about-visual.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        padding: 120px 24px 60px;
        gap: 48px;
    }

    .hero-visual {
        flex: none;
        width: 100%;
        max-width: 500px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle-line {
        font-size: 2rem;
    }

    .skills-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .navbar {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 100px 20px 40px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle-line {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

    .section-header {
        flex-wrap: wrap;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle-line {
        font-size: 1.2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}