/* ============================================================================
   SAUSHKIN.IN - Premium AI/Fintech Executive Brand Website
   Inspired by Awwwards winners: Bruno Simon, Lusion, Dennis Snellenberg
   ========================================================================== */

/* ============================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  color: #0a0a0a;
  background-color: #f5f3f0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================================
   BACKGROUND CANVAS LAYERS
   ========================================================================== */

#gradient-canvas,
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

#gradient-canvas {
  z-index: -2;
}

#ambient-canvas {
  z-index: -1;
  mix-blend-mode: overlay;
}

/* ============================================================================
   CUSTOM CURSOR
   ========================================================================== */

#cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1.5px solid #0a0a0a;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#cursor-ring.hover {
  width: 80px;
  height: 80px;
}

#cursor-dot {
  position: fixed;
  width: 5px;
  height: 5px;
  background-color: #0a0a0a;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
}

@media (hover: none) {
  #cursor-ring,
  #cursor-dot {
    display: none;
  }
}

/* ============================================================================
   LOADER
   ========================================================================== */

#loader {
  position: fixed;
  inset: 0;
  background-color: #ffffff;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.loader-count {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 200;
  letter-spacing: -4px;
  color: #0a0a0a;
  font-variant-numeric: tabular-nums;
}

.loader-bar {
  position: absolute;
  bottom: 48px;
  left: 48px;
  right: 48px;
  height: 2px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 1px;
}

.loader-fill {
  height: 100%;
  background: #0a0a0a;
  border-radius: 1px;
  width: 0;
  transition: width 0.1s linear;
}

.lang-btn {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  padding: 6px 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  transition: all 0.3s ease;
  user-select: none;
}

.lang-btn:hover {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
}

/* ============================================================================
   NAVIGATION
   ========================================================================== */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 48px;
  background: transparent;
  backdrop-filter: none;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -1px;
  text-decoration: none;
  color: #0a0a0a;
}

.nav-right {
  display: flex;
  gap: 48px;
  list-style: none;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #0a0a0a;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #0a0a0a;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (max-width: 900px) {
  nav {
    padding: 20px 32px;
  }

  .nav-link.dk {
    display: none;
  }

  .nav-right {
    gap: 24px;
  }

  .nav-link {
    font-size: 13px;
  }
}

/* ============================================================================
   HERO SECTION
   ========================================================================== */

#hero {
  height: 100vh;
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
}

.hero-left {
  flex: 0 0 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 48px;
  position: relative;
}

.hero-right {
  flex: 0 0 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: rgba(255, 255, 255, 0.3);
}

#particle-wrap {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 3 / 4;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 24px;
}

.hero-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 48px;
}

.hero-name {
  font-size: clamp(60px, 9vw, 120px);
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: -2px;
  margin: 0;
  margin-bottom: 32px;
}

.name-line {
  display: block;
  overflow: hidden;
}

.name-bold {
  font-weight: 800;
}

.hero-statement {
  font-size: clamp(16px, 2.2vw, 24px);
  font-weight: 300;
  color: #555;
  margin-bottom: 48px;
  max-width: 600px;
  line-height: 1.7;
}

.hero-cta {
  display: inline-block;
}

/* Masked Text Reveal Animation */
.mask-line {
  overflow: hidden;
  display: inline-block;
}

.mask-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.mask-line.revealed .mask-inner {
  transform: translateY(0);
}

/* Magnetic Button */
.btn-magnetic {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border: 1.5px solid #0a0a0a;
  background: transparent;
  color: #0a0a0a;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
  text-decoration: none;
}

