/* Başlık fontu Baloo 2, gövde fontu Nunito. Her ikisi de latin + latin-ext
   alt kümeleriyle: latin-ext olmadan ğ Ğ ş Ş İ harfleri fontta bulunmaz ve
   tarayıcı onları başka bir fontla çizer (22 Ağustos 2026'da Fredoka bu
   yüzden bırakıldı — Fredoka Türkçe karakterleri hiç içermiyor). */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  /* Değişken font: 400–800 arası tüm ağırlıklar tek dosyada. */
  font-weight: 400 800;
  src: url('/fonts/baloo2-latin.woff2') format('woff2');
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  /* Değişken font: 400–800 arası tüm ağırlıklar tek dosyada. */
  font-weight: 400 800;
  src: url('/fonts/baloo2-latin-ext.woff2') format('woff2');
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  /* Değişken font: 400–800 arası tüm ağırlıklar tek dosyada. */
  font-weight: 400 800;
  src: url('/fonts/nunito-latin.woff2') format('woff2');
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  /* Değişken font: 400–800 arası tüm ağırlıklar tek dosyada. */
  font-weight: 400 800;
  src: url('/fonts/nunito-latin-ext.woff2') format('woff2');
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;

  /* Fetcho'nun gerçek uygulama kimliği — AppColors.swift'ten birebir */
  --shell-top: #1e4d2e;
  --shell-bottom: #143822;
  --ink-deep: #0D3B1E;
  --accent: #4ade80;
  --accent-soft: #86efac;
  --warm: #F4A261;

  --text-strong: rgba(255, 255, 255, 0.96);
  --text-primary: rgba(255, 255, 255, 0.92);
  --text-secondary: rgba(255, 255, 255, 0.66);
  --text-muted: rgba(255, 255, 255, 0.52);
  --text-faint: rgba(255, 255, 255, 0.38);

  --glass-surface: rgba(255, 255, 255, 0.06);
  --glass-surface-strong: rgba(255, 255, 255, 0.09);
  --glass-border: rgba(255, 255, 255, 0.12);
  --card-bg: rgba(8, 22, 14, 0.55);

  /* Karşılama ekranıyla birebir aynı gökyüzü → çimen gradyanı */
  --hero-gradient: linear-gradient(
    170deg,
    #5aadd8 0%,
    #4898c8 20%,
    #68b0cc 34%,
    #58a885 50%,
    #38981e 65%,
    #267a14 80%,
    #164e0c 100%
  );
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--shell-top) 0%, var(--shell-bottom) 100%);
  color: var(--text-primary);
  font-family: 'Nunito', ui-sans-serif, system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(74, 222, 128, 0.28);
}

a {
  color: var(--accent-soft);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-strong);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  font-size: 22px;
}

.brand:hover {
  text-decoration: none;
  color: var(--text-strong);
}

/* Uygulamanın gerçek App Store ikonu. iOS ana ekranındaki gibi yuvarlatılmış
   köşe; koyu yeşil başlık üzerinde sınırı belli olsun diye ince bir çerçeve. */
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: block;
  flex: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 2px 8px rgba(4, 16, 9, 0.35);
}

nav {
  display: flex;
  gap: 22px;
}

nav a {
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 14.5px;
}

nav a:hover {
  color: var(--accent-soft);
  text-decoration: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--hero-gradient);
  overflow: clip;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% -10%, rgba(255, 255, 255, 0.16), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.7fr);
  gap: 48px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 24px 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-copy h1 {
  margin: 0 0 20px;
  max-width: 640px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.12);
}

.hero-copy p {
  max-width: 520px;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  font-weight: 600;
}

/* ---------- Waitlist form ---------- */

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.waitlist-form input {
  min-width: 240px;
  flex: 1 1 280px;
  height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font: inherit;
  font-size: 16px;
  backdrop-filter: blur(6px);
}

.waitlist-form input::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.waitlist-form input:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.waitlist-form button {
  border: none;
  cursor: pointer;
  font: inherit;
}

.waitlist-form button:disabled {
  opacity: 0.6;
  cursor: default;
}

.waitlist-status {
  min-height: 22px;
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.waitlist-status.success {
  color: #eafff0;
}

.waitlist-status.error {
  color: #ffe3d9;
}

.waitlist-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink-deep);
  padding: 0 26px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 15.5px;
  border: none;
  cursor: pointer;
}

.button:hover {
  background: var(--accent-soft);
  text-decoration: none;
}

.button.secondary {
  border: 1px solid var(--glass-border);
  background: var(--glass-surface);
  color: var(--text-primary);
}

