/* ==========================================================================
   Neirt — Fonts
   ========================================================================== */

@font-face {
  font-family: 'MaisonNeueExtended';
  src: url('../fonts/MaisonNeueExtended-Light.ade92cc2.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'MaisonNeueExtended';
  src: url('../fonts/MaisonNeueExtended-Regular.f24ac6fa.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'MaisonNeueExtended';
  src: url('../fonts/MaisonNeueExtended-Medium.e7e6b6bf.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'MaisonNeueExtended';
  src: url('../fonts/MaisonNeueExtended-Semi.e2d8c1db.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'MaisonNeueExtended';
  src: url('../fonts/MaisonNeueExtended-Bold.3e2cd722.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Neirt — Hero Section
   ========================================================================== */

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

:root {
  --bg-start: #0B1522;
  --bg-end: #101010;
  --bg: #0B1522;
  --text: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.4);
  --accent: #0971F4;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --border-soft: rgba(255, 255, 255, 0.12);
  --font: 'MaisonNeueExtended', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--bg-end);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body.is-loading {
  overflow: hidden;
}

body::before {
  content: none;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img { display: block; max-width: none; }

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

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(10, 34, 71, 0.5) 0%, rgba(10, 34, 71, 0) 46%),
    linear-gradient(180deg, #09111c 0%, #0b1522 62%, #09111c 100%);
  overflow: hidden;
  transform: scale(1);
  filter: blur(0);
  transition:
    opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.95s ease;
}

.site-loader__bg {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 56%),
    url('../assets/new-bg.svg') center center / cover no-repeat;
  opacity: 0.92;
  animation: loaderBgFloat 7s ease-in-out infinite;
}

.site-loader__logo-wrap {
  position: relative;
  z-index: 1;
  width: min(58vw, 520px);
  min-width: 220px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.site-loader__logo {
  width: 100%;
  height: auto;
  animation: loaderLogoReveal 1.35s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  filter: drop-shadow(0 0 22px rgba(255, 255, 255, 0.12));
}

.site-loader__sheen {
  position: absolute;
  inset: -12% auto -12% -24%;
  width: 18%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0));
  opacity: 0.5;
  transform: skewX(-22deg);
  filter: blur(8px);
  animation: loaderSheen 1.35s ease-in-out infinite;
}

body.is-loaded .site-loader {
  opacity: 0;
  transform: scale(1.015);
  filter: blur(10px);
  visibility: hidden;
  pointer-events: none;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  pointer-events: none;
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 15, 27, 0.92), rgba(7, 15, 27, 0.78));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  opacity: 0;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.header.is-scrolled::before {
  opacity: 1;
}

.header__inner {
  position: relative;
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 clamp(24px, 8vw, 120px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  z-index: 2;
  pointer-events: none;
}

.header__inner > * {
  pointer-events: auto;
}

.header > * {
  pointer-events: auto;
}

/* Logo — center */
.header__logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
}

.header__logo-image {
  width: clamp(220px, 14vw, 300px);
  height: auto;
}

/* Nav */
.header__nav {
  display: flex;
  align-items: center;
  gap: 44px;
  flex: 1 1 0;
}

.header__nav--right {
  justify-content: flex-end;
}

.header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  flex: 1 1 0;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text);
  opacity: 0.88;
  transition: opacity 0.2s, color 0.2s;
}

.nav-link:hover {
  opacity: 1;
  color: rgba(255, 255, 255, 0.98);
}

.header__lang {
  position: relative;
  flex: 0 0 auto;
}

.header__lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 0 0 2px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.header__lang-trigger:hover {
  opacity: 1;
}

.header__lang-code {
  min-width: 22px;
}

.header__lang-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.96;
}

.header__lang-caret {
  color: rgba(255, 255, 255, 0.82);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.header__lang-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 116px;
  padding: 10px;
  display: grid;
  gap: 6px;
  border-radius: 18px;
  border: 1px solid rgba(96, 157, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(13, 24, 40, 0.96), rgba(9, 16, 28, 0.98)),
    radial-gradient(circle at top, rgba(9, 113, 244, 0.14), rgba(9, 113, 244, 0) 58%);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.96);
  transform-origin: top right;
  transition:
    opacity 0.24s ease,
    transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.24s ease;
}

.header__lang::before {
  content: '';
  position: absolute;
  top: calc(100% + 4px);
  right: 10px;
  width: 10px;
  height: 10px;
  border-top: 1px solid rgba(96, 157, 255, 0.2);
  border-left: 1px solid rgba(96, 157, 255, 0.2);
  background: rgba(12, 21, 35, 0.98);
  transform: rotate(45deg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.22s ease;
}

.header__lang.is-open::before {
  opacity: 1;
  visibility: visible;
  transform: translateY(6px) rotate(45deg);
}

.header__lang.is-open .header__lang-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.header__lang.is-open .header__lang-caret {
  transform: rotate(180deg);
  color: rgba(255, 255, 255, 0.96);
}

.header__lang-option {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.66);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.header__lang-option:hover,
.header__lang-option:focus-visible {
  color: rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.06);
}

.header__lang-option.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(9, 113, 244, 0.2), rgba(9, 113, 244, 0.08));
  box-shadow: inset 0 0 0 1px rgba(99, 168, 255, 0.18);
}

.header__menu-toggle,
.header__drawer,
.header__drawer-backdrop {
  display: none;
}

.header__menu-toggle {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.header__menu-toggle span {
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: var(--text);
}

.header__drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 16, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 109;
}

