@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* GT, çeviri aktifken body'e top:40px ekler — bunu sıfırla */
body {
  top: 0 !important;
}

/* ── Tetris Preloader ── */
#gd-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--bg, #fff);
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

#gd-preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#gd-preloader canvas {
  display: block;
  image-rendering: pixelated;
}

#gd-preloader-text {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg, #111);
  transition: color 0.3s;
}

/* ═══════════════════════════════════════════
   THEME VARIABLES
═══════════════════════════════════════════ */

/* ── LIGHT (default) ── */
:root {
  --bg: #ffffff;
  --bg2: #f5f5f5;
  --bg3: #eeeeee;
  --fg: #111111;
  --fg2: #444444;
  --fg3: #888888;
  --accent: #ffe600;
  --accent-fg: #000000;
  --border: #e0e0e0;
  --border-dark: #cccccc;

  --blog-card-bg: rgba(255, 255, 255, 0.6);
  --blog-card-border: rgba(0, 0, 0, 0.09);
  --blog-card-shadow: rgba(0, 0, 0, 0.12);

  /* "black box" sections stay dark in both themes */
  --ink: #111111;
  --ink-fg: #ffffff;
  --ink2: #1a1a1a;

  --font-display: "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
}

/* ── DARK ── */
[data-theme="dark"] {
  --bg: #0a0a0a;
  --bg2: #111111;
  --bg3: #1a1a1a;
  --fg: #ffffff;
  --fg2: #cccccc;
  --fg3: #888888;
  --border: #2a2a2a;
  --border-dark: #333333;

  --blog-card-bg: rgba(255, 255, 255, 0.04);
  --blog-card-border: rgba(255, 255, 255, 0.1);
  --blog-card-shadow: rgba(0, 0, 0, 0.45);

  --ink: #ffe600;
  --ink-fg: #000000;
  --ink2: #1a1a1a;
}

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition:
    background 0.35s ease,
    color 0.35s ease;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--fg3);
  border-radius: 3px;
}

::selection {
  background: var(--accent);
  color: var(--accent-fg);
}

/* ═══════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════ */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--fg);
}

h1 {
  font-size: clamp(56px, 9vw, 120px);
}

h2 {
  font-size: clamp(44px, 7vw, 90px);
}

h3 {
  font-size: clamp(26px, 4vw, 48px);
}

h4 {
  font-size: clamp(18px, 2.5vw, 28px);
}

p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--fg2);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ═══════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════ */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

.section {
  padding: 120px 0;
}

.section-sm {
  padding: 80px 0;
}

hr.divider {
  border: none;
  border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════════
   SECTION LABEL
═══════════════════════════════════════════ */
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg3);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--fg3);
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
}

/* Yellow button — primary in light mode */
.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
}

.btn-primary:hover {
  background: var(--fg);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.15);
}

/* Outline dark button */
.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 2px solid var(--fg);
}

.btn-outline:hover {
  background: var(--fg);
  color: var(--bg);
  transform: translateY(-2px);
}

/* Outline accent */
.btn-outline-accent {
  background: transparent;
  color: var(--fg);
  border: 2px solid var(--border-dark);
}

.btn-outline-accent:hover {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Nav link text crossfade animation — CSS grid overlay approach.
   Both spans sit in the same grid cell; opacity fades between them.
   No absolute positioning needed → no container width collapse. */
.nli {
  display: inline-grid;
  vertical-align: middle;
  pointer-events: none;
}

.ns {
  display: grid;
}

.ns span {
  grid-row: 1;
  grid-column: 1;
  transition: opacity 260ms cubic-bezier(0.2, 0, 0, 1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  white-space: nowrap;
}

.ns span:first-child {
  opacity: 1;
}

.ns span:last-child {
  opacity: 0;
  color: inherit;
}

.nav-links a:hover .ns span:first-child,
.nav-links a.active .ns span:first-child {
  opacity: 0;
}

.nav-links a:hover .ns span:last-child,
.nav-links a.active .ns span:last-child {
  opacity: 1;
}

/* Plain text CTA link — no background, just text */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: 0.03em;
  padding: 4px 0;
  border-bottom: 1.5px solid var(--fg);
  transition:
    opacity 0.2s,
    gap 0.2s;
}

.cta-link:hover {
  opacity: 0.55;
  gap: 14px;
}

/* INK (on dark sections — always white/black) */
.btn-ink {
  background: var(--ink-fg);
  color: var(--ink);
}

.btn-ink:hover {
  background: var(--accent);
  color: var(--accent-fg);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   THEME SWITCH (moon/sun slider)
═══════════════════════════════════════════ */
.theme-switch {
  position: relative;
  display: inline-block;
  width: 3.5em;
  height: 2em;
  font-size: 13px;
  cursor: pointer;
  flex-shrink: 0;
  user-select: none;
  -webkit-user-select: none;
}

.theme-switch:hover {
  opacity: 0.85;
}

.theme-switch-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.theme-switch-slider {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  transition: background 0.5s ease;
  background: #9ca3af;
  /* light mode default */
}

[data-theme="dark"] .theme-switch-slider {
  background: #0a1a44;
}

.theme-switch-slider::before {
  content: "";
  position: absolute;
  height: 1.4em;
  width: 1.4em;
  border-radius: 50%;
  left: 10%;
  bottom: 15%;
  background: #9ca3af;
  box-shadow: inset 15px -4px 0px 15px #fff000;
  /* sun */
  transform: translateX(1.4em);
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease,
    background 0.5s ease;
}

[data-theme="dark"] .theme-switch-slider::before {
  background: #0a1a44;
  box-shadow: inset 8px -4px 0px 0px #fff000;
  /* crescent moon */
  transform: translateX(0);
}

/* ═══════════════════════════════════════════
   BORDER RADIUS — rounded corners everywhere
═══════════════════════════════════════════ */
.btn {
  border-radius: 8px;
}

.service-card {
  border-radius: 12px;
}

.testimonial-card {
  border-radius: 12px;
}

.blog-card {
  border-radius: 16px;
}

.project-full-card {
  border-radius: 12px;
}

.project-scroll-card {
  border-radius: 12px;
}

.stat-item {
  border-radius: 0;
}

.process-step {
  border-radius: 10px;
}

.service-full-item {
  border-radius: 0;
}

.palette-preset {
  border-radius: 12px;
}

.palette-generator {
  border-radius: 12px;
}

.color-swatch-item {
  border-radius: 8px;
  overflow: hidden;
}

.slide-card {
  border-radius: 12px;
}

.slide-card-inner {
  border-radius: 12px;
}

.project-scroll-card {
  border-radius: 12px;
  overflow: hidden;
}

.hero-slider-wrap {
  border-radius: 0;
}

.mobile-menu {
  border-radius: 0;
}

.testimonial-avatar {
  border-radius: 8px;
}

.contact-item {
  border-radius: 0;
}

.form-group input,
.form-group textarea,
.form-group select {
  border-radius: 8px;
}

.filter-tab:first-child {
  border-radius: 8px 0 0 8px;
}

.filter-tab:last-child {
  border-radius: 0 8px 8px 0;
}

.filter-tabs {
  border-radius: 8px;
  overflow: hidden;
}

.service-tag {
  border-radius: 4px;
}

.blog-card h3 {
  border-radius: 0;
}

.nav {
  border-radius: 0;
}

.marquee-wrap {
  border-radius: 0;
}

.cta-banner {
  border-radius: 0;
}

.footer {
  border-radius: 0;
}

/* ═══════════════════════════════════════════
   NAVIGATION — MINI DARK PILL
═══════════════════════════════════════════ */
.gd-filters {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.nav {
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 6px 16px;
  pointer-events: all;
  background: rgba(31, 31, 31, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  background-clip: padding-box;
  transition:
    width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav.scrolled {
  right: calc(100% - 920px);
  top: 12px;
}

.nav.scrolled .nav-left {
  max-width: 40px;
  margin-right: 60px;
}

.nav-left {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1000px;
  transition:
    max-width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    margin-right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-logo {
  display: flex;
  align-items: center;
  pointer-events: all;
}

.nav-logo img {
  height: 30px;
  width: auto;
  transition: opacity 0.2s;
}

.nav-logo:hover img {
  opacity: 0.7;
}

/* Separator — hidden, kept for compatibility */
.nav-sep {
  display: none;
}

.lang-check {
  width: 13px;
  height: 13px;
  color: var(--accent);
  opacity: 0;
  flex-shrink: 0;
}

.lang-option.active .lang-check {
  opacity: 1;
}

/* Nav links — içindeki pill stili kaldırıldı, .nav kendisi pill */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  margin-right: 14px;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  display: flex;
  align-items: center;
  /* Increase vertical padding so the animated text has enough room */
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-decoration: none;
  line-height: 1;
  transition:
    color 0.25s,
    background 0.25s;
}

.nav-links a {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}

.nav-links a:focus,
.nav-links a:active {
  outline: none;
  box-shadow: none;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Removed site-wide solid background on nav links (user requested).
   Keep animation-layer fixes applied earlier, but avoid forcing opaque backgrounds.
   If ghosting persists we increase nav height below. */
/* Active link — sarı (gece), siyah (gündüz) */
.nav-links a.active,
.nav-links a.active .ns span {
  color: #ffec00 !important;
}

[data-theme="light"] .nav-links a.active,
[data-theme="light"] .nav-links a.active .ns span {
  color: #ffec00 !important;
}

.nav-links a.active {
  background: rgba(255, 236, 0, 0.1) !important;
}

[data-theme="light"] .nav-links a.active {
  background: rgba(255, 236, 0, 0.1) !important;
}

/* Ensure active link shows only the second (colored) span */
.nav-links a.active .ns span:first-child {
  opacity: 0 !important;
}

.nav-links a.active .ns span:last-child {
  opacity: 1 !important;
}

.nav-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: 24px;
  pointer-events: all;
}

/* Theme switch — styles already defined in THEME SWITCH section above */

/* CTA button */
.nav-cta {
  display: flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.2s;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: #fff;
}

/* ════════════════════════════════════════════
   HAMBURGER — Morphing SVG ikonu (vanilla)
════════════════════════════════════════════ */
.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 8px;
  background: rgba(31, 31, 31, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  pointer-events: all;
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.2s ease;
}

.hamburger:hover {
  background: rgba(50, 50, 50, 0.85);
}

/* SVG ikonu */
.hamburger-icon {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
  transition: transform 500ms ease-in-out;
}

.hamburger-icon.open {
  transform: rotate(-45deg);
}

/* Üst path — hamburger→X morph */
.hamburger-path-top {
  stroke-dasharray: 12 63;
  transition:
    stroke-dasharray 500ms ease-in-out,
    stroke-dashoffset 500ms ease-in-out;
}

.hamburger-icon.open .hamburger-path-top {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42;
}

/* ════════════════════════════════════════════
   MOBİL MENÜ — Tema duyarlı tam ekran overlay
════════════════════════════════════════════ */
.mobile-menu {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 998;
  padding: 72px 36px 40px;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  /* Animasyon */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px) scale(0.987);
  transition:
    opacity 0.48s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.48s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.48s cubic-bezier(0.16, 1, 0.3, 1);
  /* Alt nav boşluğu */
  padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
}

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

/* Stagger animasyonu */
@keyframes mmItemIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.mobile-menu.open>*:not(.mobile-menu-close) {
  animation: mmItemIn 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.mobile-menu.open>*:nth-child(1) {
  animation-delay: 0.06s;
}

.mobile-menu.open>*:nth-child(2) {
  animation-delay: 0.10s;
}

.mobile-menu.open>*:nth-child(3) {
  animation-delay: 0.13s;
}

.mobile-menu.open>*:nth-child(4) {
  animation-delay: 0.16s;
}

.mobile-menu.open>*:nth-child(5) {
  animation-delay: 0.19s;
}

.mobile-menu.open>*:nth-child(6) {
  animation-delay: 0.22s;
}

.mobile-menu.open>*:nth-child(7) {
  animation-delay: 0.25s;
}

.mobile-menu.open>*:nth-child(8) {
  animation-delay: 0.28s;
}

.mobile-menu.open>*:nth-child(9) {
  animation-delay: 0.31s;
}

.mobile-menu.open>*:nth-child(10) {
  animation-delay: 0.34s;
}

/* Menü başlığı — JS ile enjekte edilir */
.mobile-menu__header {
  font-family: 'Inter', var(--font-body), sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg3);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

/* Numaralı nav öğeleri — CSS counter */
.mobile-menu {
  counter-reset: mm-num;
}

.mobile-menu>a:not(.nav-cta),
.mobile-menu>.mobile-menu__label {
  counter-increment: mm-num;
}

.mobile-menu>a:not(.nav-cta)::before,
.mobile-menu>.mobile-menu__label::before {
  content: counter(mm-num, decimal-leading-zero);
  font-family: 'Inter', var(--font-body), sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--fg3);
  margin-right: 12px;
  flex-shrink: 0;
  align-self: center;
}

/* Ana nav linkleri */
.mobile-menu a {
  font-family: 'Inter', var(--font-body), sans-serif;
  font-size: clamp(30px, 9vw, 48px);
  font-weight: 300;
  color: var(--fg2);
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease;
  line-height: 1.15;
  text-decoration: none;
  display: flex;
  align-items: center;
  letter-spacing: -0.01em;
}

.mobile-menu>a:not(.nav-cta):hover {
  color: var(--fg);
}

.mobile-menu a.active {
  color: var(--fg);
  font-weight: 500;
}

/* Kapatma (X) butonu — tema duyarlı */
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  background: var(--bg3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--fg2);
  transition: background 0.2s ease, color 0.2s ease, transform 0.25s ease;
  flex-shrink: 0;
  z-index: 10;
}

.mobile-menu-close:hover {
  background: var(--bg2);
  color: var(--fg);
  transform: scale(1.06) rotate(90deg);
}

/* CTA butonu */
.mobile-menu .nav-cta {
  font-family: 'Inter', var(--font-body), sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-top: 24px;
  align-self: flex-start;
  background: var(--fg);
  color: var(--bg);
  padding: 12px 24px;
  border-radius: 100px;
  border: none;
  display: inline-flex;
  align-items: center;
}

.mobile-menu .nav-cta::before {
  display: none !important;
}

.mobile-menu .nav-cta:hover {
  opacity: 0.85;
  color: var(--bg);
}

/* Tema toggle */
.mobile-menu .theme-switch {
  margin-top: 16px;
  align-self: flex-start;
}

/* ================================================================
   NAV DROPDOWN
   ================================================================ */
.nav-has-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  gap: 4px;
}

.nav-chevron {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  opacity: 0.55;
  transition:
    transform 0.2s,
    opacity 0.2s;
}

.nav-has-dropdown:hover .nav-chevron,
.nav-has-dropdown.open .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 220px;
  /* padding-top köprü görevi görür: fare boşlukta hover'ı kaybetmez */
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.18s,
    visibility 0.18s,
    transform 0.18s;
  pointer-events: none;
  z-index: 200;
}

.nav-dropdown__inner {
  background: rgba(20, 20, 20, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition:
    background 0.15s,
    color 0.15s;
  white-space: nowrap;
  background: none;
}

.nav-dropdown a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-dropdown a.active {
  color: #ffec00;
  background: rgba(255, 236, 0, 0.08);
}

.nav-dropdown__icon {
  display: none;
}

/* Mobile sub-menu */
.mobile-menu__sub {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--border);
  padding-left: 20px;
  margin: 2px 0 4px;
}

.mobile-menu__sub a {
  font-family: 'Inter', var(--font-body), sans-serif !important;
  font-size: clamp(18px, 4.5vw, 28px) !important;
  font-weight: 300 !important;
  color: var(--fg3) !important;
  padding: 8px 0 !important;
  border-bottom: none !important;
  line-height: 1.2;
  letter-spacing: -0.01em;
  display: block !important;
}

.mobile-menu__sub a::before {
  display: none !important;
}

.mobile-menu__sub a:hover {
  color: var(--fg2) !important;
}

/* Mobile menu group label — "Hakkımızda" vb. */
.mobile-menu__label {
  font-family: 'Inter', var(--font-body), sans-serif;
  font-size: clamp(30px, 9vw, 48px);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--fg2);
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  margin-top: 0;
  display: flex;
  align-items: center;
  line-height: 1.15;
}

/* ================================================================
   TOOLS — Araçlar sayfaları
   ================================================================ */
.tools-hero {
  background: #04040a;
  height: 550px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tools-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%,
      rgba(255, 236, 0, 0.07) 0%,
      transparent 70%);
  pointer-events: none;
}

