/* =========================================
   aabil.tech — Ana Stil Dosyası
   ========================================= */

/* === Import === */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: var(--theme-transition);
  min-height: 100vh;
}

/* === Scrollbar === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--scrollbar-track); }
::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 3px;
  transition: background 0.3s;
}
::-webkit-scrollbar-thumb:hover { background: var(--scrollbar-thumb-hover); }

/* === Tipografi === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-accent);
}

h1 { font-size: clamp(2.8rem, 7vw, 6rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { color: var(--text-secondary); line-height: 1.75; }
a { color: inherit; text-decoration: none; }

code, .code-font {
  font-family: 'JetBrains Mono', monospace;
}

/* === Selection === */
::selection {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* =========================================
   LAYOUT
   ========================================= */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container--wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.section--alt {
  background: var(--bg-secondary);
}

/* === Grid Sistemleri === */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* =========================================
   NAVİGASYON
   ========================================= */

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s ease;
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: var(--nav-bg);
  border-bottom-color: var(--nav-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.875rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-accent);
  transition: opacity 0.2s;
}

.nav-logo:hover { opacity: 0.85; }

.nav-logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.nav-logo-icon .logo-light {
  display: none;
}

.nav-logo-icon .logo-dark {
  display: block;
}

[data-theme="light"] .nav-logo-icon .logo-light {
  display: block;
}

[data-theme="light"] .nav-logo-icon .logo-dark {
  display: none;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-text span:first-child {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  -webkit-text-fill-color: var(--text-primary);
}

.nav-logo-text span:last-child {
  font-size: 0.62rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  -webkit-text-fill-color: var(--text-muted);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  position: relative;
  transition: color 0.25s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-cyan);
  transition: width 0.3s ease;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ─── Theme Toggle — Morphing Celestial Orb with Label ─── */
.celestial-toggle {
  position: relative;
  height: 36px;
  padding: 0 14px 0 8px;
  border: 1px solid var(--border-normal);
  border-radius: 20px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.35s ease,
              background 0.35s ease,
              box-shadow 0.35s ease,
              transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.celestial-toggle:hover {
  border-color: var(--border-accent);
  box-shadow: 0 0 16px var(--accent-cyan-glow);
  transform: translateY(-1px);
}

.celestial-toggle:active {
  transform: scale(0.96);
  transition-duration: 0.1s;
}

/* ── Icon Container ── */
.celestial-icons {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── SVG Icons ── */
.celestial-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.4s ease;
  pointer-events: none;
}

/* Light modda: Güneş görünür, Ay gizli */
[data-theme="light"] .celestial-sun {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  color: var(--text-primary);
}

[data-theme="light"] .celestial-moon {
  opacity: 0;
  transform: scale(0.6) rotate(-45deg);
  color: var(--text-primary);
}

/* Dark modda: Ay görünür, Güneş gizli */
[data-theme="dark"] .celestial-sun {
  opacity: 0;
  transform: scale(0.6) rotate(45deg);
  color: var(--text-primary);
}

[data-theme="dark"] .celestial-moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  color: var(--text-primary);
}

/* Hover Animasyon Efektleri */
.celestial-toggle:hover .celestial-sun {
  transform: scale(1.1) rotate(30deg);
}

.celestial-toggle:hover .celestial-moon {
  transform: scale(1.1) rotate(-15deg);
}

/* ── Metin Etiketi ── */
.celestial-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 0.35s ease,
              transform 0.35s ease;
  pointer-events: none;
  line-height: 1;
}

/* İki label üst üste — sadece biri görünür */
.celestial-label-dark {
  position: absolute;
  right: 14px;
}

/* Light modda: "Gündüz" görünür, "Gece" gizli */
[data-theme="light"] .celestial-label-light {
  opacity: 1;
  color: var(--text-primary);
  transform: translateY(0);
}
[data-theme="light"] .celestial-label-dark {
  opacity: 0;
  color: var(--text-primary);
  transform: translateY(6px);
}

/* Dark modda: "Gece" görünür, "Gündüz" gizli */
[data-theme="dark"] .celestial-label-dark {
  opacity: 1;
  color: var(--text-primary);
  transform: translateY(0);
}
[data-theme="dark"] .celestial-label-light {
  opacity: 0;
  color: var(--text-primary);
  transform: translateY(-6px);
}

/* ── Animasyonlar ── */
@keyframes celestial-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes celestial-twinkle {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50%      { opacity: 1;   transform: scale(1.2); }
}

/* ── Focus Ring ── */
.celestial-toggle:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

/* ── Mobil Responsive ── */
@media (max-width: 768px) {
  .celestial-toggle {
    height: 32px;
    padding: 0 10px 0 6px;
    gap: 6px;
    border-radius: 16px;
  }

  .celestial-icons {
    width: 16px;
    height: 16px;
  }

  .celestial-icon {
    width: 16px;
    height: 16px;
  }

  .celestial-label {
    font-size: 0.65rem;
  }

  .celestial-label-dark {
    right: 10px;
  }
}

/* CTA Buton (navbar) */
.btn-nav-cta {
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.02em;
  border: 1px solid var(--border-normal);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-nav-cta:hover {
  color: var(--text-primary);
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}

.nav-hamburger:hover { background: var(--bg-card); }

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 1px;
  transition: all 0.3s ease;
}

/* =========================================
   BUTONLAR — emrullahaltay.com tarzı
   Sharp corners · uppercase · minimal
   ========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.75rem;
  border-radius: 2px;                    /* Sharp — emrullahaltay gibi */
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s ease;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { opacity: 0.85; }

.btn-primary {
  background: var(--text-primary);       /* beyaz / açık gri */
  color: var(--bg-primary);              /* siyah metin */
  border: none;
}

[data-theme="light"] .btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.btn-primary:hover {
  opacity: 0.85;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-normal);
}

.btn-secondary:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-normal);
}

.btn-outline:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-normal);
}

.btn-ghost:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.btn-lg {
  padding: 0.875rem 2.2rem;
  font-size: 0.82rem;
}

.btn-sm {
  padding: 0.45rem 1.1rem;
  font-size: 0.72rem;
}

/* Pulse Ring Efekti */
.btn-pulse {
  position: relative;
}

.btn-pulse::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.2);
  animation: btnPulseRing 2.5s ease-out infinite;
  pointer-events: none;
}

/* =========================================
   SECTION HEADERS
   ========================================= */