.header__drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(86vw, 360px);
  height: 100dvh;
  padding: 22px 20px 28px;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(9, 18, 31, 0.98), rgba(9, 14, 24, 0.98));
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.35);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 110;
}

.header__drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.header__drawer-logo {
  width: 148px;
  height: auto;
}

.header__drawer-close {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.header__drawer-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1.5px;
  border-radius: 999px;
  background: var(--text);
}

.header__drawer-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.header__drawer-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.header__drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.header__drawer-lang {
  margin-top: 20px;
  align-self: flex-start;
}

.header__drawer-lang .header__lang-trigger {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.header__drawer-lang .header__lang-menu {
  left: 0;
  right: auto;
  transform-origin: top left;
}

.header__drawer-lang::before {
  left: 18px;
  right: auto;
}

.header__drawer-link {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
}

.header__drawer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: auto;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  font-size: 14px;
  font-weight: 500;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .header__drawer-backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.menu-open .header__drawer {
  transform: translateX(0);
}

body.menu-open .header::before {
  opacity: 1;
}

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

.intro-shell {
  position: relative;
  z-index: 0;
  background: linear-gradient(180deg, #0b1522 0%, #101010 100%);
}

.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  min-height: 800px;
  overflow-x: visible;
  overflow-y: clip;
}

/* ── Rotating titles ── */
.hero__titles {
  position: relative;
  min-height: 280px;
}

.hero__titles > .hero__title {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin-bottom: 0;
  opacity: 0 !important;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero__titles > .hero__title.is-active {
  opacity: 1 !important;
  transform: translateY(0);
}

/* ── Hero Content — fixed overlay ── */
.hero__content {
  position: absolute;
  top: 0;
  left: max(80px, calc((100vw - 1680px) / 2 + 120px));
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 10;
  max-width: 1000px;
  pointer-events: none;
}

.hero__content > * {
  pointer-events: auto;
}

/* Background layers behind boxes */
.hero__bg-layers {
  position: absolute;
  right: 0;
  top: 0;
  width: 70%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

.hero__bg-layer {
  position: absolute;
  width: 100%;
  height: auto;
}

.hero__bg-layer--g {
  transform: scale(1.3) translateX(-10vw);
}


.hero__title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: clamp(32px, 8vh, 120px);
}

.hero__title-accent {
  color: var(--accent);
  font-weight: 700;
}

/* Slider nav */
.hero__nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(32px, 8vh, 120px);
}

.hero__nav-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.hero__nav-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  align-self: stretch;
}

.hero__nav-btn {
  color: var(--text-muted);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__nav-btn:hover {
  color: var(--text);
}

.hero__nav-bar {
  display: block;
  width: 2px;
  height: 18px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.4s, height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__nav-bar.is-active {
  background: #ffffff;
  height: 64px;
}

.hero__nav-count {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.hero__nav-count strong {
  font-weight: 700;
  color: var(--text);
}

/* CTA button */
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  width: fit-content;
}

.hero__cta-text {
  font-size: 14px;
  font-weight: 500;
  height: 50px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  border-radius: 30px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  border: none;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: relative;
}

.hero__cta-text::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 30px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero__cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: 50%;
  border: none;
  position: relative;
}

.hero__cta-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.12));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.hero__cta:hover .hero__cta-text {
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.25);
}

.hero__cta:hover .hero__cta-icon {
  background: var(--accent);
  color: white;
}

/* Bottom text */
.hero__bottom-text {
  max-width: 436px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.4);
}

.hero__bottom-bold {
  font-weight: 700;
}

.hero__bottom-regular {
  font-weight: 400;
}

.hero__stats-mobile {
  display: none;
}

.hero__stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero__stat-card {
  position: relative;
  min-height: 136px;
  padding: 18px;
  border-radius: 24px;
  border: 3px solid rgba(36, 36, 36, 1);
  background: linear-gradient(168.74deg, #131313 24.61%, #181818 100.94%);
  backdrop-filter: blur(13.5px);
  -webkit-backdrop-filter: blur(13.5px);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.hero__stat-card::before {
  content: '';
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at center, rgba(9, 113, 244, 0.22), rgba(9, 113, 244, 0) 68%),
    rgba(255, 255, 255, 0.02);
}

.hero__stat-card:hover {
  border-color: rgba(60, 60, 60, 1);
  transform: translateY(-2px);
}

.hero__stat-tag {
  display: inline-block;
  margin-bottom: 18px;
  padding-right: 40px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--accent);
}

.hero__stat-value {
  display: block;
  font-size: 34px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--text);
}

.hero__stat-label {
  display: block;
  margin-top: 12px;
  max-width: 14ch;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* ── 3D Boxes — absolute positioning ── */

.hero__boxes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  transform: translate(6%, 10%);
}