.tools-hero .breadcrumb {
  justify-content: center;
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.tools-hero h1 {
  font-size: clamp(48px, 8vw, 100px);
  line-height: 0.95;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.tools-hero h1 .accent {
  color: var(--accent);
}

.tools-hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .tools-hero {
    padding: 0 24px;
    height: 500px;
  }
}

/* Tools grid (hub page) */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.tool-card {
  background: var(--bg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
}

.tool-card:hover {
  background: var(--bg2);
}

.tool-card__icon {
  font-size: 36px;
  line-height: 1;
}

.tool-card__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.tool-card h3 {
  font-size: 22px;
  color: var(--fg);
  margin: 0;
}

.tool-card p {
  font-size: 14px;
  color: var(--fg3);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.tool-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.tool-card__badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 236, 0, 0.12);
  color: var(--accent);
  border: 1px solid rgba(255, 236, 0, 0.2);
}

.tool-card__badge--soon {
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg3);
  border-color: var(--border);
}

/* Tool workspace */
.tool-workspace {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 48px 80px;
}

@media (max-width: 768px) {
  .tool-workspace {
    padding: 40px 24px 60px;
  }
}

.tool-panel {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .tool-panel {
    padding: 24px 20px;
  }
}

.tool-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg3);
  margin-bottom: 10px;
  display: block;
}

.tool-input {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.tool-input:focus {
  border-color: var(--accent);
}

.tool-textarea {
  resize: vertical;
  min-height: 80px;
}

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

@media (max-width: 500px) {
  .tool-row {
    grid-template-columns: 1fr;
  }
}

.tool-range {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
}

.tool-select {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: 8px;
  outline: none;
  cursor: pointer;
}

.tool-select:focus {
  border-color: var(--accent);
}

/* QR preview */
.qr-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}

.qr-preview #qrcode canvas,
.qr-preview #qrcode img {
  border-radius: 8px;
}

.qr-placeholder {
  text-align: center;
  color: var(--fg3);
  font-size: 14px;
}

.qr-placeholder svg {
  display: block;
  margin: 0 auto 12px;
  opacity: 0.25;
}

/* Image resizer */
.drop-zone {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 48px 32px;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
  position: relative;
}

.drop-zone.dragging {
  border-color: var(--accent);
  background: rgba(255, 236, 0, 0.04);
}

.drop-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.drop-zone__icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.drop-zone__text {
  font-size: 15px;
  color: var(--fg2);
  margin-bottom: 4px;
}

.drop-zone__hint {
  font-size: 13px;
  color: var(--fg3);
}

.img-preview-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg3);
  border: 1px solid var(--border);
}

.img-preview-wrap img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
}

.img-preview-wrap canvas {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
}

.tool-action-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition:
    background 0.2s,
    color 0.2s;
  font-family: var(--font-body);
}

.tool-btn--primary {
  background: var(--accent);
  color: var(--accent-fg);
}

.tool-btn--primary:hover {
  background: #ffe800;
}

.tool-btn--ghost {
  background: var(--bg3);
  color: var(--fg);
  border: 1px solid var(--border);
}

.tool-btn--ghost:hover {
  background: var(--bg2);
  border-color: var(--fg3);
}

.tool-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.tool-info {
  font-size: 13px;
  color: var(--fg3);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.tool-info span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ═══════════════════════════════════════════
   AI CHATBOT
═══════════════════════════════════════════ */
.chat-workspace {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 48px 80px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (max-width: 768px) {
  .chat-workspace {
    padding: 24px 16px 60px;
  }
}

.chat-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--fg3);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 20px;
}

.chat-notice svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.chat-window {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  min-height: 420px;
  max-height: 520px;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
  margin-bottom: 16px;
}

@media (max-width: 600px) {
  .chat-window {
    min-height: 340px;
    max-height: 420px;
    padding: 16px;
  }
}

.chat-empty {
  margin: auto;
  text-align: center;
  color: var(--fg3);
}

.chat-empty__icon {
  font-size: 40px;
  margin-bottom: 12px;
  opacity: 0.5;
}

.chat-empty__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg2);
  margin-bottom: 6px;
}

.chat-empty__sub {
  font-size: 13px;
  color: var(--fg3);
  max-width: 280px;
  line-height: 1.5;
}

.chat-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 85%;
  animation: msgIn 0.2s ease;
}

@keyframes msgIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

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

.chat-msg--user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  background: var(--bg3);
  border: 1px solid var(--border);
}

.chat-msg--user .chat-avatar {
  background: var(--accent);
  border-color: var(--accent);
}

.chat-bubble {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg);
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-msg--user .chat-bubble {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
}

.chat-bubble--typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 14px 18px;
}

.chat-bubble--typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fg3);
  display: inline-block;
  animation: typingDot 1.2s infinite;
}

.chat-bubble--typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.chat-bubble--typing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingDot {

  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }

  30% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

.chat-input-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.chat-textarea {
  flex: 1;
  resize: none;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s;
  min-height: 50px;
  max-height: 160px;
  overflow-y: auto;
  line-height: 1.5;
}

.chat-textarea:focus {
  border-color: var(--accent);
}

.chat-textarea::placeholder {
  color: var(--fg3);
}

.chat-send-btn {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-fg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.2s,
    transform 0.1s;
}

.chat-send-btn:hover {
  background: #ffe800;
}

.chat-send-btn:active {
  transform: scale(0.95);
}

.chat-send-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.chat-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-hint {
  font-size: 12px;
  color: var(--fg3);
}

.chat-clear-btn {
  font-size: 12px;
  color: var(--fg3);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 6px;
  transition:
    background 0.15s,
    color 0.15s;
  font-family: var(--font-body);
}

.chat-clear-btn:hover {
  background: var(--bg3);
  color: var(--fg2);
}

/* ── Ham icon: dots / close toggle ── */
.ham-icon {
  display: block;
  flex-shrink: 0;
}

.ham-close {
  display: none;
}

.hamburger.open .ham-dots {
  display: none;
}

.hamburger.open .ham-close {
  display: block;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-right .nav-cta,
  .nav-right .theme-switch,
  .nav-right .lang-dropdown {
    display: none !important;
  }

  /* ── Mobile nav: fully transparent container, no glass pill ── */
  .nav {
    background: transparent !important;
    border: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    /* Shrink to top-right corner — only the button */
    left: auto !important;
    right: 16px !important;
    top: 16px !important;
    padding: 0 !important;
    width: auto !important;
    /* Keep fixed so hamburger is always reachable */
    position: fixed !important;
  }

  /* ── Hide logo on mobile ── */
  .nav-left {
    display: none !important;
  }

  /* ── Three-dot hamburger: solid pill, zero blur ── */
  .hamburger {
    background: var(--bg) !important;
    border: 1px solid var(--border-dark) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12) !important;
    color: var(--fg) !important;
    justify-content: center !important;
    align-items: center !important;
  }

  /* ── Scrolled state stays put on mobile ── */
  .nav.scrolled {
    right: 16px !important;
    top: 16px !important;
    left: auto !important;
  }

  .nav.scrolled .nav-left {
    display: none !important;
  }
}

/* ═══════════════════════════════════════════
   HERO — FULL-SCREEN GRADIENT
═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--bg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

/* Canvas always visible — same shader for both modes */

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px 72px;
  max-width: 700px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeUp 0.8s ease both;
}

.hero-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

/* Hero logo — sol üst, carousel ve içerikle çakışmaz */
.hero-logo-img {
  position: absolute;
  left: 0;
  top: 18%;
  width: 62%;
  max-width: none;
  height: auto;
  z-index: 4;
  pointer-events: none;
  animation: fadeUp 0.9s ease 0.15s both;
}

@media (max-width: 900px) {
  .hero-logo-img {
    width: 85%;
    top: 8%;
  }
}

@media (max-width: 600px) {
  .hero-logo-img {
    width: 100%;
    top: 6%;
  }
}

.hero-desc {
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.65);
  max-width: 460px;
  margin-bottom: 40px;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.3s both;
}

.btn-hero-outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  animation: fadeUp 1s ease 0.6s both;
  z-index: 2;
}

.hero-scroll-line {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  animation: expandLine 1.5s ease-in-out infinite;
}

@keyframes expandLine {

  0%,
  100% {
    width: 20px;
  }

  50% {
    width: 48px;
  }
}

/* Light mode hero: dark text on bright nebula */
[data-theme="light"] .hero-eyebrow {
  color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .hero-eyebrow::before {
  background: rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .hero-desc {
  color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .hero-scroll {
  color: rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .hero-scroll-line {
  background: rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .btn-hero-outline {
  color: rgba(0, 0, 0, 0.85);
  border-color: rgba(0, 0, 0, 0.25);
}

/* Dark mode: ensure hero outline button text is white */
[data-theme="dark"] .btn-hero-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Header-specific overrides: make eyebrow and description pure white in both themes */
.hero .hero-eyebrow,
.hero .hero-desc {
  color: #ffffff;
}

.hero .hero-eyebrow::before {
  background: #ffffff;
}

/* Ensure the "Aşağı kaydır" (hero-scroll) looks the same in light mode as dark mode */
[data-theme="light"] .hero-scroll {
  color: rgba(255, 255, 255, 0.35);
}

[data-theme="light"] .hero-scroll-line {
  background: rgba(255, 255, 255, 0.3);
}

[data-theme="light"] .btn-hero-outline:hover {
  background: rgba(0, 0, 0, 0.07);
  border-color: rgba(0, 0, 0, 0.5);
}

/* Force hero-scoped button colors to ensure readability when hero background is dark
   (overrides theme-based rules inside the hero area) */
.hero .btn-hero-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.hero .btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* ═══════════════════════════════════════════
   HERO CAROUSEL
═══════════════════════════════════════════ */
.hero-carousel {
  position: absolute;
  left: 46%;
  right: 0;
  bottom: 72px;
  height: 210px;
  overflow: hidden;
  z-index: 3;
  pointer-events: none;
  /* Fade to transparent at the left edge (green line effect) */
  mask-image: linear-gradient(to right,
      transparent 0px,
      rgba(0, 0, 0, 0.4) 60px,
      black 160px);
  -webkit-mask-image: linear-gradient(to right,
      transparent 0px,
      rgba(0, 0, 0, 0.4) 60px,
      black 160px);
}

.hero-carousel-track {
  display: flex;
  align-items: stretch;
  gap: 14px;
  height: 100%;
  will-change: transform;
}

.hero-carousel-card {
  flex-shrink: 0;
  width: 240px;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.hero-carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .hero-carousel {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding: 0 24px 64px;
  }

  .hero-scroll {
    right: 24px;
  }
}

/* ═══════════════════════════════════════════
   MARQUEE
═══════════════════════════════════════════ */
.marquee-wrap {
  background: var(--ink);
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
}

.marquee-item span {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--ink-fg);
  padding: 0 28px;
  white-space: nowrap;
}

.marquee-item .dot {
  color: rgba(255, 255, 255, 0.2);
  font-size: 18px;
  padding: 0;
}

[data-theme="dark"] .marquee-wrap {
  background: #0a0a0a;
}

[data-theme="dark"] .marquee-item span {
  color: #ffe600;
}

[data-theme="dark"] .marquee-item .dot {
  color: #ffffff;
}

/* Light mode: marquee background white, text black, dots yellow */
[data-theme="light"] .marquee-wrap {
  background: #ffffff;
}

[data-theme="light"] .marquee-item span {
  color: #111111;
}

[data-theme="light"] .marquee-item .dot {
  color: #ffec00;
}

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

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

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

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

/* ═══════════════════════════════════════════
   PROJECTS SHOWCASE — Split (homepage)
═══════════════════════════════════════════ */
.projects-showcase {
  display: grid;
  grid-template-columns: 380px 1fr;
  min-height: 600px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

@media (max-width: 1024px) {
  .projects-showcase {
    grid-template-columns: 1fr;
  }
}

.projects-showcase-left {
  padding: 80px 48px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg);
}

@media (max-width: 1024px) {
  .projects-showcase-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 60px 24px;
  }
}

.projects-showcase-left h2 {
  font-size: clamp(28px, 8vw, 54px);
  line-height: 0.95;
  margin-bottom: 24px;
  word-break: normal;
}

.projects-showcase-left p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--fg2);
  margin-bottom: 40px;
  max-width: 300px;
}

/* Right: horizontal scrolling cards */
.projects-showcase-right {
  overflow: hidden;
  position: relative;
  background: var(--bg2);
}

.projects-scroll-track {
  display: flex;
  height: 100%;
  min-height: 520px;
  gap: 2px;
  animation: projectsScroll 20s linear infinite;
  width: max-content;
}

.projects-scroll-track:hover {
  animation-play-state: paused;
}

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

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

.project-scroll-card {
  width: 320px;
  height: 100%;
  min-height: 520px;
  background: var(--bg3);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
}

.project-scroll-card:hover .project-scroll-overlay {
  opacity: 1;
}

.project-scroll-card:hover .pscard-img {
  transform: scale(1.08);
  filter: grayscale(0%);
}

.pscard-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.6s ease,
    filter 0.5s ease;
  filter: grayscale(40%);
}

/* Placeholder for when no image */
.pscard-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--bg3);
  transition: background 0.3s;
}

.project-scroll-card:hover .pscard-placeholder {
  background: var(--ink);
}

.pscard-number {
  font-family: var(--font-display);
  font-size: 100px;
  color: var(--border);
  line-height: 1;
  transition: color 0.3s;
}

.project-scroll-card:hover .pscard-number {
  color: var(--accent);
}

.project-scroll-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}

.project-scroll-overlay .p-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.project-scroll-overlay h4 {
  font-size: 22px;
  color: #ffffff;
}

/* ═══════════════════════════════════════════
   SERVICES GRID (homepage)
═══════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 56px;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--bg);
  padding: 52px 44px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--ink);
  transition: width 0.4s ease;
}

.service-card:hover {
  background: var(--bg2);
}

.service-card:hover::after {
  width: 100%;
}

.service-number {
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--border);
  line-height: 1;
  margin-bottom: 20px;
  transition: color 0.3s;
}

.service-card:hover .service-number {
  color: var(--fg3);
}

.service-card h3 {
  font-size: 34px;
  margin-bottom: 14px;
  color: var(--fg);
}

.service-card p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--fg2);
}

/* ═══════════════════════════════════════════
   SERVICES CARD STACK
═══════════════════════════════════════════ */
.svc-stack-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

@media (max-width: 900px) {
  .svc-stack-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.svc-stack-lead {
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg2);
  max-width: 380px;
  margin-top: 16px;
}

.svc-stack-right {
  display: flex;
  flex-direction: column;
}

.svc-stack-container {
  position: relative;
  height: 360px;
  width: 100%;
  overflow: hidden;
}

/* Individual stacked card */
.svc-stack-card {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(480px, 100%);
  height: 268px;
  border-radius: 14px 14px 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  background: var(--bg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  will-change: transform;
  display: flex;
  flex-direction: column;
}

[data-theme="dark"] .svc-stack-card {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.svc-stack-card-img {
  width: 100%;
  height: 164px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.svc-stack-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 16px;
  gap: 12px;
  flex: 1;
}

.svc-stack-card-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.svc-stack-card-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--fg3);
  margin-bottom: 3px;
}

.svc-stack-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.svc-stack-card-desc {
  font-size: 12px;
  color: var(--fg3);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.svc-stack-card-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 34px;
  padding: 0 12px 0 14px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.svc-stack-card-cta:hover {
  opacity: 0.75;
}

.svc-stack-footer {
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
}

.svc-stack-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--fg2);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
  font-family: var(--font-body);
}

.svc-stack-btn:hover {
  background: var(--bg2);
  color: var(--fg);
}

.svc-stack-btn:active {
  transform: scale(0.97);
}

/* ═══════════════════════════════════════════
   FAN CARD STACK — Hizmetlerimiz
═══════════════════════════════════════════ */
.fanstack-section {
  overflow: visible;
}

.fanstack-section h2 {
  margin-bottom: 0;
}

.fanstack-stage {
  position: relative;
  height: 420px;
  margin-top: 64px;
  perspective: 1200px;
  perspective-origin: 50% 90%;
  overflow: visible;
}

/* spotlight blurs (decorative) */
.fanstack-stage::before,
.fanstack-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.fanstack-stage::before {
  top: 16px;
  width: 70%;
  height: 180px;
  background: rgba(0, 0, 0, 0.04);
  filter: blur(48px);
}

[data-theme="dark"] .fanstack-stage::before {
  background: rgba(255, 255, 255, 0.04);
}