.section-header {
  margin-bottom: 4rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--border-normal);
}

.section-label-num {
  color: var(--text-muted);
  margin-right: 0.25rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-title .gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
}

.section-desc {
  max-width: 560px;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* === Divider === */
.divider {
  width: 40px;
  height: 1px;
  background: var(--border-normal);
  border-radius: 1px;
  margin: 1.5rem 0;
}

/* =========================================
   HERO (#hero)
   ========================================= */

#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: visible;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 100px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: center;
  gap: 2rem;
  min-height: 100vh;
  overflow: visible;
}

.hero-text { max-width: 600px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  background: transparent;
  animation: fadeInDown 0.8s ease 0.2s both;
}

.hero-eyebrow .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: pulseSlow 3s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-title .line-1 {
  display: block;
  color: var(--text-accent);
}

.hero-title .line-2 {
  display: block;
  color: var(--text-secondary);
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  animation: fadeInUp 0.8s ease 0.8s both;
}

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

.stat-number {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-accent);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Hero 3D Canvas Container */
.hero-3d {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 700px;
  overflow: visible;
  animation: fadeIn 1.2s ease 0.4s both;
}

#hero-three-canvas {
  width: 100%;
  height: 700px;
  border-radius: 0;
  overflow: visible;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  animation: fadeIn 1s ease 1.2s both;
}

.scroll-indicator span {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid var(--border-normal);
  border-radius: 11px;
  position: relative;
}

.scroll-mouse::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 7px;
  background: var(--text-muted);
  border-radius: 1.5px;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: arrowBounce 1.5s ease-in-out infinite;
}

/* =========================================
   SCROLL PROGRESS + DRONE
   ========================================= */

#scroll-progress-container {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.scroll-track {
  width: 2px;
  height: 200px;
  background: var(--border-subtle);
  border-radius: 1px;
  position: relative;
  overflow: visible;
}

.scroll-fill {
  width: 100%;
  background: var(--text-muted);
  border-radius: 1px;
  transition: height 0.1s linear;
  position: absolute;
  top: 0;
}

#scroll-drone {
  width: 28px;
  height: 28px;
  position: absolute;
  right: -13px;
  transition: top 0.15s linear;
  animation: droneHover 3s ease-in-out infinite;
}

/* =========================================
   BÖLÜM 1 — DİJİTAL EVREN (WEB)
   ========================================= */

#universe {
  position: relative;
  padding: 60px 0 40px;
  scroll-margin-top: 80px;
  background: var(--bg-primary);
  overflow: hidden;
}

#universe-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

.universe-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.universe-text { order: -1; }

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tech-tag {
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  background: transparent;
  transition: all 0.2s ease;
  cursor: default;
}

.tech-tag:hover {
  border-color: var(--border-normal);
  color: var(--text-secondary);
}

.universe-3d {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#universe-three-canvas {
  width: 100%;
  height: 480px;
  cursor: grab;
}

#universe-three-canvas:active { cursor: grabbing; }

/* =========================================
   BÖLÜM 2 — İNTERAKTİF YARATICI ALAN
   ========================================= */

#playground {
  position: relative;
  padding: 40px 0;
  scroll-margin-top: 80px;
  background: var(--bg-secondary);
  overflow: hidden;
}

.playground-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.playground-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

/* ── Layout: Sol oyunlar + Orta canvas + Sağ deneyler ── */
.playground-layout {
  display: grid;
  grid-template-columns: 240px 1fr 240px;
  gap: 1.5rem;
  align-items: start;
}

/* ── Canvas Paneli ── */
.playground-panel {
  min-width: 0;
}

.playground-canvas-wrap {
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  overflow: hidden;
}

/* Sadece 'wave' (girişim) deneyi etkinken canvas zeminini aydınlık modda da siyah yapar */
[data-theme="light"] .playground-canvas-wrap.force-dark #playground-canvas {
  background: #000000;
}

.playground-canvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-tertiary);
}

.playground-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.playground-tech {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

#playground-canvas {
  display: block;
  width: 100%;
  height: 450px;
  cursor: crosshair;
  background: var(--bg-primary);
  touch-action: none;
}

/* Oyunlar açıkken sığması için yüksekliği düşür */
.playground-canvas-wrap.game-active #playground-canvas {
  height: 400px;
}

.playground-canvas-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.playground-canvas-footer p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.playground-hint {
  margin-top: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* ── Sidebar: Deney Listesi ── */
.playground-sidebar {
  position: sticky;
  top: 100px;
}

.playground-sidebar-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  padding-left: 0.25rem;
}

.experiment-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.experiment-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.65rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.experiment-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: var(--text-accent);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  border-radius: 0 3px 3px 0;
}

.experiment-btn:hover {
  border-color: var(--border-normal);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.experiment-btn:hover::before {
  transform: scaleY(0.5);
}

.experiment-btn.active {
  border-color: var(--border-accent);
  background: var(--bg-tertiary);
}

.experiment-btn.active::before {
  transform: scaleY(1);
}

.exp-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  filter: grayscale(0.6);
  opacity: 0.8;
}

.experiment-btn.active .exp-icon {
  filter: grayscale(0);
  opacity: 1;
}

.exp-info {
  flex: 1;
  min-width: 0;
}

.exp-name {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-accent);
  margin-bottom: 0.2rem;
}

.exp-code {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exp-arrow {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.experiment-btn:hover .exp-arrow {
  transform: translateX(3px);
  color: var(--text-secondary);
}

.experiment-btn.active .exp-arrow {
  color: var(--text-accent);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .playground-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .playground-panel {
    order: 1;
    width: 100%;
  }
  .playground-games-sidebar {
    order: 3;
    width: 100%;
  }
  .playground-experiments-sidebar {
    order: 2;
    width: 100%;
  }
  .playground-sidebar {
    position: static;
  }
  .experiment-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  #playground-canvas {
    height: 420px;
  }
  .playground-canvas-wrap.game-active #playground-canvas {
    height: 380px;
  }
}

@media (max-width: 600px) {
  .experiment-list {
    grid-template-columns: 1fr;
  }
  #playground-canvas {
    height: 320px;
  }
  .playground-canvas-wrap.game-active #playground-canvas {
    height: 300px;
  }
  .playground-canvas-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
}



/* =========================================
   BÖLÜM 3 — LABORATUVAR (SİBER GÜVENLİK + PORTFÖY)
   ========================================= */

