body {
  background-color: #121414;
  color: #e2e2e2;
  overflow-x: hidden;
}

/* Respect prefers-reduced-motion: disable CSS animations & transitions,
   force decorative infinite loops to a static single-frame state.
   JS-driven GSAP timelines are additionally sped up in main.js. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto !important; }
}

/* ── Header nav links ── */
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: "Geist", sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #2f353a;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease;
  line-height: 1;
}
.nav-link:hover { color: #2f7a1e; }
.nav-chev {
  font-size: 18px !important;
  line-height: 1;
  transition: transform 0.3s ease;
  color: currentColor;
}
.nav-link-drop:hover .nav-chev { transform: rotate(180deg); }

.bento-card {
  background: linear-gradient(180deg, rgba(30, 32, 32, 0.8) 0%, rgba(26, 28, 28, 0.9) 100%);
  border: 1px solid #3b4b35;
  transition: all 0.3s ease;
}

.bento-card:hover {
  border-color: #77ff5f;
  box-shadow: inset 0 0 0 1px rgba(119, 255, 95, 0.1), 0 0 20px rgba(20, 255, 0, 0.05);
}

.glowing-text {
  text-shadow: 0 0 20px rgba(119, 255, 95, 0.3);
}

.spotlight {
  background: radial-gradient(circle at 50% 0%, rgba(20, 255, 0, 0.15) 0%, transparent 70%);
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-content {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

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

/* (Legacy marquee kept for potential reuse — no longer used in hero preview) */
.marquee-vertical { animation: marquee-vertical 30s linear infinite; will-change: transform; }
@keyframes marquee-vertical { from { transform: translateY(0); } to { transform: translateY(-50%); } }

/* ── Hero background image (blurred, only covers the first viewport) ── */
.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background-image: url("../img/herobg.jpeg");
  background-size: cover;
  background-position: center;
  filter: blur(10px);
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
  transform: scale(1.08); /* prevents blur edge visibility */
}

/* ── Hero device showcase — laptop (back) + phone (front) with rotating screens ── */
.device-showcase {
  position: relative;
  width: min(900px, 80vw);
  height: 620px;
  perspective: 1600px;
}

/* Laptop — centered, back (shifted slightly left) */
.device-laptop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% - 90px), -50%);
  width: 780px;
  max-width: 88%;
  z-index: 1;
}
.device-laptop-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #1a1e24;
  border-radius: 16px 16px 4px 4px;
  padding: 20px 20px 26px;
  box-shadow:
    0 45px 90px -20px rgba(0, 0, 0, 0.35),
    inset 0 0 0 2px rgba(255, 255, 255, 0.04);
}
.device-laptop-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
}
.device-laptop-base {
  position: relative;
  width: 108%;
  margin: 0 auto;
  margin-left: -4%;
  height: 16px;
  background: linear-gradient(180deg, #2a2f37 0%, #16191d 100%);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.4);
}
.device-laptop-hinge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20%;
  height: 6px;
  background: #0d0f12;
  border-radius: 0 0 6px 6px;
}

/* Phone — front-right, smaller (shifted slightly left) */
.device-phone {
  position: absolute;
  bottom: -50px;
  right: 70px;
  width: 200px;
  aspect-ratio: 9 / 19;
  background: #0f1319;
  border-radius: 32px;
  padding: 10px;
  z-index: 3;
  box-shadow:
    0 35px 70px -18px rgba(0, 0, 0, 0.4),
    inset 0 0 0 2px rgba(63, 176, 40, 0.28);
}
.device-phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 16px;
  background: #0a0d12;
  border-radius: 999px;
  z-index: 2;
}
.device-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
}

/* Screen slides (rotate via .ds-active) */
.ds-slide, .ds-slide-phone {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.ds-slide.ds-active, .ds-slide-phone.ds-active {
  opacity: 1;
}

/* Gentle floating */
@keyframes device-float-slow {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}
@keyframes device-float-fast {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -14px; }
}

@media (max-width: 768px) {
  .device-showcase { height: 400px; }
  .device-laptop { width: 480px; }
  .device-phone { width: 130px; bottom: -30px; right: 0; }
}

/* ── Floating stat cards over device showcase (Büyüme · Aktif Kullanıcı · Gelir Akışı) ── */
.ds-stat {
  position: absolute;
  z-index: 10;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  box-shadow:
    0 24px 60px -20px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  min-width: 200px;
}
.ds-stat-growth  { top: -6%;  left: -22%; }
.ds-stat-users   { bottom: -30%; left: -14%; }
.ds-stat-revenue { top: 24%; right: -55%; min-width: 220px; }

/* Label — small, lowercase, mono, editorial */
.ds-stat-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #6b7561;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.ds-stat-label .ds-year {
  font-size: 9px;
  color: #b0b8ab;
  margin-left: 2px;
}
.ds-stat-label-lg {
  font-family: "Geist", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #2f353a;
  letter-spacing: 0.005em;
}
.ds-stat-label-lg .ds-italic {
  font-style: italic;
  font-weight: 400;
  color: #7a8577;
}

