/* Doz Defteri marketing site — design tokens mirror the app's design system
   (docs/design-system.md): brand green #05AB60, mint containers, 18px+ body,
   rounded cards. Self-hosted Inter, no external requests. */

@font-face {
  font-family: 'Inter';
  src: url('fonts/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --primary: #05ab60;
  --primary-text: #047a45;
  --primary-dark: #00391f;
  --container: #bff5d8;
  --mint-light: #e2fbee;
  --bg: #f3fbf6;
  --surface: #ffffff;
  --on-surface: #171d19;
  --muted: #404943;
  --outline: #dce5de;
  --radius: 20px;
  --shadow: 0 4px 24px rgba(0, 57, 31, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #5be3a0;
    --primary-text: #7fe0b2;
    --primary-dark: #bff5d8;
    --container: #005930;
    --mint-light: #12241b;
    --bg: #101413;
    --surface: #181d1a;
    --on-surface: #dfe4de;
    --muted: #c0c9c1;
    --outline: #2a342d;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  }
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--on-surface);
  background: var(--bg);
}

img { max-width: 100%; height: auto; }

a { color: var(--primary-text); }

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

/* ---------- header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--outline);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--on-surface);
  text-decoration: none;
  margin-right: auto;
}

.nav .brand img { width: 36px; height: 36px; }

.nav a.link {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 16px;
}

.nav a.link:hover { color: var(--primary-text); }

.lang-switch {
  border: 1.5px solid var(--outline);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--muted);
}

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--mint-light), var(--container));
  padding: 72px 0 88px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.15;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

.hero p.tagline {
  margin: 20px 0 8px;
  font-size: 20px;
  color: var(--muted);
  max-width: 46ch;
}

.hero .pay-once {
  display: inline-block;
  margin: 14px 0 26px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 18px;
  border-radius: 999px;
}

.badges { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.badges img { height: 56px; width: auto; }

.hero .phone {
  justify-self: center;
  max-width: 340px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

/* ---------- sections ---------- */
section { padding: 72px 0; }

section h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

section p.lead {
  text-align: center;
  color: var(--muted);
  max-width: 60ch;
  margin: 0 auto 48px;
}

/* features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.feature .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--container);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}

.feature h3 { font-size: 19px; margin-bottom: 8px; }

.feature p { font-size: 16px; color: var(--muted); }

/* screenshots */
.screens {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.screens img {
  width: min(300px, 80vw);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

/* privacy band */
.privacy-band {
  background: linear-gradient(160deg, var(--container), var(--mint-light));
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}

.privacy-band h2 { margin-bottom: 8px; }

.privacy-band p { color: var(--muted); max-width: 62ch; margin: 0 auto; }

/* FAQ */
.faq details {
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  font-size: 24px;
  color: var(--primary-text);
  flex-shrink: 0;
}

.faq details[open] summary::after { content: '–'; }

.faq details p { padding: 0 24px 20px; color: var(--muted); font-size: 16px; }

/* contact + footer */
.contact { text-align: center; }

.contact .email {
  display: inline-block;
  margin-top: 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-text);
  text-decoration: none;
}

footer {
  border-top: 1px solid var(--outline);
  padding: 32px 0 40px;
  font-size: 14px;
  color: var(--muted);
}

footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
}

footer a { color: var(--muted); }

footer .disclaimer { width: 100%; font-size: 13px; opacity: 0.85; }

/* legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px; }
.legal h1 { font-size: 32px; color: var(--primary-dark); margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 15px; margin-bottom: 32px; }
.legal h2 { font-size: 21px; margin: 32px 0 10px; color: var(--primary-dark); }
.legal p, .legal li { color: var(--on-surface); font-size: 17px; margin-bottom: 10px; }
.legal ul { padding-left: 24px; }

/* responsive */
@media (max-width: 800px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero p.tagline { margin-inline: auto; }
  .badges { justify-content: center; }
  .hero .phone { max-width: 280px; }
  .nav a.link { display: none; }
}
