/* Denesene — statik landing (HTML/CSS/JS) */

:root {
  --font-headline: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;

  --color-surface: #131313;
  --color-surface-container-low: #1b1c1c;
  --color-surface-container-high: #2a2a2a;
  --color-surface-container-highest: #353535;
  --color-primary: #edb1ff;
  --color-primary-container: #5f0080;
  --color-on-surface: #e5e2e1;
  --color-on-surface-variant: #d2c2d2;
  --color-on-primary: #530070;

  --radius-xl: 2rem;
  --radius-2xl: 3rem;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  /* Çentik / home indicator + yüzen nav kapsülü (üst boşluk + pill yüksekliği) */
  --nav-h: calc(5.75rem + env(safe-area-inset-top, 0px));
  /* Mobil: kompakt footer + alt güvenli alan */
  --footer-h: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  --panel-duration: 0.75s;
  /* Vitrin mockup girişi (sağdan) */
  --mockup-duration: 2.75s;
  --ease-mockup: cubic-bezier(0.22, 1, 0.36, 1);
  /* Deneyim mockup: yalnızca scale + z-index; açı .hero-phone__bezel’de (vitrin ile aynı) */
  --experience-mockup-duration: 7s;
  --ease-experience-mockup: cubic-bezier(0.22, 1, 0.36, 1);
  /* Katman: .site-header 100, .stage-hint 70, footer-dock 60; mobil menü 150 */
  /* Deneyim: .stage yükselir; overflow visible — mockup footer üstüne taşabilsin */
  --z-experience-stage-lift: 108;
  /* .hero-phone animasyonunda hero metin/glow üstünde */
  --z-mockup-anim-lift: 80;

  /* Düz sticker ok imleci (Freepik flat sticker tarzı; SVG — hotspot uçta) */
  --cursor-default: url("../images/ui/cursor-default.svg") 2 2, auto;

  /* Siyah zemin üzeri deniz / PS tarzı akışkan dalga (buradan ayarlanır) */
  --bg-page-black: #000000;
  --bg-aurora-blur-a: 80px;
  --bg-aurora-blur-b: 104px;
  --bg-aurora-dur-a: 44s;
  --bg-aurora-dur-b: 58s;

  /* Cam / glass kartlar — özellikler, vitrin, indir */
  --glass-blur: 20px;
  --glass-bg: linear-gradient(
    145deg,
    rgba(95, 0, 128, 0.18) 0%,
    rgba(19, 19, 19, 0.22) 42%,
    rgba(53, 0, 70, 0.12) 100%
  );
  --glass-border: rgba(237, 177, 255, 0.22);
  --glass-inset: 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  --glass-outer: 0 8px 32px rgba(95, 0, 128, 0.2), 0 2px 14px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  :root {
    --footer-h: calc(4.75rem + env(safe-area-inset-bottom, 0px));
    --nav-h: calc(5.85rem + env(safe-area-inset-top, 0px));
  }
}

@media (max-width: 767px) {
  :root {
    --nav-h: calc(5.5rem + env(safe-area-inset-top, 0px));
  }
}

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

html {
  height: 100%;
  /* Landing (body overflow hidden) vs yasal sayfa (body scroll) — scrollbar genişliği sabit kalsın, fixed header zıplamasın */
  scrollbar-gutter: stable;
  scroll-behavior: auto;
  cursor: var(--cursor-default);
  background: var(--bg-page-black);
}

body {
  margin: 0;
  min-height: 100%;
  height: 100%;
  overflow: hidden;
  font-family: var(--font-body);
  background: var(--bg-page-black);
  color: var(--color-on-surface);
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/*
 * Arka plan: tam siyah; renk yalnızca bulanık “ışık bandı” katmanlarında.
 * Deniz dalgası / PlayStation tarzı: yatay süzülme + hafif swell + skew (sonsuz döngü).
 */
body::before {
  content: "";
  position: fixed;
  z-index: 0;
  pointer-events: none;
  left: 50%;
  top: 48%;
  width: 240%;
  max-width: 2600px;
  height: clamp(240px, 40vh, 520px);
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse 100% 100% at 50% 50%,
    rgba(255, 45, 230, 0.4) 0%,
    rgba(180, 0, 200, 0.2) 38%,
    rgba(95, 0, 128, 0.09) 58%,
    transparent 72%
  );
  filter: blur(var(--bg-aurora-blur-a));
  mix-blend-mode: screen;
  opacity: 0.92;
  animation: site-bg-wave-a var(--bg-aurora-dur-a) cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

body::after {
  content: "";
  position: fixed;
  z-index: 0;
  pointer-events: none;
  left: 50%;
  top: 52%;
  width: 220%;
  max-width: 2400px;
  height: clamp(200px, 36vh, 460px);
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse 100% 100% at 48% 52%,
    rgba(237, 177, 255, 0.18) 0%,
    rgba(120, 0, 160, 0.16) 44%,
    rgba(40, 0, 60, 0.05) 64%,
    transparent 78%
  );
  filter: blur(var(--bg-aurora-blur-b));
  mix-blend-mode: screen;
  opacity: 0.68;
  animation: site-bg-wave-b var(--bg-aurora-dur-b) cubic-bezier(0.42, 0, 0.58, 1) infinite;
  animation-delay: -14s;
}

@keyframes site-bg-wave-a {
  0%,
  100% {
    transform: translate(-50%, -50%) translate(-3.5vw, 0.4vh) scale(1.02) skewX(-1.1deg);
  }
  20% {
    transform: translate(-50%, -50%) translate(2.2vw, -1.1vh) scale(1.045) skewX(0.6deg);
  }
  40% {
    transform: translate(-50%, -50%) translate(4.8vw, 0.6vh) scale(1.07) skewX(1.3deg);
  }
  60% {
    transform: translate(-50%, -50%) translate(1.5vw, 1.4vh) scale(1.04) skewX(0.35deg);
  }
  80% {
    transform: translate(-50%, -50%) translate(-2.8vw, 0.9vh) scale(1.025) skewX(-0.75deg);
  }
}

