*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #060608;
  --bg2: #0c0c10;
  --bg3: #141418;
  --tx: #f0f0f5;
  --tx2: #9494a8;
  --tx3: #55556a;
  --tx4: #28283a;
  --g1: #6366f1;
  --g2: #a855f7;
  --g3: #ec4899;
  --g4: #06b6d4;
  --glass: rgba(255, 255, 255, 0.03);
  --gb: rgba(255, 255, 255, 0.06);
  --fd: "Syne", sans-serif;
  --fb: "Inter", sans-serif;
  --fm: "JetBrains Mono", monospace;
  --e: cubic-bezier(0.16, 1, 0.3, 1);
  --e2: cubic-bezier(0.77, 0, 0.175, 1);
}

html {
  font-size: 16px;
  scroll-behavior: auto;
}

body {
  font-family: var(--fb);
  background: var(--bg);
  color: var(--tx);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

body.ready {
  overflow: auto;
}

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

ul {
  list-style: none;
}

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

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

::selection {
  background: var(--g1);
  color: #fff;
}

::-webkit-scrollbar {
  width: 0;
}

/* SVG ICONS BASE */
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.icon-lg {
  width: 24px;
  height: 24px;
}

.icon-fill {
  fill: currentColor;
  stroke: none;
}

/* ═══ LOADER ═══ */
.ld {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ld-inner {
  text-align: center;
}

.ld-t {
  font-family: var(--fd);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 5rem);
  letter-spacing: -0.04em;
  overflow: hidden;
  line-height: 1.1;
}

.ld-t span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}

.ld-sub {
  font-family: var(--fm);
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  color: var(--tx3);
  margin-top: 1.5rem;
  opacity: 0;
  text-transform: uppercase;
}

.ld-bar {
  width: 100px;
  height: 2px;
  margin: 2rem auto 0;
  background: var(--tx4);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
}

.ld-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--g1), var(--g2), var(--g3));
  border-radius: 2px;
}

.ld-cover {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  transform: scaleY(0);
  transform-origin: bottom;
  z-index: 10000;
}

/* ═══ ORBS ═══ */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.o1 {
  width: clamp(300px, 50vw, 700px);
  aspect-ratio: 1;
  background: rgba(99, 102, 241, 0.1);
  top: -15%;
  left: -10%;
  animation: o1 30s ease-in-out infinite;
}

.o2 {
  width: clamp(250px, 40vw, 550px);
  aspect-ratio: 1;
  background: rgba(168, 85, 247, 0.08);
  bottom: -15%;
  right: -10%;
  animation: o2 35s ease-in-out infinite;
}

.o3 {
  width: clamp(200px, 35vw, 450px);
  aspect-ratio: 1;
  background: rgba(236, 72, 153, 0.06);
  top: 40%;
  left: 40%;
  animation: o3 25s ease-in-out infinite;
}

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

  33% {
    transform: translate(12vw, 20vh);
  }

  66% {
    transform: translate(-5vw, 35vh);
  }
}

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

  50% {
    transform: translate(-20vw, -15vh);
  }
}

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

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

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

/* ═══ GRAIN ═══ */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
  opacity: 0;
}

.grain::after {
  content: "";
  position: absolute;
  inset: -200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px;
  opacity: 0.025;
  animation: gr 6s steps(8) infinite;
}

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

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

  50% {
    transform: translate(5%, -3%);
  }

  75% {
    transform: translate(-3%, -5%);
  }
}

/* ═══ CURSOR ═══ */
.cur {
  position: fixed;
  z-index: 9991;
  pointer-events: none;
  mix-blend-mode: difference;
}

.cur-dot {
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
}

.cur-ring {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: all 0.45s var(--e);
}

.cur-ring.h {
  width: 90px;
  height: 90px;
  border-color: var(--g2);
}

.cur-ring.v {
  width: 130px;
  height: 130px;
  border-color: var(--g2);
  background: rgba(168, 85, 247, 0.06);
}

.cur-label {
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: var(--fd);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
  text-transform: uppercase;
}

.cur-ring.v ~ .cur-label {
  opacity: 1;
}

@media (pointer: coarse) {
  .cur {
    display: none !important;
  }
}

@media (hover: hover) and (pointer: fine) {
  body.ready,
  body.ready a,
  body.ready button {
    cursor: none;
  }
}

