/* Amerika Vize Yardımcısı — site styles (v3, 2026) */

:root {
  --ink: #0f1029;
  --ink-2: #3b3d5c;
  --muted: #64668a;
  --line: #e4e4f0;
  --bg: #fbfbfe;
  --surface: #ffffff;
  --surface-2: #f3f3fb;
  --brand: #4f46e5;
  --brand-2: #7c3aed;
  --brand-ink: #3730a3;
  --brand-soft: #eef0ff;
  --ok: #16a34a;
  --ok-soft: #e8f8ee;
  --warn: #b45309;
  --warn-soft: #fff6e5;
  --danger: #dc2626;
  --danger-soft: #fdecec;
  --hero-1: #1e1b4b;
  --hero-2: #312e81;
  --hero-3: #5b21b6;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(15, 16, 41, .06), 0 8px 24px rgba(15, 16, 41, .06);
  --shadow-lg: 0 24px 60px rgba(30, 27, 75, .25);
  --max: 1160px;
  --read: 760px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ececf8;
    --ink-2: #c4c5dc;
    --muted: #9a9cbc;
    --line: #2a2b47;
    --bg: #0c0d1f;
    --surface: #14152c;
    --surface-2: #1a1b36;
    --brand: #8b84ff;
    --brand-2: #a78bfa;
    --brand-ink: #c7c3ff;
    --brand-soft: #1f1e45;
    --ok: #4ade80;
    --ok-soft: #12291c;
    --warn: #fbbf24;
    --warn-soft: #2b2310;
    --danger: #f87171;
    --danger-soft: #2d1416;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-2); }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
li { margin: .3em 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; white-space: nowrap; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { white-space: nowrap; color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 10px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.nav-cta { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; color: var(--ink); cursor: pointer; }
.menu-btn svg { margin: auto; }
@media (max-width: 1080px) {
  .menu-btn { display: grid; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 18px;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .nav-cta { margin: 8px 0 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 16px; line-height: 1;
  padding: 15px 22px; border-radius: 12px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 8px 22px rgba(79, 70, 229, .32); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 28px rgba(79, 70, 229, .4); }
.btn-light { background: #fff; color: #1e1b4b; box-shadow: 0 10px 30px rgba(0, 0, 0, .22); }
.btn-light:hover { color: #1e1b4b; }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; opacity: .9; }
.btn-ghost:hover { opacity: 1; color: inherit; }
.btn-sm { padding: 10px 16px; font-size: 15px; border-radius: 10px; }
.btn svg { flex: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(129, 140, 248, .35), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(167, 139, 250, .35), transparent 60%),
    linear-gradient(135deg, var(--hero-1), var(--hero-2) 55%, var(--hero-3));
}
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 .hl { background: linear-gradient(90deg, #c7d2fe, #f0abfc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .86); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(255, 255, 255, .85); font-size: 15px; }
.hero-points li { display: flex; align-items: center; gap: 8px; margin: 0; }
.hero-points svg { color: #4ade80; flex: none; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .02em;
  padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); margin-bottom: 20px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .25); }
.hero-shot { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .14); }
.hero-note { font-size: 13px; color: rgba(255, 255, 255, .6); margin-top: 18px; }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 56px; gap: 32px; }
}

/* Rating badge */
.stars { color: #fbbf24; letter-spacing: 2px; }
.rating {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px;
  padding: 10px 16px; border-radius: 12px; font-size: 15px; text-decoration: none;
  color: rgba(255, 255, 255, .92); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
}
.rating:hover { color: #fff; background: rgba(255, 255, 255, .16); }
.rating .stars { font-size: 18px; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-alt { background: var(--surface-2); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
@media (max-width: 700px) { section { padding: 60px 0; } }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--ink-2); font-size: 16px; }
.icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--brand-soft); color: var(--brand);
}
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); vertical-align: middle; margin-left: 6px; }
.tag-free { background: var(--ok-soft); color: var(--ok); }

/* Path cards (3 ways) */
.path { display: flex; flex-direction: column; }
.path .num { font-size: 13px; font-weight: 800; color: var(--brand); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.path ul { margin: 0 0 18px; padding-left: 1.1em; color: var(--ink-2); font-size: 15.5px; }
.path .more { margin-top: auto; font-weight: 700; text-decoration: none; }
.path-featured { border: 2px solid var(--brand); position: relative; }
.path-featured::before { content: "Bu sitenin aracı"; position: absolute; top: -12px; left: 22px; font-size: 12px; font-weight: 800; background: var(--brand); color: #fff; padding: 3px 10px; border-radius: 999px; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.steps li { counter-increment: step; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; box-shadow: var(--shadow); }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800; margin-bottom: 14px;
}
.steps h3 { font-size: 1.05rem; }
.steps p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Feature split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 72px; }
.split.reverse .split-media { order: -1; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); }
.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.checks li { position: relative; padding-left: 32px; margin: 10px 0; color: var(--ink-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.reverse .split-media { order: 0; } }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--surface-2); font-size: 14px; font-weight: 700; color: var(--ink); }
tbody tr:last-child td { border-bottom: 0; }
td.yes { color: var(--ok); font-weight: 600; }
td.no { color: var(--danger); font-weight: 600; }