/* Value — huge, mixed style */
.ds-stat-value {
  font-family: "Space Grotesk", "Geist", sans-serif;
  font-weight: 700;
  font-size: 34px;
  color: #1a2413;
  letter-spacing: -0.03em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.ds-stat-value .ds-sign {
  color: #3fb028;
  font-weight: 500;
  font-size: 26px;
  margin-right: 2px;
  font-style: italic;
}
.ds-stat-value .ds-unit {
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #6b7561;
  font-style: italic;
  margin-left: 4px;
}
.ds-stat-caption {
  font-family: "Geist", sans-serif;
  font-size: 11px;
  color: #8a938a;
  margin-top: 6px;
  font-style: italic;
  letter-spacing: 0.02em;
}

/* Standalone transparent chart card — only the graph, no text */
.ds-stat-chart-only {
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  padding: 0;
  min-width: 900px;
  width: 1000px;
  position: absolute;
  z-index: 0;
}

/* Transparent icon-only variant (used for Aktif Kullanıcı avatar stack + number) */
.ds-stat-icon-only {
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  padding: 0;
  min-width: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Avatar stack */
.ds-avatars {
  display: inline-flex;
  align-items: center;
}
.ds-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 5px solid #e8e8e8;
  overflow: hidden;
  margin-left: -24px;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.24);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.ds-avatar:first-child { margin-left: 0; }
.ds-avatar:hover { transform: translateY(-4px); }
.ds-avatar-more {
  background: #ffffff;
  color: #2f5a1e;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
}

/* Users big number */
.ds-users-num {
  font-family: "Comfortaa", "Geist", sans-serif;
  font-weight: 700;
  font-size: 72px;
  color: #1a2413;
  letter-spacing: -0.03em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.ds-users-unit {
  font-family: "Comfortaa", "Geist", sans-serif;
  font-weight: 700;
  font-size: 40px;
  color: #0f2601;
  letter-spacing: -0.01em;
  margin-left: 8px;
}
.ds-stat-icon-only { gap: 28px; }

/* Labeled variant — "Aktif Kullanıcı" label spans full row width above avatars + number */
.ds-stat-users-labeled.ds-stat-icon-only {
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 26px;
}
.ds-users-label {
  font-family: "Comfortaa", "Geist", sans-serif;
  font-weight: 700;
  font-size: 56px;
  color: #0f2601;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: 0.28em;
}
.lbl-slot {
  display: inline-block;
  overflow: hidden;
  line-height: 1;
  vertical-align: bottom;
}
.lbl-part {
  display: inline-block;
  will-change: transform;
}
.ds-users-row {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Revenue card — 2D flat ascending bar chart with Comfortaa label below */
.ds-stat-revenue-labeled.ds-stat-icon-only {
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 14px;
}
.ds-2d-chart {
  width: 540px;
  height: 300px;
  overflow: visible;
}
.ds-revenue-label {
  font-family: "Comfortaa", "Geist", sans-serif;
  font-weight: 700;
  font-size: 72px;
  color: #2f353a;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
  align-self: center;
  transform: translateY(-40px);
}
.ds-2d-chart .ds-2d-bar {
  transform-origin: 50% 100%;
  transform-box: fill-box;
  transform: scaleY(0);
  opacity: 0;
}
.ds-2d-chart .ds-2d-bar.ds-drawn {
  animation: ds-2d-bar-grow 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i) * 0.12s);
}
@keyframes ds-2d-bar-grow {
  to { transform: scaleY(1); opacity: 1; }
}
.ds-chart-signature {
  position: absolute;
  top: -48px;
  left: -16%;
  font-family: "Comfortaa", "Geist", sans-serif;
  font-weight: 700;
  font-size: 76px;
  letter-spacing: -0.01em;
  color: #2f353a;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  gap: 20px;
}
.ds-chart-signature em {
  font-style: normal;
  color: #2f353a;
  font-weight: 700;
  font-family: "Comfortaa", "Geist", sans-serif;
  font-size: 88px;
  letter-spacing: -0.02em;
}
.ds-chart {
  display: block;
  width: 100%;
  height: 340px;
  overflow: visible;
}
.ds-chart-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  filter: drop-shadow(0 4px 10px rgba(45, 95, 255, 0.28));
}
.ds-chart-line.ds-drawn {
  animation: ds-chart-draw 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.ds-chart-area.ds-drawn {
  animation: ds-chart-area-in 1.4s ease-out 0.8s forwards;
}
@keyframes ds-chart-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes ds-chart-area-in {
  to { opacity: 1; }
}

/* Live pulse dot */
.ds-live-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3fb028;
}
.ds-live-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #3fb028;
  animation: ds-live-ping 1.8s ease-out infinite;
}
@keyframes ds-live-ping {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* Revenue card layout */
.ds-stat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.ds-badge {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: #3fb028;
  font-size: 15px;
  letter-spacing: -0.01em;
  font-style: italic;
}
.ds-stat-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 44px;
}
.ds-stat-bars span {
  flex: 1;
  height: var(--h, 40%);
  border-radius: 4px 4px 1px 1px;
  background: rgba(63, 176, 40, 0.2);
  transform-origin: bottom;
  animation: ds-bar-grow 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transform: scaleY(0);
  opacity: 0;
}
.ds-stat-bars span:nth-child(1) { animation-delay: 0.7s; }
.ds-stat-bars span:nth-child(2) { animation-delay: 0.85s; background: rgba(63, 176, 40, 0.35); }
.ds-stat-bars span:nth-child(3) { animation-delay: 1.0s;  background: rgba(63, 176, 40, 0.5); }
.ds-stat-bars span:nth-child(4) { animation-delay: 1.15s; background: rgba(63, 176, 40, 0.75); }
.ds-stat-bars span:nth-child(5) { animation-delay: 1.3s;  background: #3fb028; }
@keyframes ds-bar-grow {
  to { transform: scaleY(1); opacity: 1; }
}

/* ── Hero showcase — modernized device composition (phone + tablet + floating stats) ── */
.hero-showcase {
  position: relative;
  perspective: 1400px;
}

/* Common device styling */
.hero-device {
  position: absolute;
  background: #1a2028;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tablet — behind phone, offset left and rotated */
.hero-device-tablet {
  top: 50%;
  left: 22%;
  width: 55%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  padding: 8px;
  transform: translate(-50%, -50%) rotate(-8deg) translateZ(-30px);
  box-shadow: 0 30px 60px -22px rgba(0, 0, 0, 0.32);
  z-index: 1;
}
.hero-device-tablet img {
  border-radius: 12px;
  filter: brightness(0.92) saturate(1.05);
}

/* Phone — dead center */
.hero-device-phone {
  top: 50%;
  left: 50%;
  width: 38%;
  aspect-ratio: 9 / 19;
  border-radius: 34px;
  padding: 10px;
  transform: translate(-50%, -50%);
  box-shadow: 0 45px 90px -25px rgba(0, 0, 0, 0.4),
              inset 0 0 0 2px rgba(63, 176, 40, 0.35),
              inset 0 0 0 4px rgba(63, 176, 40, 0.1);
  z-index: 3;
}
.hero-device-phone img {
  border-radius: 26px;
}
.hero-device-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 18px;
  background: #0f1319;
  border-radius: 999px;
  z-index: 2;
}

/* Floating stat cards */
.hero-stat {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.18),
              0 0 0 1px rgba(0, 0, 0, 0.04);
  z-index: 4;
  animation: hero-stat-float 5s ease-in-out infinite;
}
.hero-stat-1 {
  top: 18%;
  left: 2%;
  min-width: 190px;
  animation-delay: 0s;
}
.hero-stat-2 {
  bottom: 18%;
  left: 8%;
  min-width: 200px;
  animation-delay: -1.6s;
}
.hero-stat-3 {
  top: 50%;
  right: 2%;
  min-width: 210px;
  animation-delay: -3.2s;
  transform: translateY(-50%);
}

@keyframes hero-stat-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.hero-stat-3 { animation-name: hero-stat-float-center; }
@keyframes hero-stat-float-center {
  0%, 100% { transform: translateY(-50%); }
  50%      { transform: translateY(calc(-50% - 8px)); }
}

.hero-stat-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(63, 176, 40, 0.14);
  color: #2f7a1e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.hero-stat-icon-blue {
  background: rgba(80, 130, 200, 0.14);
  color: #3a6ba8;
}
.hero-stat-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #888;
  line-height: 1.4;
}
.hero-stat-label-lg {
  font-family: "Geist", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #2f353a;
  letter-spacing: 0.01em;
  text-transform: none;
}
.hero-stat-value {
  font-family: "Space Grotesk", "Geist", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #1f2a1a;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 2px;
}
.hero-stat-bar {
  margin-top: 10px;
  height: 5px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  overflow: hidden;
}
.hero-stat-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #3fb028, #7cff5f);
  border-radius: 999px;
}
.hero-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.hero-stat-badge {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: #3fb028;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.hero-stat-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 34px;
}
.hero-stat-chart span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: rgba(63, 176, 40, 0.18);
}
.hero-stat-chart span:nth-child(1) { height: 25%; }
.hero-stat-chart span:nth-child(2) { height: 45%; }
.hero-stat-chart span:nth-child(3) { height: 60%; background: rgba(63, 176, 40, 0.4); }
.hero-stat-chart span:nth-child(4) { height: 80%; background: rgba(63, 176, 40, 0.7); }
.hero-stat-chart span:nth-child(5) { height: 100%; background: #3fb028; }

/* Standalone floating illustrations (no card, no text) */
.hero-illus {
  position: absolute;
  width: 460px;
  height: 460px;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.2));
}
.hero-illus-1 {
  top: 12%;
  left: 14%;
}
.hero-illus-2 {
  bottom: 8%;
  left: 64%;
}

/* ── GradualBlur (vanilla port) ── */
.gradual-blur {
  position: absolute;
  pointer-events: none;
  z-index: 5;
}
.gradual-blur.gb-top    { top: 0;    left: 0; right: 0; }
.gradual-blur.gb-bottom { bottom: 0; left: 0; right: 0; }
.gradual-blur.gb-left   { top: 0; bottom: 0; left: 0; }
.gradual-blur.gb-right  { top: 0; bottom: 0; right: 0; }
.gradual-blur-inner {
  position: relative;
  width: 100%;
  height: 100%;
}
.gradual-blur-layer {
  position: absolute;
  inset: 0;
}