@keyframes site-bg-wave-b {
  0%,
  100% {
    transform: translate(-50%, -50%) translate(3.2vw, 1vh) scale(1.01) skewX(1deg) rotate(0.25deg);
  }
  25% {
    transform: translate(-50%, -50%) translate(-2.5vw, -0.8vh) scale(1.05) skewX(-0.9deg) rotate(-0.15deg);
  }
  50% {
    transform: translate(-50%, -50%) translate(-4.5vw, 0.5vh) scale(1.065) skewX(-1.4deg) rotate(-0.35deg);
  }
  75% {
    transform: translate(-50%, -50%) translate(0.5vw, 1.2vh) scale(1.03) skewX(0.4deg) rotate(0.2deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none;
    transform: translate(-50%, -50%);
  }
}

/* Fare su-dalga efekti (canvas) — sahne üstü, UI altı; tıklamalar geçer */
.cursor-ripple-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  pointer-events: none;
  z-index: 2;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  font: inherit;
  cursor: var(--cursor-default);
  border: none;
  background: none;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.icon {
  flex-shrink: 0;
}

.icon--lg {
  color: var(--color-primary);
}

.icon--xl {
  color: rgba(237, 177, 255, 0.35);
}

.icon--qr {
  color: #fff;
}

/* Header / nav — Vorta tarzı yüzen cam kapsül (renk paleti aynı) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: max(0.75rem, env(safe-area-inset-top, 0px));
  padding-left: max(1rem, env(safe-area-inset-left, 0px));
  padding-right: max(1rem, env(safe-area-inset-right, 0px));
  padding-bottom: 0.35rem;
  background: transparent;
  border: none;
  pointer-events: none;
}

/* Tek dil seçici: nav içi (.nav__lang--mobile) */
.nav__lang--mobile {
  display: flex;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .nav__lang--mobile {
    margin-left: auto;
  }
}

.nav {
  max-width: 80rem;
  margin: 0 auto;
  position: relative;
  pointer-events: auto;
}

/* Üst nav ve alt footer — aynı cam kapsül (Vorta tarzı) */
.nav__shell,
.footer__shell {
  position: relative;
  border-radius: 9999px;
  background: rgba(19, 19, 19, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: visible;
}

.footer__shell {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

/* Masaüstü nav kapsülü — stage ipucu (.stage-hint__inner) ile aynı renk ve nabız */
@media (min-width: 768px) {
  .nav__shell {
    background: linear-gradient(
      145deg,
      rgba(95, 0, 128, 0.55) 0%,
      rgba(19, 19, 19, 0.75) 45%,
      rgba(53, 0, 70, 0.5) 100%
    );
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(237, 177, 255, 0.28);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.06) inset,
      0 8px 32px rgba(95, 0, 128, 0.35),
      0 2px 12px rgba(0, 0, 0, 0.4);
    animation: stage-hint-pulse 2.8s var(--ease-out) infinite;
  }
}

.nav__inner {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 0.5rem 0.75rem 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.nav__mascot {
  height: 48px;
  width: auto;
  max-width: 44px;
  object-fit: contain;
  object-position: center bottom;
  flex-shrink: 0;
}

.nav__wordmark {
  height: 2rem;
  width: auto;
  max-width: min(160px, 40vw);
  object-fit: contain;
}

.nav__lang {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  flex-shrink: 0;
}

.nav__lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  font-size: 1.125rem;
  line-height: 1;
  border-radius: 50%;
  text-decoration: none;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition:
    color 0.35s var(--ease-out),
    background 0.2s ease,
    opacity 0.2s ease;
}

/* Nav menü linkleri (.nav__links > a) ile aynı radial dalga + tıklamada nav-ripple-burst */
.nav__lang-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(237, 177, 255, 0.5) 0%,
    rgba(237, 177, 255, 0.15) 42%,
    transparent 72%
  );
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition:
    transform 0.58s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
}

.nav__lang-btn:hover::before,
.nav__lang-btn:focus-visible::before {
  transform: scale(1);
  opacity: 0.55;
}

.nav__lang-btn:active::before {
  animation: nav-ripple-burst 0.58s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: none;
}

a.nav__lang-btn {
  opacity: 0.7;
}

a.nav__lang-btn:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
}

.nav__lang-btn--active {
  background: rgba(237, 177, 255, 0.25);
  box-shadow: 0 0 0 1px rgba(237, 177, 255, 0.35);
  opacity: 1;
  cursor: default;
}

.nav__toggle {
  display: flex;
  flex-shrink: 0;
  padding: 0.5rem;
  color: var(--color-on-surface-variant);
  border-radius: 0.5rem;
  background: none;
  border: none;
  cursor: var(--cursor-default);
}

/* Mobil — Liquid Glass hamburger (Dribbble liquid-glass menü hissi) */
@media (max-width: 767px) {
  .nav__mascot {
    height: 40px;
    max-width: 38px;
  }

  .nav__wordmark {
    height: 1.65rem;
    max-width: min(128px, 38vw);
  }

  .nav__inner {
    padding: 0.45rem 0.65rem 0.45rem 0.85rem;
  }

  .nav__shell {
    background: linear-gradient(
      145deg,
      rgba(95, 0, 128, 0.55) 0%,
      rgba(19, 19, 19, 0.75) 45%,
      rgba(53, 0, 70, 0.5) 100%
    );
    backdrop-filter: blur(14px) saturate(1.35);
    -webkit-backdrop-filter: blur(14px) saturate(1.35);
    border: 1px solid rgba(237, 177, 255, 0.28);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.06) inset,
      0 8px 32px rgba(95, 0, 128, 0.35),
      0 2px 12px rgba(0, 0, 0, 0.4);
    animation: stage-hint-pulse 2.8s var(--ease-out) infinite;
    transition:
      box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.45s ease,
      transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.nav-open .nav__shell {
    border-color: rgba(237, 177, 255, 0.28);
    box-shadow:
      0 16px 56px rgba(0, 0, 0, 0.45),
      0 0 0 1px rgba(237, 177, 255, 0.12) inset,
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      0 0 32px rgba(95, 0, 128, 0.22);
  }

  .nav__toggle {
    position: relative;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    color: var(--color-on-surface);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      0 6px 20px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    transition:
      transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
      box-shadow 0.45s ease,
      border-color 0.45s ease,
      background 0.45s ease;
  }

  .nav__toggle:hover,
  .nav__toggle:focus-visible {
    border-color: rgba(237, 177, 255, 0.35);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      0 8px 28px rgba(95, 0, 128, 0.2);
  }

  .nav__toggle:active {
    transform: scale(0.94);
  }

  body.nav-open .nav__toggle {
    color: var(--color-primary);
    border-color: rgba(237, 177, 255, 0.45);
    background: linear-gradient(165deg, rgba(237, 177, 255, 0.18), rgba(95, 0, 128, 0.2));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      0 0 24px rgba(237, 177, 255, 0.25),
      0 8px 28px rgba(0, 0, 0, 0.3);
  }

  .nav__toggle-bars {
    position: relative;
    display: block;
    width: 20px;
    height: 14px;
    flex-shrink: 0;
  }

  .nav__toggle-bar {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, currentColor, rgba(229, 226, 225, 0.85));
    transform-origin: center;
    transition:
      transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
      top 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
      opacity 0.3s ease,
      background 0.35s ease;
  }

  .nav__toggle-bar:nth-child(1) {
    top: 0;
  }

  .nav__toggle-bar:nth-child(2) {
    top: 6px;
  }

  .nav__toggle-bar:nth-child(3) {
    top: 12px;
  }

  body.nav-open .nav__toggle-bar:nth-child(1) {
    top: 6px;
    transform: rotate(45deg);
  }

  body.nav-open .nav__toggle-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.2);
  }

  body.nav-open .nav__toggle-bar:nth-child(3) {
    top: 6px;
    transform: rotate(-45deg);
  }
}

@media (min-width: 768px) {
  .nav__toggle {
    display: none;
  }
}

.nav__links {
  display: none;
  align-items: center;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .nav__links {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    align-items: center;
    gap: 0.35rem;
  }
}

/* Nav metin linkleri — masaüstü: Vorta/Framer tarzı kayan cam pill (JS: .nav__links-highlight) */
.nav__links > a {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
  color: var(--color-on-surface-variant);
  position: relative;
  z-index: 1;
  transition: color 0.35s var(--ease-out);
}

/* Radial dalga (CSS ripple) — ::before; hover’da yayılır, :active ile vurgu */
@keyframes nav-ripple-burst {
  0% {
    transform: scale(0.35);
    opacity: 0.65;
  }
  100% {
    transform: scale(2.35);
    opacity: 0;
  }
}