.btn-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-color: #0a0a0a;
  z-index: -1;
  transform: translateY(101%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-magnetic:hover .btn-fill {
  transform: translateY(0);
}

.btn-magnetic:hover {
  color: #fff;
}

/* Scroll Hint */
.scroll-hint {
  position: absolute;
  bottom: 48px;
  left: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.scroll-line {
  width: 1.5px;
  height: 40px;
  background-color: #0a0a0a;
  animation: scrollLine 1.5s ease-in-out infinite;
}

.scroll-hint span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0a0a0a;
}

@keyframes scrollLine {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}

@media (max-width: 900px) {
  #hero {
    flex-direction: column-reverse;
    padding-top: 80px;
  }

  .hero-left,
  .hero-right {
    flex: 0 0 auto;
  }

  .hero-left {
    padding: 48px 24px;
  }

  .hero-right {
    height: 60vh;
    padding: 24px;
  }

  .scroll-hint {
    bottom: 24px;
    left: 24px;
  }
}

/* ============================================================================
   SEEN IN SECTION
   ========================================================================== */

#seen-in {
  padding: 80px 48px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
}

.seen-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
}

.seen-logos {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.seen-item {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #d0ccc7;
  transition: color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.seen-item:hover {
  color: #0a0a0a;
}

@media (max-width: 900px) {
  #seen-in {
    padding: 60px 24px;
    flex-direction: column;
    gap: 40px;
  }

  .seen-logos {
    gap: 40px;
  }

  .seen-item {
    font-size: 12px;
  }
}

/* ============================================================================
   SECTIONS & TYPOGRAPHY
   ========================================================================== */

.section {
  padding: 140px 48px;
}

.section-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.stag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #bbb;
  margin-bottom: 16px;
}

.stitle {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 200;
  line-height: 1.2;
  margin-bottom: 48px;
}

.stitle strong {
  font-weight: 800;
}

@media (max-width: 900px) {
  .section {
    padding: 80px 24px;
  }
}

/* ============================================================================
   ABOUT SECTION
   ========================================================================== */

#about .section-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-grid {
  display: contents;
}

.about-text {
  grid-column: 1;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 300;
  line-height: 1.7;
  color: #333;
  margin-bottom: 32px;
}

.about-text strong {
  font-weight: 700;
}

.about-brands {
  grid-column: 2;
  display: flex;
  flex-direction: column;
}

.brand-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  cursor: pointer;
}

.brand-row:hover {
  background: rgba(0, 0, 0, 0.02);
  padding: 24px 16px;
  margin: 0 -16px;
  border-radius: 8px;
}

.brand-dot {
  width: 6px;
  height: 6px;
  background-color: #0a0a0a;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 4px;
}

.brand-row:hover .brand-dot {
  transform: scale(2);
}

.brand-name {
  font-size: 16px;
  font-weight: 600;
  color: #0a0a0a;
}

.brand-role {
  font-size: 13px;
  font-weight: 400;
  color: #666;
}

.brand-hint {
  max-height: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 300;
  color: #999;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-row:hover .brand-hint {
  max-height: 200px;
  margin-top: 8px;
}

@media (max-width: 900px) {
  #about .section-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-text {
    font-size: clamp(16px, 2.2vw, 20px);
  }
}

/* ============================================================================
   METRICS SECTION
   ========================================================================== */

#metrics {
  position: relative;
  overflow: hidden;
}

.metrics-bg-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 300px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.02);
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.metrics-row {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.metric {
  flex: 1;
  text-align: center;
  padding: 48px 32px;
  position: relative;
}

.metric + .metric::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40%;
  background-color: rgba(0, 0, 0, 0.08);
}

.metric-num-wrap {
  overflow: hidden;
  margin-bottom: 12px;
}

.metric-num {
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: -4px;
  line-height: 1;
  color: #0a0a0a;
}

.metric-label {
  font-size: 14px;
  font-weight: 500;
  color: #777;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.metric-expand {
  max-height: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 300;
  color: #999;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.metric:hover .metric-expand {
  max-height: 150px;
}

/* Split-Flap Animation */
.num-char {
  display: inline-block;
  position: relative;
  overflow: hidden;
  min-width: 0.6em;
}

