/* ==========================================================
   Data Guard — Static Tailwind utilities (no build step)
   Includes only utilities used in the site + custom brand tokens.
   Replaces the cdn.tailwindcss.com Play CDN (no console warning).
   ========================================================== */

*, *::before, *::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: #E2E8F0; }
:root { --tw-shadow: 0 0 transparent; --tw-ring-color: rgba(59,130,246,0.5); }
.font-en { font-family: 'Inter', sans-serif; }
.font-ar { font-family: 'Cairo', sans-serif; }

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

/* ---------- Position ---------- */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.bottom-6 { bottom: 1.5rem; }
.right-6 { right: 1.5rem; }

/* z-index */
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

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

/* ---------- Flex ---------- */
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.place-items-center { place-items: center; }

/* ---------- Grid ---------- */
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.md\:col-span-2 { /* moved to media */ }

/* Gap */
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-7 { gap: 1.75rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-14 { gap: 3.5rem; }
.gap-x-4 { column-gap: 1rem; }
.gap-x-6 { column-gap: 1.5rem; }
.gap-y-3 { row-gap: .75rem; }
.gap-y-10 { row-gap: 2.5rem; }

/* Space-y */
.space-y-1\.5 > * + * { margin-top: .375rem; }
.space-y-2 > * + * { margin-top: .5rem; }
.space-y-3 > * + * { margin-top: .75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* ---------- Sizing ---------- */
.w-2 { width: .5rem; }
.w-5 { width: 1.25rem; }
.w-9 { width: 2.25rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-32 { width: 8rem; }
.w-40 { width: 10rem; }
.w-44 { width: 11rem; }
.w-56 { width: 14rem; }
.w-72 { width: 18rem; }
.w-80 { width: 20rem; }
.w-full { width: 100%; }
.h-2 { height: .5rem; }
.h-9 { height: 2.25rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-32 { height: 8rem; }
.h-40 { height: 10rem; }
.h-44 { height: 11rem; }
.h-56 { height: 14rem; }
.h-72 { height: 18rem; }
.h-full { height: 100%; }
.h-\[500px\] { height: 500px; }
.aspect-square { aspect-ratio: 1/1; }

.min-h-screen { min-height: 100vh; }
.max-w-md { max-width: 28rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-\[85vw\] { max-width: 85vw; }
.max-w-\[150px\] { max-width: 150px; }

/* ---------- Spacing (padding) ---------- */
.p-1 { padding: .25rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.px-2 { padding-left: .5rem; padding-right: .5rem; }
.px-3 { padding-left: .75rem; padding-right: .75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.py-1\.5 { padding-top: .375rem; padding-bottom: .375rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-3\.5 { padding-top: .875rem; padding-bottom: .875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-12 { padding-top: 3rem; }
.pt-16 { padding-top: 4rem; }
.pt-32 { padding-top: 8rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-20 { padding-bottom: 5rem; }
.pb-24 { padding-bottom: 6rem; }

/* margin */
.mx-auto { margin-left: auto; margin-right: auto; }
.mr-2 { margin-right: .5rem; }
.mt-0\.5 { margin-top: .125rem; }
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-1 { margin-bottom: .25rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }
.-mt-20 { margin-top: -5rem; }

/* ---------- Typography ---------- */
.text-xs { font-size: .75rem; line-height: 1rem; }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }
.tracking-wide { letter-spacing: .025em; }
.tracking-wider { letter-spacing: .05em; }
.tracking-widest { letter-spacing: .1em; }
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.leading-\[1\.05\] { line-height: 1.05; }
.uppercase { text-transform: uppercase; }
.text-center { text-align: center; }

/* ---------- Brand colors (custom) ---------- */
.text-white { color: #fff; }
.text-white\/90 { color: rgba(255,255,255,.9); }
.text-white\/95 { color: rgba(255,255,255,.95); }
.text-cyber-cyan { color: #5DD5DE; }
.text-cyber-purple { color: #2E54A0; }
.text-cyber-pink { color: #88E1E6; }
.text-cyber-text { color: #cbd5e1; }
.text-cyan-300 { color: #67E8F9; }
.text-emerald-300 { color: #6ee7b7; }
.text-emerald-400 { color: #34d399; }
.text-emerald-500 { color: #10b981; }
.text-red-300 { color: #fca5a5; }
.text-red-400 { color: #f87171; }
.text-slate-300 { color: #cbd5e1; }
.text-\[\#1E3A8A\] { color: #1E3A8A; }

/* Backgrounds */
.bg-white { background-color: #fff; }
.bg-white\/15 { background-color: rgba(255,255,255,.15); }
.bg-emerald-400 { background-color: #34d399; }
.bg-emerald-500\/20 { background-color: rgba(16,185,129,.2); }
.bg-cyber-cyan\/20 { background-color: rgba(93,213,222,.2); }
.bg-cyber-purple\/20 { background-color: rgba(46,84,160,.2); }
.bg-cyber-pink\/20 { background-color: rgba(136,225,230,.2); }
.bg-red-500\/10 { background-color: rgba(239,68,68,.1); }
.bg-red-500\/15 { background-color: rgba(239,68,68,.15); }
.bg-red-950\/10 { background-color: rgba(127,29,29,.1); }
.bg-cyan-300\/25 { background-color: rgba(103,232,249,.25); }
.bg-blue-400\/30 { background-color: rgba(96,165,250,.3); }

/* Gradients */
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-cyber-cyan { --tw-gradient-from: #5DD5DE; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(93,213,222,0)); }
.from-cyber-cyan\/20 { --tw-gradient-from: rgba(93,213,222,.2); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(93,213,222,0)); }
.from-cyber-cyan\/30 { --tw-gradient-from: rgba(93,213,222,.3); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(93,213,222,0)); }
.to-cyber-purple { --tw-gradient-to: #2E54A0; }
.to-cyber-purple\/20 { --tw-gradient-to: rgba(46,84,160,.2); }
.to-cyber-purple\/30 { --tw-gradient-to: rgba(46,84,160,.3); }

/* Borders */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-cyber-border { border-color: #1c2454; }
.border-cyber-purple\/30 { border-color: rgba(46,84,160,.3); }
.border-red-900\/40 { border-color: rgba(127,29,29,.4); }
.border-white\/10 { border-color: rgba(255,255,255,.1); }
.border-white\/30 { border-color: rgba(255,255,255,.3); }

.rounded-lg { border-radius: .5rem; }
.rounded-xl { border-radius: .75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* Effects */
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); }
.opacity-0 { opacity: 0; }
.opacity-20 { opacity: .2; }
.opacity-40 { opacity: .4; }
.blur-3xl { filter: blur(64px); }
.backdrop-blur { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* Transitions */
.transition { transition-property: background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter; transition-duration: .15s; transition-timing-function: cubic-bezier(.4,0,.2,1); }
.transition-all { transition-property: all; transition-duration: .15s; transition-timing-function: cubic-bezier(.4,0,.2,1); }

/* Animation */
@keyframes pulse { 50% { opacity: .5; } }
.animate-pulse { animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite; }

/* ---------- Hover utilities ---------- */
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:bg-cyber-cyan\/20:hover { background-color: rgba(93,213,222,.2); }
.hover\:border-cyber-cyan:hover { border-color: #5DD5DE; }
.hover\:border-cyber-purple:hover { border-color: #2E54A0; }
.hover\:border-cyber-pink:hover { border-color: #88E1E6; }
.hover\:border-emerald-400:hover { border-color: #34d399; }
.hover\:text-cyber-cyan:hover { color: #5DD5DE; }

/* ---------- Responsive : md (≥768px) ---------- */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:flex-row { flex-direction: row; }
  .md\:inline-flex { display: inline-flex; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:p-12 { padding: 3rem; }
  .md\:p-16 { padding: 4rem; }
  .md\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
  .md\:pt-40 { padding-top: 10rem; }
  .md\:pb-32 { padding-bottom: 8rem; }
  .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .md\:text-base { font-size: 1rem; line-height: 1.5rem; }
}

/* ---------- Responsive : sm (≥640px) ---------- */
@media (min-width: 640px) {
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

/* ---------- Responsive : lg (≥1024px) ---------- */
@media (min-width: 1024px) {
  .lg\:block { display: block; }
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:gap-8 { gap: 2rem; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0,1fr)); }
  .lg\:text-7xl { font-size: 4.5rem; line-height: 1; }
}

/* ---------- Italic ---------- */
.italic { font-style: italic; }