/* ═══ PROGRESS ═══ */
.prog {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  z-index: 9992;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(
    90deg,
    var(--g1),
    var(--g2),
    var(--g3),
    var(--g4)
  );
}

/* ═══ NAV ═══ */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1.8rem 0;
  transition: all 0.6s var(--e);
}

nav.s {
  background: rgba(6, 6, 8, 0.75);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--gb);
}

nav.u {
  transform: translateY(-100%);
}

.nw {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(2rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--fd);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.nav-logo em {
  font-style: normal;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-r {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
}

.nav-links a {
  font-size: 0.72rem;
  color: var(--tx2);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--tx);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--g1), var(--g2));
  border-radius: 1px;
  transition: width 0.5s var(--e);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.5rem 1.3rem;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  color: #fff;
  font-family: var(--fd);
  transition: all 0.4s var(--e);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
}

.nav-cta:hover {
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.35);
  transform: translateY(-1px);
}

.ham {
  display: none;
  width: 28px;
  height: 16px;
  position: relative;
  z-index: 102;
}

.ham span {
  position: absolute;
  width: 100%;
  height: 1.5px;
  background: #fff;
  left: 0;
  border-radius: 1px;
  transition: all 0.4s var(--e);
}

.ham span:nth-child(1) {
  top: 0;
}

.ham span:nth-child(2) {
  top: 50%;
}

.ham span:nth-child(3) {
  top: 100%;
}

.ham.on span:nth-child(1) {
  top: 50%;
  transform: rotate(45deg);
}

.ham.on span:nth-child(2) {
  opacity: 0;
}

.ham.on span:nth-child(3) {
  top: 50%;
  transform: rotate(-45deg);
}

.mob {
  position: fixed;
  inset: 0;
  z-index: 101;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  clip-path: circle(0% at 95% 5%);
  transition: clip-path 0.7s var(--e2);
  pointer-events: none;
}

.mob.on {
  clip-path: circle(150% at 95% 5%);
  pointer-events: all;
}

.mob a {
  font-family: var(--fd);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  transition: color 0.3s;
}

.mob a:hover {
  color: var(--g2);
}

/* ═══ CONTAINERS ═══ */
.page {
  position: relative;
  z-index: 1;
}

.con {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(2rem, 5vw, 4rem);
}

.pad {
  padding: clamp(6rem, 14vw, 10rem) 0;
}

.lbl {
  font-family: var(--fm);
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--tx3);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lbl::before {
  content: "";
  width: 20px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--g1), var(--g2));
  border-radius: 1px;
}

.sec-title {
  font-family: var(--fd);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.2rem;
}

.sec-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rv {
  opacity: 0;
  transform: translateY(50px);
}

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 10rem 0 6rem;
}

.hero-tag {
  font-family: var(--fm);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--tx3);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  opacity: 0;
  transform: translateY(20px);
}

.hero-tag .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px #22c55e;
  animation: pls 2s ease infinite;
}

@keyframes pls {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(0.7);
    opacity: 0.4;
  }
}

.hero-t {
  font-family: var(--fd);
  font-weight: 800;
  font-size: clamp(3rem, 11vw, 12rem);
  line-height: 0.86;
  letter-spacing: -0.06em;
  margin-bottom: 2.5rem;
}

.hero-t .ln {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero-t .wd {
  display: inline-block;
  transform: translateY(120%);
}

.hero-t .ol {
  -webkit-text-stroke: 1.5px var(--tx);
  color: transparent;
  transition: all 0.6s var(--e);
}

.hero-t .ol:hover {
  color: var(--tx);
  -webkit-text-stroke: 0;
}

.hero-t .gd {
  background: linear-gradient(135deg, var(--g1), var(--g2), var(--g3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200%;
  animation: grd 5s ease infinite;
}

@keyframes grd {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.hero-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 3rem;
}

.hero-desc {
  max-width: 440px;
  opacity: 0;
  transform: translateY(30px);
}

.hero-desc p {
  font-size: 0.95rem;
  color: var(--tx2);
  line-height: 1.8;
  font-weight: 300;
}

.hero-desc p strong {
  color: var(--tx);
  font-weight: 500;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  opacity: 0;
  transform: translateY(30px);
}

.hero-social {
  display: flex;
  gap: 0.8rem;
}

.hero-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--tx4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--e);
  color: var(--tx3);
}

.hero-social a:hover {
  border-color: var(--g2);
  background: rgba(168, 85, 247, 0.08);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.12);
  color: var(--g2);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 2.2rem;
  border-radius: 60px;
  font-family: var(--fd);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  transition: all 0.5s var(--e);
}

