/* Nurdiya tanıtım sitesi — uygulamanın "Zümrüt" paletiyle uyumlu. */
:root {
  --primary: #0f5c4a;
  --deep: #083d31;
  --gold: #c9a24b;
  --gold-ink: #3a2c08;
  --bg: #f7f4ec;
  --surface: #ffffff;
  --tint: #efe9da;
  --ink: #17221f;
  --muted: #55615d;
  --line: rgba(15, 92, 74, 0.14);
  --shadow: 0 18px 40px -18px rgba(8, 61, 49, 0.35);
  --radius: 18px;
  --wrap: 1140px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1714;
    --surface: #13221d;
    --tint: #10201b;
    --ink: #e8efe9;
    --muted: #a6b7b0;
    --line: rgba(201, 162, 75, 0.18);
    --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Arabic",
    "Noto Sans Bengali", "Noto Sans Devanagari", "Noto Sans JP", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--primary); }
@media (prefers-color-scheme: dark) { a { color: var(--gold); } }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 32px, 820px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* Görünmez ama klavyeyle ulaşılabilir; sayfa dışına itilmez (sağdan sola dillerde taşma yapmasın). */
.skip { position: absolute; top: 8px; left: 12px; z-index: 50; background: var(--surface); padding: 8px 12px; border-radius: 8px;
  clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip:focus { clip-path: none; width: auto; height: auto; }

/* Üst çubuk */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar__in { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 10px; }
.nav { display: flex; gap: 22px; margin-inline-start: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.lang select {
  appearance: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: 999px; padding: 7px 30px 7px 12px; font: inherit; font-size: 0.92rem; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
[dir="rtl"] .lang select { padding: 7px 12px 7px 30px; background-position: 15px 52%, 10px 52%; }
.menu { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu span { display: block; width: 22px; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; text-decoration: none;
  background: var(--primary); color: #fff; border: 0; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--gold { background: var(--gold); color: var(--gold-ink) !important; }
.btn--small { padding: 8px 16px; font-size: 0.92rem; }

/* Giriş */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(201, 162, 75, 0.35), transparent 60%),
    linear-gradient(160deg, var(--primary), var(--deep));
  padding: 64px 0 32px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.09; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.2'%3E%3Cpath d='M40 8 48 32 72 40 48 48 40 72 32 48 8 40 32 32Z'/%3E%3Crect x='22' y='22' width='36' height='36' transform='rotate(45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='9'/%3E%3C/g%3E%3C/svg%3E");
}
.hero__in { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.badge { display: inline-block; padding: 6px 14px; border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; font-size: 0.88rem; background: rgba(255,255,255,0.08); }
.hero h1 { margin-top: 14px; }
.lead { font-size: 1.15rem; color: rgba(255,255,255,0.86); max-width: 38ch; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.store {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px;
  background: #050c0a; color: #fff !important; text-decoration: none; border: 1px solid rgba(255,255,255,0.18);
  transition: transform 0.15s;
}
.store:hover { transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; fill: currentColor; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 0.72rem; opacity: 0.8; }
.store b { font-size: 1.05rem; }
.store--web { background: var(--gold); color: var(--gold-ink) !important; border-color: transparent; }
.store[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.soon { margin-top: 10px; font-size: 0.9rem; color: rgba(255,255,255,0.75); }

.hero__phones { position: relative; height: 560px; }
.phone {
  margin: 0; border-radius: 34px; padding: 10px; background: #0b1311; box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,0.08) inset;
  aspect-ratio: 9 / 19.5; overflow: hidden;
}
.phone img, .phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; background: #0f1d19; }
.hero__phones .phone { position: absolute; width: 250px; }
.phone--front { inset-inline-start: 18%; top: 10px; z-index: 2; transform: rotate(-4deg); }
.phone--back { inset-inline-start: 52%; top: 70px; transform: rotate(6deg); opacity: 0.92; }

.stats { list-style: none; padding: 26px 0 0; margin-top: 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border-top: 1px solid rgba(255,255,255,0.14); position: relative; }
.stats li { display: flex; flex-direction: column; }
.stats b { font-size: 2rem; color: var(--gold); line-height: 1.1; }
.stats span { color: rgba(255,255,255,0.8); }

/* Bölümler */
.section { padding: 84px 0; }
.section--tint { background: var(--tint); }
.section h2 { text-align: center; }
.section__lead { text-align: center; color: var(--muted); max-width: 62ch; margin: 0 auto 40px; font-size: 1.08rem; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card--plain:hover { transform: none; box-shadow: none; }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px;
  background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary);
}
@media (prefers-color-scheme: dark) { .icon { color: var(--gold); background: rgba(201,162,75,0.12); } }
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold-ink); background: var(--gold); border-radius: 999px; padding: 2px 8px; margin-inline-start: 6px; vertical-align: middle; }

/* Galeri */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 250px); gap: 22px; overflow-x: auto; padding: 6px 4px 22px; scroll-snap-type: x mandatory; }
.gallery figure { margin: 0; scroll-snap-align: center; }
.gallery .phone { cursor: zoom-in; }
.gallery figcaption { text-align: center; margin-top: 12px; font-weight: 600; }
.gallery figcaption small { display: block; font-weight: 400; color: var(--muted); }

/* Video */
.video { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: center; }
.video h2, .video .section__lead { text-align: start; margin-inline: 0; }
.phone--video { width: 300px; }

.split { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.split h2, .split .section__lead { text-align: start; margin-inline: 0; }
.split .phone { width: 280px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-inline-start: 34px; }
.checks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* Premium */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 900px; margin: 0 auto; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.plan--pro { border: 2px solid var(--gold); position: relative; }
.plan--pro::after { content: "★"; position: absolute; top: 18px; inset-inline-end: 22px; color: var(--gold); font-size: 1.4rem; }
.plan__note { color: var(--muted); font-size: 0.92rem; margin: 18px 0 0; }

/* SSS */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; margin-bottom: 12px; }
summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--primary); }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* Son çağrı ve alt bilgi */
.cta { background: linear-gradient(160deg, var(--primary), var(--deep)); color: #fff; padding: 72px 0; text-align: center; }
.cta p { color: rgba(255,255,255,0.85); max-width: 56ch; margin: 0 auto 24px; }
.footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer__in { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-inline-start: auto; }
.footer__small { width: 100%; color: var(--muted); font-size: 0.85rem; margin: 0; }

/* Büyük görüntü */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,0.85); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 92vh; border-radius: 24px; }
.lightbox__close { position: absolute; top: 16px; inset-inline-end: 20px; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; }

