/* =========================================================
   Landing (ana sayfa) stili
   ========================================================= */

:root {
  --hero-1: #0f172a;
  --hero-2: #1e3a8a;
  --hero-3: #2563eb;
  --glow: rgba(59, 130, 246, .35);
}

/* ---------- Üst bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 23, 42, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 14px; flex-wrap: wrap;
}
.topbar .brand {
  color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em;
  display: flex; align-items: center; gap: 9px;
}
.topbar .brand:hover { text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--hero-3), #7c3aed);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .95rem;
}
.topnav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topnav a { color: rgba(255,255,255,.78); font-size: .94rem; font-weight: 500; }
.topnav a:hover { color: #fff; text-decoration: none; }
.btn-signup-top {
  background: var(--hero-3); color: #fff !important;
  padding: 9px 18px; border-radius: 9px; font-weight: 600;
}
.btn-signup-top:hover { background: #3b82f6; }

/* ---------- Mobil menü ----------
   .menu-btn temel stili style.css içinde tanımlı (bu dosya da onu yüklüyor).
   Burada yalnızca landing'e özgü .topnav kuralları var. */
@media (max-width: 820px) {
  /* Menü açılıp kapanan dikey liste olur */
  .menu-btn { display: block; }
  .topnav {
    display: none;
    width: 100%; flex-direction: column; align-items: stretch;
    gap: 0; padding: 4px 0 12px;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .topnav.is-open { display: flex; }
  .topnav a {
    padding: 13px 2px; font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .topnav a:last-child { border-bottom: 0; }
  .topnav .btn-signup-top { margin-top: 12px; text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(124,58,237,.45), transparent 60%),
    radial-gradient(760px 380px at 85% 0%, rgba(37,99,235,.55), transparent 62%),
    linear-gradient(160deg, var(--hero-1) 0%, #172554 55%, #1e3a8a 100%);
  color: #fff;
  overflow: hidden;
  padding: 74px 0 84px;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(700px 420px at 50% 40%, #000, transparent 78%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
}
.hero h1 {
  font-size: 2.9rem; line-height: 1.15; font-weight: 800;
  letter-spacing: -.02em; margin-bottom: 18px;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #60a5fa, #a78bfa 60%, #f472b6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
  font-size: 1.1rem; color: rgba(255,255,255,.76);
  max-width: 520px; margin-bottom: 26px; line-height: 1.65;
}
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-badge {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.9); padding: 7px 14px; border-radius: 999px;
  font-size: .84rem; font-weight: 500;
}

/* ---------- Giriş kartı ---------- */
.login-card {
  background: rgba(255,255,255,.97);
  border-radius: 20px; padding: 30px 28px;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.5);
}
.login-card h2 { font-size: 1.32rem; margin-bottom: 5px; color: #0f172a; }
.login-card .sub { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.login-card .field label { color: #334155; }
.login-card .input-icon { position: relative; }
.login-card .input-icon span {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  font-size: .95rem; opacity: .55;
}
.login-card .input-icon input { padding-left: 38px; }
.login-card .forgot { font-size: .85rem; }
.login-sep {
  display: flex; align-items: center; gap: 12px; color: var(--muted);
  font-size: .8rem; margin: 18px 0 14px;
}
.login-sep::before, .login-sep::after {
  content: ""; flex: 1; height: 1px; background: var(--border);
}

/* ---------- İstatistik şeridi ---------- */
.stats-strip {
  background: linear-gradient(90deg, #1d4ed8, #4f46e5);
  color: #fff; margin-top: -44px; position: relative; z-index: 3;
  border-radius: 18px; padding: 30px 20px;
  box-shadow: 0 22px 50px rgba(29,78,216,.35);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  max-width: 820px; margin-left: auto; margin-right: auto;
}
.stats-strip .item { text-align: center; padding: 6px 10px; }
.stats-strip .n {
  font-size: 2.3rem; font-weight: 800; letter-spacing: -.02em; line-height: 1;
}
.stats-strip .l { font-size: .9rem; opacity: .82; margin-top: 7px; }

/* ---------- Bölümler ---------- */
.section { padding: 78px 0; }
.section-alt { background: #fff; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 46px; }
.section-head .eyebrow {
  display: inline-block; color: var(--accent); background: var(--accent-light);
  padding: 6px 15px; border-radius: 999px; font-size: .8rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px;
}
.section-head h2 { font-size: 2.05rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.03rem; line-height: 1.7; }

/* Özellik kartları */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 28px 24px; transition: transform .18s ease, box-shadow .18s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(15,23,42,.09); }
.feature .ico {
  width: 48px; height: 48px; border-radius: 13px; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  background: var(--accent-light);
}
.feature h3 { font-size: 1.08rem; margin-bottom: 9px; }
.feature p { color: var(--muted); font-size: .93rem; line-height: 1.65; }

/* Adımlar */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; counter-reset: s; }
.step {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 30px 24px; position: relative; text-align: center;
}
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #7c3aed); color: #fff;
  font-weight: 800; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(37,99,235,.35);
}
.step h3 { font-size: 1.04rem; margin-bottom: 8px; margin-top: 6px; }
.step p { color: var(--muted); font-size: .9rem; line-height: 1.6; }

/* Platform kutuları */
.platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.platform {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 22px 16px; text-align: center; transition: border-color .18s ease;
}
.platform:hover { border-color: var(--accent); }
.platform .em { font-size: 2rem; margin-bottom: 9px; }
.platform .nm { font-weight: 700; font-size: .97rem; margin-bottom: 5px; }
.platform .ds { color: var(--muted); font-size: .82rem; }

/* SSS */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--border); border-radius: 13px;
  margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  padding: 18px 22px; cursor: pointer; font-weight: 600;
  list-style: none; display: flex; justify-content: space-between; gap: 14px;
  align-items: center; font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.4rem; color: var(--accent); font-weight: 400;
  transition: transform .2s ease; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 22px 20px; color: var(--muted); line-height: 1.75; font-size: .95rem; }

/* CTA */
.cta-band {
  background: linear-gradient(120deg, #1d4ed8, #7c3aed);
  color: #fff; border-radius: 20px; padding: 52px 34px; text-align: center;
  box-shadow: 0 26px 60px rgba(29,78,216,.3);
}
.cta-band h2 { font-size: 1.95rem; font-weight: 800; margin-bottom: 12px; letter-spacing: -.02em; }
.cta-band p { opacity: .86; max-width: 560px; margin: 0 auto 26px; font-size: 1.03rem; }
.btn-cta {
  background: #fff; color: var(--accent-dark) !important;
  padding: 14px 30px; border-radius: 11px; font-weight: 700; font-size: 1.02rem;
}
.btn-cta:hover { background: #eff6ff; transform: translateY(-1px); }

/* Güven şeridi */
.trust-row {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  margin-top: 34px; color: rgba(255,255,255,.72); font-size: .88rem;
}
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }

/* ---------- Landing footer ---------- */
.landing-footer {
  background: var(--hero-1); color: rgba(255,255,255,.62);
  padding: 54px 0 30px; font-size: .9rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 34px;
}
.landing-footer h4 { color: #fff; font-size: .97rem; margin-bottom: 15px; }
/* Koyu footer zemininde logo okunur olsun diye beyaz zemine alınır */
.footer-logo img {
  display: block; height: 42px; width: auto; max-width: 210px; object-fit: contain;
  background: #fff; border-radius: 9px; padding: 5px 10px;
}
.landing-footer a { color: rgba(255,255,255,.62); display: block; margin-bottom: 10px; }
.landing-footer a:hover { color: #fff; text-decoration: none; }
.landing-footer .about { line-height: 1.75; max-width: 300px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}

/* ---------- Duyarlı ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero { padding: 54px 0 70px; }
  .hero h1 { font-size: 2.15rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: 1fr; gap: 22px; }
  .stats-strip .n { font-size: 2rem; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 1.6rem; }
}
@media (max-width: 560px) {
  /* Not: eski ".topnav { gap: 14px }" kuralı kaldırıldı — dar ekranda menü
     artık dikey açılır liste, 820px kuralındaki gap: 0 geçerli olmalı. */
  .hero h1 { font-size: 1.85rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