@media (min-width: 768px) {
  /* Stage ipucu kartı (.stage-hint__inner) ile aynı dolgu + nabız (transform yok — JS hizası bozulmasın) */
  .nav__links-highlight {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
    border-radius: 9999px;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(
      145deg,
      rgba(95, 0, 128, 0.55) 0%,
      rgba(19, 19, 19, 0.75) 45%,
      rgba(53, 0, 70, 0.5) 100%
    );
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(237, 177, 255, 0.28);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.06) inset,
      0 8px 32px rgba(95, 0, 128, 0.35),
      0 2px 12px rgba(0, 0, 0, 0.4);
    animation: stage-hint-pulse 2.8s var(--ease-out) infinite;
    transform-origin: center center;
    /* Su damlası: mouseover’da JS kısa scale + border-radius; elastik easing */
    transition:
      left 0.62s cubic-bezier(0.34, 1.56, 0.64, 1),
      top 0.62s cubic-bezier(0.34, 1.56, 0.64, 1),
      width 0.62s cubic-bezier(0.34, 1.56, 0.64, 1),
      height 0.62s cubic-bezier(0.34, 1.56, 0.64, 1),
      transform 0.62s cubic-bezier(0.34, 1.56, 0.64, 1),
      border-radius 0.62s cubic-bezier(0.34, 1.56, 0.64, 1),
      opacity 0.3s ease;
  }

  .nav__links > a {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    overflow: hidden;
  }

  .nav__links > a::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
      circle at 50% 50%,
      rgba(237, 177, 255, 0.5) 0%,
      rgba(237, 177, 255, 0.15) 42%,
      transparent 72%
    );
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transition:
      transform 0.58s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.3s ease;
  }

  .nav__links > a:hover::before,
  .nav__links > a:focus-visible::before {
    transform: scale(1);
    opacity: 0.55;
  }

  .nav__links > a:active::before {
    animation: nav-ripple-burst 0.58s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transition: none;
  }

  .nav__links > a:hover,
  .nav__links > a:focus-visible {
    background: linear-gradient(
      90deg,
      #f5e9ff 0%,
      var(--color-primary) 50%,
      rgba(237, 177, 255, 0.85) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .nav__links > a.nav-link--active {
    background: linear-gradient(
      90deg,
      #f5e9ff 0%,
      var(--color-primary) 50%,
      rgba(237, 177, 255, 0.85) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .nav__links > a[href^="mailto:"] {
    font-size: 0.8125rem;
    padding: 0.5rem 0.65rem;
    letter-spacing: -0.04em;
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  .nav__links-highlight {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav__links > a {
    transition-duration: 0.01ms;
  }

  .nav__lang-btn {
    transition-duration: 0.01ms;
  }

  .nav__lang-btn::before {
    display: none !important;
  }

  .nav__links > a::before,
  body.nav-open .nav__links > a::before {
    display: none !important;
  }

  .nav__links-highlight {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }

  .nav__shell {
    animation: none !important;
  }

  .nav__cta {
    animation: none !important;
  }
}

/* Hemen Başla — varsayılan: stage ipucu kartı + metin (.stage-hint__inner / __text) */
.nav__cta {
  position: relative;
  padding: 0.55rem 1.35rem;
  border-radius: 9999px;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: var(--cursor-default);
  border: 1px solid rgba(237, 177, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 8px 32px rgba(95, 0, 128, 0.35),
    0 2px 12px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background-image:
    linear-gradient(
      90deg,
      #f5e9ff 0%,
      var(--color-primary) 50%,
      rgba(237, 177, 255, 0.85) 100%
    ),
    linear-gradient(
      145deg,
      rgba(95, 0, 128, 0.55) 0%,
      rgba(19, 19, 19, 0.75) 45%,
      rgba(53, 0, 70, 0.5) 100%
    );
  -webkit-background-clip: text, padding-box;
  background-clip: text, padding-box;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: stage-hint-pulse 2.8s var(--ease-out) infinite;
  transition: transform 0.2s var(--ease-out);
}

.nav__cta:focus-visible {
  outline: 2px solid rgba(237, 177, 255, 0.45);
  outline-offset: 3px;
}

.nav__cta--bar {
  display: none;
}

@media (min-width: 768px) {
  .nav__cta--bar {
    display: inline-flex;
    margin-left: auto;
  }
}

@media (max-width: 767px) {
  /* Üst çubukta yalnızca menüdeki CTA */
  .nav__cta--bar {
    display: none !important;
  }
}

/* .btn sonradan geldiği için tek sınıfı ezer; menü içi CTA yalnızca mobilde açıkken */
.nav__links .nav__cta--drawer {
  display: none;
}

@media (max-width: 767px) {
  body.nav-open .nav__links .nav__cta--drawer {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    margin-top: 0.25rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}

.nav__cta:hover {
  transform: scale(1.05);
}

/* Açılır menü — liquid glass + stagger (yalnızca mobilde üst blokta tanımlı) */
@media (max-width: 767px) {
  @keyframes nav-liquid-drawer {
    from {
      opacity: 0;
      transform: translateY(-0.65rem) scale(0.97);
      filter: blur(6px);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
      filter: blur(0);
    }
  }

  @keyframes nav-link-stagger {
    from {
      opacity: 0;
      transform: translateX(-0.5rem);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  body.nav-open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    z-index: 150;
    padding: 0.85rem max(1rem, env(safe-area-inset-left, 0px)) max(1rem, env(safe-area-inset-bottom, 0px))
      max(1rem, env(safe-area-inset-right, 0px));
    overflow: hidden;
    isolation: isolate;
    background: transparent;
    backdrop-filter: blur(72px) saturate(1.5);
    -webkit-backdrop-filter: blur(72px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.35rem;
    box-shadow:
      0 20px 56px rgba(0, 0, 0, 0.48),
      0 0 0 1px rgba(255, 255, 255, 0.06) inset,
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
    gap: 0.2rem;
    align-items: stretch;
    animation: nav-liquid-drawer 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  body.nav-open .nav__links::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
      linear-gradient(125deg, rgba(237, 177, 255, 0.06), transparent 55%),
      linear-gradient(
        165deg,
        rgba(32, 30, 34, 0.94) 0%,
        rgba(12, 11, 14, 0.96) 48%,
        rgba(42, 18, 52, 0.94) 100%
      );
    opacity: 1;
    pointer-events: none;
    z-index: 0;
  }

  body.nav-open .nav__links > a,
  body.nav-open .nav__links .nav__cta--drawer {
    position: relative;
    z-index: 1;
    opacity: 1;
  }

  body.nav-open .nav__links > a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    border-radius: 0.65rem;
    overflow: hidden;
    color: var(--color-on-surface-variant);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
    animation: nav-link-stagger 0.45s cubic-bezier(0.22, 1, 0.36, 1) backwards;
    transition: color 0.35s var(--ease-out);
  }

  body.nav-open .nav__links > a::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
      circle at 50% 50%,
      rgba(237, 177, 255, 0.45) 0%,
      rgba(237, 177, 255, 0.12) 42%,
      transparent 72%
    );
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transition:
      transform 0.58s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.3s ease;
  }

  body.nav-open .nav__links > a:hover::before,
  body.nav-open .nav__links > a:focus-visible::before {
    transform: scale(1);
    opacity: 0.5;
  }

  body.nav-open .nav__links > a:active::before {
    animation: nav-ripple-burst 0.58s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transition: none;
  }

  body.nav-open .nav__links > a:hover,
  body.nav-open .nav__links > a:focus-visible {
    color: var(--color-on-surface);
  }

  body.nav-open .nav__links > a.nav-link--active {
    color: var(--color-primary);
  }

  body.nav-open .nav__links > a:nth-child(1) {
    animation-delay: 0.05s;
  }

  body.nav-open .nav__links > a:nth-child(2) {
    animation-delay: 0.1s;
  }

  body.nav-open .nav__links > a:nth-child(3) {
    animation-delay: 0.15s;
  }

  body.nav-open .nav__links > a:nth-child(4) {
    animation-delay: 0.2s;
  }

  body.nav-open .nav__links > a:nth-child(6) {
    animation-delay: 0.22s;
  }

  body.nav-open .nav__links .nav__cta--drawer {
    animation: nav-link-stagger 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.28s backwards;
  }

  /* Çekmecede alt çizgi yerine temiz dokunma alanı */
  body.nav-open .nav__links > a::after {
    display: none;
  }

  @media (prefers-reduced-motion: reduce) {
    body.nav-open .nav__links {
      animation: none;
    }

    body.nav-open .nav__links > a,
    body.nav-open .nav__links .nav__cta--drawer {
      animation: none;
    }

    .nav__shell,
    body.nav-open .nav__shell {
      transition: none;
    }

    .nav__toggle,
    .nav__toggle-bar {
      transition-duration: 0.01ms !important;
    }
  }
}

/* Tam ekran panel sahnesi — dikey sayfa kaydırması yok */
.stage {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: var(--footer-h);
  z-index: 1;
  perspective: 1600px;
  perspective-origin: 50% 42%;
  overflow-x: visible;
  overflow-y: hidden;
}

@media (max-width: 767px) {
  /* Mobilde footer sabit değil — sahne tam yükseklik */
  .stage {
    bottom: 0;
  }
}

/* Deneyim: sahne header/footer üstünde; overflow visible — scale ile taşan mockup kırpılmaz, dock footer üzerine çizilir */
.stage:has(#experience.is-active) {
  z-index: var(--z-experience-stage-lift);
  overflow-x: visible;
  overflow-y: visible;
}

.panel {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 28px, -160px) scale(0.9);
  transform-style: preserve-3d;
  transition:
    opacity var(--panel-duration) var(--ease-out),
    transform var(--panel-duration) var(--ease-out),
    visibility 0s linear var(--panel-duration);
  will-change: opacity, transform;
}

/* Mockup girişi yanlardan taşabilsin — kırpma / kısa flaş önlenir */
.panel#experience,
.panel#showcase {
  overflow-x: visible;
}

.panel#experience.is-active {
  overflow: visible;
}

.panel::-webkit-scrollbar {
  display: none;
}

.panel.is-active {
  z-index: 10;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  transition-delay: 0s, 0s, 0s;
}

.panel:not(.is-active) {
  filter: blur(0);
}

/*
 * Deneyim mockup: scale + z-index + zoom sırasında hafif translateY (yukarı). Açı device’ta.
 */
@keyframes experience-mockup-enter {
  0% {
    transform: translateY(0) scale(0.14);
    z-index: 1;
    animation-timing-function: cubic-bezier(0.16, 1, 0.32, 1);
  }
  38% {
    transform: translateY(-0.85rem) scale(1.55);
    z-index: var(--z-mockup-anim-lift);
    animation-timing-function: cubic-bezier(0.12, 0.82, 0.12, 1);
  }
  100% {
    transform: translateY(0) scale(1);
    z-index: 1;
  }
}

@keyframes experience-mockup-enter-mobile {
  0% {
    transform: translateY(0) scale(0.2);
    z-index: 1;
    animation-timing-function: cubic-bezier(0.16, 1, 0.32, 1);
  }
  38% {
    transform: translateY(-0.55rem) scale(1.45);
    z-index: var(--z-mockup-anim-lift);
    animation-timing-function: cubic-bezier(0.12, 0.82, 0.12, 1);
  }
  100% {
    transform: translateY(0) scale(1);
    z-index: 1;
  }
}

@keyframes mockup-axis-in-from-right {
  0% {
    opacity: 0;
    transform: translate3d(38vw, 0, 0) rotateY(78deg);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateY(0deg);
  }
}

.panel#experience.is-active .hero-phone {
  animation: experience-mockup-enter var(--experience-mockup-duration) var(--ease-experience-mockup) both;
  /* Vitrine yakın bakış; biraz uzak perspective üst/alt şişkinliği yumuşatır */
  perspective: 1200px;
  perspective-origin: 50% 52%;
  transform-origin: center center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

/*
 * 3D açı tek yerde: .hero-phone__device (yan/alt yüz ::before/::after burada).
 * Sadece bezel’de döndürmek yan kalınlığı ekrandan koparıyordu (showcase’ta ::before yok).
 */
.panel#experience.is-active .hero-phone__device {
  transform: rotateY(-30deg) rotateX(10deg) translateZ(0);
  transform-origin: center center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

/* Bezel varsayılan translateZ(0.65rem) — ek rotate yok; açı device’ta */

.panel#showcase.is-active .showcase-phone {
  animation: mockup-axis-in-from-right var(--mockup-duration) var(--ease-mockup) both;
  transform-origin: center center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .panel#experience.is-active .hero-phone,
  .panel#showcase.is-active .showcase-phone {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .panel#experience.is-active .hero-phone {
    z-index: 1;
  }

  .panel#experience.is-active .hero-phone__device {
    transform: rotateY(-30deg) rotateX(10deg) translateZ(0);
  }

  .panel#showcase.is-active .showcase-phone__bezel {
    transform: rotateY(-30deg) rotateX(10deg) translateZ(0);
  }

  .panel#experience.is-active .hero-phone__bezel {
    transform: translateZ(0);
  }

  .hero-phone::before,
  .showcase-phone::before {
    opacity: 0.72;
    filter: blur(10px);
  }

  .hero-phone__device::before,
  .hero-phone__device::after {
    opacity: 0.72;
  }

  .hero-slide {
    transition-duration: 0.01ms;
  }
}

