/* dumaner.com.tr — night emerald, gold, parchment. Shared by every page. */
:root {
  --night: #071a15;
  --deep: #0c2620;
  --panel: #10302a;
  --line: rgba(211, 176, 106, 0.18);
  --gold: #d3b06a;
  --gold-soft: #e9d3a1;
  --parchment: #f1e8d6;
  --sage: #9fb5ab;
  --emerald: #2f8f70;
  --radius-lg: 28px;
  --radius-md: 18px;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --arabic: 'Amiri', 'Noto Naskh Arabic', serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--night);
  color: var(--parchment);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

/* A quiet star field behind the whole page. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(241, 232, 214, 0.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 9%, rgba(241, 232, 214, 0.4) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 88% 34%, rgba(211, 176, 106, 0.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 33% 62%, rgba(241, 232, 214, 0.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 78%, rgba(241, 232, 214, 0.3) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 6% 88%, rgba(211, 176, 106, 0.45) 50%, transparent 51%),
    radial-gradient(900px 600px at 80% -10%, rgba(47, 143, 112, 0.22), transparent 70%),
    var(--night);
}

a { color: var(--gold-soft); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; display: block; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(7, 26, 21, 0.72);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--parchment); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { font: 600 20px/1 var(--serif); }
.top nav { display: flex; gap: 22px; margin-inline-start: auto; }
.top nav a { color: var(--sage); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--parchment); }
.lang { font-size: 14px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--parchment); }
@media (max-width: 860px) { .top nav { display: none; } .lang { margin-inline-start: auto; } }

/* Hero */
.hero { padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 {
  font: 500 clamp(52px, 8vw, 104px) / 0.98 var(--serif);
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  color: var(--parchment);
}
.hero h1 .arabic {
  display: block;
  font: 400 clamp(26px, 3.4vw, 40px) / 1.4 var(--arabic);
  color: var(--gold);
  letter-spacing: 0;
  margin-bottom: 18px;
  text-align: start;
}
.hero p.lead { font-size: 19px; color: var(--sage); max-width: 34em; margin: 0 0 32px; }
.hero p.lead strong { color: var(--parchment); font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px 11px 16px;
  border-radius: 14px;
  background: var(--parchment);
  color: var(--night);
  text-decoration: none;
  line-height: 1.15;
}
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font-size: 12px; opacity: 0.7; }
.store b { font-size: 17px; font-weight: 600; }
.store[aria-disabled='true'] { cursor: default; }
.store.ghost { background: transparent; color: var(--parchment); border: 1px solid var(--line); }
.button-link { color: var(--parchment); text-decoration: none; padding: 12px 18px; border-radius: 14px; border: 1px solid var(--line); font-weight: 500; }
.button-link:hover { border-color: var(--gold); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 28px 0 0; color: var(--sage); font-size: 15px; }
.facts li::before { content: '✓'; color: var(--gold); margin-inline-end: 8px; }

/* Phone frame around a real screenshot */
.stage { position: relative; display: grid; place-items: center; min-height: 640px; }
.phone {
  position: relative;
  width: min(320px, 78vw);
  aspect-ratio: 430 / 932;
  border-radius: 46px;
  padding: 10px;
  background: linear-gradient(160deg, #2b3d37, #0b1714 40%, #22332e);
  box-shadow: 0 0 0 1px rgba(211, 176, 106, 0.25), 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 120px rgba(47, 143, 112, 0.18);
}
.phone .screen { width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #f7f2e9; position: relative; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.halo {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211, 176, 106, 0.16), transparent 62%);
  z-index: -1;
}
.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(16, 48, 42, 0.9);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  font-size: 14px;
  line-height: 1.3;
  max-width: 240px;
}
.chip b { display: block; color: var(--parchment); font-weight: 600; }
.chip span { color: var(--sage); font-size: 13px; }
.chip i { font-style: normal; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(211, 176, 106, 0.16); color: var(--gold); flex: none; }
.chip.c1 { top: 8%; inset-inline-start: -4%; }
.chip.c2 { top: 46%; inset-inline-end: -6%; }
.chip.c3 { bottom: 9%; inset-inline-start: 2%; }