#lab {
  position: relative;
  padding: 40px 0 40px;
  scroll-margin-top: 80px;
  background: var(--bg-primary);
  overflow: hidden;
}

/* Hizmetlerimiz — Services Showcase */
.services-showcase {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  margin-bottom: 4rem;
}

.services-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* 3 Sütunlu Orbit Düzeni: Sol kartlar | Kum Saati | Sağ kartlar */
.services-orbit-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Kart Kolonu */
.services-orbit-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Hizmet Kartı — kompakt */
.service-orbit-card {
  position: relative;
  padding: 1.4rem 1.6rem;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  cursor: pointer;
}

.service-orbit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--text-muted), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-orbit-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.service-orbit-card:hover::before {
  opacity: 1;
}

/* İkon — satır içi, küçük */
.service-orbit-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent-cyan-dim);
  border: 1px solid var(--border-subtle);
  margin-bottom: 0.85rem;
  font-size: 1.2rem;
  transition: all 0.4s ease;
}

.service-orbit-card:hover .service-orbit-icon {
  border-color: var(--border-accent);
  transform: scale(1.08);
}

.service-orbit-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-accent);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.service-orbit-card p {
  font-size: 0.80rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Merkez Kum Saati */
.services-hourglass-center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 360px;
  height: 360px;
}

#security-three-canvas {
  width: 100%;
  height: 360px;
  position: relative;
  z-index: 1;
  cursor: grab;
  touch-action: none;
}
#security-three-canvas:active {
  cursor: grabbing;
}

/* Kum saati altı etiket */
.hourglass-label {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hourglass-label-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-accent);
  animation: labelDotPulse 2s ease-in-out infinite;
}

@keyframes labelDotPulse {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 1; }
}

/* Portföy — Sakız Makinesi */
.lab-portfolio {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
}

.lab-portfolio-header {
  text-align: center;
  margin-bottom: 2rem;
}

.gumball-desc {
  opacity: 0.7;
}

/* Gumball Layout — 2 Sütunlu */
.gumball-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* Sol: Makine Alanı */
.gumball-machine-area {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

/* Filtreler */
.gumball-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
}

.gumball-filter {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  border: 1px solid var(--border-normal);
  color: var(--text-secondary);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.25s ease;
}

.gumball-filter:hover {
  border-color: var(--border-accent);
  color: var(--text-primary);
}

.gumball-filter.active {
  border-color: var(--border-accent);
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

.gumball-filter-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.gumball-filter.active .gumball-filter-dot {
  transform: scale(1.3);
}

/* Canvas Wrapper */
.gumball-machine-wrap {
  width: 100%;
  max-width: 360px;
  position: relative;
}

#gumball-canvas {
  display: block;
  width: 100%;
  cursor: default;
}

/* Kontroller */
.gumball-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 360px;
}

.gumball-lever-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.65rem 1.2rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  border: 1px solid var(--border-accent);
  color: var(--bg-primary);
  background: var(--gradient-btn-primary);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.gumball-lever-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gumball-lever-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255,255,255,0.08);
}

.gumball-lever-btn:hover::after {
  opacity: 1;
}

.gumball-lever-btn:active {
  transform: translateY(0) scale(0.98);
}

.gumball-lever-btn.no-balls {
  animation: noballsShake 0.5s ease;
  border-color: #ff4444;
}

@keyframes noballsShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

/* Aksiyon Butonları (Refresh + Mute) */
.gumball-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-normal);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.gumball-action-btn:hover {
  border-color: var(--border-accent);
  color: var(--text-primary);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}

.gumball-action-btn:active {
  transform: translateY(0) scale(0.95);
}

.gumball-action-btn.refreshing {
  animation: refreshSpin 0.8s ease-in-out;
  pointer-events: none;
}

@keyframes refreshSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Filtre Bilgisi */
.gumball-filter-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.gumball-filter-info strong {
  color: var(--text-accent);
}

/* ── Sağ: Sonuçlar ── */
.gumball-results {
  min-height: 300px;
}

.gumball-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.gumball-results-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

.gumball-results-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-accent);
  animation: labelDotPulse 2s ease-in-out infinite;
}

/* Kart Grid Container */
.gumball-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

/* Custom scrollbar for cards grid */
.gumball-cards-grid::-webkit-scrollbar {
  width: 4px;
}
.gumball-cards-grid::-webkit-scrollbar-track {
  background: transparent;
}
.gumball-cards-grid::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 10px;
}
.gumball-cards-grid::-webkit-scrollbar-thumb:hover {
  background: var(--border-normal);
}

/* Boş Durum */
.gumball-empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  border-radius: 16px;
  border: 1px dashed var(--border-normal);
  background: var(--bg-card);
  text-align: center;
}

.gumball-empty-emoji {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  animation: emptyBounce 2s ease-in-out infinite;
}

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

.gumball-empty-state p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.gumball-empty-hint {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.gumball-card {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}

[data-theme="dark"] .gumball-card {
  --text-secondary: #a0a0a5;
  --text-muted: #787880;
  --bg-tertiary: #141418;
  --border-subtle: #202025;
}


.gumball-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--text-accent), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gumball-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.03);
}

.gumball-card:hover::before {
  opacity: 1;
}

/* Kart Üst — Emoji + Kategori Band */
.gumball-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem 0.65rem;
}

.gumball-card-emoji-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.gumball-card:hover .gumball-card-emoji-wrap {
  transform: scale(1.08);
  border-color: var(--border-accent);
}

.gumball-card-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid;
  transition: all 0.3s ease;
}

.gumball-card-cat-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Kart Body */
.gumball-card-content {
  padding: 0 1.15rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gumball-card-content h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-accent);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.gumball-card-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0.75rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tags */
.gumball-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.65rem;
}

.gumball-tag {
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
  font-size: 0.62rem;
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg-tertiary);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.gumball-card:hover .gumball-tag {
  border-color: var(--border-normal);
}

/* Stats Footer */
.gumball-card-stats {
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  margin-top: auto;
}

.gumball-card-stats span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Placeholder Kartı (keşfedilmemiş) */
.gumball-card.placeholder {
  border-style: dashed;
  opacity: 0.5;
}

.gumball-card.placeholder:hover {
  opacity: 0.8;
  border-style: solid;
}

.placeholder-emoji {
  opacity: 0.35;
}

.placeholder-title {
  color: var(--text-muted) !important;
  letter-spacing: 0.1em;
}

