/* eKolayServis — tanıtım sitesi. Design token'ları: design/DESIGN-NOTES.md (Figma Flutter guide) */
:root {
  --yellow: #FFCC00;
  --blue: #2934FF;
  --text: #000000;
  --text-2: #1E1E1E;
  --text-3: #4F4F4F;
  --text-muted: #4A5565;
  --text-subtle: #364153;
  --text-gray: #99A1AF;
  --bg: #FFFFFF;
  --bg-light: #F9FAFB;
  --bg-gray: #F3F4F6;
  --bg-cream: #FFF7ED;
  --border-2: #E5E7EB;
  --success: #22C55E;
  --error: #EF4444;
  --warning: #F97316;
  --r-sm: 4px; --r-md: 8px; --r-lg: 10px; --r-xl: 14px; --r-xxl: 16px; --r-round: 20px;
  --sp-xxs: 4px; --sp-xs: 8px; --sp-sm: 12px; --sp-md: 16px; --sp-lg: 20px; --sp-xl: 24px; --sp-xxl: 32px;
  --shadow-card: 0 1px 3px rgba(0, 0, 0, .1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  /* DT-17 — sitenin tek bir açık teması var. Bunu bildirmezsek cihaz koyu moddayken
     tarayıcı form alanlarına koyu tema varsayılanlarını (beyaz yazı) uygular ve
     açık zeminli kutularda yazarken metin görünmez olur. */
  color-scheme: light;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* DT-17 — form alanları rengi tarayıcı varsayılanından değil, temadan gelsin */
input, select, textarea, button { color: var(--text-2); }
::placeholder { color: var(--text-gray); opacity: 1; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text-2);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 var(--sp-lg); }

/* ---------- Header (sarı app bar) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--yellow);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 60px; gap: var(--sp-md);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand svg { width: 34px; height: 34px; }
.brand b { font-size: 19px; font-weight: 800; letter-spacing: -.2px; }
.main-nav { display: none; align-items: center; gap: var(--sp-xl); }
.main-nav a { color: #1E1E1E; font-size: 14px; font-weight: 600; }
.main-nav a:hover { opacity: .7; }
.nav-cta {
  background: #1E1E1E; color: #FFCC00 !important; font-weight: 700;
  padding: 10px 18px; border-radius: var(--r-xl); font-size: 14px;
}
.nav-cta:hover { opacity: .9 !important; }
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0;
  padding: 8px; cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2.5px; background: #1E1E1E; border-radius: 2px; }
@media (min-width: 860px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
}
.mobile-nav {
  display: none; background: var(--yellow); border-top: 1px solid rgba(0,0,0,.08);
  padding: var(--sp-sm) var(--sp-lg) var(--sp-lg);
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 4px; color: #1E1E1E; font-weight: 600; font-size: 15px; border-bottom: 1px solid rgba(0,0,0,.06); }

/* ---------- Hero ---------- */
.hero { background: var(--yellow); overflow: hidden; }
.hero .container {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-xxl);
  padding-top: 48px; padding-bottom: 56px; align-items: center;
}
.hero-copy h1 {
  font-size: clamp(30px, 5vw, 46px); font-weight: 800; color: var(--text);
  letter-spacing: -1px; line-height: 1.12;
}
.hero-copy .tagline {
  margin-top: var(--sp-md); font-size: clamp(16px, 2vw, 19px); color: #1E1E1E; max-width: 560px;
}
.hero-badges { margin-top: var(--sp-xl); display: flex; flex-wrap: wrap; gap: var(--sp-sm); align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #1E1E1E; color: #fff; border-radius: var(--r-lg);
  padding: 9px 16px; min-width: 168px;
}
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge small { display: block; font-size: 10px; opacity: .8; line-height: 1.2; }
.store-badge b { display: block; font-size: 16px; font-weight: 700; line-height: 1.25; }
.store-badge:hover { opacity: .92; }
.hero-note { margin-top: var(--sp-sm); font-size: 12.5px; color: rgba(30,30,30,.75); }
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  width: min(300px, 72vw); border-radius: 36px; background: #1E1E1E; padding: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  transform: rotate(0deg);
}
.phone img { border-radius: 28px; }
.phone.back {
  position: absolute; right: 4%; top: 40px; width: min(240px, 56vw);
  transform: rotate(6deg); opacity: .95; display: none;
}
@media (min-width: 860px) {
  .hero .container { grid-template-columns: 1.15fr 1fr; padding-top: 64px; padding-bottom: 72px; }
  .phone.back { display: block; }
  .hero-visual .phone.front { margin-right: 120px; transform: rotate(-4deg); }
}

