/* =================================================================
   YEZIDI COMMUNITY — Design System & Styles
   A premium, emotional, editorial landing experience.
   Concept: "Light of the Community" — built around the Yezidi sun.
   ================================================================= */

/* ----------------------------------------------------------------
   1. DESIGN TOKENS
   ---------------------------------------------------------------- */
:root {
  /* Core palette — ink + sun + peacock */
  --ink-900: #070b10;
  --ink-800: #0b1118;
  --ink-700: #0f1820;
  --ink-600: #16222c;
  --ink-500: #1f2f3b;

  --gold-400: #f3cf83;
  --gold-500: #e7b14c;   /* primary — the sun */
  --gold-600: #cf9532;

  --teal-300: #5fe3cf;
  --teal-400: #2dd4bf;
  --teal-500: #14a99a;   /* peacock accent */
  --teal-600: #0c7e74;

  --cream-50: #faf7f1;
  --cream-100: #f4efe5;
  --cream-200: #e9e1d2;

  /* Semantic */
  --bg: var(--ink-800);
  --surface: var(--ink-700);
  --surface-2: var(--ink-600);
  --text: #eef1f3;
  --text-muted: #9aa6b0;
  --text-faint: #6a7882;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  /* Light section tokens */
  --light-bg: var(--cream-50);
  --light-surface: #ffffff;
  --light-text: #1a232b;
  --light-muted: #5c6b75;
  --light-line: rgba(20, 30, 38, 0.10);

  /* Type */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;

  /* Spacing & radius */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 9rem);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 14px 40px rgba(231, 177, 76, 0.28);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----------------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
}

::selection { background: var(--gold-500); color: var(--ink-900); }

:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ----------------------------------------------------------------
   3. LAYOUT HELPERS
   ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }
.section--light { background: var(--light-bg); color: var(--light-text); }
.section--light .eyebrow { color: var(--teal-600); }
.section--light .lead { color: var(--light-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.section-title {
  font-size: clamp(2rem, 1.4rem + 2.8vw, 3.4rem);
  max-width: 18ch;
}
.section-title--center { margin-inline: auto; text-align: center; }

.lead {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  max-width: 60ch;
  margin-top: 1.25rem;
}
.lead--center { margin-inline: auto; text-align: center; }

.text-gold { color: var(--gold-400); }
.text-teal { color: var(--teal-300); }
.serif-accent { font-family: var(--font-display); font-style: italic; }

/* ----------------------------------------------------------------
   4. BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              background 0.3s var(--ease), color 0.3s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--ink-900);
  box-shadow: var(--shadow-gold);
}
.btn--primary:hover { box-shadow: 0 18px 50px rgba(231, 177, 76, 0.42); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--gold-500); }

.btn--dark {
  background: var(--ink-900);
  color: var(--cream-50);
}
.btn--dark:hover { box-shadow: var(--shadow-md); }

.btn--block { width: 100%; }

/* ----------------------------------------------------------------
   5. NAVBAR
   ---------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
              border-color 0.4s var(--ease), padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8, 13, 18, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__mark .ray { transform-origin: center; }

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-weight: 600; font-size: 0.95rem; color: var(--text-muted); transition: color 0.25s var(--ease); position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--gold-500); transition: width 0.3s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 0.9rem; }

.nav__toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius-sm); align-items: center; justify-content: center; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--text); position: relative; transition: 0.3s var(--ease); }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--text); transition: 0.3s var(--ease); }
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .nav__links, .nav__actions .btn--ghost { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__mobile {
    position: fixed; inset: 72px 0 auto 0;
    background: rgba(8, 13, 18, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 1.5rem var(--gutter) 2rem;
    display: grid; gap: 1.1rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: 0.35s var(--ease);
  }
  .nav.is-open .nav__mobile { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__mobile a { font-weight: 600; font-size: 1.1rem; padding-block: 0.4rem; border-bottom: 1px solid var(--line); }
  .nav__mobile .btn { margin-top: 0.5rem; }
}
.nav__mobile { display: none; }
@media (max-width: 880px) { .nav__mobile { display: grid; } }

/* ----------------------------------------------------------------
   6. HERO
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__mesh {
  position: absolute; inset: -20%;
  background:
    radial-gradient(48% 42% at 72% 18%, rgba(231, 177, 76, 0.30), transparent 60%),
    radial-gradient(50% 50% at 18% 78%, rgba(20, 169, 154, 0.26), transparent 62%),
    radial-gradient(60% 60% at 50% 50%, rgba(15, 24, 32, 0.0), var(--ink-900) 90%);
  filter: blur(8px);
  animation: meshDrift 22s var(--ease) infinite alternate;
}
@keyframes meshDrift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-3%, 2%, 0) scale(1.08); }
}
.hero__grain {
  position: absolute; inset: 0; z-index: -1; opacity: 0.5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}
/* radiant sun rays behind hero */
.hero__sun {
  position: absolute; top: 8%; right: -6%; width: min(60vw, 720px); aspect-ratio: 1; z-index: -1;
  opacity: 0.5; pointer-events: none;
}
.hero__sun .sunrays { transform-origin: center; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: 100%;
}
@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; } .hero__visual { display: none; } }

