/* Pusula Yurtdışı - ortak tasarım sistemi (v0 tasarımından türetildi) */
:root {
  --navy: #0F2147;
  --blue: #1D4ED8;
  --amber: #F59E0B;
  --amber-ink: #0F2147;
  --mint: #10B981;
  --mint-ink: #ffffff;
  --bg: #F7F9FC;
  --card: #ffffff;
  --text: #0F172A;
  --heading: #0F2147;
  --body: #334155;
  --muted: #64748B;
  --line: #DCE5F2;
  --line-strong: #B9C9E2;
  --soft: #EAF1FF;
  --soft-line: #C8D9F4;
  --amber-soft: #FFF7E6;
  --amber-line: #F8D48A;
  --link: #1D4ED8;
  --header-bg: rgba(247, 249, 252, .9);
  --band: #0F2147;
  --band-text: #D4DEF0;
  --band-muted: #9EAFCA;
  --band-eyebrow: #8EB5FF;
  --shadow: 0 14px 35px rgba(30, 78, 150, .09);
  --shadow-pop: 0 12px 25px rgba(15, 33, 71, .13);
  --radius: 12px;
  --font-head: "Sora", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --blue: #7AA2FF;
    --amber-ink: #0F2147;
    --mint: #34D399;
    --mint-ink: #052E22;
    --bg: #0A1426;
    --card: #111D35;
    --text: #E2E8F0;
    --heading: #F1F5F9;
    --body: #CBD5E1;
    --muted: #94A3B8;
    --line: #22324F;
    --line-strong: #34486D;
    --soft: #13254A;
    --soft-line: #2A3F6B;
    --amber-soft: #2A2112;
    --amber-line: #6B4E14;
    --link: #8DB4FF;
    --header-bg: rgba(10, 20, 38, .9);
    --band: #0C1A38;
    --shadow: 0 14px 35px rgba(0, 0, 0, .35);
    --shadow-pop: 0 12px 25px rgba(0, 0, 0, .45);
  }
}

