/* WebGL arka planı için hero ve ana içeriklerin üstte kalmasını sağla */
.hero, .nav, .hero-title, .hero-sub, .hero-actions, .scroll-ind, .marquee-sec, .footer {
  position: relative;
  z-index: 2;
}

#webgl-bg {
  z-index: 0 !important;
}
/* ── BASE ──────────────────────────────────────── */
body {
  font-family: 'Bricolage Grotesque', sans-serif;
  background: var(--ink);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
  line-height: 1.5;
}

/* Grid background overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

/* Scrollbar */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--violet); border-radius: 2px; }

/* ── SHARED SECTION ELEMENTS ───────────────────── */
.sec-header {
  text-align: center;
  margin-bottom: 70px;
}

.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Geist Mono', monospace;
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--violet2);
  margin-bottom: 16px;
}
.sec-eyebrow.center { display: flex; justify-content: center; }
.sec-eyebrow span {
  width: 20px;
  height: 1px;
  background: var(--violet);
  opacity: .7;
  display: inline-block;
}

.sec-title {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.05;
}
.sec-title.center { text-align: center; }

.sec-desc {
  margin: auto;
  margin-top: 25px;
  margin-bottom: 10px;
  max-width: 480px;
  color: var(--muted2);
  font-size: .95rem;
  line-height: 1.7;
  font-weight: 300;
}
.sec-desc.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ── SHARED BUTTONS ────────────────────────────── */
.btn-mag {
  position: relative;
  padding: 13px 28px;
  border-radius: var(--r-md);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  letter-spacing: .01em;
  transition: all var(--t-med) var(--ease-out);
  cursor: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  border: none;
}

.btn-mag::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, .15),
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--t-med);
}
.btn-mag:hover::before { opacity: 1; }

.btn-a {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(124, 92, 252, .5), 0 8px 32px rgba(124, 92, 252, .4);
}
.btn-a:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(124, 92, 252, .8), 0 16px 48px rgba(124, 92, 252, .5);
}

.btn-b {
  background: var(--glass2);
  color: var(--text);
  border: 1px solid var(--border2) !important;
  backdrop-filter: blur(10px);
}
.btn-b:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .2) !important;
  transform: translateY(-2px);
}

/* ── GRADIENT TEXT ──────────────────────────────── */
.grad-text {
  background: linear-gradient(135deg, var(--violet2) 0%, var(--blue) 40%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200%;
  animation: gradShift 5s ease infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0%; }
  50%       { background-position: 100%; }
}