.fanstack-stage::after {
  bottom: 0;
  width: 76%;
  height: 140px;
  background: rgba(0, 0, 0, 0.09);
  filter: blur(48px);
}

[data-theme="dark"] .fanstack-stage::after {
  background: rgba(0, 0, 0, 0.28);
}

.fanstack-card {
  position: absolute;
  bottom: 40px;
  left: 50%;
  width: min(460px, 82vw);
  height: 300px;
  border-radius: 16px;
  border: 3px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  will-change: transform;
  transform-style: preserve-3d;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.48s cubic-bezier(0.34, 1.06, 0.64, 1),
    opacity 0.32s ease,
    box-shadow 0.3s ease;
}

[data-theme="dark"] .fanstack-card {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.fanstack-card--active {
  cursor: grab;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.fanstack-card--active:active {
  cursor: grabbing;
}

[data-theme="dark"] .fanstack-card--active {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.fanstack-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}

.fanstack-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, transparent 55%);
  pointer-events: none;
}

.fanstack-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 20px 20px;
  z-index: 2;
}

.fanstack-card-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 5px;
  display: block;
}

.fanstack-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 4px;
  line-height: 1.2;
}

.fanstack-card-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Dot navigation */
.fanstack-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.fanstack-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border-dark);
  cursor: pointer;
  padding: 0;
  transition:
    background 0.2s,
    transform 0.2s;
}

.fanstack-dot--active {
  background: var(--fg);
  transform: scale(1.35);
}

.fanstack-dot:hover:not(.fanstack-dot--active) {
  background: var(--fg3);
}

@media (max-width: 600px) {
  .fanstack-stage {
    height: 340px;
    margin-top: 40px;
  }

  .fanstack-card {
    height: 240px;
  }
}

/* ═══════════════════════════════════════════
   STATS
═══════════════════════════════════════════ */
.stats-section {
  background: var(--ink);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-item {
  padding: 56px 40px;
  text-align: center;
  background: var(--ink);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 88px;
  color: var(--ink-fg);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .stat-label {
  color: rgba(255, 230, 0, 0.4);
}

/* ═══════════════════════════════════════════
   PROCESS STEPS
═══════════════════════════════════════════ */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 60px;
}

.process-step {
  background: var(--bg);
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 36px;
  padding: 44px 48px;
  align-items: center;
  transition: background 0.25s;
}

.process-step:hover {
  background: var(--bg2);
}

.process-step-num {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--fg3);
  line-height: 1;
}

.process-step h4 {
  font-size: 26px;
  margin-bottom: 8px;
  color: var(--fg);
}

.process-step p {
  font-size: 15px;
  color: var(--fg2);
}

@media (max-width: 600px) {
  .process-step {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 32px 24px;
  }
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 40px;
  transition:
    border-color 0.3s,
    transform 0.3s;
}

.testimonial-card:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-size: 52px;
  color: var(--fg3);
  line-height: 1;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--fg2);
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  background: var(--ink);
  color: var(--ink-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--fg);
  margin-bottom: 2px;
}

.testimonial-role {
  font-size: 12px;
  color: var(--fg3);
}

/* ═══════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════ */
/* ═══════════════════════════════════════════
   MESH GRADIENT CTA
═══════════════════════════════════════════ */
.mesh-cta {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mesh-cta__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.mesh-cta__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.22);
  transition: background 0.4s;
}

[data-theme="dark"] .mesh-cta__veil {
  background: rgba(0, 0, 0, 0.32);
}

.mesh-cta__inner {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 100px 24px;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.mesh-cta__title {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 700;
  line-height: 1.05;
  color: #0a0a0a;
  margin-bottom: 28px;
}

[data-theme="dark"] .mesh-cta__title {
  color: #ffffff;
}

.mesh-cta__desc {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.65);
  max-width: 540px;
  margin: 0 auto 44px;
}

[data-theme="dark"] .mesh-cta__desc {
  color: rgba(255, 255, 255, 0.75);
}

.mesh-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 52px;
  border-radius: 9999px;
  border: 3px solid rgba(0, 0, 0, 0.12);
  background: rgba(20, 20, 20, 0.88);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}

.mesh-cta__btn:hover {
  background: rgba(0, 0, 0, 1);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .mesh-cta__btn {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .mesh-cta__btn:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

/* ═══════════════════════════════════════════
   LOCATION MAP CARD
═══════════════════════════════════════════ */
.lmap-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 40px;
}

.lmap-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 16px;
}

.lmap {
  position: relative;
  cursor: pointer;
  user-select: none;
  display: inline-block;
}

.lmap-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  width: 240px;
  height: 140px;
  transition:
    width 0.45s cubic-bezier(0.34, 1.2, 0.64, 1),
    height 0.45s cubic-bezier(0.34, 1.2, 0.64, 1),
    transform 0.15s ease;
  transform-style: preserve-3d;
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

[data-theme="dark"] .lmap-card {
  background: #1c1c1c;
  border-color: rgba(255, 255, 255, 0.1);
}

.lmap.expanded .lmap-card {
  width: 360px;
  height: 280px;
}

/* Gradient overlay */
.lmap-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.03) 0%,
      transparent 50%,
      rgba(0, 0, 0, 0.07) 100%);
}

[data-theme="dark"] .lmap-overlay {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.02) 0%,
      transparent 50%,
      rgba(0, 0, 0, 0.12) 100%);
}

/* Map background */
.lmap-mapbg {
  position: absolute;
  inset: 0;
  background: #f1f5f9;
  color: #1e293b;
  opacity: 0;
  transition: opacity 0.4s ease 0.1s;
  pointer-events: none;
}

[data-theme="dark"] .lmap-mapbg {
  background: #27272a;
  color: #e4e4e7;
}

.lmap.expanded .lmap-mapbg {
  opacity: 1;
}

/* Roads */
.lmap-roads {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lmap-road-main {
  stroke: currentColor;
  stroke-width: 4;
  opacity: 0.25;
}

.lmap-road-sec {
  stroke: currentColor;
  stroke-width: 3;
  opacity: 0.18;
}

.lmap-road-minor {
  stroke: currentColor;
  stroke-width: 1.5;
  opacity: 0.1;
}

.lmap-roads line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 0s;
}

.lmap.expanded .lmap-roads line {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.8s ease;
}

.lmap.expanded .lmap-roads line:nth-child(1) {
  transition-delay: 0.2s;
}

.lmap.expanded .lmap-roads line:nth-child(2) {
  transition-delay: 0.3s;
}

.lmap.expanded .lmap-roads line:nth-child(3) {
  transition-delay: 0.4s;
}

.lmap.expanded .lmap-roads line:nth-child(4) {
  transition-delay: 0.5s;
}

.lmap.expanded .lmap-roads line:nth-child(5) {
  transition-delay: 0.6s;
}

.lmap.expanded .lmap-roads line:nth-child(6) {
  transition-delay: 0.65s;
}

.lmap.expanded .lmap-roads line:nth-child(7) {
  transition-delay: 0.7s;
}

.lmap.expanded .lmap-roads line:nth-child(8) {
  transition-delay: 0.72s;
}

.lmap.expanded .lmap-roads line:nth-child(9) {
  transition-delay: 0.74s;
}

.lmap.expanded .lmap-roads line:nth-child(10) {
  transition-delay: 0.76s;
}

.lmap.expanded .lmap-roads line:nth-child(11) {
  transition-delay: 0.78s;
}

/* Buildings */
.lmap-building {
  position: absolute;
  border-radius: 3px;
  opacity: 0;
  transform: scale(0.8);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .lmap-building {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.07);
}

.lmap.expanded .lmap-building {
  opacity: 1;
  transform: scale(1);
}

.lmap.expanded .lmap-building:nth-child(2) {
  transition-delay: 0.5s;
}

.lmap.expanded .lmap-building:nth-child(3) {
  transition-delay: 0.58s;
}

.lmap.expanded .lmap-building:nth-child(4) {
  transition-delay: 0.66s;
}

.lmap.expanded .lmap-building:nth-child(5) {
  transition-delay: 0.54s;
}

.lmap.expanded .lmap-building:nth-child(6) {
  transition-delay: 0.62s;
}

.lmap.expanded .lmap-building:nth-child(7) {
  transition-delay: 0.7s;
}

/* Pin */
.lmap-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s;
  filter: drop-shadow(0 0 8px rgba(255, 236, 0, 0.5));
  z-index: 2;
}

.lmap.expanded .lmap-pin {
  transform: translate(-50%, -50%) scale(1);
}

.lmap-pin-circle {
  fill: white;
}

[data-theme="dark"] .lmap-pin-circle {
  fill: #1c1c1c;
}

/* Bottom fade */
.lmap-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(241, 245, 249, 0.65), transparent);
  pointer-events: none;
}

[data-theme="dark"] .lmap-fade {
  background: linear-gradient(to top, rgba(39, 39, 42, 0.65), transparent);
}

/* Grid */
.lmap-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: #000;
  transition: opacity 0.3s;
}

[data-theme="dark"] .lmap-grid {
  color: #fff;
}

.lmap.expanded .lmap-grid {
  opacity: 0;
}

/* Content */
.lmap-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 20px;
}

.lmap-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.lmap-icon {
  color: #ffec00;
  transition: opacity 0.3s;
}

.lmap.expanded .lmap-icon {
  opacity: 0;
}

.lmap-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.05);
  transition: background 0.2s;
}

[data-theme="dark"] .lmap-badge {
  background: rgba(255, 255, 255, 0.06);
}

.lmap:hover .lmap-badge {
  background: rgba(0, 0, 0, 0.09);
}

[data-theme="dark"] .lmap:hover .lmap-badge {
  background: rgba(255, 255, 255, 0.1);
}

.lmap-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffec00;
}

.lmap-badge span:last-child {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

[data-theme="dark"] .lmap-badge span:last-child {
  color: rgba(255, 255, 255, 0.45);
}

.lmap-bottom {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lmap-title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: #111;
  margin: 0;
  transition: transform 0.25s ease;
}

[data-theme="dark"] .lmap-title {
  color: #fff;
}

.lmap:hover .lmap-title {
  transform: translateX(4px);
}

.lmap-coords {
  font-size: 11px;
  font-family: monospace;
  color: #6b7280;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.25s ease,
    opacity 0.25s ease;
}

[data-theme="dark"] .lmap-coords {
  color: rgba(255, 255, 255, 0.45);
}

.lmap.expanded .lmap-coords {
  max-height: 40px;
  opacity: 1;
}

.lmap-underline {
  height: 1px;
  background: linear-gradient(to right,
      rgba(255, 236, 0, 0.55),
      rgba(255, 236, 0, 0.25),
      transparent);
  transform-origin: left;
  transform: scaleX(0.3);
  transition: transform 0.4s ease;
}

.lmap:hover .lmap-underline,
.lmap.expanded .lmap-underline {
  transform: scaleX(1);
}

/* Hint */
.lmap-hint {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  font-size: 10px;
  color: #6b7280;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}

[data-theme="dark"] .lmap-hint {
  color: rgba(255, 255, 255, 0.35);
}

.lmap-hint--open {
  display: none;
}

.lmap.expanded .lmap-hint--collapse {
  display: none;
}

.lmap.expanded .lmap-hint--open {
  display: block;
}

.lmap:hover:not(.expanded) .lmap-hint--collapse,
.lmap.expanded:hover .lmap-hint--open {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 30px 48px 20px;
}

/* Footer grid animation layers (injected by JS) */
.footer-grid-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.footer-grid-static {
  opacity: 0.06;
}

.footer-grid-hover {
  opacity: 0.35;
}

[data-theme="light"] .footer-grid-layer {
  color: #111;
}

[data-theme="dark"] .footer-grid-layer {
  color: #fff;
}

/* Glow blobs */
.footer-glow-1,
.footer-glow-2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.footer-glow-1 {
  right: -15%;
  top: -40%;
  width: 40%;
  height: 80%;
  background: rgba(249, 115, 22, 0.15);
  filter: blur(100px);
}

.footer-glow-2 {
  left: -10%;
  bottom: -40%;
  width: 40%;
  height: 80%;
  background: rgba(99, 102, 241, 0.15);
  filter: blur(100px);
}

/* Ensure footer content sits above grid */
.footer>.container {
  position: relative;
  z-index: 1;
}

/* Footer logo images — removed */
.footer-logo-for-light {
  display: none !important;
}

.footer-logo-for-dark {
  display: none !important;
}

/* Footer typing animation */
.footer-typing-wrap {
  display: flex;
  align-items: flex-start;
  min-height: 90px;
  margin-bottom: 28px;
}

.footer-typing-text {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: #111;
  transition: color 0.3s;
  padding-top: 4px;
}

[data-theme="dark"] .footer-typing-text {
  color: #fff;
}

.footer-typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  border-radius: 2px;
  background: #111;
  margin-left: 4px;
  vertical-align: middle;
  animation: footerCursorBlink 0.8s ease-in-out infinite alternate;
  transition: background 0.3s;
}

[data-theme="dark"] .footer-typing-cursor {
  background: #fff;
}

@keyframes footerCursorBlink {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/* Gündüz (light) mod: beyaz arka plan, siyah yazı */
.footer {
  background: #fff;
  color: #111;
  border-top: 1px solid #e0e0e0;
}

/* Gece (dark) mod: siyah arka plan, beyaz yazı */
[data-theme="dark"] .footer {
  background: #111;
  color: #fff;
  border-top: 1px solid #222;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr 1fr;
  column-gap: 48px;
  row-gap: 0;
  align-items: start;
}

.footer-col-game {
  grid-column: 5;
  grid-row: 1 / 3;
}

.footer-bottom {
  grid-column: 1 / 5;
  grid-row: 2;
}

@media (max-width: 1100px) {
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 36px;
    row-gap: 48px;
  }

  .footer-col-game {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-bottom {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    row-gap: 48px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 30px 24px 24px;
  }
}

.footer-logo img {
  height: 50px;
  margin-bottom: 20px;
  display: block;
}

.footer-logo p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.4);
  max-width: 340px;
}

.footer-game {
  margin-top: 0;
  margin-bottom: 24px;
}

.footer-game-meta {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 8px;
  display: block;
  padding-left: 24px;
  border-left: 4px solid #ffe600;
  line-height: 1.2;
}

[data-theme="dark"] .footer-game-meta {
  color: #fff;
}

.footer-game-meta b {
  font-weight: 800;
}

.footer-game-board {
  position: relative;
  display: inline-block;
  line-height: 0;
}

.footer-game-canvas {
  display: block;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
}

[data-theme="dark"] .footer-game-canvas {
  border-color: #2a2a2a;
}

.footer-game-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 4px;
}

.footer-game-start {
  background: #ffe600;
  color: #000;
  border: none;
  padding: 8px 18px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s;
}

.footer-game-start:hover {
  background: #ffd000;
}

.footer-game-hint {
  font-size: 10px;
  color: #888;
  margin-top: 7px;
  letter-spacing: 0.03em;
}

