/* ============================================================
   Parça Üret · Web Sitesi — Tasarım Sistemi
   Renkler uygulama temasından (#2563EB primary) türetilmiştir.
   Harici istek yok: yalnızca sistem fontları kullanılır.
   ============================================================ */

:root {
  /* Marka renkleri */
  --primary: #2563EB;
  --primary-dark: #1E40AF;
  --primary-light: #3B82F6;
  --secondary: #7C3AED;

  /* Kapak gradyanı (uygulama sunumundan) */
  --grad-1: #2D4586;
  --grad-2: #4060A8;
  --grad-3: #5A7BC4;

  /* Nötr renkler */
  --bg: #F8FAFC;
  --bg-alt: #F1F5F9;
  --card: #FFFFFF;
  --text: #0F172A;
  --text-2: #334155;
  --muted: #64748B;
  --border: #E2E8F0;

  /* Ölçüler */
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --maxw: 1160px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 30px 60px rgba(15, 23, 42, 0.15);
  --shadow-primary: 0 12px 30px rgba(37, 99, 235, 0.35);

  --gradient: linear-gradient(135deg, var(--grad-1) 0%, var(--grad-2) 50%, var(--grad-3) 100%);
  --gradient-text: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Yerleşim ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -0.02em; font-weight: 800; }
h2.section-title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 18px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Butonlar ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-primary); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

.btn-ghost { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); }

.btn-outline { background: transparent; color: var(--primary); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); background: rgba(37, 99, 235, 0.04); }

/* App Store rozeti (yer tutucu, harici istek yok) */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0F172A;
  color: #fff;
  padding: 11px 22px;
  border-radius: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: var(--shadow);
}
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge .sb-small { font-size: 0.68rem; opacity: 0.85; line-height: 1.1; }
.store-badge .sb-big { font-size: 1.18rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.store-badge.is-soon { opacity: 0.9; }
.store-badge.is-soon .sb-small { color: #93C5FD; }

/* ── Navbar ────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.navbar.scrolled { border-color: var(--border); background: rgba(248, 250, 252, 0.92); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: var(--shadow-sm); }
.brand span .accent { color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { color: var(--text-2); font-weight: 500; font-size: 0.96rem; transition: color 0.18s; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--gradient);
  color: #fff;
  overflow: hidden;
  padding: 84px 0 96px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.14), transparent 42%),
    radial-gradient(circle at 85% 75%, rgba(124, 58, 237, 0.25), transparent 45%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 7px 16px; border-radius: 100px; font-size: 0.85rem; font-weight: 600;
  margin-bottom: 24px; backdrop-filter: blur(8px);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.25); }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900; letter-spacing: -0.035em; margin-bottom: 20px; }
.hero h1 .hl {
  background: linear-gradient(90deg, #FFFFFF, #DBEAFE);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255, 255, 255, 0.86); max-width: 30rem; margin-bottom: 34px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }

/* Yüzen telefon mockup */
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }
.hero-visual::after {
  content: ''; position: absolute; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  filter: blur(20px); z-index: 0;
}

.phone {
  position: relative; z-index: 1;
  width: 300px; aspect-ratio: 300 / 620;
  background: #0F172A; border-radius: 42px; padding: 10px;
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(15, 23, 42, 0.9), inset 0 0 0 2px rgba(255, 255, 255, 0.06);
  animation: floatY 5s ease-in-out infinite;
}
.phone::before {
  content: ''; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 26px; background: #0F172A; border-radius: 0 0 16px 16px; z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 33px; overflow: hidden;
  background: linear-gradient(180deg, #E0E7FF, #F1F5F9); position: relative;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* ── İstatistik / güven şeridi ─────────────────────────── */
.stats { position: relative; z-index: 2; margin-top: -48px; }
.stats-inner {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 34px 24px;
}
.stat { text-align: center; padding: 8px 16px; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat-num { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 900; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }

/* ── Özellik kartları ──────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(37, 99, 235, 0.3); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.12));
  color: var(--primary); margin-bottom: 18px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 0.98rem; }

/* ── Nasıl çalışır ─────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 12px; }
.step-num {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gradient); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 16px;
  box-shadow: var(--shadow-primary);
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.98rem; }

/* ── Ekran görüntüsü galerisi ──────────────────────────── */
.shots {
  display: flex; gap: 26px; overflow-x: auto; padding: 8px 4px 26px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: var(--border); border-radius: 100px; }
.shot {
  flex: 0 0 auto; width: 250px; scroll-snap-align: center;
  background: #0F172A; border-radius: 34px; padding: 8px; box-shadow: var(--shadow);
}
.shot-inner { border-radius: 27px; overflow: hidden; background: #E0E7FF; aspect-ratio: 250 / 520; }
.shot-inner img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shot-cap { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 14px; font-weight: 600; }

/* ── CTA ───────────────────────────────────────────────── */
.cta {
  position: relative; overflow: hidden; background: var(--gradient); color: #fff;
  border-radius: var(--radius-lg); padding: 64px 40px; text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.14), transparent 40%);
  pointer-events: none;
}
.cta h2 { position: relative; font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 14px; }
.cta p { position: relative; color: rgba(255, 255, 255, 0.86); max-width: 36rem; margin: 0 auto 30px; font-size: 1.08rem; }
.cta .hero-actions { position: relative; justify-content: center; }

/* ── Footer ────────────────────────────────────────────── */
.footer { background: #0B1220; color: #CBD5E1; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer-about p { font-size: 0.94rem; color: #94A3B8; max-width: 26rem; }
.footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; letter-spacing: 0; }
.footer-col a { display: block; color: #94A3B8; font-size: 0.94rem; padding: 6px 0; transition: color 0.18s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.15); padding-top: 26px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 0.88rem; color: #64748B;
}
.footer-bottom a:hover { color: #fff; }

/* ── Yasal / içerik sayfaları ──────────────────────────── */
.page-hero {
  background: var(--gradient); color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.3), transparent 45%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.page-hero p { color: rgba(255, 255, 255, 0.82); }
.breadcrumb { font-size: 0.88rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }

.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; padding: 64px 0; }
.toc { position: sticky; top: 90px; }
.toc h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 14px; }
.toc a { display: block; color: var(--text-2); font-size: 0.92rem; padding: 7px 12px; border-radius: 8px; border-left: 2px solid transparent; transition: 0.18s; }
.toc a:hover, .toc a.active { color: var(--primary); background: rgba(37, 99, 235, 0.06); border-left-color: var(--primary); }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.55rem; margin: 40px 0 14px; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.prose p { color: var(--text-2); margin-bottom: 14px; }
.prose ul { margin: 0 0 16px; padding-left: 4px; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--text-2); }
.prose ul li::before {
  content: ''; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--primary);
}
.prose a { color: var(--primary); font-weight: 600; }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--text); }
.prose .lead { font-size: 1.1rem; color: var(--muted); margin-bottom: 26px; }
.prose .updated {
  display: inline-block; font-size: 0.85rem; color: var(--muted);
  background: var(--bg-alt); padding: 6px 14px; border-radius: 100px; margin-bottom: 30px;
}

