/* ============================================
   BORYS KUSMIREK — PORTFOLIO
   Dark, 3D, Experimental UI
   ============================================ */

:root {
    --bg: #050508;
    --bg-card: rgba(255,255,255,0.025);
    --bg-card-hover: rgba(255,255,255,0.05);
    --text: #e8e8e8;
    --text-dim: #666;
    --text-muted: #444;
    --accent: #00f0ff;
    --accent-glow: rgba(0,240,255,0.3);
    --accent2: #a855f7;
    --accent2-glow: rgba(168,85,247,0.3);
    --accent-gradient: linear-gradient(135deg, #00f0ff, #a855f7);
    --border: rgba(255,255,255,0.06);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

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

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

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

a { color: inherit; text-decoration: none; cursor: none; }
button { cursor: none; }
::selection { background: var(--accent); color: var(--bg); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.text-accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   NOISE OVERLAY
   ============================================ */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
#cursor {
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s;
    mix-blend-mode: difference;
}

#cursor-follower {
    position: fixed;
    top: 0; left: 0;
    width: 40px; height: 40px;
    border: 1px solid rgba(0, 240, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.4s var(--ease), height 0.4s var(--ease), border-color 0.3s, opacity 0.3s;
}

body.cursor-hover #cursor {
    width: 60px; height: 60px;
    background: rgba(0,240,255,0.1);
    mix-blend-mode: normal;
}
body.cursor-hover #cursor-follower {
    width: 80px; height: 80px;
    border-color: var(--accent);
    opacity: 0.5;
}

/* ============================================
   PRELOADER / BOOT SEQUENCE
   ============================================ */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.8s var(--ease), opacity 0.6s;
}
#preloader.done {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.boot-terminal {
    font-family: var(--font-mono);
    font-size: clamp(0.75rem, 1.5vw, 0.95rem);
    padding: 2rem;
    max-width: 600px;
}

.boot-line {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s, transform 0.4s var(--ease);
    margin-bottom: 0.6rem;
}
.boot-line.visible {
    opacity: 1;
    transform: translateY(0);
}

.boot-prompt { color: var(--accent); font-weight: 500; }
.boot-text { color: var(--text-dim); }
.boot-text--accent { color: var(--accent); font-weight: 500; }
.boot-progress { color: var(--accent2); }
.boot-ok { color: #22c55e; font-weight: 500; margin-left: auto; }

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem clamp(1.5rem, 4vw, 3rem);
    transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s;
}
#navbar.scrolled {
    background: rgba(5,5,8,0.8);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.nav-logo-dot { color: var(--accent); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dim);
    transition: color 0.3s;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.3s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }

.nav-link--cta {
    color: var(--bg);
    background: var(--accent);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-weight: 600;
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.nav-link--cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--accent-glow);
}
.nav-link--cta::after { display: none; }

/* Burger */
.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
}
.nav-burger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--text);
    transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(5,5,8,0.95);
    backdrop-filter: blur(40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}
.mobile-menu.active { opacity: 1; pointer-events: auto; }
.mobile-menu-link {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dim);
    transition: color 0.3s;
}
.mobile-menu-link:hover { color: var(--accent); }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-burger { display: flex; }
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0;
}
.hero-label-line {
    width: 40px; height: 1px;
    background: var(--accent);
}
.hero-label-text {
    font-family: var(--font-mono);
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}
.hero-name-line {
    display: block;
    overflow: hidden;
}
.hero-name-word {
    display: inline-block;
    transform: translateY(110%);
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0;
}
.hero-tagline-accent {
    color: var(--text);
    font-weight: 500;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
}
.hero-stat { text-align: center; }
.hero-stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text);
}
.hero-stat-plus {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--accent);
    font-weight: 600;
}
.hero-stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}
.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

@media (max-width: 600px) {
    .hero-stats { gap: 1rem; flex-wrap: wrap; }
    .hero-stat-divider { display: none; }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    z-index: 2;
}
.scroll-indicator-text {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}
.scroll-indicator-line {
    width: 1px;
    height: 50px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}
