/* Muly website. Dark, quiet, Apple-like; system fonts only (no third-party
   requests, matching the privacy policy). */
:root {
  --bg: #08080b;
  --bg-2: #101015;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-hi: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f5f5f7;
  --muted: rgba(245, 245, 247, 0.64);
  --faint: rgba(245, 245, 247, 0.42);
  --accent: #ff4f7b;
  --accent-2: #8f6bff;
  --accent-3: #ffb547;
  --radius: 22px;
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: rgba(255, 79, 123, 0.35); }

/* Language: both versions live in the page; the script picks one before paint. */
html[lang="tr"] [data-l="en"], html[lang="en"] [data-l="tr"] { display: none !important; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Ambient light ---------- */
.glow { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.glow i {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55;
}
.glow i:nth-child(1) { width: 52vw; height: 52vw; left: -14vw; top: -18vw; background: radial-gradient(circle, rgba(143,107,255,0.55), transparent 65%); }
.glow i:nth-child(2) { width: 46vw; height: 46vw; right: -16vw; top: 8vh; background: radial-gradient(circle, rgba(255,79,123,0.45), transparent 65%); }
.glow i:nth-child(3) { width: 40vw; height: 40vw; left: 30vw; top: 70vh; background: radial-gradient(circle, rgba(255,181,71,0.22), transparent 65%); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  background: rgba(8, 8, 11, 0.62);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.2px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.lang {
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
  border-radius: 999px; padding: 6px 12px; font: 600 13px/1 inherit; letter-spacing: .3px; cursor: pointer;
}
.lang:hover { background: var(--panel-hi); }
@media (max-width: 720px) { .nav-links { display: none; } .lang { margin-left: auto; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  border-radius: 999px; padding: 14px 22px; font-weight: 600; font-size: 16px;
  transition: transform .15s ease, background .2s ease, opacity .2s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { opacity: .9; }
.btn-ghost { background: var(--panel); border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--panel-hi); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 10vw, 120px) 0 40px; text-align: center; }
.hero-icon {
  width: clamp(112px, 16vw, 152px); height: auto; margin: 0 auto 28px; border-radius: 26%;
  box-shadow: 0 30px 80px rgba(143, 107, 255, 0.28), 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hero-icon { animation: none; } }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--muted); padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel);
  margin-bottom: 22px;
}
h1 {
  font-size: clamp(42px, 8.2vw, 92px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 22px; font-weight: 800;
}
.chrome {
  background: linear-gradient(180deg, #ffffff 0%, #d9d9e3 45%, #8d8d9c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tint {
  background: linear-gradient(90deg, var(--accent-2), var(--accent) 55%, var(--accent-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); max-width: 640px; margin: 0 auto 34px; text-wrap: balance; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.note { margin-top: 16px; font-size: 13px; color: var(--faint); }

/* ---------- Screenshot rail ---------- */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 26vw, 290px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 28px var(--gutter) 34px;
  scrollbar-width: none; -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
          mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.rail::-webkit-scrollbar { display: none; }
.rail img {
  width: 100%; aspect-ratio: 1320 / 2868; object-fit: cover; border-radius: 26px; scroll-snap-align: center;
  border: 1px solid var(--line); background: var(--bg-2); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* ---------- Sections ---------- */
section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
h2 { font-size: clamp(32px, 5vw, 52px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 14px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 19px; margin: 0; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px;
  transition: transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.16); }
.card .ic {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--c, rgba(255,255,255,0.1));
}
.card .ic svg { width: 22px; height: 22px; color: #fff; }
.card h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Big split panel */
.split {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  border: 1px solid var(--line); border-radius: 32px; padding: clamp(28px, 5vw, 56px);
  background: radial-gradient(120% 140% at 0% 0%, rgba(143,107,255,0.18), transparent 55%),
              radial-gradient(120% 140% at 100% 100%, rgba(255,79,123,0.14), transparent 55%), var(--bg-2);
}
.split h2 { text-align: left; }
.split p { color: var(--muted); font-size: 18px; margin: 0 0 22px; }
.split ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.split li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.split li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: #7ee2a8; }
.split .shot { max-width: 300px; justify-self: center; border-radius: 26px; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0,0,0,.5); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split .shot { max-width: 240px; } }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
details {
  border: 1px solid var(--line); border-radius: 18px; background: var(--panel); padding: 0 22px;
  transition: background .2s;
}
details[open] { background: var(--panel-hi); }
summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 17px;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--muted); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details > div { padding: 0 0 20px; color: var(--muted); }
details > div p { margin: 0 0 10px; }

/* CTA band */
.band { text-align: center; }
.band .wrap > div {
  border-radius: 32px; padding: clamp(40px, 7vw, 72px) var(--gutter); border: 1px solid var(--line);
  background: radial-gradient(80% 120% at 50% 0%, rgba(255,79,123,0.22), transparent 60%), var(--bg-2);
}
.band img { width: 84px; border-radius: 22%; margin: 0 auto 22px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { text-decoration: none; color: var(--muted); }
footer a:hover { color: var(--text); }

/* ---------- Document pages (privacy, terms, support) ---------- */
.doc { padding: clamp(40px, 7vw, 80px) 0 72px; }
.doc .wrap { max-width: 800px; }
.doc h1 { font-size: clamp(38px, 6vw, 60px); margin-bottom: 10px; }
.doc .meta { color: var(--faint); margin: 0 0 34px; font-size: 15px; }
.doc .summary {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 0 0 40px;
  background: linear-gradient(180deg, rgba(126,226,168,0.10), rgba(126,226,168,0.03));
}
.doc .summary strong { display: block; font-size: 18px; margin-bottom: 6px; }
.doc .summary p { margin: 0; color: var(--muted); }
.doc h2 { font-size: 24px; letter-spacing: -0.015em; margin: 40px 0 12px; }
.doc h3 { font-size: 18px; margin: 26px 0 8px; }
.doc p, .doc li { color: rgba(245,245,247,0.78); }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc a:not(.btn) { color: #fff; text-decoration-color: rgba(255,255,255,0.35); text-underline-offset: 3px; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0 8px; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; }
.contact-card {
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; background: var(--panel); margin: 18px 0 36px;
}
.contact-card .grow { flex: 1 1 240px; }
.contact-card p { margin: 4px 0 0; color: var(--muted); }

.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.card .ic.c1 { background: linear-gradient(135deg,#34c759,#0a8f5a); }
.card .ic.c2 { background: linear-gradient(135deg,#8f6bff,#4b2fd1); }
.card .ic.c3 { background: linear-gradient(135deg,#ff4f7b,#c2185b); }
.card .ic.c4 { background: linear-gradient(135deg,#ffb547,#e86b00); }
.card .ic.c5 { background: linear-gradient(135deg,#5ac8fa,#007aff); }
.card .ic.c6 { background: linear-gradient(135deg,#a1a1aa,#3f3f46); }
.card .ic.c7 { background: linear-gradient(135deg,#ff6b6b,#ff2d55); }
.card .ic.c8 { background: linear-gradient(135deg,#30d5c8,#0f9b8e); }
.nf-title { font-size: clamp(36px, 6vw, 56px); }