.hero__badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 1rem; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-strong);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: var(--text-muted);
  backdrop-filter: blur(8px); margin-bottom: 1.8rem;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-400); box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.22); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(45, 212, 191, 0); } }

.hero h1 {
  font-size: clamp(2.8rem, 1.6rem + 5.6vw, 5.4rem);
  letter-spacing: -0.03em;
}
.hero h1 .em { color: var(--gold-400); font-style: italic; }
.hero__sub { margin-top: 1.6rem; font-size: clamp(1.08rem, 1rem + 0.5vw, 1.3rem); color: var(--text-muted); max-width: 46ch; }
.hero__cta { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__trust { margin-top: 2.6rem; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; color: var(--text-faint); font-size: 0.9rem; }
.hero__avatars { display: flex; }
.hero__avatars span {
  width: 34px; height: 34px; border-radius: 50%; margin-left: -10px;
  border: 2px solid var(--ink-800); background: linear-gradient(135deg, var(--teal-500), var(--gold-500));
  display: grid; place-items: center; font-size: 0.72rem; font-weight: 800; color: var(--ink-900);
}
.hero__avatars span:first-child { margin-left: 0; }

/* hero visual — layered sun emblem card */
.hero__visual { position: relative; }
.hero__emblem {
  position: relative; aspect-ratio: 1; display: grid; place-items: center;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 40%, rgba(231,177,76,0.18), transparent 60%);
}
.hero__emblem svg { width: 78%; filter: drop-shadow(0 20px 60px rgba(231, 177, 76, 0.3)); }
.hero__float {
  position: absolute; padding: 0.85rem 1.05rem; border-radius: var(--radius);
  background: rgba(15, 24, 32, 0.78); border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px); box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 0.7rem; font-size: 0.88rem; font-weight: 600;
}
.hero__float .ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(45,212,191,0.16); color: var(--teal-300); }
.hero__float .ico.gold { background: rgba(231,177,76,0.18); color: var(--gold-400); }
.hero__float--1 { top: 8%; left: -8%; animation: floaty 6s var(--ease) infinite; }
.hero__float--2 { bottom: 12%; right: -6%; animation: floaty 7s var(--ease) infinite reverse; }
@keyframes floaty { 50% { transform: translateY(-12px); } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 1.8rem; transform: translateX(-50%);
  display: grid; gap: 0.5rem; justify-items: center; color: var(--text-faint); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-hint .mouse { width: 22px; height: 36px; border: 2px solid var(--line-strong); border-radius: 12px; position: relative; }
.scroll-hint .mouse::after { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; background: var(--gold-400); border-radius: 2px; animation: scrolldot 1.8s var(--ease) infinite; }
@keyframes scrolldot { 0%,100% { opacity: 0; top: 6px; } 40% { opacity: 1; } 80% { opacity: 0; top: 16px; } }

/* ----------------------------------------------------------------
   7. MARQUEE / LOGO STRIP
   ---------------------------------------------------------------- */
.marquee { border-block: 1px solid var(--line); padding-block: 1.4rem; overflow: hidden; }
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: scrollx 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text-faint); font-weight: 700; letter-spacing: 0.04em; white-space: nowrap; font-size: 0.95rem; }
.marquee__item svg { width: 16px; height: 16px; color: var(--gold-500); }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ----------------------------------------------------------------
   8. STATISTICS
   ---------------------------------------------------------------- */
.stats { background: var(--ink-900); }
.stats__head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.stats__grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem;
}
@media (max-width: 980px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats__grid { grid-template-columns: 1fr; } }

