/* Perseid — aerolith.app. Renkler uygulama temasıyla aynı. */
:root {
  --bg: #070B12;
  --bg-2: #0D131F;
  --panel: #121A29;
  --panel-2: #172135;
  --line: #24304A;
  --text: #E8EEF8;
  --muted: #9AA7BF;
  --dim: #6B7891;
  --green: #3DFFA2;
  --teal: #2EDDD0;
  --blue: #1FB6FF;
  --warn: #FFB547;
  --radius: 14px;
  --max: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #04110A; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* --- üst çubuk --- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(7, 11, 18, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(36, 48, 74, 0.6);
}
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 19px; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.lang { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: 13px; font-weight: 600; }
.lang a, .lang span { padding: 3px 10px; border-radius: 999px; color: var(--muted); }
.lang span { background: var(--panel-2); color: var(--text); }
.lang a:hover { text-decoration: none; color: var(--text); }
@media (max-width: 760px) { .nav-links { display: none; } .lang { margin-left: auto; } }

/* --- düğmeler --- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 12px;
  font-weight: 600; font-size: 16px; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: linear-gradient(100deg, var(--green), var(--teal)); color: #04110A; box-shadow: 0 8px 30px -10px rgba(61, 255, 162, 0.55); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(18, 26, 41, 0.6); }
.btn-ghost:hover { border-color: #34446A; }
.btn[aria-disabled="true"] { background: var(--panel-2); color: var(--muted); box-shadow: none; cursor: default; border-color: var(--line); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; gap: 7px; }
.btn-sm svg { width: 16px; height: 16px; }
.nav-steam { white-space: nowrap; }
@media (max-width: 480px) { .nav-steam[aria-disabled="true"] { display: none; } }

/* --- giriş --- */
.hero { position: relative; padding: 84px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgba(31, 182, 255, 0.16), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--green); letter-spacing: 0.02em; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.hero h1 { font-size: clamp(36px, 5.2vw, 58px); font-weight: 700; }
.grad { background: linear-gradient(95deg, var(--green), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: var(--muted); font-size: 19px; margin-top: 20px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--dim); font-size: 14px; }
.meta span::before { content: "✓"; color: var(--green); margin-right: 6px; }
@media (max-width: 900px) { .hero { padding: 48px 0 40px; } .hero .wrap { grid-template-columns: 1fr; gap: 36px; } }

/* --- kare süresi grafiği --- */
.chart-card { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: 18px; padding: 20px 20px 14px; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8); }
.chart-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin-bottom: 10px; }
.chart-legend span { white-space: nowrap; }
.chart-title { font-weight: 600; font-size: 15px; }
.chart-legend { display: flex; gap: 14px; font-size: 13px; color: var(--muted); }
.chart-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.chart-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.stat { background: rgba(7, 11, 18, 0.55); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.stat b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }
.stat small { color: var(--dim); font-size: 12.5px; }
.stat.before b { color: var(--warn); }
.stat.after b { color: var(--green); }
.chart-note { color: var(--dim); font-size: 12px; margin-top: 10px; }

/* --- bölümler --- */
section { padding: 80px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid rgba(36, 48, 74, 0.5); border-bottom: 1px solid rgba(36, 48, 74, 0.5); }
.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 18px; }
@media (max-width: 700px) { section { padding: 56px 0; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(61, 255, 162, 0.12); color: var(--green); font-weight: 700; margin-bottom: 16px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s, transform .2s; }
.feature:hover { border-color: #34446A; transform: translateY(-2px); }
.feature .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(61, 255, 162, 0.16), rgba(31, 182, 255, 0.16)); margin-bottom: 16px; }
.feature .ic svg { width: 22px; height: 22px; stroke: var(--green); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 18.5px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.shots figure { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.shots img { width: 100%; height: auto; }
.shots figcaption { padding: 12px 16px; color: var(--muted); font-size: 14.5px; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; } }

.safety { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.safe { display: flex; gap: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.safe .tick { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(61, 255, 162, 0.14); color: var(--green); font-weight: 700; }
.safe h3 { font-size: 17.5px; margin-bottom: 6px; }
.safe p { color: var(--muted); font-size: 15.5px; }
.honest { margin-top: 22px; padding: 18px 22px; border-left: 3px solid var(--warn); background: rgba(255, 181, 71, 0.06); border-radius: 0 12px 12px 0; color: var(--muted); font-size: 15.5px; }
.honest b { color: var(--text); }
@media (max-width: 760px) { .safety { grid-template-columns: 1fr; } }

.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; font-size: 17.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 24px; color: var(--teal); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; font-size: 16px; }

.press { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: start; }
.facts { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 22px; }
.facts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; }
.facts dt, .facts dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; font-size: 15.5px; }
.facts dt { color: var(--dim); padding-right: 22px; }
.facts dl > :nth-last-child(-n+2) { border-bottom: 0; }
.press-copy { color: var(--muted); font-size: 16px; }
.press-copy h3 { color: var(--text); font-size: 18px; margin: 0 0 8px; }
.press-copy p + h3 { margin-top: 22px; }
.downloads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.downloads a { font-size: 14.5px; padding: 9px 14px; }
@media (max-width: 860px) { .press { grid-template-columns: 1fr; } }

.final { text-align: center; }
.final .section-head { margin: 0 auto 28px; }
.final .cta { justify-content: center; }

/* --- alt bilgi --- */
footer { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--dim); font-size: 14.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 36px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--muted); }
.company { display: flex; align-items: center; gap: 10px; }
.company b { color: var(--text); font-weight: 600; }
.company .tag { letter-spacing: 0.32em; font-size: 11.5px; color: var(--dim); }

/* --- metin sayfaları (gizlilik, 404) --- */
.doc { max-width: 760px; padding: 64px 20px 80px; margin: 0 auto; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 10px; }
.doc .updated { color: var(--dim); font-size: 14.5px; margin-bottom: 36px; }
.doc h2 { font-size: 22px; margin: 36px 0 12px; }
.doc p, .doc li { color: var(--muted); font-size: 16.5px; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin: 10px 0 0; }
.doc li + li { margin-top: 6px; }
.notfound { text-align: center; padding: 120px 20px; }
.notfound h1 { font-size: 72px; margin-bottom: 12px; }
.notfound p { color: var(--muted); margin-bottom: 28px; }
