/* YUGTEE — Premium Digital Technology Website */

:root {
  --primary: rgb(0, 13, 47);
  --primary-hex: #000D2F;
  --secondary: rgb(241, 9, 25);
  --secondary-hex: #F10919;
  --white: #ffffff;
  --white-muted: rgba(255, 255, 255, 0.7);
  --white-dim: rgba(255, 255, 255, 0.4);
  --border: rgba(255, 255, 255, 0.12);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background-color: var(--primary-hex);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.touch-device,
body.reduced-motion {
  cursor: auto;
}

::selection {
  background: var(--secondary);
  color: var(--white);
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--secondary-hex);
  z-index: 10000;
  transition: width 0.05s linear;
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, background 0.3s ease, border 0.3s ease;
  mix-blend-mode: difference;
}

.custom-cursor.hover {
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--secondary-hex);
  mix-blend-mode: normal;
}

.custom-cursor-label {
  position: fixed;
  top: 0;
  left: 0;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--secondary-hex);
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  text-transform: uppercase;
}

.custom-cursor-label.visible {
  opacity: 1;
}

/* Loading Screen */
.loader {
  position: fixed;
  inset: 0;
  background: var(--primary-hex);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.loader-logo-img {
  width: clamp(160px, 30vw, 240px);
  height: auto;
  object-fit: contain;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.footer-logo-img {
  margin-bottom: 0.75rem;
  max-width: 180px;
  height: auto;
}

/* Image Overlay — brand tint */
.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 13, 47, 0.75) 0%,
    rgba(0, 13, 47, 0.45) 50%,
    rgba(241, 9, 25, 0.15) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.parallax-img-wrap {
  position: relative;
  overflow: hidden;
}

.parallax-img-wrap > img.parallax-img,
.parallax-img-wrap > .project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
  transform: scale(1.15);
}

/* Hero Image Panel */
.hero-image-wrap {
  position: relative;
  z-index: 5;
  width: 85%;
  height: clamp(320px, 45vh, 520px);
  margin: 0 auto;
  pointer-events: none;
}

.hero-image-frame {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: rgba(0, 13, 47, 0.6);
}

.hero-brand-logo {
  width: 70% !important;
  height: auto !important;
  object-fit: contain !important;
  transform: scale(1) !important;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

.hero-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 60%;
  border: 1px solid var(--secondary-hex);
  opacity: 0.4;
  z-index: -1;
}

.hero-float-card {
  position: absolute;
  bottom: -40px;
  left: -60px;
  width: 55%;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
  z-index: 2;
}

.hero-float-card img {
  transform: scale(1.2);
}

/* Intro Grid */
.intro-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.intro-visual {
  position: relative;
}

.intro-image-stack {
  position: relative;
  aspect-ratio: 4/5;
}

.intro-image-main {
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
}

.intro-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-image-float {
  position: absolute;
  bottom: -30px;
  left: -40px;
  width: 45%;
  padding: 1rem;
  background: var(--primary-hex);
  border: 1px solid var(--border);
  z-index: 3;
}

.intro-image-float img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: scale(1) !important;
}

.intro-image-accent {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 80px;
  height: 80px;
  border-top: 2px solid var(--secondary-hex);
  border-right: 2px solid var(--secondary-hex);
  z-index: 2;
}

/* Parallax Showcase */
.parallax-showcase {
  padding: 6rem 0 8rem;
  overflow: hidden;
  position: relative;
}

.parallax-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary-hex), transparent);
}

.showcase-header {
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}

.showcase-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.showcase-track {
  display: flex;
  gap: 1.5rem;
  padding: 0 2rem;
  width: max-content;
  will-change: transform;
}

.showcase-card {
  position: relative;
  flex-shrink: 0;
  width: 320px;
  height: 400px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.showcase-card--tall {
  height: 480px;
  margin-top: -40px;
}

.showcase-card--wide {
  width: 480px;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
}

.showcase-label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  z-index: 2;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--secondary-hex);
}

/* Project Images */
.project-image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.project-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-item:hover .project-image {
  transform: scale(1.08) !important;
}

.project-image-frame {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(241, 9, 25, 0.3);
  pointer-events: none;
  z-index: 2;
  transition: inset 0.4s ease;
}

.project-item:hover .project-image-frame {
  inset: 20px;
}

/* About Images */
.about-image-main {
  position: absolute;
  inset: 10%;
  border: 1px solid var(--border);
  overflow: hidden;
}