.btn-primary {
  background: linear-gradient(135deg, var(--g1), var(--g2));
  color: #fff;
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--tx4);
  color: var(--tx2);
}

.btn-outline:hover {
  border-color: var(--g2);
  color: var(--g2);
}

.btn .arrow-icon {
  transition: transform 0.4s var(--e);
}

.btn:hover .arrow-icon {
  transform: translateX(5px);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
}

.hero-scroll span {
  font-family: var(--fm);
  font-size: 0.45rem;
  letter-spacing: 0.3em;
  color: var(--tx3);
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: var(--tx4);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(var(--g1), var(--g2));
  animation: scDown 2.5s ease infinite;
}

@keyframes scDown {
  to {
    top: 100%;
  }
}

/* ═══ SHOWCASE — ZOOM OUT ═══ */
.showcase {
  height: 250vh;
  position: relative;
  z-index: 2;
}

.showcase-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.showcase-frame {
  width: 100vw;
  height: 100vh;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  will-change: transform;
}

.showcase-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
}

.showcase-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  padding: 2rem;
}

.showcase-content h2 {
  font-family: var(--fd);
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.showcase-content p {
  font-size: 0.85rem;
  color: var(--tx2);
  max-width: 400px;
}

.showcase-content em {
  background: linear-gradient(135deg, var(--g1), var(--g2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}

/* ═══ STATS ═══ */
.stats-bar {
  border-top: 1px solid var(--gb);
  border-bottom: 1px solid var(--gb);
  background: var(--glass);
  backdrop-filter: blur(20px);
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: clamp(1.8rem, 3.5vw, 3rem) 1rem;
  text-align: center;
  position: relative;
  transition: background 0.4s;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--gb);
}

.stat-item:hover {
  background: rgba(99, 102, 241, 0.03);
}

.stat-val {
  font-family: var(--fd);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-family: var(--fm);
  font-size: 0.55rem;
  color: var(--tx3);
  letter-spacing: 0.08em;
}

/* ═══ MARQUEE ═══ */
.marquee-sec {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gb);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee-item {
  font-family: var(--fd);
  font-size: clamp(0.7rem, 1.2vw, 0.95rem);
  font-weight: 500;
  white-space: nowrap;
  padding: 0 1.2rem;
  color: var(--tx3);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  transition: color 0.3s;
}

.marquee-item:hover {
  color: var(--tx);
}

.marquee-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--g2);
  flex-shrink: 0;
  opacity: 0.5;
}

/* ═══ PROJECTS — HORIZONTAL SCROLL ═══ */
.projects-sec {
  position: relative;
  z-index: 2;
  background: var(--bg);
}

.projects-header {
  padding: clamp(6rem, 14vw, 10rem) 0 3rem;
}

.projects-wrapper {
  position: relative;
  overflow: hidden;
}

.projects-track {
  display: flex;
  gap: 1.5rem;
  padding: 0 clamp(2rem, 5vw, 4rem) 6rem;
  width: max-content;
}

.project-card {
  width: clamp(340px, 42vw, 560px);
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg2);
  border: 1px solid var(--gb);
  transition: all 0.6s var(--e);
  position: relative;
}

.project-card:hover {
  border-color: rgba(168, 85, 247, 0.2);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(168, 85, 247, 0.1);
  transform: translateY(-6px);
}

.project-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--e);
  filter: brightness(0.7) saturate(0.85);
}

.project-card:hover .project-card-img img {
  transform: scale(1.08);
  filter: brightness(0.6) saturate(0.95);
}

.project-card-img .project-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.8rem;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  color: #fff;
  font-family: var(--fm);
  font-size: 0.5rem;
  border-radius: 50px;
  letter-spacing: 0.06em;
  z-index: 2;
}

.project-card-img .project-arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  z-index: 2;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(6px);
  transition: all 0.4s var(--e);
}

.project-card:hover .project-arrow {
  border-color: var(--g2);
  color: var(--g2);
  transform: rotate(-45deg);
  background: rgba(168, 85, 247, 0.1);
}

.project-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg2) 0%, transparent 50%);
  pointer-events: none;
}

.project-info {
  padding: 1.5rem 1.8rem 2rem;
}