.stat {
  position: relative; padding: 1.8rem 1.5rem 1.6rem;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  overflow: hidden;
}
.stat::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--teal-400));
  transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease-out);
}
.stat.is-in::before { transform: scaleX(1); }
.stat__num { font-family: var(--font-display); font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.stat__num .suffix { color: var(--gold-400); }
.stat__label { margin-top: 0.6rem; color: var(--text-muted); font-weight: 600; font-size: 0.95rem; }
.stat__spark { margin-top: 1.1rem; height: 38px; width: 100%; }
.stat__spark path.line { fill: none; stroke: var(--teal-400); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.stat__spark path.area { fill: url(#sparkfill); opacity: 0.5; }

.stats__note { text-align: center; margin-top: 2rem; color: var(--text-faint); font-size: 0.85rem; }

/* ----------------------------------------------------------------
   9. FEATURES
   ---------------------------------------------------------------- */
.features__head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 920px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features__grid { grid-template-columns: 1fr; } }

.feature {
  position: relative; padding: 1.8rem; border-radius: var(--radius);
  background: var(--light-surface); border: 1px solid var(--light-line);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease);
  overflow: hidden;
}
.feature::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s var(--ease);
  background: radial-gradient(120% 120% at 0% 0%, rgba(231,177,76,0.10), transparent 55%);
}
.feature:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(26, 35, 43, 0.12); border-color: rgba(231,177,76,0.5); }
.feature:hover::after { opacity: 1; }
.feature:hover .feature__ico { transform: rotate(-8deg) scale(1.08); }
.feature__ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.2rem;
  background: linear-gradient(135deg, rgba(231,177,76,0.16), rgba(20,169,154,0.16));
  color: var(--teal-600); transition: transform 0.4s var(--ease-out);
}
.feature__ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.3rem; color: var(--light-text); margin-bottom: 0.5rem; }
.feature p { color: var(--light-muted); font-size: 0.98rem; }

/* ----------------------------------------------------------------
   10. MISSION / STORY (parallax)
   ---------------------------------------------------------------- */
.mission { position: relative; overflow: hidden; }
.mission__bg {
  position: absolute; inset: -15% 0; z-index: 0;
  background:
    radial-gradient(40% 40% at 80% 30%, rgba(20,169,154,0.18), transparent 60%),
    radial-gradient(40% 40% at 10% 80%, rgba(231,177,76,0.15), transparent 60%);
}
.mission__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
@media (max-width: 920px) { .mission__inner { grid-template-columns: 1fr; } }

.mission__visual { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-strong); }
.mission__visual .layer { position: absolute; inset: 0; }
.mission__visual .glow { background: radial-gradient(circle at 50% 35%, rgba(231,177,76,0.35), transparent 60%); }
.mission__visual .emblem { display: grid; place-items: center; }
.mission__visual .emblem svg { width: 62%; }
.mission__quote { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.4rem; padding: 1.1rem 1.3rem; border-radius: var(--radius); background: rgba(8,13,18,0.7); backdrop-filter: blur(10px); border: 1px solid var(--line-strong); font-family: var(--font-display); font-style: italic; font-size: 1.05rem; }

.mission__points { display: grid; gap: 1.4rem; margin-top: 2rem; }
.mission__point { display: flex; gap: 1.1rem; }
.mission__point .num { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold-400); flex: none; width: 2.5rem; }
.mission__point h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; margin-bottom: 0.25rem; }
.mission__point p { color: var(--text-muted); font-size: 0.98rem; }

/* ----------------------------------------------------------------
   11. APP PREVIEW
   ---------------------------------------------------------------- */
.app { background: var(--ink-900); overflow: hidden; }
.app__head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.app__stage { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: clamp(1rem, 3vw, 2.2rem); min-height: 560px; }
@media (max-width: 720px) { .app__stage { min-height: 520px; } }