.hero__box {
  position: absolute;
  /* Wrapper = visible box area only (~70% of SVG width) */
  /* Capped at 1920px canvas equivalent */
  width: min(31vw, 595px);
  aspect-ratio: 636 / 400;
  overflow: visible;
  pointer-events: auto;
  cursor: pointer;
  opacity: 0;
  transform: translate3d(0, 48px, 0) scale(0.9);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.hero__box.is-entered {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.hero__box.is-floating {
  animation: heroFloat 4s ease-in-out infinite;
}

.hero__box img {
  position: absolute;
  pointer-events: none;
  /* SVG is ~43% larger than the visible box, so we expand and offset */
  width: 143%;
  height: auto;
  top: -15%;
  left: -21.5%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__box:hover img {
  transform: translateY(-12px);
}

/*
  Positions derived from Figma coordinates on 1920px canvas.
  Each box frame is ~636x400 in Figma, SVG viewBox is ~841-910x520-534.
  The SVG has ~100px glow padding, so we offset to compensate.

  Figma positions (x, y) → CSS (left%, top%):
  box-1 (kutu7): 1004, 198  → "379 partnerlerimiz" — top right
  box-2 (kutu5): 576, 445   → "12+ Yıl" — middle left
  box-3 (kutu6): 1008, 445  → "+300 Proje" — middle right
  box-4 (kutu2): 368, 569   → "18 Farklı Sektör" — lower left
  box-5 (kutu4): 784, 568   → "1,983,021 Kod" — lower center
  box-6 (kutu1): 1221, 571  → "7 Global Marka" — lower right
  box-7 (kutu3): 789, 804   → "%99.9 Uptime" — bottom center
*/

.hero__box--1 {
  left: 50%;
  top: 12%;
}

.hero__box--2 {
  left: 29%;
  top: 27%;
}

.hero__box--3 {
  left: 50%;
  top: 27%;
}

.hero__box--4 {
  left: 19%;
  top: 39%;
}

.hero__box--5 {
  left: 40%;
  top: 39%;
}

.hero__box--6 {
  left: 59%;
  top: 37%;
}

.hero__box--7 {
  left: 40%;
  top: 54%;
}

/* ── Scroll indicator (bottom right) ── */

.hero__scroll {
  position: absolute;
  bottom: 40px;
  right: max(80px, calc((100vw - 1680px) / 2 + 120px));
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.hero__scroll-label {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.08em;
}

.hero__scroll-bold {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.08em;
}

.hero__scroll svg {
  color: var(--text-secondary);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  background: transparent;
}

.services__container {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 clamp(24px, 8vw, 120px);
}

/* ── Intro 6-6 ── */
.services__intro {
  display: grid;
  grid-template-columns: 3fr 2fr;
  align-items: end;
  gap: 40px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 24px;
}

.services__heading {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.services__heading strong {
  font-weight: 700;
}

.services__intro-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 32px;
}

.services__intro-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: right;
}

.services__cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  height: 50px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.services__cta-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 30px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.08));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.services__cta-label {
  font-size: 14px;
  font-weight: 500;
  padding: 0 24px;
  color: var(--text);
}

.services__cta-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: var(--text);
}

.services__cta-pill:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ── Cards grid ── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  padding-top: 24px;
}

/* Row 2 cards span half = 1.5 cols each */
.svc-card--wide {
  grid-column: span 1;
}

.services__grid .svc-card:nth-child(4),
.services__grid .svc-card:nth-child(5) {
  grid-column: span 1;
}

/* Override: row 2 uses 2-col layout */
.services__grid {
  grid-template-columns: repeat(6, 1fr);
}

.services__grid .svc-card:nth-child(1),
.services__grid .svc-card:nth-child(2),
.services__grid .svc-card:nth-child(3) {
  grid-column: span 2;
  min-height: 650px;
}

.services__grid .svc-card:nth-child(4),
.services__grid .svc-card:nth-child(5) {
  grid-column: span 3;
  min-height: 500px;
}

/* ── Card ── */
.svc-card {
  position: relative;
  border-radius: 30px;
  border: 3px solid rgba(36,36,36,1);
  background: linear-gradient(168.74deg, #131313 24.61%, #181818 100.94%);
  backdrop-filter: blur(13.5px);
  -webkit-backdrop-filter: blur(13.5px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 500px;
  transition: border-color 0.3s;
}

.svc-card:hover {
  border-color: rgba(60,60,60,1);
}

/* Arrow icon — top right */
.svc-card__arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-secondary);
  transition: border-color 0.2s, color 0.2s;
  z-index: 2;
}

.svc-card:hover .svc-card__arrow {
  border-color: rgba(255,255,255,0.25);
  color: var(--text);
}

/* Visual area (top of card) */
.svc-card__visual {
  flex: 1;
  min-height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.svc-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.svc-card__visual--cover {
  padding: 0;
  position: relative;
}

.svc-card__visual--cover .svc-card__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

/* Bottom visual (row 2 cards) */
.svc-card__visual--bottom {
  flex: 1;
  min-height: 0;
  padding: 0;
  display: flex;
  align-items: flex-end;
  max-height: 300px;
  margin-top: auto;
}

.svc-card__visual--bottom .svc-card__img {
  max-height: 300px;
  object-fit: contain;
  object-position: bottom;
}

.svc-card--infra .svc-card__visual--bottom {
  width: 100%;
  position: absolute;
  height: 100%;
  bottom: 0;
  position: absolute;
  height: 100%;
  max-height: unset;
}

.svc-card--infra .svc-card__visual--bottom .svc-card__img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  max-height: unset;
}

/* Card body */
.svc-card__body {
  padding: 28px 28px 32px;
}

.svc-card--wide .svc-card__body {
  padding: 28px 28px 0;
}

.svc-card__title {
  font-size: 28px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 6px;
}

.svc-card__tag {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 12px;
}

.svc-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.svc-card__desc strong {
  color: var(--text);
  font-weight: 600;
}

/* ==========================================================================
   PROCESS SECTION
   ========================================================================== */