.scroll-indicator-dot {
    width: 1px;
    height: 15px;
    background: var(--accent);
    position: absolute;
    top: -15px;
    animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
    0% { top: -15px; opacity: 0; }
    30% { opacity: 1; }
    100% { top: 50px; opacity: 0; }
}

/* ============================================
   SECTIONS — SHARED
   ============================================ */
.section {
    padding: clamp(5rem, 12vh, 10rem) 0;
    position: relative;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
}
.section-number {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
}
.section-label-line {
    width: 40px;
    height: 1px;
    background: var(--border);
}
.section-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-top: -2.5rem;
    margin-bottom: 3rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-headline {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.about-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

/* About Cards */
.about-card-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
    backdrop-filter: blur(10px);
}
.about-card:hover {
    border-color: rgba(0,240,255,0.15);
    background: var(--bg-card-hover);
    transform: translateX(8px);
}
.about-card-icon {
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
}
.about-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
}
.about-card-desc {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-left: auto;
}

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}

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

.timeline-track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 7px;
    width: 2px;
    background: var(--border);
}
.timeline-progress {
    width: 100%;
    height: 0%;
    background: var(--accent-gradient);
    transition: height 0.1s linear;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: -3rem;
    top: 1.5rem;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.timeline-dot-core {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: relative;
    z-index: 2;
}
.timeline-dot-ping {
    position: absolute;
    inset: -4px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    animation: ping 2s ease-out infinite;
}
@keyframes ping {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s, transform 0.4s var(--ease);
}
.timeline-card:hover {
    border-color: rgba(0,240,255,0.15);
}

.timeline-card-glow {
    position: absolute;
    top: -50%; right: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 30%, var(--accent-glow) 0%, transparent 50%);
    opacity: 0.06;
    pointer-events: none;
}

.timeline-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    background: rgba(0,240,255,0.08);
    color: var(--accent);
    border: 1px solid rgba(0,240,255,0.2);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.timeline-role {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.timeline-company {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 0.25rem;
}
.timeline-period {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-bottom: 1rem;
}
.timeline-desc {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.timeline-tag {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    background: rgba(255,255,255,0.04);
    color: var(--text-dim);
    border: 1px solid var(--border);
}

/* ============================================
   SKILLS SECTION
   ============================================ */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s;
    transform-style: preserve-3d;
    perspective: 1000px;
}
.skill-card:hover {
    border-color: rgba(255,255,255,0.1);
}

/* Hero Mendix Card */
.skill-card--hero {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 0 2rem;
    padding: 2.5rem;
    border-color: rgba(0,240,255,0.15);
    background: linear-gradient(135deg, rgba(0,240,255,0.03), rgba(168,85,247,0.03));
}
.skill-card--hero:hover {
    border-color: rgba(0,240,255,0.3);
    box-shadow: 0 0 60px rgba(0,240,255,0.08), 0 0 120px rgba(168,85,247,0.05);
}

.skill-card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 20%, var(--accent-glow) 0%, transparent 60%);
    opacity: 0.06;
    pointer-events: none;
}

.skill-card-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 0.3rem 0.8rem;
    background: var(--accent);
    color: var(--bg);
    border-radius: 100px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.skill-card-icon-wrap {
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    color: var(--accent);
}
.skill-hex { filter: drop-shadow(0 0 8px var(--accent-glow)); }

.skill-card--hero .skill-card-name {
    font-size: 2rem;
    align-self: end;
}
.skill-card--hero .skill-card-desc {
    grid-column: 2;
}
.skill-card--hero .skill-bar {
    grid-column: 1 / -1;
}

.skill-card-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.skill-card-desc {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.skill-bar {
    width: 100%;
    height: 3px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}
.skill-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--accent-gradient);
    border-radius: 3px;
    transition: width 1.2s var(--ease);
}

