/* =====================================================
   BioCart — 2026 Legendary Design System
   Style: Dark Luxury, Bento Grids, Glassmorphism
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;900&family=Alexandria:wght@300;400;500;700;900&display=swap');

:root {
  /* Ultra Dark Luxury Surfaces */
  --bg-space:   #050505;
  --bg-surface: #0a0a0a;
  --bg-card:    rgba(20, 20, 20, 0.6);
  --bg-glass:   rgba(255, 255, 255, 0.03);
  
  /* Glowing Brand Colors */
  --p:       #8a2be2; /* Deep Neon Purple */
  --p-glow:  rgba(138, 43, 226, 0.4);
  --ss:      #00f0ff; /* Cyan accent */
  --wa:      #00E676; /* WhatsApp Neon Green */
  
  /* Text */
  --t-pure:  #ffffff;
  --t-1:     #f4f4f5;
  --t-2:     #a1a1aa;
  --t-3:     #71717a;

  /* Borders */
  --b-glass: rgba(255, 255, 255, 0.08);
  --b-glow:  rgba(255, 255, 255, 0.15);

  /* Geometry & Bento */
  --r-sm:    8px;
  --r-md:    16px;
  --r-lg:    24px;
  --r-xl:    32px;
  --r-pill:  999px;

  /* Gradients */
  --grad-hero: linear-gradient(135deg, #8a2be2, #00f0ff);
  --grad-text: linear-gradient(to right, #ffffff, #a1a1aa);
  --grad-card: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);

  /* Typography */
  --font-en: 'Outfit', sans-serif;
  --font-ar: 'Alexandria', sans-serif;
  
  /* Motion - Liquid spring */
  --spring: cubic-bezier(0.175, 0.885, 0.32, 1.15);
  --ease-in-out: cubic-bezier(0.8, 0, 0.2, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg-space); }
body {
  font-family: var(--font-ar);
  background: var(--bg-space);
  color: var(--t-1);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }
a { color: var(--ss); text-decoration: none; }
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

/* ── TYPOGRAPHY ── */
.brand-name {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-transform: uppercase;
}

/* ── BENTO CARDS ── */
.bento-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--b-glass);
  border-radius: var(--r-xl);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--spring);
}
.bento-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-card); pointer-events: none;
}
.bento-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--b-glow);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px var(--p-glow);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 24px; border-radius: var(--r-pill);
  font-size: 1rem; font-weight: 700;
  transition: all 0.3s var(--ease-in-out);
  cursor: pointer; border: none; white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--t-pure); color: var(--bg-space);
}
.btn-primary:hover {
  transform: scale(1.05); box-shadow: 0 0 20px rgba(255,255,255,0.4);
}
.btn-glow {
  background: var(--grad-hero); color: var(--t-pure);
  box-shadow: 0 0 20px var(--p-glow);
}
.btn-glow:hover {
  transform: scale(1.05); box-shadow: 0 0 40px var(--p-glow);
}
.btn-glass {
  background: var(--bg-glass); border: 1px solid var(--b-glass); color: var(--t-1);
  backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255,255,255,0.1); border-color: var(--b-glow); }

/* ── INPUTS ── */
.input {
  width: 100%; padding: 14px 20px;
  background: rgba(0,0,0,0.3); border: 1px solid var(--b-glass);
  border-radius: var(--r-lg); color: var(--t-pure);
  font-size: 1rem; transition: all 0.3s;
}
.input::placeholder { color: var(--t-3); }
.input:focus {
  border-color: var(--ss); outline: none;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
  background: rgba(0,0,0,0.5);
}

/* ── UTILS ── */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s var(--ease-in-out); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── TOASTS ── */
.toast-container { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.s-toast { padding: 14px 24px; border-radius: var(--r-pill); font-weight: 700; color: #fff; background: rgba(20,20,20,0.9); backdrop-filter: blur(10px); border: 1px solid var(--b-glass); box-shadow: 0 10px 30px rgba(0,0,0,0.5); animation: tIn 0.5s var(--spring); }
@keyframes tIn { 0%{opacity:0;transform:translateY(-20px) scale(0.9)} 100%{opacity:1;transform:translateY(0) scale(1)} }