.process {
  position: relative;
  z-index: 1;
  padding: 120px 0 160px;
  background: var(--bg-end) url('../assets/bg-pattern.svg') center center / cover no-repeat;
}

.process__container {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 clamp(24px, 8vw, 120px);
}

/* ── Header ── */
.process__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  margin-bottom: 0;
}

.process__heading {
  font-size: 72px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
}

.process__heading strong {
  font-weight: 700;
}

.process__heading-quote {
  font-style: normal;
  opacity: 0.5;
}

.process__desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 620px;
}

.process__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-top: 8px;
}

/* ── Body (connector + cards) ── */
.process__body {
  margin-top: 48px;
  position: relative;
}

/* SVG connector — sits above cards */
.process__connector {
  display: block;
  width: 100%;
  height: 120px;
  overflow: visible;
}

/* ── Cards ── */
.process__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
}

/* ── Card ── */
.proc-card {
  position: relative;
  border-radius: 24px;
  border: 1.5px solid rgba(255,255,255,0.1);
  background: linear-gradient(180deg, rgba(19,19,19,1) 0%, rgba(22,22,22,1) 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  transition: border-color 0.3s;
}

.proc-card:hover {
  border-color: rgba(255,255,255,0.2);
}

/* Icon area — top section */
.proc-card__icon-area {
  position: relative;
  flex: 1;
  min-height: 180px;
}

.proc-card__img {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 100px;
  height: 100px;
  object-fit: contain;
}

/* Card body — bottom text */
.proc-card__body {
  padding: 28px 28px 32px;
}

.proc-card__title {
  font-size: 32px;
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 16px;
}

.proc-card__title strong {
  font-weight: 700;
  display: block;
}

.proc-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   REFERENCES SECTION
   ========================================================================== */

.refs {
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
  background: var(--bg-end) url('../assets/bg-pattern.svg') center center / cover no-repeat;
  overflow: visible;
}

.refs__container {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 clamp(24px, 8vw, 120px);
}

/* ── Header ── */
.refs__header {
  position: relative;
  text-align: center;
  margin-bottom: 40px;
}

.refs__header-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.3);
  width: 100%;
  max-width: 1000px;
  height: auto;
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}

.refs__header > *:not(.refs__header-bg) {
  position: relative;
  z-index: 1;
}

.refs__heading {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.refs__heading strong {
  font-weight: 700;
}

.refs__subtitle {
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 20px;
}

.refs__desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto;
}


/* ── Stage: CTA + Logos merged ── */
.refs__stage {
  position: relative;
  max-width: 1680px;
  margin: 0 auto;
}

/* ── CTA (centered above logos) ── */
.refs__cta-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.refs__join {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}

/* ══════════════════════════════════════════════
   LOGOS — 3 chevron V paths
   Each V: left arm descends ↘  then right arm ascends ↗
   Logos sit ON the V line like beads on a string
   ══════════════════════════════════════════════ */

.refs__logos {
  position: relative;
  width: 100%;
  height: 680px;
  margin-top: -60px;
}

/* Desktop: tracks are transparent pass-through containers */
.refs__track,
.refs__track-inner {
  position: static;
  display: contents;
}

.refs__logo {
  position: absolute;
  height: auto;
  width: 120px;
  --refs-logo-opacity: 0.4;
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.94);
  filter: brightness(0) invert(1);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.6s ease;
  transition-delay: var(--logo-delay, 0s);
}

.refs__logos.is-entered .refs__logo {
  opacity: var(--refs-logo-opacity);
  transform: translate3d(0, 0, 0) scale(1);
}

.refs__logo.is-glowing {
  opacity: 1;
  filter: brightness(0) invert(1) drop-shadow(0 0 18px rgba(255,255,255,0.6)) drop-shadow(0 0 40px rgba(255,255,255,0.3));
}

/* Per-logo width normalization */
.refs__logo[alt="VitrA"]            { width: 110px; }
.refs__logo[alt="Doona"]            { width: 120px; }
.refs__logo[alt="Koçak"]            { width: 110px; }
.refs__logo[alt="McDonald's"]       { width: 90px; }
.refs__logo[alt="Hole Academie"]    { width: 75px; }
.refs__logo[alt="Turkish Airlines"] { width: 150px; }
.refs__logo[alt="Dr. Fischer"]      { width: 100px; }
.refs__logo[alt="Waytosay"]         { width: 100px; }
.refs__logo[alt="Artema"]           { width: 120px; }
.refs__logo[alt="Nuhpanel"]         { width: 110px; }
.refs__logo[alt="Huawei"]           { width: 80px; }
.refs__logo[alt="Technic"]          { width: 110px; }
.refs__logo[alt="Ford Otosan"]      { width: 140px; }
.refs__logo[alt="Ağaoğlu"]          { width: 110px; }
.refs__logo[alt="Eton"]             { width: 70px; }
.refs__logo[alt="Avicenna"]         { width: 130px; }
.refs__logo[alt="Noseri"]           { width: 48px; }
.refs__logo[alt="Han Spaces"]       { width: 140px; }
.refs__logo[alt="Enox"]             { width: 95px; }
.refs__logo[alt="DSV"]              { width: 80px; }

/* ─────────────────────────────────
   V1 — top chevron (widest)
   Left arm: l1 → l2 → l3 → b (bottom)
   Right arm: b → r3 → r2 → r1
   
   V shape: starts at ~5% from edges,
   descends to ~42% at center
   ───────────────────────────────── */
