:root {
  --emerald-deep: #0A3D28;
  --emerald: #0F6B45;
  --emerald-soft: #115237;
  --gold: #D6B03A;
  --gold-light: #E3C164;
  --gold-faint: rgba(214, 176, 58, 0.28);
  --cream: #F6EFD9;
  --cream-dim: rgba(246, 239, 217, 0.72);
  --cream-faint: rgba(246, 239, 217, 0.45);
  --ink: #081F14;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--ink); }

a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── Üst bar ─────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 31, 20, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-faint);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 1.35rem;
  letter-spacing: 0.02em; text-decoration: none; color: var(--cream);
}
.brand-mark {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: grid; place-items: center;
  font-size: 0.85rem; color: var(--gold-light);
  font-family: var(--body); font-weight: 700;
}
.nav-links { display: flex; gap: 26px; align-items: center; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: 0.86rem; font-weight: 600;
  color: var(--cream-dim); letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-cta {
  background: var(--gold); color: var(--ink) !important;
  padding: 8px 18px; border-radius: 999px;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--gold-light); }
/* Bayraklı dil menüsü */
.lang-dd { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--cream-dim);
  border: 1.5px solid var(--gold-faint);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: var(--body); font-size: 0.82rem; font-weight: 600;
  cursor: pointer;
}
.lang-btn:hover { border-color: var(--gold); color: var(--gold-light); }
.lang-btn img { border-radius: 2px; display: block; }
.lang-btn .caret {
  width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 190px; max-height: 340px; overflow-y: auto;
  background: #0B2A1C;
  border: 1px solid var(--gold-faint);
  border-radius: 14px;
  padding: 6px;
  display: none;
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
  z-index: 60;
}
.lang-dd.open .lang-menu { display: block; }
.lang-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  background: transparent; border: none;
  color: var(--cream-dim);
  padding: 8px 10px; border-radius: 9px;
  font-family: var(--body); font-size: 0.85rem; font-weight: 600;
  cursor: pointer; text-align: left;
}
.lang-item:hover { background: rgba(214,176,58,0.12); color: var(--cream); }
.lang-item.active { color: var(--gold-light); }
.lang-item img { border-radius: 2px; flex-shrink: 0; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .lang-item { text-align: right; }
@media (max-width: 640px) { .nav-links li:not(.cta-li):not(.lang-li) { display: none; } }

/* RTL diller (ar, fa, ur) */
[dir="rtl"] .section-head:not(.center),
[dir="rtl"] .track-copy { text-align: right; }
[dir="rtl"] .rule::after { left: 50%; }

/* ── Hero ─────────────────────────────── */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(15, 107, 69, 0.55), transparent 65%),
    linear-gradient(180deg, var(--emerald-deep) 0%, var(--ink) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, var(--gold-faint) 0 1px, transparent 1.5px),
    radial-gradient(circle at 85% 15%, var(--gold-faint) 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 80%, var(--gold-faint) 0 1px, transparent 1.5px);
  background-size: 340px 340px, 420px 420px, 380px 380px;
  opacity: 0.5; pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 48px; align-items: center;
  padding: 84px 0 96px;
  position: relative;
}
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 0 72px; text-align: center; }
  .hero-copy { order: 1; }
  .hero-device { order: 2; margin: 0 auto; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 22px;
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 26px; height: 1px; background: var(--gold-faint);
}

h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4.1rem);
  font-weight: 600; line-height: 1.08;
  text-wrap: balance;
  margin-bottom: 20px;
}
h1 em { font-style: normal; color: var(--gold-light); }

.hero-sub {
  font-size: 1.06rem; color: var(--cream-dim);
  max-width: 46ch; margin-bottom: 34px;
}
@media (max-width: 820px) { .hero-sub { margin-inline: auto; } }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 820px) { .hero-actions { justify-content: center; } }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-family: var(--body); font-weight: 700; font-size: 0.95rem;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-light); }
.btn-ghost {
  background: transparent; color: var(--cream);
  border: 1.5px solid var(--gold-faint);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }

.hero-note { margin-top: 18px; font-size: 0.8rem; color: var(--cream-faint); }

/* ── Canlı zikirmatik cihazı ─────────────── */
.hero-device { position: relative; width: min(300px, 78vw); }
.device-halo {
  position: absolute; inset: -18%;
  background: radial-gradient(circle, rgba(214,176,58,0.14), transparent 65%);
  pointer-events: none;
}
/* Mobildeki zikirmatik cihazının gerçek görüntüsü (şeffaf PNG) + canlı sayaç */
.device-live {
  position: relative;
  width: min(290px, 74vw);
  margin: 0 auto;
  user-select: none;
}
.device-img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 55px rgba(0,0,0,0.55));
  pointer-events: none;
}
/* Görseldeki krem ekranın iç alanını kapatır; oranlar piksel ölçümünden */
.live-screen {
  position: absolute;
  left: 22.5%; right: 20.8%; top: 16.2%; height: 14.9%;
  background: #F5EEDA;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 4%;
  font-family: var(--body);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: clamp(1.15rem, 4.6vw, 1.5rem);
  letter-spacing: 0.06em;
  color: #10241B;
  pointer-events: none;
}
.live-screen .ghost { color: rgba(16,36,27,0.13); }
/* Görseldeki tuşların üstüne oturan görünmez tıklama alanları;
   konumlar görüntüden piksel ölçümüyle hesaplandı */
