/* ============================================================
   MuvAI — site stilleri
   ------------------------------------------------------------
   Renkler uygulamadaki paletten alındı (Extension+UIColor.swift):
   Primary #130830, Secondary #0C0627, Blue #6B54FF, buton #E0CF3C,
   gri #8393A7. Yazı tipi uygulamayla aynı: Manrope.

   Build step yok — Vercel bu klasörü olduğu gibi statik servis eder.
   ============================================================ */

:root {
  --bg: #0c0627;
  --bg-raised: #130830;
  --bg-card: rgba(107, 84, 255, 0.06);
  --border: rgba(107, 84, 255, 0.22);
  --border-strong: rgba(107, 84, 255, 0.4);

  --accent: #6b54ff;
  --accent-soft: #9b8cff;
  --gold: #e0cf3c;

  --text: #f4f3ff;
  --text-muted: #a7b0c4;
  --text-dim: #8393a7;

  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1080px;
  --gutter: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Sayfanın üstünde sabit duran yumuşak ışık; hero'nun arkasına derinlik verir. */
body::before {
  content: "";
  position: fixed;
  top: -30vh;
  left: 50%;
  width: 120vw;
  height: 90vh;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(107, 84, 255, 0.18) 0%,
    rgba(107, 84, 255, 0.05) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

a {
  color: var(--accent-soft);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- Üst bar ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 6, 39, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(107, 84, 255, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.header-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-link {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
}

.header-link:hover {
  color: var(--text);
  background: rgba(107, 84, 255, 0.12);
  text-decoration: none;
}

/* ---------- Dil anahtarı ---------- */

.lang-switch {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  background: rgba(107, 84, 255, 0.12);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
}

/* ---------- Hero ---------- */

.hero {
  padding: 84px 0 64px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-soft);
  background: rgba(107, 84, 255, 0.12);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}

h1 {
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

h1 .hl {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 34px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #5340d8);
  color: #fff;
  box-shadow: 0 10px 30px rgba(107, 84, 255, 0.34);
}

.btn-primary:hover {
  box-shadow: 0 14px 38px rgba(107, 84, 255, 0.46);
}

.btn-ghost {
  background: rgba(107, 84, 255, 0.08);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(107, 84, 255, 0.16);
}

/* ---------- Bölümler ---------- */

section {
  padding: 64px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 44px;
}

h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 12px;
}

.section-sub {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Adımlar ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  counter-reset: step;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(107, 84, 255, 0.18);
  border: 1px solid var(--border-strong);
  color: var(--accent-soft);
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 8px;
}

.step p {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0;
}

/* ---------- Özellikler ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}

.feature {
  display: flex;
  gap: 14px;
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feature-icon {
  flex: none;
  font-size: 22px;
  line-height: 1.3;
}

.feature h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 5px;
}

.feature p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0;
}

/* ---------- Premium ---------- */

.premium {
  background: linear-gradient(160deg, rgba(107, 84, 255, 0.14), rgba(107, 84, 255, 0.03));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 44px 34px;
  text-align: center;
}

.premium-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(224, 207, 60, 0.4);
  background: rgba(224, 207, 60, 0.08);
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.premium ul {
  list-style: none;
  padding: 0;
  margin: 0 auto 26px;
  max-width: 460px;
  text-align: left;
}

.premium li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 11px;
  color: var(--text-muted);
}

.premium li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-soft);
  font-weight: 800;
}

.price-note {
  font-size: 14px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 22px auto 0;
  line-height: 1.55;
}

/* ---------- Bize ulaşın ---------- */

.contact {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 34px;
  text-align: center;
}

.contact-lead {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 26px;
}

.contact-mail {
  margin: 18px 0 0;
  font-weight: 600;
}

.contact-mail a {
  color: var(--accent-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 2px;
}

.contact-mail a:hover {
  color: var(--text);
}

/* ---------- Alt bilgi ---------- */

.site-footer {
  border-top: 1px solid rgba(107, 84, 255, 0.14);
  padding: 40px 0 56px;
  margin-top: 30px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a,
.footer-copy {
  font-size: 15px;
  color: var(--text-dim);
}

.footer-copy {
  margin: 0;
}

/* ---------- Hukuki sayfalar ---------- */

.legal-main {
  padding: 48px 0 40px;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 9px 16px;
  border-radius: 999px;
}

.chip:hover {
  color: var(--text);
  text-decoration: none;
  border-color: var(--border-strong);
}

.chip[aria-current="page"] {
  color: #fff;
  background: rgba(107, 84, 255, 0.22);
  border-color: var(--border-strong);
}

.legal-note {
  font-size: 14px;
  color: var(--text-dim);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 13px 16px;
  margin-bottom: 34px;
}

.doc {
  background: rgba(19, 8, 48, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}

.doc h1 {
  font-size: clamp(28px, 4.5vw, 38px);
  margin-bottom: 8px;
}

.doc-updated {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0 0 30px;
}

.doc h2 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 34px 0 12px;
  padding-top: 4px;
  text-align: left;
}

.doc h2:first-of-type {
  margin-top: 0;
}

.doc p {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0 0 15px;
}

.doc ul {
  color: var(--text-muted);
  font-size: 16px;
  padding-left: 22px;
  margin: 0 0 15px;
}

.doc li {
  margin-bottom: 8px;
}

.doc strong {
  color: var(--text);
}

/* ---------- Erişilebilirlik ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Dar ekran ---------- */

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .hero {
    padding: 56px 0 44px;
  }

  section {
    padding: 48px 0;
  }

  .header-link {
    display: none;
  }

  .doc {
    padding: 28px 20px;
  }

  .premium,
  .contact {
    padding: 34px 22px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