.num-char-inner {
  display: block;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.num-char.flipped .num-char-inner {
  transform: translateY(0);
}

@media (max-width: 900px) {
  .metrics-row {
    flex-wrap: wrap;
  }

  .metric {
    flex: 0 0 50%;
    padding: 32px 24px;
  }

  .metric + .metric::before {
    display: none;
  }

  .metrics-bg-num {
    font-size: 150px;
  }
}

/* ============================================================================
   CASES - HORIZONTAL SCROLL
   ========================================================================== */

#cases-track-wrap {
  height: 100vh;
  position: sticky;
  top: 0;
  overflow: hidden;
  background: #f5f3f0;
}

.cases-track {
  display: flex;
  height: 100%;
  will-change: transform;
}

.case-panel {
  flex: 0 0 90vw;
  height: 80vh;
  margin: 0 2vw;
  display: flex;
  align-items: center;
}

.case-panel-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  padding: 48px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.case-bg-num {
  position: absolute;
  right: -40px;
  top: -60px;
  font-size: 350px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.02);
  line-height: 1;
  pointer-events: none;
}

.case-tilt-highlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.15),
    transparent 40%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 20px;
  z-index: 1;
}

.case-panel-inner:hover .case-tilt-highlight,
.media-card:hover .case-tilt-highlight {
  opacity: 1;
}

.case-left {
  position: relative;
  z-index: 1;
}

.case-right {
  position: relative;
  z-index: 1;
}

.case-period {
  font-size: 13px;
  font-weight: 500;
  color: #999;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.case-company {
  font-size: clamp(40px, 5vw, 80px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 0.95;
  margin-bottom: 12px;
  color: #0a0a0a;
}

.case-role {
  font-size: 14px;
  font-weight: 500;
  color: #666;
  margin-bottom: 24px;
}

.case-desc {
  font-size: 16px;
  font-weight: 300;
  color: #555;
  line-height: 1.6;
  margin-bottom: 24px;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-tag {
  font-size: 12px;
  font-weight: 500;
  color: #555;
  background: rgba(0, 0, 0, 0.04);
  padding: 8px 16px;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.case-tag:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.12);
}

.case-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cases-progress {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.cases-progress-line {
  position: relative;
  overflow: hidden;
  width: 24px;
  height: 2px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 1px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cases-progress-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  transform: translateX(-101%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cases-progress-line.active {
  width: 48px;
  background: #0a0a0a;
}

.cases-progress-line.active::after {
  transform: translateX(0);
}

.cases-progress-line.passed::after {
  transform: translateX(0);
}

@media (max-width: 900px) {
  #cases-track-wrap {
    height: auto;
    position: static;
  }

  .cases-track {
    height: auto;
    flex-direction: column;
  }

  .case-panel {
    flex: 0 0 auto;
    height: auto;
    margin: 0;
    margin-bottom: 48px;
  }

  .case-panel-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
  }

  .case-company {
    font-size: clamp(32px, 5vw, 48px);
  }

  .cases-progress {
    bottom: 16px;
  }
}

/* ============================================================================
   MEDIA SECTION
   ========================================================================== */

#media {
  padding: 100px 48px;
}

.media-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 0 48px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.media-track::-webkit-scrollbar {
  height: 4px;
}

.media-track::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.03);
}

.media-track::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 2px;
}

.media-track::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.25);
}

.media-card {
  flex: 0 0 340px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
  transform: translateY(var(--float, 0px));
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.media-card:hover {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(calc(var(--float, 0px) - 8px));
}

.media-img {
  width: 100%;
  height: 180px;
  background: rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

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

.media-body {
  padding: 20px;
  position: relative;
  z-index: 1;
}

.media-src {
  font-size: 12px;
  font-weight: 500;
  color: #999;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.media-title {
  font-size: 16px;
  font-weight: 600;
  color: #0a0a0a;
  line-height: 1.4;
}

/* 3D Tilt Effect */
[data-tilt] {
  transform-style: preserve-3d;
}

@media (max-width: 900px) {
  #media {
    padding: 80px 24px;
  }

  .media-track {
    padding: 0;
  }

  .media-card {
    flex: 0 0 300px;
  }
}

/* ============================================================================
   EXPERTISE SECTION
   ========================================================================== */

#expertise {
  text-align: center;
}