[data-theme="dark"] .footer-game-hint {
  color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .footer-logo p {
  color: rgba(255, 255, 255, 0.35);
}

/* Gündüz mod: siyah yazı */
.footer-logo p {
  color: #111;
}

/* Gece mod: beyaz yazı */
[data-theme="dark"] .footer-logo p {
  color: #fff;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 18px;
  display: block;
  padding-left: 24px;
  border-left: 4px solid #ffe600;
  line-height: 1.2;
}

[data-theme="dark"] .footer-col h5 {
  color: #fff;
}

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

.footer-col ul li a {
  font-size: 15px;
  color: #111;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: #555;
}

[data-theme="dark"] .footer-col ul li a {
  color: #fff;
}

[data-theme="dark"] .footer-col ul li a:hover {
  color: #ffe600;
}

/* Footer link ok ikonu */
.footer-link-arrow {
  display: inline-flex;
  align-items: center;
  margin-right: 6px;
  opacity: 0.5;
  flex-shrink: 0;
}

/* Footer iletişim ikonları */
.footer-icon {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  opacity: 0.6;
}

.footer-bottom {
  border-top: 1px solid #e0e0e0;
  margin-top: 30px;
  padding-top: 20px;
  align-self: end;
  padding-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

[data-theme="dark"] .footer-bottom {
  border-top-color: #222;
}

.footer-copyright {
  font-size: 13px;
  color: #555;
}

[data-theme="dark"] .footer-copyright {
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

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

[data-theme="dark"] .footer-bottom-links a {
  color: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .footer-bottom-links a:hover {
  color: #ffe600;
}

.footer-bottom-sep {
  font-size: 12px;
  color: #ccc;
}

[data-theme="dark"] .footer-bottom-sep {
  color: #444;
}

@media (max-width: 700px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-socials a:hover {
  border-color: #111;
  color: #111;
}

[data-theme="dark"] .footer-socials a {
  border: 1px solid #333;
  color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .footer-socials a:hover {
  border-color: #ffe600;
  color: #ffe600;
}

/* ═══════════════════════════════════════════
   PAGE HERO (inner pages)
═══════════════════════════════════════════ */
.page-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding: 148px 48px 80px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

/* Blog hero — cybernetic grid shader */
.blog-hero {
  position: relative;
  overflow: hidden;
  background: #000;
}

.blog-hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.blog-hero__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: background 0.4s;
}

[data-theme="light"] .blog-hero__veil {
  background: rgba(0, 0, 0, 0.18);
}

[data-theme="dark"] .blog-hero__veil {
  background: rgba(0, 0, 0, 0.18);
}

.blog-hero .page-hero-inner {
  position: relative;
  z-index: 1;
}

.blog-hero h1 {
  color: #fff !important;
}

.blog-hero p {
  color: rgba(255, 255, 255, 0.7) !important;
}

.blog-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.5) !important;
}

.blog-hero .breadcrumb span:not(.bc-sep) {
  color: #ffec00 !important;
  font-weight: 600;
}

.blog-hero .accent {
  color: var(--accent) !important;
}

@media (max-width: 768px) {
  .page-hero {
    padding: 100px 20px 40px; /* Reduced padding */
  }
  .page-hero.blog-hero {
    min-height: auto;
    height: 480px; /* Restored as requested */
  }
  .page-hero.blog-hero h1 {
    font-size: 52px; /* Scale down title */
    margin-bottom: 12px;
  }
  .page-hero.blog-hero p {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 20px;
  }
  .page-hero.blog-hero .breadcrumb {
    margin-bottom: 16px;
  }
}

.page-hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(64px, 12vw, 150px);
  color: var(--fg);
  line-height: 0.9;
  margin-bottom: 24px;
}

.page-hero .accent {
  color: var(--accent);
}

.page-hero p {
  max-width: 580px;
  font-size: 18px;
  color: var(--fg2);
  margin-left: auto;
  margin-right: auto;
}

.page-hero .breadcrumb {
  justify-content: center;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--fg3);
  margin-bottom: 28px;
}

.breadcrumb a {
  color: var(--fg3);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.breadcrumb a:hover {
  color: var(--fg);
}

/* Aktif (son) eleman — sarı */
.breadcrumb span:not(.bc-sep) {
  color: #ffec00;
  font-weight: 600;
}

/* Chevron separator */
.bc-sep {
  display: inline-flex;
  align-items: center;
  color: var(--fg3);
  opacity: 0.5;
  flex-shrink: 0;
}

.bc-sep svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Dark hero variants */
.hh-breadcrumb {
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 32px;
}

.hh-breadcrumb a {
  color: rgba(255, 255, 255, 0.45);
}

.hh-breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.hh-breadcrumb span:not(.bc-sep) {
  color: #ffec00;
  font-weight: 600;
}

.hh-breadcrumb .bc-sep {
  color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

/* ═══════════════════════════════════════════
   SERVICES PAGE — Full list
═══════════════════════════════════════════ */
.services-full {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 60px;
}

.service-full-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  background: var(--bg);
  transition: background 0.25s;
}

.service-full-item:hover {
  background: var(--bg2);
}

@media (max-width: 768px) {
  .service-full-item {
    grid-template-columns: 1fr;
  }
}

.service-full-left {
  padding: 52px 44px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-full-left .num {
  font-family: var(--font-display);
  font-size: 96px;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.3s;
}

.service-full-item:hover .num {
  color: var(--fg3);
}

.service-full-left h3 {
  font-size: 36px;
  color: var(--fg);
}

.service-full-right {
  padding: 52px 44px;
}

.service-full-right p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--fg2);
  margin-bottom: 28px;
}

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

.service-tag {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 5px 13px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg3);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.service-full-item:hover .service-tag {
  border-color: var(--fg3);
  color: var(--fg);
}

/* ═══════════════════════════════════════════
   PROJECTS PAGE — Full grid
═══════════════════════════════════════════ */
.projects-full {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 60px;
}

@media (max-width: 768px) {
  .projects-full {
    grid-template-columns: 1fr;
  }
}

.project-full-card {
  background: var(--bg2);
  padding: 48px;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: background 0.25s;
}

.project-full-card::before {
  content: attr(data-number);
  position: absolute;
  top: 20px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 110px;
  color: var(--border);
  line-height: 1;
  transition: color 0.3s;
  z-index: 0;
}

.project-full-card:hover {
  background: var(--bg3);
}

.project-full-card:hover::before {
  color: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .project-full-card:hover::before {
  color: rgba(255, 230, 0, 0.06);
}

.project-full-card-content {
  position: relative;
  z-index: 1;
}

.project-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg3);
  margin-bottom: 10px;
}

.project-full-card h3 {
  font-size: 38px;
  color: var(--fg);
  margin-bottom: 10px;
}

.project-full-card p {
  font-size: 14px;
  color: var(--fg2);
  line-height: 1.7;
}

.project-full-card .arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-full-card:hover .arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ═══════════════════════════════════════════
   BLOG
═══════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Glass Card ── */
.blog-card {
  background: var(--blog-card-bg);
  border: 1px solid var(--blog-card-border);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    transform 0.35s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 48px var(--blog-card-shadow);
  transform: translateY(-6px);
}

/* ── Image ── */
.blog-card-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.08);
}

.blog-card-img-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, transparent 55%);
  opacity: 0.65;
  transition: opacity 0.3s;
}

.blog-card:hover .blog-card-img-veil {
  opacity: 0.4;
}

/* ── Tags overlay ── */
.blog-card-tags {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  z-index: 1;
}

.blog-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  padding: 4px 9px;
}

/* ── Hover action overlay ── */
.blog-card-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}

.blog-card:hover .blog-card-hover {
  opacity: 1;
}

.blog-card-hover button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--accent-fg);
  border: none;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
  white-space: nowrap;
}

.blog-card-hover button:hover {
  transform: scale(1.05);
}

.blog-card-hover button:active {
  transform: scale(0.97);
}

/* ── Card body ── */
.blog-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.blog-card h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--fg);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--fg2);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Footer ── */
.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--blog-card-border);
  margin-top: auto;
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: 9px;
}

.author-avatar {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  border-radius: 50%;
  object-fit: contain;
  box-sizing: border-box;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #111111;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
}

.author-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.author-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.3;
}

.author-date {
  font-size: 10px;
  color: var(--fg3);
  line-height: 1.3;
}

.blog-card-readtime {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--fg3);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 60px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contact-item {
  border-left: 3px solid var(--fg);
  padding-left: 22px;
}

.contact-item h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg3);
  margin-bottom: 6px;
}

.contact-item p {
  font-size: 17px;
  color: var(--fg);
}

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

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

.form-group label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg3);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--fg);
}

.form-group textarea {
  resize: vertical;
  min-height: 148px;
}

/* ═══════════════════════════════════════════
   FILTER TABS
═══════════════════════════════════════════ */
.filter-tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  width: fit-content;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 11px 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  border: none;
  border-right: 1px solid var(--border);
  color: var(--fg3);
  cursor: pointer;
  font-family: var(--font-body);
  transition: color 0.2s ease, background 0.2s ease;
}

.filter-tab:last-child {
  border-right: none;
}

.filter-tab:hover {
  color: var(--fg);
  background: var(--bg2);
}

.filter-tab.active {
  background: var(--fg);
  color: var(--bg);
}

@media (max-width: 768px) {
  .filter-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 12px;
    border: none;
    width: 100%;
    margin-bottom: 30px;
    padding: 5px 2px;
    scrollbar-width: none;
    justify-content: flex-start;
  }
  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-tab {
    flex: 0 0 auto;
    padding: 10px 20px;
    font-size: 11px;
    border-radius: 40px;
    border: 1px solid var(--border);
    background: var(--bg2);
    color: var(--fg2);
    white-space: nowrap;
    transition: all 0.3s ease;
  }

  .filter-tab:last-child {
    border-right: 1px solid var(--border);
  }

  .filter-tab.active {
    background: var(--accent);
    color: var(--accent-fg);
    border-color: var(--accent);
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(255, 230, 0, 0.2);
  }
}

/* ═══════════════════════════════════════════
   COLOR PALETTE TOOL
═══════════════════════════════════════════ */
.palette-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  align-items: center;
}

.palette-generator {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 56px 40px;
  margin-bottom: 56px;
}

.palette-generator h3 {
  font-size: 40px;
  margin-bottom: 6px;
}

.palette-generator .subtitle {
  color: var(--fg2);
  font-size: 16px;
  margin-bottom: 44px;
}

.color-swatches {
  display: flex;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 20px;
}

.color-swatch-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: flex 0.35s ease;
  cursor: pointer;
  min-height: 240px;
}

.color-swatch-item:hover {
  flex: 1.6;
}

.swatch-color {
  flex: 1;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.swatch-copy-hint {
  opacity: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  padding: 6px 12px;
  transition: opacity 0.2s;
}

.swatch-color:hover .swatch-copy-hint {
  opacity: 1;
}

.swatch-info {
  padding: 14px 16px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.swatch-hex {
  font-family: "Courier New", monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 3px;
}

.swatch-name {
  font-size: 11px;
  color: var(--fg3);
  margin-bottom: 10px;
}

.swatch-actions {
  display: flex;
  gap: 6px;
}

.swatch-btn {
  flex: 1;
  padding: 6px 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg3);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
  font-family: var(--font-body);
}

.swatch-btn:hover {
  border-color: var(--fg);
  color: var(--fg);
}

.swatch-btn.locked {
  border-color: var(--fg);
  color: var(--fg);
  background: var(--bg3);
}

.palette-presets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}

.palette-preset {
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition:
    border-color 0.3s,
    transform 0.3s;
}

.palette-preset:hover {
  border-color: var(--fg);
  transform: translateY(-4px);
}

.preset-swatches {
  display: flex;
  height: 72px;
}

.preset-swatch {
  flex: 1;
}

.preset-label {
  padding: 14px 16px;
  background: var(--bg2);
  font-size: 12px;
  color: var(--fg2);
}

.preset-name {
  font-weight: 700;
  color: var(--fg);
  font-size: 13px;
  margin-bottom: 4px;
}

/* ═══════════════════════════════════════════
   COPIED TOAST
═══════════════════════════════════════════ */
.copied-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--ink);
  color: var(--ink-fg);
  padding: 13px 26px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  z-index: 9999;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.copied-toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

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

/* ═══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

/* ═══════════════════════════════════════════
   MISC
═══════════════════════════════════════════ */
.kbd {
  background: var(--bg3);
  color: var(--fg);
  padding: 3px 8px;
  font-family: monospace;
  font-size: 11px;
  border: 1px solid var(--border);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 56px;
}

@media (max-width: 700px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}



.info-item {
  background: var(--bg2);
  padding: 40px;
}

.info-item h4 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--fg);
}

.info-item p {
  font-size: 14px;
  color: var(--fg2);
  line-height: 1.75;
}

/* ═══════════════════════════════════════════
   CONTACT HERO — Pong Canvas
═══════════════════════════════════════════ */
.contact-hero-anim {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  background: #000;
  padding: 0 48px 60px;
  border-bottom: 1px solid #222;
}

/* Pong canvas — fills the section absolutely */
.contact-pong-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

/* Content sits above the canvas, bottom-left, with nav clearance */
.contact-pong-wrap .cha-content {
  position: relative;
  z-index: 10;
  padding-bottom: 8px;
}

.contact-pong-wrap .cha-content h1 {
  color: #fff;
}

.contact-pong-wrap .cha-content .accent {
  color: #ffec00;
}

.contact-pong-wrap .cha-content p {
  color: rgba(255, 255, 255, 0.6);
}

.contact-pong-wrap .cha-content .breadcrumb,
.contact-pong-wrap .cha-content .breadcrumb a {
  color: rgba(255, 255, 255, 0.4);
}

.contact-pong-wrap .cha-content .breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.contact-pong-wrap .cha-content .breadcrumb .bc-sep {
  color: rgba(255, 255, 255, 0.2);
}

.contact-pong-wrap .cha-content .breadcrumb {
  justify-content: center;
}

.cha-bc {
  position: absolute;
  top: 136px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
}

.cha-bc .breadcrumb {
  color: rgba(255, 255, 255, 0.4);
  justify-content: center;
  margin-bottom: 0;
}

.cha-bc .breadcrumb a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}

.cha-bc .breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.cha-bc .breadcrumb .bc-sep {
  color: rgba(255, 255, 255, 0.2);
}

.cha-content {
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}

.cha-content h1 {
  font-size: clamp(64px, 12vw, 150px);
  line-height: 0.9;
  margin-bottom: 24px;
}

.cha-content p {
  max-width: 560px;
  font-size: 18px;
}

.cha-content .breadcrumb a {
  transition: color 0.2s;
}

@media (max-width: 768px) {
  .contact-hero-anim {
    padding: 110px 24px 60px;
  }
}

/* ═══════════════════════════════════════════
   AURORA HERO — WebGL Shader (Renk Paleti)
═══════════════════════════════════════════ */
.aurora-hero {
  position: relative;
  height: 550px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #060608;
  padding: 0 48px;
}

#auroraCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.aurora-content {
  position: relative;
  z-index: 10;
  max-width: 1320px;
  text-align: center;
  margin: 0 auto;
  width: 100%;
}

.aurora-content h1 {
  color: #ffffff;
  font-size: clamp(64px, 12vw, 150px);
  line-height: 0.9;
  margin-bottom: 24px;
}

.aurora-content .accent {
  color: var(--accent);
}

.aurora-content p {
  color: rgba(255, 255, 255, 0.55);
  max-width: 560px;
  font-size: 18px;
  margin-left: auto;
  margin-right: auto;
}

.aurora-content .breadcrumb a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}

.aurora-content .breadcrumb a:hover {
  color: #ffffff;
}

.aurora-content .breadcrumb .bc-sep {
  color: rgba(255, 255, 255, 0.15);
}

.aurora-content .breadcrumb {
  color: rgba(255, 255, 255, 0.4);
  justify-content: center;
}

.aurora-hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 24px;
}

.aurora-hero-note strong {
  color: var(--accent);
}

@media (max-width: 768px) {
  .aurora-hero {
    padding: 0 24px;
    height: 500px;
  }
}

/* ================================================================
   BLOG READER OVERLAY
   ================================================================ */
.br-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(0, 0, 0, 0.07) 1px, transparent 0);
  background-size: 24px 24px;
  display: none;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

[data-theme="dark"] .br-overlay {
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 0);
}

.br-overlay.open {
  display: block;
}

/* Top bar */
.br-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(0, 0, 0, 0.07) 1px, transparent 0);
  background-size: 24px 24px;
  border-bottom: 1px solid var(--border);
}

[data-theme="dark"] .br-bar {
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 0);
}

.br-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.15s,
    color 0.15s;
}

.br-close:hover {
  background: var(--fg);
  color: var(--bg);
}

.br-bar__brand {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg2);
  opacity: 0.5;
  flex-shrink: 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.br-progress-track {
  flex: 1;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.br-progress {
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.08s linear;
}

/* Scroll wrapper */
.br-scroll {
  padding-top: 56px;
}

/* ── Hero: darkened image + overlaid metadata ── */
.br-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: transparent;
}

.br-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center !important;
  display: none;
  z-index: 1;
}

.br-hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.br-hero.has-img .br-hero__img {
  display: block;
}

.br-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.4) 45%,
      rgba(0, 0, 0, 0.05) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
}

.br-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  padding: 48px 48px 44px;
  color: #fff;
}

.br-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
}

.br-title {
  font-size: clamp(26px, 4.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 28px;
}

.br-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.br-meta-row+.br-meta-row {
  margin-top: 14px;
}

.br-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.br-avatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 50%;
  object-fit: contain;
  box-sizing: border-box;
  padding: 6px;
  background: #0a0a0a;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.25);
  aspect-ratio: 1 / 1;
}

.br-byline__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.br-byline__name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.br-byline__sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.br-byline__read {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  margin-left: 4px;
  white-space: nowrap;
}

/* Reactions */
.br-reactions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.br-icon-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}

.br-icon-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.br-icon-btn.liked {
  color: #ff5f7e;
  border-color: rgba(255, 95, 126, 0.5);
}

.br-icon-btn.liked svg {
  fill: #ff5f7e;
  stroke: #ff5f7e;
}