.about-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-logo-float {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  padding: 1.25rem;
  background: var(--primary-hex);
  border: 1px solid var(--border);
  z-index: 3;
}

.about-logo-float img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about-shape-1 {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transform: none;
  border: 1px solid var(--secondary-hex);
  opacity: 0.2;
}

.about-shape-2 {
  width: 30%;
  height: 30%;
  top: -10px;
  left: -10px;
  background: transparent;
  border-top: 2px solid var(--secondary-hex);
  border-left: 2px solid var(--secondary-hex);
  transform: none;
}


.loader-line {
  width: 0;
  height: 2px;
  background: var(--secondary-hex);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(0, 13, 47, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--white);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-muted);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--secondary-hex);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--secondary-hex);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(241, 9, 25, 0.3);
}

.nav-cta .arrow {
  transition: transform 0.3s ease;
}

.nav-cta:hover .arrow {
  transform: translateX(4px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--primary-hex);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
}

.mobile-menu.open {
  visibility: visible;
}

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu-cta {
  margin-top: 2rem;
  padding: 1rem 2rem;
  background: var(--secondary-hex);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--secondary-hex);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--secondary-hex);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(241, 9, 25, 0.35);
}

.btn-primary .arrow {
  transition: transform 0.3s ease;
}

.btn-primary:hover .arrow {
  transform: translateX(5px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--secondary-hex);
  color: var(--secondary-hex);
  transform: translateY(-3px);
}

/* Section Labels */
.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--secondary-hex);
  margin-bottom: 2rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(8rem, 25vw, 22rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--white);
  opacity: 0.03;
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 8rem 2rem 6rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.hero-subtitle {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white-muted);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.hero-title .accent {
  color: var(--secondary-hex);
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--white-muted);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.hero-desc,
.hero-ctas,
.hero-subtitle {
  opacity: 0;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-decor {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.hero-decor-line {
  position: absolute;
  background: var(--secondary-hex);
  opacity: 0.3;
}

.hero-decor-1 {
  top: 20%;
  right: 10%;
  width: 1px;
  height: 120px;
}

.hero-decor-2 {
  bottom: 30%;
  left: 5%;
  width: 80px;
  height: 1px;
}

.hero-decor-3 {
  top: 40%;
  right: 25%;
  width: 40px;
  height: 40px;
  border: 1px solid var(--secondary-hex);
  opacity: 0.2;
  transform: rotate(45deg);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.scroll-indicator span {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-dim);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--secondary-hex);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% { top: -50%; }
  100% { top: 100%; }
}

/* Intro Section */
.intro {
  position: relative;
  padding: 10rem 2rem;
  overflow: hidden;
}

.intro-bg-number {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(12rem, 30vw, 28rem);
  font-weight: 900;
  color: var(--secondary-hex);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.intro-content {
  position: relative;
  z-index: 2;
}

.intro-statement {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}

.intro-text {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--white-muted);
  max-width: 650px;
  line-height: 1.8;
}

/* Services */
.services {
  position: relative;
  padding: 10rem 2rem;
  overflow: hidden;
}

.services-bg-words {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.services-bg-word {
  position: absolute;
  font-size: clamp(6rem, 15vw, 14rem);
  font-weight: 900;
  color: var(--white);
  opacity: 0.02;
  white-space: nowrap;
}

.services-bg-word:nth-child(1) { top: 10%; left: -5%; }
.services-bg-word:nth-child(2) { top: 40%; right: -10%; }
.services-bg-word:nth-child(3) { bottom: 5%; left: 20%; }

.services-header {
  max-width: 1200px;
  margin: 0 auto 5rem;
  position: relative;
  z-index: 2;
}

.services-title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.services-list {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.service-item {
  position: relative;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.4s ease;
}

.service-item:first-child {
  border-top: 1px solid var(--border);
}

.service-item:hover,
.service-item.active {
  background: rgba(241, 9, 25, 0.03);
}

.service-item-inner {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 2rem;
}

.service-number {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white-dim);
  transition: color 0.3s ease, transform 0.3s ease;
}

.service-item:hover .service-number,
.service-item.active .service-number {
  color: var(--secondary-hex);
  transform: translateX(8px);
}

.service-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform 0.3s ease;
}

.service-item:hover .service-title {
  transform: translateX(12px);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--white-muted);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.4s ease;
  grid-column: 2;
}