/* Tüm Projeleri Göster Butonu */
.gumball-show-all-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  border: 1px solid var(--border-normal);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.gumball-show-all-btn:hover {
  border-color: var(--border-accent);
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

.gumball-show-all-btn svg {
  transition: transform 0.3s ease;
}

.gumball-show-all-btn.active svg {
  transform: rotate(180deg);
}

/* ── Responsive ── */
@media (max-width: 1000px) {
  .gumball-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gumball-machine-area {
    position: static;
    max-width: 360px;
    margin: 0 auto;
  }

  .gumball-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@media (max-width: 480px) {
  .gumball-machine-area {
    max-width: 320px;
  }

  .gumball-filters {
    gap: 0.35rem;
  }

  .gumball-filter {
    font-size: 0.72rem;
    padding: 0.3rem 0.65rem;
  }

  .gumball-cards-grid {
    grid-template-columns: 1fr;
  }

  .gumball-card-content h4 {
    font-size: 0.85rem;
  }
}

.service-orbit-tap {
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  color: var(--text-accent);
  pointer-events: none; /* Let clicks pass directly through to the card container */
}

.service-orbit-card:hover .service-orbit-tap {
  border-color: var(--border-accent);
  background: var(--accent-cyan-dim);
  color: var(--accent-cyan);
  transform: scale(1.1);
}

.tap-icon {
  width: 16px;
  height: 16px;
  transform-origin: 4px 4px;
  animation: cursorClick 1.8s ease-in-out infinite;
}

.tap-ripple-1,
.tap-ripple-2 {
  transform-origin: 4px 4px;
}

.tap-ripple-1 {
  animation: ripplePulse1 1.8s ease-in-out infinite;
}

.tap-ripple-2 {
  animation: ripplePulse2 1.8s ease-in-out infinite;
}

@keyframes cursorClick {
  0%, 100% {
    transform: scale(1) translate(0, 0);
  }
  30% {
    transform: scale(1) translate(0, 0);
  }
  35% {
    transform: scale(0.8) translate(0.5px, 0.5px);
  }
  42% {
    transform: scale(1) translate(0, 0);
  }
}

@keyframes ripplePulse1 {
  0%, 35% {
    r: 0px;
    opacity: 0;
  }
  42% {
    r: 3px;
    opacity: 1;
  }
  100% {
    r: 10px;
    opacity: 0;
  }
}

@keyframes ripplePulse2 {
  0%, 40% {
    r: 0px;
    opacity: 0;
  }
  47% {
    r: 2px;
    opacity: 0.8;
  }
  100% {
    r: 8px;
    opacity: 0;
  }
}

/* Service Modal */
#service-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: var(--bg-overlay);
  backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#service-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.service-modal {
  max-width: 960px;
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--border-normal);
  background: var(--bg-glass);
  backdrop-filter: blur(30px);
  overflow: hidden;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

#service-modal-overlay.open .service-modal {
  transform: scale(1) translateY(0);
}

.service-modal-icon-badge {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--accent-cyan-dim);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.service-modal-subtitle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.service-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-detail-section {
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: all 0.3s ease;
}

.service-detail-section:hover {
  border-color: var(--border-normal);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.sec-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}

.sec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

.sec-header h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: 'JetBrains Mono', monospace;
}

.sec-content {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

/* Project Modal */
#project-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--bg-overlay);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#project-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.project-modal {
  max-width: 700px;
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--border-normal);
  background: var(--bg-secondary);
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  max-height: 80vh;
  overflow-y: auto;
}

#project-modal-overlay.open .project-modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.modal-close:hover {
  border-color: var(--border-normal);
  color: var(--text-primary);
}

.modal-body { padding: 2rem; }

/* =========================================
   BÖLÜM 4 — TEKLİF İSTE
   ========================================= */

#quote {
  position: relative;
  padding: 40px 0 40px;
  scroll-margin-top: 80px;
  background: var(--bg-secondary);
  overflow: hidden;
}

#quote-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

.quote-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.quote-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

#quote-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

/* Wizard Formu */
.quote-wizard {
  border-radius: 24px;
  border: 1px solid var(--border-normal);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.wizard-progress {
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0;
}

.wizard-step-indicator {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 0;
}

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border-normal);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-dot.active {
  border-color: var(--accent-cyan);
  background: var(--accent-cyan);
  color: #0a0a0f;
}

.step-dot.done {
  border-color: var(--accent-cyan);
  background: var(--accent-cyan-dim);
  color: var(--accent-cyan);
}

.step-line {
  flex: 1;
  height: 2px;
  background: var(--border-subtle);
  transition: background 0.3s ease;
}

.step-line.done { background: var(--accent-cyan); }

.wizard-body {
  padding: 1.25rem 1.5rem;
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
  animation: fadeInUp 0.4s ease;
}

.wizard-step-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-accent);
  margin-bottom: 0.5rem;
}

.wizard-step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Proje Tipi Seçimi */
.project-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.project-type-card {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 2px solid var(--border-subtle);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
}

.project-type-card:hover {
  border-color: var(--border-accent);
  background: var(--accent-cyan-dim);
}

.project-type-card.selected {
  border-color: var(--accent-cyan);
  background: var(--accent-cyan-dim);
}

.project-type-card .card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

.project-type-card h4 {
  font-size: 0.9rem;
  color: var(--text-accent);
  margin-bottom: 0.25rem;
}

.project-type-card p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Form Elemanları */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.03em;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-normal);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  outline: none;
  resize: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent-cyan);
  background: var(--bg-card-hover);
  box-shadow: 0 0 0 3px var(--accent-cyan-dim);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

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

/* Bütçe Seçenekleri */
.budget-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.budget-option {
  padding: 0.875rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-normal);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.budget-option:hover,