/* Share */
.br-share {
  display: flex;
  gap: 6px;
  align-items: center;
}

.br-share-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}

.br-share-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.br-share-btn.copied {
  background: rgba(255, 236, 0, 0.18);
  border-color: rgba(255, 236, 0, 0.4);
  color: var(--yellow);
}

/* TTS */
.br-tts {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.br-tts-play {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}

.br-tts-play:hover {
  background: rgba(255, 255, 255, 0.2);
}

.br-tts-play.playing {
  background: var(--yellow);
  color: #000;
  border-color: var(--yellow);
}

.br-tts-play.paused {
  background: rgba(255, 255, 255, 0.18);
}

.br-tts-lang {
  padding: 5px 10px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.br-tts-lang.is-active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

/* TTS word highlight */
.tts-w {
  border-radius: 2px;
}

.tts-w.tts-active {
  background: rgba(255, 236, 0, 0.5);
  color: #000;
}

/* Article column */
.br-body {
  max-width: 1400px;
  margin: 0 auto;
  padding: 52px 24px 120px;
  box-sizing: border-box;
}

.br-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 40px;
  align-items: start;
}

.br-layout>.br-article {
  max-width: 945px;
  min-width: 0;
}

.br-toc {
  position: sticky;
  top: 80px;
}

/* TOC sidebar */
.br-toc__inner {
  padding: 24px 20px;
  border-radius: 16px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .br-toc__inner {
  background: rgba(20, 20, 20, 0.3);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.br-toc__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0.5;
  margin: 0 0 14px 0;
}

.br-toc nav {
  counter-reset: toc-counter;
}

.br-toc nav a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  color: var(--fg);
  opacity: 0.65;
  padding: 8px 12px;
  margin: 2px 0;
  border-radius: 8px;
  text-decoration: none;
  line-height: 1.45;
  border-left: 2px solid transparent;
  transition:
    color 0.15s,
    opacity 0.15s,
    border-color 0.15s,
    background 0.15s;
  counter-increment: toc-counter;
}

.br-toc nav a::before {
  content: counter(toc-counter) ".";
  font-size: 11px;
  font-weight: 700;
  opacity: 0.5;
  flex-shrink: 0;
  min-width: 16px;
}

.br-toc nav a:hover {
  opacity: 1;
}

.br-toc nav a.toc-active {
  background: #ffec00;
  color: #000;
  opacity: 1;
  border-left-color: #ffec00;
  font-weight: 600;
}

.br-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.br-title {
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 28px;
}

.br-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.br-avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: 50%;
  object-fit: contain;
  box-sizing: border-box;
  padding: 7px;
  background: #111111;
  flex-shrink: 0;
  border: 1px solid var(--border);
  aspect-ratio: 1 / 1;
}

.br-byline__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.br-byline__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}

.br-byline__sub {
  font-size: 13px;
  color: var(--fg2);
  opacity: 0.55;
}

.br-byline__read {
  font-size: 13px;
  color: var(--fg2);
  opacity: 0.45;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Hero text always white (overrides theme fg vars) */
.br-hero .br-title {
  color: #fff;
}

.br-hero .br-cat {
  color: var(--accent);
}

.br-hero .br-byline__name {
  color: #fff;
}

.br-hero .br-byline__sub {
  color: rgba(255, 255, 255, 0.6);
  opacity: 1;
}

.br-hero .br-byline__read {
  color: rgba(255, 255, 255, 0.45);
  opacity: 1;
}

/* Avatar: visible round frame — yellow brand ring */
.br-hero .br-avatar {
  border: 2.5px solid #ffe600;
  background: #0a0a0a;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.45);
}

.br-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 40px;
}

/* Article body */
.br-article {
  font-size: 19px;
  line-height: 1.8;
  color: var(--fg2);
}

.br-article p {
  margin-bottom: 1.6em;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 6 3 3;
  word-spacing: -0.01em;
}

.br-article p:last-child {
  margin-bottom: 0;
}

.br-article h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--fg);
  margin: 2.4em 0 0.7em;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.br-article h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin: 2em 0 0.6em;
  line-height: 1.3;
}

.br-article a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

[data-theme="dark"] .br-article a {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.br-article a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.br-article strong {
  color: var(--fg);
  font-weight: 600;
}

.br-article em {
  font-style: italic;
}

.br-article blockquote {
  border-left: 3px solid var(--accent);
  margin: 2em 0;
  padding: 4px 24px;
  color: var(--fg);
  font-size: 22px;
  font-style: italic;
  line-height: 1.55;
}

.br-article img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 2.2em 0;
  display: block;
}

.br-article figure {
  margin: 2.2em 0;
}

.br-article figcaption {
  font-size: 14px;
  color: var(--fg2);
  opacity: 0.5;
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

/* ── Comments ── */
.br-comments {
  padding-bottom: 80px;
}

.br-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0 32px;
}

.br-comments__hd {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.br-comments__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
}

.br-badge {
  background: var(--black2);
  color: var(--fg2);
  font-size: 12px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 12px;
}

.br-no-comments {
  font-size: 15px;
  color: var(--fg2);
  opacity: 0.5;
  padding: 12px 0;
}

.br-comment-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.br-comment-item:last-child {
  border-bottom: none;
}

.br-comment-item__hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.br-comment-item__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}

.br-comment-item__date {
  font-size: 12px;
  color: var(--fg2);
  opacity: 0.5;
}

.br-comment-item__text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg2);
}

.br-comment-form {
  margin-top: 32px;
}

.br-comment-form__hd {
  font-size: 17px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 16px;
}

.br-input,
.br-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  background: var(--black2);
  border: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: 6px;
  outline: none;
  margin-bottom: 12px;
  transition: border-color 0.15s;
  display: block;
}

.br-input:focus,
.br-textarea:focus {
  border-color: var(--accent);
}

.br-textarea {
  resize: vertical;
}

.br-submit-btn {
  padding: 12px 28px;
  background: var(--fg);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}

.br-submit-btn:hover {
  opacity: 0.82;
}

/* ── Toast ── */
.br-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--fg);
  color: var(--bg);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.br-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Blog card stats ── */
.blog-card-stats {
  display: flex;
  gap: 10px;
  align-items: center;
}

.blog-card-stat {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--fg2);
  opacity: 0.5;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .br-hero {
    width: 100vw !important;
    min-height: 240px;
    position: relative !important;
    left: 50% !important;
    margin-left: -50vw !important;
    background-color: #000;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
  }

  .br-hero__img {
    display: none !important; /* Mobile'da arka plan görseli kullanıyoruz */
  }

  .br-hero__content {
    padding: 24px 20px 24px;
    z-index: 2;
  }

  .br-title {
    margin-bottom: 18px;
  }

  .br-meta-row {
    gap: 8px;
  }

  .br-tts {
    margin-left: 0;
  }

  .br-article {
    font-size: 17px;
  }

  .br-body {
    padding: 36px 20px 40px;
  }

  .br-layout {
    grid-template-columns: 1fr;
  }

  .br-toc {
    display: none;
  }
}

/* ═══════════════════════════════════════════
   BLOG STORY STRIP + STORY VIEWER
═══════════════════════════════════════════ */

/* ── Strip ── */
.blog-story-strip {
  position: absolute;
  bottom: 36px;
  right: 48px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  z-index: 10;
}

@media (max-width: 768px) {
  .blog-story-strip {
    right: 20px;
    bottom: 24px;
    gap: 10px;
  }
}

.bss-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s;
}

.bss-thumb:hover {
  transform: scale(1.08);
}

.bss-thumb__ring {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(#ffe600 0%, #ffb300 50%, #ffe600 100%);
  animation: bssRingRotate 3s linear infinite;
  flex-shrink: 0;
}

.bss-thumb.seen .bss-thumb__ring {
  background: rgba(255, 255, 255, 0.2);
  animation: none;
}

@keyframes bssRingRotate {
  to {
    transform: rotate(360deg);
  }
}

.bss-thumb:hover .bss-thumb__ring {
  animation-play-state: paused;
  transform: scale(1.05);
}

.bss-thumb__img-wrap {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid #0a0a0a;
  background: #111;
}

.bss-thumb__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}

.bss-thumb__label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  max-width: 68px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.bss-thumb.seen .bss-thumb__label {
  color: rgba(255, 255, 255, 0.35);
}

/* ── Story Viewer Overlay ── */
.sv-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
}

.sv-overlay.open {
  display: flex;
}

.sv-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

[data-theme="light"] .sv-backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.sv-panel {
  position: relative;
  width: min(380px, 96vw);
  height: min(680px, 90vh);
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.75);
  user-select: none;
  touch-action: manipulation;
}

.sv-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sv-grad-top {
  position: absolute;
  inset-x: 0;
  top: 0;
  height: 50%;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.68) 0%,
      transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.sv-grad-bottom {
  position: absolute;
  inset-x: 0;
  bottom: 0;
  height: 62%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* Progress segments */
.sv-progress-bar {
  position: absolute;
  top: 10px;
  inset-x: 12px;
  display: flex;
  gap: 3px;
  z-index: 4;
}

.sv-prog-seg {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
  cursor: pointer;
}

.sv-prog-seg:hover {
  background: rgba(255, 255, 255, 0.45);
}

.sv-prog-fill {
  height: 100%;
  background: #fff;
  border-radius: 2px;
  width: 0%;
}

.sv-prog-seg.completed .sv-prog-fill {
  width: 100%;
}

/* Top bar */
.sv-topbar {
  position: absolute;
  top: 22px;
  left: 20px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 4;
}

.sv-brand-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  min-width: 0;
}

.sv-brand-logo {
  width: 32px;
  height: 32px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  object-fit: contain;
  background: #000;
  border: 1.5px solid #ffe600;
  flex-shrink: 0;
  display: block;
}

.sv-brand-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sv-pause-btn,
.sv-close-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  flex-shrink: 0;
}

.sv-pause-btn:hover,
.sv-close-btn:hover {
  background: rgba(0, 0, 0, 0.65);
}

/* Content area */
.sv-content-area {
  position: absolute;
  bottom: 0;
  inset-x: 0;
  padding: 20px 20px 28px;
  z-index: 2;
}

.sv-cat-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffe600;
  margin-bottom: 10px;
}

.sv-headline {
  font-size: clamp(16px, 4.5vw, 21px);
  font-weight: 700;
  line-height: 1.22;
  color: #fff;
  margin: 0 0 8px;
}

.sv-teaser {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sv-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sv-date {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  flex: 1;
}

.sv-read-btn {
  padding: 9px 18px;
  background: #ffe600;
  color: #000;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition:
    opacity 0.15s,
    transform 0.12s;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.sv-read-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.sv-read-btn:active {
  transform: translateY(0);
}

/* Tap zones */
.sv-tap-prev,
.sv-tap-next {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 38%;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 3;
  -webkit-tap-highlight-color: transparent;
}

.sv-tap-prev {
  left: 0;
}

.sv-tap-next {
  right: 0;
}

/* ================================================================
   DIGITAL PARALLAX ELEMENTS
   ================================================================ */

/* 1. Data Stream */
.dig-stream canvas {
  display: block;
  border: 1px solid rgba(255, 236, 0, 0.15);
  border-radius: 6px;
  background: #000;
}

/* 2. Digital Clock */
.dig-clock {
  background: #070712;
  border: 1px solid rgba(255, 236, 0, 0.35);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: "Courier New", monospace;
  text-align: center;
  min-width: 130px;
}

.dig-clock__label {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(255, 236, 0, 0.4);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.dig-clock__display {
  font-size: 24px;
  font-weight: 700;
  color: #ffec00;
  letter-spacing: 4px;
  text-shadow: 0 0 14px rgba(255, 236, 0, 0.55);
}

/* 3. Code Block */
.dig-code {
  background: #06060f;
  border: 1px solid rgba(255, 236, 0, 0.18);
  border-radius: 6px;
  padding: 8px;
  width: 136px;
  height: 96px;
  overflow: hidden;
}

.dig-code__bar {
  height: 18px;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
}

.dig-code__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.dig-code__dot:nth-child(1) {
  background: #ff5f57;
}

.dig-code__dot:nth-child(2) {
  background: #febc2e;
}

.dig-code__dot:nth-child(3) {
  background: #28c840;
}

.dig-code__lines {
  font-family: "Courier New", monospace;
  font-size: 7px;
  line-height: 1.8;
  color: rgba(255, 236, 0, 0.5);
  animation: dig-scroll 7s linear infinite;
}

@keyframes dig-scroll {
  to {
    transform: translateY(-50%);
  }
}

.dig-code__lines .kw {
  color: #c792ea;
}

.dig-code__lines .fn {
  color: #82aaff;
}

.dig-code__lines .str {
  color: #c3e88d;
}

.dig-code__lines .num {
  color: #f78c6c;
}

/* 4. Circuit SVG */
.dig-circuit {
  display: block;
}

.dig-circuit__line {
  stroke: rgba(255, 236, 0, 0.5);
}

.dig-circuit__node {
  fill: #ffec00;
  transform-box: fill-box;
  transform-origin: center;
}

.dig-circuit__node:nth-child(1) {
  animation: dig-pulse 2s ease-in-out infinite 0s;
}

.dig-circuit__node:nth-child(2) {
  animation: dig-pulse 2s ease-in-out infinite 0.5s;
}

.dig-circuit__node:nth-child(3) {
  animation: dig-pulse 2s ease-in-out infinite 1s;
}

.dig-circuit__node:nth-child(4) {
  animation: dig-pulse 2s ease-in-out infinite 1.5s;
}

@keyframes dig-pulse {

  0%,
  100% {
    opacity: 0.35;
  }

  50% {
    opacity: 1;
  }
}

/* 5. Holographic Card */
.dig-card {
  width: 280px;
  height: 168px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #080818 0%, #0e0e22 100%);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dig-card__shine {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg at 50% 50%,
      #ffec0018,
      #00ffff18,
      #ff00ff18,
      #ffec0018);
  animation: dig-holo 5s linear infinite;
}

.dig-card__inner {
  position: absolute;
  inset: 0;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1;
}

.dig-card__chip {
  width: 34px;
  height: 26px;
  border: 1px solid rgba(255, 236, 0, 0.45);
  border-radius: 4px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 3px;
  background: rgba(255, 236, 0, 0.04);
}

.dig-card__chip-cell {
  background: rgba(255, 236, 0, 0.25);
  border-radius: 1px;
}

.dig-card__num {
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.55);
}

.dig-card__label {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(255, 236, 0, 0.35);
  text-transform: uppercase;
}

.dig-card__scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 236, 0, 0.7),
      transparent);
  animation: dig-scan 3.5s ease-in-out infinite;
}

@keyframes dig-scan {
  0% {
    top: 0%;
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  95% {
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

/* Scroll-following contact line — hide on small screens */
@media (max-width: 900px) {
  #scrollLineSvg {
    display: none;
  }
}

/* blog-card read-more as button */
.read-more-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

.read-more-btn:hover {
  opacity: 0.7;
}

/* ═══════════════════════════════════════════
   HİZMET KARTI GRİDİ (hizmetlerimiz.html)
═══════════════════════════════════════════ */

.svc-cards-section {
  padding-bottom: 0;
}

.svc-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .svc-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .svc-card-grid {
    grid-template-columns: 1fr;
  }
}

.svc-card {
  position: relative;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px 28px 24px;
  height: 320px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition:
    background 0.28s,
    border-color 0.28s,
    transform 0.28s,
    box-shadow 0.28s;
  overflow: hidden;
}

.svc-card:hover {
  background: var(--bg3);
  border-color: var(--border-dark);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] .svc-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

/* Image stack */
.svc-card__imgs {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-card__img {
  position: absolute;
  width: 168px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s;
  object-fit: cover;
}

.svc-card__img--back {
  transform: rotate(-6deg);
  z-index: 1;
}

.svc-card__img--front {
  transform: rotate(3deg);
  z-index: 2;
}

.svc-card:hover .svc-card__img--back {
  transform: rotate(-11deg) scale(1.06);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.svc-card:hover .svc-card__img--front {
  transform: rotate(6deg) scale(1.06);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

/* Footer row */
.svc-card__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
}

.svc-card__num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--fg3);
  flex-shrink: 0;
}

.svc-card__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.3;
  flex: 1;
  margin: 0;
}

.svc-card__arrow {
  width: 18px;
  height: 18px;
  color: var(--fg3);
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.22s,
    transform 0.22s,
    color 0.22s;
}

.svc-card:hover .svc-card__arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent);
}

/* ═══════════════════════════════════════════
   RADAR SECTION
═══════════════════════════════════════════ */