/* Panel geçiş ipucu — mor gradient, scroll animasyonu (panel süresiyle uyumlu) */
@keyframes stage-hint-pulse {
  0%,
  100% {
    filter: drop-shadow(0 4px 16px rgba(95, 0, 128, 0.35)) drop-shadow(0 0 14px rgba(237, 177, 255, 0.25));
  }
  50% {
    filter: drop-shadow(0 6px 28px rgba(95, 0, 128, 0.55)) drop-shadow(0 0 22px rgba(237, 177, 255, 0.4));
  }
}

@keyframes stage-hint-nudge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

@keyframes stage-hint-shuttle {
  0% {
    transform: translateY(-130%);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  82% {
    opacity: 1;
  }
  100% {
    transform: translateY(130%);
    opacity: 0;
  }
}

.stage-hint {
  position: fixed;
  /* Gerçek footer yüksekliği --footer-h’tan büyük olabildiğinde taşmayı azalt */
  bottom: calc(var(--footer-h) + 1rem);
  left: 50%;
  transform: translateX(-50%);
  /* Footer (60) üstünde görünsün; tıklamalar pointer-events: none ile alta iletilir */
  z-index: 70;
  pointer-events: none;
  filter: drop-shadow(0 4px 20px rgba(95, 0, 128, 0.4));
  animation: stage-hint-pulse 2.8s var(--ease-out) infinite;
}

.stage-hint__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1.1rem 0.55rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(
    145deg,
    rgba(95, 0, 128, 0.55) 0%,
    rgba(19, 19, 19, 0.75) 45%,
    rgba(53, 0, 70, 0.5) 100%
  );
  border: 1px solid rgba(237, 177, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 8px 32px rgba(95, 0, 128, 0.35),
    0 2px 12px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: stage-hint-nudge 2.8s var(--ease-out) infinite;
}

.stage-hint__scroll {
  position: relative;
  width: 1.35rem;
  height: 1.75rem;
  flex-shrink: 0;
}

.stage-hint__track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(237, 177, 255, 0.15), rgba(95, 0, 128, 0.35));
  border: 1px solid rgba(237, 177, 255, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.stage-hint__glow {
  position: absolute;
  left: 2px;
  right: 2px;
  top: 15%;
  height: 38%;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--color-primary), var(--color-primary-container));
  box-shadow: 0 0 12px rgba(237, 177, 255, 0.7);
  animation: stage-hint-shuttle 1.85s var(--ease-out) infinite;
}

