/* Sılayolu eSIM — mobil öncelikli stil */
:root {
  --blue: #4263eb;
  --blue-d: #3653c7;
  --blue-soft: #edf1ff;
  --bg: #f7f8fc;
  --card: #ffffff;
  --line: #e6eaf4;
  --text: #111827;
  --muted: #5b6472;
  --green: #16a34a;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(23, 43, 99, 0.07);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
}
img, svg { max-width: 100%; display: inline-block; vertical-align: middle; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.5px; }
h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.3px; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 12px; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 640px; }
.center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0;
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--font); font-size: 15px; font-weight: 700;
  padding: 10px 18px; transition: background .15s ease, transform .1s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-d); }
.btn-outline { background: #fff; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue-soft); }
.btn-ghost { background: var(--blue-soft); color: var(--blue); }
.btn-ghost:hover { background: #dfe6ff; }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { background: var(--blue-soft); }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn.sm { padding: 7px 14px; font-size: 13px; }
.btn.wide { width: 100%; }
.btn-danger { background: #fee2e2; color: #b91c1c; }
.btn-danger:hover { background: #fecaca; }

/* ---------- Üst menü ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; gap: 12px; height: 60px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 800; font-size: 17px; flex-shrink: 0; }
.logo-mark { display: flex; }
.main-nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin-left: auto; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  color: var(--muted); font-weight: 600; font-size: 14px;
  padding: 8px 10px; border-radius: 10px; white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--blue); background: var(--blue-soft); }
.lang-chip { font-size: 20px; flex-shrink: 0; }

/* ---------- Hero ---------- */
.hero { padding: 44px 0 28px; text-align: center; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.hero-kicker { color: var(--blue); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.hero h1 { font-size: 32px; margin-bottom: 12px; }
.hero-sub { color: var(--muted); font-size: 16px; max-width: 620px; margin: 0 auto 22px; }
.hero-select {
  display: flex; flex-direction: column; gap: 10px;
  max-width: 460px; margin: 0 auto 18px;
}
.hero-select select {
  width: 100%; padding: 14px 16px; font-size: 16px; font-family: var(--font);
  border: 2px solid var(--line); border-radius: 14px; background: #fff; color: var(--text);
}
.hero-select select:focus { outline: none; border-color: var(--blue); }
.hero-trust {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px;
  color: var(--muted); font-size: 14px; font-weight: 600;
}

/* ---------- Güzergâh şeridi ---------- */
.route-strip { padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.route-strip .container { display: flex; align-items: center; gap: 10px; }
.route-label { font-weight: 700; font-size: 14px; color: var(--muted); flex-shrink: 0; }
.route-chips { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.route-chips::-webkit-scrollbar { display: none; }
.route-arrow { color: #b6c0d9; font-size: 13px; flex-shrink: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0;
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
  color: var(--text); font-size: 13px; font-weight: 600; padding: 6px 12px;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Bölümler ---------- */
.section { padding: 40px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-sub { color: var(--muted); margin-bottom: 22px; max-width: 700px; }
.count-pill {
  display: inline-block; background: var(--blue-soft); color: var(--blue);
  border-radius: 999px; font-size: 13px; font-weight: 700; padding: 3px 10px;
  vertical-align: middle; margin-left: 6px;
}

/* ---------- Öne çıkan paneller ---------- */
.featured-grid { display: grid; gap: 16px; }
.featured-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px;
}
.featured-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.featured-flag { font-size: 30px; }
.featured-head h3 { margin: 0; font-size: 20px; }
.featured-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.featured-list li {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg); border-radius: 12px; padding: 10px 12px;
}
.featured-deal-info { display: flex; flex-direction: column; min-width: 0; }
.featured-deal-info small { color: var(--muted); }
.featured-price { margin-left: auto; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.featured-more { font-weight: 700; font-size: 14px; }

/* ---------- Filtre çubuğu ---------- */
.filter-bar { display: grid; gap: 8px; margin-bottom: 18px; }
.filter-bar input, .filter-bar select {
  width: 100%; padding: 11px 13px; font-size: 15px; font-family: var(--font);
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--text);
}
.filter-bar input:focus, .filter-bar select:focus { outline: none; border-color: var(--blue); }

/* ---------- Paket kartları ---------- */
.deals-grid { display: grid; gap: 14px; }
.deal-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px;
}
.deal-card.is-featured { border-color: var(--blue); }
.deal-badge {
  position: absolute; top: -10px; right: 14px;
  background: var(--blue); color: #fff; border-radius: 999px;
  font-size: 11px; font-weight: 700; padding: 3px 10px;
}
.deal-top { display: flex; align-items: center; gap: 8px; }
.prov-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  color: #fff; font-weight: 800; font-size: 14px;
}
.prov-badge.sm { width: 26px; height: 26px; font-size: 12px; border-radius: 8px; }
[hidden] { display: none !important; }
.prov-logo {
  width: 30px; height: 30px; border-radius: 9px; object-fit: contain;
  background: #fff; border: 1px solid var(--line); flex-shrink: 0;
}
.prov-logo.sm { width: 26px; height: 26px; border-radius: 8px; }
.prov-name { font-weight: 700; font-size: 14px; }
.deal-flags { margin-left: auto; font-size: 15px; color: var(--muted); }
.deal-title { margin: 0; font-size: 17px; }
.deal-specs {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  color: var(--muted); font-size: 14px; font-weight: 600;
}
.deal-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.deal-price { font-size: 22px; font-weight: 800; letter-spacing: -0.4px; }
.deals-empty { color: var(--muted); text-align: center; padding: 24px 0; }

/* ---------- Vinyet tanıtım bandı ---------- */
.promo-vignet {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
.promo-vignet .promo-icon { font-size: 34px; line-height: 1; }
.promo-vignet .promo-text { flex: 1; }
.promo-vignet h3 { margin: 0 0 4px; }
.promo-vignet p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Ülke kartları ---------- */
.region-title { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: .6px; margin: 20px 0 10px; }
.country-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.country-card {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  color: var(--text); font-weight: 700; font-size: 14px; padding: 12px 14px;
  transition: border-color .15s ease;
}
.country-card:hover { border-color: var(--blue); color: var(--blue); }
.country-flag { font-size: 22px; }

/* ---------- Adımlar & Neden ---------- */
.steps-grid, .why-grid { display: grid; gap: 14px; }
.step-card, .why-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 16px;
  margin-bottom: 10px;
}
.why-card > span { font-size: 28px; display: block; margin-bottom: 8px; }
.step-card p, .why-card p { color: var(--muted); margin: 0; font-size: 14.5px; }

/* ---------- SSS ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 0 16px;
}
.faq-item summary {
  cursor: pointer; font-weight: 700; font-size: 15px;
  padding: 14px 0; list-style: none; position: relative; padding-right: 28px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  color: var(--blue); font-size: 20px; font-weight: 700;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p { color: var(--muted); padding-bottom: 14px; margin: 0; font-size: 14.5px; }

/* ---------- Ülke bilgi kartları ---------- */
.info-cols { display: grid; gap: 14px; }
.info-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px;
}
.info-card h3 { margin-bottom: 8px; }
.info-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Rehber kartları ---------- */
.article-grid { display: grid; gap: 14px; }
.article-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px; color: var(--text);
  transition: border-color .15s ease;
}
.article-card:hover { border-color: var(--blue); }
.article-emoji { font-size: 30px; line-height: 1; }
.article-card h2, .article-card h3 { margin: 0; font-size: 17px; }
.article-card p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.article-more { color: var(--blue); font-weight: 700; font-size: 14px; }
.article-meta { color: var(--muted); font-size: 13.5px; }
.article-body { font-size: 16px; line-height: 1.7; }
.article-body h2 { font-size: 22px; margin: 28px 0 10px; }
.article-body h3 { font-size: 18px; margin: 22px 0 8px; }
.article-body p { margin: 0 0 14px; }
.article-body ul { margin: 0 0 14px; padding-left: 22px; }
.article-body li { margin-bottom: 6px; }
.article-body a { font-weight: 600; text-decoration: underline; }

/* ---------- CTA bandı ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, #2c3e9e 100%);
  color: #fff; text-align: center; padding: 44px 0; margin-top: 8px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #cdd8ff; margin-bottom: 20px; }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Sayfa başlığı (ülke) ---------- */
.page-head { padding: 28px 0 8px; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.breadcrumb { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.page-intro { color: var(--muted); max-width: 760px; }
.price-hint { font-size: 15px; }
.price-hint strong { color: var(--green); font-size: 17px; }

/* ---------- Altbilgi ---------- */
.site-footer { background: #10162e; color: #aab3cf; padding: 36px 0 20px; margin-top: 24px; }
.footer-grid { display: grid; gap: 24px; }
.footer-brand { color: #fff; font-weight: 800; font-size: 17px; margin-bottom: 6px; }
.footer-title { color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.footer-text { font-size: 13.5px; }
.footer-text.small { font-size: 12px; color: #7c86a6; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.footer-links a { color: #aab3cf; font-size: 13.5px; }
.footer-links a:hover { color: #fff; }
.footer-note { border-top: 1px solid #232c4d; margin-top: 26px; padding-top: 16px; font-size: 12.5px; color: #7c86a6; }
.footer-note a { color: #aab3cf; text-decoration: underline; }
.footer-note a:hover { color: #fff; }

/* ---------- Yapışkan alt bar & WhatsApp ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}
.sticky-cta .btn { flex: 1; }
body { padding-bottom: 68px; }
.wa-fab {
  position: fixed; right: 14px; bottom: 78px; z-index: 55;
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; font-size: 24px; box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}

/* ---------- Yönetim paneli ---------- */
.adm-wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px 60px; }
.adm-header {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 14px 0; border-bottom: 1px solid var(--line); margin-bottom: 20px;
}
.adm-header .logo { margin-right: auto; }
.adm-nav { display: flex; gap: 4px; overflow-x: auto; width: 100%; scrollbar-width: none; }
.adm-nav::-webkit-scrollbar { display: none; }
.adm-nav a {
  color: var(--muted); font-weight: 600; font-size: 14px;
  padding: 8px 12px; border-radius: 10px; white-space: nowrap;
}
.adm-nav a.active, .adm-nav a:hover { color: var(--blue); background: var(--blue-soft); }
.adm-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.adm-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px; margin-bottom: 16px;
}
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.stat-card .num { font-size: 26px; font-weight: 800; }
.stat-card .lbl { color: var(--muted); font-size: 13px; font-weight: 600; }
.table-wrap { overflow-x: auto; }
table.adm-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.adm-table th {
  text-align: left; color: var(--muted); font-size: 12px; text-transform: uppercase;
  letter-spacing: .5px; padding: 8px 10px; border-bottom: 1px solid var(--line);
}
.adm-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.adm-table tr:hover td { background: var(--bg); }
.adm-form { display: grid; gap: 14px; }
.adm-form label { font-weight: 700; font-size: 13.5px; display: block; margin-bottom: 5px; }
.adm-form input[type="text"], .adm-form input[type="url"], .adm-form input[type="number"],
.adm-form input[type="email"], .adm-form input[type="password"], .adm-form select, .adm-form textarea {
  width: 100%; padding: 10px 12px; font-size: 15px; font-family: var(--font);
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--text);
}
.adm-form input:focus, .adm-form select:focus, .adm-form textarea:focus { outline: none; border-color: var(--blue); }
.adm-form .row2 { display: grid; gap: 14px; }
.adm-form .hint { color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.check-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px;
  max-height: 260px; overflow-y: auto; border: 1.5px solid var(--line);
  border-radius: 10px; padding: 10px;
}
.check-grid label { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13.5px; margin: 0; }
.pill { display: inline-block; border-radius: 999px; font-size: 12px; font-weight: 700; padding: 2px 9px; }
.pill.on { background: #dcfce7; color: #15803d; }
.pill.off { background: #fee2e2; color: #b91c1c; }
.pill.blue { background: var(--blue-soft); color: var(--blue); }
.inline-form { display: inline; }
.adm-login { max-width: 400px; margin: 60px auto; }
.flash { border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.flash.ok { background: #dcfce7; color: #15803d; }
.flash.err { background: #fee2e2; color: #b91c1c; }
.bar-row { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 6px; }
.bar-row .bar { height: 10px; background: var(--blue); border-radius: 5px; min-width: 2px; }
.bar-row .lbl { width: 74px; color: var(--muted); flex-shrink: 0; }

/* ---------- Masaüstü ---------- */
@media (min-width: 700px) {
  h1 { font-size: 40px; }
  .promo-vignet { flex-direction: row; align-items: center; }
  .hero h1 { font-size: 44px; }
  .hero { padding: 64px 0 36px; }
  .hero-select { flex-direction: row; }
  .hero-select select { flex: 1; }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .deals-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-bar { grid-template-columns: 1fr 180px 180px 180px; }
  .country-grid { grid-template-columns: repeat(4, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .info-cols { grid-template-columns: repeat(3, 1fr); }
  .article-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .adm-form .row2 { grid-template-columns: 1fr 1fr; }
  .check-grid { grid-template-columns: repeat(4, 1fr); }
  .adm-header { flex-wrap: nowrap; }
  .adm-nav { width: auto; }
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
  .wa-fab { bottom: 24px; }
}
@media (min-width: 1000px) {
  .deals-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .country-grid { grid-template-columns: repeat(5, 1fr); }
}
