/* ============================================
   Asira Design System
   Light Mode | RTL Arabic | Modern SaaS
============================================ */

:root {
  /* Brand Colors */
  --asira-navy: #0B2447;
  --asira-navy-700: #19376D;
  --asira-blue: #576CBC;
  --asira-blue-light: #A5D7E8;
  --asira-teal: #1AA39A;
  --asira-teal-dark: #0E7C75;
  --asira-teal-light: #6FCFC8;

  /* Surfaces */
  --bg: #FFFFFF;
  --bg-soft: #F7FAFC;
  --bg-soft-2: #EEF4F8;
  --surface: #FFFFFF;
  --border: #E5ECF2;
  --border-strong: #D1DCE5;

  /* Text */
  --text: #0E1B33;
  --text-2: #3A4760;
  --text-3: #6B7891;
  --muted: #8A95A8;

  /* Accents */
  --purple: #6E3FF3;
  --purple-soft: #A78BFA;

  /* Effects */
  --shadow-xs: 0 1px 2px rgba(11, 36, 71, 0.04);
  --shadow-sm: 0 2px 8px rgba(11, 36, 71, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 36, 71, 0.08);
  --shadow-lg: 0 24px 64px rgba(11, 36, 71, 0.10);
  --shadow-glow: 0 8px 32px rgba(26, 163, 154, 0.18);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --container: 1280px;
  --header-h: 80px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: 'IBM Plex Sans Arabic', 'Tajawal', 'Cairo', system-ui, -apple-system, sans-serif;
  font-feature-settings: 'kern', 'liga';
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 15.5px;
  direction: rtl;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============================================
   Layout
============================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 110px 0;
  position: relative;
}
.section-sm { padding: 70px 0; }
.section-lg { padding: 140px 0; }

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .section-lg { padding: 90px 0; }
}

/* ============================================
   Background ornaments (soft, light)
============================================ */
.bg-ornament {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.bg-ornament::before,
.bg-ornament::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.bg-ornament::before {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #BFE3E0 0%, transparent 70%);
  top: -180px; right: -100px;
}
.bg-ornament::after {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #CFE0F4 0%, transparent 70%);
  bottom: -160px; left: -80px;
}

.dot-grid {
  position: absolute;
  width: 220px; height: 220px;
  background-image: radial-gradient(circle, rgba(11,36,71,.10) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.wave-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(165,215,232,.35), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(207,224,244,.45), transparent 60%),
    linear-gradient(180deg, #FBFDFF 0%, #F4F8FC 100%);
  z-index: 0;
  pointer-events: none;
}

/* ============================================
   Typography
============================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--asira-teal-dark);
  background: rgba(26,163,154,.08);
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: .2px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--asira-teal);
}

h1, h2, h3, h4 { color: var(--text); margin: 0; line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -0.5px; line-height: 1.15; }
h2 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.3px; }
h3 { font-size: clamp(20px, 2vw, 26px); }
p  { color: var(--text-2); margin: 0 0 12px; }
.lead { font-size: 18px; color: var(--text-2); line-height: 1.85; }

.gradient-text {
  background: linear-gradient(120deg, #19376D 0%, #1AA39A 60%, #576CBC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head { text-align: center; margin: 0 auto 64px; max-width: 760px; }
.section-head h2 { margin-bottom: 14px; }
.section-head .lead { color: var(--text-3); }

.section-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin: 0 auto 12px; max-width: 360px;
  font-size: 13px; font-weight: 600; color: var(--asira-teal-dark);
  letter-spacing: .8px; text-transform: uppercase;
}
.section-divider::before, .section-divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

/* ============================================
   Buttons
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--asira-teal-dark) 0%, var(--asira-teal) 100%);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(26,163,154,.28);
}
.btn-outline {
  background: transparent;
  color: var(--asira-navy);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--asira-navy);
  background: var(--bg-soft);
}
.btn-ghost {
  background: transparent;
  color: var(--asira-teal-dark);
}
.btn-ghost:hover { background: rgba(26,163,154,.08); }

.btn-dark {
  background: var(--asira-navy);
  color: #fff;
}
.btn-dark:hover { background: var(--asira-navy-700); transform: translateY(-1px); }

.btn-purple {
  background: linear-gradient(135deg, #5B2DD9 0%, #8A5CF6 100%);
  color: #fff;
  box-shadow: 0 8px 32px rgba(110,63,243,.22);
}
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 13px; border-radius: 10px; }

.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(-4px); }

/* ============================================
   Header
============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,.95);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-xs);
}
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.brand .logo { height: 38px; width: auto; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  display: inline-flex;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 8px;
  transition: color .2s ease, background .2s ease;
  position: relative;
}
.nav-links a:hover { color: var(--asira-navy); background: var(--bg-soft); }
.nav-links a.active {
  color: var(--asira-navy);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--asira-teal), var(--asira-blue));
  border-radius: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; }

/* Hidden by default on desktop, only shown on mobile via media query */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px;
  transform: translateY(-110%);
  transition: transform .25s ease;
  z-index: 49;
  box-shadow: var(--shadow-md);
}
.mobile-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
}
.mobile-menu a:hover { background: var(--bg-soft); color: var(--asira-navy); }

