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

:root {
  --bg: #080c14;
  --bg2: #0d1220;
  --surface: #111827;
  --border: #1e2d45;
  --accent: #6366f1;
  --accent2: #8b5cf6;
  --green: #10b981;
  --cyan: #06b6d4;
  --text: #e2e8f0;
  --muted: #64748b;
  --white: #ffffff;
  --grad: linear-gradient(135deg, var(--accent), var(--accent2));
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden
}

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

/* ── CURSOR ── */
#cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: background .3s;
  will-change: transform
}

#cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: opacity .3s;
  will-change: transform
}

a,
button {
  cursor: none
}

/* ── LOADER ── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  transition: opacity .6s, visibility .6s
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none
}

.loader-inner {
  text-align: center
}

.loader-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
  margin: 0 auto 1rem
}

.loader-fill {
  height: 100%;
  width: 0;
  background: var(--grad);
  border-radius: 99px;
  animation: loadFill 1.4s ease forwards
}

@keyframes loadFill {
  to {
    width: 100%
  }
}

.loader-text {
  font-family: 'JetBrains Mono', monospace;
  color: var(--muted);
  font-size: .8rem;
  letter-spacing: .15em
}

/* ── NAV ── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: .9rem 2rem;
  transition: all .4s;
  border-bottom: 1px solid transparent
}

#nav.scrolled {
  background: rgba(8, 12, 20, .92);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--border)
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -.02em
}

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

.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: auto
}

.nl {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: color .3s;
  position: relative
}

.nl::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad);
  border-radius: 99px;
  transition: width .3s
}

.nl:hover,
.nl.active {
  color: var(--white)
}

.nl:hover::after,
.nl.active::after {
  width: 100%
}

.nav-cv-btn {
  margin-left: auto;
  padding: .5rem 1.2rem;
  border-radius: 8px;
  background: var(--grad);
  color: #fff;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  transition: opacity .3s, transform .3s;
  white-space: nowrap
}

.nav-cv-btn:hover {
  opacity: .85;
  transform: translateY(-1px)
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: .4rem;
  margin-left: auto
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 99px;
  transition: .3s
}

/* ── MOBILE MENU ── */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 260px;
  height: 100vh;
  background: var(--surface);
  padding: 5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 999;
  transition: right .4s;
  border-left: 1px solid var(--border)
}

.mobile-menu.open {
  right: 0
}

.ml {
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color .3s
}

.ml:hover {
  color: var(--accent)
}

/* ── SECTIONS ── */
.section {
  min-height: 100vh;
  padding: 7rem 0
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: .8rem;
  color: var(--accent);
  letter-spacing: .2em;
  margin-bottom: 1rem;
  text-transform: uppercase
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3rem;
  line-height: 1.2
}

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

/* ── HERO ── */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(99, 102, 241, .13) 0%, transparent 60%), radial-gradient(ellipse 60% 50% at 20% 60%, rgba(16, 185, 129, .07) 0%, transparent 50%)
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(30, 45, 69, .3) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 45, 69, .3) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%)
}

#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(16, 185, 129, .1);
  border: 1px solid rgba(16, 185, 129, .25);
  border-radius: 99px;
  padding: .4rem 1rem;
  font-size: .8rem;
  color: var(--green);
  margin-bottom: 1.5rem
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, .4)
  }

  50% {
    box-shadow: 0 0 0 8px transparent
  }
}

.hero-title {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem
}

.title-line-1 {
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: .3rem
}

.title-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: .5rem
}

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

.title-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  color: var(--accent);
  min-height: 1.6em
}

.hero-desc {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 480px
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .75rem 1.8rem;
  background: var(--grad);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: .95rem;
  border: none;
  cursor: none;
  transition: transform .3s, box-shadow .3s
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, .4)
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .75rem 1.8rem;
  border: 1.5px solid var(--border);
  color: var(--text);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: .95rem;
  background: transparent;
  transition: border-color .3s, color .3s, transform .3s
}

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

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem
}