.service-item:hover .service-desc,
.service-item.active .service-desc {
  max-height: 100px;
  opacity: 1;
  margin-top: 0.75rem;
}

.service-arrow {
  color: var(--white-dim);
  transition: transform 0.3s ease, color 0.3s ease;
}

.service-item:hover .service-arrow {
  transform: translateX(8px);
  color: var(--secondary-hex);
}

.service-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-hex);
  transition: width 0.5s ease;
}

.service-item:hover .service-line,
.service-item.active .service-line {
  width: 100%;
}

/* Projects */
.projects {
  padding: 6rem 0;
}

.projects-header {
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.projects-title {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.project-item {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 4rem 2rem;
  overflow: hidden;
}

.project-number {
  position: absolute;
  top: 4rem;
  left: 2rem;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  color: var(--secondary-hex);
  opacity: 0.15;
  z-index: 1;
}

.project-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.project-info h3 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.project-info p {
  font-size: 1rem;
  color: var(--white-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.project-view {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary-hex);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-item:hover .project-view {
  opacity: 1;
}

.project-visual {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  border: 1px solid var(--border);
}

.project-mockup {
  width: 100%;
  height: 100%;
  background: rgba(0, 13, 47, 0.8);
  display: flex;
  flex-direction: column;
  transition: transform 0.6s ease;
}

.project-item:hover .project-mockup {
  transform: scale(1.05);
}

.mockup-bar {
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary-hex);
  opacity: 0.5;
}

.mockup-body {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mockup-line {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.mockup-line.accent {
  background: var(--secondary-hex);
  opacity: 0.4;
  width: 60%;
}

.mockup-block {
  flex: 1;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
  padding: 1rem;
}

.mockup-sidebar {
  background: rgba(241, 9, 25, 0.08);
  border: 1px solid rgba(241, 9, 25, 0.15);
}

.mockup-main {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.project-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: var(--secondary-hex);
  transition: height 0.1s linear;
}

/* Process */
.process {
  position: relative;
  overflow: hidden;
}

.process-pin {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.process-header {
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.process-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1;
}

.process-track {
  display: flex;
  gap: 0;
  padding: 0 2rem;
  will-change: transform;
}

.process-step {
  min-width: 80vw;
  max-width: 500px;
  padding: 3rem;
  border: 1px solid var(--border);
  margin-right: 2rem;
  flex-shrink: 0;
  position: relative;
}

.process-step-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--secondary-hex);
  margin-bottom: 1.5rem;
}

.process-step h3 {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.process-step p {
  font-size: 0.95rem;
  color: var(--white-muted);
  line-height: 1.7;
}

.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-hex);
  transition: width 0.6s ease;
}

.process-step.in-view::before {
  width: 100%;
}

/* Mobile Process Timeline */
.process-mobile {
  display: none;
  padding: 6rem 2rem;
}

.process-mobile-step {
  position: relative;
  padding-left: 3rem;
  padding-bottom: 3rem;
  border-left: 1px solid var(--border);
}

.process-mobile-step:last-child {
  border-left-color: transparent;
}

.process-mobile-dot {
  position: absolute;
  left: -5px;
  top: 0;
  width: 9px;
  height: 9px;
  background: var(--secondary-hex);
}

/* Technology */
.technology {
  padding: 10rem 2rem;
  overflow: hidden;
}

.technology-header {
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.technology-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1;
}

.tech-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.tech-item {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white-muted);
  padding: 0.5rem 0;
  position: relative;
  cursor: default;
  transition: color 0.3s ease, transform 0.3s ease;
}

.tech-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-hex);
  transition: width 0.3s ease;
}

.tech-item:hover {
  color: var(--secondary-hex);
  transform: scale(1.05);
}

.tech-item:hover::after {
  width: 100%;
}

/* Why YUGTEE */
.why {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 2rem;
  overflow: hidden;
}

.why-words {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.why-word {
  font-size: clamp(3rem, 12vw, 10rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(80px);
}

.why-word.accent {
  color: var(--secondary-hex);
}

/* Stats */
.stats {
  padding: 8rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--secondary-hex);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-muted);
}

/* About */
.about {
  padding: 10rem 2rem;
  overflow: hidden;
}

.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.about-text {
  font-size: 1.1rem;
  color: var(--white-muted);
  line-height: 1.8;
}