.project-cat {
  font-family: var(--fm);
  font-size: 0.5rem;
  color: var(--g2);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.project-title {
  font-family: var(--fd);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}

.project-card:hover .project-title {
  color: var(--g2);
}

.project-desc {
  font-size: 0.78rem;
  color: var(--tx2);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.project-stat-item h5 {
  font-family: var(--fd);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--g2);
}

.project-stat-item small {
  font-family: var(--fm);
  font-size: 0.45rem;
  color: var(--tx3);
  letter-spacing: 0.06em;
}

.project-tags {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.project-tag {
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  font-family: var(--fm);
  font-size: 0.48rem;
  color: var(--tx3);
}

/* ═══ ABOUT ═══ */
.about-sec {
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.about-text p {
  color: var(--tx2);
  font-weight: 300;
  line-height: 1.9;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.about-text p strong {
  color: var(--tx);
  font-weight: 500;
}

.about-img-wrap {
  position: relative;
}

.about-img {
  aspect-ratio: 3/4;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  clip-path: inset(0 100% 0 0);
  will-change: clip-path;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  transition: transform 1.5s var(--e);
}

.about-img.revealed img {
  transform: scale(1);
}

.about-glow {
  position: absolute;
  inset: -3px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--g1), var(--g2), var(--g3));
  z-index: -1;
  opacity: 0.25;
  filter: blur(3px);
  clip-path: inset(0 100% 0 0);
}

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

.info-card {
  padding: 0.7rem;
  border: 1px solid var(--tx4);
  border-radius: 8px;
  transition: all 0.3s;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.info-card:hover {
  border-color: var(--g1);
  background: rgba(99, 102, 241, 0.03);
}

.info-card .info-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--g2);
}

.info-card h6 {
  font-size: 0.65rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.info-card p {
  font-size: 0.55rem;
  color: var(--tx3);
  margin: 0;
  line-height: 1.4;
  font-family: var(--fm);
}

/* ═══ SKILLS ═══ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--gb);
  border-radius: 16px;
  overflow: hidden;
  background: var(--gb);
}

.skill-cell {
  background: var(--bg);
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  transition: all 0.5s var(--e);
}

.skill-cell:hover {
  background: var(--bg2);
}

.skill-cell h4 {
  font-family: var(--fd);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-cell h4::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--g1), var(--g2));
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.skill-tag {
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--tx4);
  border-radius: 50px;
  font-family: var(--fm);
  font-size: 0.5rem;
  color: var(--tx3);
  transition: all 0.3s;
}

.skill-tag:hover {
  border-color: var(--g2);
  color: var(--g2);
  background: rgba(168, 85, 247, 0.04);
}

/* ═══ WHY ME ═══ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.why-card {
  padding: clamp(1.5rem, 2.5vw, 2.2rem);
  border: 1px solid var(--gb);
  border-radius: 14px;
  background: var(--glass);
  transition: all 0.5s var(--e);
  position: relative;
  overflow: hidden;
}

.why-card:hover {
  border-color: rgba(168, 85, 247, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.why-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.08),
    rgba(168, 85, 247, 0.08)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--g2);
}

.why-card h4 {
  font-family: var(--fd);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.why-card p {
  font-size: 0.75rem;
  color: var(--tx2);
  line-height: 1.7;
}

/* ═══ CONTACT ═══ */
.contact-sec {
  position: relative;
  overflow: hidden;
}

.contact-sec::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(800px, 100%);
  aspect-ratio: 1;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.06) 0%,
    transparent 60%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.contact-heading {
  font-family: var(--fd);
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-align: center;
  margin-bottom: 1.5rem;
}

.contact-heading em {
  font-style: italic;
  background: linear-gradient(135deg, var(--g1), var(--g2), var(--g3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200%;
  animation: grd 4s ease infinite;
}

.contact-sub {
  text-align: center;
  color: var(--tx3);
  font-size: 0.85rem;
  max-width: 400px;
  margin: 0 auto 1rem;
}

.trust-bar {
  text-align: center;
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--fm);
  font-size: 0.5rem;
  color: var(--tx3);
  letter-spacing: 0.05em;
}

.trust-item .check-icon {
  color: #22c55e;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 960px;
  margin: 0 auto;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem;
  border: 1px solid var(--tx4);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  transition: all 0.3s;
}

.contact-info-card:hover {
  border-color: var(--g1);
  background: rgba(99, 102, 241, 0.03);
}

.contact-info-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--g2);
}