.callout {
  background: rgba(37, 99, 235, 0.05); border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--radius-sm); padding: 18px 20px; margin: 22px 0;
}
.callout.warn { background: rgba(234, 88, 12, 0.05); border-color: rgba(234, 88, 12, 0.22); }
.callout p { margin: 0; color: var(--text-2); font-size: 0.96rem; }
.callout strong { color: var(--text); }

.data-table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: 0.94rem; }
.data-table th, .data-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.data-table th { background: var(--bg-alt); font-weight: 700; color: var(--text); }
.data-table td { color: var(--text-2); }

/* ── SSS ───────────────────────────────────────────────── */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 1.02rem; font-weight: 600; color: var(--text);
  padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .chev { transition: transform 0.25s; color: var(--primary); flex-shrink: 0; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 22px 20px; color: var(--muted); }
.faq-item.open .faq-a { max-height: 320px; }

/* Kartlı iletişim kutuları */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 8px 0 10px; }
.contact-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-card .feature-icon { margin: 0 auto 16px; }
.contact-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.contact-card p { color: var(--muted); font-size: 0.94rem; margin-bottom: 12px; }
.contact-card a { color: var(--primary); font-weight: 600; word-break: break-word; }

/* Adım listesi (hesap silme) */
.step-list { counter-reset: s; margin: 20px 0; }
.step-list li {
  position: relative; padding: 4px 0 22px 52px; margin: 0;
  border-left: 2px solid var(--border); margin-left: 18px;
}
.step-list li::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: -18px; top: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.9rem;
}
.step-list li:last-child { border-left-color: transparent; padding-bottom: 0; }
.step-list li strong { display: block; color: var(--text); margin-bottom: 3px; }
.step-list li span { color: var(--muted); font-size: 0.96rem; }

/* ── Animasyonlar (reveal) ─────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .hero-badge { margin-inline: auto; }
  .features-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(2)::after, .stat:nth-child(1)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; order: -1; background: var(--bg-alt); padding: 18px 20px; border-radius: var(--radius); }
}

@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .nav-links, .nav-cta .btn-text { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; inset: 68px 0 auto 0; background: var(--card);
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px;
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-menu .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-menu .btn { margin-top: 16px; width: 100%; }
  .features-grid, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta { padding: 48px 24px; }
}

@media (max-width: 420px) {
  .stats-inner { grid-template-columns: 1fr; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--border); }
}