/* Temel */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
a { color: var(--link); text-underline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
svg { flex: none; max-width: 100%; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.mono { font-family: var(--font-mono); }
.heading, h1, h2, h3 { font-family: var(--font-head); letter-spacing: -.03em; color: var(--heading); }
.eyebrow { display: block; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 50; background: var(--card); padding: 8px 12px; border-radius: 8px; }

/* Header */
.site-header { background: var(--header-bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; white-space: nowrap; color: var(--heading); text-decoration: none; font-family: var(--font-body); }
.brand strong { color: var(--amber); font-weight: 700; }
.brand svg { width: 34px; height: 34px; }
.navlinks { display: none; align-items: center; gap: 19px; font-size: 13px; font-weight: 600; }
.navlinks a { color: var(--muted); text-decoration: none; }
.navlinks a:hover, .navlinks a[aria-current="page"] { color: var(--blue); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.top-cta, .btn-primary { background: var(--amber); color: var(--amber-ink); font-weight: 700; border-radius: 8px; padding: 12px 17px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 7px 16px rgba(245, 158, 11, .2); transition: transform .2s, box-shadow .2s; text-decoration: none; }
.top-cta { font-size: 12px; padding: 10px 13px; white-space: nowrap; }
.top-cta:hover, .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(245, 158, 11, .28); }
.btn-secondary { border: 1px solid var(--line-strong); color: var(--heading); font-weight: 700; border-radius: 8px; padding: 11px 17px; display: inline-flex; align-items: center; gap: 8px; background: var(--card); text-decoration: none; }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 11px; font-size: 12px; font-weight: 700; color: var(--heading); background: var(--card); }
.menu summary::-webkit-details-marker { display: none; }
.menu-list { display: none; flex-direction: column; position: absolute; right: 0; top: 46px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-pop); padding: 8px 0; width: min(260px, calc(100vw - 32px)); z-index: 30; }
.menu[open] .menu-list { display: flex; }
.menu-list a { color: var(--heading); text-decoration: none; padding: 9px 16px; font-size: 14px; font-weight: 600; }
.menu-list a:hover { color: var(--blue); background: var(--soft); }

/* Ana sayfa hero */
.hero { padding: 56px 0 72px; display: grid; gap: 45px; align-items: center; }
.hero-copy { max-width: 610px; min-width: 0; }
.hero h1 { font-size: clamp(36px, 6vw, 66px); line-height: 1.08; margin: 15px 0 20px; }
.hero p { font-size: 17px; max-width: 550px; color: var(--body); margin: 0 0 28px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Görsel + yüzen istatistik kartları (ana sayfa ve içerik sayfaları) */
.hero-visual { position: relative; min-height: 340px; margin: 0 8px; }
.hero-visual img { width: 100%; height: 390px; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-visual::after { content: ""; position: absolute; inset: 14px -8px -8px 14px; border: 1px solid var(--soft-line); border-radius: 16px; z-index: -1; }
.stat { position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; box-shadow: var(--shadow-pop); font-size: 11px; font-weight: 600; color: var(--muted); max-width: 190px; line-height: 1.35; }
.stat b { display: block; color: var(--heading); font-family: var(--font-mono); font-size: 17px; margin-bottom: 3px; }
.stat.one { left: -8px; top: 30px; }
.stat.two { right: -8px; top: 132px; }
.stat.three { left: 18px; bottom: 22px; }

/* Bölümler */
.section { padding: 64px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 27px; }
.section-head h2 { font-size: clamp(25px, 4vw, 36px); margin: 9px 0 0; line-height: 1.2; }
.section-head p { max-width: 420px; color: var(--muted); font-size: 14px; margin: 0; }

/* Yol kartları */
.path-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.path-card, .guide-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--text); }
.path-card { padding: 20px; min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .2s, border-color .2s; }
.path-card:hover { transform: translateY(-3px); border-color: var(--blue); }
.path-icon { width: 38px; height: 38px; border-radius: 8px; background: var(--soft); color: var(--blue); display: grid; place-items: center; }
.path-icon svg { width: 20px; height: 20px; }
.path-card h3 { font-size: 17px; margin: 18px 0 0; line-height: 1.3; }
.path-card .arrow { color: var(--blue); font-size: 21px; }

/* Veri bandı */
.data-band { background: var(--band); color: #fff; padding: 44px 0; }
.data-wrap { display: grid; gap: 30px; align-items: center; }
.data-band .eyebrow { color: var(--band-eyebrow); }
.data-band h2 { font-size: 25px; margin: 10px 0 8px; color: #fff; }
.data-band p { color: #B8C7DF; font-size: 14px; margin: 0; }
.data-band a { color: #fff; }
.taxes { display: grid; gap: 4px; }
.tax { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); font-size: 14px; color: var(--band-text); }
.tax strong { font-family: var(--font-mono); color: #fff; text-align: right; }
.data-note { font-size: 12px !important; color: var(--band-muted) !important; margin-top: 11px !important; }

/* Akış (ana sayfa 5 adım) */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; position: relative; list-style: none; padding: 0; margin: 0; }
.flow::before { content: ""; position: absolute; top: 20px; left: 7%; right: 7%; height: 1px; background: var(--soft-line); }
.flow-step { position: relative; }
.flow-no { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--soft-line); color: var(--blue); font-family: var(--font-mono); font-weight: 700; margin-bottom: 18px; position: relative; }
.flow-step:first-child .flow-no { background: var(--blue); border-color: var(--blue); color: #fff; }
.flow-step h3 { font-size: 15px; margin: 0 0 8px; }
.flow-step p { font-size: 13px; color: var(--muted); margin: 0; }

/* Rehber kartları */
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.guide-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.guide-card:hover { transform: translateY(-3px); border-color: var(--blue); }
.guide-card img { height: 180px; width: 100%; object-fit: cover; }
.guide-body { padding: 18px; }
.guide-body .eyebrow { font-size: 10px; }
.guide-body h3 { font-size: 17px; line-height: 1.3; margin: 8px 0 10px; }
.read { color: var(--blue); font-size: 13px; font-weight: 700; }

/* CTA bandı */
.cta-section { padding: 56px 0 24px; }
.cta { background: var(--soft); border: 1px solid var(--soft-line); border-radius: 14px; padding: 35px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { font-size: clamp(24px, 4vw, 34px); margin: 0 0 9px; line-height: 1.2; }
.cta p { margin: 0; color: var(--body); font-size: 14px; }
.whatsapp { background: var(--mint); color: var(--mint-ink); border-radius: 8px; padding: 13px 18px; font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.whatsapp:hover { filter: brightness(1.05); }
.partner { margin-top: 14px; font-size: 13px; color: var(--body); }
.partner strong { color: var(--heading); }
.ad { min-height: 100px; border: 1px dashed var(--line-strong); display: grid; place-items: center; color: var(--muted); font-size: 11px; letter-spacing: .12em; margin: 32px 0; border-radius: 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 30px 0 36px; font-size: 13px; color: var(--muted); margin-top: 32px; }
.site-footer .foot { display: flex; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; }
.site-footer p { margin: 6px 0; }
.site-footer a { color: var(--link); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 8px; }
.foot-nav a { color: var(--muted); text-decoration: none; }
.foot-nav a:hover { color: var(--blue); }
.credits { font-size: 12px; }

/* İçerik sayfası hero */
.page-hero { padding: 40px 0 64px; display: grid; gap: 40px; align-items: center; }
.page-hero-copy { min-width: 0; }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.12; margin: 14px 0 18px; }
.page-hero .lead { font-size: 17px; color: var(--body); margin: 0 0 18px; }
.page-hero .hero-visual img { height: 360px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.meta { font-size: 13px; color: var(--muted); margin: 0; font-family: var(--font-mono); }

/* İçerik düzeni */
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 16px; }
.layout > article { min-width: 0; max-width: 760px; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; font-size: 14px; align-self: start; }
.toc strong { font-family: var(--font-head); display: block; margin-bottom: 8px; color: var(--heading); font-size: 13px; letter-spacing: .02em; }
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc li { margin-bottom: 5px; }
.toc a { color: var(--body); text-decoration: none; }
.toc a:hover { color: var(--blue); }
article { color: var(--body); font-size: 16.5px; line-height: 1.7; }
article h2 { font-size: clamp(23px, 3.4vw, 30px); line-height: 1.22; margin: 2.6rem 0 .9rem; scroll-margin-top: 90px; }
article h2::before { content: ""; display: block; width: 36px; height: 3px; border-radius: 2px; background: var(--amber); margin-bottom: 12px; }
article h3 { font-size: 19px; line-height: 1.3; margin: 1.8rem 0 .5rem; }
article p { margin: 0 0 1rem; }
article ul, article ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
article li { margin-bottom: .4rem; }
article strong { color: var(--heading); }

/* Kısaca, not ve uyarı kutuları */
.kisaca { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 22px; margin: 0 0 1.8rem; }
.kisaca .label { font-family: var(--font-mono); font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; display: block; margin-bottom: 8px; }
.kisaca ul { margin: 0; padding-left: 1.2rem; }
.kisaca li::marker { color: var(--amber); }
.note { background: var(--soft); border: 1px solid var(--soft-line); border-radius: var(--radius); padding: 14px 18px; font-size: 14px; color: var(--body); margin: 1.8rem 0; }
.warn { background: var(--amber-soft); border: 1px solid var(--amber-line); border-left: 4px solid var(--amber); border-radius: var(--radius); padding: 16px 20px; margin: 1.4rem 0; }
.warn p:last-child { margin-bottom: 0; }

/* Tablolar */
.table-wrap { width: 100%; overflow-x: auto; margin: 1.2rem 0 1.8rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--navy); color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
tbody tr:nth-child(even) { background: var(--bg); }
tbody tr:last-child td { border-bottom: 0; }
td strong { color: var(--heading); }

/* Kontrol listesi */
.check { list-style: none; padding-left: 0 !important; }
.check li { position: relative; padding: 10px 14px 10px 46px; margin-bottom: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.check li::before { content: ""; position: absolute; left: 14px; top: 13px; width: 20px; height: 20px; border-radius: 6px; background: var(--mint); }
.check li::after { content: ""; position: absolute; left: 21px; top: 16px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Numaralı adımlar */
.steps { counter-reset: s; list-style: none; padding-left: 0 !important; position: relative; }
.steps li { counter-increment: s; position: relative; padding-left: 54px; margin-bottom: 1.1rem; min-height: 40px; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--card); border: 1px solid var(--soft-line); color: var(--blue); font-family: var(--font-mono); font-weight: 700; display: grid; place-items: center; font-size: 13px; }
.steps li:first-child::before { background: var(--blue); border-color: var(--blue); color: #fff; }

/* İçerik kartları */
.cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 1.2rem 0 1.8rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
a.card:hover { border-color: var(--blue); transform: translateY(-3px); }
.card .tag { font-size: 11px; color: var(--blue); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.card h3 { margin: 0; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.card .more { margin-top: auto; padding-top: 6px; color: var(--blue); font-weight: 700; font-size: 13px; }

/* Fotoğraflar */
.photo { margin: 1.6rem 0 2rem; }
.photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.photo figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* SSS */
.faq details { border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; background: var(--card); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--heading); }
.faq details[open] summary { color: var(--blue); }
.faq details p { margin: .6rem 0 0; }

/* Animasyon */
.reveal { animation: rise .7s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .navlinks { display: flex; }
  .menu { display: none; }
  .hero { grid-template-columns: 1.05fr .95fr; padding-top: 80px; }
  .page-hero { grid-template-columns: 1.1fr .9fr; padding-top: 48px; }
  .top-cta { padding: 11px 15px; }
  .path-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .data-wrap { grid-template-columns: .9fr 1.1fr; }
  .guide-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .guide-card img { height: 155px; }
  .guide-card:nth-child(1) { grid-column: span 2; }
  .guide-card:nth-child(1) img { height: 205px; }
  .cta { padding: 42px 52px; }
  .hero-visual { margin: 0; }
  .stat.one { left: -13px; }
  .stat.two { right: -13px; }
}

@media (min-width: 1000px) {
  .layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 48px; }
  .toc { position: sticky; top: 96px; order: 2; }
}

@media (max-width: 650px) {
  .nav { min-height: 64px; gap: 10px; }
  .brand { font-size: 16px; gap: 8px; }
  .brand svg { width: 30px; height: 30px; }
  .top-cta { font-size: 11px; padding: 9px 10px; }
  .hero { padding-top: 36px; }
  .hero-visual { min-height: 300px; }
  .hero-visual img, .page-hero .hero-visual img { height: 300px; }
  .stat { font-size: 10px; padding: 9px 11px; max-width: 160px; }
  .stat b { font-size: 14px; }
  .stat.two { top: 120px; }
  .section { padding: 48px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .flow::before { display: none; }
  .flow-no { margin-bottom: 10px; }
  .cta { display: block; padding: 28px 22px; }
  .cta .whatsapp { margin-top: 20px; white-space: normal; }
  .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-card img, .guide-card:nth-child(1) img { height: 190px; }
  .page-hero { padding: 28px 0 48px; }
}

@media (max-width: 480px) {
  .top-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; }
  .path-card, .guide-card, .card, .top-cta, .btn-primary { transition: none; }
}