.radar-section {
  background: #080808;
  padding: 80px 0 0;
  margin-top: 50px;
  /* overridden inline when placed above CTA */
}

.radar-stage {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  height: 360px;
  overflow: hidden;
}

/* Icon layer — absolute, ikonlar halkalar üzerinde */
.radar-icons {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.radar-icon-item {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  opacity: 0;
  pointer-events: all;
  animation: radarIconIn 0.35s ease forwards;
  animation-delay: var(--rd, 0s);
  cursor: default;
}

/* Rings center: stage bottom + 48px offset = 460+48=508px from top, left=50%
   Each icon top/left places its CENTER on a ring intersection.
   Positions calculated: top = 508 - y_up, left = calc(50% ± x_right) */
.ri-web {
  top: 248px;
  left: calc(50% - 290px);
}

.ri-seo {
  top: 168px;
  left: calc(50% - 188px);
}

.ri-marka {
  top: 110px;
  left: calc(50% - 52px);
}

.ri-sosyal {
  top: 158px;
  left: calc(50% + 148px);
}

.ri-eticaret {
  top: 248px;
  left: calc(50% + 256px);
}

.ri-icerik {
  top: 90px;
  left: calc(50% + 278px);
}

.ri-cekim {
  top: 58px;
  left: calc(50% - 248px);
}

.ri-yazilim {
  top: 48px;
  left: calc(50% + 72px);
}

/* Mobile: geri flex grid */
@media (max-width: 680px) {
  .radar-icons {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    gap: 14px 20px;
    padding: 12px 8px;
    pointer-events: all;
  }

  .radar-icon-item {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
  }
}

@keyframes radarIconIn {
  from {
    opacity: 0;
    transform: scale(0.88);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes radarHit {
  0% {
    background: rgba(255, 230, 0, 0.18);
    border-color: rgba(255, 230, 0, 0.75);
    color: #ffe600;
    box-shadow: 0 0 14px rgba(255, 230, 0, 0.35);
  }

  7% {
    background: rgba(255, 230, 0, 0.07);
    border-color: rgba(255, 230, 0, 0.35);
    color: rgba(255, 230, 0, 0.55);
    box-shadow: 0 0 6px rgba(255, 230, 0, 0.12);
  }

  18% {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(71, 85, 105, 0.55);
    color: rgba(255, 255, 255, 0.45);
    box-shadow: none;
  }

  100% {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(71, 85, 105, 0.55);
    color: rgba(255, 255, 255, 0.45);
    box-shadow: none;
  }
}

.radar-icon-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(71, 85, 105, 0.55);
  color: rgba(255, 255, 255, 0.45);
  transition: transform 0.22s;
  animation: radarHit 9s linear infinite;
  animation-delay: var(--rh, 0s);
}

.radar-icon-item:hover .radar-icon-box {
  background: rgba(255, 230, 0, 0.12) !important;
  border-color: rgba(255, 230, 0, 0.55) !important;
  color: #ffe600 !important;
  transform: translateY(-3px);
  box-shadow: 0 0 14px rgba(255, 230, 0, 0.3) !important;
}

.radar-icon-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  transition: color 0.22s;
}

.radar-icon-item:hover .radar-icon-label {
  color: rgba(255, 255, 255, 0.7);
}

/* Radar rings + sweep */
.radar-rings-wrap {
  position: absolute;
  bottom: -48px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  pointer-events: none;
}

.radar-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid;
}

.radar-sweep {
  position: absolute;
  right: 50%;
  top: 50%;
  margin-top: -1px;
  width: 520px;
  height: 2px;
  transform-origin: right center;
  background: linear-gradient(to left,
      #ffe600 0%,
      rgba(255, 230, 0, 0.35) 45%,
      transparent 100%);
  animation: radarSweep 9s linear infinite;
  z-index: 5;
  border-radius: 1px;
}

@keyframes radarSweep {
  from {
    transform: rotate(20deg);
  }

  to {
    transform: rotate(380deg);
  }
}

/* Bottom gradient line */
.radar-bottom-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right,
      transparent,
      rgba(71, 85, 105, 0.45),
      transparent);
}

/* Mobile */
@media (max-width: 680px) {
  .radar-stage {
    height: auto;
    min-height: 380px;
    overflow: visible;
  }

  .radar-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .radar-icon-box svg {
    width: 18px;
    height: 18px;
  }

  .radar-icon-label {
    font-size: 9px;
  }

  .radar-sweep {
    width: 340px;
  }
}

/* ═══════════════════════════════════════════
   HİZMET POPUP
═══════════════════════════════════════════ */

.svc-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.svc-popup-overlay.open {
  display: flex;
}

.svc-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  animation: svcFadeIn 0.22s ease;
}

[data-theme="light"] .svc-popup-backdrop {
  background: rgba(0, 0, 0, 0.45);
}

@keyframes svcFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes svcSlideUp {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
  }

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

.svc-popup {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 52px 44px;
  max-width: 640px;
  width: 100%;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.22);
  animation: svcSlideUp 0.28s cubic-bezier(0.34, 1.2, 0.64, 1);
  max-height: 90vh;
  overflow-y: auto;
}

[data-theme="dark"] .svc-popup {
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

.svc-popup__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--fg2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.15s,
    color 0.15s;
}

.svc-popup__close:hover {
  background: var(--fg);
  color: var(--bg);
}

.svc-popup__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 28px;
}

.svc-popup__num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--accent);
  flex-shrink: 0;
}

.svc-popup__title {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.15;
  margin: 0;
}

.svc-popup__body p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--fg2);
  margin-bottom: 18px;
}

.svc-popup__body p:last-child {
  margin-bottom: 0;
}

.svc-popup__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.svc-popup__cta {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 32px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    opacity 0.15s,
    transform 0.15s;
}

.svc-popup__cta:hover {
  opacity: 0.82;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .svc-popup {
    padding: 36px 24px 32px;
    border-radius: 18px;
  }
}

/* =============================================
   VERTICAL TABS — Çalışma Sürecimiz
   ============================================= */

.vtabs-section {
  padding: 80px 0 100px;
  background: var(--bg);
}

/* Full-bleed container with padding (matches React xl:px-20) */
.vtabs-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}

.vtabs-wrap {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}

/* ── Left column ── */
.vtabs-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 4px;
}

.vtabs-head {
  margin-bottom: 48px;
}

.vtabs-heading {
  font-size: clamp(28px, 3.8vw, 50px);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--fg);
  margin: 0 0 6px;
}

.vtabs-sublabel {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg2);
  opacity: 0.55;
  margin-left: 2px;
}

/* List — border-top on each item, first item has no top border */
.vtabs-list {
  display: flex;
  flex-direction: column;
  padding-left: 24px;
  /* room for the progress rail */
}

.vtab-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 0;
  border: none;
  border-top: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
  background: transparent;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: var(--font-body);
  transition: color 0.4s;
}

.vtab-item:first-child {
  border-top: none;
}

/* Progress rail — sits in the 24px left padding, outside the button area */
.vtab-progress-track {
  position: absolute;
  left: -24px;
  top: 0;
  width: 2px;
  height: 100%;
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  overflow: hidden;
}

.vtab-progress-fill {
  width: 100%;
  height: 0%;
  background: var(--accent);
}

.vtab-num {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--fg2);
  opacity: 0.45;
  margin-top: 8px;
  flex-shrink: 0;
  transition: opacity 0.4s;
  font-variant-numeric: tabular-nums;
}

.vtab-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vtab-title {
  display: block;
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 400;
  /* normal — matches React font-normal */
  letter-spacing: -0.02em;
  color: color-mix(in srgb, var(--fg) 40%, transparent);
  line-height: 1.15;
  transition: color 0.4s;
}

/* Description wrapper — height animates open/closed */
.vtab-desc-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition:
    grid-template-rows 0.35s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0;
}

.vtab-desc-wrap>p {
  overflow: hidden;
}

.vtab-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--fg2);
  margin: 0;
  padding-bottom: 4px;
}

/* ── Active state ── */
.vtab-item.is-active .vtab-num {
  opacity: 1;
}

.vtab-item.is-active .vtab-title {
  color: var(--fg);
}

.vtab-item.is-active .vtab-desc-wrap {
  grid-template-rows: 1fr;
  opacity: 1;
}

/* ── Right column — image ── */
.vtabs-right {
  position: relative;
}

.vtabs-img-frame {
  position: relative;
  border-radius: clamp(16px, 2.5vw, 36px);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--bg2);
  border: 1px solid color-mix(in srgb, var(--border) 45%, transparent);
  cursor: pointer;
}

.vtabs-img-inner {
  position: absolute;
  inset: 0;
}

.vtabs-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.7s ease;
}

.vtabs-img.is-active {
  opacity: 1;
}

.vtabs-img-frame:hover .vtabs-img.is-active {
  transform: scale(1.04);
}

/* Slide keyframes */
@keyframes vtSlideOutUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-7%);
  }
}

@keyframes vtSlideOutDown {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(7%);
  }
}

@keyframes vtSlideInDown {
  from {
    opacity: 0;
    transform: translateY(-7%);
  }

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

@keyframes vtSlideInUp {
  from {
    opacity: 0;
    transform: translateY(7%);
  }

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

.vtabs-img.slide-out-up {
  animation: vtSlideOutUp 0.52s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.vtabs-img.slide-out-down {
  animation: vtSlideOutDown 0.52s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.vtabs-img.slide-in-from-down {
  animation: vtSlideInUp 0.52s cubic-bezier(0.34, 1.1, 0.64, 1) forwards;
}

.vtabs-img.slide-in-from-up {
  animation: vtSlideInDown 0.52s cubic-bezier(0.34, 1.1, 0.64, 1) forwards;
}

/* Bottom gradient on image */
.vtabs-img-grad {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 33%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.22), transparent);
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}

/* Nav buttons */
.vtabs-nav {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

.vtabs-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid color-mix(in srgb, var(--border) 55%, transparent);
  color: var(--fg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.15s,
    transform 0.15s;
}

.vtabs-nav-btn:hover {
  background: var(--bg);
}

.vtabs-nav-btn:active {
  transform: scale(0.9);
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .vtabs-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .vtabs-right {
    order: -1;
  }

  .vtabs-img-frame {
    aspect-ratio: 4/3;
  }
}

@media (max-width: 600px) {
  .vtabs-section {
    padding: 60px 0 80px;
  }

  .vtabs-head {
    margin-bottom: 32px;
  }

  .vtabs-img-frame {
    aspect-ratio: 4/5;
    border-radius: 20px;
  }

  .vtab-item {
    padding: 20px 0;
    gap: 12px;
  }

  .vtab-title {
    font-size: 22px;
  }

  .vtabs-nav {
    bottom: 16px;
    right: 16px;
  }

  .vtabs-nav-btn {
    width: 38px;
    height: 38px;
  }
}

/* ═══════════════════════════════════════════
   CLIENTS LOGO RULER CAROUSEL
═══════════════════════════════════════════ */
.clients-section {
  padding: 80px 0 100px;
  overflow: hidden;
}

.clients-section .section-label {
  justify-content: center;
}

.clients-section h2 {
  text-align: center;
  margin-bottom: 52px;
}

/* ── Ruler lines ── */
.ruler-lines {
  position: relative;
  width: 100%;
  height: 32px;
  overflow: hidden;
}

.ruler-line {
  position: absolute;
  width: 2px;
  background: var(--border-dark);
  transform: translateX(-50%);
}

.ruler-lines--top .ruler-line {
  top: 0;
}

.ruler-lines--bottom .ruler-line {
  bottom: 0;
}

.ruler-line.is-major {
  height: 18px;
  background: var(--fg3);
}

.ruler-line.is-center {
  height: 32px;
  background: var(--accent);
}

/* ── Track outer (clips overflow) ── */
.ruler-track-outer {
  overflow: hidden;
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  position: relative;
}

/* Fade edges */
.ruler-track-outer::before,
.ruler-track-outer::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 220px;
  z-index: 2;
  pointer-events: none;
}

.ruler-track-outer::before {
  left: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}

.ruler-track-outer::after {
  right: 0;
  background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}

/* ── Moving track ── */
.ruler-track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ruler-track.no-transition {
  transition: none !important;
}

/* ── Individual logo item ── */
.ruler-logo-item {
  flex-shrink: 0;
  width: 240px;
  height: 160px;
  margin: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    opacity 0.4s ease,
    transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0.3;
  transform: scale(0.7);
}

.ruler-logo-item.is-active {
  opacity: 1;
  transform: scale(1);
}

.ruler-logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  pointer-events: none;
  transition: filter 0.4s ease;
}

/* Light mode: uniformly dark-gray */
[data-theme="light"] .ruler-logo-item img {
  filter: grayscale(1) brightness(0.45) contrast(1.4);
}

/* Dark mode: every visible pixel becomes pure white */
[data-theme="dark"] .ruler-logo-item img {
  filter: grayscale(1) brightness(0) invert(1);
}

/* XL logos — scale img up within the fixed container */
.ruler-logo-item.logo-xl img {
  transform: scale(1.55);
}

/* N'Örüyüm — light mode: invert so text reads white on dark circle */
[data-theme="light"] .ruler-logo-item.logo-noruyum img {
  filter: grayscale(1) invert(1) brightness(1.1) contrast(1.3);
}

/* N'Örüyüm — dark mode:
   invert() shifts the mint circle (74% gray) to 26%, then brightness(2.5)
   lifts it to ~65% gray (visible on dark bg). Decorative elements (salmon ~64%)
   invert to ~36% then boost to ~90% = near-white on both the circle and on the
   transparent background outside it. */
[data-theme="dark"] .ruler-logo-item.logo-noruyum img {
  filter: grayscale(1) invert(1) brightness(2.5);
}

/* ICCF 2025 (black bg, white bowl text) — light mode keeps "ICCF" text white */
[data-theme="light"] .ruler-logo-item.logo-iccf2025 img {
  filter: grayscale(1) brightness(0.85) contrast(3);
}

/* ICCF 2025 — dark mode: simple invert turns white "ICCF" text → black ✓
   (the original black bg becomes white, showing as a light card — acceptable) */
[data-theme="dark"] .ruler-logo-item.logo-iccf2025 img {
  filter: grayscale(1) invert(1);
}

/* ÇICF 2026 (white bg, brown content) — dark mode: invert bg to black, boost content */
[data-theme="dark"] .ruler-logo-item.logo-cicf2026 img {
  filter: grayscale(1) invert(1) brightness(1.5) contrast(1.2);
}

/* ── Navigation ── */
.ruler-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}

.ruler-nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--fg3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
  border-radius: 4px;
}

.ruler-nav-btn:hover {
  color: var(--fg);
  transform: scale(1.15);
}

.ruler-counter {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--fg3);
  min-width: 52px;
  justify-content: center;
}

.ruler-counter-sep {
  color: var(--border-dark);
}

@media (max-width: 768px) {
  .ruler-logo-item {
    width: 180px;
    height: 120px;
    margin: 0 24px;
  }

  .ruler-track-outer {
    height: 180px;
  }

  .ruler-track-outer::before,
  .ruler-track-outer::after {
    width: 80px;
  }
}



/* ═══════════════════════════════════════════════════════
   KAPSAMLI MOBİL DÜZELTMELERİ
   Tüm sayfalarda tutarlı responsive davranış için
═══════════════════════════════════════════════════════ */

/* ── Nav: scrolled durumunda taşmayı engelle ── */
@media (max-width: 960px) {
  .nav.scrolled {
    right: 16px !important;
  }
}

