/* Umayra — umayra.app static site. Zero dependencies. Bilingual (TR default / EN). */

:root {
  --bg: #fbf6f1;
  --bg-soft: #f4e7df;
  --card: #ffffff;
  --primary: #b5532e;       /* terracotta */
  --primary-dark: #5a140a;  /* deep maroon */
  --accent: #e8a98c;
  --rose: #f6d9ce;
  --text: #3a2c26;
  --muted: #7a6a62;
  --line: #ecdcd2;
  --gold: #e0a85c;
  --radius: 18px;
  --maxw: 1080px;
  --font: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Language toggle ───────────────────────────────────────────── */
.en { display: none; }
html.lang-en .tr { display: none; }
html.lang-en .en { display: initial; }
html.lang-en .en.block { display: block; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ── Header ────────────────────────────────────────────────────── */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--primary-dark); }
.brand .dot { width: 28px; height: 28px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent), var(--primary)); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--text); font-weight: 600; font-size: 15px; }
.lang-btn {
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 13px; cursor: pointer;
}
.lang-btn:hover { border-color: var(--accent); }
.menu-toggle { display: none; }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero { padding: 72px 0 56px; text-align: center; }
.hero h1 { font-size: 44px; line-height: 1.15; margin: 0 0 16px; color: var(--primary-dark); letter-spacing: -0.5px; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.badge-soon { display: inline-block; background: var(--rose); color: var(--primary-dark);
  font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; border-radius: 999px; padding: 13px 26px; font-weight: 700; font-size: 16px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); text-decoration: none; }
.btn-ghost { background: var(--card); color: var(--primary-dark); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); text-decoration: none; }

/* ── Sections ──────────────────────────────────────────────────── */
section { padding: 56px 0; }
.section-title { text-align: center; font-size: 30px; color: var(--primary-dark); margin: 0 0 8px; }
.section-sub { text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto 36px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; }
.card .ico { font-size: 30px; margin-bottom: 10px; }
.card h3 { margin: 0 0 6px; font-size: 18px; color: var(--primary-dark); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pill { background: var(--bg-soft); border-radius: 14px; padding: 16px; text-align: center; font-weight: 600; }
.pill .ico { font-size: 24px; display: block; margin-bottom: 6px; }

.note {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; color: var(--muted); font-size: 14px; max-width: 760px; margin: 0 auto; }

/* ── Legal / content pages ─────────────────────────────────────── */
.doc { padding: 48px 0 64px; }
.doc h1 { font-size: 32px; color: var(--primary-dark); margin: 0 0 6px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.doc h2 { font-size: 21px; color: var(--primary-dark); margin: 30px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 20px; }
.doc .lead { font-size: 17px; color: var(--muted); }
.doc .box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }

/* ── Footer ────────────────────────────────────────────────────── */
footer.site { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 40px 0; margin-top: 40px; }
.foot { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.foot .col h4 { margin: 0 0 10px; color: var(--primary-dark); font-size: 15px; }
.foot a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.foot .copy { color: var(--muted); font-size: 13px; width: 100%; margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; }

/* ── Brand logo + section helpers (overhaul) ───────────────────── */
.brand-logo { width: 30px; height: 30px; border-radius: 9px; display: block; }
.foot-logo { width: 20px; height: 20px; border-radius: 6px; vertical-align: -4px; margin-right: 6px; }
.soft { background: var(--bg-soft); }
.narrow { max-width: 760px; }

/* ── Hero (2-column with art) ──────────────────────────────────── */
.hero {
  padding: 64px 0 64px; text-align: left;
  background:
    radial-gradient(900px 380px at 85% -10%, var(--rose), transparent 60%),
    linear-gradient(180deg, #fff5ef 0%, var(--bg) 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero-copy h1 { font-size: 46px; line-height: 1.12; margin: 14px 0 16px; color: var(--primary-dark); letter-spacing: -0.5px; font-weight: 900; }
.hero-copy .lead { margin: 0 0 26px; }
.hero .cta-row { justify-content: flex-start; }
.hero-art img {
  width: 100%; max-width: 440px; display: block; margin-left: auto;
  border-radius: 28px; box-shadow: 0 24px 60px rgba(90, 20, 10, 0.16);
}

/* ── Personas ──────────────────────────────────────────────────── */
.persona-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.persona { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.persona img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 14px; margin-bottom: 12px; }
.persona-emoji { width: 100%; aspect-ratio: 1/1; border-radius: 14px; background: var(--rose); display: flex; align-items: center; justify-content: center; font-size: 52px; margin-bottom: 12px; }
.persona h3 { margin: 0 0 4px; font-size: 16px; color: var(--primary-dark); }
.persona p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ── Feature card icon chip ────────────────────────────────────── */
.card .ico {
  font-size: 24px; width: 50px; height: 50px; border-radius: 14px;
  background: var(--rose); display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.card h3 { font-weight: 800; }

/* ── Showcase rows ─────────────────────────────────────────────── */
.show { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: center; margin: 14px 0; }
.show + .show { margin-top: 48px; }
.show.reverse .show-art { order: 2; }
.show-art img { width: 100%; max-width: 380px; border-radius: 24px; box-shadow: 0 16px 44px rgba(90, 20, 10, 0.12); }
.show-copy h2 { font-size: 26px; color: var(--primary-dark); margin: 0 0 12px; font-weight: 800; }
.show-copy p { color: var(--muted); font-size: 16px; margin: 0; }

/* ── FAQ ───────────────────────────────────────────────────────── */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--primary-dark); padding: 14px 0; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 22px; color: var(--accent); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .hero .cta-row { justify-content: center; }
  .hero-art { order: -1; }
  .hero-art img { margin: 0 auto; max-width: 300px; }
  .persona-grid { grid-template-columns: repeat(2, 1fr); }
  .show, .show.reverse { grid-template-columns: 1fr; text-align: center; }
  .show.reverse .show-art { order: 0; }
  .show-art img { margin: 0 auto; }
}
@media (max-width: 800px) {
  .hero-copy h1 { font-size: 34px; }
  .grid { grid-template-columns: 1fr; }
  .nav-links a:not(.lang-wrap) { display: none; }
}