.nav-links a { font-size: 14px; padding: 9px 11px; }

@media (max-width: 1180px) {
  .nav-links { display: none; }
  .menu-toggle {
    display: inline-flex;
    width: 42px; height: 42px;
    align-items: center; justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
  }
  .mobile-menu { display: block; }
  .mobile-menu.open { transform: translateY(0); }
  .nav-cta .btn:not(.btn-primary) { display: none; }
}

/* ============================================
   Hero
============================================ */
.hero {
  position: relative;
  padding: 60px 0 100px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .gradient-text { display: inline; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex; align-items: center; gap: 12px;
  padding-left: 28px;
  border-left: 1px solid var(--border);
}
[dir="rtl"] .hero-stat {
  padding-left: 0; padding-right: 28px;
  border-left: none; border-right: 1px solid var(--border);
}
.hero-stat:first-child { padding: 0; border: none; }
.hero-stat .icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(26,163,154,.10);
  color: var(--asira-teal-dark);
  display: flex; align-items: center; justify-content: center;
}
.hero-stat strong { display: block; font-size: 18px; color: var(--asira-navy); }
.hero-stat span { font-size: 12.5px; color: var(--text-3); }

.hero-mock {
  position: relative;
  perspective: 1200px;
}
.hero-mock img { width: 100%; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 24px 0 60px; }
}

/* ============================================
   Sliders (Swiper)
============================================ */
.swiper { width: 100%; }
.swiper-pagination-bullet {
  background: var(--border-strong);
  opacity: 1;
  width: 8px; height: 8px;
}
.swiper-pagination-bullet-active {
  background: var(--asira-teal);
  width: 24px;
  border-radius: 4px;
}
.swiper-button-prev, .swiper-button-next {
  width: 44px; height: 44px;
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  color: var(--asira-navy);
}
.swiper-button-prev::after, .swiper-button-next::after { font-size: 16px; font-weight: 700; }

