/*
Bismillahirrahmanirrahim
بِسْــــــــــــــــــمِ اﷲِالرَّحْمَنِ اارَّحِيم
Sübhanallahi ve Bihamdihi Sübhanallahil Azim
سُبْحانَ اللّٰهِ وَبِحَمْده۪ سُبْحَانَ اللّٰهِ الْعَظِيمِ
*/

:root {
  --ink: #14181c;
  --ink-soft: #2a3138;
  --paper: #f3efe8;
  --muted: #6b747e;
  --hey: #9b1b1b;
  --bana: #dc2626;
  --teal: #0d9488;
  --teal-deep: #0f766e;
  --line: rgba(20, 24, 28, 0.12);
  --glow: rgba(13, 148, 136, 0.22);
  --font: "Lexend", system-ui, sans-serif;
  --max: 68rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--teal-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--hey); }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 50;
  background: #fff;
  padding: 0.5rem 0.75rem;
}

/* —— Landing hero (full-bleed) —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f7f4ef;
  background:
    radial-gradient(120% 80% at 70% 10%, rgba(13, 148, 136, 0.35), transparent 55%),
    radial-gradient(90% 70% at 10% 90%, rgba(155, 27, 27, 0.28), transparent 50%),
    linear-gradient(165deg, #0c1216 0%, #1a222c 48%, #0f1714 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 75%);
  pointer-events: none;
  animation: gridDrift 28s linear infinite;
}

@keyframes gridDrift {
  from { transform: translateY(0); }
  to { transform: translateY(48px); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, 40rem);
  margin: 0 auto;
  padding: 4.5rem 0 3.25rem;
  text-align: center;
}

.hero-logo {
  width: min(100%, 28rem);
  margin: 0 auto 1.35rem;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
  animation: riseIn 0.9s ease-out both;
}

.hero-tag {
  margin: 0;
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #5eead4;
  animation: riseIn 1s ease-out 0.12s both;
}

.hero-lead {
  margin: 0.85rem auto 0;
  max-width: 28rem;
  font-size: clamp(0.98rem, 2.2vw, 1.08rem);
  font-weight: 300;
  color: rgba(243, 239, 232, 0.86);
  animation: riseIn 1s ease-out 0.22s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
  animation: riseIn 1s ease-out 0.32s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.25rem;
  border-radius: 0.55rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--bana);
  color: #fff;
}
.btn-primary:hover { background: #b91c1c; color: #fff; }

.btn-ghost {
  background: transparent;
  color: #f3efe8;
  border-color: rgba(243, 239, 232, 0.35);
}
.btn-ghost:hover {
  border-color: #5eead4;
  color: #5eead4;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* —— Content sections —— */
.section {
  width: min(100% - 2.5rem, 40rem);
  margin: 0 auto;
  padding: 3.5rem 0;
}

.section h2 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 300;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.bullets {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.bullets li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.15rem;
  color: var(--ink-soft);
  font-weight: 300;
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--teal);
}

.note {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--teal);
  background: rgba(13, 148, 136, 0.08);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 1.25rem 2.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.site-footer a {
  color: var(--ink-soft);
  font-weight: 600;
  text-decoration: none;
}
.site-footer a:hover { color: var(--teal); }

/* —— Inner pages (privacy) —— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: rgba(243, 239, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar a.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}

.topbar img {
  height: 2rem;
  width: auto;
}

.topbar .links {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.doc {
  width: min(100% - 2.5rem, 42rem);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.doc h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
}

.doc .meta {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.doc h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.1rem;
  color: var(--teal-deep);
}

.doc p, .doc li {
  color: var(--ink-soft);
  font-weight: 300;
}

.doc ul { padding-left: 1.2rem; }

.lang-switch {
  display: flex;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.lang-switch a { text-decoration: none; }
.lang-switch a[aria-current="true"] { color: var(--hey); }

hr.doc-break {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 3rem 0;
}

@media (max-width: 520px) {
  .hero-inner { width: min(100% - 1.75rem, 40rem); padding-bottom: 2.5rem; }
  .section, .doc { width: min(100% - 1.75rem, 40rem); }
}
