/* ============================================================================
   Sticker TR — tek sayfa tasarım
   Düzeltmeli sürüm, 14 Ekim 2026

   Eski sürüme göre düzeltilenler:
     * .hero__bg içindeki bozuk "background" bildirimi (tarayıcı tamamını atıyordu;
       hero'nun gradyan zemini ve z-index'i hiç uygulanmıyordu)
     * prefers-reduced-motion desteği yoktu
     * background-clip:text desteklenmeyince gradyanlı yazılar GÖRÜNMEZ oluyordu
     * sabit başlık, çapa bağlantısıyla gidilen bölüm başlığını örtüyordu
     * dokunma hedefleri 44 px'in altındaydı
     * :active ve :disabled durumları tanımlı değildi
     * hover efektleri dokunmatik cihazlarda takılı kalıyordu
   ========================================================================== */

:root {
  --bg: #0b1220;
  --bg-elevated: #111827;
  --bg-card: #1a2332;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.15);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --primary: #22d3ee;
  --primary-dark: #06b6d4;
  --accent: #a78bfa;
  --gradient: linear-gradient(135deg, #22d3ee 0%, #a78bfa 50%, #f472b6 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  --header-h: 72px;
  --tap: 44px;                 /* en küçük dokunma hedefi */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  /* Sabit başlık, çapa ile gidilen bölümün başlığını örtüyordu */
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

img {
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Gradyanlı yazı — background-clip:text desteklenmiyorsa metin GÖRÜNMEZ oluyordu.
   Artık önce düz renk atanır, yalnızca destek varsa saydama çevrilir. */
.gradient-text,
.logo__text strong,
.stat-card__number {
  color: var(--primary);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .gradient-text,
  .logo__text strong,
  .stat-card__number {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--primary);
  color: #000;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 9999;
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
  color: #000;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Başlık ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(11, 18, 32, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--tap);
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
}

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

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0 14px;
  border-radius: 10px;
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav__link[aria-current='true'] {
  color: var(--text);
}

.nav__link--cta {
  background: var(--gradient);
  color: #0b1220;
  font-weight: 600;
  margin-left: 8px;
  padding: 0 18px;
}

.nav__link--cta:hover {
  filter: brightness(1.08);
  color: #0b1220;
}

.nav__link--cta:active {
  filter: brightness(0.95);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: var(--tap);
  height: var(--tap);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 10px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
}

/* DÜZELTİLDİ: eski dosyada bu bildirimin sonunda fazladan virgül vardı, ardından
   gelen "z-index: 0" kısayolun içine düşüyordu. Tarayıcı bildirimin TAMAMINI
   geçersiz sayıp atıyordu — hero'nun zemini ve z-index'i hiç uygulanmıyordu. */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    160deg,
    rgba(11, 18, 32, 0.92) 0%,
    rgba(17, 24, 39, 0.88) 50%,
    rgba(11, 18, 32, 0.95) 100%
  );
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(34, 211, 238, 0.12), transparent 60%);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-block;
  background: rgba(34, 211, 238, 0.15);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: var(--tap);
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  border: none;
  cursor: pointer;
}

.btn__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.btn span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
  text-align: left;
}

.btn span small {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.85;
}

.btn span strong {
  font-size: 1rem;
}

.btn--primary {
  background: #fff;
  color: #0b1220;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.btn--primary:hover {
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.25);
  color: #0b1220;
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text);
}

/* Basılı durum — eski dosyada tanımsızdı */
.btn:active {
  transform: translateY(0);
  filter: brightness(0.96);
}

/* ---------- Bölümler ---------- */
.section {
  padding: 100px 0;
}

.section--dark {
  background: var(--bg-elevated);
}

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section__lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Özellik kartları ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 64px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

/* DÜZELTİLDİ: hover efekti dokunmatik ekranda ilk dokunuşta takılı kalıyordu */
@media (hover: hover) {
  .feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, 0.25);
    box-shadow: var(--shadow);
  }

  .btn:hover {
    transform: translateY(-2px);
  }
}

/* Emoji yerine çizgi simge (emoji her işletim sisteminde farklı çiziliyordu) */
.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.22);
  color: var(--primary);
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ---------- Nasıl kullanılır ---------- */
.howto {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  margin-bottom: 48px;
}

.howto__title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 28px;
  text-align: center;
}

.howto__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.howto__block h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 14px;
}

.howto__block ol {
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.howto__block li {
  margin-bottom: 8px;
  line-height: 1.55;
}

/* ---------- Yasal not ---------- */
.legal-note {
  background: rgba(167, 139, 250, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-note p + p {
  margin-top: 10px;
}

.legal-note a {
  color: var(--accent);
}

/* ---------- İstatistikler ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  padding: 32px 16px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.stat-card__number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.stat-card__label {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ---------- Alt bilgi ---------- */
.footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--border);
  position: relative;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
}

.footer__brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.footer__copy {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.8;
}

.footer__copy a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__copy a:hover {
  color: var(--primary);
}

.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: var(--tap);
  height: var(--tap);
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition),
    background var(--transition);
  z-index: 50;
  box-shadow: var(--shadow);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--primary);
  color: #0b1220;
}

.scroll-top svg {
  width: 22px;
  height: 22px;
}

/* ---------- Duyarlılık ---------- */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(11, 18, 32, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    width: 100%;
    justify-content: center;
    padding: 14px;
  }

  .nav__link--cta {
    margin-left: 0;
    margin-top: 8px;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle[aria-expanded='true'] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded='true'] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded='true'] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .howto {
    padding: 28px 20px;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 60px);
    padding-bottom: 60px;
  }
}

@media (max-width: 480px) {
  .hero__buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .scroll-top {
    bottom: 16px;
    right: 16px;
  }
}

/* ---------- Hareket azaltma ----------
   İşletim sisteminde "hareketi azalt" açıksa hiçbir şey hareket etmez.
   Eski dosyada bu destek hiç yoktu. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .btn:hover,
  .feature-card:hover {
    transform: none;
  }
}