.refs__v1-l1 { left: 3%;   top: 0%; }
.refs__v1-l2 { left: 16%;  top: 14%; }
.refs__v1-l3 { left: 28%;  top: 28%; }
.refs__v1-b  { left: 40%;  top: 38%; }
.refs__v1-r3 { right: 28%; top: 28%; }
.refs__v1-r2 { right: 16%; top: 14%; }
.refs__v1-r1 { right: 3%;  top: 0%; }

/* ─────────────────────────────────
   V2 — middle chevron
   Narrower, more spacing from V1
   ───────────────────────────────── */
.refs__v2-l1 { left: 10%;  top: 28%; }
.refs__v2-l2 { left: 20%;  top: 40%; }
.refs__v2-l3 { left: 30%;  top: 52%; }
.refs__v2-b  { left: 45%;  top: 62%; }
.refs__v2-r3 { right: 30%; top: 52%; }
.refs__v2-r2 { right: 18%; top: 40%; }
.refs__v2-r1 { right: 6%;  top: 28%; }

/* ─────────────────────────────────
   V3 — bottom chevron (narrowest)
   More spacing from V2
   ───────────────────────────────── */
.refs__v3-l1 { left: 20%;  top: 56%; }
.refs__v3-l2 { left: 28%;  top: 66%; }
.refs__v3-b  { left: 45%;  top: 82%; }
.refs__v3-r2 { right: 26%; top: 66%; }
.refs__v3-r1 { right: 16%; top: 56%; }
.refs__v3-r0 { right: 8%;  top: 72%; }

/* ==========================================================================
   ABOUT + FAQ
   ========================================================================== */

.about-faq {
  position: relative;
  z-index: 2;
  padding: 100px 0 200px;
  background: linear-gradient(to bottom, var(--bg-end) 0%, var(--bg-end) 70%, transparent 100%);
}

.about-faq__container {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 clamp(24px, 8vw, 120px);
  padding-bottom: 120px;
}

/* ── Header ── */
.about-faq__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 64px;
  gap: 40px;
}

.about-faq__heading {
  font-size: clamp(24px, 3.2vw, 44px);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

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

.about-faq__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 8px;
  transition: color 0.3s;
}

.about-faq__link:hover {
  color: var(--accent);
}

.about-faq__link-icon {
  width: 14px;
  height: 14px;
}

/* ── FAQ List ── */
.about-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── FAQ Item (glassmorphism card) ── */
.faq-item {
  border-radius: 20px;
  background: rgba(137, 137, 137, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  transition: background 0.3s;
}

.faq-item[open] {
  background: rgba(137, 137, 137, 0.08);
}

/* ── Summary (question header) ── */
.faq-item__header {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 32px 40px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-item__header::-webkit-details-marker {
  display: none;
}

.faq-item__header::marker {
  content: '';
}

/* ── Icon: + / — toggle ── */
.faq-item__icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Horizontal bar (always visible) */
.faq-item__icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--text);
  transform: translateY(-50%);
  border-radius: 2px;
  transition: opacity 0.3s;
}

/* Vertical bar (hidden when open → forms +) */
.faq-item__icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2.5px;
  height: 100%;
  background: var(--text);
  transform: translateX(-50%);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.faq-item[open] .faq-item__icon::after {
  transform: translateX(-50%) scaleY(0);
  opacity: 0;
}

/* ── Question text ── */
.faq-item__question {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
}

/* ── Answer body ── */
.faq-item__body {
  padding: 0 40px 32px 92px;
}

.faq-item__body p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 900px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  position: relative;
  overflow: initial;
  margin-top: -500px;
  padding-top: 500px;
}

/* Smooth transition handled by overflow: initial + padding/margin trick */
.footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: clamp(180px, 24vw, 360px);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(16, 16, 16, 1) 0%, rgba(16, 16, 16, 0.72) 38%, rgba(16, 16, 16, 0) 100%);
}

/* ── Video background ── */
.footer__video {
  position: absolute;
  top: -500px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100% + 500px);
  object-fit: cover;
  z-index: 0;
  transform: translateZ(0);
}

/* ── Content overlay ── */
.footer__content {
  position: relative;
  z-index: 3;
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 clamp(24px, 8vw, 120px);
}

/* ── Claw ── */
.footer__claw {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 2;
  pointer-events: none;
  opacity: 0.92;
}

/* ── Logo area ── */
.footer__logo-area {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-end;
  column-gap: 28px;
  padding: clamp(80px, 8vw, 200px) 0 48px;
}

.footer__logo-wrap {
  min-width: 0;
}

.footer__logo {
  width: 100%;
  height: auto;
}

.footer__lang {
  align-self: end;
  margin-bottom: 12px;
}

.footer__lang::before {
  display: none;
}

.footer__lang .header__lang-menu {
  top: auto;
  bottom: calc(100% + 14px);
  transform: translateY(8px) scale(0.96);
  transform-origin: bottom right;
}

.footer__lang.is-open .header__lang-menu {
  transform: translateY(0) scale(1);
}

/* ── Link columns ── */
.footer__links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(320px, 1.45fr);
  gap: clamp(32px, 2.6vw, 56px);
  padding-bottom: 48px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.footer__link:hover {
  color: #fff;
}

/* Contact column */
.footer__col--contact {
  gap: 8px;
  max-width: 420px;
  justify-self: end;
}

.footer__contact-line {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer__contact-line strong {
  color: #fff;
  font-weight: 600;
}

/* ── Bottom bar ── */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  gap: 24px;
}

