/* Be Mind — "Kandil" web adaptation
   ink-plum canvas · parchment text · antique gold accent */
:root {
  --canvas: #110F17;
  --surface: #1B1723;
  --surface-hi: #262031;
  --hairline: rgba(255, 255, 255, 0.09);
  --hairline-hi: rgba(255, 255, 255, 0.17);
  --text-high: #EFE7D8;
  --text-mid: rgba(239, 231, 216, 0.66);
  --text-low: rgba(239, 231, 216, 0.38);
  --gold: #CBA35D;
  --gold-dim: rgba(203, 163, 93, 0.26);
  --ink: #16121C;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Onest", -apple-system, sans-serif;
  --reading: "Newsreader", Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--canvas);
  color: var(--text-high);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* dar ekranda kazara yatay taşmaya karşı emniyet */
}

/* Tüm site tek bir sütun genişliğinde hizalanır — logo, gövde metni ve alt
   bilgi aynı sol/sağ kenarı paylaşır. Böylece başlık içerikten dışarı taşmaz. */
.container { max-width: 820px; margin: 0 auto; padding: 0 28px; }
.container.wide { max-width: 820px; }

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── Header ─────────────────────────────── */
.site-header {
  border-bottom: 1px solid var(--hairline);
  padding: 18px 0;
  position: sticky;
  top: 0;
  background: rgba(17, 15, 23, 0.86);
  backdrop-filter: blur(12px);
  z-index: 10;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
}
.brand-wrap { display: flex; align-items: center; gap: 10px; }
.brand {
  font-family: var(--serif);
  font-size: 20px; font-weight: 500;
  color: var(--text-high);
  display: flex; align-items: center; gap: 10px;
}
.brand:hover { text-decoration: none; }
.brand .star { color: var(--gold); width: 14px; height: 14px; }
.brand-tag { font-family: var(--sans); font-size: 12px; color: var(--text-low); font-weight: 400; }
.brand-tag a { color: var(--text-low); }
.site-nav { display: flex; gap: 22px; }
.site-nav a { color: var(--text-mid); font-size: 14px; font-weight: 500; }
.site-nav a.active, .site-nav a:hover { color: var(--gold); text-decoration: none; }

/* ── Hero ───────────────────────────────── */
.hero { text-align: center; padding: 84px 0 56px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -40px 0 auto 0; height: 380px;
  background: radial-gradient(circle at 50% 30%, rgba(203,163,93,0.13), transparent 62%);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim); border-radius: 100px;
  padding: 7px 16px; margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(44px, 8vw, 64px); line-height: 1.05;
  margin-bottom: 18px;
}
.hero .lede {
  font-family: var(--reading);
  font-size: 19px; line-height: 1.65; color: var(--text-mid);
  max-width: 560px; margin: 0 auto;
}

/* CSS ile çizilen kart sırtı (marka motifi) */
.card-motif {
  width: 128px; height: 205px; margin: 0 auto 34px;
  border: 1px solid var(--hairline-hi); border-radius: 13px;
  background: var(--surface);
  display: grid; place-items: center; position: relative;
  box-shadow: 0 18px 40px rgba(5, 4, 10, 0.6), 0 4px 18px rgba(203,163,93,0.14);
  animation: breathe 4.2s ease-in-out infinite;
}
.card-motif::before {
  content: ""; position: absolute; inset: 8px;
  border: 1px solid var(--hairline); border-radius: 8px;
}
.card-motif .ring {
  width: 62px; height: 62px; border: 1px solid var(--gold-dim); border-radius: 50%;
  display: grid; place-items: center;
}
.card-motif .dot { position: absolute; width: 3px; height: 3px; background: var(--gold); border-radius: 50%; }
.card-motif .dot:nth-child(2) { top: 14px; left: 14px; }
.card-motif .dot:nth-child(3) { top: 14px; right: 14px; }
.card-motif .dot:nth-child(4) { bottom: 14px; left: 14px; }
.card-motif .dot:nth-child(5) { bottom: 14px; right: 14px; }
.star-glyph { width: 22px; height: 22px; fill: var(--gold); }
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.025); } }
@media (prefers-reduced-motion: reduce) { .card-motif { animation: none; } }

/* ── Features ───────────────────────────── */
section { padding: 34px 0; }
section h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: 30px; margin-bottom: 12px;
}
section > p { color: var(--text-mid); max-width: 620px; }

.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px; margin-top: 28px;
}
.feature {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 16px; padding: 22px;
}
.feature .glyph { color: var(--gold); font-size: 15px; margin-bottom: 12px; display: block; }
.feature h3 { font-family: var(--serif); font-weight: 500; font-size: 18px; margin-bottom: 6px; }
.feature p { font-size: 13.5px; color: var(--text-mid); line-height: 1.55; }

/* ── Doc links ──────────────────────────── */
.doc-links { display: grid; gap: 12px; margin-top: 26px; }
.doc-link {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 16px; padding: 18px 22px;
  color: var(--text-high);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.doc-link:hover { border-color: var(--gold-dim); transform: translateY(-1px); text-decoration: none; }
.doc-link-title { font-weight: 600; font-size: 15.5px; }
.doc-link-desc { font-size: 13px; color: var(--text-mid); margin-top: 3px; }
.doc-link .arrow { color: var(--gold); font-size: 18px; }

/* ── Legal pages ────────────────────────── */
.doc { padding: 56px 0 72px; }
.doc .updated { color: var(--text-low); font-size: 13px; }
.doc h1 { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.15; }
.doc h2 {
  font-family: var(--serif); font-weight: 500; font-size: 23px;
  margin: 44px 0 12px; padding-top: 28px;
  border-top: 1px solid var(--hairline);
}
.doc h2:first-of-type { border-top: none; padding-top: 0; }
.doc p, .doc li { color: var(--text-mid); font-size: 15.5px; }
.doc p { margin: 12px 0; }
.doc ul { margin: 12px 0 12px 22px; }
.doc li { margin: 7px 0; }
.doc strong, .doc em { color: var(--text-high); }
/* table-layout: fixed → sütunlar eşit bölünür ve metin sarar; böylece dar
   ekranda tablo viewport'tan taşıp sayfayı yatay kaydırmaz. */
.doc table { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border: 1px solid var(--hairline); color: var(--text-mid); vertical-align: top; overflow-wrap: anywhere; }
.doc th { color: var(--text-high); font-weight: 600; background: var(--surface); }
.callout {
  background: var(--surface); border: 1px solid var(--gold-dim);
  border-radius: 14px; padding: 16px 20px; margin: 20px 0;
  font-size: 14.5px; color: var(--text-mid);
}
.callout .star-inline { color: var(--gold); }

/* ── Footer ─────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--hairline);
  margin-top: 48px; padding: 26px 0 40px;
  font-size: 13px; color: var(--text-low);
}
.site-footer .container {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.site-footer a { color: var(--text-mid); }
.footer-links { display: flex; gap: 18px; }

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  /* Dar ekranda başlık sade kalsın: "by heyisoft" etiketi gizlenir ve menü
     sığmazsa alt satıra sarar — hiçbir öğe kesilmez. */
  .site-header .container { flex-wrap: wrap; row-gap: 8px; }
  .brand-tag { display: none; }
  .site-nav { gap: 14px; flex-wrap: wrap; }
  .site-nav a { font-size: 13px; }
  .hero { padding: 56px 0 40px; }
  .doc h1 { font-size: 33px; }
  .doc table { font-size: 13px; }
  .doc th, .doc td { padding: 8px 9px; }
}