.about-visual {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-shape {
  position: absolute;
  border: 1px solid var(--secondary-hex);
  opacity: 0.3;
}

.about-shape-1 {
  width: 80%;
  height: 80%;
  transform: rotate(45deg);
}

.about-shape-2 {
  width: 60%;
  height: 60%;
  background: rgba(241, 9, 25, 0.05);
}

.about-shape-3 {
  width: 40%;
  height: 40%;
  border-color: var(--white);
  opacity: 0.1;
  transform: rotate(15deg);
}

.about-center-text {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: 0.2em;
  z-index: 2;
}

/* Big CTA */
.big-cta {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem;
}

.big-cta-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.big-cta-image img {
  width: 100%;
  height: 120%;
  object-fit: cover;
}

.image-overlay--heavy {
  background: linear-gradient(
    to bottom,
    rgba(0, 13, 47, 0.92) 0%,
    rgba(0, 13, 47, 0.85) 50%,
    rgba(0, 13, 47, 0.95) 100%
  );
}

.big-cta-bg {
  position: absolute;
  font-size: clamp(6rem, 20vw, 18rem);
  font-weight: 900;
  color: var(--white);
  opacity: 0.02;
  white-space: nowrap;
  pointer-events: none;
}

.big-cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.big-cta-title {
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1rem;
}

.big-cta-title .accent {
  color: var(--secondary-hex);
}

.big-cta-text {
  font-size: 1.1rem;
  color: var(--white-muted);
  max-width: 500px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.big-cta-line {
  width: 0;
  height: 2px;
  background: var(--secondary-hex);
  margin: 0 auto 3rem;
}

/* Contact */
.contact {
  padding: 10rem 2rem;
}

.contact-header {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
}

.contact-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  border-radius: 0;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--secondary-hex);
  box-shadow: 0 0 0 1px var(--secondary-hex);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--secondary-hex);
}

.form-error {
  font-size: 0.75rem;
  color: var(--secondary-hex);
  margin-top: 0.25rem;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.form-group select option {
  background: var(--primary-hex);
  color: var(--white);
}

.form-submit {
  width: 100%;
  margin-top: 1rem;
}

.form-submit.loading {
  opacity: 0.7;
  pointer-events: none;
}

.form-success {
  display: none;
  text-align: center;
  padding: 3rem;
  border: 1px solid var(--secondary-hex);
}

.form-success.visible {
  display: block;
}

.form-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--white-muted);
}

/* Footer */
.footer {
  position: relative;
  padding: 6rem 2rem 3rem;
}

.footer-line {
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: var(--secondary-hex);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-muted);
}

.footer-nav h4,
.footer-social h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-muted);
  margin-bottom: 1.5rem;
}

.footer-nav ul,
.footer-social ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a,
.footer-social a {
  font-size: 0.85rem;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-nav a:hover,
.footer-social a:hover {
  color: var(--secondary-hex);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--white-dim);
}

/* Text Reveal */
.reveal-line {
  overflow: hidden;
  display: block;
}

.reveal-line-inner {
  display: block;
  transform: translateY(110%);
}

/* Clip Reveal */
.clip-reveal {
  clip-path: inset(100% 0 0 0);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-image-wrap {
    display: none;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .intro-image-stack {
    max-width: 500px;
    margin: 0 auto;
  }

  .nav-links, .nav-cta-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .project-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  body {
    cursor: auto;
  }

  .showcase-card {
    width: 260px;
    height: 340px;
  }

  .showcase-card--tall {
    height: 380px;
    margin-top: 0;
  }

  .showcase-card--wide {
    width: 300px;
  }

  .intro-image-float {
    left: -20px;
    bottom: -20px;
    width: 50%;
  }

  .custom-cursor,
  .custom-cursor-label {
    display: none !important;
  }

  .navbar {
    padding: 1rem 1.5rem;
  }

  .hero-content {
    padding: 7rem 1.5rem 5rem;
  }

  .intro, .services, .technology, .about, .contact {
    padding: 6rem 1.5rem;
  }

  .service-item-inner {
    grid-template-columns: 50px 1fr auto;
    gap: 1rem;
  }

  .service-desc {
    grid-column: 1 / -1;
  }

  .service-item.active .service-desc {
    max-height: 120px;
  }

  .process-pin {
    display: none;
  }

  .process-mobile {
    display: block;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-item {
    min-height: auto;
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .scroll-line::after {
    animation: none;
  }
}

/* Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--secondary-hex);
  outline-offset: 2px;
}

/* Utility */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