.footer__copyright {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__policies {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer__policies a {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s;
}

.footer__policies a:hover {
  color: #fff;
}

.footer__sep {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
}

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

/* ── Keyframes ── */

@keyframes loaderBgFloat {
  0%, 100% { transform: scale(1.02) translate3d(0, 0, 0); }
  50%      { transform: scale(1.06) translate3d(0, -1.5%, 0); }
}

@keyframes loaderLogoReveal {
  0% {
    opacity: 0.18;
    clip-path: inset(0 100% 0 0);
    transform: translate3d(-22px, 0, 0);
  }
  28%, 72% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0);
  }
  100% {
    opacity: 0.18;
    clip-path: inset(0 0 0 100%);
    transform: translate3d(22px, 0, 0);
  }
}

@keyframes loaderSheen {
  0%   { transform: translate3d(0, 0, 0) skewX(-22deg); opacity: 0; }
  22%  { opacity: 0; }
  48%  { opacity: 0.52; }
  78%  { opacity: 0; }
  100% { transform: translate3d(680%, 0, 0) skewX(-22deg); opacity: 0; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes clipRevealLeft {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.92) translateY(30px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes slideFromRight {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(9, 113, 244, 0); }
  50%      { box-shadow: 0 0 20px 2px rgba(9, 113, 244, 0.15); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

@keyframes marquee-ltr {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-rtl {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ── Hero — Load-triggered (body.is-loaded) ── */

.hero__titles,
.hero__nav,
.hero__cta,
.hero__bottom-text,
.hero__stats-mobile,
.hero__scroll {
  opacity: 0;
}

body.is-loaded .hero__titles {
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

body.is-loaded .hero__nav {
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

body.is-loaded .hero__cta {
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

body.is-loaded .hero__bottom-text {
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

body.is-loaded .hero__stats-mobile {
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

body.is-loaded .hero__scroll {
  animation: fadeIn 0.8s ease 1.1s forwards;
}

/* Scroll indicator — continuous bounce */
body.is-loaded .hero__scroll svg {
  animation: scrollBounce 2s ease-in-out 1.8s infinite;
}

/* CTA glow pulse — subtle continuous */
body.is-loaded .hero__cta-icon {
  animation: ctaGlow 3s ease-in-out 1.5s infinite;
}

/* ── Scroll-triggered reveal — base states ── */

[data-anim="fade-up"] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-anim="fade-up"].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-anim="clip-left"] {
  opacity: 0;
  transform: translate3d(-24px, 0, 0);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-anim="clip-left"].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

[data-anim="scale-up"] {
  opacity: 0;
  transform: scale(0.92) translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-anim="scale-up"].is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

[data-anim="slide-right"] {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-anim="slide-right"].is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── SVG Connector Draw-on ── */

.process__connector path {
  transition: stroke-dashoffset 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.process__connector.is-drawing path {
  stroke-dashoffset: 0 !important;
}

/* Stagger the branches */
.process__connector.is-drawing path:nth-child(1) { transition-delay: 0s; }
.process__connector.is-drawing path:nth-child(2) { transition-delay: 0.3s; }
.process__connector.is-drawing path:nth-child(3) { transition-delay: 0.3s; }
.process__connector.is-drawing path:nth-child(4) { transition-delay: 0.3s; }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-anim] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1440px) {
  .header__inner {
    padding: 0 80px;
  }
  .header__nav {
    gap: 36px;
  }
  .hero__content {
    left: 80px;
  }
  .hero__scroll {
    right: 80px;
  }
  .process__container {
    padding: 0 80px;
  }
  .process__heading {
    font-size: 60px;
  }
  .services__container {
    padding: 0 80px;
  }
}

@media (max-width: 1200px) {
  .hero__box {
    width: 36vw;
  }
  .process__heading {
    font-size: 48px;
  }
  .proc-card__title {
    font-size: 26px;
  }
  .services__heading {
    font-size: 44px;
  }
}

@media (max-width: 992px) {
  .header__inner {
    padding: 0 40px;
  }
  .header__nav {
    gap: 28px;
  }
  .header__logo-image {
    width: clamp(190px, 18vw, 250px);
  }
  .hero__content {
    left: 40px;
    max-width: 55%;
  }
  .hero__scroll {
    right: 40px;
  }
  .process__container {
    padding: 0 40px;
  }
  .process__heading {
    font-size: 40px;
  }
  .process {
    padding: 80px 0 100px;
  }
  .services__container {
    padding: 0 40px;
  }
  .services__heading {
    font-size: 36px;
  }
  .footer__links {
    grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(260px, 1.25fr);
    gap: 28px;
  }
  .footer__col--contact {
    max-width: 320px;
  }
  .services__intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .services__intro-right {
    align-items: flex-start;
  }
  .services__intro-desc {
    text-align: left;
  }
  .services__grid {
    grid-template-columns: 1fr 1fr;
  }
  .services__grid .svc-card:nth-child(1),
  .services__grid .svc-card:nth-child(2),
  .services__grid .svc-card:nth-child(3),
  .services__grid .svc-card:nth-child(4),
  .services__grid .svc-card:nth-child(5) {
    grid-column: span 1;
  }
  .svc-card {
    min-height: 480px;
  }

  /* ── References tablet ── */
  .refs__container {
    padding: 0 40px;
  }
  .refs__heading {
    font-size: 40px;
  }
  .refs__logos {
    height: 560px;
    margin-top: -40px;
  }
  .refs__logo {
    width: 80px !important;
  }
  .refs__logo[alt="McDonald's"],
  .refs__logo[alt="DSV"],
  .refs__logo[alt="Huawei"],
  .refs__logo[alt="Noseri"]        { width: 50px !important; }
  .refs__logo[alt="Turkish Airlines"],
  .refs__logo[alt="Ford Otosan"],
  .refs__logo[alt="Han Spaces"]    { width: 100px !important; }
  .refs__logo[alt="Hole Academie"],
  .refs__logo[alt="Eton"]          { width: 50px !important; }

  /* ── About+FAQ tablet ── */
  .about-faq__container {
    padding: 0 40px;
  }
  .about-faq__heading {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .intro-shell,
  .hero,
  .refs,
  .footer {
    overflow-x: clip;
  }

  .header {
    padding: 16px 0;
  }
  .header__inner {
    padding: 0 24px;
    min-height: 56px;
  }
  .header__nav--left,
  .header__nav--right,
  .header__actions {
    display: none;
  }
  .header__logo {
    position: relative;
    left: auto;
    transform: none;
  }
  .header__logo-image {
    width: 148px;
  }
  .header__menu-toggle,
  .header__drawer,
  .header__drawer-backdrop {
    display: flex;
  }
  .header__menu-toggle {
    margin-left: auto;
  }
  .hero__content {
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    height: auto;
    max-width: 100%;
    width: 100%;
    padding: 0 24px;
    justify-content: flex-start;
    z-index: 10;
    order: 1;
    gap: 0;
    padding-top: 24px;
  }

  .hero {
    height: auto;
    min-height: auto;
    padding: 128px 0 48px;
    display: flex;
    flex-direction: column;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: 68px;
    left: 50%;
    width: min(84vw, 420px);
    height: min(84vw, 420px);
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(9, 113, 244, 0.18) 0%, rgba(9, 113, 244, 0) 72%);
    filter: blur(10px);
    pointer-events: none;
  }

  .hero__titles {
    width: 100%;
    min-height: 0;
    padding-top: 8px;
    margin-bottom: 22px;
  }

  .hero__title {
    max-width: 11ch;
    margin-bottom: 0 !important;
    font-size: clamp(42px, 11.8vw, 62px);
    line-height: 0.92;
    letter-spacing: -0.04em;
  }

  .hero__nav {
    width: 100%;
    max-width: 330px;
    margin-top: 0;
    margin-bottom: 18px !important;
    padding: 12px 14px;
    justify-content: space-between;
    gap: 16px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .hero__nav-bars {
    flex-direction: row;
    gap: 8px;
    align-items: center;
  }

  .hero__nav-controls {
    flex-direction: row;
    gap: 12px;
    align-items: center;
    align-self: auto;
  }

  .hero__nav-bar {
    width: 26px;
    height: 2px;
    border-radius: 999px;
  }

  .hero__nav-bar.is-active {
    width: 52px;
    height: 2px;
  }

  .hero__nav-count {
    min-width: 38px;
    text-align: center;
  }

  .hero__nav-prev svg,
  .hero__nav-next svg {
    transform: rotate(-90deg);
  }

  .hero__cta {
    width: 100%;
    max-width: 330px;
    justify-content: stretch;
    gap: 0;
    margin-top: 0;
    margin-bottom: 18px;
  }

  .hero__cta-text {
    flex: 1;
    justify-content: center;
    height: 56px;
    padding: 0 24px;
    font-size: 15px;
  }

  .hero__cta-icon {
    display: none;
  }

  .hero__bottom-text {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.45;
    margin-top: 0;
    margin-bottom: 16px;
  }

  .hero__bottom-bold {
    display: block;
    margin-bottom: 6px;
  }

  .hero__stats-mobile {
    display: block;
    width: 100%;
    margin-top: 0;
    padding: 0;
  }

  .hero__boxes {
    display: none;
  }

  .hero__scroll {
    display: none;
  }

  .hero__bg-layers {
    width: 100%;
    opacity: 0.38;
    justify-content: flex-end;
    transform: none;
  }

  .hero__bg-layer--bg {
    width: 160%;
    max-width: none;
    right: -32%;
    top: 2%;
  }

  .hero__bg-layer--g {
    width: 150%;
    max-width: none;
    right: -20%;
    top: 8%;
    transform: none;
  }

  .refs__header {
    overflow-x: clip;
  }

  /* ── Process ── */
  .process {
    padding: 64px 0 80px;
  }
  .process__container {
    padding: 0 24px;
  }
  .process__heading {
    font-size: 32px;
  }
  .process__desc {
    font-size: 13px;
  }
  .process__connector {
    display: none;
  }
  .process__cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .proc-card {
    min-height: auto;
    flex-direction: row;
    border-radius: 16px;
  }
  .proc-card__icon-area {
    flex: 0 0 100px;
    padding: 20px;
    border-bottom: none;
    border-right: 1.5px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .proc-card__img {
    position: static;
    width: 56px;
    height: 56px;
  }
  .proc-card__body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .proc-card__title {
    font-size: 20px;
    margin-bottom: 6px;
  }
  .proc-card__title strong {
    display: inline;
  }
  .proc-card__desc {
    font-size: 12px;
    line-height: 1.5;
  }

  /* ── Services ── */
  .services {
    padding: 64px 0;
  }
  .services__container {
    padding: 0 24px;
  }
  .services__heading {
    font-size: 28px;
  }
  .services__intro {
    grid-template-columns: 1fr;
    padding-bottom: 40px;
  }
  .services__grid {
    grid-template-columns: 1fr;
  }
  .services__grid .svc-card:nth-child(1),
  .services__grid .svc-card:nth-child(2),
  .services__grid .svc-card:nth-child(3),
  .services__grid .svc-card:nth-child(4),
  .services__grid .svc-card:nth-child(5) {
    grid-column: span 1;
  }
  .svc-card {
    min-height: 400px;
  }

  /* ── References ── */
  .refs {
    padding: 64px 0 40px;
  }
  .refs__container {
    padding: 0 24px;
  }
  .refs__heading {
    font-size: 28px;
  }
  .refs__subtitle {
    font-size: 14px;
  }

  /* Tablet: shrunk V chevrons */
  .refs__logos {
    height: 420px;
    margin-top: -20px;
  }
  .refs__logo {
    width: 65px !important;
  }
  .refs__logo[alt="McDonald's"],
  .refs__logo[alt="DSV"],
  .refs__logo[alt="Huawei"],
  .refs__logo[alt="Noseri"]        { width: 38px !important; }
  .refs__logo[alt="Turkish Airlines"],
  .refs__logo[alt="Ford Otosan"],
  .refs__logo[alt="Han Spaces"]    { width: 85px !important; }
  .refs__logo[alt="Hole Academie"],
  .refs__logo[alt="Eton"]          { width: 40px !important; }

  /* ── About+FAQ mobile ── */
  .about-faq {
    padding: 64px 0 80px;
  }
  .about-faq__container {
    padding: 0 24px;
  }
  .about-faq__header {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
  }
  .about-faq__heading {
    font-size: 22px;
  }
  .faq-item__header {
    padding: 20px 24px;
    gap: 16px;
  }
  .faq-item__question {
    font-size: 16px;
  }
  .faq-item__body {
    padding: 0 24px 20px 60px;
  }
  .faq-item__body p {
    font-size: 13px;
  }

  /* ── Footer mobile ── */
  .footer__logo-area {
    padding: 40px 0 32px;
    grid-template-columns: 1fr;
    justify-items: flex-start;
    row-gap: 18px;
  }
  .footer__logo {
    max-width: 240px;
  }
  .footer__lang {
    margin-bottom: 0;
  }
  .footer__lang .header__lang-menu {
    top: calc(100% + 12px);
    bottom: auto;
    transform: translateY(-8px) scale(0.96);
    transform-origin: top left;
  }
  .footer__lang.is-open .header__lang-menu {
    transform: translateY(0) scale(1);
  }
  .footer__links {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .footer__col--contact {
    grid-column: 1 / -1;
    max-width: none;
    justify-self: stretch;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer__policies {
    gap: 6px;
  }
}

/* ── MOBILE: marquee sliders ── */
@media (max-width: 640px) {
  .hero {
    padding-top: 126px;
  }

  .hero__content {
    padding: 18px 20px 0;
  }

  .hero__titles {
    min-height: 0;
    padding-top: 10px;
    margin-bottom: 20px;
  }

  .hero__title {
    font-size: clamp(38px, 12vw, 54px);
    line-height: 0.96;
    max-width: 10.5ch;
  }

  .hero__nav,
  .hero__cta {
    max-width: none;
  }

  .hero__nav {
    margin-bottom: 16px !important;
  }

  .hero__cta-text {
    height: 58px;
    font-size: 14px;
  }

  .hero__stats-mobile {
    padding: 0;
  }

  .hero__stat-card {
    min-height: 128px;
    padding: 14px;
    border-radius: 18px;
  }

  .hero__stat-tag {
    margin-bottom: 16px;
    font-size: 11px;
  }

  .hero__stat-value {
    font-size: 30px;
  }

  .hero__stat-label {
    font-size: 11px;
  }

  .refs__logos {
    position: relative;
    height: auto !important;
    margin-top: 24px !important;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow: hidden;
    width: 100vw;
    margin-left: -24px;
  }

  /* Tracks become visible horizontal scroll strips */
  .refs__track,
  .refs__track-inner {
    display: flex !important;
  }
  .refs__track {
    overflow: hidden;
    width: 100%;
  }
  .refs__track-inner {
    display: flex !important;
    align-items: center;
    gap: 48px;
    white-space: nowrap;
    will-change: transform;
  }

  /* Track 1 (V1): left → right */
  .refs__track--1 .refs__track-inner {
    animation: marquee-ltr 20s linear infinite;
  }
  /* Track 2 (V2): right → left */
  .refs__track--2 .refs__track-inner {
    animation: marquee-rtl 22s linear infinite;
  }
  /* Track 3 (V3): left → right */
  .refs__track--3 .refs__track-inner {
    animation: marquee-ltr 18s linear infinite;
  }

  /* Reset all absolute positioning */
  .refs__logo {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 80px !important;
    flex-shrink: 0;
    --refs-logo-opacity: 0.5;
  }
  .refs__logo[alt="McDonald's"],
  .refs__logo[alt="DSV"],
  .refs__logo[alt="Huawei"],
  .refs__logo[alt="Noseri"]       { width: 50px !important; }
  .refs__logo[alt="Turkish Airlines"],
  .refs__logo[alt="Ford Otosan"],
  .refs__logo[alt="Han Spaces"]   { width: 100px !important; }
}