.budget-option.selected {
  border-color: var(--border-accent);
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

.wizard-footer {
  padding: 0.75rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wizard-nav {
  display: flex;
  gap: 0.75rem;
}

/* Honeypot */
.honeypot { display: none !important; visibility: hidden; }

/* =========================================
   BÖLÜM 5 — TERMİNAL / İLETİŞİM
   ========================================= */

#contact {
  position: relative;
  padding: 60px 0 40px;
  scroll-margin-top: 80px;
  background: var(--bg-primary);
  overflow: hidden;
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* Terminal */
.terminal-wrapper {
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background: var(--terminal-bg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  font-family: 'JetBrains Mono', monospace;
}

.terminal-header {
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--terminal-border);
  background: rgba(0, 0, 0, 0.2);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-dot--red    { background: #ff5f57; }
.terminal-dot--yellow { background: #febc2e; }
.terminal-dot--green  { background: #28c840; }

.terminal-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.terminal-body {
  padding: 1.5rem;
}

.terminal-line {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}

.terminal-prompt {
  color: var(--terminal-prompt);
  flex-shrink: 0;
  user-select: none;
}

.terminal-label {
  color: var(--text-muted);
  flex-shrink: 0;
  width: 90px;
}

.terminal-input {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--terminal-text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  outline: none;
  padding: 0 0 0.25rem;
  width: 100%;
  transition: border-color 0.2s;
}

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

.terminal-input::placeholder { color: var(--text-muted); }

.terminal-textarea {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--terminal-text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  outline: none;
  padding: 0.75rem;
  width: 100%;
  min-height: 100px;
  resize: vertical;
  transition: border-color 0.2s;
}

.terminal-textarea:focus {
  border-color: var(--border-normal);
}

.terminal-textarea::placeholder { color: var(--text-muted); }

.terminal-submit-line {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.terminal-cmd {
  font-size: 0.85rem;
  color: var(--terminal-prompt);
  margin-bottom: 0.75rem;
}

.terminal-cmd .cmd-comment {
  color: var(--text-muted);
}

.terminal-btn {
  width: 100%;
  padding: 0.875rem;
  border-radius: 10px;
  border: 1px solid var(--border-normal);
  background: transparent;
  color: var(--text-secondary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.05em;
}

.terminal-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--border-accent);
}

.terminal-success {
  display: none;
  padding: 1rem;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* Contact Info */
.contact-info { }

.contact-info-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .contact-spacer {
    display: block;
    height: 7.5rem;
  }
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: all 0.25s ease;
}

.contact-info-item:hover {
  border-color: var(--border-normal);
  background: var(--bg-card-hover);
}

.contact-info-icon {
  font-size: 1.2rem;
  width: 36px;
  text-align: center;
  flex-shrink: 0;
}

.contact-info-text {
  display: flex;
  flex-direction: column;
}

.contact-info-text span:first-child {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: 'JetBrains Mono', monospace;
}

.contact-info-text a,
.contact-info-text span:last-child {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.2s;
}

.contact-info-text a:hover { color: var(--accent-cyan); }

/* Sosyal Medya */
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-normal);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
}

.social-link:hover {
  border-color: var(--border-normal);
  color: var(--text-primary);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

/* Vizyon ve Instagram Ortak Bölümü */
#bottom-combined {
  padding: 100px 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: center;
  align-items: center;
}

.bottom-combined-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.bottom-vision-side {
  text-align: left;
}

.bottom-vision-side .section-subtitle-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.bottom-vision-side .section-title-large {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
}

.bottom-vision-side .line-accent {
  width: 32px;
  height: 2px;
  background: var(--border-accent);
  margin: 1.5rem 0;
}

.bottom-vision-side .section-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 2.5rem;
}

.bottom-instagram-side {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.bottom-instagram-side .instagram-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
}

.instagram-item {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-tertiary);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.instagram-item:hover {
  transform: scale(1.04);
  border-color: var(--border-normal);
}

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

.instagram-placeholder {
  font-size: 1.5rem;
  opacity: 0.4;
}

.instagram-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
  font-size: 0.8rem;
  color: white;
  gap: 0.5rem;
}

.instagram-item:hover .instagram-overlay { opacity: 1; }


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

footer {
  position: relative;
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-accent);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-primary); }

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-copy span {
  color: var(--accent-cyan);
}

/* =========================================
   MOBİL MENÜ
   ========================================= */

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  background: var(--nav-bg);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.nav-mobile-menu.open { display: flex; }

.nav-mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.nav-mobile-links a {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.nav-mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-normal);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all 0.2s;
}

.nav-mobile-close:hover {
  color: var(--text-primary);
  border-color: var(--border-normal);
}

/* =========================================
   GENEL YARDIMCI SINIFLAR
   ========================================= */

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

.text-accent    { color: var(--text-accent); }
.text-purple    { color: var(--text-secondary); }
.text-muted     { color: var(--text-muted); }
.text-gradient  {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* === Reveal Animations (JS ile tetiklenir) === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Gecikme utility */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }
.delay-6 { transition-delay: 0.6s !important; }

/* =========================================
   RESPONSİVE
   ========================================= */