.expertise-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.exp-tag {
  padding: 12px 24px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 40px;
  background: transparent;
  color: #0a0a0a;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.exp-tag.lg {
  font-size: 20px;
  font-weight: 700;
}

.exp-tag.md {
  font-size: 15px;
  font-weight: 600;
}

.exp-tag.sm {
  font-size: 12px;
  color: #888;
}

.exp-tag:hover {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .expertise-cloud {
    gap: 10px;
  }

  .exp-tag {
    padding: 10px 20px;
  }

  .exp-tag.lg {
    font-size: 18px;
  }

  .exp-tag.md {
    font-size: 14px;
  }
}

/* ============================================================================
   CTA SECTION
   ========================================================================== */

#cta {
  background: #0a0a0a;
  color: #fff;
  border-radius: 28px 28px 0 0;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px
  );
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px 48px;
  text-align: center;
}

.cta-title {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 200;
  line-height: 1.2;
  margin-bottom: 32px;
}

.cta-title strong {
  font-weight: 800;
}

.cta-sub {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btns {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 16px 48px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.cta-btn:hover {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
}

.cta-btn.primary {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
}

.cta-btn.primary:hover {
  background: transparent;
  color: #fff;
}

.footer-tagline {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  #cta {
    border-radius: 24px 24px 0 0;
    margin-top: 48px;
  }

  .cta-inner {
    padding: 60px 24px;
  }

  .cta-title {
    font-size: clamp(32px, 5.5vw, 48px);
  }

  .cta-btns {
    flex-direction: column;
    gap: 16px;
  }

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

  .footer-bar {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 24px;
  }

  .footer-links {
    order: -1;
  }
}

/* ============================================================================
   REVEAL ANIMATIONS
   ========================================================================== */

/* data-reveal elements: opacity handled by mask-line/mask-inner system, NOT here */
/* data-reveal-fade: opacity set to 0 by JS on init, transitioned to 1 by JS */

.rv {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.rv.visible {
  opacity: 1;
  transform: translateY(0);
}

.rv[style*="--d"] {
  transition-delay: var(--d);
}

.rv-x {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.rv-x.visible {
  opacity: 1;
  transform: translateX(0);
}

.rv-x[style*="--d"] {
  transition-delay: var(--d);
}

.rv-m {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.rv-m.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Masked Reveal */
.rv-mask .mask-inner {
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.rv-mask.visible .mask-inner {
  transform: translateY(0);
}

/* Bubble/Scale Reveal */
.rv-bubble {
  opacity: 0;
  transform: translateY(40px) scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rv-bubble.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ============================================================================
   BILINGUAL SUPPORT
   ========================================================================== */

[data-l="ru"] {
  display: none;
}

body.ru [data-l="ru"] {
  display: inline;
}

body.ru [data-l="en"] {
  display: none;
}

/* ============================================================================
   UTILITY CLASSES
   ========================================================================== */

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.opacity-50 {
  opacity: 0.5;
}

.opacity-75 {
  opacity: 0.75;
}

.transition-all {
  transition: all 0.3s ease;
}

/* ============================================================================
   SCROLLBAR STYLING (Global)
   ========================================================================== */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.35);
}

/* ============================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
  body {
    background: #fff;
  }

  nav,
  #cursor-ring,
  #cursor-dot,
  .scroll-hint,
  #cases-progress,
  .cases-progress {
    display: none;
  }
}

/* ============================================================================
   ACCESSIBILITY
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #1a1a1a;
    color: #f0f0f0;
  }

  .seen-item {
    color: #888;
  }

  .seen-item:hover {
    color: #f0f0f0;
  }

  .nav-link::after {
    background-color: #f0f0f0;
  }

  .case-panel-inner {
    background: rgba(30, 30, 30, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .media-card {
    background: rgba(30, 30, 30, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .media-card:hover {
    background: rgba(40, 40, 40, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
  }
}
