/* =========================================================
   Jijiboo — shared design tokens & base styles
   Used across all static HTML pages
   ========================================================= */

:root {
  --ink:        #2E2A3D;
  --ink-soft:   #625C77;
  --canvas:     #FFF9EE;
  --canvas-2:   #FFF2DC;

  --sun:        #FF9F1C;
  --sun-deep:   #E6850A;
  --berry:      #E4536B;
  --leaf:       #2FA36B;
  --sky:        #2E8FC9;
  --grape:      #7C5CBF;
  --sun-100:    #FFE9C2;
  --berry-100:  #FBDEE3;
  --leaf-100:   #D9F1E3;
  --sky-100:    #DCEEFA;
  --grape-100:  #E9E1F7;

  --white:      #FFFFFF;
  --line:       rgba(46, 42, 61, 0.10);
  --shadow-sm:  0 2px 10px rgba(46, 42, 61, 0.06);
  --shadow-md:  0 10px 30px rgba(46, 42, 61, 0.10);
  --shadow-lg:  0 20px 50px rgba(46, 42, 61, 0.14);

  --radius-sm:  12px;
  --radius-md:  20px;
  --radius-lg:  28px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --brand-cdn: https://jijiboo.com/media/stream/uploads;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Vazirmatn', sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.8;
  overflow-x: hidden;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4,
.brand,
.btn,
.chip,
.nav a,
.stat-num {
  font-family: 'Baloo Bhaijaan 2', 'Vazirmatn', sans-serif;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

section {
  position: relative;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 16px;
  transition:
    transform .2s var(--ease),
    box-shadow .2s var(--ease),
    background .2s var(--ease),
    border-color .2s var(--ease),
    color .2s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--sun);
  color: #fff;
  box-shadow: 0 4px 0 var(--sun-deep);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--sun-deep), var(--shadow-sm);
}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--sun-deep);
}

.btn-outline {
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--line);
}

.btn-outline:hover {
  border-color: var(--sky);
  color: var(--sky);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

.btn-light {
  background: #fff;
  color: var(--grape);
  box-shadow: 0 4px 0 rgba(0, 0, 0, .12);
}

/* ---------- Chip ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}
