/* Fitolacaksın — paylaşımlı stiller. Marka renk ve tipografisi app içiyle
   aynı: brand/README.md'deki tablo.
   - coach (mor): #7C5CFF
   - bg-off (krem): #FBFAF7
   - ink (koyu): #0F172A
   - DM Sans (Google Fonts) — Türkçe karakter desteği tam.
*/

:root {
  --coach: #7C5CFF;
  --coach-light: #9176FF;
  --coach-dark: #5A3DF0;
  --ink: #0F172A;
  --ink-muted: #475569;
  --ink-faint: #94A3B8;
  --bg-off: #FBFAF7;
  --bg-card: #FFFFFF;
  --border: #E5E2DC;
  --success: #16A34A;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-off);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px;
}

/* ─── Header / Nav ───────────────────────────────────────────────── */
.site-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-off);
}
.site-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.brand-text {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s;
}
.nav-links a:hover {
  color: var(--coach);
}

/* ─── Landing hero ───────────────────────────────────────────────── */
/* Desktop'ta yan yana: solda metin + buton, sağda hero mockup. Mobilde
   dikey: önce mockup (görsel ilk izlenim), sonra metin + buton. */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 24px 40px;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 16px 40px rgba(124, 92, 255, 0.25);
}
.hero h1 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: 18px;
  color: var(--ink);
}
.hero h1 br {
  display: inline; /* mobilde tek satıra gel, desktopta iki satır */
}
.hero-sub {
  font-size: 18px;
  color: var(--ink-muted);
  margin-bottom: 22px;
  max-width: 460px;
}
.hero-bullets {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.hero-bullet-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--coach);
  color: white;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: var(--ink);
  color: white;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
  transition: transform 0.15s, box-shadow 0.15s;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.2);
}
.hero-cta.disabled {
  background: var(--ink-muted);
  cursor: default;
  opacity: 0.6;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-visual img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(124, 92, 255, 0.25);
}

/* ─── Mockup gallery — 6 ekran görüntüsü ──────────────────────────── */
/* Mobile-first: tek sütun. Tablet+: 2 sütun. Görsel-metin altışar. */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin: 60px 0 40px;
}
.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 24px;
  gap: 24px;
}
.gallery-item img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 18px;
  /* Mockup'larda zaten kendi gölgesi/arkaplanı var, çift gölgeye gerek yok */
}
.gallery-text {
  max-width: 460px;
}
.gallery-text h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 10px;
  color: var(--ink);
}
.gallery-text p {
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.55;
}

@media (min-width: 900px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .gallery-item {
    padding: 36px 32px;
  }
  .gallery-item img {
    max-width: 280px;
  }
  .gallery-text h2 {
    font-size: 24px;
  }
}


/* ─── Trust section ──────────────────────────────────────────────── */
.trust {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  margin: 40px 0;
}
.trust h2 {
  font-size: 22px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.trust ul {
  list-style: none;
}
.trust li {
  padding: 10px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-muted);
  border-top: 1px solid var(--border);
}
.trust li:first-child {
  border-top: none;
}
.trust li::before {
  content: "✓";
  color: var(--success);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── Legal pages ────────────────────────────────────────────────── */
.legal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px;
  margin: 24px 0;
}
.legal h1 {
  font-size: 32px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.legal .updated {
  color: var(--ink-faint);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.legal h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--ink);
}
.legal h3 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--ink);
}
.legal p,
.legal li {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: 12px;
}
.legal ul,
.legal ol {
  padding-left: 22px;
  margin-bottom: 12px;
}
.legal li {
  margin-bottom: 6px;
}
.legal strong {
  color: var(--ink);
  font-weight: 700;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.legal th,
.legal td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.legal th {
  background: var(--bg-off);
  font-weight: 700;
  color: var(--ink);
}
.legal a {
  color: var(--coach);
  font-weight: 600;
  text-decoration: none;
}
.legal a:hover {
  text-decoration: underline;
}
.legal .warn {
  background: #FEF3C7;
  border-left: 4px solid #F59E0B;
  padding: 16px 20px;
  border-radius: 8px;
  margin: 20px 0;
}
.legal .warn p {
  color: #92400E;
  margin: 0;
  font-size: 14px;
}

/* ─── Footer ─────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px 48px;
  margin-top: 60px;
  text-align: center;
}
.site-footer-inner {
  max-width: 760px;
  margin: 0 auto;
}
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-links a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.footer-links a:hover {
  color: var(--coach);
}
.footer-text {
  color: var(--ink-faint);
  font-size: 13px;
}
.footer-text a {
  color: var(--ink-muted);
  text-decoration: none;
}

/* ─── Mobile / Tablet ────────────────────────────────────────────── */
/* 900px altı: hero dikey istif (görsel önce gelir mobilde — etkili
   ilk izlenim). 600px altı: tipografi küçülür, container padding daralır. */
@media (max-width: 899px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
    padding: 32px 20px 24px;
  }
  .hero-content {
    align-items: center;
    order: 2; /* metin görselden sonra gelsin */
  }
  .hero-visual {
    order: 1;
  }
  .hero-visual img {
    max-width: 280px;
  }
  .hero-bullets li {
    justify-content: center;
  }
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 20px 16px;
  }
  .site-header {
    padding: 14px 16px;
  }
  .site-header-inner {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .nav-links {
    gap: 14px;
  }
  .nav-links a {
    font-size: 13px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero h1 br {
    display: none; /* mobilde tek satır akıcı */
  }
  .hero-sub {
    font-size: 16px;
  }
  .hero-bullets li {
    font-size: 14px;
  }
  .hero-visual img {
    max-width: 240px;
  }
  .gallery {
    gap: 24px;
    margin: 40px 0 24px;
  }
  .gallery-item {
    padding: 24px 18px;
    gap: 18px;
  }
  .gallery-item img {
    max-width: 240px;
  }
  .gallery-text h2 {
    font-size: 22px;
  }
  .gallery-text p {
    font-size: 15px;
  }
  .trust {
    padding: 22px 18px;
    margin: 28px 0;
  }
  .trust h2 {
    font-size: 20px;
  }
  .trust ul {
    font-size: 14px;
  }
  .legal {
    padding: 24px 20px;
  }
  .legal h1 {
    font-size: 26px;
  }
  .legal h2 {
    font-size: 19px;
  }
}