.stage-hint__text {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
  background: linear-gradient(90deg, #f5e9ff 0%, var(--color-primary) 50%, rgba(237, 177, 255, 0.85) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

@media (max-width: 767px) {
  /* İndir panelinde içeriğin en altına gelindiğinde (JS: body.stage-hint-hidden) */
  body.stage-hint-hidden .stage-hint {
    display: none !important;
  }

  .stage-hint {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100vw - 2rem);
    display: flex;
    justify-content: center;
  }

  .stage-hint__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.85rem;
    gap: 0.35rem;
    text-align: center;
    margin-inline: auto;
  }

  .stage-hint__scroll {
    width: 0.95rem;
    height: 1.2rem;
  }

  .stage-hint__text {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    white-space: normal;
    max-width: 16rem;
    text-align: center;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stage-hint,
  .stage-hint__inner,
  .stage-hint__glow {
    animation: none;
  }

  .stage-hint {
    filter: drop-shadow(0 4px 16px rgba(95, 0, 128, 0.35));
  }
}

/* Sections */
.section {
  padding: 3rem 1.5rem;
}

@media (max-width: 767px) {
  .section {
    padding: 1.75rem max(1rem, env(safe-area-inset-left, 0px)) 1.75rem
      max(1rem, env(safe-area-inset-right, 0px));
  }
}

/* Hero — sahne içinde dikey ortalı (panel yüksekliği = .stage) */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  text-align: center;
  padding-top: clamp(1rem, 3vh, 2.5rem);
  padding-bottom: clamp(1rem, 3vh, 2.5rem);
  overflow-x: visible;
  overflow-y: visible;
  box-sizing: border-box;
}

.hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(95, 0, 128, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 64rem;
  margin: 0 auto;
}

.hero__title {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero__br {
  display: none;
}

@media (min-width: 768px) {
  .hero__br {
    display: inline;
  }
}

.hero__gradient {
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-container));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: 0.875rem;
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  color: var(--color-on-surface-variant);
  line-height: 1.65;
}

@media (min-width: 768px) {
  .hero__lead {
    font-size: 1rem;
  }
}

.download__stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  /* Masaüstünde yalnızca çubuk CTA; menü içindeki kopya gizli kalsın */
  .nav__links .nav__cta--drawer {
    display: none !important;
  }
}

.btn--store {
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.875rem;
  transition: transform 0.2s var(--ease-out);
}

.btn--store:hover {
  transform: scale(1.05);
}

.btn--store-dark {
  background: var(--color-on-surface);
  color: var(--color-surface);
}

.btn--store-muted {
  background: var(--color-surface-container-high);
  color: var(--color-on-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Hero phone — 3D hissi (CSS yan/alt yüzey) + arka zemin gölgesi; HTML değişmez */
.hero-phone {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  padding-bottom: 1.25rem;
  overflow: visible;
  perspective: 860px;
  perspective-origin: 48% 42%;
  isolation: isolate;
}

/* Cihazın arkasında / altında yumuşak zemin gölgesi */
.hero-phone::before {
  content: "";
  position: absolute;
  bottom: 0.15rem;
  left: 50%;
  z-index: 0;
  width: 92%;
  height: 22%;
  transform: translateX(-50%) scaleX(1.05);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.22) 45%,
    transparent 72%
  );
  filter: blur(14px);
  opacity: 0.95;
}

.hero-phone__device {
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  transform: rotateX(15deg) translateZ(0);
  transform-origin: center center;
  backface-visibility: hidden;
  filter:
    drop-shadow(0 32px 52px rgba(0, 0, 0, 0.55))
    drop-shadow(0 12px 28px rgba(0, 0, 0, 0.4))
    drop-shadow(-8px 10px 28px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 1px rgba(0, 0, 0, 0.35));
}

/* Sağ yan — gövde kalınlığı */
.hero-phone__device::before {
  content: "";
  position: absolute;
  top: 5.5%;
  right: -0.32rem;
  z-index: 0;
  width: 1.05rem;
  height: 89%;
  border-radius: 0 0.35rem 0.35rem 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(78, 78, 84, 0.98) 0%,
    rgba(36, 36, 40, 1) 42%,
    rgba(10, 10, 12, 1) 100%
  );
  box-shadow:
    inset 1px 0 0 rgba(255, 255, 255, 0.14),
    inset -2px 0 6px rgba(0, 0, 0, 0.5);
  transform: rotateY(50deg);
  transform-origin: left center;
  transform-style: preserve-3d;
}

/* Alt kenar — ince kalınlık */
.hero-phone__device::after {
  content: "";
  position: absolute;
  left: 9%;
  right: 7%;
  bottom: -0.18rem;
  z-index: 0;
  height: 0.42rem;
  border-radius: 0 0 0.45rem 0.45rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(52, 52, 56, 1), rgba(12, 12, 14, 1));
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.42);
  transform: rotateX(56deg);
  transform-origin: center top;
  transform-style: preserve-3d;
  opacity: 0.94;
}

