/* ==========================================================================
   Sedat Çağlar - Kurye Faliyetleri · Ortak stil dosyası
   Vurgu rengini değiştirmek için yalnızca --accent değişkenlerini düzenleyin.
   ========================================================================== */

:root {
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --soft: #f8fafc;
  --accent: #c2410c;
  --accent-hover: #9a3412;
  --accent-soft: #fff4ec;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (max-width: 400px) { .container { padding: 0 16px; } }

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }

/* ----- Header ----- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 68px; flex-wrap: wrap; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-weight: 700; font-size: 1.05rem; }
.brand-sub { font-size: .75rem; color: var(--muted); white-space: nowrap; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.site-nav a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem;
}
.site-nav a:hover { background: var(--soft); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }

.lang-switch { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font-size: .85rem; font-weight: 600; }
.lang-switch a, .lang-switch span { padding: 6px 10px; text-decoration: none; color: var(--muted); }
.lang-switch span { background: var(--ink); color: #fff; }
.lang-switch a:hover { background: var(--soft); color: var(--ink); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); cursor: pointer;
}

@media (max-width: 899px) {
  .site-nav { order: 10; width: 100%; padding-bottom: 12px; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .site-nav.open { display: block; }
  .js .site-nav ul { flex-direction: column; }
  .js .site-nav a { padding: 12px; }
}
@media (min-width: 900px) {
  .header-inner { flex-wrap: nowrap; }
  .site-nav { margin-left: auto; }
  .brand { margin-right: 0; }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1e293b; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-lg { padding: 15px 24px; font-size: 1.05rem; }

/* ----- Sections ----- */
.section { padding: 64px 0; }
.section-soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.lead { font-size: 1.15rem; color: var(--text); }
.muted { color: var(--muted); }
@media (min-width: 900px) { .section { padding: 88px 0; } }

/* ----- Hero ----- */
.hero { padding: 48px 0 56px; background: linear-gradient(180deg, var(--accent-soft) 0%, #fff 70%); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero .lead { max-width: 560px; margin-bottom: 28px; }
.hero-brand { font-weight: 700; color: var(--ink); font-size: 1.05rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.hero-brand .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero-visual { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 18px; }
.hero-visual svg.route { display: block; width: 100%; height: auto; border-radius: 12px; }
.hero-facts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; font-size: .9rem; }
.hero-facts li { display: flex; gap: 10px; align-items: flex-start; }
.hero-facts .icon { color: var(--accent); margin-top: 2px; }
.hero-facts strong { color: var(--ink); display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
@media (min-width: 900px) {
  .hero { padding: 80px 0 88px; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; }
}

/* ----- Page hero ----- */
.page-hero { padding: 48px 0 40px; background: linear-gradient(180deg, var(--accent-soft) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 5vw, 2.75rem); margin-bottom: .3em; }
.page-hero p { max-width: 720px; font-size: 1.1rem; margin: 0; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }

/* ----- Grids & cards ----- */
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.card-link { margin-top: auto; padding-top: 12px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }

.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .card-icon { margin: 0; flex: none; }
.feature h3 { margin-bottom: .25em; }
.feature p { margin: 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; counter-increment: step; }
.steps li::before {
  content: counter(step); display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 14px;
}
.steps p { margin: 0; }

/* Split */
.split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { color: var(--accent); margin-top: 2px; width: 20px; height: 20px; }

/* ----- Info table ----- */
.info-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.info-table th, .info-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th { width: 34%; background: var(--soft); color: var(--ink); font-weight: 600; font-size: .92rem; }
@media (max-width: 560px) {
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: 0; padding-bottom: 4px; }
  .info-table td { padding-top: 4px; }
}

/* ----- Contact ----- */
.contact-cards { display: grid; gap: 16px; }
@media (min-width: 720px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
.contact-card { display: flex; gap: 16px; align-items: flex-start; }
.contact-card .card-icon { margin: 0; flex: none; }
.contact-card .label { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.contact-card .value { font-size: 1.1rem; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; display: block; margin-bottom: 10px; }
.contact-card .value a { color: var(--ink); text-decoration: none; }
.contact-card .value a:hover { color: var(--accent); }

.cta-band { background: var(--ink); color: #cbd5e1; border-radius: 20px; padding: 36px 28px; display: grid; gap: 20px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1.4fr 1fr; padding: 48px; } .cta-band .btn-row { justify-content: flex-end; } }

/* ----- Apps ----- */
.app-card { gap: 0; }
.app-head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.app-icon { width: 64px; height: 64px; flex: none; border-radius: 16px; }
.app-head h3 { margin: 0 0 4px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); border: 1px solid var(--line);
}
.badge-soon { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.badge-live { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.app-card .btn-row { margin-top: auto; padding-top: 16px; }
.btn-play { background: var(--ink); color: #fff; }
.btn-play:hover { background: #1e293b; color: #fff; }
.btn-play small { display: block; font-size: .7rem; font-weight: 500; opacity: .8; line-height: 1; }
.btn-play span { text-align: left; line-height: 1.2; }

.app-hero { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.app-hero .app-icon { width: 88px; height: 88px; border-radius: 22px; }

/* ----- Prose (legal pages) ----- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; margin-top: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; color: var(--muted); margin-top: 14px; }
.note {
  border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--soft);
  border-radius: 10px; padding: 16px 18px; margin: 1.2em 0;
}
.note p:last-child { margin-bottom: 0; }
.toc { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 2em; }
.toc strong { color: var(--ink); }
.toc ol { margin: 8px 0 0; columns: 1; }
@media (min-width: 720px) { .toc ol { columns: 2; column-gap: 32px; } }
.toc li { margin-bottom: 4px; break-inside: avoid; }

/* ----- Footer ----- */
.site-footer { background: var(--ink); color: #cbd5e1; padding: 56px 0 28px; margin-top: 0; font-size: .93rem; }
.site-footer a { color: #e2e8f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.2fr 1.3fr 1fr 1fr; } }
.site-footer h2 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer address { font-style: normal; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand-sub { color: #94a3b8; }
.footer-legal-name { color: #fff; font-weight: 600; }
.footer-line { display: flex; gap: 8px; align-items: flex-start; }
.footer-line .icon { color: #94a3b8; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid #1e293b; margin-top: 40px; padding-top: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: #94a3b8; font-size: .85rem;
}

/* ----- 404 ----- */
.error-page { text-align: center; padding: 96px 0; }
.error-code { font-size: clamp(4rem, 18vw, 8rem); font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 12px; letter-spacing: -.04em; }
.error-page .btn-row { justify-content: center; margin-top: 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .site-header, .nav-toggle, .btn-row, .cta-band { display: none !important; }
  .site-footer { background: #fff; color: #000; }
  .site-footer a, .site-footer h2 { color: #000; }
}
