/* ============================================================
   FLiiP Utilities
   ============================================================ */

/* Margin / Padding */
.mt-2  { margin-top: var(--sp-2); }
.mt-4  { margin-top: var(--sp-4); }
.mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }
.mt-10 { margin-top: var(--sp-10); }
.mt-12 { margin-top: var(--sp-12); }
.mt-16 { margin-top: var(--sp-16); }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-6  { margin-bottom: var(--sp-6); }
.mb-8  { margin-bottom: var(--sp-8); }
.mb-12 { margin-bottom: var(--sp-12); }
.mb-16 { margin-bottom: var(--sp-16); }
.mx-auto { margin-left: auto; margin-right: auto; }
.pt-0  { padding-top: 0; }

/* Text color */
.text-white  { color: var(--c-white); }
.text-ink    { color: var(--c-ink); }
.text-blue   { color: var(--c-blue); }
.text-muted  { color: var(--c-gray-500); }
.text-muted-light { color: rgba(255,255,255,0.55); }

/* Font */
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

/* Display */
.hidden { display: none !important; }
.block  { display: block; }
.inline { display: inline; }
.inline-flex { display: inline-flex; }

/* Width */
.w-full { width: 100%; }

/* Overflow */
.overflow-hidden { overflow: hidden; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }

/* Rounded */
.rounded-full { border-radius: var(--r-full); }

/* Divider */
.divider {
  height: 1px;
  background: var(--c-gray-200);
  margin: var(--sp-8) 0;
}
.divider--dark {
  background: rgba(255,255,255,0.08);
}

/* Section: blueprint grid for technical pages */
.bg-blueprint {
  background-image:
    linear-gradient(rgba(11,131,250,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,131,250,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.badge--new {
  background: rgba(11,131,250,0.12);
  color: var(--c-blue-deep);
}
.badge--coming-soon {
  background: rgba(226,163,59,0.12);
  color: #9A6B0F;
}
.badge--success {
  background: rgba(27,170,108,0.12);
  color: #0E6B41;
}

/* Aspect ratio helpers */
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-4-3   { aspect-ratio: 4 / 3; }
.aspect-square { aspect-ratio: 1 / 1; }

/* Arrow icon (inline SVG helper) */
.arrow-right {
  display: inline-flex;
  align-items: center;
}
.arrow-right svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur-fast);
}
a:hover .arrow-right svg,
button:hover .arrow-right svg {
  transform: translateX(3px);
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
