:root {
  --black: #0a0a0a;
  --white: #f5f5f0;
  --accent: #e8ff00;
  --accent2: #ff3c3c;
  --gray: #888;
  --light: #1a1a1a;
  --font: 'Helvetica Neue', 'Arial', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Custom Cursor */
#cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background 0.3s;
  mix-blend-mode: difference;
}

#cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(232, 255, 0, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease-out;
  mix-blend-mode: difference;
}

body:hover #cursor {
  opacity: 1;
}

/* Noise Overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.3;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  mix-blend-mode: normal;
}

nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.9) 0%, transparent 100%);
  pointer-events: none;
}

nav.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  padding: 16px 48px;
  transition: all 0.4s;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--white);
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  position: relative;
  z-index: 1;
}

.nav-links a {
  color: rgba(245, 245, 240, 0.6);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s;
}

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

.nav-cta {
  background: var(--accent);
  color: var(--black);
  padding: 10px 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: none;
  text-decoration: none;
  position: relative;
  z-index: 1;
  transition: background 0.3s, transform 0.3s;
}

.nav-cta:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.nav-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(245, 245, 240, 0.6);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid rgba(245, 245, 240, 0.2);
  transition: all 0.3s;
  position: relative;
  z-index: 1;
}

.nav-lang:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.nav-lang .lang-icon {
  font-size: 15px;
}

.nav-lang .lang-text {
  font-family: 'PingFang SC', 'Hiragino Sans GB', sans-serif;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(245, 245, 240, 0.22);
  background: rgba(10, 10, 10, 0.45);
  position: relative;
  z-index: 2;
  cursor: none;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

nav.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

nav.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

nav.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 6vw 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(10, 10, 10, 0.80) 0%,
      rgba(10, 10, 10, 0.55) 50%,
      rgba(10, 10, 10, 0.75) 100%);
  z-index: 1;
}

/* Animated grid lines */
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 255, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 255, 0, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridMove 20s linear infinite;
  z-index: 2;
}

@keyframes gridMove {
  0% {
    transform: perspective(800px) rotateX(20deg) translateY(0);
  }

  100% {
    transform: perspective(800px) rotateX(20deg) translateY(80px);
  }
}

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: rgba(232, 255, 0, 0.06);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(255, 60, 60, 0.05);
  bottom: -50px;
  left: 200px;
  animation-delay: 3s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(100, 100, 255, 0.05);
  top: 200px;
  left: -50px;
  animation-delay: 6s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -30px) scale(1.05);
  }
}

.hero-content {
  grid-column: 1;
  position: relative;
  z-index: 10;
  max-width: 100%;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-label::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .line-inner {
  display: block;
  opacity: 0;
  transform: translateY(100%);
  animation: lineReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title .line:nth-child(1) .line-inner {
  animation-delay: 0.4s;
}

.hero-title .line:nth-child(2) .line-inner {
  animation-delay: 0.55s;
}

.hero-title .line:nth-child(3) .line-inner {
  animation-delay: 0.7s;
}

.hero-title .accent-word {
  display: inline-block;
  transform: skew(-6deg);
  /* 调整此角度值 */
  font-style: normal;
  color: var(--accent);
}

.hero-desc {
  font-size: 16px;
  color: rgba(245, 245, 240, 0.5);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s 1s forwards;
}

.hero-btns {
  display: flex;
  gap: 20px;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.8s 1.2s forwards;
}

.btn-primary {
  background: var(--accent);
  color: var(--black);
  padding: 16px 40px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: none;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s, background 0.3s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: #fff;
}

.btn-secondary {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: gap 0.3s, color 0.3s;
}

.btn-secondary:hover {
  gap: 20px;
  color: var(--accent);
}

.btn-secondary::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
}

/* Hero stats */
.hero-stats {
  grid-column: 2;
  align-self: end;
  justify-self: end;
  display: flex;
  flex-direction: column;
  gap: 32px;
  z-index: 10;
  opacity: 0;
  animation: fadeUp 0.8s 1.4s forwards;
  padding-bottom: 80px;
  padding-right: 0;
}

.stat-item {
  text-align: right;
}

.stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
}

/* Scroll indicator */
.scroll-indicator {
  grid-column: 1;
  align-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  z-index: 10;
  opacity: 0;
  animation: fadeUp 0.8s 1.6s forwards;
  padding-bottom: 40px;
}

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

.scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* Section base */
section {
  position: relative;
  overflow: hidden;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 80px;
}

.section-num {
  font-size: 100px;
  font-weight: 800;
  color: rgba(245, 245, 240, 0.04);
  line-height: 1;
  letter-spacing: -0.05em;
  user-select: none;
  position: absolute;
  top: -20px;
  right: 48px;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

/* About Section */
#about {
  padding: 140px 0;
  background: var(--black);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  aspect-ratio: 4/5;
}