/* ============================================
   Cards
============================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 130px; height: 130px;
  background: radial-gradient(circle at top right, rgba(26,163,154,.10), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26,163,154,.30);
}
.service-card .num {
  font-size: 34px; font-weight: 800;
  color: var(--asira-blue-light);
  line-height: 1;
}
.service-card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(26,163,154,.10), rgba(87,108,188,.10));
  display: flex; align-items: center; justify-content: center;
  color: var(--asira-teal-dark);
  margin: 14px 0 18px;
}
.service-card h3 { font-size: 19px; margin-bottom: 8px; }
.service-card p { color: var(--text-3); font-size: 14.5px; line-height: 1.75; margin: 0; }
.service-card .more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  font-size: 13.5px; font-weight: 600;
  color: var(--asira-teal-dark);
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--border-strong); }
.feature-card .icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(26,163,154,.10);
  color: var(--asira-teal-dark);
  display: flex; align-items: center; justify-content: center;
}
.feature-card h4 { font-size: 16px; margin: 0 0 4px; }
.feature-card p { font-size: 14px; color: var(--text-3); margin: 0; }

/* ============================================
   Stats
============================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  background: linear-gradient(180deg, #fff 0%, #F8FBFD 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px 36px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 880px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat-cell { text-align: center; padding: 8px; }
.stat-cell strong {
  display: block; font-size: 30px; color: var(--asira-navy);
  font-weight: 800; line-height: 1.1; margin-bottom: 4px;
}
.stat-cell span { font-size: 13px; color: var(--text-3); }
.stat-cell .accent { color: var(--asira-teal-dark); }

/* ============================================
   Timeline (Journey)
============================================ */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 70px; left: 8%; right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0, var(--border-strong) 6px, transparent 6px, transparent 12px);
  z-index: 0;
}
.tl-item {
  position: relative;
  text-align: center;
  z-index: 1;
}
.tl-circle {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #F4F9FC);
  border: 4px solid #fff;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 56px;
}
.tl-item h4 {
  font-size: 18px; margin-bottom: 6px;
  display: inline-flex; gap: 8px; align-items: center;
}
.tl-item p { font-size: 14px; color: var(--text-3); max-width: 280px; margin: 0 auto; }
@media (max-width: 768px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
}

