:root {
  --bg: #0b1020;
  --bg-soft: #121a33;
  --card: #16203f;
  --border: #24325c;
  --text: #eaf0ff;
  --muted: #9fb0d4;
  --brand: #4f8cff;
  --brand-2: #7c5cff;
  --accent: #23d5ab;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(0,0,0,.35);
  --maxw: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 80% -10%, rgba(124,92,255,.18), transparent 60%),
              radial-gradient(900px 500px at 0% 10%, rgba(79,140,255,.16), transparent 55%),
              var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .2s;
}
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 10px 30px rgba(79,140,255,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(79,140,255,.45); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--bg-soft); }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11,16,32,.7);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; }
.brand .logo { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; background: none; border: 0; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* Hero */
.hero { padding: 84px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: .85rem; background: var(--bg-soft); }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.08; margin: 18px 0 14px; letter-spacing: -.5px; }
.hero h1 .grad { background: linear-gradient(135deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--muted); font-size: 1.15rem; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; color: var(--muted); font-size: .9rem; }

/* Mockup bubble */
.mockup { position: relative; align-self: start; }
.window {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.window-bar { display: flex; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.window-body { padding: 22px; display: grid; gap: 14px; }

/* Demo video */
.video-frame {
  width: 100%;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.demo-video { display: block; width: 100%; height: auto; background: #000; }
.video-caption { margin: 12px 2px 0; color: var(--muted); font-size: .85rem; text-align: center; }
.src-text { color: var(--muted); font-size: .95rem; }
.bubble {
  position: relative; align-self: start;
  background: linear-gradient(135deg, rgba(79,140,255,.18), rgba(124,92,255,.18));
  border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; max-width: 90%;
}
.bubble .lang { font-size: .72rem; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.bubble strong { font-size: 1.05rem; }
.float-badge {
  position: absolute; right: -14px; top: -14px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff;
  padding: 8px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700; box-shadow: var(--shadow);
}

/* Sections */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin: 0 0 12px; letter-spacing: -.4px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: transform .18s ease, border-color .18s;
}
.card:hover { transform: translateY(-4px); border-color: var(--brand); }
.card .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(79,140,255,.2), rgba(35,213,171,.2)); font-size: 1.4rem; }
.card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; position: relative; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 24px;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: var(--shadow); }
.step h3 { margin: 12px 0 8px; }
.step p { margin: 0; color: var(--muted); }

/* Download */
.download { background: linear-gradient(180deg, transparent, rgba(124,92,255,.06)); }
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dl-card { text-align: center; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 22px; }
.dl-card .os { font-size: 2.4rem; margin-bottom: 10px; }
.dl-card h3 { margin: 0 0 4px; }
.dl-card p { color: var(--muted); margin: 0 0 18px; font-size: .9rem; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 4px 20px; }
details summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 16px; color: var(--muted); }

/* CTA band */
.cta-band { text-align: center; background: linear-gradient(135deg, rgba(79,140,255,.14), rgba(124,92,255,.14)); border: 1px solid var(--border); border-radius: 24px; padding: 54px 26px; }
.cta-band h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin: 0 0 12px; }
.cta-band p { color: var(--muted); margin: 0 0 24px; }

/* Footer */
footer.site { border-top: 1px solid var(--border); padding: 40px 0; color: var(--muted); }
.foot-grid { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a:hover { color: var(--text); }

@media (max-width: 860px) {
  .hero { padding: 40px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero p.lead { max-width: none; }
  .grid-3, .steps, .dl-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .steps { row-gap: 34px; }
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--bg-soft); padding: 20px; border-bottom: 1px solid var(--border); }
}

/* Install notes under download cards */
.install-note {
  margin-top: 16px; text-align: left; font-size: .85rem; color: var(--muted);
  border-top: 1px solid var(--border); padding-top: 14px; line-height: 1.55;
}
.install-note b { color: var(--text); font-weight: 600; }
.install-note pre {
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; margin: 10px 0 0; overflow-x: auto;
}
.install-note code, .src-text em {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
.install-note pre code { color: var(--accent); font-size: .82rem; }
.src-text em { color: var(--text); font-style: normal; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 24px; justify-content: center; align-items: stretch; }
.price-card {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column;
}
.price-card.featured {
  border-color: var(--brand);
  box-shadow: 0 20px 50px rgba(79,140,255,.25);
  background: linear-gradient(180deg, rgba(79,140,255,.10), var(--card));
}
.price-card h3 { margin: 0 0 6px; font-size: 1.35rem; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 4px; }
.price .amount { font-size: 2.8rem; font-weight: 800; letter-spacing: -1px; }
.price .per { color: var(--muted); font-weight: 500; }
.price-tag { color: var(--muted); margin: 0 0 18px; font-size: .95rem; }
.price-tag b { color: var(--text); }
.plan-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 11px; }
.plan-list li { color: var(--muted); }
.plan-list li b { color: var(--text); }
.plan-cta { margin-top: auto; justify-content: center; }
.ribbon {
  position: absolute; top: -13px; right: 22px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff;
  padding: 6px 14px; border-radius: 999px; font-size: .78rem; font-weight: 700;
  box-shadow: var(--shadow);
}

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