.hit {
  position: absolute;
  border: none; border-radius: 50%;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hit:active { transform: scale(0.9); }
.hit-undo  { left: 18.7%; top: 42.6%; width: 15.4%; aspect-ratio: 1; }
.hit-reset { left: 66.2%; top: 42.6%; width: 15.4%; aspect-ratio: 1; }
.hit-main  { left: 30.8%; top: 58%; width: 38%; aspect-ratio: 1; }
.device-hint {
  text-align: center; margin-top: 20px;
  font-size: 0.78rem; color: var(--cream-faint);
  letter-spacing: 0.05em;
}

/* ── Bölüm iskeleti ─────────────────────── */
section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; text-align: center; }
h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 600; line-height: 1.15;
  text-wrap: balance;
  margin-bottom: 14px;
}
h2 em { font-style: normal; color: var(--gold-light); }
.section-head p { color: var(--cream-dim); font-size: 1rem; }

.rule {
  width: 64px; height: 1px; background: var(--gold);
  position: relative; margin-bottom: 22px;
}
.rule::after {
  content: ""; position: absolute; left: 50%; top: -3px;
  width: 7px; height: 7px; transform: translateX(-50%) rotate(45deg);
  background: var(--gold);
}
.center .rule { margin-inline: auto; }

/* ── Özellikler ─────────────────────────── */
.features { background: var(--ink); }
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  background: linear-gradient(160deg, rgba(15,107,69,0.16), rgba(15,107,69,0.05));
  border: 1px solid rgba(214,176,58,0.18);
  border-radius: 18px;
  padding: 28px 26px;
  transition: border-color 0.25s, transform 0.25s;
}
.feature:hover { border-color: var(--gold-faint); transform: translateY(-3px); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  border: 1.5px solid var(--gold-faint);
  display: grid; place-items: center;
  font-size: 1.25rem; margin-bottom: 18px;
  color: var(--gold-light);
}
.feature h3 {
  font-family: var(--body); font-size: 1.02rem; font-weight: 700;
  margin-bottom: 8px; color: var(--cream);
}
.feature p { font-size: 0.9rem; color: var(--cream-dim); }