/* ── DriftWall (testimonials) ── */
.drift-wall {
  perspective: 1200px;
  perspective-origin: 50% 50%;
}
.drift-plane {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateX(8deg) rotateY(-8deg);
  display: flex;
  gap: 24px;
}
.drift-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: drift-up 40s linear infinite;
  will-change: transform;
  transform-style: preserve-3d;
}
.drift-col.reverse { animation-name: drift-down; }
@keyframes drift-up {
  from { transform: translateY(0); }
  to { transform: translateY(-25%); }
}
@keyframes drift-down {
  from { transform: translateY(-25%); }
  to { transform: translateY(0); }
}
.drift-tile {
  width: 320px;
  padding: 28px;
  border-radius: 14px;
  background: linear-gradient(180deg, #1e2020 0%, #1a1c1c 100%);
  border: 1px solid #3b4b35;
  color: #e2e2e2;
  opacity: 1;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s cubic-bezier(0.22,1,0.36,1);
  flex: none;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.25);
}
.drift-tile:hover {
  transform: translateZ(64px) scale(1.03);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.4);
  border-color: #77ff5f;
  z-index: 10;
}
.drift-col:has(.drift-tile:hover) {
  animation-play-state: paused;
}
.drift-stars {
  display: flex;
  gap: 2px;
  color: #77ff5f;
  margin-bottom: 14px;
}
.drift-stars .material-symbols-outlined { font-size: 18px; font-variation-settings: 'FILL' 1; }
.drift-tile p {
  font-size: 14px;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 20px;
}
.drift-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.drift-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #333535;
  display: flex; align-items: center; justify-content: center;
  font-weight: bold;
  font-size: 13px;
}
.drift-author-name { font-weight: bold; font-size: 13px; }
.drift-author-role { font-size: 11px; color: #baccaf; margin-top: 2px; }

/* ── DomeGallery — 3D drag-rotatable sphere of tiles (partners) ── */
.dome-wrapper {
  position: relative;
  width: 100vw;
  height: 780px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.dome-root {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: none;
  --radius: 820px;
}
.dome-root.dragging { cursor: grabbing; }
.dome-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  perspective: calc(var(--radius) * 2);
  perspective-origin: 50% 50%;
}
.dome-sphere {
  position: absolute;
  transform-style: preserve-3d;
  will-change: transform;
  transform: translateZ(calc(var(--radius) * -1));
}
.dome-tile {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 190px;
  height: 190px;
  margin: -95px 0 0 -95px;
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px;
  border-radius: 18px;
  background: #ffffff;
  color: #2f353a;
  text-align: center;
  box-shadow: 0 8px 24px -12px rgba(0,0,0,0.28), inset 0 0 0 1px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
}
.dome-tile:hover {
  box-shadow: 0 14px 34px -10px rgba(0,0,0,0.4), inset 0 0 0 1.5px rgba(47,122,30,0.45);
}
.dome-tile .tile-initials {
  font-family: "Space Grotesk", "Geist", sans-serif;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #1f2a1a;
}
.dome-tile .tile-name {
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(31, 42, 26, 0.65);
  line-height: 1.15;
}
/* When a real logo is loaded, keep tile plain white so logos read clean */
.dome-tile.has-logo {
  background: #ffffff !important;
  padding: 20px;
}
.dome-tile .tile-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.dome-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
.dome-vignette-radial {
  background: radial-gradient(ellipse at center, rgba(232,232,232,0) 45%, rgba(232,232,232,0.85) 85%, #e8e8e8 100%);
}
.dome-vignette-top {
  background: linear-gradient(to bottom, #e8e8e8, transparent 20%);
}
.dome-vignette-bottom {
  background: linear-gradient(to top, #e8e8e8, transparent 20%);
}
.dome-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #2f353a;
  box-shadow: 0 4px 14px -6px rgba(0,0,0,0.15);
  pointer-events: none;
  opacity: 0.9;
}
.dome-hint .material-symbols-outlined { font-size: 16px; color: #2f7a1e; }

/* ── DomeGallery — click-to-enlarge overlay ── */
.dome-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dome-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.dome-overlay-scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 15, 0.55);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.dome-overlay-card {
  position: relative;
  z-index: 2;
  width: min(440px, 90vw);
  background: #ffffff;
  border-radius: 24px;
  padding: 48px 40px 36px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.4);
  text-align: center;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.dome-overlay.open .dome-overlay-card {
  transform: scale(1) translateY(0);
}
.dome-overlay-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 50%;
  background: transparent;
  color: #2f353a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.dome-overlay-close:hover {
  background: #2f353a;
  color: #ffffff;
  border-color: #2f353a;
}
.dome-overlay-close .material-symbols-outlined { font-size: 20px; }
.dome-overlay-logo-wrap {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  padding: 12px;
}
.dome-overlay-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.dome-overlay-initials {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 96px;
  letter-spacing: -0.05em;
  color: #2f353a;
  line-height: 1;
}
.dome-overlay-name {
  font-family: "Space Grotesk", "Geist", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #1f2a1a;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.dome-overlay-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #2f7a1e;
}

/* ── Cut-scene — horizontal text reveal (pinned) ── */
.cut-scene {
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: center;
  background: #e8e8e8;
}
.cut-scene-container {
  position: relative;
  width: 100%;
}

/* Realistic saguaro cactus SVGs — positioned around the centered text with clear vertical clearance */
.cut-cactus {
  position: absolute;
  width: 160px;
  height: auto;
  z-index: 2;
  will-change: transform;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.18));
}
.cut-cactus-top-1 { top: 10vh; left: 108vw; rotate: -10deg; width: 180px; animation: cut-cactus-bob 4s ease-in-out infinite; }
.cut-cactus-top-2 { top: 6vh;  left: 148vw; rotate: 6deg;   width: 140px; animation: cut-cactus-bob 5s ease-in-out infinite -1s; }
.cut-cactus-top-3 { top: 12vh; left: 200vw; rotate: -8deg;  width: 200px; animation: cut-cactus-bob 4.5s ease-in-out infinite -2s; }
.cut-cactus-bot-1 { bottom: 10vh; left: 128vw; rotate: 8deg;   width: 160px; animation: cut-cactus-bob 4.8s ease-in-out infinite -1.5s; }
.cut-cactus-bot-2 { bottom: 6vh;  left: 175vw; rotate: -12deg; width: 190px; animation: cut-cactus-bob 5.2s ease-in-out infinite -3s; }
.cut-cactus-bot-3 { bottom: 14vh; left: 230vw; rotate: 14deg;  width: 150px; animation: cut-cactus-bob 4.2s ease-in-out infinite -0.5s; }
@keyframes cut-cactus-bob {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -14px; }
}
/* Shared horizontal scroll wrapper — full viewport height so cacti have room above/below the centered text */
.cut-scene-scroll {
  position: relative;
  display: flex;
  align-items: flex-start;
  height: 100vh;
  padding-top: 18vh;
  padding-left: 100vw;
  padding-right: 20vw;
  will-change: transform;
  width: max-content;
}
.cut-scene-text {
  display: flex;
  white-space: nowrap;
  gap: 4vw;
  font-family: "Geist", "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 10vw, 12rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #1f2a1a;
  margin: 0;
  position: relative;
  z-index: 1;
}
.cut-scene-panorama {
  position: absolute;
  left: -5px;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  z-index: 0;
  pointer-events: none;
}
.cut-scene-img {
  display: block;
  height: 52vh;
  max-height: 600px;
  width: 1920px;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* ── Services scatter layout — cards distributed left/right with titles beside ── */
.services-scatter {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 240px;                    /* wider breathing room between cards */
}
.ss-item {
  display: flex;
  align-items: center;
  gap: 180px;                    /* clear breathing room between image and copy */
  width: fit-content;
  max-width: 96%;
}
@media (max-width: 1280px) {
  .ss-item { gap: 120px; }
}
@media (max-width: 1080px) {
  .ss-item { gap: 80px; }
}
.ss-item.ss-left {
  margin-left: 4%;
  flex-direction: row;
}
.ss-item.ss-right {
  margin-left: auto;
  margin-right: 4%;
  flex-direction: row;
}
.ss-item.ss-deep { margin-left: 18%; }

/* Oval rounded card holding image — 1.5x bigger + random per-card tilt */
.ss-card {
  flex-shrink: 0;
  width: clamp(420px, 48vw, 690px);
  aspect-ratio: 3 / 2;
  border-radius: 42px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.28),
              0 12px 26px -12px rgba(0, 0, 0, 0.12);
  transform: rotate(var(--ss-rot, 0deg));
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.ss-card:hover { transform: rotate(var(--ss-rot, 0deg)) translateY(-8px) scale(1.02); }

/* Random tilt per card — no pattern, some sharp, some soft, both directions */
.services-scatter > .ss-item:nth-child(1) .ss-card { --ss-rot: -14deg; }
.services-scatter > .ss-item:nth-child(2) .ss-card { --ss-rot:  22deg; }
.services-scatter > .ss-item:nth-child(3) .ss-card { --ss-rot: -12deg; }
.services-scatter > .ss-item:nth-child(4) .ss-card { --ss-rot:  10deg; }
.services-scatter > .ss-item:nth-child(5) .ss-card { --ss-rot: -8deg;  }
.ss-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.ss-card:hover .ss-img { transform: scale(1.06); }

/* Label beside card (title outside) */
.ss-label {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 480px;
}
.ss-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: #3fb028;
  font-weight: 600;
  text-transform: uppercase;
}
.ss-title {
  font-family: "Space Grotesk", "Geist", sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 3.4vw, 58px);
  color: #1a2413;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
}
.ss-text {
  font-family: "Geist", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  color: #55605a;
  margin: 4px 0 0;
  max-width: 440px;
}