.about-img-wrap {
  width: 100%;
  height: 100%;
  background: var(--light);
  overflow: hidden;
  position: relative;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Animated abstract art for about section */
.about-canvas {
  width: 100%;
  height: 100%;
  position: relative;
}

.about-shape {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
}

.about-shape-1 {
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(232, 255, 0, 0.3) 0%, transparent 70%);
  top: 10%;
  left: 20%;
  animation: shapeMove1 6s ease-in-out infinite;
}

.about-shape-2 {
  width: 40%;
  height: 40%;
  background: radial-gradient(circle, rgba(255, 60, 60, 0.3) 0%, transparent 70%);
  bottom: 20%;
  right: 10%;
  animation: shapeMove2 8s ease-in-out infinite;
}

.about-shape-3 {
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(100, 100, 255, 0.2) 0%, transparent 70%);
  top: 30%;
  left: -10%;
  animation: shapeMove3 7s ease-in-out infinite;
}

@keyframes shapeMove1 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg)
  }

  50% {
    transform: translate(20px, -20px) rotate(30deg)
  }
}

@keyframes shapeMove2 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg)
  }

  50% {
    transform: translate(-15px, 15px) rotate(-20deg)
  }
}

@keyframes shapeMove3 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg)
  }

  50% {
    transform: translate(25px, 10px) rotate(15deg)
  }
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.about-badge span:first-child {
  font-size: 32px;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
}

.about-badge span:last-child {
  font-size: 10px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-text .tagline {
  font-size: 24px;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(245, 245, 240, 0.8);
  margin-bottom: 32px;
}

.about-text p {
  font-size: 15px;
  color: rgba(245, 245, 240, 0.45);
  line-height: 1.9;
  margin-bottom: 24px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.value-item {
  border-left: 2px solid var(--accent);
  padding-left: 16px;
}

.value-item h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.value-item p {
  font-size: 13px;
  color: var(--gray);
  margin: 0;
  line-height: 1.6;
}

/* Cases Section */
#cases {
  padding: 140px 0;
  background: #0d0d0d;
}

.cases-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 60px;
  min-width: 0;
}

.filter-btn {
  padding: 8px 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--gray);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: none;
  transition: all 0.3s;
  text-align: center;
  white-space: normal;
  word-break: break-word;
  min-width: 0;
  max-width: 100%;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--accent);
  color: var(--black);
  border-color: var(--accent);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.case-card {
  position: relative;
  overflow: hidden;
  cursor: none;
}

.case-card:nth-child(1) {
  grid-column: 1 / 8;
  grid-row: 1;
}

.case-card:nth-child(2) {
  grid-column: 8 / 13;
  grid-row: 1;
}

.case-card:nth-child(3) {
  grid-column: 1 / 5;
  grid-row: 2;
}

.case-card:nth-child(4) {
  grid-column: 5 / 9;
  grid-row: 2;
}

.case-card:nth-child(5) {
  grid-column: 9 / 13;
  grid-row: 2;
}

.case-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.case-card:nth-child(1) .case-img {
  aspect-ratio: 16/14;
}

.case-card:nth-child(2) .case-img {
  aspect-ratio: 4/5;
}

.case-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -0.05em;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card:hover .case-bg {
  transform: scale(1.05);
}

.case-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card:hover .case-bg-img {
  transform: scale(1.05);
}

.case-bg-1 {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: rgba(232, 255, 0, 0.15);
}

.case-bg-2 {
  background: linear-gradient(135deg, #2d1b1b 0%, #4a1c1c 100%);
  color: rgba(255, 60, 60, 0.2);
}

.case-bg-3 {
  background: linear-gradient(135deg, #0d2818 0%, #1a4d2e 100%);
  color: rgba(100, 255, 150, 0.15);
}

.case-bg-4 {
  background: linear-gradient(135deg, #1b1b2d 0%, #2d2d4a 100%);
  color: rgba(150, 100, 255, 0.2);
}

.case-bg-5 {
  background: linear-gradient(135deg, #2d1a0d 0%, #4a2e10 100%);
  color: rgba(255, 165, 0, 0.2);
}

.case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transform: translateY(60%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card:hover .case-overlay {
  transform: translateY(0);
}

.case-tag {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.case-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}

.case-desc {
  font-size: 13px;
  color: rgba(245, 245, 240, 0.6);
  line-height: 1.6;
  margin-bottom: 16px;
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.3s;
}

.case-link:hover {
  gap: 16px;
}

.case-link::after {
  content: '→';
}

/* Clients Section */
#clients {
  padding: 140px 0;
  background: var(--black);
}

.clients-marquee-wrap {
  overflow: hidden;
  margin: 64px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 0;
}

.clients-marquee {
  display: flex;
  gap: 80px;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.clients-marquee:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.client-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(245, 245, 240, 0.2);
  text-transform: uppercase;
  transition: color 0.3s;
}

.client-logo:hover {
  color: rgba(245, 245, 240, 0.8);
}

.client-logo::before {
  content: '◆';
  color: var(--accent);
  font-size: 8px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255, 255, 255, 0.05);
}

.client-card {
  background: var(--black);
  padding: 48px;
  display: flex;
  flex-direction: column;
  transition: background 0.3s;
}

.client-card:hover {
  background: var(--light);
}

.client-card-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.client-card-industry {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.client-card-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  flex: 1;
}

.client-quote {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(245, 245, 240, 0.5);
  font-style: italic;
  line-height: 1.7;
}

/* Process Section */
#process {
  padding: 140px 0;
  background: var(--accent);
}

#process .section-label {
  color: var(--black);
}

#process .section-label::before {
  background: var(--black);
}