.stat-item {
  display: flex;
  flex-direction: column
}

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white)
}

.stat-label {
  font-size: .75rem;
  color: var(--muted)
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border)
}

.hero-right {
  display: flex;
  justify-content: center;
  position: relative;
  padding-bottom: 2rem
}

.hero-img-container {
  position: relative;
  width: 340px;
  height: 420px
}

.hero-img-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: spinRing linear infinite
}

.r1 {
  inset: -20px;
  border-color: rgba(99, 102, 241, .25);
  animation-duration: 18s
}

.r2 {
  inset: -45px;
  border-color: rgba(139, 92, 246, .15);
  animation-duration: 28s;
  animation-direction: reverse
}

.r3 {
  inset: -70px;
  border-color: rgba(6, 182, 212, .1);
  animation-duration: 40s
}

@keyframes spinRing {
  to {
    transform: rotate(360deg)
  }
}

.hero-img-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(99, 102, 241, .35) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(20px)
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 30px;
  border: 1.5px solid var(--border)
}

.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  background: rgba(13, 18, 32, .9);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: .8rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  animation: floatCard 3s ease-in-out infinite
}

.hero-float-card i {
  font-size: 1rem
}

.card-flutter {
  top: 15%;
  left: -80px;
  color: #54c5f8;
  animation-delay: 0s
}

.card-figma {
  bottom: 25%;
  left: -80px;
  color: #f24e1e;
  animation-delay: .7s
}

.card-fire {
  top: 10%;
  right: -70px;
  color: #f59e0b;
  animation-delay: 1.4s
}

@keyframes floatCard {

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

  50% {
    transform: translateY(-8px)
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  color: var(--muted);
  letter-spacing: .15em
}

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

/* ── ABOUT ── */
.about-section {
  background: var(--bg2)
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: center
}

.about-img-wrap {
  position: relative;
  width: 300px
}

.about-photo {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 20px;
  object-fit: cover;
  object-position: top center;
  border: 1.5px solid var(--border);
  display: block
}

.about-img-frame {
  position: absolute;
  inset: -12px;
  border: 1.5px solid var(--accent);
  border-radius: 24px;
  opacity: .3;
  pointer-events: none
}

.about-location-tag {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: .4rem 1rem;
  font-size: .8rem;
  white-space: nowrap;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .4rem
}

.about-location-tag i {
  color: var(--accent)
}

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

.about-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0
}

.about-info-item {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px
}

.about-info-item i {
  color: var(--accent);
  font-size: 1rem;
  margin-top: .15rem;
  flex-shrink: 0
}

.info-label {
  display: block;
  font-size: .7rem;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .2rem
}

.info-val {
  font-size: .85rem;
  color: var(--text);
  font-weight: 500
}

/* ── EXPERIENCE ── */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0
}

.tl-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1.5rem;
  position: relative;
  padding-bottom: 2.5rem
}

.hidden-exp,
.hidden-proj {
  display: none !important;
}

.tl-item:last-child {
  padding-bottom: 0
}

.tl-item.last-visible::before {
  display: none !important;
}

.tl-item:not(:last-child):not(.last-visible)::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 24px;
  bottom: 0;
  width: 1px;
  background: var(--border)
}

.tl-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg);
  flex-shrink: 0;
  margin-top: 2px
}

.active-dot {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, .2)
}

.tl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: border-color .3s, transform .3s
}

.tl-card:hover {
  border-color: rgba(99, 102, 241, .4);
  transform: translateX(4px)
}

.tl-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem
}

.tl-role {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .25rem
}

.tl-company {
  font-size: .85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .4rem
}

.tl-period {
  font-size: .8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-wrap: wrap
}

.tl-badge {
  padding: .2rem .7rem;
  border-radius: 99px;
  font-size: .7rem;
  font-weight: 600
}

.active-badge {
  background: rgba(99, 102, 241, .15);
  color: var(--accent)
}