/* ---------- Canlı istatistik şeridi ---------- */
.stats { background: #1E1E1E; color: #fff; }
.stats .container {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-lg);
  padding-top: var(--sp-xl); padding-bottom: var(--sp-xl); text-align: center;
}
.stat b { display: block; font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: var(--yellow); }
.stat span { font-size: 13px; color: rgba(255,255,255,.75); }
@media (min-width: 700px) { .stats .container { grid-template-columns: repeat(5, 1fr); } }

/* ---------- Bölüm başlıkları ---------- */
section.block { padding: 64px 0; }
section.block.alt { background: var(--bg-light); }
.block-head { text-align: center; max-width: 640px; margin: 0 auto var(--sp-xxl); }
.block-head .kicker {
  display: inline-block; background: var(--bg-cream); color: var(--warning);
  font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--r-round); margin-bottom: var(--sp-sm);
}
.block-head h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; color: var(--text); letter-spacing: -.5px; }
.block-head p { margin-top: var(--sp-sm); color: var(--text-muted); font-size: 15.5px; }

/* ---------- Üç kapı ---------- */
.doors { display: grid; gap: var(--sp-lg); grid-template-columns: 1fr; }
@media (min-width: 860px) { .doors { grid-template-columns: repeat(3, 1fr); } }
.door {
  background: #fff; border: 1px solid var(--border-2); border-radius: var(--r-xxl);
  padding: var(--sp-xl); box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.door .icon {
  width: 52px; height: 52px; border-radius: var(--r-xl);
  display: grid; place-items: center; margin-bottom: var(--sp-md);
  background: var(--yellow);
}
.door:nth-child(2) .icon { background: #EEF; }
.door:nth-child(3) .icon { background: var(--bg-cream); }
.door h3 { font-size: 19px; font-weight: 800; color: var(--text); }
.door .sub { color: var(--text-muted); font-size: 13.5px; margin: 6px 0 var(--sp-md); }
.door ul { list-style: none; display: grid; gap: 9px; margin-bottom: var(--sp-md); }
.door li { display: flex; gap: 9px; font-size: 14px; color: var(--text-subtle); }
.door li svg { flex: none; margin-top: 2px; }
.door .cta { margin-top: auto; font-weight: 700; font-size: 14px; }

/* ---------- Nasıl çalışır ---------- */
.steps { max-width: 760px; margin: 0 auto; display: grid; gap: var(--sp-sm); }
.step {
  display: flex; gap: var(--sp-md); align-items: flex-start;
  background: #fff; border-radius: var(--r-xxl); padding: var(--sp-lg);
  box-shadow: var(--shadow-card);
}
.step .num {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--yellow); color: var(--text);
  display: grid; place-items: center; font-weight: 800; font-size: 16px;
}
.step h3 { font-size: 16px; font-weight: 800; color: var(--text); }
.step p { color: var(--text-muted); font-size: 14px; margin-top: 3px; }

/* ---------- Özellikler ---------- */
.features { display: grid; gap: var(--sp-lg); grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: #fff; border: 1px solid var(--border-2); border-radius: var(--r-xxl);
  padding: var(--sp-xl); box-shadow: var(--shadow-card);
}
.feature .icon {
  width: 44px; height: 44px; border-radius: var(--r-lg); background: var(--bg-gray);
  display: grid; place-items: center; margin-bottom: var(--sp-md);
}
.feature h3 { font-size: 16px; font-weight: 800; color: var(--text); }
.feature p { margin-top: 6px; color: var(--text-muted); font-size: 13.5px; }

/* ---------- SSS ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: var(--sp-sm); }
.faq details {
  background: #fff; border: 1px solid var(--border-2); border-radius: var(--r-xl);
  padding: var(--sp-md) var(--sp-lg);
}
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 15px; color: var(--text);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 20px; color: var(--text-gray); font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: var(--sp-sm); color: var(--text-muted); font-size: 14px; }

/* ---------- İndir CTA ---------- */
.download { background: var(--yellow); }
.download .container { padding-top: 56px; padding-bottom: 56px; text-align: center; }
.download h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; color: var(--text); letter-spacing: -.5px; }
.download p { margin: var(--sp-sm) auto 0; color: #1E1E1E; max-width: 520px; font-size: 15.5px; }
.download .hero-badges { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: #1E1E1E; color: rgba(255,255,255,.72); font-size: 13.5px; }
.site-footer .top {
  display: grid; gap: var(--sp-xxl); grid-template-columns: 1fr;
  padding: 48px 0 var(--sp-xxl);
}
@media (min-width: 860px) { .site-footer .top { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer .brand { color: #fff; margin-bottom: var(--sp-sm); }
.site-footer .brand b { color: #fff; }
.site-footer p.about { max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: var(--sp-md); }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--yellow); }
.site-footer .bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: var(--sp-lg) 0; display: flex; flex-wrap: wrap; gap: var(--sp-sm);
  align-items: center; justify-content: space-between; font-size: 12.5px;
}