/* ── Tablet (max-width: 1024px) ── */
@media (max-width: 1024px) {
  /* Layout */
  .container, .container--wide { padding: 0 1.5rem; }
  .section { padding: 80px 0; }

  /* Navbar — tablet'te hamburger göster */
  .nav-links { display: none; }
  .btn-nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  /* Hero */
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: auto;
    gap: 2rem;
  }
  .hero-text { max-width: 100%; }
  .hero-3d { min-height: 400px; order: -1; overflow: visible; }
  #hero-three-canvas { height: 400px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; flex-wrap: wrap; gap: 1.5rem; }
  .hero-subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }
  .section-desc { max-width: 100%; }

  /* Universe (Web) — 2 sütun → 1 sütun */
  .universe-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .universe-text { order: 1; text-align: center; }
  .universe-3d { order: -1; min-height: 350px; }
  #universe-three-canvas { height: 350px; }

  /* Services Orbit — 3 sütun → 1 sütun */
  .services-orbit-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .services-hourglass-center {
    width: 100%;
    max-width: 300px;
    height: 280px;
    margin: 0 auto;
    order: -1;
  }
  #security-three-canvas { height: 280px; }
  .services-hourglass-center .hourglass-label {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 0.75rem;
    justify-content: center;
  }

  /* Portfolio / Gumball */
  .portfolio-layout { grid-template-columns: 1fr; }
  .rubik-container { position: static; margin-bottom: 2rem; }
  #rubik-canvas { height: 320px; }

  /* Contact — 2 sütun → 1 sütun */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-spacer { display: none !important; }

  /* Vision + Instagram — 2 sütun → 1 sütun */
  .bottom-combined-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .bottom-vision-side {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .bottom-vision-side .line-accent { margin: 1.5rem auto; }
  .bottom-vision-side .section-desc { margin: 0 auto 2rem; }
  .bottom-instagram-side .instagram-label { justify-content: center; }

  /* Grids */
  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
  .grid-3 { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  /* Scroll progress — tablet'te gizle */
  #scroll-progress-container { display: none; }

  /* Modals */
  .service-modal { max-width: 95vw; border-radius: 16px; }
  .service-details-grid { grid-template-columns: 1fr; gap: 1rem; }
  .project-modal { max-width: 95vw; border-radius: 16px; }
  .modal-header { padding: 1.5rem; }
  .modal-body { padding: 1.5rem; }

  /* Quote */
  .quote-content { max-width: 100%; }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .footer-links { justify-content: center; flex-wrap: wrap; }
}

/* ── Mobil (max-width: 768px) ── */
@media (max-width: 768px) {
  /* Tipografi */
  h1 { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  h2 { font-size: clamp(1.6rem, 6vw, 2.5rem); }
  h3 { font-size: clamp(1.1rem, 4vw, 1.5rem); }

  .section { padding: 60px 0; }

  /* Hero ince ayar */
  .hero-content {
    padding-top: 100px;
    padding-bottom: 60px;
    gap: 2rem;
  }
  .hero-3d { min-height: 320px; }
  #hero-three-canvas { height: 320px; }
  .hero-title .line-1,
  .hero-title .line-2 { font-size: clamp(2.2rem, 9vw, 3.5rem); }
  .hero-stats { gap: 1.25rem; }
  .stat-number { font-size: 1.6rem; }

  /* Universe */
  .universe-3d { min-height: 300px; }
  #universe-three-canvas { height: 300px; }

  /* Services */
  .services-hourglass-center { max-width: 260px; height: 240px; }
  #security-three-canvas { height: 240px; }
  .service-orbit-card { padding: 1.2rem 1.3rem; }

  /* Portfolio */
  .gumball-cards-grid {
    grid-template-columns: 1fr 1fr;
    max-height: 500px;
  }

  /* Quote — wizard */
  .project-type-grid { grid-template-columns: 1fr; }
  .budget-options { grid-template-columns: 1fr 1fr; }
  .wizard-card { border-radius: 14px; }

  /* Contact */
  .terminal-wrapper { border-radius: 14px; }
  .contact-info-item { padding: 0.85rem 1rem; border-radius: 12px; }

  /* Modals — neredeyse tam ekran */
  #service-modal-overlay { padding: 1rem; }
  .service-modal {
    max-width: 100%;
    max-height: 95vh;
    border-radius: 14px;
  }
  #project-modal-overlay { padding: 1rem; }
  .project-modal {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 14px;
  }
  .modal-header { padding: 1.25rem; }
  .modal-body { padding: 1.25rem; }

  /* Footer */
  .footer-links { gap: 1rem; }

  /* Vision + Instagram */
  #bottom-combined { padding: 60px 0; }
  .instagram-grid { gap: 0.6rem; }

  /* Scroll Animation Section Statically on Mobile */
  .scroll-anim-section {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    padding: 60px 0 !important;
  }
  .scroll-anim-container {
    position: relative !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    display: block !important;
  }
  #scroll-anim-canvas,
  #scroll-anim-particles,
  .scroll-anim-top-gradient,
  .scroll-anim-ambient,
  .scroll-anim-label,
  .scroll-anim-progress {
    display: none !important;
  }
  .scroll-outro-content {
    position: relative !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    padding: 0 !important;
    height: auto !important;
    display: block !important;
  }
}

/* ── Küçük Mobil (max-width: 480px) ── */
@media (max-width: 480px) {
  /* Padding */
  .container, .container--wide { padding: 0 1rem; }
  .nav-inner { padding: 0 1rem; }

  /* Hero */
  .hero-content { padding-top: 90px; padding-bottom: 40px; }
  .hero-3d { min-height: 260px; }
  #hero-three-canvas { height: 260px; }
  .hero-eyebrow { font-size: 0.65rem; padding: 0.3rem 0.75rem; }
  .hero-stats { gap: 1rem; }
  .stat-number { font-size: 1.4rem; }
  .stat-label { font-size: 0.68rem; }
  .hero-actions { gap: 0.75rem; }
  .btn { font-size: 0.72rem; padding: 0.6rem 1.25rem; }
  .btn-lg { padding: 0.75rem 1.5rem; font-size: 0.78rem; }

  /* Universe */
  .universe-3d { min-height: 250px; }
  #universe-three-canvas { height: 250px; }
  #universe { padding: 40px 0 30px; }

  /* Services */
  .services-hourglass-center { max-width: 220px; height: 200px; }
  #security-three-canvas { height: 200px; }
  .service-orbit-card { padding: 1rem 1.1rem; border-radius: 12px; }
  .service-orbit-icon { width: 34px; height: 34px; font-size: 1rem; }
  .service-orbit-card h4 { font-size: 0.88rem; }
  .service-orbit-card p { font-size: 0.75rem; }

  /* Portfolio */
  .gumball-machine-area { max-width: 300px; }
  .gumball-filters { gap: 0.3rem; }
  .gumball-filter { font-size: 0.7rem; padding: 0.25rem 0.6rem; }
  .gumball-cards-grid { grid-template-columns: 1fr; max-height: 450px; }
  .gumball-card-content h4 { font-size: 0.85rem; }

  /* Quote */
  .wizard-progress { padding: 0.6rem 1rem; }
  .wizard-body { padding: 1rem; }
  .wizard-footer { padding: 0.75rem 1rem; }
  .wizard-step-title { font-size: 1rem; }
  .wizard-step-desc { font-size: 0.78rem; }
  .project-type-card { padding: 0.85rem 1rem; border-radius: 10px; }
  .project-type-card .card-icon { font-size: 1.3rem; }

  /* Contact */
  .terminal-body { padding: 1rem; }
  .terminal-wrapper { border-radius: 12px; }
  .terminal-line { font-size: 0.8rem; }
  .terminal-label { width: 75px; font-size: 0.78rem; }
  .terminal-textarea { min-height: 80px; font-size: 0.78rem; }
  .terminal-btn { padding: 0.75rem; font-size: 0.8rem; }
  .contact-info-item { padding: 0.75rem 0.85rem; }
  .contact-info-icon { font-size: 1rem; width: 30px; }
  .contact-info-text a,
  .contact-info-text span:last-child { font-size: 0.82rem; }
  .social-link { width: 38px; height: 38px; border-radius: 10px; }

  /* Instagram */
  .instagram-grid { grid-template-columns: repeat(3, 1fr); gap: 0.35rem; }
  .instagram-item { border-radius: 8px; }

  /* Vision */
  #bottom-combined { padding: 40px 0; }
  .bottom-combined-inner { gap: 2.5rem; }

  /* Footer */
  .footer-links { gap: 0.75rem; flex-wrap: wrap; }
  .footer-links a { font-size: 0.75rem; }
  .footer-copy { font-size: 0.7rem; }

  /* Modals */
  .service-modal-icon-badge { width: 40px; height: 40px; font-size: 1.4rem; }
  .service-detail-section { padding: 1rem; border-radius: 12px; }
}

/* ── Erişilebilirlik: Azaltılmış Hareket ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-left, .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── Touch Cihazlar: Hover koruması ── */
@media (hover: none) {
  .service-orbit-card:hover { transform: none; }
  .gumball-card:hover { transform: none; box-shadow: none; }
  .social-link:hover { transform: none; }
  .instagram-item:hover { transform: none; }
  .experiment-btn:hover { transform: none; }
}

/* ── Mobilde reveal-left/right yönünü dikey yap ── */
@media (max-width: 768px) {
  .reveal-left {
    transform: translateY(20px);
  }
  .reveal-left.visible {
    transform: translateY(0);
  }
  .reveal-right {
    transform: translateY(20px);
  }
  .reveal-right.visible {
    transform: translateY(0);
  }
}

/* =========================================
   LOADING OVERLAY — 3D Gate Entrance
   ========================================= */

#loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: transparent;
  display: flex;
  overflow: hidden;
  perspective: 1500px;
}

#loading-overlay.hidden {
  display: none !important;
  pointer-events: none;
}