.done-badge {
  background: rgba(16, 185, 129, .15);
  color: var(--green)
}

.tl-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1rem
}

.tl-points li {
  font-size: .9rem;
  color: var(--muted);
  padding-left: 1rem;
  position: relative
}

.tl-points li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--accent)
}

.tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .5rem
}

.tl-tags span {
  padding: .2rem .7rem;
  background: rgba(99, 102, 241, .08);
  border: 1px solid rgba(99, 102, 241, .2);
  border-radius: 6px;
  font-size: .75rem;
  color: var(--accent)
}

/* ── PROJECTS ── */
.proj-section {
  background: var(--bg2)
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem
}

.proj-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s
}

.proj-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, .4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3)
}

.proj-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden
}

.proj-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s
}

.proj-card:hover .proj-img {
  transform: scale(1.06)
}

.proj-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, .7);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: opacity .3s
}

.proj-card:hover .proj-overlay {
  opacity: 1
}

.proj-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
  transition: background .3s, color .3s
}

.proj-link:hover {
  background: var(--accent);
  color: #fff
}

.proj-num {
  position: absolute;
  top: .8rem;
  right: .8rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: .75rem;
  color: var(--accent);
  background: rgba(8, 12, 20, .8);
  border: 1px solid var(--border);
  padding: .2rem .6rem;
  border-radius: 6px
}

.proj-info {
  padding: 1.5rem
}

.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .8rem
}

.proj-tags span {
  padding: .15rem .6rem;
  background: rgba(99, 102, 241, .08);
  border: 1px solid rgba(99, 102, 241, .2);
  border-radius: 5px;
  font-size: .72rem;
  color: var(--accent)
}

.proj-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .6rem
}

.proj-desc {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1rem
}

.proj-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--accent);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap .3s
}

.proj-cta:hover {
  gap: .8rem
}

.proj-card-sm {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem
}

.proj-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(99, 102, 241, .1);
  border: 1px solid rgba(99, 102, 241, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
  flex-shrink: 0
}

.proj-icon-wrap.green {
  background: rgba(16, 185, 129, .1);
  border-color: rgba(16, 185, 129, .2);
  color: var(--green)
}

.proj-card-sm .proj-info {
  padding: 0
}

.proj-card-sm .proj-name {
  font-size: 1rem;
  margin-bottom: .4rem
}

/* ── SKILLS ── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem
}

.skill-category {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: border-color .3s
}

.skill-category:hover {
  border-color: rgba(99, 102, 241, .35)
}

.skill-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(99, 102, 241, .1);
  border: 1px solid rgba(99, 102, 241, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 1rem
}

.skill-category h3 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.2rem
}

.skill-items {
  display: flex;
  flex-direction: column;
  gap: .8rem
}

.skill-item {
  display: flex;
  align-items: center;
  gap: .6rem
}

.sk-name {
  width: 130px;
  font-size: .85rem;
  color: var(--muted);
  flex-shrink: 0
}

.sk-bar {
  flex: 1;
  height: 5px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden
}

.sk-fill {
  height: 100%;
  width: 0;
  background: var(--grad);
  border-radius: 99px;
  transition: width 1.2s ease
}

.sk-fill.animated {
  width: var(--w)
}

.sk-pct {
  width: 36px;
  font-size: .75rem;
  color: var(--muted);
  text-align: right;
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace
}

.tech-logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px
}

.tech-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-size: 2rem;
  color: var(--muted);
  transition: color .3s, transform .3s
}

.tech-logo:hover {
  color: var(--accent);
  transform: translateY(-4px)
}

.tech-logo span {
  font-size: .7rem;
  color: var(--muted);
  letter-spacing: .05em
}

/* ── CONTACT ── */
.contact-intro {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 3rem
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .3s
}

.contact-card:hover {
  border-color: rgba(99, 102, 241, .35)
}

.cc-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(99, 102, 241, .1);
  border: 1px solid rgba(99, 102, 241, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0
}