#process .section-title {
  color: var(--black);
}

#process .section-num {
  color: rgba(0, 0, 0, 0.06);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: rgba(0, 0, 0, 0.1);
  margin-top: 80px;
}

.process-step {
  background: var(--accent);
  padding: 48px 32px;
  position: relative;
  transition: background 0.4s;
  cursor: none;
}

.process-step:hover {
  background: var(--black);
  color: var(--white);
}

.process-step-num {
  font-size: 72px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.1);
  line-height: 1;
  margin-bottom: 24px;
  transition: color 0.4s;
}

.process-step:hover .process-step-num {
  color: rgba(232, 255, 0, 0.15);
}

.process-step-icon {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
  transition: border-color 0.4s, transform 0.4s;
}

.process-step:hover .process-step-icon {
  border-color: var(--accent);
  transform: rotate(45deg);
}

.process-step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  transition: color 0.4s;
}

.process-step:hover .process-step-title {
  color: var(--white);
}

.process-step-desc {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.5);
  line-height: 1.7;
  transition: color 0.4s;
}

.process-step:hover .process-step-desc {
  color: rgba(245, 245, 240, 0.6);
}

.process-arrow {
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--black);
  z-index: 2;
  transition: background 0.4s;
}

.process-step:hover .process-arrow {
  background: var(--black);
  color: var(--accent);
}

.process-step:last-child .process-arrow {
  display: none;
}

/* Contact Section */
#contact {
  padding: 140px 0;
  background: var(--black);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
}

.contact-info h2 span {
  display: block;
  color: rgba(245, 245, 240, 0.2);
}

.contact-info p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.8;
  max-width: 400px;
  margin-bottom: 48px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: border-color 0.3s, background 0.3s;
}

.contact-item:hover .contact-item-icon {
  border-color: var(--accent);
  background: var(--accent);
}

.contact-item-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-item-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
}

.contact-item-value {
  font-size: 15px;
  color: var(--white);
  text-decoration: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
}

.form-input,
.form-textarea,
.form-select {
  background: var(--light);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--white);
  padding: 14px 20px;
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  resize: none;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent);
  background: rgba(232, 255, 0, 0.03);
}

.form-textarea {
  min-height: 140px;
}

.form-select option {
  background: #1a1a1a;
}