body.loading-active {
  overflow: hidden;
}

/* 3D Kapı Kanatları */
.lo-gate {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: var(--bg-primary);
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
  backface-visibility: hidden;
}

.lo-gate-left {
  left: 0;
  transform-origin: left center;
}

.lo-gate-right {
  right: 0;
  transform-origin: right center;
}

/* Kapıların 3D Açılma Hareketi */
#loading-overlay.reveal-active .lo-gate-left {
  transform: rotateY(-95deg);
}

#loading-overlay.reveal-active .lo-gate-right {
  transform: rotateY(95deg);
}

/* Ortadaki Dijital Geçiş Rozeti */
.lo-gate-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.lo-gate-badge.hidden-badge {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
}

.lo-badge-ring {
  position: relative;
  width: 90px;
  height: 90px;
  border: 2px dashed var(--text-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  animation: loSpin 12s linear infinite;
}

.lo-badge-circle {
  position: absolute;
  width: 70px;
  height: 70px;
  border: 1.5px solid var(--border-subtle);
  border-radius: 50%;
  animation: loPulse 2.5s ease-in-out infinite alternate;
}

.lo-badge-candy {
  font-size: 1.8rem;
  animation: loWiggle 3s ease-in-out infinite;
  display: inline-block;
  line-height: 1;
}

.lo-badge-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  text-shadow: 0 0 25px rgba(0, 212, 255, 0.1);
}

.lo-badge-subtitle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

/* Yükleme İlerleme Çubuğu */
.lo-progress-wrap {
  width: 160px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 1.2rem;
  position: relative;
  opacity: 0;
  transform: translateY(10px);
  animation: loFadeInUp 0.5s ease 0.2s forwards;
}

[data-theme="light"] .lo-progress-wrap {
  background: rgba(0, 0, 0, 0.06);
}

.lo-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient-text);
  border-radius: 10px;
  animation: loProgressFill 2s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}

@keyframes loProgressFill {
  to { width: 100%; }
}

/* Kaydırma İpucu */
.lo-badge-scroll {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(15px);
  animation: loFadeInUp 0.6s ease 0.4s forwards;
}

.lo-badge-scroll span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.lo-scroll-icon {
  width: 14px;
  height: 22px;
  border: 1.5px solid var(--text-secondary);
  border-radius: 10px;
  position: relative;
  display: flex;
  justify-content: center;
}

.lo-scroll-dot {
  width: 2px;
  height: 4px;
  background: var(--text-accent);
  border-radius: 1px;
  margin-top: 4px;
  animation: loScrollDot 1.6s ease-in-out infinite;
}

/* Animasyonlar */
@keyframes loSpin {
  100% { transform: rotate(360deg); }
}

@keyframes loPulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1.05); opacity: 1; }
}

@keyframes loWiggle {
  0%, 100% { transform: rotate(0) scale(1); }
  50% { transform: rotate(15deg) scale(1.1); }
}

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