.cc-label {
  display: block;
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .2rem
}

.cc-val {
  font-size: .9rem;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  transition: color .3s
}

.cc-val:hover {
  color: var(--accent)
}

.social-row {
  display: flex;
  gap: .8rem
}

.social-btn {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: all .3s
}

.social-btn.linkedin {
  color: #0077b5
}

.social-btn.linkedin:hover {
  background: #0077b5;
  color: #fff;
  border-color: #0077b5
}

.social-btn.github {
  color: #e6edf3
}

.social-btn.github:hover {
  background: #24292e;
  color: #fff;
  border-color: #24292e
}

.social-btn.email {
  color: var(--accent)
}

.social-btn.email:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent)
}

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.2rem
}

.form-field label {
  font-size: .8rem;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase
}

.form-field input,
.form-field textarea {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .8rem 1rem;
  color: var(--text);
  font-size: .9rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .3s
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent)
}

.form-field textarea {
  resize: vertical
}

#formMsg {
  margin-top: .8rem;
  font-size: .85rem;
  color: var(--green)
}

/* ── FOOTER ── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 2rem
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem
}

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white)
}

.footer p {
  color: var(--muted);
  font-size: .85rem
}

.footer-socials {
  display: flex;
  gap: 1rem
}

.footer-socials a {
  color: var(--muted);
  text-decoration: none;
  font-size: 1rem;
  transition: color .3s
}

.footer-socials a:hover {
  color: var(--accent)
}

/* ── AOS ── */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-aos="fade-up"] { transform: translateY(40px); }
[data-aos="fade-down"] { transform: translateY(-40px); }
[data-aos="fade-right"] { transform: translateX(-40px); }
[data-aos="fade-left"] { transform: translateX(40px); }
[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos="zoom-out"] { transform: scale(1.1); }
[data-aos="flip-up"] { transform: perspective(2500px) rotateX(-100deg); }

[data-aos].visible {
  opacity: 1;
  transform: none !important;
}

/* ── RESPONSIVE ── */
@media(max-width:900px) {
  #cursor, #cursor-trail {
    display: none !important;
  }
  body, a, button, .btn-primary, .btn-outline {
    cursor: auto !important;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 6rem
  }

  .hero-right {
    display: none
  }

  .hero-actions,
  .hero-stats {
    justify-content: center
  }

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

  .about-left {
    display: flex;
    justify-content: center
  }

  .contact-grid,
  .projects-grid,
  .skills-grid {
    grid-template-columns: 1fr
  }

  .form-row {
    grid-template-columns: 1fr
  }

  .nav-links,
  .nav-cv-btn {
    display: none
  }

  .hamburger {
    display: flex
  }

  .about-info-grid {
    grid-template-columns: 1fr
  }

  .section {
    padding: 5rem 0;
  }
}

@media(max-width: 600px) {
  .hero-title .title-name {
    font-size: 2.2rem;
  }
  .title-role {
    font-size: 0.95rem;
    min-height: 1.4em;
  }
  .about-img-wrap {
    width: 250px;
  }
  .tl-item {
    gap: 0 0.8rem;
  }
  .tl-card {
    padding: 1rem;
  }
  .tl-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .nav-container {
    padding: 0.5rem 1rem;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .hero-desc {
    font-size: 0.95rem;
  }
  .hero-stats {
    flex-wrap: wrap;
  }
  .tl-points {
    padding-left: 0.5rem;
    font-size: 0.8rem;
  }
  .proj-links {
    flex-direction: column;
  }
  .proj-links a {
    width: 100%;
    justify-content: center;
  }
  .tl-role {
    font-size: 1rem;
  }
  .tl-period {
    font-size: 0.75rem;
    gap: 0.5rem;
  }
  .tl-tags {
    gap: 0.4rem;
  }
  .tl-tags span {
    padding: 0.15rem 0.5rem;
    font-size: 0.7rem;
  }
}