/* Pricing */
.pricing { max-width: 880px; margin: 0 auto; }
.price-card { display: flex; flex-direction: column; }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; margin: 6px 0 2px; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-card .checks { margin-bottom: 24px; }
.price-card .btn { margin-top: auto; }
.price-card.featured { border: 2px solid var(--brand); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 1.05rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 22px 20px; color: var(--ink-2); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq h3 { display: inline; font-size: inherit; margin: 0; }

/* Callouts */
.callout { border-radius: var(--radius); padding: 18px 20px; margin: 24px 0; border: 1px solid var(--line); background: var(--surface-2); }
.callout strong:first-child { display: block; margin-bottom: 4px; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout-info { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 25%, transparent); }
.callout-warn { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 30%, transparent); }
.callout-ok { background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 30%, transparent); }
.callout-danger { background: var(--danger-soft); border-color: color-mix(in srgb, var(--danger) 30%, transparent); }

/* TL;DR / answer box — first thing AI & featured snippets read */
.tldr {
  border-left: 4px solid var(--brand); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px; margin: 0 0 32px; box-shadow: var(--shadow);
}
.tldr .label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); display: block; margin-bottom: 6px; }
.tldr p:last-child, .tldr ul:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band {
  border-radius: var(--radius-lg); padding: 48px; color: #fff; text-align: center;
  background: radial-gradient(600px 300px at 0% 0%, rgba(129, 140, 248, .4), transparent 60%), linear-gradient(135deg, var(--hero-1), var(--hero-3));
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .82); max-width: 40em; margin: 0 auto 24px; }
.cta-band .hero-actions { justify-content: center; margin: 0; }
@media (max-width: 600px) { .cta-band { padding: 36px 22px; } }

/* Video (lite embed) */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow); max-width: 880px; margin: 0 auto; }
.video button { all: unset; cursor: pointer; position: absolute; inset: 0; display: grid; place-items: center; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video .play { position: absolute; width: 78px; height: 54px; border-radius: 14px; background: #ff0033; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Article pages ---------- */
.page-hero { background: var(--surface-2); border-bottom: 1px solid var(--line); padding: 44px 0 36px; }
.page-hero h1 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); max-width: 22em; }
.page-hero .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 44em; margin-bottom: 14px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.crumbs span[aria-hidden] { margin: 0 6px; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 56px; padding: 48px 20px 80px; }
.article-layout > aside { position: relative; }
.toc { position: sticky; top: 92px; font-size: 14.5px; border-left: 2px solid var(--line); padding-left: 16px; }
.toc strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc li { margin: 8px 0; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--brand); }
.toc .side-cta { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--surface); }
.toc .side-cta p { font-size: 14px; color: var(--ink-2); margin-bottom: 12px; }
@media (max-width: 980px) { .article-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 32px; } .article-layout > aside { display: none; } }

.prose { max-width: var(--read); min-width: 0; }
.prose h2 { margin-top: 2.2em; padding-top: .2em; font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose .table-wrap { margin: 24px 0; }
.prose ol > li::marker { font-weight: 700; color: var(--brand); }
.sources { font-size: 14.5px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 48px; padding-top: 20px; }
.sources h2 { font-size: 1.1rem; margin-top: 0; }
.sources li, .sources p { color: var(--muted); }
.related { margin-top: 40px; }
.related .grid { margin-top: 12px; }
.related a.card { text-decoration: none; color: inherit; }
.related a.card:hover { border-color: var(--brand); }
.related a.card strong { display: block; color: var(--ink); margin-bottom: 4px; }
.related a.card span { font-size: 15px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: #0b0c1f; color: #b9bad6; padding: 60px 0 32px; font-size: 15px; }
.site-footer a { color: #d9daf0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #8f91b5; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 9px 0; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid #23244a; margin-top: 44px; padding-top: 22px; font-size: 13.5px; color: #8f91b5; }
.footer-bottom p { margin: 0 0 8px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile sticky install bar */
.mobile-cta { display: none; }
@media (max-width: 700px) {
  .mobile-cta {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
    padding: 14px; border-radius: 14px; justify-content: center;
  }
  body.has-mobile-cta { padding-bottom: 84px; }
}

/* Reveal on scroll (progressive enhancement) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