@keyframes loScrollDot {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0; }
  51% { transform: translateY(-3px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* =========================================
   WACKY ROLLERCOASTER SLIDER & EASTER EGG
   ========================================= */

.wacky-slider-container {
  position: relative;
  height: 40px;
  width: 100%;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  border: 1px dashed var(--border-subtle);
  overflow: visible;
  display: flex;
  align-items: center;
  user-select: none;
}

[data-theme="dark"] .wacky-slider-container {
  background: rgba(255, 255, 255, 0.02);
}

.wacky-slider-track-svg {
  width: 100%;
  height: 100%;
  color: var(--text-accent);
  opacity: 0.75;
  pointer-events: none;
}

.wacky-slider-thumb {
  position: absolute;
  width: 32px;
  height: 32px;
  background: #ffeb3b;
  border: 2px solid var(--text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  cursor: grab;
  box-shadow: -3px 3px 0px var(--text-primary);
  z-index: 20;
  transition: transform 0.1s ease;
}

.wacky-slider-thumb:active {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.1);
  background: #ffc107;
}

.wacky-slider-emoji {
  font-size: 18px;
  line-height: 1;
}

/* Wacky Cartoon Speech Bubble */
.wacky-speech-bubble {
  position: absolute;
  bottom: 82px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 2px solid var(--border-accent);
  border-radius: 12px;
  padding: 10px 14px;
  color: var(--text-accent);
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  width: 250px;
  box-shadow: 4px 4px 0px var(--border-accent);
  z-index: 50;
  animation: wiggle-bubble 0.5s ease infinite alternate;
}

.wacky-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: var(--bg-card) transparent;
  display: block;
  width: 0;
}

.wacky-speech-bubble::before {
  content: '';
  position: absolute;
  bottom: -13px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 11px 11px 0;
  border-style: solid;
  border-color: var(--border-accent) transparent;
  display: block;
  width: 0;
  z-index: -1;
}

@keyframes wiggle-bubble {
  0% { transform: translateX(-50%) rotate(-1deg); }
  100% { transform: translateX(-50%) rotate(1deg); }
}

/* HTML Reverse Controls Warning Banner */
.reverse-warning-banner {
  width: 100%;
  padding: 8px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: bold;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  letter-spacing: 0.05em;
  z-index: 30;
}

.reverse-warning-banner.countdown {
  background: rgba(255, 152, 0, 0.15);
  color: #ff9800;
  border-bottom: 1px solid #ff9800;
}

.reverse-warning-banner.active {
  background: rgba(244, 67, 54, 0.2);
  color: #f44336;
  border-bottom: 1px solid #f44336;
  animation: neon-blink-red 0.4s infinite alternate;
}

@keyframes neon-blink-red {
  0% {
    background: rgba(244, 67, 54, 0.15);
    box-shadow: inset 0 0 10px rgba(244, 67, 54, 0.1);
  }
  100% {
    background: rgba(244, 67, 54, 0.35);
    box-shadow: inset 0 0 20px rgba(244, 67, 54, 0.3);
  }
}

/* Floating Emojis Outside Canvas */
.floating-emoji-html {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  font-size: 2.2rem;
  will-change: transform, opacity;
  animation: float-up-fade-html 2s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes float-up-fade-html {
  0% {
    transform: translateY(100vh) rotate(0deg) scale(0.5);
    opacity: 0;
  }
  10% {
    opacity: 1;
    transform: translateY(80vh) rotate(15deg) scale(1.1);
  }
  100% {
    transform: translateY(-20vh) rotate(360deg) scale(0.8);
    opacity: 0;
  }
}

/* =============================================
   SCROLL ANIMATION SECTION (3D CANVASES)
============================================= */
.scroll-anim-section {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #0a0a0a; /* Koyu tema rengi gibi hafif griye çalan siyah */
  overflow: visible;

  /* Bu bölümün her iki temada da her zaman koyu tema görünümünde kalması için değişkenler */
  --text-primary: #f0f0f0;
  --text-secondary: #aaaaaa;
  --text-muted: #777777;
  --text-accent: #ffffff;
  --border-subtle: #222222;
  --border-normal: #333333;
  --accent-cyan-dim: rgba(255, 255, 255, 0.08);
}

.scroll-anim-container {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Giriş gradyan geçişi — aydınlıktan siyaha geçişi yumuşatmak için */
.scroll-anim-top-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 25vh;
  background: linear-gradient(to bottom, var(--bg-primary) 0%, transparent 100%);
  z-index: 6;
  pointer-events: none;
  opacity: 1;
}

/* Parçacık arka plan canvas'ı — temada uyumlu */
#scroll-anim-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

#scroll-anim-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  background: transparent;
}

/* Ambient — çok hafif radial glow */
.scroll-anim-ambient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.scroll-anim-ambient::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse at center,
    var(--accent-cyan-dim) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  animation: scrollAmbientPulse 8s ease-in-out infinite;
}

@keyframes scrollAmbientPulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

/* Section etiketi */
.scroll-anim-label {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.scroll-anim-label::before,
.scroll-anim-label::after {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--border-normal);
}

.scroll-anim-container:hover .scroll-anim-label {
  opacity: 1;
}



/* Mini ilerleme çubuğu */
.scroll-anim-progress {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 100px;
  background: var(--border-subtle);
  border-radius: 1px;
  z-index: 10;
  overflow: hidden;
}

.scroll-anim-progress-fill {
  width: 100%;
  height: 0%;
  background: var(--text-secondary);
  border-radius: 1px;
  transition: height 0.15s linear;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .scroll-anim-progress {
    display: none;
  }

  .scroll-anim-label {
    font-size: 0.6rem;
    top: 1rem;
  }
}

.scroll-outro-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  padding-top: 80px;
  box-sizing: border-box;
}

/* Aydınlık moddayken outro içeriği normal aydınlık renklerini kullansın */
[data-theme="light"] .scroll-outro-content {
  --text-primary: #0a0a0a;
  --text-secondary: #555555;
  --text-muted: #999999;
  --text-accent: #000000;
  --border-subtle: #cccccc;
  --border-normal: #cccccc;
}

/* Koyu moddayken outro içeriği normal koyu renklerini kullansın */
[data-theme="dark"] .scroll-outro-content,
:root:not([data-theme="light"]) .scroll-outro-content {
  --text-primary: #f0f0f0;
  --text-secondary: #666666;
  --text-muted: #333333;
  --text-accent: #ffffff;
  --border-subtle: #1a1a1a;
  --border-normal: #1a1a1a;
}

.outro-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

.outro-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.outro-header .section-label-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}

.outro-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.outro-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: var(--shadow-card);
}

.outro-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .outro-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.outro-card-icon {
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--bg-secondary);
  transition: transform 0.3s ease;
}

.outro-card:hover .outro-card-icon {
  transform: scale(1.1) rotate(5deg);
}

.outro-card-info {
  flex: 1;
}

.outro-card-info h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.outro-card-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.outro-card-arrow {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform 0.3s ease, color 0.3s ease;
}

.outro-card:hover .outro-card-arrow {
  transform: translateX(5px);
  color: var(--text-primary);
}

/* responsive */
@media (max-width: 768px) {
  #outro {
    padding: 80px 0;
  }
  .outro-links-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .outro-card {
    padding: 1.5rem;
    gap: 1rem;
  }
  .outro-card-icon {
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
  }
  .outro-card-info h4 {
    font-size: 1.05rem;
  }
  .outro-card-info p {
    font-size: 0.8rem;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 54px;
  height: 54px;
  bottom: 2rem;
  right: 2rem;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: inherit;
  opacity: 0.5;
  z-index: -1;
  animation: waPulse 2s cubic-bezier(0.25, 0, 0, 1) infinite;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Adjust back to top position to prevent overlapping with WhatsApp and Instagram */
#back-to-top {
  bottom: 11rem !important;
}

/* Floating Instagram Button */
.instagram-float {
  position: fixed;
  width: 54px;
  height: 54px;
  bottom: 6.5rem;
  right: 2rem;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.instagram-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 20px rgba(214, 36, 159, 0.4);
}

.instagram-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.instagram-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  opacity: 0.5;
  z-index: -1;
  animation: waPulse 2s cubic-bezier(0.25, 0, 0, 1) infinite;
  animation-delay: 0.5s;
}


