/* Jojobet Bilgi - EEAT Optimized Styles */
:root {
  --bg: #0b0f1a;
  --bg-elevated: #12182a;
  --bg-card: #161d33;
  --bg-soft: #1c2540;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8edf7;
  --text-muted: #9aa6c0;
  --text-soft: #6b7a99;
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --accent: #22c55e;
  --accent-soft: rgba(34, 197, 94, 0.12);
  --warn: #f59e0b;
  --danger: #ef4444;
  --gold: #fbbf24;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  --max: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: #93c5fd; }
ul, ol { padding-left: 1.25rem; }
li { margin: .35rem 0; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: .75rem 1rem;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 0;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -.02em;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
  display: block;
  background: transparent;
}
.logo span { color: var(--text-muted); font-weight: 500; font-size: .85rem; }

.nav {
  display: flex;
  gap: .35rem 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.nav a {
  color: var(--text-muted);
  font-size: .92rem;
  font-weight: 500;
  padding: .35rem .2rem;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

.lang-switch {
  display: flex;
  gap: .35rem;
  align-items: center;
}
.lang-switch a {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-soft);
  border: 1px solid var(--border);
  padding: .3rem .55rem;
  border-radius: 999px;
  background: var(--bg-elevated);
}
.lang-switch a.active,
.lang-switch a[aria-current="true"] {
  color: #fff;
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.2);
}

/* Hero */
.hero {
  padding: 3.5rem 0 2.5rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.22), transparent),
    radial-gradient(ellipse 40% 40% at 90% 10%, rgba(34, 197, 94, 0.1), transparent);
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  font-size: .85rem;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
  list-style: none;
  padding: 0;
}
.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: .4rem;
  color: var(--text-soft);
}
.breadcrumb a { color: var(--text-muted); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  font-weight: 600;
  padding: .35rem .7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
}
.badge.ok {
  background: var(--accent-soft);
  border-color: rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  line-height: 1.2;
  letter-spacing: -.03em;
  margin-bottom: 1rem;
  font-weight: 800;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 54ch;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .8rem 1.25rem;
  border-radius: 12px;
  font-weight: 650;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover { color: #fff; background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: rgba(255,255,255,.2); color: #fff; }

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  font-size: .85rem;
  color: var(--text-soft);
}
.meta-line strong { color: var(--text-muted); font-weight: 600; }

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}
.hero-card h2 {
  font-size: 1.05rem;
  margin-bottom: .85rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.score-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .55rem;
  align-items: center;
  margin: .55rem 0;
  font-size: .9rem;
}
.score-bar {
  height: 8px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
}
.score-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 999px;
}
.score-total {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.score-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -.03em;
}

/* Sections */
main section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
main section:last-of-type { border-bottom: none; }

.section-head {
  margin-bottom: 1.5rem;
  max-width: 70ch;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .5rem;
}
.section-head h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  letter-spacing: -.02em;
  margin-bottom: .65rem;
  line-height: 1.25;
}
.section-head p { color: var(--text-muted); }

.prose {
  max-width: 75ch;
  color: var(--text-muted);
}
.prose h3 {
  color: var(--text);
  font-size: 1.15rem;
  margin: 1.5rem 0 .65rem;
}
.prose p { margin: .85rem 0; }
.prose strong { color: var(--text); font-weight: 650; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* Cards / grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 800px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.card h3 {
  font-size: 1.05rem;
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.card p { color: var(--text-muted); font-size: .95rem; }
.card .icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  font-size: .95rem;
  flex-shrink: 0;
}

/* Steps */
.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #22c55e);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.step h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.step p { color: var(--text-muted); font-size: .95rem; }

/* Table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
th, td {
  text-align: left;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--border);
}
th {
  background: var(--bg-soft);
  color: var(--text);
  font-weight: 650;
  white-space: nowrap;
}
td { color: var(--text-muted); }
tr:last-child td { border-bottom: none; }

/* FAQ */
.faq-list { display: grid; gap: .75rem; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 650;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--text-soft);
  font-size: 1.2rem;
  font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body {
  padding: 0 1.15rem 1.15rem;
  color: var(--text-muted);
  font-size: .95rem;
}

/* Author / EEAT trust */
.author-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
}
.author-card h3 { margin-bottom: .25rem; }
.author-role {
  color: var(--primary);
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: .65rem;
}
.author-card p { color: var(--text-muted); font-size: .92rem; }
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

/* Notice */
.notice {
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.08);
  color: #fcd34d;
  font-size: .92rem;
  margin: 1.25rem 0;
}
.notice strong { color: #fde68a; }

.notice-safe {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.08);
  color: #86efac;
}
.notice-safe strong { color: #bbf7d0; }

/* CTA strip */
.cta-strip {
  background: linear-gradient(135deg, rgba(59,130,246,.18), rgba(34,197,94,.1));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.cta-strip h2 { font-size: 1.25rem; margin-bottom: .35rem; }
.cta-strip p { color: var(--text-muted); font-size: .95rem; max-width: 50ch; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
  background: #080c16;
  margin-top: 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .logo { margin-bottom: .75rem; }
.footer-brand p { color: var(--text-soft); font-size: .9rem; max-width: 40ch; }
.footer-col h3 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: .85rem;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col a { color: var(--text-soft); font-size: .92rem; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: space-between;
  color: var(--text-soft);
  font-size: .82rem;
}
.legal-note {
  max-width: 70ch;
  color: var(--text-soft);
  font-size: .8rem;
  line-height: 1.6;
  margin-top: 1rem;
}

/* TOC */
.toc {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  margin: 1.5rem 0;
}
.toc h2 {
  font-size: .95rem;
  margin-bottom: .75rem;
  color: var(--text);
}
.toc ol {
  columns: 2;
  gap: 1.5rem;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: .92rem;
}
@media (max-width: 600px) {
  .toc ol { columns: 1; }
}
.toc a { color: var(--text-muted); }
.toc a:hover { color: var(--primary); }

/* Updates / changelog mini */
.update-log {
  font-size: .88rem;
  color: var(--text-soft);
  border-left: 3px solid var(--primary);
  padding-left: 1rem;
  margin: 1rem 0;
}
.update-log time { color: var(--text-muted); font-weight: 600; }

/* Print */
@media print {
  .site-header, .hero-actions, .lang-switch, .cta-strip { display: none !important; }
  body { background: #fff; color: #000; }
  .card, .hero-card, .step, .faq-item { border-color: #ccc; background: #fff; }
}