.contact-info-card small {
  font-family: var(--fm);
  font-size: 0.45rem;
  color: var(--tx3);
  letter-spacing: 0.08em;
}

.contact-info-card p {
  font-size: 0.75rem;
  margin: 0;
  font-weight: 500;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  font-family: var(--fm);
  font-size: 0.48rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx3);
  margin-bottom: 0.3rem;
  display: block;
}

.form-input {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--tx4);
  padding: 0.8rem 1rem;
  font-size: 0.82rem;
  font-family: var(--fb);
  color: var(--tx);
  outline: none;
  border-radius: 8px;
  transition: all 0.4s;
}

.form-input:focus {
  border-color: var(--g1);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.08);
}

.form-input::placeholder {
  color: var(--tx3);
}

textarea.form-input {
  resize: none;
  min-height: 90px;
  line-height: 1.6;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  color: #fff;
  font-family: var(--fd);
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 8px;
  transition: all 0.4s var(--e);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.25);
}

.form-submit:hover {
  box-shadow: 0 10px 35px rgba(99, 102, 241, 0.35);
  transform: translateY(-1px);
}

.form-submit.success {
  background: #22c55e;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.25);
}

.form-message {
  text-align: center;
  font-size: 0.7rem;
  margin-top: 0.6rem;
  min-height: 1rem;
}

.form-message.ok {
  color: #22c55e;
}

.form-message.err {
  color: #ef4444;
}

/* ═══ FOOTER ═══ */
footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--gb);
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-inner span {
  font-family: var(--fm);
  font-size: 0.55rem;
  color: var(--tx3);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-family: var(--fm);
  font-size: 0.55rem;
  color: var(--tx3);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--g2);
}

/* ═══ OVERLAY ═══ */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.8s var(--e2);
  pointer-events: none;
}

.overlay.on {
  transform: translateY(0);
  pointer-events: all;
}

.overlay-close {
  position: fixed;
  top: 2rem;
  right: clamp(2rem, 4vw, 3rem);
  z-index: 201;
  width: 46px;
  height: 46px;
  border: 1px solid var(--tx4);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--tx2);
  transition: all 0.3s;
  background: rgba(6, 6, 8, 0.6);
  backdrop-filter: blur(10px);
}

.overlay.on .overlay-close {
  display: flex;
}

.overlay-close:hover {
  border-color: var(--g2);
  color: var(--g2);
}

.overlay-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 7rem clamp(2rem, 4vw, 3rem) 5rem;
}

.overlay-inner h2 {
  font-family: var(--fd);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.overlay-hero {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid var(--gb);
}

.overlay-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-inner p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--tx2);
  margin-bottom: 1rem;
}

.overlay-inner p strong {
  color: var(--tx);
  font-weight: 500;
}

.overlay-inner li {
  font-size: 0.85rem;
  color: var(--tx2);
  line-height: 1.75;
  margin-bottom: 0.3rem;
  padding-left: 1.2rem;
  position: relative;
}

.overlay-inner li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--g2);
}

.overlay-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--gb);
  border-bottom: 1px solid var(--gb);
  margin: 1.5rem 0 2rem;
}

.overlay-stat h4 {
  font-family: var(--fd);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.overlay-stat span {
  font-family: var(--fm);
  font-size: 0.5rem;
  color: var(--tx3);
}

/* ═══ ROTATING BADGE ═══ */
.rotate-badge {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  width: 90px;
  height: 90px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}

.rotate-badge.show {
  opacity: 1;
  pointer-events: all;
}

.rotate-badge text {
  font-family: var(--fm);
  font-size: 8.5px;
  fill: var(--tx3);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.rotate-badge circle {
  fill: none;
  stroke: var(--tx4);
  stroke-width: 0.5;
}

.rotate-badge a {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tx2);
  transition: color 0.3s;
}

.rotate-badge a:hover {
  color: var(--g2);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

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

  .about-img-wrap {
    max-width: 360px;
    margin: 2rem auto 0;
  }

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

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

  .ham {
    display: block;
  }

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

  .stat-item::after {
    display: none !important;
  }

  .hero-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-cta {
    align-items: flex-start;
    width: 100%;
  }

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

  .hero-scroll,
  .rotate-badge {
    display: none;
  }

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

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

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

  .trust-bar {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .project-card {
    width: 85vw;
  }
}