.form-submit {
  background: var(--accent);
  color: var(--black);
  padding: 18px 48px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: none;
  width: 100%;
  transition: background 0.3s, transform 0.3s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.form-submit:hover {
  background: var(--white);
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: #050505;
  padding: 60px 48px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.footer-brand .logo {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand .logo span {
  color: var(--accent);
}

.footer-brand p {
  font-size: 13px;
  color: var(--gray);
  max-width: 280px;
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s, padding-left 0.3s;
  display: block;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 8px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--gray);
  text-decoration: none;
  transition: all 0.3s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(245, 245, 240, 0.2);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineReveal {
  from {
    opacity: 0;
    transform: translateY(100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* Page transition overlay */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--accent);
  z-index: 9997;
  transform: scaleY(1);
  transform-origin: top;
  animation: pageReveal 1.2s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

@keyframes pageReveal {
  0% {
    transform: scaleY(1);
    transform-origin: top;
  }

  45% {
    transform: scaleY(0);
    transform-origin: top;
  }

  55% {
    transform: scaleY(0);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* Mobile */
@media (max-width: 1024px) {
  nav {
    padding: 20px 24px;
    gap: 14px;
  }

  nav.scrolled {
    padding: 16px 24px;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 18px;
    background: rgba(10, 10, 10, 0.96);
    border: 1px solid rgba(245, 245, 240, 0.12);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  }

  nav.menu-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    display: block;
    padding: 14px 4px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-cta {
    margin-left: auto;
  }

  .hero-stats {
    display: none;
  }

  .hero-content {
    grid-column: 1;
  }

  .scroll-indicator {
    grid-column: 1;
  }

  #hero {
    padding: 120px 24px 80px;
    grid-template-columns: 1fr;
  }

  .section-container {
    padding: 0 24px;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 48px;
  }

  .section-header>p {
    max-width: 620px !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
  }

  .section-num {
    font-size: 78px;
    top: 8px;
    right: 24px;
  }

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

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

  .case-card {
    grid-column: auto !important;
    grid-row: auto !important;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 42px;
    background: transparent;
  }

  .process-arrow {
    display: none;
  }

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

  .footer-top {
    flex-direction: column;
    gap: 48px;
  }

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

@media (max-width: 600px) {
  body {
    cursor: auto;
  }

  a,
  button,
  .case-card,
  .process-step,
  .client-card,
  .filter-btn {
    cursor: auto;
  }

  #cursor,
  #cursor-ring {
    display: none;
  }

  nav {
    padding: 14px 16px;
  }

  nav.scrolled {
    padding: 12px 16px;
  }

  .nav-logo {
    font-size: 15px;
    letter-spacing: 0.08em;
  }

  .nav-cta {
    display: none;
  }

  .nav-lang {
    padding: 8px 10px;
  }

  #hero {
    min-height: auto;
    padding: 110px 18px 72px;
  }

  #about,
  #cases,
  #clients,
  #process,
  #contact {
    padding: 92px 0;
  }

  #process .section-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  #process .section-header {
    margin-bottom: 36px;
  }

  #process .section-header>p {
    color: rgba(0, 0, 0, 0.58) !important;
  }

  .process-steps {
    margin-top: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.16);
  }

  .process-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 16px;
    row-gap: 8px;
    padding: 26px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.16);
  }

  .process-step:hover {
    background: transparent;
    color: var(--black);
  }

  .process-step:hover .process-step-num,
  .process-step:hover .process-step-title,
  .process-step:hover .process-step-desc {
    color: inherit;
  }

  .process-step:hover .process-step-num {
    color: rgba(0, 0, 0, 0.42);
  }

  .process-step:hover .process-step-desc {
    color: rgba(0, 0, 0, 0.56);
  }

  .process-step:hover .process-step-icon {
    border-color: rgba(0, 0, 0, 0.2);
    transform: none;
  }

  .process-step-num {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    font-size: 18px;
    color: rgba(0, 0, 0, 0.42);
    margin: 5px 0 0;
    letter-spacing: 0.04em;
  }

  .process-step-icon {
    grid-column: 2;
    width: 34px;
    height: 34px;
    margin: 0 0 12px;
    border-width: 1px;
    font-size: 15px;
  }

  .process-step-title {
    grid-column: 2;
    font-size: 22px;
    margin-bottom: 2px;
  }

  .process-step-desc {
    grid-column: 2;
    font-size: 15px;
    line-height: 1.75;
    color: rgba(0, 0, 0, 0.56);
  }

  .hero-title {
    font-size: 42px;
    line-height: 1.08;
  }

  .hero-btns {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .btn-primary,
  .form-submit {
    width: 100%;
    justify-content: center;
  }

  .btn-secondary {
    width: auto;
    justify-content: flex-start;
    gap: 10px;
    font-size: 13px;
    letter-spacing: 0.08em;
  }

  .btn-secondary::after {
    width: 18px;
  }

  .hero-btns .btn-secondary {
    padding-left: 2px;
    color: rgba(245, 245, 240, 0.82);
  }

  .section-header .btn-secondary {
    align-self: flex-start;
    padding: 0;
  }

  .scroll-indicator {
    align-self: start;
    gap: 10px;
    width: auto;
    padding-bottom: 0;
    margin-top: 24px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .scroll-line {
    width: 36px;
  }

  .section-title {
    width: 100%;
    max-width: 100%;
    font-size: 34px;
    line-height: 1.14;
    letter-spacing: 0;
  }

  .section-label {
    margin-bottom: 14px;
  }

  .section-num {
    font-size: 64px;
    top: 18px;
    right: 18px;
  }

  .clients-marquee-wrap {
    margin: 42px 0;
    padding: 26px 0;
  }

  .clients-grid {
    gap: 12px;
    background: transparent;
  }

  .client-card {
    padding: 28px 24px;
  }

  .footer-brand .logo {
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: 0.06em;
    max-width: 100%;
  }

  .footer-brand .logo span {
    font-size: 0.9em;
  }

  .footer-brand p {
    max-width: 100%;
  }

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

  .case-overlay {
    transform: translateY(0);
  }
}
