/* burada.app tanıtım sayfası — uygulamanın "Yörünge" tasarımı (apps/mobile/src/constants/theme.ts) */

@font-face { font-family: Geist; src: url("fonts/geist-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Geist; src: url("fonts/geist-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Geist; src: url("fonts/geist-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Geist; src: url("fonts/geist-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light dark;
  --text: #0b0c0e;
  --text-2: #6e7380;
  --text-3: #a1a6b0;
  --bg: #ffffff;
  --grouped: #f4f5f7;
  --element: #f1f2f5;
  --card: #ffffff;
  --border: #e6e8ec;
  --accent: #1d6bf3;
  --accent-pressed: #1556c8;
  --accent-soft: #e8f0fe;
  --accent-soft-text: #1556c8;
  --live: #ff5b3a;
  --live-soft: #fff1ed;
  --live-halo: #ffe3dc;
  --live-text: #d0452a;
  --orbit: #eef1f6;
  --orbit-dot: rgba(15, 23, 42, 0.07);
  --orbit-ring: rgba(15, 23, 42, 0.09);
  --glass: rgba(255, 255, 255, 0.86);
  --glass-border: rgba(15, 23, 42, 0.06);
  --shadow: 15, 23, 42;
  --purple: #7c5cff;
  --green: #30b46c;
  --radius: 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f5f5f7;
    --text-2: #8a8f98;
    --text-3: #5f646c;
    --bg: #0a0a0b;
    --grouped: #0a0a0b;
    --element: #1c1c1f;
    --card: #141416;
    --border: #24262b;
    --accent: #3d84ff;
    --accent-pressed: #2b6fe6;
    --accent-soft: rgba(61, 132, 255, 0.16);
    --accent-soft-text: #8cb6ff;
    --live: #ff6a4d;
    --live-soft: rgba(255, 106, 77, 0.09);
    --live-halo: rgba(255, 106, 77, 0.18);
    --live-text: #ff8a70;
    --orbit: #0f1013;
    --orbit-dot: rgba(255, 255, 255, 0.06);
    --orbit-ring: rgba(255, 255, 255, 0.09);
    --glass: rgba(30, 30, 33, 0.82);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow: 0, 0, 0;
    --purple: #8f74ff;
    --green: #3cc47c;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: Geist, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.icon { flex: none; }
.muted { color: var(--text-2); font-size: 14px; }
.center { text-align: center; }

/* --- Üst menü (uygulamanın yüzen cam menüsü) --- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--glass-border);
}
.nav-inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand svg { border-radius: 8px; }
.nav-links { display: none; gap: 4px; margin-left: auto; }
.nav-links a { color: var(--text-2); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav-links a:hover { color: var(--text); background: var(--element); text-decoration: none; }
.lang {
  margin-left: auto; color: var(--text); font-weight: 600; font-size: 14px;
  padding: 7px 12px; border-radius: 999px; background: var(--element);
}
.lang:hover { text-decoration: none; background: var(--border); }
@media (min-width: 760px) {
  .nav-links { display: flex; }
  .lang { margin-left: 8px; }
}

/* --- Düğmeler --- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 16px;
  font-weight: 600; font-size: 16px; letter-spacing: -0.01em;
  transition: background 0.15s, transform 0.15s;
}
.button:hover { text-decoration: none; }
.button:active { transform: scale(0.98); }
.button.primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px -10px rgba(29, 107, 243, 0.7); }
.button.primary:hover { background: var(--accent-pressed); }
.button.ghost { background: var(--card); color: var(--text); border: 1px solid var(--border); }
.button.ghost:hover { background: var(--element); }

/* --- Giriş --- */
.hero { position: relative; overflow: hidden; background: var(--orbit); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(var(--orbit-dot) 1.5px, transparent 1.6px);
  background-size: 22px 22px;
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; gap: 40px; padding-top: 40px; padding-bottom: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--border);
  font-size: 14px; font-weight: 600; color: var(--live-text);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px var(--live-halo); }
.hero h1 { margin-top: 18px; font-size: clamp(36px, 9vw, 64px); line-height: 1.04; font-weight: 700; letter-spacing: -0.035em; }
.lead { margin-top: 16px; font-size: clamp(17px, 2.2vw, 20px); color: var(--text-2); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta .button { flex: 1 1 auto; }
@media (min-width: 480px) { .cta .button { flex: 0 0 auto; } }

.hero-text { position: relative; z-index: 3; }
.hero-visual { position: relative; display: grid; place-items: end center; min-height: 420px; }
.orbit { position: absolute; left: 50%; top: 52%; width: 0; height: 0; }
.orbit span {
  position: absolute; border-radius: 50%; transform: translate(-50%, -50%);
  border: 1px solid var(--orbit-ring);
}
.orbit span:nth-child(1) { width: 660px; height: 660px; background: color-mix(in srgb, var(--card) 55%, transparent); }
.orbit span:nth-child(2) { width: 440px; height: 440px; background: var(--live-soft); border-color: var(--live-halo); }
.orbit span:nth-child(3) { width: 220px; height: 220px; border-color: var(--live-halo); }

/* --- Telefon çerçevesi --- */
.phone {
  position: relative; width: 100%; max-width: 300px; margin: 0;
  padding: 8px; border-radius: 36px;
  background: #121316;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset, 0 30px 60px -20px rgba(var(--shadow), 0.45), 0 12px 24px -12px rgba(var(--shadow), 0.3);
}
.phone::after { /* yan tuş */
  content: ""; position: absolute; right: -3px; top: 22%; width: 3px; height: 64px;
  border-radius: 0 3px 3px 0; background: #2a2c31;
}
.phone-screen { overflow: hidden; border-radius: 28px; aspect-ratio: 9 / 16; background: var(--element); }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.hero .phone.front { z-index: 2; width: 72%; max-width: 300px; margin-bottom: -60px; }
.hero .phone.back { display: none; }
@media (min-width: 560px) {
  .hero .phone.front { width: 300px; }
  .hero .phone.back {
    display: block; position: absolute; z-index: 1; width: 250px;
    bottom: 40px; left: calc(50% + 40px); transform: rotate(6deg); opacity: 0.96;
  }
  .hero .phone.front { transform: translateX(-70px); }
}
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; padding-top: 64px; }
  .hero h1 { font-size: 56px; }
  .hero-text { padding-bottom: 96px; }
  .hero-visual { min-height: 640px; }
  .hero .phone.front { width: 310px; max-width: 310px; transform: translateX(-60px); margin-bottom: -40px; }
  .hero .phone.back { width: 260px; left: calc(50% + 30px); bottom: 70px; }
}

/* --- Bölümler --- */
.section { padding: 88px 0; }
.section.grouped { background: var(--grouped); }
@media (prefers-color-scheme: dark) { .section.grouped { background: #0f1013; } }
.section h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(28px, 5vw, 40px); line-height: 1.1; font-weight: 700; }
.section h2 .icon { color: var(--accent); }
.section-lead { margin-top: 12px; color: var(--text-2); font-size: 18px; max-width: 40em; }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 24px;
  box-shadow: 0 1px 2px rgba(var(--shadow), 0.04);
}
.card h3 { margin-top: 16px; font-size: 20px; font-weight: 600; }
.card p { margin-top: 8px; color: var(--text-2); font-size: 16px; }
.tile {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent);
}
.tile.solid { background: var(--accent); color: #fff; }

.steps, .privacy { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 860px) { .steps, .privacy { grid-template-columns: repeat(3, 1fr); } }
.step-head { display: flex; align-items: center; justify-content: space-between; }
.step-no { font-size: 15px; font-weight: 600; color: var(--text-3); }
.privacy li:nth-child(2) .tile { background: var(--live); }
.privacy li:nth-child(3) .tile { background: var(--purple); }

/* --- Galeri: mobilde yatay kaydırma, masaüstünde dört sütun --- */
.gallery-section { padding-top: 24px; }
.gallery {
  list-style: none; margin: 32px -16px 0; padding: 8px 16px 24px;
  display: grid; grid-auto-flow: column; grid-auto-columns: min(72%, 260px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery li { scroll-snap-align: center; }
.gallery figure { margin: 0; }
.gallery .phone { max-width: none; padding: 7px; border-radius: 32px; }
.gallery .phone-screen { border-radius: 25px; }
.gallery figcaption { margin-top: 18px; color: var(--text-2); font-size: 15px; }
.gallery figcaption strong { display: block; color: var(--text); font-weight: 600; font-size: 17px; }
@media (min-width: 960px) {
  .gallery { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 40px 0 0; padding: 0 0 24px; }
}

/* --- İndirme --- */
.download { display: grid; gap: 28px; padding: 28px; }
.download-main { display: grid; gap: 20px; align-items: start; }
.download-main p { margin: 10px 0 22px; }
.download h2 { font-size: clamp(26px, 4.5vw, 34px); }
.app-icon svg { border-radius: 18px; box-shadow: 0 12px 28px -12px rgba(29, 107, 243, 0.6); }
.soon { display: grid; gap: 12px; align-content: start; }
.soon-badge {
  display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px;
  border-radius: 16px; border: 1px dashed var(--border); background: var(--grouped);
}
.soon-badge .tile { width: 40px; height: 40px; border-radius: 12px; background: var(--element); color: var(--text-2); }
.soon-badge small { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); }
.soon-badge strong { font-size: 17px; font-weight: 600; color: var(--text-2); }
@media (min-width: 720px) {
  .download { grid-template-columns: 1.4fr 1fr; padding: 40px; align-items: center; }
  .download-main { grid-template-columns: auto 1fr; }
}

/* --- Alt bilgi --- */
.footer { border-top: 1px solid var(--border); padding: 48px 0 32px; font-size: 14px; color: var(--text-2); }
.footer-inner { display: grid; gap: 32px; }
.footer h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--text-2); }
.footer a:hover { color: var(--text); }
.footer-brand p { margin-top: 12px; max-width: 30em; }
.footer .adult { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 500; }
.footer .adult::before {
  content: "18+"; display: inline-grid; place-items: center; min-width: 38px; height: 24px; padding: 0 6px;
  border-radius: 8px; background: var(--live-soft); color: var(--live-text); font-size: 12px; font-weight: 700;
}
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); display: grid; gap: 8px; font-size: 13px; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1.6fr 1fr 1fr; } }
