/* Benim İçin Neler Mümkün — satış sayfası
   Tasarım dili: uygulamanın DESIGN_SYSTEM.md token'ları
   coral #B8326B · koyu bar #0A0A12 · krem #FDFAF7 · metin #1A1A1A/#666/#AAA
   kenarlık #EBEBEB/#E2E8F0 · radius 14/16 · CTA yüksekliği 52px · gölgesiz */

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

/* `hidden` özniteliği her zaman kazanır — .modal-backdrop'un display:flex'i
   dahil hiçbir kural gizli elemanı görünür yapamaz. */
[hidden] { display: none !important; }

:root {
  --coral: #B8326B;
  --coral-soft: #FBEEF3;
  --dark: #0A0A12;
  --cream: #FDFAF7;
  --t1: #1A1A1A;
  --t2: #666666;
  --t3: #AAAAAA;
  --line: #EBEBEB;
  --line2: #E2E8F0;
  --fill: #F1F5F9;
  --white: #FFFFFF;
  --err: #EF4444;
  --ok: #1F9D4D;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--t1);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 960px; margin: 0 auto; padding: 0 16px; }

h1 { font-size: 32px; font-weight: 700; letter-spacing: -0.3px; }
h2 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
h3 { font-size: 16px; font-weight: 700; }

/* ── Header ── */
.site-header {
  background: var(--dark);
  position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: 34px; height: 34px; border-radius: 50%; }
.brand-name { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 0.2px; }
.header-auth { display: flex; align-items: center; gap: 10px; }
.user-chip { color: #9089B0; font-size: 12px; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Butonlar ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 14px; cursor: pointer; text-decoration: none;
  font-size: 15px; font-weight: 600; letter-spacing: 0.5px;
  min-height: 52px; padding: 0 24px; transition: opacity .15s, transform .05s;
}
.btn:active { transform: scale(0.99); }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { opacity: 0.92; }
.btn-outline { background: transparent; color: var(--coral); border: 1.5px solid var(--coral); }
.btn-outline:hover { background: var(--coral-soft); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid #3a3a4a; min-height: 36px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; letter-spacing: 0.2px; border-radius: 10px; }
.btn-lg { padding: 0 32px; }
.btn-block { width: 100%; }
.btn-google { background: #fff; color: var(--t1); border: 1px solid var(--line2); }
.btn-google:hover { background: #f8f8f8; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

.link-btn {
  background: none; border: none; color: var(--coral); font-size: 13px; font-weight: 600;
  cursor: pointer; padding: 10px 0; width: 100%; text-align: center;
}

/* ── Hero ── */
.hero { text-align: center; padding: 56px 0 48px; }
.hero-logo { width: 84px; height: 84px; border-radius: 50%; margin-bottom: 20px; }
.hero h1 { max-width: 620px; margin: 0 auto 12px; }
.hero-sub { color: var(--t2); font-size: 15px; max-width: 560px; margin: 0 auto 24px; }
.hero-note { color: var(--t3); font-size: 12px; margin-top: 14px; }

/* ── Özellikler ── */
.features { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 48px 0; }
.features h2 { text-align: center; margin-bottom: 24px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.feature-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: 16px; padding: 20px 16px;
}
.feature-emoji { font-size: 26px; margin-bottom: 10px; }
.feature-card h3 { margin-bottom: 6px; }
.feature-card p { color: var(--t2); font-size: 13px; }

/* ── Paketler ── */
.pricing { padding: 48px 0; text-align: center; }
.pricing-sub { color: var(--t2); font-size: 13px; margin-bottom: 20px; }

.plan-toggle {
  display: inline-flex; background: var(--white); border: 1px solid var(--line2);
  border-radius: 12px; padding: 4px; margin-bottom: 24px;
}
.plan-toggle-btn {
  border: none; background: transparent; color: var(--t2); font-size: 13px; font-weight: 600;
  padding: 8px 22px; border-radius: 9px; cursor: pointer;
}
.plan-toggle-btn.active { background: var(--coral); color: #fff; }

.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; max-width: 720px; margin: 0 auto; text-align: left; }
.price-card {
  background: var(--white); border: 1px solid var(--line2); border-radius: 16px; padding: 24px 20px;
  display: flex; flex-direction: column; gap: 12px; position: relative;
}
.price-card-featured { border: 2px solid var(--coral); }
.price-badge {
  position: absolute; top: -12px; left: 20px;
  background: var(--coral); color: #fff; font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 8px; letter-spacing: 0.3px;
}
.price-badge-soon { background: #FFF3CD; color: #8a6d1a; }
.price-line { display: flex; align-items: baseline; gap: 6px; }
.price-amount { font-size: 34px; font-weight: 700; letter-spacing: -0.5px; }
.price-period { color: var(--t3); font-size: 13px; }
.price-trial {
  background: var(--coral-soft); color: var(--coral); font-size: 12px; font-weight: 600;
  border-radius: 8px; padding: 6px 10px;
}
.price-features { list-style: none; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.price-features li { font-size: 13px; color: var(--t1); padding-left: 22px; position: relative; }
.price-features li::before { content: "✓"; color: var(--ok); font-weight: 700; position: absolute; left: 0; }
.price-note { color: var(--t3); font-size: 12px; }
.portal-note { margin-top: 22px; color: var(--t2); font-size: 13px; }
.portal-note a { color: var(--coral); font-weight: 600; }

/* ── Nasıl çalışır ── */
.how { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 48px 0; }
.how h2 { text-align: center; margin-bottom: 20px; }
.how-steps { max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; padding-left: 20px; }
.how-steps li { font-size: 14px; color: var(--t2); }
.how-steps li strong { color: var(--t1); }

/* ── SSS ── */
.faq { padding: 48px 0; }
.faq h2 { text-align: center; margin-bottom: 20px; }
.faq details {
  background: var(--white); border: 1px solid var(--line2); border-radius: 14px;
  padding: 14px 16px; max-width: 720px; margin: 0 auto 10px;
}
.faq summary { font-size: 14px; font-weight: 600; cursor: pointer; }
.faq details p { color: var(--t2); font-size: 13px; margin-top: 8px; }

/* ── Footer ── */
.site-footer { background: var(--dark); padding: 32px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer-logo { width: 40px; height: 40px; border-radius: 50%; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.footer-links a { color: #9089B0; font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-copy { color: #5a5570; font-size: 11px; }

/* ── Modal ── */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(10, 10, 18, 0.55);
  display: flex; align-items: center; justify-content: center; z-index: 100; padding: 16px;
}
.modal {
  background: #fff; border-radius: 20px; padding: 28px 24px; width: 100%; max-width: 400px;
  position: relative; max-height: 92vh; overflow-y: auto;
}
.modal h3 { font-size: 18px; margin-bottom: 4px; }
.modal-sub { color: var(--t2); font-size: 13px; margin-bottom: 16px; }
.modal-close {
  position: absolute; top: 12px; right: 14px; background: none; border: none;
  font-size: 26px; color: var(--t3); cursor: pointer; line-height: 1;
}
.modal-fineprint { color: var(--t3); font-size: 11px; margin-top: 14px; text-align: center; }
.modal-fineprint a { color: var(--t2); }

.auth-tabs { display: flex; border-bottom: 1px solid var(--line2); margin-bottom: 16px; }
.auth-tab {
  flex: 1; background: none; border: none; padding: 10px 0; font-size: 14px; font-weight: 600;
  color: #94A3B8; cursor: pointer; border-bottom: 2px solid transparent;
}
.auth-tab.active { color: var(--coral); border-bottom-color: var(--coral); }

.field { margin-bottom: 12px; text-align: left; }
.field label { display: block; font-size: 12px; color: #64748B; margin-bottom: 6px; font-weight: 600; }
.field input {
  width: 100%; background: var(--fill); border: 2px solid transparent; border-radius: 14px;
  padding: 14px 16px; font-size: 14px; outline: none;
}
.field input:focus { border-color: var(--coral); background: #fff; }

.auth-error {
  background: #FEF2F2; color: var(--err); font-size: 12px; border-radius: 10px;
  padding: 8px 12px; margin-bottom: 12px;
}

.or-divider {
  display: flex; align-items: center; gap: 12px; color: var(--t3); font-size: 12px; margin: 14px 0;
}
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: var(--line2); }

/* ── Toast ── */
.toast {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: var(--dark); color: #fff; font-size: 13px; padding: 12px 20px;
  border-radius: 12px; z-index: 200; max-width: 90vw; text-align: center;
}

/* ── Mobil ── */
@media (max-width: 560px) {
  h1 { font-size: 26px; }
  .brand-name { font-size: 13px; max-width: 170px; }
  .hero { padding: 40px 0 36px; }
  .price-grid { grid-template-columns: 1fr; }
}