@media (max-width: 900px) {
  .services-scatter { gap: 80px; }
  .ss-item, .ss-item.ss-left, .ss-item.ss-right {
    flex-direction: column;
    align-items: flex-start;
    margin-left: auto;
    margin-right: auto;
    gap: 24px;
    max-width: 100%;
  }
  .ss-item.ss-deep { margin-left: auto; }
}

/* ── Horizontal scroll gallery (services) ── */
.horiz-gallery-wrapper,
.horiz-gallery-strip {
  display: flex;
  flex-wrap: nowrap;
  will-change: transform;
  position: relative;
}
.horiz-gallery-wrapper {
  overflow: hidden;
}
.service-card {
  width: 30vw;
  height: 60vh;
  margin: 0 1rem;
  box-sizing: border-box;
  flex: none;
  border: 0 none !important;
  outline: 0 none !important;
  box-shadow: 0 30px 40px -22px rgba(0, 0, 0, 0.14) !important;
  color: #2f353a;
}
/* Per-card palette (user-provided) — light cards keep dark text, dark cards get light text */
.horiz-gallery-strip .service-card:nth-child(1) { background: #E0F7FA !important; }  /* soft cyan */
.horiz-gallery-strip .service-card:nth-child(2) { background: #EEEAE1 !important; }  /* ivory */
.horiz-gallery-strip .service-card:nth-child(3) { background: #1F0000 !important; }  /* deep oxblood */
.horiz-gallery-strip .service-card:nth-child(4) { background: #FBC02D !important; }  /* vivid amber */
.horiz-gallery-strip .service-card:nth-child(5) { background: #2D5FFF !important; }  /* vivid blue */

/* Dark-bg cards (3, 5) — invert text colors for readability */
.horiz-gallery-strip .service-card:nth-child(3),
.horiz-gallery-strip .service-card:nth-child(5) {
  color: #EEEAE1;
}
.horiz-gallery-strip .service-card:nth-child(3) .service-title,
.horiz-gallery-strip .service-card:nth-child(5) .service-title {
  color: #FFFFFF;
}
.horiz-gallery-strip .service-card:nth-child(3) .service-desc,
.horiz-gallery-strip .service-card:nth-child(5) .service-desc {
  color: rgba(255, 255, 255, 0.75);
}
.horiz-gallery-strip .service-card:nth-child(3) .service-cta-label,
.horiz-gallery-strip .service-card:nth-child(5) .service-cta-label {
  color: #FFFFFF;
}
.horiz-gallery-strip .service-card:nth-child(3) .service-cta-arrow,
.horiz-gallery-strip .service-card:nth-child(5) .service-cta-arrow {
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}
.horiz-gallery-strip .service-card:nth-child(3) .service-cta:hover .service-cta-arrow,
.horiz-gallery-strip .service-card:nth-child(5) .service-cta:hover .service-cta-arrow {
  background: #EDD4A9;
  border-color: #EDD4A9;
  color: #1f2a1a;
}
.horiz-gallery-strip .service-card:nth-child(3) .service-cta:hover .service-cta-label,
.horiz-gallery-strip .service-card:nth-child(5) .service-cta:hover .service-cta-label {
  color: #EDD4A9;
}

.service-card .text-on-surface { color: #2f353a !important; }
.service-card .text-on-surface-variant { color: #4a5245 !important; }
.service-card .bg-surface-container { background: rgba(255, 255, 255, 0.55) !important; }
.service-card .border-outline-variant { border-color: rgba(0, 0, 0, 0.08) !important; }
.service-card .text-primary-fixed { color: #2f7a1e !important; }
.service-card:first-child {
  margin-left: 5vw;
}
.service-card:last-child {
  margin-right: 5vw;
}
@media (max-width: 768px) {
  .service-card { width: 80vw; height: 55vh; }
}

/* ── Service card — modern redesign ── */
.service-image {
  position: relative;
  border: 0;
  outline: 0;
}
.service-img {
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
  border: 0;
  outline: 0;
}
.service-card:hover .service-img {
  transform: scale(1.05);
}

/* Meta-badge (top-left of image) */
.service-meta-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 12px 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1f2a1a;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  z-index: 2;
}

/* Giant decorative index (bottom-right of image) */
.service-index {
  position: absolute;
  right: 20px;
  bottom: -18px;
  font-family: "Comfortaa", system-ui, sans-serif;
  font-weight: 700;
  font-size: 96px;
  line-height: 0.85;
  color: rgba(255, 255, 255, 0.92);
  mix-blend-mode: overlay;
  letter-spacing: -0.05em;
  z-index: 2;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover .service-index {
  transform: translateY(-6px);
}

/* Content area */
.service-content {
  padding: 40px 40px 32px;
  gap: 20px;
}

/* Eyebrow (mono tag above title — no decorative line) */
.service-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #2f7a1e;
  margin-bottom: 22px;
}

/* Title — single style, single size */
.service-title {
  font-family: "Geist", sans-serif;
  font-size: clamp(30px, 2.6vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #1f2a1a;
  display: block;
}

.service-desc {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(31, 42, 26, 0.72);
  max-width: 90%;
}

/* CTA — clean, no underline; keep circle arrow (nice per user feedback) */
.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: flex-start;
  padding: 8px 4px;
}
.service-cta-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1f2a1a;
  transition: color 0.35s ease;
}
.service-cta:hover .service-cta-label {
  color: #2f7a1e;
}
.service-cta-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(31, 42, 26, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1f2a1a;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.4s ease,
              border-color 0.4s ease,
              color 0.4s ease;
}
.service-cta-arrow .material-symbols-outlined {
  font-size: 18px;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-cta:hover .service-cta-arrow {
  background: #2f7a1e;
  border-color: #2f7a1e;
  color: white;
  transform: scale(1.05);
}
.service-cta:hover .service-cta-arrow .material-symbols-outlined {
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .service-content { padding: 28px 24px 24px; }
  .service-title { font-size: 26px; }
  .service-index { font-size: 72px; }
}

/* ── CardSwap 3D stack ── */
.card-swap-container {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 900px;
  overflow: visible;
  transform-style: preserve-3d;
}
.card-swap-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 940px;
  height: 620px;
  padding: 60px;
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #e8dfd0;
  color: #1f2a1a;
  transform-style: preserve-3d;
  will-change: transform;
  backface-visibility: hidden;
  box-shadow: 0 24px 48px -14px rgba(47, 53, 58, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Per-card soft pastels — matching service-card palette */
.card-swap-container .card-swap-item:nth-child(1) { background: #D3DDE7; }
.card-swap-container .card-swap-item:nth-child(2) { background: #D8E63C; }
.card-swap-container .card-swap-item:nth-child(3) { background: #D6B4FC; }

.card-swap-container .card-swap-item:nth-child(4) { background: #17184B; color: #ffffff; }
.card-swap-container .card-swap-item:nth-child(4) .card-swap-title { color: #ffffff; }

/* Themed background image — anchored left, fades to card color on the right */
.card-swap-bg {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 62%;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  filter: blur(2px) saturate(1.05);
  -webkit-mask-image: linear-gradient(to right, black 0%, black 35%, transparent 100%);
  mask-image: linear-gradient(to right, black 0%, black 35%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
/* On the dark navy card 4, use overlay blend so image stays subtle without lightening the bg */
.card-swap-container .card-swap-item:nth-child(4) .card-swap-bg {
  opacity: 0.4;
  mix-blend-mode: overlay;
}

/* Icon — bare (no white bg circle), color set per-card below */
.card-swap-icon-badge {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  border-radius: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  align-self: flex-start;
  color: currentColor;
  box-shadow: none;
}
.card-swap-icon-badge .material-symbols-outlined {
  font-size: 44px;
  font-variation-settings: 'FILL' 1, 'wght' 500;
}

/* Per-card icon colors — unique accents harmonized with each card's bg */
.card-swap-container .card-swap-item:nth-child(1) .card-swap-icon-badge { color: #1e3a5f; }  /* deep navy on light blue-grey */
.card-swap-container .card-swap-item:nth-child(2) .card-swap-icon-badge { color: #3a4a1a; }  /* dark olive on yellow-lime */
.card-swap-container .card-swap-item:nth-child(3) .card-swap-icon-badge { color: #6B1830; }  /* deep sour cherry on lavender */
.card-swap-container .card-swap-item:nth-child(4) .card-swap-icon-badge { color: #A5F3FC; }  /* ice blue on deep navy */

/* Content wrapper */
.card-swap-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
  padding-right: 320px; /* reserve space for the right-side description strip */
}

/* Right-side gradient description strip (per-card harmonized colors) */
.card-swap-desc-strip {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  z-index: 2;
  box-shadow: -8px 0 30px -12px rgba(0, 0, 0, 0.12);
}
.card-swap-strip-text {
  font-family: "Geist", sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.4;
  color: #0a0a0a;
  margin: 0;
  letter-spacing: -0.01em;
}

/* Per-card gradient — starts EXACTLY from card bg color (seamless blend) and fades to a light complementary tone on the right */
.card-swap-container .card-swap-item:nth-child(1) .card-swap-desc-strip {
  background: linear-gradient(90deg, #D3DDE7 0%, #E4EBF3 45%, #F4F7FB 100%);
}
.card-swap-container .card-swap-item:nth-child(2) .card-swap-desc-strip {
  background: linear-gradient(90deg, #D8E63C 0%, #E9F09B 50%, #F7FADC 100%);
}
.card-swap-container .card-swap-item:nth-child(3) .card-swap-desc-strip {
  background: linear-gradient(90deg, #D6B4FC 0%, #E6D2FE 50%, #F5EBFF 100%);
}
.card-swap-container .card-swap-item:nth-child(4) .card-swap-desc-strip {
  background: linear-gradient(90deg, #12133F 0%, #17184B 45%, #1D1F5A 100%);
  box-shadow:
    -14px 0 40px -18px rgba(0, 0, 0, 0.55),
    inset 1px 0 0 rgba(255, 255, 255, 0.06);
}
/* Card 4: gradient starts dark on the left, so text sits over lighter zone — align right for readability */
.card-swap-container .card-swap-item:nth-child(4) .card-swap-strip-text {
  color: #ffffff;
  font-weight: 500;
}

/* Title — soft sans, elegant weight */
.card-swap-title {
  font-family: "Geist", sans-serif;
  font-size: 76px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: #1a2413;
  margin: 0;
}

/* Description — larger, softer, readable */
.card-swap-desc {
  font-family: "Geist", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(31, 42, 26, 0.72);
  margin: 0;
  max-width: 96%;
}

/* Tag pills — replaces green-dot mono bullets */
.card-swap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  list-style: none;
  padding: 0;
  margin: auto 0 0;
}
.card-swap-tags li {
  font-family: "Geist", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(26, 36, 19, 0.82);
  padding: 7px 14px;
  border: 1px solid rgba(26, 36, 19, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
  letter-spacing: 0.005em;
}

@media (max-width: 768px) {
  .card-swap-item { width: 320px; height: 360px; padding: 28px; }
}

/* ── Bento gallery + Flip scroll animation ── */
.gallery-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gallery {
  position: relative;
  width: 100%;
  height: 100%;
  flex: none;
}
.gallery__item {
  background-position: 50% 50%;
  background-size: cover;
  flex: none;
  position: relative;
}
.gallery__item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.gallery--bento {
  display: grid;
  gap: 1vh;
  grid-template-columns: repeat(3, 32.5vw);
  grid-template-rows: repeat(4, 23vh);
  justify-content: center;
  align-content: center;
}
.gallery--final.gallery--bento {
  grid-template-columns: repeat(3, 100vw);
  grid-template-rows: repeat(4, 49.5vh);
  gap: 1vh;
}
.gallery--bento .gallery__item:nth-child(1) { grid-area: 1 / 1 / 3 / 2; }
.gallery--bento .gallery__item:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
.gallery--bento .gallery__item:nth-child(3) { grid-area: 2 / 2 / 4 / 3; }
.gallery--bento .gallery__item:nth-child(4) { grid-area: 1 / 3 / 3 / 3; }
.gallery--bento .gallery__item:nth-child(5) { grid-area: 3 / 1 / 3 / 2; }
.gallery--bento .gallery__item:nth-child(6) { grid-area: 3 / 3 / 5 / 4; }
.gallery--bento .gallery__item:nth-child(7) { grid-area: 4 / 1 / 5 / 2; }
.gallery--bento .gallery__item:nth-child(8) { grid-area: 4 / 2 / 5 / 3; }

/* ── Hero "Yaklaşımımız" — clean bold editorial ── */
.hero-approach-eyebrow {
  display: inline-block;
  font-family: "Space Grotesk", "Geist", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
  align-self: flex-start;
}
.hero-approach-eyebrow .ha-dot {
  color: #b7ff9c;
}

/* ── KaktüsAI — intro copy, image-sequence wipe, features ── */
.ai-intro {
  position: relative;
  max-width: 900px;
  margin: 0 auto 160px;
  padding: 0 24px;
  text-align: center;
}

/* Speech bubbles — diagonal from title corners */
.ai-bubble {
  position: absolute;
  max-width: 400px;
  background: #ffffff;
  border-radius: 28px;
  padding: 26px 32px;
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.22),
              0 4px 12px -4px rgba(0, 0, 0, 0.08);
  z-index: 3;
}
.ai-bubble p {
  font-family: "Geist", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: #2f353a;
  margin: 0;
  text-align: left;
  font-weight: 500;
}
/* Positioning: pushed further out to left/right diagonals */
.ai-bubble-left {
  bottom: -110px;
  left: -18%;
  transform: rotate(-3deg);
}
.ai-bubble-right {
  bottom: -170px;
  right: -18%;
  transform: rotate(3deg);
}

/* Speech bubble tail — small triangle pointing toward the title */
.ai-bubble::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  background: #ffffff;
  transform: rotate(45deg);
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.08);
}
/* Left bubble tail points top-right (toward title) */
.ai-bubble-left::before {
  top: -10px;
  right: 28px;
  z-index: -1;
}
/* Right bubble tail points top-left (toward title) */
.ai-bubble-right::before {
  top: -10px;
  left: 28px;
  z-index: -1;
}
@media (max-width: 720px) {
  .ai-intro { margin-bottom: 220px; }
  .ai-bubble { position: relative; max-width: 100%; margin-top: 30px; transform: none !important; bottom: auto; left: auto; right: auto; }
  .ai-bubble::before { display: none; }
}
.ai-intro-eyebrow {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #3fb028;
  font-weight: 600;
  margin-bottom: 24px;
}
.ai-intro-heading {
  font-family: "Space Grotesk", "Geist", sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 4.5vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #0f2601;
  margin: 0 0 28px;
}
.ai-intro-desc {
  font-family: "Geist", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #55605a;
  max-width: 640px;
  margin: 0 auto;
}
.ai-frame-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

/* Features + blog link */
.ai-features {
  max-width: 900px;
  margin: 72px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.ai-feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.ai-feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(63, 176, 40, 0.12);
  color: #2f7a1e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ai-feature-icon .material-symbols-outlined { font-size: 24px; }
.ai-feature-title {
  font-family: "Space Grotesk", "Geist", sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: #0f2601;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.ai-feature-desc {
  font-family: "Geist", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #6b7561;
  margin: 0;
}
.ai-blog-link {
  display: block;
  width: fit-content;
  margin: 72px auto 0;
  padding: 0;
  font-family: "Comfortaa", "Geist", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: #0f2601;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  text-align: center;
}
.ai-blog-link:hover { color: #3fb028; transform: translateY(-2px); }

@media (max-width: 720px) {
  .ai-features { grid-template-columns: 1fr; }
}

/* ── KaktüsAI — minimal scroll-wipe before/after comparison ── */
.ai-section {
  position: relative;
  background: #e8e8e8;
  padding: 120px 0 160px;
  overflow: hidden;
}
.ai-corner {
  position: absolute;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(31, 42, 26, 0.5);
  z-index: 5;
}
.ai-corner-tl { top: 40px; left: 40px; color: #3fb028; }
.ai-corner-tr { top: 40px; right: 40px; }
.ai-corner-br { bottom: 32px; left: 50%; transform: translateX(-50%); }

.ai-brand {
  text-align: center;
  margin-bottom: 72px;
  padding: 0 24px;
}
.ai-brand-title {
  font-family: "Comfortaa", "Geist", sans-serif;
  font-weight: 700;
  font-size: clamp(72px, 10vw, 180px);
  letter-spacing: -0.04em;
  color: #0f2601;
  margin: 0;
  line-height: 0.95;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.ai-brand-cactus {
  display: inline-block;
  height: 1em;
  width: auto;
  vertical-align: middle;
  margin: 0 -0.18em;
  transform: translateY(-0.05em);
}
.ai-brand-tag {
  font-family: "Comfortaa", "Geist", sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 30px);
  margin: 20px 0 0;
  letter-spacing: -0.005em;
  color: #4a5245;
  line-height: 1.15;
}
.ai-tag-line { display: block; }
.ai-tag-italic {
  font-family: "Geist", serif;
  font-style: italic;
  font-weight: 300;
  color: #7a8577;
}
.ai-tag-bold {
  font-family: "Comfortaa", sans-serif;
  font-weight: 700;
  color: #0f2601;
}
.ai-tag-cursor {
  color: #3fb028;
  font-weight: 300;
  margin-left: 2px;
  animation: ai-tag-blink 1s step-end infinite;
}
@keyframes ai-tag-blink {
  0%, 50%   { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

.ai-brand-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(31, 42, 26, 0.55);
}
.ai-meta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3fb028;
  box-shadow: 0 0 8px rgba(63, 176, 40, 0.5);
  animation: ai-meta-pulse 1.6s ease-in-out infinite;
}
.ai-meta-sep { opacity: 0.4; }
@keyframes ai-meta-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.3); opacity: 0.65; }
}

/* ── Stage: 3-column grid [ afterCopy | image | beforeCopy ] — image restored to full size ── */
.ai-stage {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
}
.ai-stage-feature {
  display: flex;
  flex-direction: column;
  justify-content: center;
  grid-row: 1;
  max-width: 400px;
  margin-top: 80px;
  will-change: opacity, transform;
}
.ai-stage-feature--before { grid-column: 3; justify-self: start; }   /* right of image */
.ai-stage-feature--after  { grid-column: 1; justify-self: end; }     /* left of image */

.ai-stage-title {
  font-family: "Comfortaa", "Geist", sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 3.2vw, 52px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #0f2601;
  margin: 0 0 26px 0;
}
.ai-stage-accent { color: #2f7d1e; }
.ai-stage-word {
  display: inline-block;
  will-change: transform, opacity;
  margin-right: 0.18em;
}
.ai-stage-desc-word {
  display: inline-block;
  will-change: transform, opacity;
}
.ai-stage-desc {
  font-family: "Geist", sans-serif;
  font-size: 20px;
  line-height: 1.6;
  color: #55605a;
  margin: 0;
  font-weight: 400;
}

@media (max-width: 1200px) {
  .ai-stage { grid-template-columns: 1fr; gap: 40px; padding: 0 20px; justify-items: center; }
  .ai-stage-feature { grid-column: 1 !important; justify-self: center !important; max-width: 480px; text-align: center; align-items: center; }
  .ai-stage-feature--after { display: none; } /* mobile — skip crossfade partner */
}

.ai-comparison {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  width: min(720px, 52vw);
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
@media (max-width: 1200px) {
  .ai-comparison { width: min(720px, 88vw); grid-column: 1; }
}
.ai-comp-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.ai-frame-inner {
  width: 100%;
  height: 100%;
  padding: 0;
  display: block;
}
.ai-frame-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ai-frame-tag-live { color: #7cff5f; }
.ai-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7cff5f;
  box-shadow: 0 0 12px rgba(124, 255, 95, 0.7);
}

/* Before — transparent frame, natural image bg */
.ai-frame-before {
  background: transparent;
}
.ai-frame-before .ai-frame-inner {
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Editor header (title bar with filename) */
.ai-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}
.ai-editor-file {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}
.ai-file-icon {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
  letter-spacing: -0.05em;
}
.ai-file-name { color: rgba(255, 255, 255, 0.9); }
.ai-editor-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}
.ai-dot-sep { color: rgba(255, 255, 255, 0.25); }

/* JSON code area */
.ai-code {
  flex: 1;
  padding: 24px 24px 20px;
  font-family: "JetBrains Mono", monospace;
  font-size: 18px;
  line-height: 1.65;
  overflow: auto;
}
.ai-code-line {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 2px 8px;
  border-radius: 4px;
  transition: background 0.2s;
}
.ai-code-line:hover { background: rgba(255, 255, 255, 0.02); }
.ai-code-line .ln {
  display: inline-block;
  min-width: 22px;
  text-align: right;
  color: rgba(255, 255, 255, 0.22);
  user-select: none;
  font-size: 13px;
}
.ai-code-line .tok-p    { color: rgba(255, 255, 255, 0.45); }
.ai-code-line .tok-k    { color: #7cd0ff; font-weight: 500; }
.ai-code-line .tok-n    { color: #a5f078; }
.ai-code-line .tok-nl   { color: #e07d3a; font-style: italic; }
.ai-code-line .tok-ind,
.ai-code-line .tok-sp   { white-space: pre; color: transparent; }

/* Blinking cursor at end */
.ai-cursor {
  display: inline-block;
  width: 8px;
  height: 1em;
  background: rgba(124, 208, 255, 0.7);
  margin-left: 4px;
  vertical-align: text-bottom;
  animation: ai-cursor-blink 1.1s step-end infinite;
}
@keyframes ai-cursor-blink {
  0%, 50%   { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

/* Editor footer status bar */
.ai-editor-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.ai-foot-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ai-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(224, 125, 58, 0.9);
  box-shadow: 0 0 8px rgba(224, 125, 58, 0.5);
}

/* After — enhanced by KaktüsAI */
.ai-frame-after {
  background: transparent;
}
.ai-after-grid {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 32px;
  flex: 1;
}
.ai-after-hero {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
}
.ai-after-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  width: 100%;
}
.ai-after-value {
  font-family: "Comfortaa", "Geist", sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 4.5vw, 68px);
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1;
}
.ai-after-delta {
  font-family: "JetBrains Mono", monospace;
  font-size: 15px;
  font-weight: 600;
  color: #7cff5f;
  background: rgba(63, 176, 40, 0.14);
  border: 1px solid rgba(63, 176, 40, 0.4);
  padding: 6px 12px;
  border-radius: 6px;
}
.ai-after-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  min-height: 120px;
}
.ai-after-bar {
  flex: 1;
  height: var(--h, 40%);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px 4px 0 0;
  min-height: 12px;
}
.ai-after-bar-active {
  background: linear-gradient(180deg, #7cff5f 0%, #3fb028 100%);
  box-shadow: 0 0 24px rgba(124, 255, 95, 0.4);
}
.ai-after-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ai-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(63, 176, 40, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
}
.ai-tile-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}
.ai-tile-value {
  font-family: "Comfortaa", "Geist", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.ai-tile-value-good { color: #7cff5f; }

/* ── KaktüsAI section — dark browser dashboard mockup + copy ── */
.kai-mockup {
  position: relative;
}
.kai-mockup-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(63, 176, 40, 0.28) 0%, transparent 65%);
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}
.kai-window {
  position: relative;
  z-index: 1;
  border-radius: 14px;
  background: #0a0f0d;
  border: 1px solid rgba(63, 176, 40, 0.3);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
}
.kai-window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #05080a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
}
.kai-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.kai-dot-red    { background: #ff5f57; }
.kai-dot-yellow { background: #ffbd2e; }
.kai-dot-green  { background: #28c840; }
.kai-url {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}
.kai-dashboard {
  padding: 32px 36px 28px;
  color: #e6f0e0;
}
.kai-row-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}
.kai-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
}
.kai-value {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 34px;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1;
}
.kai-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  color: #7cff5f;
  background: rgba(63, 176, 40, 0.15);
  border: 1px solid rgba(63, 176, 40, 0.4);
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.kai-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 150px;
  margin-bottom: 26px;
  padding-top: 10px;
}
.kai-bar {
  flex: 1;
  height: var(--h, 40%);
  background: #1a2029;
  border-radius: 4px 4px 0 0;
  min-height: 12px;
  transition: background 0.3s;
}
.kai-bar-active {
  background: linear-gradient(180deg, #7cff5f 0%, #3fb028 100%);
  box-shadow: 0 0 20px rgba(124, 255, 95, 0.35);
}

.kai-row-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.kai-stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(63, 176, 40, 0.15);
  border-radius: 10px;
  padding: 14px 16px;
}
.kai-stat-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}
.kai-stat-value {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.kai-stat-value-green {
  color: #7cff5f;
}
.kai-stat-value-green span {
  color: rgba(124, 255, 95, 0.75);
  font-weight: 500;
  font-size: 16px;
}

/* Copy side */
.kai-copy {
  color: #2f353a;
}
.kai-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #3fb028;
  display: block;
  margin-bottom: 18px;
}
.kai-heading {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 4.6vw, 60px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #1a2413;
  margin: 0 0 22px;
}
.kai-heading-accent {
  color: #2f7a1e;
}
.kai-desc {
  font-family: "Geist", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #55605a;
  margin: 0 0 36px;
  max-width: 540px;
}

.kai-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}
.kai-feature {
  display: flex;
  gap: 16px;
}
.kai-feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(63, 176, 40, 0.14);
  color: #2f7a1e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.kai-feature-icon .material-symbols-outlined { font-size: 22px; }
.kai-feature-title {
  font-family: "Space Grotesk", "Geist", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #1a2413;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.kai-feature-text {
  font-family: "Geist", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #6b7561;
  margin: 0;
  max-width: 460px;
}

.kai-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Geist", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #1a2413;
  text-decoration: none;
  border-bottom: 2px solid #1a2413;
  padding-bottom: 4px;
  transition: color 0.3s, border-color 0.3s, gap 0.3s;
}
.kai-link:hover {
  color: #2f7a1e;
  border-color: #2f7a1e;
  gap: 14px;
}
.kai-link .material-symbols-outlined { font-size: 18px; }

/* ── Çalışma Kültürümüz section — bento grid with rich per-card visuals ── */
.culture-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 44px;
}
.culture-heading {
  font-family: "Comfortaa", "Geist", sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 5.6vw, 84px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: #1a2413;
  margin: 0 0 18px;
}
.culture-desc {
  font-family: "Geist", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #55605a;
  margin: 0;
  max-width: 500px;
}
.culture-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: #0f2601;
  color: #ffffff;
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}
.culture-btn:hover { background: #2f7a1e; transform: translateY(-2px); }
.culture-btn .material-symbols-outlined { font-size: 20px; }

/* Bento grid — 2×2, alternating widths for visual rhythm */
.culture-bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
  align-items: start;              /* cards stay at natural height — no row stretching */
}
.culture-bento > article:nth-child(3),
.culture-bento > article:nth-child(4) { }

.cbento {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 380px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s;
}
.cbento:hover { transform: translateY(-4px); }
.cbento-body { max-width: 90%; }
.cbento-title {
  font-family: "Space Grotesk", "Geist", sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  line-height: 1.15;
}
.cbento-text {
  font-family: "Geist", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  opacity: 0.82;
}
.cbento-visual {
  position: relative;
  flex: 1;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cbento-visual svg { width: 100%; height: 100%; max-height: 200px; }
.autonomy-img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transform: scale(1.35);           /* visual-only zoom — no layout impact */
  transform-origin: center;
}
.cbento-globe { display: block; }
/* Globe hangs off the bottom of the card — only top hemisphere pokes into view */
.cbento-global .cbento-visual { min-height: 180px; overflow: visible; position: relative; }
.cbento-global .cbento-globe {
  position: absolute;
  left: 50%;
  bottom: -240px;              /* half the globe hangs below card edge (480/2) */
  transform: translateX(-50%);
  width: 480px;
  height: 480px;
  pointer-events: none;
}

/* Per-card unique styling */
.cbento-otonom {
  background: linear-gradient(135deg, #1a2028 0%, #0f1518 100%);
  color: #e6f0e0;
  grid-column: span 1;
}
.cbento-global {
  background: linear-gradient(135deg, #eaf0f8 0%, #d4e0ee 100%);
  color: #1a2413;
}
.cbento-transparency {
  background: linear-gradient(135deg, #f5ecdc 0%, #ecdfc9 100%);
  color: #1a2413;
  grid-column: span 1;
}
.cbento-passion {
  background: linear-gradient(135deg, #ff8f6d 0%, #e0644a 100%);
  color: #ffffff;
}

/* Glass stack visual (Radikal Şeffaflık) — 3D sway + traveling light sweep */
.glass-stack {
  position: relative;
  width: 240px;
  height: 180px;
  perspective: 900px;
}
.glass-panel {
  position: absolute;
  width: 150px;
  height: 108px;
  border-radius: 14px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(26, 36, 19, 0.09);
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
/* Light-sweep pseudo — diagonal shine that travels across each panel */
.glass-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 70%);
  transform: translateX(-150%);
  pointer-events: none;
}

.glass-panel:nth-child(1) {
  top: 0; left: 0;
  background: rgba(255, 255, 255, 0.72);
  animation: glass-sway-a 6s ease-in-out infinite alternate;
}
.glass-panel:nth-child(2) {
  top: 32px; left: 44px;
  background: rgba(255, 255, 255, 0.58);
  animation: glass-sway-b 7s ease-in-out infinite alternate;
}
.glass-panel:nth-child(3) {
  top: 64px; left: 88px;
  background: rgba(255, 255, 255, 0.42);
  animation: glass-sway-c 8s ease-in-out infinite alternate;
}
.glass-panel:nth-child(1)::before { animation: glass-sweep 5s ease-in-out infinite; animation-delay: 0s; }
.glass-panel:nth-child(2)::before { animation: glass-sweep 5s ease-in-out infinite; animation-delay: 1.6s; }
.glass-panel:nth-child(3)::before { animation: glass-sweep 5s ease-in-out infinite; animation-delay: 3.2s; }

@keyframes glass-sway-a {
  0%   { transform: translate3d(0, 0, 0)      rotate(-8deg)  rotateY(0deg); }
  100% { transform: translate3d(-4px, -6px, 12px) rotate(-11deg) rotateY(-6deg); }
}
@keyframes glass-sway-b {
  0%   { transform: translate3d(0, 0, 0)      rotate(2deg)   rotateY(0deg); }
  100% { transform: translate3d(3px, -4px, 20px) rotate(4deg)  rotateY(4deg); }
}
@keyframes glass-sway-c {
  0%   { transform: translate3d(0, 0, 0)      rotate(10deg)  rotateY(0deg); }
  100% { transform: translate3d(6px, -8px, 6px) rotate(13deg) rotateY(8deg); }
}
@keyframes glass-sweep {
  0%   { transform: translateX(-150%); }
  60%  { transform: translateX(150%); }
  100% { transform: translateX(150%); }
}

/* PixelSwap host — generic wrapper */
.pixel-swap { position: relative; width: 100%; overflow: hidden; }

/* Tutku & Eğlence — the whole card IS the pixel-swap surface (no inner padding) */
.cbento-passion { padding: 0; }
.cbento-passion .pixel-swap { min-height: 380px; height: 100%; border-radius: inherit; }
.cbento-passion .ps-layer { display: block; }

.passion-side {
  width: 100%;
  height: 100%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  user-select: none;
}
.passion-side--tutku {
  background: linear-gradient(135deg, #ff8f6d 0%, #e0644a 100%);
  color: #ffffff;
}
.passion-side--eglence {
  background: linear-gradient(135deg, #ffd166 0%, #ff8f3c 100%);
  color: #40190a;
}
.passion-title {
  font-family: "Comfortaa", "Geist", sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 6vw, 78px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 20px;
}
.passion-text {
  font-family: "Geist", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  max-width: 320px;
  margin: 0;
  opacity: 0.92;
}

/* Confetti visual (Tutku & Eğlence) */
.confetti {
  position: relative;
  width: 100%;
  height: 180px;
}
.c-shape {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 20px;
  height: 20px;
  animation: c-float 4s ease-in-out infinite;
  animation-delay: var(--d);
}
.c-circle { border-radius: 50%; }
.c-square { border-radius: 4px; }
.c-triangle {
  width: 0; height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 22px solid;
  background: transparent !important;
}
.c-heart {
  width: auto; height: auto;
  font-size: 26px;
  line-height: 1;
  color: #ffffff;
  background: transparent !important;
}
@keyframes c-float {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50%      { translate: 0 -18px; rotate: 12deg; }
}

@media (max-width: 900px) {
  .culture-bento { grid-template-columns: 1fr; }
  .culture-topbar { flex-direction: column; align-items: flex-start; }
}

/* ── Blog caterpillar — horizontal GSAP Flip carousel ── */
.blog-caterpillar {
  display: flex;
  gap: 20px;
  padding: 12px;
  overflow: hidden;
  border-radius: 20px;
}
.blog-cat-card {
  flex: 0 0 240px;                 /* fixed width — only ~5 visible in viewport, rest overflow hidden */
  min-width: 240px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, opacity;
}
.blog-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.22);
}
.blog-cat-card.hide { display: none; }
.blog-cat-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #eef1ee;
}
.blog-cat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.blog-cat-card:hover .blog-cat-img { transform: scale(1.05); }
.blog-cat-card .blog-tag { margin-bottom: 8px; font-size: 10.5px; }
.blog-cat-title {
  font-family: "Comfortaa", "Geist", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #2f353a;
  margin: 0 0 10px;
}
.blog-cat-excerpt {
  font-family: "Geist", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #6b7561;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-cat-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}
.blog-cat-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(15, 38, 1, 0.2);
  background: #ffffff;
  color: #1a2413;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}
.blog-cat-btn:hover {
  background: #0f2601;
  color: #ffffff;
  border-color: #0f2601;
  transform: translateY(-2px);
}
.blog-cat-btn .material-symbols-outlined { font-size: 22px; }

@media (max-width: 900px) {
  .blog-caterpillar { flex-wrap: wrap; }
  .blog-cat-card { flex: 1 1 45%; }
}

/* ── Blog + Careers section — site-wide typography rhythm ── */
.blog-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}
.blog-heading {
  font-family: "Comfortaa", "Geist", sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #2f353a;
  margin: 0;
  will-change: transform, opacity;
}
.blog-all-link {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #55605a;
  text-decoration: none;
  transition: color 0.3s;
  flex-shrink: 0;
}
.blog-all-link:hover { color: #3fb028; }

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.blog-item {
  display: flex;
  gap: 22px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s ease;
  will-change: transform, opacity;
}
.blog-item:hover { transform: translateX(6px); }
.blog-item:hover .blog-title { color: #3fb028; }
.blog-item:hover .blog-img { transform: scale(1.03); }
.blog-img-wrap {
  overflow: hidden;
  border-radius: 14px;
  flex-shrink: 0;
  width: 150px;
  height: 118px;
}
.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.5s ease;
  display: block;
}
.blog-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #3fb028;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}
.blog-title {
  font-family: "Comfortaa", "Geist", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #2f353a;
  margin: 0 0 10px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  transition: color 0.3s;
}
.blog-excerpt {
  font-family: "Geist", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: #6b7561;
  margin: 0;
}

/* Careers card (dark) */
.careers-side {
  background: #0c0f0f;
  border-radius: 24px;
  padding: 48px;
  color: #e6f0e0;
  will-change: transform, opacity;
}
.careers-heading {
  font-family: "Comfortaa", "Geist", sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 18px;
  will-change: transform, opacity;
}
.careers-desc {
  font-family: "Geist", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 32px;
  max-width: 440px;
}
.careers-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.careers-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
  will-change: transform, opacity;
}
.careers-item:hover {
  background: rgba(63, 176, 40, 0.1);
  border-color: rgba(63, 176, 40, 0.4);
  transform: translateY(-2px);
}
.careers-role {
  font-family: "Comfortaa", "Geist", sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: #ffffff;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.careers-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.careers-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}
.careers-arrow {
  color: rgba(255, 255, 255, 0.5);
  font-size: 24px;
  transition: color 0.3s, transform 0.3s;
}
.careers-item:hover .careers-arrow {
  color: #7cff5f;
  transform: translateX(6px);
}
.careers-all {
  display: block;
  padding: 20px;
  background: #ffffff;
  color: #0c0f0f;
  text-align: center;
  border-radius: 14px;
  font-family: "Comfortaa", "Geist", sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s, color 0.3s;
  will-change: transform, opacity;
}
.careers-all:hover { background: #7cff5f; transform: translateY(-3px); }

/* ── Footer marquee — oversized wordmark loops slowly behind newsletter/links ── */
.footer-marquee {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  display: flex;
  align-items: center;
}
.footer-marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: footer-marquee-loop 480s linear infinite;
  will-change: transform;
}
.footer-marquee-word {
  font-family: "Comfortaa", "Geist", sans-serif;
  font-weight: 700;
  font-size: 18vw;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  padding-right: 0.2em;
}
@keyframes footer-marquee-loop {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0%); }
}

/* ── Footer link hover — subtle slide + underline draw ── */
.footer-link {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #7cb342;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}
.footer-link:hover::after {
  width: 100%;
}

/* ── Footer CTA button — hover ambient glow ── */
.footer-cta {
  position: relative;
}
.footer-cta:hover {
  box-shadow: 0 0 40px -8px rgba(124, 179, 66, 0.35);
}

.camel-leg {
  transform-box: fill-box;
  transform-origin: center top;
  animation: camel-walk 0.5s ease-in-out infinite;
}
.camel-leg.leg-b {
  animation-delay: -0.25s;
}
@keyframes camel-walk {
  0%, 100% { transform: rotate(-18deg); }
  50%      { transform: rotate(18deg); }
}