.phone {
  position: relative; width: clamp(210px, 26vw, 270px); aspect-ratio: 9/19;
  border-radius: 38px; padding: 10px; flex: none;
  background: linear-gradient(160deg, #2a3742, #0d161e);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  transition: transform 0.6s var(--ease-out);
}
.phone__screen { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: var(--ink-700); position: relative; }
.phone__notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; background: #060a0e; border-radius: 12px; z-index: 3; }
.phone--side { transform: translateY(34px) scale(0.92); opacity: 0.85; }
.app__stage:hover .phone--center { transform: translateY(-8px); }

/* phone screen content */
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; color: var(--text); }
.scr__top { padding: 30px 16px 10px; display: flex; align-items: center; justify-content: space-between; font-weight: 800; font-size: 1.05rem; }
.scr__top .logo { display: flex; align-items: center; gap: 6px; }
.scr__top .logo svg { width: 20px; height: 20px; }
.scr__body { flex: 1; padding: 6px 14px; display: grid; gap: 10px; overflow: hidden; }
.card-mini { background: rgba(255,255,255,0.05); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.card-mini .row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.card-mini .ava { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--teal-500), var(--gold-500)); flex: none; }
.card-mini .meta { display: grid; gap: 4px; flex: 1; }
.card-mini .meta .l1 { height: 7px; width: 60%; border-radius: 4px; background: rgba(255,255,255,0.4); }
.card-mini .meta .l2 { height: 6px; width: 38%; border-radius: 4px; background: rgba(255,255,255,0.18); }
.card-mini .img { height: 64px; border-radius: 10px; background: linear-gradient(135deg, rgba(231,177,76,0.4), rgba(20,169,154,0.4)); }
.card-mini .txt { height: 6px; border-radius: 4px; background: rgba(255,255,255,0.16); margin-top: 8px; }
.card-mini .txt.short { width: 70%; }
.scr__nav { display: flex; justify-content: space-around; padding: 12px 0 22px; border-top: 1px solid var(--line); }
.scr__nav i { width: 22px; height: 22px; border-radius: 7px; background: rgba(255,255,255,0.16); display: block; }
.scr__nav i.active { background: var(--gold-500); }
/* groups screen */
.grp { display: flex; align-items: center; gap: 10px; padding: 10px; background: rgba(255,255,255,0.05); border-radius: 12px; }
.grp .ic { width: 34px; height: 34px; border-radius: 10px; flex: none; background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); }
.grp .ic.t { background: linear-gradient(135deg, var(--teal-500), var(--teal-600)); }
.grp .meta { flex: 1; display: grid; gap: 5px; }
.grp .meta .l1 { height: 7px; width: 70%; border-radius: 4px; background: rgba(255,255,255,0.42); }
.grp .meta .l2 { height: 5px; width: 45%; border-radius: 4px; background: rgba(255,255,255,0.18); }
/* profile screen */
.prof { text-align: center; padding-top: 10px; }
.prof .big { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 10px; background: linear-gradient(135deg, var(--teal-500), var(--gold-500)); border: 3px solid rgba(255,255,255,0.12); }
.prof .name { height: 9px; width: 50%; margin: 0 auto 6px; border-radius: 4px; background: rgba(255,255,255,0.42); }
.prof .sub { height: 6px; width: 35%; margin: 0 auto 14px; border-radius: 4px; background: rgba(255,255,255,0.2); }
.prof .stats3 { display: flex; justify-content: space-around; padding: 10px; background: rgba(255,255,255,0.05); border-radius: 12px; }
.prof .stats3 div { display: grid; gap: 5px; justify-items: center; }
.prof .stats3 .a { height: 9px; width: 26px; border-radius: 4px; background: var(--gold-400); }
.prof .stats3 .b { height: 5px; width: 34px; border-radius: 4px; background: rgba(255,255,255,0.2); }

.app__dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2.5rem; }
.app__dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); transition: 0.3s var(--ease); }
.app__dots button.active { background: var(--gold-500); width: 28px; border-radius: 5px; }

/* ----------------------------------------------------------------
   12. TESTIMONIALS
   ---------------------------------------------------------------- */
.testi__head { text-align: center; max-width: 700px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 920px) { .testi__grid { grid-template-columns: 1fr; } }
.testi__grid .col { display: grid; gap: 1.2rem; }
@media (max-width: 920px) { .testi__grid .col:nth-child(n+2) { display: contents; } }

.quote {
  padding: 1.7rem; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid var(--line); position: relative;
}
.quote .mark { font-family: var(--font-display); font-size: 3rem; line-height: 0.5; color: var(--gold-500); opacity: 0.5; }
.quote p { margin: 0.8rem 0 1.3rem; font-size: 1.02rem; }
.quote .who { display: flex; align-items: center; gap: 0.8rem; }
.quote .who .ava { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--teal-500), var(--gold-500)); display: grid; place-items: center; font-weight: 800; color: var(--ink-900); }
.quote .who .name { font-weight: 700; font-size: 0.95rem; }
.quote .who .loc { color: var(--text-faint); font-size: 0.85rem; }

/* ----------------------------------------------------------------
   13. CTA
   ---------------------------------------------------------------- */
