/* :root {
  --viprush-navy: #2d2a82;
  --viprush-red: #e31e24;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: #0a0a0c;
  color: #ffffff;
  overflow-x: hidden;
  cursor: none !important;
}

.heading-font {
  font-family: "Outfit", sans-serif;
}

html {
  scroll-behavior: smooth;
}

img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--viprush-red);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 9998;
}

body.cursor-hover .cursor-outline {
  transform: scale(1.6);
  background-color: rgba(227, 30, 36, 0.1);
  border-color: var(--viprush-red);
}


.framer-reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.framer-reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}


.project-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s ease;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: var(--viprush-red);
  background: rgba(255, 255, 255, 0.06);
}

.project-image-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.project-card:hover .project-image {
  transform: scale(1.1);
}


.tech-tag {
  background: rgba(45, 42, 130, 0.3);
  border: 1px solid rgba(45, 42, 130, 0.5);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
}

.glass-nav {
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}


#waveCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
}

.hero-container {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #080814 0%, #050507 100%);
}

.spiral-container {
  height: 500vh;
  position: relative;
}

.spiral-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}

.feature-card {
  position: absolute;
  width: 600px;
  padding: 2.5rem;
  background: #ffffff;
  border: 1px solid rgba(45, 42, 130, 0.15);
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  color: black;
  will-change: transform, opacity;
  top: 50%;
  left: 50%;
  margin-left: -300px;
  margin-top: -120px;
  z-index: 1;

 
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  image-rendering: -webkit-optimize-contrast;
}

.feature-card img {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

@media screen and (max-width: 425px) {
  .feature-card {
    position: absolute;
    width: 340px;
    padding: 2.5rem;
    background: #ffffff;
    border: 1px solid rgba(45, 42, 130, 0.15);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    color: black;
    top: 50%;
    left: 50%;
    margin-left: -170px;
    margin-top: -100px;
    transform: translate(-50%, -50%);
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
  }
}


.stack-section {
  position: relative;
}

.stack-card {
  position: sticky;
  top: 20vh;
  min-height: 40vh;
  width: 100%;
  border-radius: 24px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
  box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 5vh;
}

.stack-card img {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}


@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee {
  display: flex;
  width: 200%;
  animation: marquee 20s linear infinite;
}

.gradient-border {
  border: 1px solid transparent;
  background:
    linear-gradient(#0a0a0c, #0a0a0c) padding-box,
    linear-gradient(90deg, var(--viprush-navy), var(--viprush-red)) border-box;
}

.red-glow {
  box-shadow: 0 0 50px rgba(227, 30, 36, 0.15);
} */
:root {
  --viprush-navy: #2d2a82;
  --viprush-red: #e31e24;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: #0a0a0c;
  color: #ffffff;
  overflow-x: hidden;
  cursor: none !important;
}

.heading-font {
  font-family: "Outfit", sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* ── Chrome-only image sharpness fix (Firefox excluded) ── */
@supports (-webkit-appearance: none) and (not (-moz-appearance: none)) {
  img {
    image-rendering: -webkit-optimize-contrast;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
  }
}

/* CUSTOM CURSOR */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--viprush-red);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 9998;
}

body.cursor-hover .cursor-outline {
  transform: scale(1.6);
  background-color: rgba(227, 30, 36, 0.1);
  border-color: var(--viprush-red);
}

/* Reveal Animations */
.framer-reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.framer-reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Project Card Styles */
.project-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s ease;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: var(--viprush-red);
  background: rgba(255, 255, 255, 0.06);
}

.project-image-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.project-card:hover .project-image {
  transform: scale(1.1);
}

/* Tech Tag */
.tech-tag {
  background: rgba(45, 42, 130, 0.3);
  border: 1px solid rgba(45, 42, 130, 0.5);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
}

/* Glassmorphism Nav */
.glass-nav {
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Wave Effect */
#waveCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
}

.hero-container {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #080814 0%, #050507 100%);
}

/* --- SPIRAL SECTION STYLES --- */
.spiral-container {
  height: 500vh;
  position: relative;
}

.spiral-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}

.feature-card {
  position: absolute;
  width: 600px;
  padding: 2.5rem;
  background: #ffffff;
  border: 1px solid rgba(45, 42, 130, 0.15);
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  color: black;
  will-change: transform, opacity;
  top: 50%;
  left: 50%;
  margin-left: -300px;
  margin-top: -120px;
  z-index: 1;

  /* Chrome image sharpness fix */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.feature-card img {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Chrome-only: sharpen images inside feature cards */
@supports (-webkit-appearance: none) and (not (-moz-appearance: none)) {
  .feature-card img {
    image-rendering: -webkit-optimize-contrast;
  }
}

@media screen and (max-width: 425px) {
  .feature-card {
    position: absolute;
    width: 340px;
    padding: 2.5rem;
    background: #ffffff;
    border: 1px solid rgba(45, 42, 130, 0.15);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    color: black;
    top: 50%;
    left: 50%;
    margin-left: -170px;
    margin-top: -100px;
    transform: translate(-50%, -50%);
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
  }
}

/* --- STACKING CARDS STYLES --- */
.stack-section {
  position: relative;
}

.stack-card {
  position: sticky;
  top: 20vh;
  min-height: 40vh;
  width: 100%;
  border-radius: 24px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
  box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 5vh;
}

.stack-card img {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: auto;
}

/* Chrome-only: sharpen images inside stack cards */
@supports (-webkit-appearance: none) and (not (-moz-appearance: none)) {
  .stack-card img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Marquee Animation */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee {
  display: flex;
  width: 200%;
  animation: marquee 20s linear infinite;
}

.gradient-border {
  border: 1px solid transparent;
  background:
    linear-gradient(#0a0a0c, #0a0a0c) padding-box,
    linear-gradient(90deg, var(--viprush-navy), var(--viprush-red)) border-box;
}

.red-glow {
  box-shadow: 0 0 50px rgba(227, 30, 36, 0.15);
}