/* ============================================
   Mockup with frame
============================================ */
.mockup-frame {
  background: linear-gradient(135deg, #1F2D4D 0%, #0B2447 100%);
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 30px 80px rgba(11,36,71,.18), 0 12px 32px rgba(11,36,71,.10);
}
.mockup-frame .screen {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.glass-card {
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.85);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ============================================
   Project Slider Cards
============================================ */
.project-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.project-card .visual {
  background: linear-gradient(135deg, #F4F8FC 0%, #E7F0F8 100%);
  padding: 36px;
  display: flex; align-items: center; justify-content: center;
  min-height: 240px;
  position: relative;
}
.project-card .body { padding: 28px 30px; }
.project-card .badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  background: rgba(26,163,154,.10); color: var(--asira-teal-dark);
}
.project-card .badge.purple { background: rgba(110,63,243,.10); color: var(--purple); }
.project-card .badge.coming { background: linear-gradient(135deg, #6E3FF3, #3B82F6); color: #fff; }

/* ============================================
   Testimonial
============================================ */
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow-xs);
  height: 100%;
}
.testimonial .stars { color: #F5B400; font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial blockquote { font-size: 15.5px; color: var(--text-2); line-height: 1.85; margin: 0 0 22px; font-style: normal; quotes: '"' '"'; }
.testimonial blockquote::before { content: open-quote; color: var(--asira-blue-light); font-size: 28px; margin-left: 4px; }
.testimonial blockquote::after { content: close-quote; color: var(--asira-blue-light); font-size: 28px; margin-right: 4px; }
.testimonial .who { display: flex; align-items: center; gap: 12px; }
.testimonial .who img,
.testimonial .who .avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C9DCEE, #B6CFE3);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--asira-navy);
  flex-shrink: 0;
}
.testimonial .who h5 { margin: 0; font-size: 15px; }
.testimonial .who span { font-size: 12.5px; color: var(--text-3); }

/* ============================================
   Partners marquee
============================================ */
.partners {
  display: flex;
  gap: 56px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.partners .partner {
  display: flex; align-items: center; justify-content: center;
  height: 36px;
  color: #94A3B8;
  font-weight: 700;
  font-size: 18px;
  transition: color .2s ease, transform .2s ease;
}
.partners .partner:hover { color: var(--asira-navy); transform: translateY(-2px); }
.partners img { height: 28px; opacity: .65; transition: opacity .2s ease; }
.partners img:hover { opacity: 1; }

/* ============================================
   CTA Banner
============================================ */
.cta-banner {
  background:
    radial-gradient(ellipse at top right, rgba(165,215,232,.45), transparent 60%),
    linear-gradient(135deg, #0E7C75 0%, #19376D 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 56px 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,.10) 0, transparent 40%);
  pointer-events: none;
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,.85); margin: 0; }
.cta-banner .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-banner .btn-primary {
  background: #fff;
  color: var(--asira-teal-dark);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.cta-banner .btn-outline {
  border-color: rgba(255,255,255,.30);
  color: #fff;
}
.cta-banner .btn-outline:hover { background: rgba(255,255,255,.10); border-color: #fff; }
@media (max-width: 880px) {
  .cta-banner { grid-template-columns: 1fr; padding: 36px 28px; }
  .cta-banner .actions { justify-content: flex-start; }
}

/* ============================================
   Footer
============================================ */
.site-footer {
  background: #F7FAFC;
  border-top: 1px solid var(--border);
  padding: 70px 0 24px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}
.footer-brand p { color: var(--text-3); font-size: 14px; max-width: 320px; line-height: 1.85; }
.footer-col h5 { font-size: 14px; color: var(--asira-navy); margin: 0 0 16px; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-3); font-size: 14px; transition: color .2s ease; }
.footer-col a:hover { color: var(--asira-teal-dark); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text-3); font-size: 13px; gap: 16px; flex-wrap: wrap;
}
.socials { display: flex; gap: 8px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); background: #fff;
  transition: all .2s ease;
}
.socials a:hover { color: var(--asira-teal-dark); border-color: var(--asira-teal); background: rgba(26,163,154,.06); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* ============================================
   Floating WhatsApp + back-to-top
============================================ */
.fab {
  position: fixed;
  bottom: 24px; left: 24px;
  z-index: 40;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 32px rgba(37,211,102,.4);
  transition: transform .2s ease;
}
.fab:hover { transform: translateY(-2px) scale(1.05); }
.fab.top {
  left: auto; right: 24px;
  bottom: 90px;
  background: #fff;
  color: var(--asira-navy);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  width: 46px; height: 46px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.fab.top.show { opacity: 1; pointer-events: auto; }

/* ============================================
   Forms
============================================ */
.input, .select, .textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: #fff;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--asira-teal);
  box-shadow: 0 0 0 4px rgba(26,163,154,.12);
}
.textarea { min-height: 130px; resize: vertical; }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }

/* ============================================
   Animations
============================================ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float { animation: float 5s ease-in-out infinite; }

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(26,163,154,.45); }
  70% { box-shadow: 0 0 0 14px rgba(26,163,154,0); }
}
.pulse-glow { animation: pulseGlow 2.4s infinite; }

[data-aos] { transition-property: transform, opacity; }

/* ============================================
   Utilities
============================================ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
@media (max-width: 980px) { .grid-3 { grid-template-columns: 1fr 1fr; } .grid-6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .grid-6 { grid-template-columns: 1fr 1fr; } }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
.mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; }
.text-center { text-align: center; }
.muted { color: var(--text-3); }
.small { font-size: 13px; }
.hide-md { display: none; } @media (min-width: 880px) { .hide-md { display: block; } }
.show-md { display: block; } @media (min-width: 880px) { .show-md { display: none; } }

/* ============================================
   Spacea page (purple accent)
============================================ */
.spacea-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(700px 400px at 90% 10%, rgba(167,139,250,.30), transparent 60%),
    radial-gradient(600px 360px at 5% 50%, rgba(213,200,250,.40), transparent 60%);
}
.spacea-eyebrow {
  background: rgba(110,63,243,.10);
  color: var(--purple);
}
.spacea-eyebrow::before { background: var(--purple); }

/* ============================================
   Policy page
============================================ */
.policy-tabs {
  position: sticky; top: calc(var(--header-h) + 16px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
}
.policy-tabs a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-2);
  transition: all .2s ease;
}
.policy-tabs a:hover { background: var(--bg-soft); }
.policy-tabs a.active {
  background: rgba(26,163,154,.08);
  color: var(--asira-teal-dark);
  font-weight: 600;
}
.accordion-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
}
.accordion-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}
.accordion-body {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  color: var(--text-3);
  font-size: 14.5px;
  line-height: 1.85;
}
.accordion-item.open .accordion-body { padding: 0 22px 18px; max-height: 600px; }
.accordion-item.open .accordion-head svg { transform: rotate(180deg); }
.accordion-head svg { transition: transform .2s ease; color: var(--text-3); }
