/* ==========================================================================
   Livabahis — Modern mobil uygulama sitesi
   Renkler: #0b1120 (gece) · #f7b928 (altın)
   ========================================================================== */

:root {
  --bg: #060a14;
  --bg-soft: #0b1120;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --gold: #f7b928;
  --gold-light: #ffd76a;
  --gold-deep: #e8a70e;
  --text: #eef2f8;
  --muted: #98a5ba;
  --muted-2: #6f7d93;
  --green: #38d996;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 30px;
  --container: 1180px;
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow-gold: 0 18px 44px -14px rgba(247, 185, 40, 0.45);
  --ease: cubic-bezier(0.22, 0.7, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
[hidden] { display: none !important; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0;
}
p { margin: 0; }
::selection { background: rgba(247, 185, 40, 0.35); color: #fff; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Background ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 760px at 82% -12%, rgba(247, 185, 40, 0.10), transparent 62%),
    radial-gradient(900px 700px at -12% 32%, rgba(247, 185, 40, 0.055), transparent 60%),
    radial-gradient(800px 600px at 50% 115%, rgba(247, 185, 40, 0.05), transparent 65%),
    linear-gradient(180deg, #060a14 0%, #0a1020 45%, #060a14 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 78%);
}

/* ---------- Utilities ---------- */
.wrap {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: #0b1120;
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex: none; }

.grad-text {
  background: linear-gradient(104deg, #ffe9ac 0%, #ffcf58 40%, #f7b928 68%, #e8a70e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(56, 217, 150, 0.16);
  animation: pulse 2.2s ease-in-out infinite;
}

.sect-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 62px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sect-head.center {
  margin-inline: auto;
  text-align: center;
  align-items: center;
}
.sect-head h2 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
.sect-head p {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 58ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--gold {
  background: linear-gradient(135deg, #ffd25c 0%, #f7b928 52%, #eaa70c 100%);
  color: #10151f;
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 52px -16px rgba(247, 185, 40, 0.6);
}
.btn--ghost {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  backdrop-filter: blur(12px);
}
.btn--ghost:hover {
  border-color: rgba(247, 185, 40, 0.45);
  background: rgba(247, 185, 40, 0.07);
  transform: translateY(-2px);
}
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[hidden] { display: none !important; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(6, 10, 20, 0.74);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.nav {
  position: relative;
  z-index: 2;
  height: 82px;
  display: flex;
  align-items: center;
  gap: 44px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; margin-left: 6px; }
.nav-links a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: #c6d0e0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { min-height: 44px; padding: 0 20px; font-size: 0.9rem; }

.menu-toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.menu-toggle span {
  position: absolute;
  top: 50%; left: 50%;
  width: 18px; height: 1.8px;
  background: var(--text);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.28s var(--ease);
}
.menu-toggle span:first-child { transform: translate(-50%, calc(-50% - 3.6px)); }
.menu-toggle span:last-child { transform: translate(-50%, calc(-50% + 3.6px)); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: rgba(4, 7, 13, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}
.menu-backdrop.is-open { opacity: 1; visibility: visible; }

.mobile-menu {
  position: absolute;
  z-index: 3;
  top: calc(100% + 10px);
  left: 14px; right: 14px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(10, 16, 30, 0.96);
  border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);
  display: none;
  animation: menuIn 0.28s var(--ease);
}
.mobile-menu.is-open { display: block; }
.mobile-menu a.m-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6px;
  font-size: 1.02rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mobile-menu a.m-link:last-of-type { border-bottom: 0; }
.mobile-menu .m-cta { display: grid; gap: 10px; margin-top: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(140px, 16vw, 190px) 0 0;
  overflow-x: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(60px, 8vw, 100px);
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  letter-spacing: -0.045em;
}
.hero h1 span { display: block; }
.hero-sub {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.13rem);
  max-width: 46ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--muted);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .icon { width: 15px; height: 15px; color: var(--gold); }

/* Telefon */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 660px;
  perspective: 1400px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  width: 540px; height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 185, 40, 0.20), transparent 64%);
  filter: blur(26px);
}
.hero-visual::after {
  content: "";
  position: absolute;
  width: 580px; height: 580px;
  border-radius: 50%;
  border: 1px dashed rgba(247, 185, 40, 0.20);
  animation: spin 60s linear infinite;
}

.phone {
  --pw: 304px;
  position: relative;
  z-index: 2;
  width: var(--pw);
  aspect-ratio: 9 / 19;
  border-radius: 46px;
  padding: 9px;
  background: linear-gradient(160deg, #3b4458 0%, #0d1422 38%, #1a2232 100%);
  border: 1px solid rgba(247, 185, 40, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.65),
    0 60px 100px -34px rgba(0, 0, 0, 0.88),
    0 0 90px rgba(247, 185, 40, 0.10);
  animation: float 7s ease-in-out infinite;
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 38px;
  background: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.055);
  overflow: hidden;
  padding: 20px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.p-notch {
  position: absolute;
  top: 9px; left: 50%;
  transform: translateX(-50%);
  width: 86px; height: 21px;
  border-radius: 999px;
  background: #04070d;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.p-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 600;
  color: #c9d4e4;
  padding: 0 4px;
}
.p-sig { display: inline-flex; align-items: flex-end; gap: 2px; }
.p-sig i {
  width: 3px;
  border-radius: 1px;
  background: #c9d4e4;
}
.p-sig i:nth-child(1) { height: 4px; }
.p-sig i:nth-child(2) { height: 6px; }
.p-sig i:nth-child(3) { height: 8px; }
.p-sig i:nth-child(4) { height: 10px; }
.p-logo { width: 96px; margin: 16px auto 2px; }
.p-tags {
  display: flex;
  justify-content: center;
  gap: 7px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.p-tags i { color: rgba(247, 185, 40, 0.55); font-style: normal; }
.p-btn {
  height: 41px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffd25c, #f7b928);
  color: #0b1120;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.p-btn.ghost {
  background: transparent;
  border: 1px solid rgba(247, 185, 40, 0.75);
  color: var(--gold);
}
.p-label {
  margin-top: 10px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}
.p-match {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.p-lines { display: grid; gap: 6px; flex: 1; }
.p-lines span {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}
.p-lines span:nth-child(1) { width: 78%; }
.p-lines span:nth-child(2) { width: 48%; background: rgba(255, 255, 255, 0.08); }
.p-odd {
  flex: none;
  min-width: 48px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #dbe3ef;
  font-size: 10.5px;
  font-weight: 700;
}
.p-odd.hot { background: linear-gradient(135deg, #ffd25c, #f7b928); color: #0b1120; }
.p-dock {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.p-dock span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.p-dock span.on { width: 18px; border-radius: 999px; background: var(--gold); }

.fcard {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(23, 31, 48, 0.94), rgba(8, 13, 23, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 26px 60px -26px rgba(0, 0, 0, 0.9);
  animation: float 6.4s ease-in-out infinite;
}
.fcard .fi {
  width: 34px; height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(247, 185, 40, 0.13);
  color: var(--gold);
  flex: none;
}
.fcard .fi .icon { width: 17px; height: 17px; }
.fcard strong { display: block; font-size: 0.8rem; font-weight: 600; }
.fcard small { display: block; font-size: 0.67rem; color: var(--muted); margin-top: 1px; }
.fcard-a { top: 7%; left: -7%; animation-delay: -1.6s; }
.fcard-b { bottom: 11%; right: -6%; animation-delay: -3.1s; }
.odd-badge {
  margin-left: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(247, 185, 40, 0.14);
  border: 1px solid rgba(247, 185, 40, 0.38);
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  width: 104%;
  margin-left: -2%;
  transform: rotate(-1.1deg);
  background: linear-gradient(90deg, #eaa70c, #ffd25c 30%, #f7b928 55%, #ffd25c 80%, #eaa70c);
  color: #0b1120;
  border-block: 1px solid rgba(0, 0, 0, 0.18);
  overflow: hidden;
  box-shadow: 0 18px 60px -22px rgba(247, 185, 40, 0.45);
}
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 13px 34px 13px 0;
  white-space: nowrap;
}
.marquee-group span {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.marquee-group .sep { opacity: 0.55; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 130px) 0; }
.section--tight { padding: clamp(56px, 8vw, 90px) 0; }

/* ---------- Features / bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.card {
  position: relative;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 246px;
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018) 60%);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
    background 0.35s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px 200px at 85% 0%, rgba(247, 185, 40, 0.10), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(247, 185, 40, 0.32);
}
.card:hover::after { opacity: 1; }
.card--wide { grid-column: span 3; min-height: 300px; }
.card .c-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: linear-gradient(160deg, rgba(247, 185, 40, 0.16), rgba(247, 185, 40, 0.05));
  border: 1px solid rgba(247, 185, 40, 0.22);
  flex: none;
}
.card .c-icon .icon { width: 21px; height: 21px; }
.card h3 { font-size: 1.22rem; letter-spacing: -0.02em; }
.card p { color: var(--muted); font-size: 0.9rem; max-width: 40ch; }
.card .spacer { margin-top: auto; }

.mini-board { display: grid; gap: 8px; margin-top: auto; }
.mini-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.055);
}
.mini-row .bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}
.mini-row .bar:nth-child(1) { width: 42%; }
.mini-row .bar:nth-child(2) { width: 26%; background: rgba(255, 255, 255, 0.075); }
.mini-row b {
  margin-left: auto;
  font-size: 0.76rem;
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(247, 185, 40, 0.1);
  border: 1px solid rgba(247, 185, 40, 0.25);
}
.card--wide .c-live {
  position: absolute;
  top: 24px; right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--green);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.chip {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(247, 185, 40, 0.07);
  border: 1px solid rgba(247, 185, 40, 0.26);
}

/* ---------- Showcase ---------- */
.showcase { padding: clamp(20px, 4vw, 40px) 0 clamp(60px, 9vw, 110px); }
.showcase-frame {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 50px 110px -50px rgba(0, 0, 0, 0.9), 0 0 70px -20px rgba(247, 185, 40, 0.12);
}
.showcase-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  pointer-events: none;
}
.showcase-frame img { width: 100%; height: auto; }

/* ---------- Install ---------- */
.install-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}
.install-head .sect-head { margin-bottom: 0; }
.tabbar {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
}
.tab {
  min-height: 42px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}
.tab .icon { width: 16px; height: 16px; }
.tab[aria-selected="true"] {
  background: linear-gradient(135deg, #ffd25c, #f7b928);
  color: #10151f;
  box-shadow: 0 8px 22px -8px rgba(247, 185, 40, 0.55);
}
.tab:not([aria-selected="true"]):hover { color: #fff; }

.install-panel[hidden] { display: none; }

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 13px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.step:hover { border-color: rgba(247, 185, 40, 0.3); transform: translateY(-4px); }
.step-media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #000;
  aspect-ratio: 946 / 2048;
}
.step-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.step-body { display: flex; flex-direction: column; gap: 6px; padding: 0 4px 4px; }
.step-num {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.step h3 { font-size: 1.02rem; }
.step p { font-size: 0.83rem; color: var(--muted); line-height: 1.5; }

.install-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.install-foot p { color: var(--muted); font-size: 0.9rem; }
.install-foot strong { color: var(--text); font-weight: 600; }

.android-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 80% 10%, rgba(247, 185, 40, 0.08), transparent 65%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
}
.android-steps { display: flex; flex-direction: column; gap: 8px; }
.android-step {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s;
}
.android-step:hover { background: rgba(255, 255, 255, 0.035); border-color: var(--line); }
.android-step .num {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(247, 185, 40, 0.1);
  border: 1px solid rgba(247, 185, 40, 0.28);
}
.android-step h3 { font-size: 1rem; margin-bottom: 3px; }
.android-step p { font-size: 0.86rem; color: var(--muted); }
.app-tile {
  justify-self: center;
  width: min(260px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 64px 44px;
  border-radius: 32px;
  text-align: center;
  background:
    radial-gradient(280px 200px at 50% 0%, rgba(247, 185, 40, 0.18), transparent 70%),
    linear-gradient(180deg, #101827, #0a101c);
  border: 1px solid rgba(247, 185, 40, 0.22);
  box-shadow: 0 40px 90px -36px rgba(0, 0, 0, 0.9);
}
.app-tile img {
  width: 92px; height: 92px;
  border-radius: 24px;
  box-shadow: 0 18px 40px -14px rgba(247, 185, 40, 0.5);
}
.app-tile strong { font-family: var(--font-display); font-size: 0.98rem; }
.app-tile span { font-size: 0.72rem; color: var(--muted-2); }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.faq-item[open] { border-color: rgba(247, 185, 40, 0.3); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--gold);
  transition: transform 0.3s var(--ease), background 0.3s;
}
.faq-icon .icon { width: 14px; height: 14px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: rgba(247, 185, 40, 0.1); }
.faq-answer {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 0.93rem;
  max-width: 68ch;
}
.faq-answer a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Final CTA ---------- */
.cta-section { padding: clamp(40px, 7vw, 80px) 0 clamp(80px, 10vw, 120px); }
.cta-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(46px, 8vw, 86px) 24px;
  border-radius: 36px;
  background:
    radial-gradient(720px 360px at 50% -10%, rgba(247, 185, 40, 0.20), transparent 65%),
    radial-gradient(600px 320px at 50% 120%, rgba(247, 185, 40, 0.10), transparent 60%),
    linear-gradient(180deg, #101827, #0a101c);
  border: 1px solid rgba(247, 185, 40, 0.22);
  box-shadow: 0 60px 130px -60px rgba(0, 0, 0, 0.9);
}
.cta-card::before,
.cta-card::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(247, 185, 40, 0.14);
  pointer-events: none;
}
.cta-card::before { width: 560px; height: 560px; top: -330px; }
.cta-card::after { width: 760px; height: 760px; top: -430px; border-color: rgba(247, 185, 40, 0.07); }
.cta-card > * { position: relative; z-index: 1; }
.cta-card .cta-logo { width: 128px; margin: 0 auto 22px; }
.cta-card h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 16ch; margin-inline: auto; }
.cta-card p { color: var(--muted); margin: 16px auto 30px; max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-note {
  margin-top: 22px;
  font-size: 0.75rem;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 26px;
  background: rgba(4, 7, 13, 0.45);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer-brand img { height: 30px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 0.87rem; max-width: 30ch; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 14px;
}
.footer-col ul { display: grid; gap: 9px; }
.footer-col a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  color: var(--muted-2);
}
.footer-bottom .age-badge {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
}
.footer-bottom .dot { opacity: 0.4; }
.footer-bottom .right { margin-left: auto; }

/* ---------- Reveal ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0s);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Hero load-in ---------- */
.hero-copy > * { animation: riseIn 0.8s var(--ease) both; }
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.19s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.26s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.33s; }
.hero-visual { animation: riseIn 1s var(--ease) 0.15s both; }

/* ==========================================================================
   Download / kurulum sayfası
   ========================================================================== */
.dl-body { min-height: 100svh; display: flex; flex-direction: column; }
.dl-header { padding: 22px 0; }
.dl-header .nav { height: auto; justify-content: space-between; gap: 20px; }
.dl-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--muted);
  transition: color 0.2s;
}
.dl-back:hover { color: var(--gold); }
.dl-back .icon { width: 16px; height: 16px; transform: rotate(180deg); }
.dl-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 26px 0 clamp(50px, 8vw, 90px);
}
.dl-card {
  width: min(980px, 100%);
  border-radius: 32px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  box-shadow: 0 70px 140px -70px rgba(0, 0, 0, 0.95);
}
.dl-content {
  padding: clamp(30px, 4.6vw, 52px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.dl-content h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.dl-content .lead { color: var(--muted); font-size: 0.95rem; }
.dl-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(247, 185, 40, 0.28);
  background: rgba(247, 185, 40, 0.07);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
}
.dl-platform { display: flex; flex-direction: column; gap: 12px; }
.dl-platform[hidden] { display: none; }
.dl-platform h2 {
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
}
.dl-steps { display: flex; flex-direction: column; gap: 12px; counter-reset: dlstep; }
.dl-steps li {
  counter-increment: dlstep;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}
.dl-steps li::before {
  content: counter(dlstep);
  flex: none;
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(247, 185, 40, 0.1);
  border: 1px solid rgba(247, 185, 40, 0.28);
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 700;
}
.dl-steps strong { color: var(--text); font-weight: 600; }
.dl-steps .inline-icon {
  width: 17px; height: 17px;
  vertical-align: -3px;
  color: var(--gold);
  display: inline-block;
}
.dl-warn {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.82rem;
  color: #ffd76a;
  background: rgba(247, 185, 40, 0.07);
  border: 1px solid rgba(247, 185, 40, 0.22);
}
.dl-warn[hidden] { display: none; }
.dl-fine {
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.72rem;
  color: var(--muted-2);
}
.dl-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 34px;
  background:
    radial-gradient(480px 300px at 65% 0%, rgba(247, 185, 40, 0.20), transparent 62%),
    linear-gradient(200deg, rgba(255, 255, 255, 0.02), rgba(247, 185, 40, 0.03));
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}
.dl-shot {
  width: min(268px, 78%);
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 50px 90px -34px rgba(0, 0, 0, 0.9), 0 0 60px -18px rgba(247, 185, 40, 0.18);
}
.dl-visual-note {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  text-align: center;
}

/* ---------- Animations ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 4px rgba(56, 217, 150, 0.16); }
  50% { opacity: 0.75; box-shadow: 0 0 0 7px rgba(56, 217, 150, 0.06); }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes menuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav-links { gap: 22px; }
  .nav-actions .btn--ghost { display: none; }
  .fcard-a { left: -2%; }
  .fcard-b { right: -1%; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { align-items: center; text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { min-height: 620px; width: min(620px, 100%); margin-inline: auto; }
  .hero-visual::after { width: 520px; height: 520px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .android-grid { grid-template-columns: 1fr; }
  .app-tile { order: -1; width: min(260px, 70%); padding: 44px 32px; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-toggle { display: grid; }
  .nav { gap: 16px; height: 74px; }
  .brand img { height: 30px; }
  .nav-actions .btn { min-height: 42px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card, .card--wide { grid-column: span 1; min-height: 240px; }
  .card--wide { grid-column: span 2; min-height: 260px; }
  .install-head { align-items: flex-start; flex-direction: column; }
  .dl-card { grid-template-columns: 1fr; }
  .dl-visual { order: -1; padding: 26px 26px 40px; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .dl-shot { width: min(220px, 60%); }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 40px); }
  .steps { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .step { flex: 0 0 172px; scroll-snap-align: start; }
  .bento { grid-template-columns: 1fr; }
  .card, .card--wide { grid-column: span 1; min-height: 0; }
  .showcase { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { font-size: 0.72rem; }
  .footer-bottom .right { margin-left: 0; width: 100%; }
  .hero { padding-top: 124px; }
  .hero-visual { min-height: 560px; }
  .hero-visual::before { width: 340px; height: 340px; }
  .hero-visual::after { width: 350px; height: 350px; }
  .phone { --pw: 264px; }
  .fcard { padding: 10px 13px; border-radius: 15px; }
  .fcard small { display: none; }
  .fcard-a { top: 2%; left: -2%; }
  .fcard-b { bottom: 4%; right: -2%; }
  .odd-badge { margin-left: 2px; }
  .cta-actions .btn { width: 100%; }
  .marquee-group { gap: 24px; padding-right: 24px; padding-block: 11px; }
  .marquee-group span { font-size: 0.74rem; }
}

@media (max-width: 400px) {
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .fcard-b { display: none; }
  .phone { --pw: 246px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html.js [data-reveal] { opacity: 1; transform: none; }
}