/* Coming-soon download card */
.dl-card { position: relative; }
.soon-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--bg); border: 1px solid var(--border); color: var(--muted);
  font-size: .72rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.btn-soon {
  background: var(--bg-soft); color: var(--muted); border: 1px dashed var(--border);
  cursor: not-allowed;
}

/* OS-detected download card */
.dl-card.detected { border-color: var(--brand); box-shadow: 0 16px 40px rgba(79,140,255,.22); }
.detected-tag {
  position: absolute; top: 14px; left: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.dl-card.flash { animation: cardflash 1.6s ease; }
@keyframes cardflash {
  0%, 100% { border-color: var(--border); }
  20%, 60% { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(35,213,171,.25); }
}

/* Small phones */
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .hero { padding: 28px 0 32px; }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .hero p.lead { font-size: 1.05rem; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  section { padding: 48px 0; }
  .section-head { margin-bottom: 32px; }

  /* Hide the header CTA on tiny screens; keep the menu button */
  .nav-cta .btn-primary { display: none; }
  .brand { font-size: 1.05rem; }

  .card, .step, .price-card { padding: 22px; }
  .dl-card { padding: 28px 18px; }

  .price .amount { font-size: 2.4rem; }
  .cta-band { padding: 40px 20px; border-radius: 18px; }
  .cta-band .btn { width: 100%; justify-content: center; }

  .foot-grid { flex-direction: column; text-align: center; gap: 16px; }
  .foot-links { justify-content: center; }
}

/* Never let anything cause a horizontal scroll */
html, body { max-width: 100%; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; }

/* Languages section */
.detect-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; margin-bottom: 16px; border-radius: 999px;
  font-size: .82rem; font-weight: 700; letter-spacing: .3px;
  color: var(--accent);
  background: rgba(35,213,171,.12); border: 1px solid rgba(35,213,171,.35);
}
.lang-panel {
  max-width: 900px; margin: 0 auto; text-align: center;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 36px 30px;
}
.lang-title { margin: 0 0 24px; font-size: 1.25rem; font-weight: 700; }
.lang-count {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lang-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.lang-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 999px; font-size: .95rem; font-weight: 500;
  background: var(--bg-soft); border: 1px solid var(--border); color: var(--text);
  transition: transform .15s ease, border-color .15s;
}
.lang-chip:hover { transform: translateY(-2px); border-color: var(--brand); }
.lang-note { margin: 24px 0 0; color: var(--muted); font-size: .9rem; }

@media (max-width: 560px) {
  .lang-panel { padding: 26px 18px; }
  .lang-chip { font-size: .88rem; padding: 8px 13px; }
}

/* Section footnotes (moved off inline styles) */
.pricing-foot { text-align: center; margin-top: 22px; color: var(--muted); font-size: .9rem; }
.download-foot { text-align: center; margin-top: 26px; color: var(--muted); }

/* Language switcher (EN / TR / ES) — modern segmented control */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 4px; padding-left: 9px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.lang-switch .lang-globe {
  font-size: .95rem; line-height: 1; margin-right: 3px;
  opacity: .6; filter: grayscale(1); pointer-events: none;
}
.lang-switch button {
  border: 0; background: transparent; cursor: pointer;
  color: var(--muted); font: inherit; font-weight: 600; font-size: .78rem;
  letter-spacing: .4px; padding: 6px 12px; border-radius: 8px;
  transition: color .15s ease, background .15s ease, box-shadow .15s ease;
}
.lang-switch button:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.lang-switch button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.lang-switch button.active {
  color: var(--text);
  background: var(--card);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.lang-switch button.active::after {
  content: ""; display: block; height: 2px; margin: 3px auto 0; width: 60%;
  border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--accent));
}

@media (max-width: 560px) {
  .lang-switch { padding-left: 7px; }
  .lang-switch .lang-globe { font-size: .85rem; margin-right: 1px; }
  .lang-switch button { padding: 6px 9px; font-size: .74rem; }
}

/* ---------------------------------------------------------------- legal ---
   Privacy, Terms and Refunds. Long-form prose rather than landing-page
   sections, so it gets a narrower measure and quieter headings than the
   marketing pages: these are documents people read, not skim. */
.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}
.legal .legal-head {
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
  margin-bottom: 8px;
}
.legal h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  margin: 0 0 12px;
}
.legal .updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.legal h2 {
  font-size: 20px;
  margin: 40px 0 12px;
  scroll-margin-top: 90px;
}
.legal h3 {
  font-size: 16px;
  margin: 24px 0 8px;
  color: var(--text);
}
.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.7;
}
.legal li { margin-bottom: 8px; }
.legal a { color: var(--brand); }
.legal strong { color: var(--text); }
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
  display: block;
  overflow-x: auto;
}
.legal th,
.legal td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  color: var(--muted);
}
.legal th { color: var(--text); background: var(--bg-soft); white-space: nowrap; }

/* The short summary above each document. Not a substitute for the text
   below it, and it says so. */
.legal .summary {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0 8px;
}
.legal .summary p:last-child { margin-bottom: 0; }

/* Details only the operator can supply. Deliberately loud: a placeholder
   that ships unnoticed is worse than an ugly box. */
.legal .todo {
  background: rgba(255, 176, 32, .08);
  border: 1px solid rgba(255, 176, 32, .45);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 24px 0;
}
.legal .todo p { color: #ffd591; margin: 0; }

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 20px;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}
.legal-nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.legal-nav a:hover { color: var(--text); }