/* ── Genel: section / spacing düzeltmeleri ── */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 70px 0;
  }

  .section-sm {
    padding: 48px 0;
  }

  /* Buttons */
  .btn {
    padding: 13px 26px;
    font-size: 13px;
  }

  .hero-btns {
    flex-wrap: wrap;
  }

  .hero-btns .btn,
  .hero-btns .btn-hero-outline {
    min-width: 200px;
    flex: 1 1 200px;
    text-align: center;
    justify-content: center;
  }

  /* Mesh CTA */
  .mesh-cta {
    min-height: 400px;
  }

  .mesh-cta__inner {
    padding: 64px 24px;
  }

  .mesh-cta__title {
    margin-bottom: 20px;
  }

  /* Aurora hero */
  .aurora-hero {
    padding: 110px 20px 60px !important;
  }

  /* Mobile menu sub items */
  .mobile-menu__sub a {
    font-size: clamp(20px, 5vw, 28px) !important;
    padding: 8px 0 !important;
  }

  /* Tools hero */
  .tools-hero {
    padding: 110px 20px 48px !important;
  }

  .tools-hero h1 {
    font-size: clamp(42px, 11vw, 72px) !important;
  }

  /* Tool workspace */
  .tool-workspace {
    padding: 28px 16px 60px !important;
  }

  /* Blog tools grid */
  .blog-tools-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Page hero */
  .page-hero {
    padding: 110px 20px 56px !important;
  }

  /* Contact hero */
  .cha-content {
    padding: 100px 20px 56px;
  }

  .cha-content h1 {
    font-size: clamp(42px, 11vw, 80px);
  }

  /* Biz kimiz */
  .bk-hero {
    padding: 110px 20px 56px !important;
  }

  /* Services grid (hizmetlerimiz) */
  .svc-card-grid {
    grid-template-columns: 1fr !important;
  }

  .service-full-item {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .service-full-item .service-full-img {
    max-height: 220px;
  }

  /* Projects */
  .projects-full {
    grid-template-columns: 1fr !important;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Overflow guard — bütün sayfalar */
  img,
  video,
  iframe,
  canvas,
  svg {
    max-width: 100%;
    height: auto;
  }

  /* Tables */
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Pre/code overflow */
  pre {
    overflow-x: auto;
    max-width: 100%;
  }
}

/* ── Extra küçük (375px ve altı) ── */
@media (max-width: 480px) {
  .nav {
    left: 8px;
    right: 8px;
    padding: 7px 12px !important;
  }

  .nav-logo img {
    height: 26px;
  }

  .section {
    padding: 52px 0;
  }

  .section-sm {
    padding: 36px 0;
  }

  /* Büyük başlıklar */
  h1 {
    font-size: clamp(40px, 12vw, 72px) !important;
  }

  h2 {
    font-size: clamp(32px, 9vw, 56px) !important;
  }

  h3 {
    font-size: clamp(22px, 6vw, 36px) !important;
  }

  /* Buttons full-width */
  .hero-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-btns .btn,
  .hero-btns .btn-hero-outline {
    width: 100%;
    max-width: 100%;
    flex: none;
  }

  /* Footer */
  .footer {
    padding: 32px 16px 20px !important;
  }

  .footer-main-grid {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }

  /* CTA daha kompakt */
  .mesh-cta__inner {
    padding: 48px 16px;
  }

  /* Mobile menu padding — küçük ekranlarda sıkıştır */
  .mobile-menu {
    padding: 64px 20px 32px;
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Stats 1 column */
  .stats-grid {
    grid-template-columns: 1fr !important;
  }

  /* Tool columns stack */
  .tool-row {
    grid-template-columns: 1fr !important;
  }

  .dc-preview-row {
    grid-template-columns: 1fr !important;
  }

  .wa-metrics {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* QR / converter settings */
  .dc-format-grid {
    flex-direction: column;
  }

  .dc-format-label {
    width: 100%;
  }

  /* Blog grid */
  .blog-grid {
    grid-template-columns: 1fr !important;
  }

  .btool-card {
    margin-bottom: 0;
  }

  /* Breadcrumb */
  .breadcrumb {
    flex-wrap: wrap;
    gap: 4px 0;
  }

  /* Contact form */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Category filter pills scroll */
  .cat-filter {
    gap: 8px;
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ── Dokunmatik cihazlar: hover'ları iptal et, tap hedeflerini büyüt ── */
@media (hover: none) and (pointer: coarse) {
  .nav-links a:hover .ns span:first-child {
    opacity: 1;
  }

  .nav-links a:hover .ns span:last-child {
    opacity: 0;
  }

  .btn:hover {
    transform: none;
  }

  a,
  button {
    -webkit-tap-highlight-color: transparent;
  }

  .btn,
  .nav-cta,
  .gd-send-btn,
  .dc-convert-btn,
}

.btn,
.nav-cta,
.gd-send-btn,
.dc-convert-btn,
.gd-error-retry {
  min-height: 44px;
  /* iOS minimum tap target */
}



/* ══════════════════════════════ CTA BANNER (Form + Horizontal Marquee) ══════════════════════════════ */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 0;
  margin: 70px 0;
  background-color: var(--bg-body);
  color: var(--fg1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 450px;
  font-family: 'Inter', sans-serif;
}

.cta-banner-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  width: 100%;
  align-items: center;
}

.cta-title-form {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--fg1);
  margin-bottom: 24px;
}

.cta-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 14px;
  color: #666;
}

[data-theme="dark"] .cta-status-badge {
  border-color: rgba(255, 255, 255, 0.1);
  color: #aaa;
}

/* Form Styles */
.cta-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.cta-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #bbb;
  /* Daha belirgin çerçeve */
  background: #e0e0e0;
  /* Okunabilir daha koyu gri arka plan */
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  color: #000;
  /* Net siyah yazı */
}

.cta-input::placeholder {
  color: #555;
}

[data-theme="dark"] .cta-input {
  background: #111;
  border-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.cta-input:focus {
  border-color: #ffec00;
}

.cta-full-width {
  grid-column: span 2;
}

.cta-phone-input {
  display: flex;
  align-items: center;
  border: 1px solid #bbb;
  background: #e0e0e0;
  border-radius: 12px;
  padding: 0 16px;
}

[data-theme="dark"] .cta-phone-input {
  background: #111;
  border-color: rgba(255, 255, 255, 0.1);
}

.cta-phone-prefix {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  padding-right: 12px;
  border-right: 1px solid #bbb;
  margin-right: 12px;
  color: #000;
}

[data-theme="dark"] .cta-phone-prefix {
  border-right-color: rgba(255, 255, 255, 0.1);
  color: #ccc;
}

.cta-phone-input input {
  border: none;
  background: transparent;
  padding: 14px 0;
  outline: none;
  flex: 1;
  color: inherit;
}

.cta-form-footer {
  grid-column: span 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.cta-checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #333;
  /* Gündüz modunda daha belirgin */
}

[data-theme="dark"] .cta-checkbox-wrap {
  color: #aaa;
}

.cta-checkbox-wrap a {
  text-decoration: underline;
  color: inherit;
}

.cta-send-btn {
  background: #ffec00;
  color: black !important;
  padding: 12px 32px;
  border-radius: 10px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

.cta-send-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

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

.cta-marquee-wrapper {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  margin-top: 80px;
}


.cta-marquee {
  display: flex;
  flex-direction: row;   /* tracklar yan yana, asla alt alta değil */
  flex-wrap: nowrap;     /* wrap'i engelle */
  overflow: hidden;
  width: 100%;
}


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

.cta-marquee-track {
  display: flex;
  flex-direction: row;   /* span'ler yan yana */
  flex-wrap: nowrap;
  flex-shrink: 0;
  min-width: 100%;       /* en az ekran genişliği kadar — kesintisiz scroll */
  animation: marquee-horizontal 30s linear infinite;
  align-items: center;
}


.cta-marquee-track span {
  font-size: clamp(22px, 4.5vw, 64px);  /* mobilde daha uyumlu minimum */
  font-weight: 300;
  letter-spacing: -1px;
  padding: 0 clamp(16px, 3vw, 40px);    /* mobilde daha küçük padding */
  white-space: nowrap;
  color: var(--fg1);
  opacity: 0.8;
}


/* Kenar yumuşatma efektleri - Arka plan rengine göre otomatik değişir */
.cta-marquee-fade-left {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 15vw;
  background: linear-gradient(to right, var(--bg-body), transparent);
  pointer-events: none;
  z-index: 5;
}

.cta-marquee-fade-right {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 15vw;
  background: linear-gradient(to left, var(--bg-body), transparent);
  pointer-events: none;
  z-index: 5;
}

@media (max-width: 900px) {
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-banner {
    margin: 40px 0;
  }

  .cta-form-footer {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* ════════════════════════════════════════════════════
   LIMELIGHT NAV — Mobil Alt Navigasyon (≤768px)
   LimelightNav konseptinin vanilla CSS/JS uyarlaması
════════════════════════════════════════════════════ */
.llnav {
  display: none;
}

@media (max-width: 768px) {

  /* Body: alt nav yüksekliği kadar boşluk bırak */
  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Mobil menü de alt navın arkasında kalmasın */
  .mobile-menu {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .llnav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 490;
    align-items: center;
    justify-content: space-around;
    height: 60px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--bg);
    border-top: 1.5px solid var(--border);
  }

  /* Her nav öğesi */
  .llnav__item {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60px;
    text-decoration: none;
    color: var(--fg3);
    font-size: 9.5px;
    font-weight: 500;
    font-family: var(--font-body);
    letter-spacing: 0.02em;
    gap: 3px;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    transition: color 0.18s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .llnav__item svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.38;
    transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
  }

  /* Aktif öğe — gündüz orijinal renk */
  .llnav__item.active {
    color: var(--fg);
  }

  .llnav__item.active svg {
    opacity: 1;
    transform: translateY(-2px);
  }

  /* Limelight şeridi — aktif öğenin üstünde */
  .llnav__indicator {
    position: absolute;
    top: 0;
    height: 2.5px;
    width: 38px;
    border-radius: 0 0 4px 4px;
    background: var(--fg);
    pointer-events: none;
    will-change: left;
  }

  .llnav__indicator.ready {
    transition: left 0.4s cubic-bezier(0.34, 1.45, 0.64, 1);
  }

  /* Spotlight konisi — gündüz: koyu */
  .llnav__indicator::after {
    content: '';
    position: absolute;
    top: 2.5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 58px;
    pointer-events: none;
    background: linear-gradient(180deg,
        rgba(17, 17, 17, 0.14) 0%,
        transparent 100%);
    clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
  }

  /* Gece modu: sarı */
  [data-theme="dark"] .llnav__item.active {
    color: var(--accent);
  }

  [data-theme="dark"] .llnav__indicator {
    background: var(--accent);
  }

  [data-theme="dark"] .llnav__indicator::after {
    background: linear-gradient(180deg,
        rgba(255, 230, 0, 0.32) 0%,
        transparent 100%);
  }
}

/* ===========================================
   COOKIE BANNER (Vanilla JS) 
=========================================== */
.cb-wrapper {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10000;
  width: 360px;
  max-width: calc(100vw - 48px);
  pointer-events: none;
}

.cb-card {
  pointer-events: auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(12px);
  font-family: var(--font-body);
  color: var(--fg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

[data-theme="dark"] .cb-card {
  background: rgba(18, 18, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cb-card.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.cb-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cb-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 230, 0, 0.1);
  color: var(--accent);
  border-radius: 10px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 230, 0, 0.2);
}

.cb-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  flex: 1;
  line-height: 1.2;
  padding-top: 8px;
}

.cb-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--fg3);
  padding: 8px;
  border-radius: 8px;
  display: flex;
  transition: background 0.2s;
}

.cb-close:hover {
  background: var(--bg2);
  color: var(--fg);
}

.cb-message {
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg2);
  margin: 0;
}

.cb-message a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--fg);
  font-weight: 600;
}

.cb-actions {
  display: flex;
  gap: 10px;
}

.cb-btn {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
  font-family: var(--font-body);
}

.cb-btn-secondary {
  background: var(--bg2);
  color: var(--fg);
  border-color: var(--border);
}

.cb-btn-secondary:hover {
  background: var(--bg3);
}

.cb-btn-primary {
  background: var(--accent);
  color: #000;
  flex: 1;
}

.cb-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 230, 0, 0.3);
}

.cb-prefs-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cb-prefs-panel.expanded {
  max-height: 500px;
  padding-top: 10px;
}

.cb-pref-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.cb-pref-row:hover {
  border-color: var(--fg3);
}

.cb-pref-row.locked {
  cursor: default;
}

.cb-pref-row.locked:hover {
  border-color: var(--border);
}

.cb-checkbox-wrap {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s;
  background: var(--bg);
}

.cb-pref-row.active .cb-checkbox-wrap {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

.cb-pref-row.locked .cb-checkbox-wrap {
  background: var(--bg3);
  opacity: 0.6;
}

.cb-pref-content h5 {
  font-size: 13px;
  margin: 0;
  font-weight: 600;
}

.cb-pref-content p {
  font-size: 11px;
  color: var(--fg3);
  margin: 4px 0 0;
  line-height: 1.4;
}

.cb-pref-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

/* ===========================================
   LEGAL HERO V3 — With Dotted Surface
=========================================== */
.legal-hero-v3 {
  position: relative;
  padding: 140px 0 100px;
  background: var(--bg);
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

#dotted-surface-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.legal-hero-v3 .container {
  position: relative;
  z-index: 10;
}

.legal-hero-v3 .hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-70px); /* Balanced shift for visibility */
}

.legal-hero-v3 .breadcrumb {
  justify-content: center; /* Masaüstünde ortala */
  margin-bottom: 32px;
}

.hero-glow-overlay {
  position: absolute;
  top: -10%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, var(--accent), transparent 60%);
  filter: blur(80px);
  opacity: 0.08;
  pointer-events: none;
}