@media (max-width: 600px) {
    .skill-card--hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .skill-card-icon-wrap { grid-row: auto; justify-content: center; margin-bottom: 1rem; }
    .skill-card--hero .skill-card-desc { grid-column: 1; }
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects-bento {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s;
    transform-style: preserve-3d;
}
.project-card--wide {
    grid-column: span 2;
}
.project-card:hover {
    border-color: rgba(0,240,255,0.15);
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.project-card--clickable { cursor: pointer; }

.project-card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, var(--accent2-glow) 0%, transparent 60%);
    opacity: 0.06;
    pointer-events: none;
}

.project-card-content { position: relative; z-index: 1; }

.project-card-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    padding: 0.2rem 0.6rem;
    border: 1px solid rgba(0,240,255,0.2);
    border-radius: 4px;
}
.project-card-tag--acquired {
    color: #22c55e;
    border-color: rgba(34,197,94,0.3);
}

.project-card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.project-card-desc {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.project-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    transition: gap 0.3s var(--ease);
}
.project-card-link:hover { gap: 0.8rem; }
.project-card-link .arrow {
    transition: transform 0.3s var(--ease);
}
.project-card-link:hover .arrow {
    transform: translate(2px, -2px);
}

@media (max-width: 600px) {
    .project-card--wide { grid-column: span 1; }
}

/* ============================================
   CERTIFICATIONS
   ============================================ */
.certs-marquee {
    overflow: hidden;
}
.certs-track {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color 0.3s, transform 0.3s var(--ease);
}
.cert-item:hover {
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}
.cert-item--mendix {
    border-color: rgba(0,240,255,0.12);
    background: linear-gradient(135deg, rgba(0,240,255,0.03), transparent);
}
.cert-item--mendix:hover {
    border-color: rgba(0,240,255,0.3);
}

.cert-icon {
    color: var(--accent);
    font-size: 0.9rem;
}
.cert-name {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ============================================
   EDUCATION
   ============================================ */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.25rem;
}
.edu-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: border-color 0.3s, transform 0.3s var(--ease);
}
.edu-card:hover {
    border-color: rgba(255,255,255,0.1);
}

.edu-degree {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}
.edu-field {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.edu-school {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
}
.edu-year {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .edu-grid { grid-template-columns: 1fr; }
}

/* ============================================
   CONTACT
   ============================================ */
.section--contact {
    border-top: 1px solid var(--border);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-headline {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}
.contact-sub {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.7;
}

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-link {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
    position: relative;
    z-index: 1;
}
.contact-link:hover {
    border-color: rgba(0,240,255,0.2);
    background: var(--bg-card-hover);
}

.contact-link-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    min-width: 90px;
}
.contact-link-value {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    flex: 1;
}
.contact-link-arrow {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: color 0.3s, transform 0.3s var(--ease);
}
.contact-link:hover .contact-link-arrow {
    color: var(--accent);
    transform: translate(3px, -3px);
}

.contact-link--email {
    cursor: pointer;
}
.contact-link--email.revealed {
    cursor: pointer;
}

/* Email Captcha Modal */
.captcha-overlay {
    position: fixed;
    inset: 0;
    z-index: 100001;
    background: rgba(5,5,8,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.captcha-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.captcha-box {
    background: #0c0c10;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 380px;
    width: 90%;
    text-align: center;
}
.captcha-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.captcha-desc {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}
.captcha-question {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}
.captcha-input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 1.1rem;
    text-align: center;
    outline: none;
    transition: border-color 0.3s;
    margin-bottom: 1rem;
}
.captcha-input:focus {
    border-color: var(--accent);
}
.captcha-input.error {
    border-color: #ef4444;
    animation: shake 0.4s;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}
.captcha-submit {
    width: 100%;
    padding: 0.8rem;
    background: var(--accent);
    color: var(--bg);
    border: none;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: box-shadow 0.3s, transform 0.3s var(--ease);
}
.captcha-submit:hover {
    box-shadow: 0 0 25px var(--accent-glow);
    transform: scale(1.02);
}
.captcha-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.footer-built {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* ============================================
   REVEAL ANIMATIONS (controlled by GSAP)
   ============================================ */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
}
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
}

/* ============================================
   3D TILT CARD STYLE
   ============================================ */
.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
    transition: transform 0.5s var(--ease-out);
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.2);
}