/* Hero entrance: the one orchestrated moment on the page. */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .lead, .hero .actions, .hero .facts { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero .lead { animation-delay: 0.12s; }
  .hero .actions { animation-delay: 0.22s; }
  .hero .facts { animation-delay: 0.3s; }
  .hero .phone { animation: rise 1.1s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero .chip { animation: fade 0.8s both; }
  .hero .chip.c1 { animation-delay: 0.8s; }
  .hero .chip.c2 { animation-delay: 1s; }
  .hero .chip.c3 { animation-delay: 1.2s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { min-height: 0; padding: 24px 0 8px; }
  .chip.c1 { inset-inline-start: 0; }
  .chip.c2 { inset-inline-end: 0; }
}

/* Section headings */
section.block { padding: 96px 0; border-top: 1px solid var(--line); }
.block h2 { font: 500 clamp(36px, 5vw, 60px) / 1.05 var(--serif); margin: 0 0 16px; letter-spacing: -0.01em; max-width: 16em; }
.block .intro { color: var(--sage); font-size: 18px; max-width: 38em; margin: 0 0 48px; }

/* How the chat works: steps on one side, a sticky phone on the other */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  min-height: clamp(320px, 56vh, 520px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-inline-start: 64px;
  position: relative;
  opacity: 0.38;
  transition: opacity 0.4s;
}
.steps li.on { opacity: 1; }
.steps li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  translate: 0 -50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font: 500 20px/1 var(--serif);
}
.steps h3 { font: 500 30px/1.2 var(--serif); margin: 0 0 10px; }
.steps p { color: var(--sage); margin: 0; max-width: 28em; }
.how .sticky { position: sticky; top: 96px; height: min(700px, calc(100vh - 120px)); display: grid; place-items: center; }
.how .screen > * { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s; }
.how .screen > .on { opacity: 1; }
@media (max-width: 900px) {
  .how { grid-template-columns: 1fr; }
  .how .sticky { display: none; }
  .steps li { min-height: 0; opacity: 1; padding-block: 18px; }
}

/* Drawn chat screens inside the phone (steps 1–3) */
.mock { background: #f7f2e9; color: #1f2a24; font: 400 13px/1.45 var(--sans); padding: 18px 14px; display: flex; flex-direction: column; gap: 12px; }
.mock .bar { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #e6dccb; }
.mock .bar img { width: 34px; height: 34px; border-radius: 50%; }
.mock .bar b { font: 600 17px/1 var(--serif); color: #0f4a3c; }
.mock .bar span { display: block; font-size: 11px; color: #2f8f70; }
.mock .moods { display: flex; flex-wrap: wrap; gap: 6px; }
.mock .moods span { border: 1px solid #c9a45c; border-radius: 999px; padding: 4px 10px; font-size: 12px; background: #fffdf8; }
.mock .moods span.sel { background: #0f4a3c; color: #fff; border-color: #0f4a3c; }
.mock .bubble { background: #fffdf8; border: 1px solid #e6dccb; border-radius: 16px; padding: 10px 12px; max-width: 86%; }
.mock .bubble.me { align-self: flex-end; background: #0f4a3c; color: #f7f2e9; border-color: #0f4a3c; }
.mock .typing { color: #6b766f; font-size: 12px; }
.mock .sources { display: grid; gap: 8px; }
.mock .sources div { display: flex; justify-content: space-between; gap: 8px; background: #fffdf8; border: 1px solid #e6dccb; border-radius: 12px; padding: 9px 11px; }
.mock .sources em { font-style: normal; color: #2f8f70; font-weight: 600; }

/* Features: a few large tiles with real screens, the rest as a compact list */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tile {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 20px;
  align-items: end;
  padding: 28px 28px 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, var(--panel), var(--deep));
  border: 1px solid var(--line);
  overflow: hidden;
}
.tile h3 { font: 500 26px/1.2 var(--serif); margin: 0 0 8px; }
.tile p { color: var(--sage); margin: 0 0 28px; font-size: 16px; }
.tile .shot { border-radius: 22px 22px 0 0; overflow: hidden; border: 6px solid #15231f; border-bottom: 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35); }
.tile .shot img { aspect-ratio: 430 / 600; height: auto; object-fit: cover; object-position: top; width: 100%; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; } .tile { grid-template-columns: 1fr 140px; } }
@media (max-width: 480px) { .tile { grid-template-columns: 1fr; } .tile .shot { max-width: 220px; margin-inline: auto; } }

.more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; margin-top: 56px; list-style: none; padding: 0; }
.more li { padding: 20px 0; border-top: 1px solid var(--line); }
.more b { display: block; font: 500 20px/1.3 var(--serif); margin-bottom: 4px; }
.more span { color: var(--sage); font-size: 15px; }
@media (max-width: 900px) { .more { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .more { grid-template-columns: 1fr; } }

/* Sources */
.sources-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 40px; list-style: none; padding: 0; margin: 0; }
.sources-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.sources-list b { display: block; color: var(--gold-soft); font-weight: 600; margin-bottom: 2px; }
.sources-list span { color: var(--sage); font-size: 15px; }
@media (max-width: 760px) { .sources-list { grid-template-columns: 1fr; } }

/* Apps */
.apps { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.app-card { border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(170deg, var(--panel), var(--deep)); padding: 32px; }
.app-card header { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.app-card header img { width: 64px; height: 64px; border-radius: 16px; }
.app-card h3 { font: 500 30px/1.1 var(--serif); margin: 0; }
.app-card .status { font-size: 13px; color: var(--gold); }
.app-card p { color: var(--sage); margin: 0 0 22px; }
.app-card .links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; font-size: 15px; }
.app-card.next { background: transparent; border-style: dashed; display: flex; flex-direction: column; justify-content: center; }
.app-card.next h3 { font-size: 24px; margin-bottom: 8px; }
@media (max-width: 860px) { .apps { grid-template-columns: 1fr; } }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about blockquote { margin: 0; font: 400 clamp(26px, 3vw, 36px) / 1.35 var(--serif); color: var(--parchment); }
.about blockquote footer { margin-top: 20px; font: 400 15px/1.4 var(--sans); color: var(--gold); }
.values { list-style: none; padding: 0; margin: 0; }
.values li { padding: 18px 0; border-top: 1px solid var(--line); }
.values b { display: block; font-weight: 600; }
.values span { color: var(--sage); font-size: 15px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* Closing */
.closing { text-align: center; padding: 120px 0; border-top: 1px solid var(--line); }
.closing h2 { font: 500 clamp(40px, 6vw, 76px) / 1.05 var(--serif); margin: 0 auto 28px; max-width: 14em; }
.closing .actions { justify-content: center; }
.closing p { color: var(--sage); margin-top: 40px; }

footer.site { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--sage); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-inline-start: auto; }
footer.site a { color: var(--sage); }

/* Document pages (privacy, support, data deletion) */
.doc { padding: 56px 0 96px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font: 500 clamp(36px, 5vw, 52px) / 1.1 var(--serif); margin: 0 0 8px; }
.doc .langs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 32px; }
.doc .langs a { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--parchment); font-size: 14px; }
.doc section { background: linear-gradient(170deg, var(--panel), var(--deep)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 30px; margin-bottom: 24px; overflow-wrap: anywhere; }
.doc section h2 { font: 500 28px/1.2 var(--serif); margin: 0 0 4px; }
.doc section h3 { font: 600 17px/1.4 var(--sans); color: var(--gold-soft); margin: 22px 0 4px; }
.doc section p, .doc section li { color: #d7d0c0; }
.doc .muted { color: var(--sage); font-size: 14px; }
.doc ol { padding-inline-start: 22px; }
.block .intro-last { margin-bottom: 0; }