.button.secondary:hover {
  background: var(--glass-surface-strong);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* ---------- Phone mockup — gerçek Anasayfa'nın küçük bir hali ---------- */

.phone-preview {
  width: min(100%, 330px);
  margin: 0 auto;
  border: 8px solid rgba(10, 20, 14, 0.55);
  border-radius: 38px;
  background: linear-gradient(180deg, var(--shell-top), var(--shell-bottom));
  box-shadow: 0 30px 70px rgba(4, 16, 9, 0.45);
  padding: 20px 16px;
}

.phone-bar {
  width: 80px;
  height: 5px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.phone-title {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--text-strong);
  margin: 0 0 12px;
}

.phone-card,
.phone-mini {
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  background: var(--card-bg);
}

.phone-card {
  padding: 16px;
  margin-bottom: 10px;
}

.phone-card .label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.phone-metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.phone-metric {
  background: var(--glass-surface);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}

.phone-metric strong {
  display: block;
  font-size: 14px;
  color: var(--text-strong);
}

.phone-metric span {
  display: block;
  font-size: 9.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.phone-mini {
  padding: 12px 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.phone-mini .dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink-deep);
  display: grid;
  place-items: center;
  font-size: 13px;
  flex: none;
}

.phone-cta {
  margin-top: 4px;
  background: var(--accent);
  color: var(--ink-deep);
  border-radius: 999px;
  text-align: center;
  padding: 12px;
  font-weight: 800;
  font-size: 13px;
}

/* ---------- Features ---------- */

.features-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 88px 24px 96px;
}

.features-heading {
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
}

.features-heading h2 {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 38px);
  color: var(--text-strong);
  margin: 0 0 12px;
}

.features-heading p {
  color: var(--text-secondary);
  font-size: 16.5px;
  margin: 0;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.features article {
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  background: var(--glass-surface);
  padding: 26px 24px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(74, 222, 128, 0.16);
  display: grid;
  place-items: center;
  font-size: 21px;
  margin-bottom: 16px;
}

.features h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text-strong);
}

.features p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14.5px;
}

/* ---------- Closing CTA ---------- */

.closing {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 100px;
  text-align: center;
}

.closing-card {
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  background: var(--glass-surface);
  padding: 48px 32px;
}

.closing-card h2 {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 3.2vw, 32px);
  color: var(--text-strong);
  margin: 0 0 10px;
}

.closing-card p {
  color: var(--text-secondary);
  font-size: 15.5px;
  margin: 0 0 4px;
}

.closing-card .waitlist-form {
  justify-content: center;
  max-width: 460px;
  margin: 24px auto 0;
}

/* ---------- Content pages (Gizlilik / Destek) ---------- */

.content-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

.content-page h1 {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 4.6vw, 46px);
  line-height: 1.08;
  color: var(--text-strong);
  margin: 0 0 14px;
}

.content-page > .lede {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 60ch;
}

.content-page h2 {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-strong);
  margin: 40px 0 12px;
}

.content-page p,
.content-page li {
  color: var(--text-secondary);
  font-size: 15.5px;
  max-width: 68ch;
}

.content-page ul {
  padding-left: 20px;
}

.content-page li {
  margin-bottom: 8px;
}

.content-page li strong {
  color: var(--text-primary);
}

.updated {
  margin-bottom: 30px;
  font-size: 13.5px;
  color: var(--text-faint);
}

.legal-note {
  margin: 32px 0;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(244, 162, 97, 0.1);
  border: 1px solid rgba(244, 162, 97, 0.28);
  font-size: 14px;
  color: var(--text-secondary);
}

.legal-note strong {
  color: var(--warm);
}

.contact-box {
  margin: 32px 0;
  padding: 24px;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  background: var(--glass-surface);
}

.contact-box h2 {
  margin-top: 0;
}

.faq-item {
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background: var(--glass-surface);
  padding: 18px 20px;
  margin-bottom: 12px;
}

.faq-item h3 {
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-strong);
}

.faq-item p {
  margin: 0;
  font-size: 14.5px;
}

/* ---------- Footer ---------- */

footer {
  max-width: 1120px;
  margin: 0 auto;
  border-top: 1px solid var(--glass-border);
  padding: 28px 24px;
  color: var(--text-faint);
  font-size: 13.5px;
}

footer p {
  margin: 4px 0;
}

footer a {
  color: var(--text-muted);
}

footer a:hover {
  color: var(--accent-soft);
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-wrap: wrap;
  }
}