.legal-hero-v3 .hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  color: var(--fg2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.legal-hero-v3 h1 {
  font-size: clamp(40px, 6vw, 72px);
  margin-bottom: 24px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.legal-hero-v3 p {
  font-size: 18px;
  color: var(--fg2);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.legal-hero-v3 .update-date {
  margin-top: 32px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg3);
  font-family: var(--font-body);
}

[data-theme="dark"] .legal-hero-v3 {
  background: #050505;
}

/* ═══════════════════════════════════════════════════════
   KAPSAMLI MOBİL OVERFLOW & LAYOUT DÜZELTMELERİ
   ≤768px — Yazı taşma, kutu taşma, hizalama sorunları
═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Uzun kelimeler kırılsın, yatay scroll olmasın */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  p,
  li,
  td,
  th,
  blockquote,
  label {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  /* Bütün img/video/embed/canvas ekrandan taşmasın */
  img,
  video,
  embed,
  object,
  iframe,
  canvas,
  svg {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Tablo: mobilde yatay kaydırılabilir */
  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  /* Pre/code: yatay kaydırılabilir */
  pre,
  code {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
  }

  /* Flex sarmalama — tek sütun */
  .flex-row-mobile-stack {
    flex-direction: column !important;
  }

  /* Sabit yükseklik içeren hero bölümleri */
  .hero-logo-img {
    width: 90% !important;
    left: 5% !important;
    top: 10% !important;
  }

  /* Hero içeriği sol kenar dolgusu */
  .hero-content {
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Blog kart gridi */
  .blog-grid,
  .blog-card-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Hizmetler kart gridi */
  .svc-grid,
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Proje/Referans gridi */
  .projects-grid,
  .ref-grid {
    grid-template-columns: 1fr !important;
  }

  /* İletişim bölümü */
  .contact-grid,
  .contact-row {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Çift sütunlu feature bölümleri */
  .feature-row,
  .two-col {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Buton grubunu dikeye al */
  .btn-group {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  /* Menü kapandığında body scroll açık kalsın (güvenlik) */
  body:not(.menu-open) {
    overflow-x: hidden;
  }

  /* Section içi padding — küçük ekranlarda boşaltma */
  .section>.container,
  .section-sm>.container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Büyük padding'li sabit bölümler */
  [class*="-hero"] {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Video wrapper tam genişlik */
  .video-wrap,
  .embed-wrap {
    width: 100% !important;
  }

  /* Araç sayfalarındaki içerik alanları */
  .tool-panel,
  .tool-output {
    min-width: 0 !important;
    width: 100% !important;
  }
}

/* ── 480px ve altı: ek sıkıştırma ── */
@media (max-width: 480px) {

  /* Mobile menu close button — küçük ekranlarda biraz içeri al */
  .mobile-menu-close {
    top: 14px;
    right: 14px;
  }

  /* Başlıkları biraz daha sıkıştır */
  .page-hero h1,
  .aurora-hero h1,
  .bk-hero h1,
  .cha-content h1,
  .tools-hero h1 {
    font-size: clamp(36px, 10vw, 56px) !important;
  }

  /* Üst boşluk düzeltmesi — nav yüksekliğiyle çakışma */
  .section:first-of-type {
    padding-top: 80px;
  }

  /* Uzun URL ve kod string taşması */
  a,
  code,
  span {
    overflow-wrap: anywhere;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM MOBİL REFACTOR — Apple / mi.com kalitesi
   Tüm ≤768px ekranlar için ferah, hizalı, pixel-perfect düzen
═══════════════════════════════════════════════════════════════ */

/* ── 1. Tipografi: desktop devasa başlıkları mobil ölçeğe indir ── */
@media (max-width: 768px) {
  h1 {
    font-size: clamp(32px, 9vw, 48px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.02em !important;
  }

  h2 {
    font-size: clamp(26px, 7.5vw, 40px) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.015em !important;
  }

  h3 {
    font-size: clamp(20px, 5.5vw, 28px) !important;
    line-height: 1.2 !important;
  }

  h4 {
    font-size: clamp(16px, 4vw, 22px) !important;
    line-height: 1.3 !important;
  }

  p {
    font-size: 16px !important;
    line-height: 1.65 !important;
  }

  /* ── 2. Hero başlık padding: minimal nav ile daha az top clearance ── */
  .tools-hero {
    padding-top: 72px !important;
  }

  .page-hero {
    padding-top: 72px !important;
  }

  .aurora-hero {
    padding-top: 72px !important;
  }

  .bk-hero {
    padding-top: 72px !important;
  }

  .contact-hero-anim {
    padding-top: 72px !important;
  }

  .cha-content {
    padding-top: 72px !important;
  }

  .legal-hero-v3 {
    padding-top: 80px !important;
  }

  /* ── 3. Section boşlukları: Apple gibi nefes alacak alan ── */
  .section {
    padding: 80px 0 !important;
  }

  .section-sm {
    padding: 52px 0 !important;
  }

  /* ── 4. Butonlar: tam genişlik, 44px min-height touch target ── */
  .btn {
    min-height: 48px !important;
    padding: 13px 28px !important;
    font-size: 14px !important;
  }

  .hero-btns {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .hero-btns .btn,
  .hero-btns .btn-hero-outline {
    width: 100% !important;
    min-width: unset !important;
    flex: unset !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* ── 5. Kartlar: tek kolon, hafif gölge, yumuşak radius ── */
  .service-card,
  .blog-card,
  .project-full-card,
  .process-step {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* ── 6. Görseller: her zaman esnek ── */
  img,
  video,
  picture {
    max-width: 100% !important;
    height: auto !important;
  }

  /* ── 7. Horizontal overflow kesin engel ── */
  body,
  html {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Sonsuz kaydırma (marquee) taşma engeli */
  .marquee-wrap,
  .marquee-track,
  .ruler-track,
  .ruler-track-outer {
    max-width: none !important;
    /* marquee'nin özel genişliğine izin ver */
  }

  /* ── 8. Mobile menu başlık boyutları: daha kompakt ── */
  .mobile-menu a {
    font-size: clamp(26px, 7.5vw, 40px) !important;
    padding: 11px 0 !important;
  }

  .mobile-menu__label {
    font-size: clamp(26px, 7.5vw, 40px) !important;
    padding: 11px 0 !important;
  }

  /* ── 9. Contact / İletişim grid ── */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* ── 10. Stats: 2 kolonlu tutarlı ── */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }

  /* ── 11. Blog grid ── */
  .blog-grid,
  .blog-card-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* ── 12. Footer: tek kolon, dengeli padding ── */
  .footer {
    padding: 40px 20px 28px !important;
  }

  .footer-grid,
  .footer-cols {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

/* ── Animasyonlar: mobilde hafiflet ── */
@media (max-width: 768px) {

  /* Reveal: daha kısa kayma mesafesi */
  .reveal {
    transform: translateY(18px) !important;
  }

  .reveal.visible {
    transform: translateY(0) !important;
  }

  /* Fan stack: mobilde sade kal */
  .fanstack-card {
    transition: transform 0.3s ease, opacity 0.3s ease !important;
  }

  /* Parallax elementleri: mobilde dondur */
  [data-speed],
  .parallax-el {
    transform: none !important;
    will-change: auto !important;
  }
}

/* ── prefers-reduced-motion: animasyonları kapat ── */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Tablet (769px – 1024px): orta boy iyileştirmeler ── */
@media (min-width: 769px) and (max-width: 1024px) {
  h1 {
    font-size: clamp(42px, 6vw, 72px) !important;
  }

  h2 {
    font-size: clamp(34px, 5vw, 60px) !important;
  }

  .container {
    padding: 0 32px !important;
  }

  .section {
    padding: 96px 0 !important;
  }

  /* Services / blog: 2 kolon */
  .services-grid,
  .blog-grid,
  .blog-card-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Stats: 2×2 */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Hero btns: yan yana */
  .hero-btns {
    flex-wrap: wrap !important;
    gap: 12px !important;
  }
}

/* ── iPhone SE ve benzeri çok küçük ekranlar (≤380px) ── */
@media (max-width: 380px) {
  h1 {
    font-size: 28px !important;
  }

  h2 {
    font-size: 24px !important;
  }

  .container {
    padding: 0 16px !important;
  }

  .mobile-menu {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* ═══════════════════════════════════════════════════════
   MOBİL DÜZENLEME — 23 madde kapsamlı düzeltme paketi
════════════════════════════════════════════════════════ */

/* ── Issue 1: Hero min-height dvh + dikey ── */
.hero {
  min-height: 100dvh;
}

/* ── Issue 2: Hero carousel mobilde görünsün — standart boyut ── */
@media (max-width: 900px) {
  .hero-carousel {
    display: block !important;
    opacity: 0.4;
    left: 0 !important;
    right: 0 !important;
    height: 160px !important;
    bottom: 80px !important;
    mask-image: linear-gradient(to right, transparent 0px, rgba(0,0,0,0.4) 40px, black 100px, black calc(100% - 100px), rgba(0,0,0,0.4) calc(100% - 40px), transparent 100%) !important;
    -webkit-mask-image: linear-gradient(to right, transparent 0px, rgba(0,0,0,0.4) 40px, black 100px, black calc(100% - 100px), rgba(0,0,0,0.4) calc(100% - 40px), transparent 100%) !important;
  }
  .hero-carousel-card {
    width: 160px !important;
    height: 160px !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
  }
  .hero-carousel-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}

/* ── Issue 3: Projeler scroll daha hızlı ── */
@media (max-width: 768px) {
  .projects-scroll-track {
    animation-duration: 10s !important;
    min-height: 300px !important;
  }
  .projects-showcase {
    min-height: auto !important;
  }
  .projects-showcase-left {
    padding: 48px 24px !important;
  }
}

/* ── CTA Marquee: mobilde gizle ── */
@media (max-width: 768px) {
  .cta-marquee-wrapper {
    display: none !important;
  }
}


/* ── Issue 4: ScrollGlobe — viewport dvh düzelt (desktop) ── */
.sg-viewport {
  height: 100dvh !important;
}
/* Not: sg-container mobilde index.html içindeki <style> bloğuyla gizleniyor (display:none),
   yerine sgm-section (sticky stack cards) gösteriliyor. */

/* ── Issue 5: CTA marquee üst üste gelme ── */
.cta-marquee {
  white-space: nowrap;
}
.cta-marquee-track {
  min-width: 100%;
}

/* ── Issue 6: Footer accordion mobil ── */
@media (max-width: 768px) {
  .footer-main-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .footer-col-game {
    display: none !important;
  }
  .footer-col {
    border-bottom: 1px solid var(--border);
    padding: 8px 0 !important;
  }
  .footer-col h5 {
    cursor: pointer;
    padding: 16px 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    user-select: none;
  }
  .footer-col h5::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-right: 8px;
  }
  .footer-col.open h5::after {
    transform: rotate(-135deg);
  }
  .footer-col ul {
    display: none;
    padding: 0 0 16px 0;
    margin: 0;
  }
  .footer-col.open ul {
    display: block;
  }
  .footer-col ul li a {
    line-height: 1.6;
    padding: 6px 0;
  }
  .footer-typing-text {
    font-size: 28px;
  }
  .footer-typing-wrap {
    min-height: 70px;
  }
  .footer-logo {
    padding-bottom: 24px !important;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0 !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    gap: 12px !important;
    text-align: center;
    padding-top: 16px;
  }
  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
}

/* ── Issue 7: Spotlight cards scroll düzelt ── */
@media (max-width: 768px) {
  .spotlight-card {
    touch-action: pan-y !important;
  }
}

/* ── Issue 8: Hizmetlerimiz hero boşluk ── */
@media (max-width: 768px) {
  .hh-wrap {
    height: 100dvh !important;
  }
  .hh-sticky {
    height: 100dvh !important;
  }
}

/* ── Issue 9: Tech stack logolar ── */
@media (max-width: 768px) {
  .bk-ts-icon-row {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 20px !important;
    overflow: hidden !important;
  }
  .bk-ts-icon-item {
    max-width: 80px !important;
    overflow: hidden !important;
  }
  .bk-ts-icon-row img {
    max-width: 60px !important;
    max-height: 40px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
  }
  .bk-ts-icon-img {
    width: 40px !important;
    height: 40px !important;
  }
  .bk-ts-icon-img-wide {
    height: 22px !important;
    max-width: 90px !important;
    width: auto !important;
  }
  .bk-ts-local-img,
  .bk-ts-local-img-inv,
  .bk-ts-local-img-ikas {
    height: 28px !important;
    max-width: 80px !important;
    width: auto !important;
  }
}

/* ── Issue 10: Radar animasyonu mobilde gizle ── */
@media (max-width: 768px) {
  .radar-section {
    display: none !important;
  }
}

/* ── Issue 11: Hizmetlerimiz CTA (mesh-cta) mobil düzelt ── */
@media (max-width: 768px) {
  .mesh-cta {
    min-height: 60dvh !important;
    width: 100% !important;
    overflow: hidden !important;
  }
  .mesh-cta__canvas {
    width: 100% !important;
    height: 100% !important;
    inset: 0 !important;
  }
  .hizmetler-cta,
  .hizmetler-cta .cta-banner {
    min-height: 100dvh !important;
    flex-direction: column !important;
  }
}

/* ── Issue 12: Partner logoları daha hızlı ── */
@media (max-width: 768px) {
  .logo-marquee-track,
  .partner-marquee-track {
    animation-duration: 15s !important;
  }
  .projects-scroll-wrap {
    padding-bottom: 0 !important;
  }
}

/* ── Issue 13: Funnel chart yatay ── */
@media (max-width: 768px) {
  .funnel-layout {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  #funnelChartContainer {
    width: 100% !important;
    height: 260px !important;
  }
}

/* ── Issue 15: Spline watermark gizle ── */
spline-viewer::part(logo),
spline-viewer::part(watermark),
.spline-watermark,
[class*="spline-watermark"],
[id*="spline-watermark"] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ── Issue 16 & 17: Page-hero + aurora-hero dvh düzelt ── */
.page-hero {
  min-height: 100dvh;
}
@media (max-width: 768px) {
  .aurora-hero {
    height: auto !important;
    min-height: 100dvh !important;
    padding: 120px 20px 60px !important;
  }
  #auroraCanvas {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
  }
}

/* ── Issue 18: Blog avatar tam yuvarlak ── */
@media (max-width: 768px) {
  .author-avatar {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    object-fit: contain !important;
    padding: 2px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
    flex-shrink: 0 !important;
  }
}

/* ── Issue 19: Blog etiketleri yatay scroll ── */
@media (max-width: 768px) {
  .blog-tags-filter,
  .blog-card-tags {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 8px !important;
    padding-bottom: 8px !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .blog-tags-filter::-webkit-scrollbar,
  .blog-card-tags::-webkit-scrollbar {
    display: none;
  }
  .blog-tag,
  .blog-card-tags span,
  .blog-card-tags a {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
}


/* ── Issue 21: Legal sayfalar overflow ── */
.legal-content,
.cerez-content,
.gizlilik-content,
.kullanim-content {
  overflow-x: hidden;
}
@media (max-width: 768px) {
  .legal-content table,
  .cerez-content table,
  .gizlilik-content table,
  .kullanim-content table,
  .legal-content-wrap table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    max-width: 100% !important;
  }
  .legal-content,
  .cerez-content,
  .gizlilik-content,
  .kullanim-content,
  .legal-content-wrap {
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  .legal-content,
  .cerez-content,
  .gizlilik-content,
  .kullanim-content,
  .legal-content-wrap,
  .legal-page {
    box-sizing: border-box !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  .legal-page .container,
  .page-content .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    overflow-x: hidden !important;
  }

  /* Legal Hero Mobile Fixes */
  .legal-hero-v3 .hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 20px 0 !important;
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: 20 !important;
    transform: translateY(-20px) !important; /* Mobile shift */
  }

  .legal-hero-v3 .breadcrumb {
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 20px !important;
    width: 100% !important;
  }

  .legal-hero-v3 h1 {
    font-size: clamp(32px, 8vw, 48px) !important;
    margin-bottom: 16px !important;
    display: block !important;
  }

  .legal-hero-v3 p {
    font-size: 15px !important;
    line-height: 1.5 !important;
    margin-bottom: 24px !important;
    display: block !important;
  }

  .legal-hero-v3 .update-date {
    display: block !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    font-size: 12px !important;
    opacity: 0.8 !important;
  }

  .legal-hero-v3 .hero-badge {
    display: inline-flex !important;
    margin-bottom: 0 !important;
    margin-top: 8px !important;
    padding: 6px 14px !important;
    font-size: 11px !important;
  }
}

/* ── Issue 22: Hamburger morph icon stiller ── */
.ham-morph {
  width: 28px;
  height: 28px;
  display: block;
  transition: transform 0.5s ease-in-out;
}
.hamburger.open .ham-morph {
  transform: rotate(-45deg);
}
.ham-morph path {
  transition: all 0.5s ease-in-out;
}
.ham-morph .ham-top {
  stroke-dasharray: 12 63;
}
.hamburger.open .ham-morph .ham-top {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42;
}

/* ── Issue 23: Mobil menüde İletişime Geç gizle ── */
.mobile-menu .nav-cta {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════
   ANASAYFA HERO — MOBİL PONG LAYOUT (~815px)
   Pong canvas tam arka plan, içerik absolute konumlu altta
═══════════════════════════════════════════════════════ */

/* Pong canvas varsayılan: gizli (sadece mobilde görünür) */
.hero-mobile-pong {
  display: none;
}

@media (max-width: 768px) {
  /* Legal Card Mobile Responsive Fixes */
  .legal-card {
    padding: 24px !important;
    overflow-x: hidden !important;
  }

  .legal-card table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .legal-card h2 {
    font-size: 20px !important;
  }

  .legal-card p, .legal-card li {
    font-size: 14px !important;
  }

  .hero {
    min-height: 815px !important;
    display: block !important;
    background: #000 !important;
    overflow: hidden !important;
  }

  /* WebGL nebula gizle, pong devreye girer */
  #heroCanvas {
    display: none !important;
  }

  /* Pong canvas: tüm hero'yu kaplar */
  .hero-mobile-pong {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
  }

  /* Alt yarı gradient — içerik okunabilirliği için */
  .hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 460px;
    background: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.65) 35%,
      rgba(0, 0, 0, 0.92) 65%
    );
    z-index: 5;
    pointer-events: none;
  }

  /* Logo: mobilde gizle */
  .hero-logo-img {
    display: none !important;
  }

  /* Eyebrow (Çanakkale ·) ve açıklama metni mobilde gizle */
  .hero-eyebrow,
  #cms-hero-eyebrow {
    display: none !important;
  }

  .hero-desc,
  #cms-hero-desc {
    display: none !important;
  }

  /* İçerik: carousel üstünde (160px yükseklik + 25px boşluk = 185px) */
  .hero .hero-content {
    position: absolute !important;
    bottom: 185px !important;
    left: 0 !important;
    right: 0 !important;
    padding: 0 24px !important;
    max-width: 100% !important;
    z-index: 10 !important;
  }

  /* Scroll göstergesi gereksiz */
  .hero-scroll {
    display: none !important;
  }

  /* Carousel: hero'nun tam altında */
  .hero-carousel {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    width: 100% !important;
    height: 140px !important;
    opacity: 0.75 !important;
    z-index: 10 !important;
    mask-image: linear-gradient(
      to right,
      transparent 0,
      black 32px,
      black calc(100% - 32px),
      transparent 100%
    ) !important;
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      black 32px,
      black calc(100% - 32px),
      transparent 100%
    ) !important;
  }

  /* Carousel kartları: standart 160×160px kare */
  /* (yükseklik zaten üstteki blokta 160px, burada img stilleri) */

  .hero-carousel-card {
    width: 160px !important;
    height: 160px !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
  }

  .hero-carousel-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  /* Light modda metinler beyaz olsun (hero arka planı artık siyah) */
  [data-theme="light"] .hero-eyebrow {
    color: rgba(255, 255, 255, 0.6) !important;
  }
  [data-theme="light"] .hero-eyebrow::before {
    background: rgba(255, 255, 255, 0.35) !important;
  }
  [data-theme="light"] .hero-desc {
    color: rgba(255, 255, 255, 0.65) !important;
  }
  [data-theme="light"] .btn-hero-outline {
    color: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
  }
}