/* Arapça başlıklar biraz daha büyük okunur */
:lang(ar) h1, :lang(fa) h1, :lang(ur) h1, :lang(ug) h1 { font-family: "Amiri", serif; line-height: 1.4; }

/* Mobil */
@media (max-width: 960px) {
  .hero__in, .video, .split { grid-template-columns: 1fr; }
  .hero__phones { height: 470px; }
  .hero__phones .phone { width: 210px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .video h2, .video .section__lead, .split h2, .split .section__lead { text-align: center; margin-inline: auto; }
  .phone--video, .split .phone { margin-inline: auto; }
}
@media (max-width: 760px) {
  .menu { display: block; margin-inline-start: auto; }
  .nav {
    display: none; position: absolute; top: 64px; inset-inline: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .topbar .btn--small { display: none; }
  .lang select { max-width: 130px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid, .grid--4, .plans { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding-top: 40px; }
  .hero__phones { height: 420px; }
  .hero__phones .phone { width: 180px; }
  .phone--front { inset-inline-start: 8%; }
  .phone--back { inset-inline-start: 46%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Yasal sayfalar (gizlilik, koşullar, hesap silme) */
.doc { padding: 48px 0 80px; }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.doc h2 { text-align: start; font-size: 1.3rem; margin-top: 2em; }
.doc p, .doc li { color: var(--muted); }
.doc .switch { display: flex; gap: 10px; margin: 18px 0 32px; }
.doc .switch a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.doc .switch a[aria-current] { background: var(--primary); color: #fff; border-color: transparent; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 0.95rem; }
.doc th, .doc td { text-align: start; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--ink); }
.doc .legal-links { margin-top: 48px; font-size: 0.9rem; }
.doc [data-lang] { display: none; }
.doc [data-lang].on { display: block; }
.doc span[data-lang].on { display: inline; }