/* ── Temalar ─────────────────────────────── */
.themes {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(15,107,69,0.35), transparent 70%),
    var(--emerald-deep);
  border-block: 1px solid var(--gold-faint);
}
.theme-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px;
  max-width: 860px; margin: 0 auto;
}
@media (max-width: 680px) { .theme-cards { grid-template-columns: 1fr; } }
.theme-card {
  border-radius: 22px; overflow: hidden;
  border: 1.5px solid var(--gold-faint);
  transition: border-color 0.25s, transform 0.25s;
}
.theme-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.theme-preview {
  height: 210px; position: relative;
  display: grid; place-items: center;
}
.theme-medine .theme-preview {
  background:
    radial-gradient(circle at 50% 120%, rgba(21,120,82,0.9), transparent 60%),
    linear-gradient(180deg, #0F6B45, #08351F);
}
.theme-kabe .theme-preview {
  background:
    radial-gradient(circle at 50% 115%, rgba(214,176,58,0.22), transparent 55%),
    linear-gradient(180deg, #1D1608, #0B0803);
}
.mini-arch {
  width: 120px; height: 150px;
  border: 2px solid var(--gold-light);
  border-bottom: none;
  border-radius: 60px 60px 0 0;
  position: absolute; bottom: 0; opacity: 0.6;
}
.mini-dome {
  width: 74px; height: 37px;
  background: #157852;
  border-radius: 74px 74px 0 0;
  position: absolute; bottom: 0;
}
.mini-dome::after {
  content: ""; position: absolute; top: -12px; left: 50%;
  width: 2px; height: 12px; background: var(--gold-light);
  transform: translateX(-50%);
}
.mini-kabe {
  width: 64px; height: 58px; background: #060403;
  border: 1px solid #3A2E14;
  position: absolute; bottom: 24px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.6);
}
.mini-kabe::before {
  content: ""; position: absolute; top: 10px; left: -1px; right: -1px;
  height: 9px;
  background: repeating-linear-gradient(90deg, #C8A44A 0 6px, #8A6E23 6px 12px);
}
.theme-info {
  background: rgba(8,31,20,0.75);
  padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.theme-info h3 {
  font-family: var(--display); font-size: 1.35rem; font-weight: 700;
}
.theme-info p { font-size: 0.82rem; color: var(--cream-dim); margin-top: 2px; }
.price-pill {
  flex-shrink: 0;
  background: var(--gold); color: var(--ink);
  font-weight: 800; font-size: 0.82rem;
  padding: 6px 14px; border-radius: 999px;
  white-space: nowrap;
}
.themes-foot {
  text-align: center; margin-top: 34px;
  font-size: 0.86rem; color: var(--cream-dim);
}
.themes-foot strong { color: var(--gold-light); font-weight: 700; }

/* ── Takip & hatırlatıcı ────────────────── */
.track-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
@media (max-width: 820px) { .track-grid { grid-template-columns: 1fr; } }
.track-copy h2 { margin-bottom: 18px; }
.track-lead { color: var(--cream-dim); }
.track-list { list-style: none; display: grid; gap: 16px; margin-top: 26px; }
.track-list li { display: flex; gap: 14px; align-items: flex-start; }
.tick {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--gold); color: var(--gold-light);
  display: grid; place-items: center; font-size: 0.7rem;
  margin-top: 3px;
}
.track-list strong { display: block; font-size: 0.95rem; }
.track-list span { font-size: 0.86rem; color: var(--cream-dim); }

.calendar-card {
  background: linear-gradient(165deg, rgba(15,107,69,0.22), rgba(8,31,20,0.6));
  border: 1px solid var(--gold-faint);
  border-radius: 20px; padding: 28px;
  max-width: 380px; margin: 0 auto; width: 100%;
}
.cal-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 18px;
}
.cal-head h4 { font-family: var(--display); font-size: 1.2rem; font-weight: 700; }
.cal-head span { font-size: 0.75rem; color: var(--cream-faint); }
.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px;
  font-size: 0.72rem; text-align: center;
  font-variant-numeric: tabular-nums;
}
.cal-grid .dow { color: var(--cream-faint); font-weight: 700; padding-bottom: 4px; }
.day {
  aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(246,239,217,0.07);
  color: var(--cream-dim);
}
.day.done { background: #1E9E63; color: #06281A; font-weight: 700; }
.day.part { background: #C98A2D; color: #2A1A05; font-weight: 700; }
.day.today { outline: 2px solid var(--gold-light); outline-offset: 1px; }
.cal-legend {
  display: flex; gap: 18px; margin-top: 18px;
  font-size: 0.72rem; color: var(--cream-dim);
}
.cal-legend i {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  margin-right: 6px; font-style: normal;
}
.lg-done { background: #1E9E63; }
.lg-part { background: #C98A2D; }
.lg-none { background: rgba(246,239,217,0.18); }

/* ── İndir ─────────────────────────────── */
.download {
  background:
    radial-gradient(ellipse 80% 70% at 50% 100%, rgba(15,107,69,0.5), transparent 70%),
    var(--ink);
  text-align: center;
  border-top: 1px solid var(--gold-faint);
}
.download .ayah {
  font-family: var(--display); font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  color: var(--gold-light);
  max-width: 34ch; margin: 0 auto 10px;
  text-wrap: balance;
}
.download .ayah-ref {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream-faint); margin-bottom: 44px;
}
.dl-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.dl-meta {
  margin-top: 26px; display: flex; justify-content: center; gap: 28px;
  flex-wrap: wrap;
  font-size: 0.8rem; color: var(--cream-dim);
}
.dl-meta b { color: var(--gold-light); }

footer {
  border-top: 1px solid var(--gold-faint);
  padding: 30px 0 40px;
  font-size: 0.8rem; color: var(--cream-faint);
}
.foot-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
footer a { color: var(--cream-dim); text-decoration: none; }
footer a:hover { color: var(--gold-light); }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ── Hukuki sayfalar (gizlilik, kullanım şartları) ── */
.legal { padding: 72px 0 96px; }
.legal-wrap { max-width: 720px; }
.legal-title {
  font-family: var(--display);
  font-size: clamp(2.1rem, 5vw, 3rem);
  font-weight: 600; line-height: 1.1;
  margin-bottom: 8px;
}
.legal-updated {
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cream-faint); margin-bottom: 36px;
}
.legal p { color: var(--cream-dim); margin-bottom: 18px; max-width: 65ch; }
.legal h2 {
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  margin: 34px 0 12px;
}
.legal ul { margin: 0 0 18px 22px; color: var(--cream-dim); }
.legal li { margin-bottom: 10px; max-width: 62ch; }
.legal a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--gold); }
.legal strong { color: var(--cream); }
.legal code {
  font-size: 0.85em; background: rgba(246,239,217,0.08);
  padding: 2px 7px; border-radius: 6px;
}