.hero-phone__bezel {
  position: relative;
  z-index: 1;
  padding: 0.35rem;
  border-radius: 2rem;
  background: linear-gradient(
    142deg,
    rgba(118, 118, 126, 0.4) 0%,
    var(--color-surface-container-highest) 38%,
    rgba(30, 30, 34, 1) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    inset 3px 0 10px rgba(255, 255, 255, 0.05),
    inset -4px 0 14px rgba(0, 0, 0, 0.38),
    0 2px 0 rgba(255, 255, 255, 0.05);
  transform: translateZ(0.65rem);
  transform-style: preserve-3d;
}

.hero-phone__notch {
  position: absolute;
  top: 0.55rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 1.35rem;
  background: #0a0a0a;
  border-radius: 0 0 1rem 1rem;
  z-index: 2;
}

.hero-phone__screen {
  position: relative;
  aspect-ratio: 9 / 19.5;
  border-radius: 1.65rem;
  background: #000;
  overflow: hidden;
  transform: translateZ(0.28rem);
  transform-style: preserve-3d;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 4px 16px rgba(0, 0, 0, 0.55),
    0 0 18px rgba(0, 0, 0, 0.35);
}

.hero-slide {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

/* İlk slayt: iOS benzeri ana ekran + dock’ta Denesene (header maskot); tıklama animasyonu */
.hero-slide--homescreen {
  display: block;
  padding: 0;
}

.hero-slide-home {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: inherit;
  /* JS: .hero-slide-home__tile--app merkezi; yedek değerler */
  --launch-x: 38%;
  --launch-y: 44%;
}

/* Uygulama ikonundan yayılan mor gradient → 2. slayt öncesi geçiş */
.hero-slide-home__launch {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  visibility: hidden;
  /* Hero ile aynı palet: .hero__gradient (--color-primary → --color-primary-container), kenarlarda siyah */
  background:
    radial-gradient(
      ellipse 145% 145% at var(--launch-x) var(--launch-y),
      var(--color-primary) 0%,
      rgba(237, 177, 255, 0.92) 10%,
      var(--color-primary-container) 28%,
      #3d0850 52%,
      #16061c 76%,
      var(--bg-page-black) 100%
    );
  will-change: clip-path;
}

.hero-slide-home--launching .hero-slide-home__launch {
  visibility: visible;
  opacity: 1;
  animation: hero-slide-home-launch 0.5s cubic-bezier(0.38, 0.65, 0.24, 1) forwards;
}

@keyframes hero-slide-home-launch {
  from {
    clip-path: circle(0% at var(--launch-x) var(--launch-y));
  }

  to {
    clip-path: circle(150% at var(--launch-x) var(--launch-y));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide-home--launching .hero-slide-home__launch {
    animation: none;
    clip-path: none;
    opacity: 1;
    visibility: visible;
  }
}

.hero-slide-home__wallpaper {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 120% 80% at 20% 15%, rgba(95, 0, 128, 0.35) 0%, transparent 45%),
    radial-gradient(ellipse 100% 60% at 85% 25%, rgba(40, 100, 180, 0.25) 0%, transparent 50%),
    linear-gradient(168deg, #141018 0%, #0c1422 42%, #060608 100%);
}

.hero-slide-home__status {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem 0.55rem 0.15rem;
  font-size: clamp(0.55rem, 2.8vw, 0.65rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.hero-slide-home__signals {
  width: 2.4rem;
  height: 0.38rem;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35));
  opacity: 0.85;
}

.hero-slide-home__grid {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.2rem 0.16rem;
  padding: 0.1rem 0.28rem 0.16rem;
  align-content: start;
}

.hero-slide-home__tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  aspect-ratio: 1;
  border-radius: 0.68rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 2px 7px rgba(0, 0, 0, 0.32);
}

.hero-slide-home__ico {
  width: 48%;
  height: 48%;
  display: block;
  flex-shrink: 0;
  pointer-events: none;
}

/* Mockup: iOS benzeri uygulama renkleri */
.hero-slide-home__tile--facetime {
  background: linear-gradient(165deg, #7fe090 0%, #34c759 55%, #248a3d 100%);
}

.hero-slide-home__tile--calendar {
  background: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 3px 10px rgba(0, 0, 0, 0.35);
}

.hero-slide-home__tile--photos {
  background: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 3px 10px rgba(0, 0, 0, 0.35);
}

.hero-slide-home__tile--camera {
  background: linear-gradient(165deg, #aeaeb2 0%, #636366 50%, #3a3a3c 100%);
}

.hero-slide-home__tile--mail {
  background: linear-gradient(165deg, #64b5ff 0%, #007aff 55%, #0051d5 100%);
}

.hero-slide-home__tile.hero-slide-home__tile--app {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  transform-origin: center center;
  background: #0a0a0c;
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.hero-slide-home__tile--app img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide-home__tile--notes {
  background: linear-gradient(165deg, #ffe066 0%, #ffcc00 55%, #e6a800 100%);
}

.hero-slide-home__tile--reminders {
  background: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 3px 10px rgba(0, 0, 0, 0.35);
}

.hero-slide-home__tile--maps {
  background: linear-gradient(165deg, #8fd4a0 0%, #34c759 50%, #1f7a3a 100%);
}

.hero-slide-home__tile--music {
  background: linear-gradient(165deg, #ff8ab0 0%, #ff375f 55%, #c41e4a 100%);
}

.hero-slide-home__tile--tv {
  background: #000;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 3px 10px rgba(0, 0, 0, 0.45);
}

.hero-slide-home__tile--news {
  background: linear-gradient(165deg, #48484a 0%, #1c1c1e 55%, #000 100%);
}

.hero-slide-home__tile--settings {
  background: linear-gradient(165deg, #d1d1d6 0%, #8e8e93 55%, #636366 100%);
}

.hero-slide-home__dock {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.26rem;
  padding: 0.26rem 0.28rem 0.32rem;
  margin: 0 0.26rem 0.26rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-slide-home__dock-slot.hero-slide-home__dock-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.82rem;
  height: 1.82rem;
  border-radius: 0.52rem;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-slide-home__dock-slot.hero-slide-home__dock-icon .hero-slide-home__ico {
  width: 54%;
  height: 54%;
}

.hero-slide-home__dock-icon--phone {
  background: linear-gradient(165deg, #7fe090 0%, #34c759 55%, #248a3d 100%);
}

.hero-slide-home__dock-icon--safari {
  background: linear-gradient(165deg, #a8d4ff 0%, #007aff 55%, #0051d5 100%);
}

.hero-slide-home__dock-icon--messages {
  background: linear-gradient(165deg, #5fe077 0%, #34c759 55%, #1f7a3a 100%);
}

.hero-slide-home__dock-icon--notes {
  background: linear-gradient(165deg, #ffe066 0%, #ffcc00 55%, #e6a800 100%);
}

.hero-slide-home__icon--app img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide--homescreen.is-active .hero-slide-home__icon--app {
  animation: hero-slide-home-tap 1.05s cubic-bezier(0.34, 1.4, 0.64, 1) 0.7s both;
}

@keyframes hero-slide-home-tap {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }
  28% {
    transform: scale(0.86);
    filter: brightness(0.88);
  }
  48% {
    transform: scale(0.94);
    filter: brightness(1.02);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide--homescreen.is-active .hero-slide-home__icon--app {
    animation: none;
  }
}

@media (max-width: 767px) {
  .panel#experience.is-active .hero-phone {
    animation: experience-mockup-enter-mobile var(--experience-mockup-duration) var(--ease-experience-mockup) both;
  }

  .hero-phone {
    max-width: min(200px, 68vw);
    padding-bottom: 1rem;
    perspective: 780px;
  }

  .hero-phone::before {
    width: 88%;
    height: 18%;
    filter: blur(11px);
    opacity: 0.88;
  }

  .hero-phone__device {
    filter:
      drop-shadow(0 22px 38px rgba(0, 0, 0, 0.48))
      drop-shadow(0 8px 18px rgba(0, 0, 0, 0.34))
      drop-shadow(-5px 6px 18px rgba(0, 0, 0, 0.22));
  }

  .hero-phone__device::before {
    width: 0.88rem;
    right: -0.26rem;
  }

  .hero-phone__device::after {
    height: 0.36rem;
    bottom: -0.14rem;
  }
}

/* Stats */
.stats {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats__inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 768px) {
  .stats__inner {
    flex-direction: row;
    justify-content: center;
    gap: 6rem;
  }
}

.stats__item {
  text-align: center;
}

@media (min-width: 768px) {
  .stats__item {
    text-align: left;
  }
}

.stats__value {
  font-family: var(--font-headline);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.stats__label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-on-surface-variant);
}

/* Showcase */
.showcase__grid {
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .showcase__grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.showcase__copy {
  text-align: center;
}

@media (min-width: 1024px) {
  .showcase__copy {
    text-align: left;
  }
}

.eyebrow {
  display: block;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 2rem;
}

.section-title--center {
  text-align: center;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--color-on-surface-variant);
  line-height: 1.7;
  margin: 0 0 2.5rem;
  max-width: 36rem;
}

.showcase__copy .section-lead {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .showcase__copy .section-lead {
    margin-left: 0;
  }
}

.feature-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-cards__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inset), var(--glass-outer);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition:
    border-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

.feature-cards__item:hover {
  border-color: rgba(237, 177, 255, 0.34);
  box-shadow:
    var(--glass-inset),
    0 10px 36px rgba(95, 0, 128, 0.28),
    0 2px 14px rgba(0, 0, 0, 0.32);
}

.feature-cards__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(237, 177, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.feature-cards__title {
  margin: 0 0 0.25rem;
  font-weight: 700;
}

.feature-cards__text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-on-surface-variant);
}

.showcase__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.showcase-phone {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  padding-bottom: 1.25rem;
  overflow: visible;
  perspective: 860px;
  perspective-origin: 52% 42%;
  isolation: isolate;
}

/* Experience hero-phone ile aynı zemin gölgesi */
.showcase-phone::before {
  content: "";
  position: absolute;
  bottom: 0.15rem;
  left: 50%;
  z-index: 0;
  width: 92%;
  height: 22%;
  transform: translateX(-50%) scaleX(1.05);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.22) 45%,
    transparent 72%
  );
  filter: blur(14px);
  opacity: 0.95;
}

.showcase-phone__bezel {
  position: relative;
  z-index: 1;
  padding: 1rem;
  border-radius: var(--radius-2xl);
  background: linear-gradient(
    142deg,
    rgba(118, 118, 126, 0.4) 0%,
    var(--color-surface-container-highest) 38%,
    rgba(30, 30, 34, 1) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    inset 3px 0 10px rgba(255, 255, 255, 0.05),
    inset -4px 0 14px rgba(0, 0, 0, 0.38),
    0 2px 0 rgba(255, 255, 255, 0.05);
  filter:
    drop-shadow(0 32px 52px rgba(0, 0, 0, 0.55))
    drop-shadow(0 12px 28px rgba(0, 0, 0, 0.4))
    drop-shadow(-8px 10px 28px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 1px rgba(0, 0, 0, 0.35));
  transform: rotateY(-30deg) rotateX(10deg) translateZ(0.65rem);
  transform-origin: center center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.showcase-phone__notch {
  display: none;
}

.showcase-phone__screen {
  position: relative;
  aspect-ratio: 9 / 19.5;
  border-radius: 2rem;
  background: var(--color-surface-container-low);
  overflow: hidden;
  transform: translateZ(0.28rem);
  transform-style: preserve-3d;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 4px 16px rgba(0, 0, 0, 0.55),
    0 0 18px rgba(0, 0, 0, 0.35);
}

@media (max-width: 767px) {
  .showcase-phone {
    max-width: min(240px, 74vw);
    padding-bottom: 1rem;
    perspective: 780px;
  }

  .showcase-phone::before {
    width: 88%;
    height: 18%;
    filter: blur(11px);
    opacity: 0.88;
  }

  .showcase-phone__bezel {
    padding: 0.65rem;
    border-radius: 1.5rem;
    filter:
      drop-shadow(0 22px 38px rgba(0, 0, 0, 0.48))
      drop-shadow(0 8px 18px rgba(0, 0, 0, 0.34))
      drop-shadow(-5px 6px 18px rgba(0, 0, 0, 0.22));
  }

  .showcase-phone__screen {
    border-radius: 1.5rem;
  }
}

.showcase__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.showcase__blob--tr {
  width: 10rem;
  height: 10rem;
  top: -2.5rem;
  right: -2.5rem;
  background: rgba(237, 177, 255, 0.1);
}

.showcase__blob--bl {
  width: 15rem;
  height: 15rem;
  bottom: -2.5rem;
  left: -2.5rem;
  background: rgba(95, 0, 128, 0.1);
}

/* Features */
.features {
  max-width: 80rem;
  margin: 0 auto;
}

.features__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Özellikler — şeffaf cam (glass) */
.features__card {
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inset), var(--glass-outer);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition:
    border-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    filter 0.35s var(--ease-out);
}

.features__card:hover {
  border-color: rgba(237, 177, 255, 0.36);
  box-shadow:
    var(--glass-inset),
    0 12px 40px rgba(95, 0, 128, 0.3),
    0 2px 16px rgba(0, 0, 0, 0.35);
  filter: drop-shadow(0 0 14px rgba(237, 177, 255, 0.12));
}

.features__card--wide {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 25rem;
}

@media (min-width: 768px) {
  .features__card--wide {
    grid-column: span 2;
  }
}

.features__heading {
  font-family: var(--font-headline);
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.features__card--wide .features__heading {
  font-size: 1.875rem;
}

.features__text {
  margin: 0;
  color: var(--color-on-surface-variant);
  font-size: 0.875rem;
}

.features__card--wide .features__text {
  font-size: 1.125rem;
}

.features__card--split {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features__card--split {
    flex-direction: row;
    align-items: center;
    grid-column: span 2;
  }
}

.features__fingerprint {
  flex: 1;
  min-height: 12rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(
    155deg,
    rgba(19, 19, 19, 0.18) 0%,
    rgba(95, 0, 128, 0.12) 55%,
    rgba(53, 0, 70, 0.08) 100%
  );
  border: 1px solid rgba(237, 177, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Download — ana kart cam */
.download__card {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem;
  border-radius: var(--radius-2xl);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inset), var(--glass-outer);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  transition:
    border-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

.download__card:hover {
  border-color: rgba(237, 177, 255, 0.32);
  box-shadow:
    var(--glass-inset),
    0 12px 40px rgba(95, 0, 128, 0.26),
    0 2px 16px rgba(0, 0, 0, 0.32);
}

@media (min-width: 1024px) {
  .download__card {
    flex-direction: row;
    justify-content: space-between;
    padding: 4rem;
  }
}

.download__copy {
  text-align: center;
}

@media (min-width: 1024px) {
  .download__copy {
    text-align: left;
    flex: 1;
  }
}

.download__qr {
  flex-shrink: 0;
}

.download__qr-box {
  position: relative;
  padding: 2rem;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(95, 0, 128, 0.08) 100%
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(237, 177, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.download__qr-inner {
  width: 12rem;
  height: 12rem;
  padding: 1rem;
  background: #fff;
  border-radius: 0.75rem;
}

.download__qr-inner .icon {
  width: 100%;
  height: 100%;
  color: var(--color-surface);
}

.download__qr-badge {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-on-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s var(--ease-out);
}

.download__qr-box:hover .download__qr-badge {
  transform: scale(1.1);
}

.download__qr-caption {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(229, 226, 225, 0.6);
}

/* Footer — nav ile aynı cam kapsül (footer__shell); mobilde akışta */
.site-footer.footer {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 0 max(1rem, env(safe-area-inset-left, 0px)) max(0.75rem, env(safe-area-inset-bottom, 0px))
    max(1rem, env(safe-area-inset-right, 0px));
  background: transparent;
  border: none;
  z-index: 1;
  pointer-events: none;
}

.site-footer.footer .footer__shell {
  pointer-events: auto;
}

.site-footer.footer.site-footer--inline {
  margin-top: 1.75rem;
}

@media (min-width: 768px) {
  .site-footer.footer.site-footer--inline {
    display: none !important;
  }

  .site-footer.footer.site-footer--dock,
  .site-footer.footer:not(.site-footer--inline) {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    padding: 0 max(1rem, env(safe-area-inset-left, 0px)) max(0.75rem, env(safe-area-inset-bottom, 0px))
      max(1rem, env(safe-area-inset-right, 0px));
    background: transparent;
  }
}

@media (max-width: 767px) {
  .site-footer.footer.site-footer--dock {
    display: none !important;
  }

  .site-footer.footer {
    padding: 0 max(0.85rem, env(safe-area-inset-left, 0px)) max(0.65rem, env(safe-area-inset-bottom, 0px))
      max(0.85rem, env(safe-area-inset-right, 0px));
  }

  .footer__inner {
    gap: 0.45rem;
    padding: 0.5rem 0.65rem;
  }

  .footer__brand {
    gap: 0.25rem;
  }

  .footer__copy {
    font-size: 0.6875rem;
    line-height: 1.3;
  }

  .footer__links {
    gap: 0.5rem 0.85rem;
    row-gap: 0.35rem;
    justify-content: center;
  }

  .footer__links a {
    font-size: 0.6875rem;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  .footer__social {
    gap: 0.5rem;
  }

  .footer__icon {
    width: 2rem;
    height: 2rem;
  }

  .footer__icon .icon {
    width: 16px;
    height: 16px;
  }
}

.panel.stats {
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel.showcase,
.panel.download {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 767px) {
  .panel.download {
    justify-content: flex-start;
    padding-bottom: 0.5rem;
  }
}

.panel.features {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.footer__inner {
  max-width: none;
  margin: 0;
  padding: 0.65rem 1rem 0.65rem 1.125rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
    text-align: left;
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

@media (min-width: 768px) {
  .footer__brand {
    align-items: flex-start;
  }
}

.footer__copy {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(210, 194, 210, 0.6);
  letter-spacing: 0.02em;
}

.footer__copy a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(237, 177, 255, 0.35);
  text-underline-offset: 0.15em;
}

.footer__copy a:hover,
.footer__copy a:focus-visible {
  color: var(--color-primary);
  text-decoration-color: var(--color-primary);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer__links {
    gap: 3rem;
  }
}

/* Footer metin linkleri — nav ile aynı hover / alt çizgi animasyonu */
.footer__links a {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--color-on-surface-variant);
  position: relative;
  padding: 0.2rem 0 0.35rem;
  transition: color 0.35s var(--ease-out);
}

.footer__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-container));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease-out);
  pointer-events: none;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: var(--color-on-surface);
}

.footer__links a:hover::after,
.footer__links a:focus-visible::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .footer__links a,
  .footer__links a::after {
    transition-duration: 0.01ms;
  }
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-on-surface-variant);
  transition:
    border-color 0.3s var(--ease-out),
    color 0.3s var(--ease-out),
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}

.footer__icon:hover,
.footer__icon:focus-visible {
  border-color: rgba(237, 177, 255, 0.45);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(95, 0, 128, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  .footer__icon {
    transition-duration: 0.01ms;
  }

  .footer__icon:hover,
  .footer__icon:focus-visible {
    transform: none;
  }
}

/* Yasal sayfalar (gizlilik, koşullar) — landing ile aynı site-header / footer */
body.legal-page {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding-top: var(--nav-h);
  padding-bottom: 0;
}

@media (min-width: 768px) {
  body.legal-page {
    padding-bottom: var(--footer-h);
  }
}

.legal-main {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.legal-content h1 {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  color: var(--color-on-surface);
}

.legal-updated {
  margin: 0 0 2rem;
  font-size: 0.875rem;
  color: var(--color-on-surface-variant);
}

.legal-content h2 {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--color-on-surface);
}

.legal-content h2:first-of-type {
  margin-top: 1.5rem;
}

.legal-content p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(229, 226, 225, 0.92);
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(229, 226, 225, 0.92);
}

.legal-content li {
  margin-bottom: 0.35rem;
}

.legal-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--color-on-surface);
}

.legal-content h3 {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
  color: var(--color-on-surface);
}

.help-section {
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}

.help-toc {
  margin: 0 0 2rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.help-toc__title {
  font-family: var(--font-headline);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
  color: var(--color-on-surface-variant);
}

.help-toc .help-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.help-toc .help-toc__list a {
  font-size: 0.875rem;
  text-decoration: none;
}

.help-toc .help-toc__list a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .hero {
    padding-top: 0.75rem;
    padding-bottom: 1.25rem;
  }

  .hero__title {
    font-size: clamp(1.45rem, 6.5vw, 2.5rem);
  }

  .download__stores {
    width: 100%;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
    gap: 0.5rem;
  }

  .download__stores .btn--store {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 0;
    justify-content: center;
    font-size: 0.8125rem;
    padding: 0.5rem 0.65rem;
  }

  .stats__inner {
    gap: 2rem;
  }

  .stats__value {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .showcase__grid {
    gap: 2rem;
  }

  .section-lead {
    font-size: 1rem;
  }

  .showcase__copy .section-lead {
    font-size: 1rem;
  }

  .feature-cards__item {
    padding: 1rem 1.125rem;
  }

  .features__grid {
    gap: 1.25rem;
  }

  .features__card {
    padding: 1.25rem;
  }

  .features__card--wide {
    min-height: auto;
    padding: 1.5rem 1.25rem;
  }

  .features__card--wide .features__heading {
    font-size: 1.375rem;
  }

  .features__card--wide .features__text {
    font-size: 1rem;
  }

  .features__card--split {
    gap: 1.25rem;
  }

  .features__fingerprint {
    min-height: 8rem;
  }

  .panel.features {
    padding-top: 1.25rem;
    padding-bottom: 2rem;
  }

  .download__card {
    padding: 1.25rem 1rem;
    gap: 2rem;
  }

  .download__qr-box {
    padding: 1.25rem;
  }

  .download__qr-inner {
    width: min(12rem, 85vw);
    height: min(12rem, 85vw);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .legal-main {
    padding: 1.75rem max(1rem, env(safe-area-inset-left, 0px)) 3rem max(1rem, env(safe-area-inset-right, 0px));
  }

  .legal-content h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
}

::selection {
  background: rgba(237, 177, 255, 0.2);
  color: var(--color-primary);
}