.cta { position: relative; overflow: hidden; }
.cta__inner {
  position: relative; z-index: 1; text-align: center;
  padding: clamp(3rem, 7vw, 6rem) var(--gutter);
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--ink-900);
}
.cta__glow {
  position: absolute; inset: -40%; z-index: -1;
  background:
    radial-gradient(40% 50% at 30% 30%, rgba(231,177,76,0.4), transparent 60%),
    radial-gradient(40% 50% at 75% 70%, rgba(20,169,154,0.4), transparent 60%);
  filter: blur(20px);
  animation: ctaShift 14s var(--ease) infinite alternate;
}
@keyframes ctaShift { 100% { transform: translate(6%, -4%) scale(1.15); } }
.cta h2 { font-size: clamp(2.2rem, 1.6rem + 3vw, 3.6rem); max-width: 16ch; margin-inline: auto; }
.cta .lead { margin-inline: auto; }
.cta__btns { margin-top: 2.2rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }

/* ----------------------------------------------------------------
   14. FOOTER
   ---------------------------------------------------------------- */
.footer { background: var(--ink-900); border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand { display: inline-flex; align-items: center; gap: 0.7rem; font-weight: 800; font-size: 1.15rem; margin-bottom: 1rem; }
.footer__brand svg { width: 32px; height: 32px; }
.footer__about { color: var(--text-muted); max-width: 34ch; font-size: 0.95rem; }
.footer__social { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--text-muted); transition: 0.3s var(--ease); }
.footer__social a:hover { background: var(--gold-500); color: var(--ink-900); border-color: var(--gold-500); transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__col h4 { font-family: var(--font-body); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 1.1rem; }
.footer__col a { display: block; color: var(--text-muted); padding-block: 0.4rem; font-size: 0.96rem; transition: color 0.25s var(--ease); }
.footer__col a:hover { color: var(--gold-400); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line); color: var(--text-faint); font-size: 0.88rem; }
.footer__bottom a:hover { color: var(--gold-400); }

/* ----------------------------------------------------------------
   15. LEGAL PAGES (privacy / terms)
   ---------------------------------------------------------------- */
.legal-hero { padding: calc(72px + clamp(3rem, 7vw, 6rem)) 0 clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.legal-hero__glow { position: absolute; inset: -30% 0 auto; height: 80%; z-index: 0; background: radial-gradient(50% 60% at 70% 0%, rgba(231,177,76,0.2), transparent 60%); }
.legal-hero .container { position: relative; z-index: 1; }
.legal-hero h1 { font-size: clamp(2.4rem, 1.6rem + 3.5vw, 4rem); }
.legal-hero .updated { margin-top: 1rem; color: var(--text-faint); font-size: 0.92rem; }

.legal { padding-bottom: var(--section-y); }
.legal__layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .legal__layout { grid-template-columns: 1fr; } .legal__toc { display: none; } }

.legal__toc { position: sticky; top: 96px; }
.legal__toc h4 { font-family: var(--font-body); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 1rem; }
.legal__toc a { display: block; color: var(--text-muted); padding: 0.4rem 0 0.4rem 0.9rem; font-size: 0.92rem; border-left: 2px solid var(--line); transition: 0.25s var(--ease); }
.legal__toc a:hover, .legal__toc a.active { color: var(--gold-400); border-left-color: var(--gold-500); }

.legal__body { max-width: 70ch; }
.legal__body section { scroll-margin-top: 96px; margin-bottom: 2.6rem; }
.legal__body h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-bottom: 1rem; padding-top: 0.5rem; }
.legal__body h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.12rem; margin: 1.6rem 0 0.6rem; }
.legal__body p { color: var(--text-muted); margin-bottom: 1rem; }
.legal__body ul.bul { display: grid; gap: 0.6rem; margin-bottom: 1.2rem; }
.legal__body ul.bul li { color: var(--text-muted); padding-left: 1.6rem; position: relative; }
.legal__body ul.bul li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }
.legal__body strong { color: var(--text); }
.legal__body a.inline { color: var(--gold-400); text-decoration: underline; text-underline-offset: 3px; }
.legal__callout { padding: 1.4rem 1.6rem; border-radius: var(--radius); background: rgba(20,169,154,0.08); border: 1px solid rgba(20,169,154,0.3); margin: 1.5rem 0; }
.legal__callout p { color: var(--text); margin: 0; }

/* ----------------------------------------------------------------
   16. SCROLL-REVEAL UTILITY (fallback if JS disabled = visible)
   ---------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); }
.is-revealed .reveal, .reveal.is-revealed { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* small print */
.tiny { font-size: 0.82rem; color: var(--text-faint); }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
