/* ===================================================
   RKT NEXUS — Clean & Professional Design
   Style: Stripe / Linear / Notion inspired
   =================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue:      #7c3aed; /* Gen Z Violet */
  --blue-dark: #6d28d9;
  --blue-lt:   #f5f3ff;
  --purple:    #9333ea;
  --purple-lt: #fdf4ff;
  --orange:    #ea580c;
  --orange-lt: #fff7ed;
  --green:     #16a34a;
  --text:      #0f172a;
  --text-2:    #334155;
  --text-3:    #64748b;
  --border:    #e2e8f0;
  --bg:        #ffffff;
  --bg-off:    #fcfbfe;
  --radius:    16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow:    0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.1);
  --shadow-neo:    4px 4px 0px #0f172a;
  --shadow-neo-lg: 8px 8px 0px #7c3aed;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ══════════════════════════════
   UTILITIES
══════════════════════════════ */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.text-blue  { color: var(--blue); }

/* ══════════════════════════════
   NAVBAR — Complete Redesign
══════════════════════════════ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition: all 0.35s ease;
}
#header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(124, 58, 237, 0.15);
  box-shadow: 0 4px 30px rgba(0,0,0,0.05);
}

/* ── Layout ── */
.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── LOGO ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.3);
  flex-shrink: 0;
  transition: box-shadow 0.25s, transform 0.2s;
}
.nav-logo:hover .nav-logo-icon {
  box-shadow: 0 0 28px rgba(124, 58, 237, 0.5);
  transform: scale(1.06);
}
.nav-logo-text {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
}
.nav-logo-rkt {
  color: #0f172a;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.nav-logo-dot {
  color: #7c3aed;
  margin: 0 1px;
  font-weight: 900;
}
.nav-logo-nexus {
  color: #7c3aed;
  font-weight: 700;
}

/* ── NAV LINKS ── */
.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.nav-item {
  display: block;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(15, 23, 42, 0.7);
  text-decoration: none;
  position: relative;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.01em;
}
.nav-item::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 1.5px;
  background: #7c3aed;
  border-radius: 2px;
  transition: left 0.25s, right 0.25s;
}
.nav-item:hover {
  color: #0f172a;
  background: rgba(124, 58, 237, 0.05);
}
.nav-item.active {
  color: #7c3aed;
}
.nav-item.active::after {
  left: 14px;
  right: 14px;
}

/* ── CTA ── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  background: #7c3aed;
  color: #ffffff;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.25),
              0 0 0 0 rgba(124, 58, 237, 0.3);
  transition: all 0.22s ease;
  white-space: nowrap;
}
.nav-cta:hover {
  background: #6d28d9;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.4),
              0 0 0 3px rgba(124, 58, 237, 0.15);
}
.nav-cta svg { transition: transform 0.2s; }
.nav-cta:hover svg { transform: translateX(3px); }

/* ── HAMBURGER ── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  cursor: pointer;
  padding: 6px 7px;
}
.nav-burger span {
  display: block;
  width: 100%; height: 1.5px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: all 0.25s;
}


/* ══════════════════════════════
   PAGE SYSTEM
══════════════════════════════ */
.page {
  display: none;
  padding-top: 64px;
  animation: fadeUp 0.4s ease both;
}
.page.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════
   BUTTONS
══════════════════════════════ */
.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  background: var(--blue);
  color: #fff;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid #0f172a;
  font-family: inherit;
  box-shadow: var(--shadow-neo);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn-solid:hover {
  background: var(--blue-dark);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px #0f172a;
}
.btn-solid:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px #0f172a;
}
.btn-solid.white {
  background: #fff;
  color: var(--blue);
}
.btn-solid.white:hover {
  background: var(--blue-lt);
}
.btn-solid.small {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: 10px;
}
.btn-solid.full {
  width: 100%;
  justify-content: center;
}

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  background: transparent;
  color: var(--text-2);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid #0f172a;
  box-shadow: var(--shadow-neo);
  transition: border-color 0.15s, color 0.15s, background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn-line:hover {
  border-color: #0f172a;
  color: var(--blue);
  background: var(--blue-lt);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px #0f172a;
}
.btn-line:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px #0f172a;
}

/* ══════════════════════════════
   SECTION HELPERS
══════════════════════════════ */
.section { padding: 88px 0; }
.bg-off  { background: var(--bg-off); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-label.center { display: block; text-align: center; }

.section-h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-h2.left   { text-align: left; }
.section-h2.center { text-align: center; }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-3);
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 48px;
}
#hero-video {
  display: none;
}
.section-sub.left   { text-align: left; margin-left: 0; }
.section-sub.center { text-align: center; margin: 0 auto 48px; }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
/* ══ FULL SCREEN HERO ══ */
.hero-wrapper {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #ffffff;
  background-image: radial-gradient(#ddd6fe 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}
/* Animated purple glow orbs */
.hero-wrapper::before {
  content: '';
  position: absolute;
  top: -15%; left: -8%;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  animation: orbFloat 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.hero-wrapper::after {
  content: '';
  position: absolute;
  bottom: -10%; right: -5%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,0.1) 0%, transparent 70%);
  animation: orbFloat 10s ease-in-out infinite reverse;
  pointer-events: none;
  z-index: 0;
}
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(20px,-30px) scale(1.06); }
}

.hero {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 120px 40px 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  box-sizing: border-box;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: linear-gradient(135deg, #5b21b6 0%, #4338ca 100%);
  border: none;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  box-shadow:
    0 4px 20px rgba(91,33,182,0.35),
    0 1px 4px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.18);
  animation: badgePulse 3s ease-in-out infinite;
  white-space: nowrap;
  overflow: hidden;
}
.hero-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.12) 40%,
    rgba(255,255,255,0.22) 50%,
    rgba(255,255,255,0.12) 60%,
    transparent 100%);
  background-size: 200% 100%;
  animation: badgeShimmer 2.5s linear infinite;
  pointer-events: none;
}
@keyframes badgeShimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(91,33,182,0.35), 0 1px 4px rgba(0,0,0,0.15); }
  50%       { box-shadow: 0 6px 30px rgba(91,33,182,0.55), 0 1px 4px rgba(0,0,0,0.2); }
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #a5f3fc;
  flex-shrink: 0;
  animation: blink 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(165,243,252,0.9), 0 0 16px rgba(165,243,252,0.5);
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hero-h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 3.4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 16px;
}
.text-blue { color: var(--blue); }

/* RKT Nexus brand name in hero */
.hero-brand {
  color: var(--blue);
  font-size: 1.05em;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
  text-shadow:
    0 0 20px rgba(124,58,237,0.4),
    0 0 40px rgba(124,58,237,0.2);
  animation: brandGlow 3s ease-in-out infinite;
}
@keyframes brandGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(124,58,237,0.4), 0 0 40px rgba(124,58,237,0.2); }
  50%       { text-shadow: 0 0 30px rgba(124,58,237,0.7), 0 0 60px rgba(124,58,237,0.3); }
}

.hero-sub {
  font-size: 0.98rem;
  color: #334155;
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 24px;
  text-align: left;
}
.hero-sub-highlight {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(90deg, #7c3aed, #ec4899, #3b82f6);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 3s linear infinite;
  letter-spacing: -0.01em;
}
@keyframes shimmerText {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.hero-sub-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 4px 3px 0;
  padding: 3px 12px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  transition: background 0.2s, transform 0.2s;
  cursor: default;
}
.hero-sub-pill:hover {
  background: rgba(124, 58, 237, 0.15);
  transform: translateY(-1px);
}
.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* ── Right column: stats card ── */
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}
.hero-stats-card {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 24px 20px;
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45), 0 0 0 1px rgba(5,150,105,0.12);
}
.hero-stats-card-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #34d399;
  margin-bottom: 16px;
}
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.hstat {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  transition: background 0.2s;
}
.hstat:hover { background: rgba(5,150,105,0.1); border-color: rgba(5,150,105,0.3); }
.hstat strong {
  font-family:'Sora',sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 6px;
}
.hstat span   { font-size: 0.78rem; color: rgba(255,255,255,0.55); font-weight: 500; }
.hstat-div    { display: none; }

/* ══════════════════════════════
   LOGO STRIP
══════════════════════════════ */
.logo-strip {
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  background: 
    linear-gradient(rgba(248, 250, 252, 0.88), rgba(241, 245, 249, 0.88)),
    url('showcase-bg.png') center center / cover no-repeat;
  padding: 42px 0;
  overflow: hidden;
  position: relative;
}
.logo-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.logo-strip-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: -0.2px;
  color: #334155;
  margin-bottom: 24px;
  text-align: center;
  font-weight: 600;
}
.marquee-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  display: flex;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
  padding: 10px 0;
}
.marquee-track:hover {
  animation-play-state: paused;
}
.marquee-group {
  display: flex;
  gap: 2rem;
  padding-right: 2rem;
}
.logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 8px 18px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}
.logo-badge:hover {
  transform: translateY(-3px);
  background: #ffffff;
}
.logo-badge .l-icon {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.logo-badge:hover .l-icon {
  transform: scale(1.15) rotate(8deg);
}
.logo-badge .l-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.logo-badge .l-brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.5px;
  display: inline-block;
}
.logo-badge .l-sub {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #64748b;
  margin-top: 3px;
}
/* Image logo badge — for real client logos */
.logo-badge-img {
  padding: 8px 20px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  height: 80px;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.logo-badge-img:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* ── Circle logo badge ── */
.logo-badge-circle {
  width: 90px !important;
  height: 90px !important;
  min-width: 90px !important;
  border-radius: 50% !important;
  padding: 6px !important;
  background: #ffffff;
  border: 2px solid rgba(15,23,42,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}
.logo-badge-circle:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.logo-badge-circle .client-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(10%);
  opacity: 0.95;
}
.logo-badge-circle:hover .client-logo-img {
  filter: grayscale(0%);
  opacity: 1;
}

.client-logo-img {
  height: 56px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  filter: grayscale(20%);
  opacity: 0.9;
  transition: filter 0.3s, opacity 0.3s, transform 0.2s;
}
.logo-badge-img:hover .client-logo-img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.06);
}
/* Custom sizing for Kamal Diagnostics logo to keep text legible */
.logo-badge-kamal {
  min-width: 230px !important;
  padding: 8px 24px !important;
}
.logo-badge-kamal .client-logo-img {
  height: 64px !important;
  max-width: 210px !important;
}
/* Styles for inline SVG brand logos */
.logo-badge-img svg {
  width: 100%;
  height: 100%;
  max-height: 56px;
  display: block;
  transition: transform 0.25s ease;
}
.logo-badge-img:hover svg {
  transform: scale(1.06);
}
/* Hide broken image icon for placeholders not yet uploaded */
.client-logo-placeholder {
  display: none;
}


.logo-badge .l-icon {
  background: #f1f5f9;
  color: #475569;
}
.logo-badge:hover {
  border-color: #64748b;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}
.logo-badge:hover .l-icon {
  background: #e2e8f0;
  color: #0f172a;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════
   PRODUCT SHOWCASE SECTION
══════════════════════════════ */
.showcase-section {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
  background: #0d1f4a;
}
.showcase-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('showcase-bg.png') center center / cover no-repeat;
  opacity: 0.18;
  z-index: 0;
}
.showcase-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(13,31,74,0.92) 0%,
    rgba(26,60,255,0.25) 50%,
    rgba(13,31,74,0.92) 100%
  );
  z-index: 0;
}
.showcase-section .container {
  position: relative;
  z-index: 2;
}
/* Text overrides for dark showcase background */
.showcase-section .section-label {
  color: #a7f3d0;
}
.showcase-section .section-h2 {
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.showcase-section .section-sub {
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

/* Showcase Tabs */
.showcase-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 5;
}
.showcase-tab {
  background: rgba(15, 23, 42, 0.04);
  border: 2px solid #0f172a;
  box-shadow: 2px 2px 0px #0f172a;
  padding: 10px 20px;
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.showcase-tab:hover {
  background: var(--blue-lt);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px #0f172a;
}
.showcase-tab.active {
  background: var(--blue);
  color: #fff;
  border-color: #0f172a;
  box-shadow: 4px 4px 0px #0f172a;
}

/* Showcase Devices Layout */
.showcase-devices-wrapper {
  position: relative;
  z-index: 2;
  margin-top: 48px;
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: visible;
  padding: 0 24px 40px;
  transition: transform 0.3s ease;
}
.devices-container {
  position: relative;
  width: 820px;
  height: 440px;
  margin: 0 auto;
}

/* Laptop Device Mockup */
.device-laptop {
  position: absolute;
  left: 0;
  bottom: 24px;
  width: 680px;
  z-index: 1;
}
.laptop-screen-frame {
  background: #080808;
  border-radius: 20px 20px 0 0;
  padding: 12px 12px 18px 12px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.12);
  position: relative;
}
.laptop-screen-frame::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #1e293b;
  border-radius: 50%;
  border: 1px solid #334155;
}
.laptop-screen-content {
  background: #f8fafc;
  height: 340px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  border: 1px solid #1e293b;
}
.laptop-keyboard-base {
  background: linear-gradient(to bottom, #d4d4d8 0%, #a1a1aa 20%, #71717a 100%);
  height: 20px;
  border-radius: 0 0 16px 16px;
  position: relative;
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
  border-top: 1px solid #e4e4e7;
}
.laptop-keyboard-base::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 4px;
  background: rgba(0,0,0,0.25);
  border-radius: 10px 10px 0 0;
}
.laptop-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #52525b;
  border-radius: 0 0 6px 6px;
  box-shadow: inset 0 -1px 2px rgba(0,0,0,0.3);
}

/* Smartphone Device Mockup */
.device-mobile {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 190px;
  height: 380px;
  background: #080808;
  border-radius: 32px;
  padding: 10px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), inset 0 0 0 2px rgba(255,255,255,0.15);
  z-index: 10;
  border: 1px solid #27272a;
}
.mobile-speaker {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 45px;
  height: 4px;
  background: #27272a;
  border-radius: 10px;
  z-index: 12;
}
.mobile-screen-frame {
  height: 100%;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  position: relative;
  border: 1px solid #1e293b;
}
.mobile-screen-content {
  height: 100%;
  width: 100%;
  position: relative;
}
.mobile-home-button {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 55px;
  height: 4px;
  background: #27272a;
  border-radius: 2px;
  z-index: 12;
}

/* Screens and Switching */
.screen-panel, .mobile-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.97) translateY(12px);
  display: flex;
  height: 100%;
}
.screen-panel.active, .mobile-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}

/* Vector Dashboard Styling (Laptop) */
.screen-panel {
  color: #334155;
  font-size: 0.8rem;
  background: #f8fafc;
}
.mock-sidebar {
  width: 140px;
  background: #0f172a;
  color: #94a3b8;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
  border-right: 1px solid #1e293b;
}
.mock-sidebar .mock-logo {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  color: #fff;
  font-size: 0.72rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.mock-sidebar.purple .mock-logo { color: #f3e8ff; }
.mock-sidebar.orange .mock-logo { color: #ffedd5; }
.mock-nav {
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 500;
  transition: all 0.2s;
  text-align: left;
}
.mock-nav:hover {
  background: rgba(255,255,255,0.05);
  color: #fff;
}
.mock-sidebar .mock-nav.active {
  background: var(--blue);
  color: #fff;
}
.mock-sidebar.purple .mock-nav.active { background: var(--purple); }
.mock-sidebar.orange .mock-nav.active { background: var(--orange); }

.mock-main {
  flex-grow: 1;
  padding: 0;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 14px;
  background: #fff;
}
.mock-header h3 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.mock-user {
  font-size: 0.6rem;
  color: #64748b;
  font-weight: 500;
  background: #e2e8f0;
  padding: 2px 8px;
  border-radius: 100px;
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mstat {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
}
.mstat-num {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
}
.mstat.orange .mstat-num { color: var(--orange); }
.mstat.purple .mstat-num { color: var(--purple); }
.mstat-lbl {
  font-size: 0.58rem;
  color: #64748b;
  margin-top: 2px;
}

.mock-chart-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chart-title {
  font-size: 0.6rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mock-bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 90px;
  border-bottom: 1px solid #cbd5e1;
  padding-bottom: 2px;
  margin-top: 4px;
}
.chart-bar {
  width: 20px;
  background: #34d399;
  border-radius: 3px 3px 0 0;
  height: 0;
  opacity: 0;
  position: relative;
  display: flex;
  justify-content: center;
}
.bar-val {
  position: absolute;
  top: -12px;
  font-size: 0.52rem;
  font-weight: 600;
  color: #64748b;
}
.bar-lbl {
  position: absolute;
  bottom: -15px;
  font-size: 0.52rem;
  color: #64748b;
  white-space: nowrap;
}

/* POS Invoice Layout (Pharmacy Laptop) */
.mock-pos-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 10px;
  flex-grow: 1;
  height: calc(100% - 30px);
  overflow: hidden;
}
.mock-pos-bill {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  font-size: 0.62rem;
}
.bill-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  font-weight: 700;
  border-bottom: 1px solid #cbd5e1;
  padding-bottom: 4px;
  margin-bottom: 4px;
  color: #475569;
}
.bill-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 4px 0;
  border-bottom: 1px dotted #e2e8f0;
  color: #64748b;
}
.bill-total {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  font-weight: 700;
  font-size: 0.68rem;
  border-top: 1px solid #cbd5e1;
  padding-top: 5px;
  color: #0f172a;
}
.mock-pos-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mock-btn-pos {
  padding: 6px;
  border-radius: 5px;
  color: #fff;
  font-weight: 600;
  font-size: 0.6rem;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.mock-btn-pos.green { background: #16a34a; }
.mock-btn-pos.blue { background: var(--blue); }
.mock-btn-pos.gray { background: #64748b; }

/* Student Grade Table (School Laptop) */
.mock-student-table {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.mock-tbl {
  display: flex;
  flex-direction: column;
  font-size: 0.62rem;
  overflow-y: auto;
  height: 100%;
}
.tbl-head {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr 1fr;
  font-weight: 700;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 4px;
  color: #475569;
}
.tbl-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr 1fr;
  padding: 5px 0;
  border-bottom: 1px solid #f1f5f9;
  color: #64748b;
  align-items: center;
  opacity: 0;
}
.badge {
  padding: 1px 5px;
  border-radius: 100px;
  font-size: 0.52rem;
  font-weight: 600;
  text-align: center;
  width: fit-content;
}
.badge.success { background: #dcfce7; color: #15803d; }
.badge.pending { background: #fef3c7; color: #b45309; }

/* Vector Mobile Layout (Phone) */
.mobile-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-size: 0.72rem;
  background: #f8fafc;
}
.phone-status-bar {
  height: 18px;
  padding: 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.52rem;
  font-weight: 600;
  color: #1e293b;
  background: #f8fafc;
  z-index: 5;
  border-bottom: 1px solid #f1f5f9;
  flex-shrink: 0;
}
.phone-app-header {
  height: 32px;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 0.65rem;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  flex-shrink: 0;
}
.phone-app-header.purple { background: var(--purple); }
.phone-app-header.orange { background: var(--orange); }

.phone-scroll-content {
  flex-grow: 1;
  padding: 10px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.phone-scroll-content::-webkit-scrollbar { display: none; }
.phone-user-welcome h4 {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.phone-user-welcome p {
  font-size: 0.55rem;
  color: #64748b;
  margin-top: 1px;
}
.phone-card-section {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.phone-card-section h5 {
  font-size: 0.55rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  margin-bottom: 1px;
}

.phone-queue-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}
.phone-queue-item.active {
  border-color: #bfdbfe;
  background: #ecfdf5;
}
.q-num {
  width: 14px;
  height: 14px;
  background: #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 700;
  color: #475569;
}
.phone-queue-item.active .q-num {
  background: var(--blue);
  color: #fff;
}
.q-info {
  flex-grow: 1;
}
.q-info h6 {
  font-size: 0.6rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.q-info p {
  font-size: 0.5rem;
  color: #64748b;
  margin: 0;
}
.q-time {
  font-size: 0.5rem;
  color: #94a3b8;
  font-weight: 500;
}

.phone-quick-actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
}
.paction {
  flex: 1;
  padding: 5px;
  background: #ecfdf5;
  border: 1px solid #bfdbfe;
  color: var(--blue);
  border-radius: 5px;
  text-align: center;
  font-size: 0.55rem;
  font-weight: 600;
  cursor: pointer;
}
.phone-quick-actions.purple .paction {
  background: #fdf4ff;
  border-color: #f5d0fe;
  color: var(--purple);
}

.inventory-alert-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  border-left: 3px solid #64748b;
}
.inventory-alert-item.red { border-left-color: #ef4444; }
.inventory-alert-item.orange { border-left-color: #f97316; }
.inv-info h6 { font-size: 0.6rem; font-weight: 700; margin: 0; }
.inv-info p { font-size: 0.5rem; color: #64748b; margin: 0; }
.inv-act {
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--blue);
  background: #ecfdf5;
  padding: 1px 4px;
  border-radius: 3px;
}

.phone-academic-progress {
  display: flex;
  justify-content: center;
  margin: 2px 0;
}
.progress-dial-wrap {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: conic-gradient(var(--orange) 96%, #e2e8f0 0);
  display: flex;
  align-items: center;
  justify-content: center;
}
.progress-dial {
  width: 58px;
  height: 58px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.dial-val { font-size: 0.72rem; font-weight: 800; color: var(--orange); }
.dial-lbl { font-size: 0.42rem; color: #64748b; text-transform: uppercase; }

.school-alert-item {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  padding: 6px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}
.alert-ico { font-size: 0.72rem; }
.alert-info h6 { font-size: 0.6rem; font-weight: 700; color: #0f172a; margin: 0; }
.alert-info p { font-size: 0.5rem; color: #64748b; margin: 0; }

/* Micro-animations triggered by .active classes */
.screen-panel.active .chart-bar {
  animation: growBar 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes growBar {
  from { height: 0; opacity: 0; }
  to { height: var(--height); opacity: 1; }
}

.screen-panel.active .tbl-row {
  animation: slideRow 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.screen-panel.active .tbl-row:nth-child(2) { animation-delay: 0.05s; }
.screen-panel.active .tbl-row:nth-child(3) { animation-delay: 0.1s; }
.screen-panel.active .tbl-row:nth-child(4) { animation-delay: 0.15s; }

.screen-panel.active .bill-row {
  animation: slideRow 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.screen-panel.active .bill-row:nth-child(2) { animation-delay: 0.05s; }
.screen-panel.active .bill-row:nth-child(3) { animation-delay: 0.1s; }
.screen-panel.active .bill-row:nth-child(4) { animation-delay: 0.15s; }

@keyframes slideRow {
  from { transform: translateY(8px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.mobile-panel.active .progress-dial-wrap {
  animation: scaleDial 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes scaleDial {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Responsiveness via scales */
/* Hero responsive */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 110px 32px 48px;
    gap: 40px;
    min-height: auto;
    text-align: center;
  }
  .hero-inner {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }
  .hero-sub { text-align: center; }
  .hero-btns { justify-content: center; }
  .hero-right { width: 100%; }
  .hero-stats-card { max-width: 100%; }
  .hero-stats { grid-template-columns: repeat(4,1fr); gap: 16px; }
}
@media (max-width: 600px) {
  .hero { padding: 90px 20px 40px; }
  .hero-h1 { font-size: 2.4rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .showcase-devices-wrapper {
    height: 380px;
    padding-bottom: 0;
  }
  .devices-container {
    transform: scale(0.8);
    transform-origin: top center;
  }
}
@media (max-width: 768px) {
  .showcase-devices-wrapper {
    height: 310px;
  }
  .devices-container {
    transform: scale(0.65);
    transform-origin: top center;
  }
}
@media (max-width: 576px) {
  .showcase-devices-wrapper {
    height: auto;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .devices-container {
    transform: scale(1);
    width: 190px;
    height: 380px;
  }
  .device-laptop {
    display: none;
  }
  .device-mobile {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 0 auto;
  }
}

/* ══════════════════════════════
   SOLUTION CARD IMAGE PREVIEW
══════════════════════════════ */
.sol-c-img {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  background: #f1f5f9;
}
.sol-c-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.sol-c:hover .sol-c-img img { transform: scale(1.06); }
.sol-c-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.18) 0%, transparent 60%);
  pointer-events: none;
  border-radius: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.sol-c:hover .sol-c-img::after { opacity: 1; }

/* ══════════════════════════════
   SOLUTIONS CARDS (HOME) — PREMIUM
══════════════════════════════ */
.sol-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.sol-c {
  border: 1.5px solid rgba(226,232,240,0.8);
  border-radius: 24px;
  padding: 0 0 28px;
  background: #fff;
  transition: box-shadow 0.35s cubic-bezier(0.16,1,0.3,1), transform 0.35s cubic-bezier(0.16,1,0.3,1), border-color 0.3s;
  opacity: 0;
  animation: fadeUp 0.5s ease forwards;
  overflow: hidden;
  position: relative;
}
/* Top accent bar per card */
.sol-c::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, #3b82f6, #7c3aed);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.sol-c:nth-child(1)::before { background: linear-gradient(90deg, #0ea5e9, #3b82f6); }
.sol-c:nth-child(2)::before { background: linear-gradient(90deg, #7c3aed, #ec4899); }
.sol-c:nth-child(3)::before { background: linear-gradient(90deg, #f59e0b, #ea580c); }
.sol-c:hover::before { opacity: 1; }
.sol-c:hover {
  box-shadow:
    0 20px 60px rgba(0,0,0,0.10),
    0 4px 16px rgba(124,58,237,0.08);
  transform: translateY(-8px);
  border-color: rgba(124,58,237,0.2);
}
/* Card body padding */
.sol-c-body {
  padding: 0 24px;
}
/* Icon redesign */
.sol-c-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.sol-c-icon svg { width: 24px; height: 24px; }
/* Title */
.sol-c h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #0f172a;
  letter-spacing: -0.02em;
}
/* Description */
.sol-c p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 18px;
}
/* Feature pills */
.sol-c ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.sol-c ul li {
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.sol-c ul li::before { display: none; }
.sol-c ul li::after {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 0;
  margin-left: auto;
}
.sol-c:nth-child(1) ul li::after { background: #3b82f6; }
.sol-c:nth-child(2) ul li::after { background: #7c3aed; }
.sol-c:nth-child(3) ul li::after { background: #f59e0b; }
.sol-c ul li:hover { transform: translateX(4px); border-color: rgba(124,58,237,0.25); background: #f1f5f9; }
/* Checkmark icon per industry */
.sol-c:nth-child(1) ul li::before { display: block; content: '✦'; color: #3b82f6; font-size: 0.6rem; flex-shrink: 0; background: none; position: static; font-weight: 900; }
.sol-c:nth-child(2) ul li::before { display: block; content: '✦'; color: #7c3aed; font-size: 0.6rem; flex-shrink: 0; background: none; position: static; font-weight: 900; }
.sol-c:nth-child(3) ul li::before { display: block; content: '✦'; color: #f59e0b; font-size: 0.6rem; flex-shrink: 0; background: none; position: static; font-weight: 900; }
/* Learn more button */
.sol-c-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #4338ca);
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(124,58,237,0.28);
}
.sol-c:nth-child(1) .sol-c-link { background: linear-gradient(135deg, #0ea5e9, #3b82f6); box-shadow: 0 4px 14px rgba(59,130,246,0.3); }
.sol-c:nth-child(2) .sol-c-link { background: linear-gradient(135deg, #7c3aed, #ec4899); box-shadow: 0 4px 14px rgba(124,58,237,0.3); }
.sol-c:nth-child(3) .sol-c-link { background: linear-gradient(135deg, #f59e0b, #ea580c); box-shadow: 0 4px 14px rgba(245,158,11,0.3); }
.sol-c-link:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px rgba(124,58,237,0.4);
  text-decoration: none;
  filter: brightness(1.08);
}

/* ══════════════════════════════
   WHY SPLIT
══════════════════════════════ */
.why-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why-list { list-style: none; margin: 24px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.why-list li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-2); font-weight: 500; }
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: var(--blue-lt);
  color: var(--blue);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feat-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: box-shadow 0.2s;
}
.feat-item:hover { box-shadow: var(--shadow); }
.feat-ico { font-size: 1.5rem; margin-bottom: 10px; }
.feat-item h4 { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.feat-item p  { font-size: 0.82rem; color: var(--text-3); line-height: 1.6; }

/* ══════════════════════════════
   PROCESS STEPS
══════════════════════════════ */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 48px;
}
.proc-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
  opacity: 0;
  animation: fadeUp 0.5s ease forwards;
}
.proc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--blue-lt);
  color: var(--blue);
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  margin: 0 auto 14px;
}
.proc-step h4 { font-weight: 700; color: var(--text); margin-bottom: 8px; }
.proc-step p  { font-size: 0.85rem; color: var(--text-3); line-height: 1.6; }
.proc-arrow {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--border);
  padding-top: 14px;
  font-weight: 300;
}

/* ══════════════════════════════
   CTA SECTION
══════════════════════════════ */
.cta-section { padding: 80px 0; }
.cta-box {
  background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 50%, #9333ea 100%);
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 56px 48px;
  text-align: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 64px rgba(124, 58, 237, 0.2);
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.22) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.cta-box::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -10%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.cta-box h2, .cta-box p, .cta-box .btn-solid {
  position: relative;
  z-index: 1;
}
.cta-box h2 { font-family:'Sora',sans-serif; font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 800; margin-bottom: 12px; }
.cta-box p  { font-size: 1rem; opacity: 0.85; margin-bottom: 28px; }

/* ══════════════════════════════
   PAGE TOP HERO
══════════════════════════════ */
.page-top {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-off);
}
.page-h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
  max-width: 700px;
}
.page-sub { font-size: 1rem; color: var(--text-3); line-height: 1.75; max-width: 580px; }

/* ══════════════════════════════
   SOLUTIONS DETAIL
══════════════════════════════ */
.sol-detail-wrap { padding: 64px 0; display: flex; flex-direction: column; gap: 0; }
.sol-sep { border: none; border-top: 1px solid var(--border); margin: 56px 0; }
.sol-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.sol-flip .sol-d-modules { order: -1; }

.sol-d-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.sol-d-icon svg { width: 26px; height: 26px; }
.blue-bg   { background: var(--blue); }
.purple-bg { background: var(--purple); }
.orange-bg { background: var(--orange); }

.sol-d-content h2 { font-family:'Sora',sans-serif; font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 800; color: var(--text); margin-bottom: 10px; letter-spacing:-0.02em; }
.sol-d-tag { font-size: 1rem; color: var(--text-3); line-height: 1.65; margin-bottom: 24px; }
.bullet-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-bottom: 28px; }
.bullet-cols ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.bullet-cols ul li { font-size: 0.875rem; color: var(--text-2); padding-left: 18px; position: relative; }
.bullet-cols ul li::before { content:'✓'; position:absolute; left:0; color:var(--blue); font-weight:700; }

.sol-d-modules { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Mockup images */
.sol-d-img {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid var(--border);
  background: var(--bg-off);
}
.sol-d-img:hover { transform: translateY(-6px); box-shadow: 0 40px 80px rgba(0,0,0,0.16), 0 8px 24px rgba(5,150,105,0.1); }
.sol-d-img img  { width: 100%; height: auto; display: block; }

.mod-card {
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: box-shadow 0.2s;
}
.mod-card:hover { box-shadow: var(--shadow); border-color: #bfdbfe; }
.mod-n {
  font-family: 'Sora', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 8px;
}
.mod-n.purple { color: var(--purple); }
.mod-n.orange { color: var(--orange); }
.mod-card p   { font-size: 0.85rem; color: var(--text-2); font-weight: 500; line-height: 1.4; }

/* ══════════════════════════════
   ABOUT
══════════════════════════════ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.about-paras { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.about-paras p { font-size: 0.95rem; color: var(--text-3); line-height: 1.8; }

.val-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 14px;
  transition: box-shadow 0.2s;
}
.val-card:last-of-type { margin-bottom: 0; }
.val-card:hover { box-shadow: var(--shadow); }
.val-ico { font-size: 1.5rem; margin-bottom: 10px; }
.val-card h4 { font-weight: 700; color: var(--text); margin-bottom: 6px; font-size: 0.95rem; }
.val-card p  { font-size: 0.85rem; color: var(--text-3); line-height: 1.65; }

.val-promise {
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 14px;
}
.val-promise h4 { font-family:'Sora',sans-serif; font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.val-promise p  { font-size: 0.875rem; color: rgba(255,255,255,0.85); line-height: 1.65; margin-bottom: 16px; }

/* ══════════════════════════════
   CONTACT
══════════════════════════════ */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-l h3 { font-family:'Sora',sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.contact-l > p { font-size: 0.9rem; color: var(--text-3); margin-bottom: 28px; }
.contact-items { display: flex; flex-direction: column; gap: 18px; }
.ci { display: flex; align-items: center; gap: 14px; }
.ci-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.ci-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-3); margin-bottom: 2px; }
.ci-val { font-size: 0.9rem; font-weight: 500; color: var(--text); text-decoration: none; }
.ci-val:hover { color: var(--blue); }

.cf-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.cf-form { display: flex; flex-direction: column; gap: 16px; }
.cf-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-group { display: flex; flex-direction: column; gap: 6px; }
.cf-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-2); }
.cf-group input,
.cf-group select,
.cf-group textarea {
  padding: 10px 12px;
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(5,150,105,0.1);
}
.cf-group input::placeholder,
.cf-group textarea::placeholder { color: #94a3b8; }
.cf-group textarea { resize: vertical; }

.cf-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
}
.cf-check {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--green);
  font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.cf-success h3 { font-family:'Sora',sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.cf-success p  { font-size: 0.9rem; color: var(--text-3); }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.footer {
  background: var(--text);
  color: #94a3b8;
  padding: 56px 0 28px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 40px;
}
.foot-brand .foot-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}
.foot-brand p { font-size: 0.85rem; line-height: 1.7; }
.foot-col { display: flex; flex-direction: column; gap: 0; }
.foot-col h5 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #fff; margin-bottom: 14px; }
.foot-col a  { font-size: 0.875rem; color: #94a3b8; text-decoration: none; padding: 4px 0; transition: color 0.15s; }
.foot-col a:hover { color: #fff; }
.foot-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.foot-bottom p { font-size: 0.82rem; }
.foot-links { display: flex; gap: 1.5rem; }
.foot-links a { font-size: 0.82rem; color: #94a3b8; text-decoration: none; }
.foot-links a:hover { color: #fff; }

/* ══════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════ */
.fade-up    { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-left  { opacity: 0; transform: translateX(-24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-scale { opacity: 0; transform: scale(0.95); transition: opacity 0.45s ease, transform 0.45s ease; }
.fade-up.visible, .fade-left.visible, .fade-scale.visible { opacity: 1; transform: none; }

/* ══════════════════════════════
   RESPONSIVE — COMPREHENSIVE
══════════════════════════════ */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  .sol-cards      { grid-template-columns: 1fr 1fr; gap: 20px; max-width: 100%; }
  .why-split      { grid-template-columns: 1fr; gap: 3rem; }
  .sol-detail     { grid-template-columns: 1fr; gap: 2.5rem; }
  .sol-flip .sol-d-modules { order: 0; }
  .about-split    { grid-template-columns: 1fr; gap: 3rem; }
  .contact-split  { grid-template-columns: 1fr; gap: 2.5rem; }
  .foot-grid      { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .feat-grid      { grid-template-columns: 1fr 1fr; }
  .section-h2     { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  /* Navigation */
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 64px 0 0 0;
    background: #fff;
    padding: 24px 20px;
    gap: 4px;
    z-index: 90;
    border-top: 1px solid var(--border);
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  }
  .nav-menu.open .nav-item {
    font-size: 1rem;
    padding: 14px 16px;
    border-radius: 10px;
    width: 100%;
  }
  .nav-burger { display: flex; }
  .nav-cta    { display: none; }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 20px 40px;
    gap: 32px;
    text-align: center;
  }
  .hero-inner {
    align-items: center;
    text-align: center;
  }
  .hero-h1  { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .hero-sub { text-align: center; max-width: 100%; font-size: 0.9rem; }
  .hero-btns { justify-content: center; flex-wrap: wrap; gap: 10px; }
  .hero-right { width: 100%; }
  .hero-badge { font-size: 0.66rem; padding: 6px 14px; }
  .hero-stats-card { max-width: 100%; }
  .hero-stats { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .mascot-container { max-width: 320px; margin: 0 auto; }

  /* Solution Cards */
  .sol-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 480px;
    margin: 0 auto;
  }
  .sol-c-body { padding: 0 18px; }
  .sol-c ul li { font-size: 0.78rem; padding: 6px 10px; }
  .sol-c-link { width: 100%; justify-content: center; padding: 12px 20px; }

  /* Sections */
  .section        { padding: 52px 0; }
  .section-h2     { font-size: clamp(1.5rem, 6vw, 2rem); }
  .section-sub    { font-size: 0.9rem; }
  .container      { padding: 0 18px; }

  /* Why Split */
  .why-split      { grid-template-columns: 1fr; gap: 2.5rem; }
  .feat-grid      { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feat-item      { padding: 16px; }

  /* Process */
  .process-steps  { flex-direction: column; align-items: center; gap: 20px; }
  .proc-arrow     { transform: rotate(90deg); padding: 0; }
  .proc-step      { max-width: 280px; text-align: center; }

  /* CTA */
  .cta-box        { padding: 40px 20px; border-radius: 20px; }
  .cta-box h2     { font-size: clamp(1.4rem, 5vw, 1.8rem); }

  /* Solutions detail */
  .sol-detail     { grid-template-columns: 1fr; gap: 2rem; }
  .sol-d-modules  { grid-template-columns: 1fr 1fr; }
  .bullet-cols    { grid-template-columns: 1fr; }

  /* About */
  .about-split    { grid-template-columns: 1fr; gap: 2rem; }

  /* Contact */
  .contact-split  { grid-template-columns: 1fr; gap: 2rem; }
  .cf-row         { grid-template-columns: 1fr; }

  /* Footer */
  .foot-grid      { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .foot-bottom    { flex-direction: column; text-align: center; gap: 12px; }

  /* Misc */
  .hero-tagline-genz { font-size: 0.78rem; }
  .doodle-item    { display: none; }
}

/* ── Small Mobile (≤480px) ── */
@media (max-width: 480px) {
  /* Hero */
  .hero           { padding: 88px 16px 36px; gap: 24px; }
  .hero-h1        { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .hero-badge     { font-size: 0.62rem; white-space: normal; text-align: center; }
  .hero-stats     { grid-template-columns: 1fr 1fr; gap: 10px; }
  .btn-solid, .btn-line { width: 100%; text-align: center; justify-content: center; padding: 14px 20px; }
  .hero-btns      { flex-direction: column; width: 100%; }

  /* Cards */
  .sol-cards      { max-width: 100%; }
  .sol-c h3       { font-size: 1rem; }
  .sol-c p        { font-size: 0.82rem; }

  /* Features */
  .feat-grid      { grid-template-columns: 1fr; }

  /* Solutions modules */
  .sol-d-modules  { grid-template-columns: 1fr; }

  /* Footer */
  .foot-grid      { grid-template-columns: 1fr; }

  /* Sections */
  .section        { padding: 44px 0; }
  .section-h2     { font-size: clamp(1.4rem, 7vw, 1.8rem); }
  .container      { padding: 0 16px; }

  /* CTA */
  .cta-box        { padding: 32px 16px; margin: 0 16px; border-radius: 16px; }

  /* Process */
  .proc-num       { font-size: 1.6rem; }
  .proc-step h4   { font-size: 1rem; }
}

/* ── Tiny screens (≤360px) ── */
@media (max-width: 360px) {
  .hero-h1        { font-size: 1.5rem; }
  .hero-badge     { font-size: 0.58rem; padding: 5px 10px; }
  .section-h2     { font-size: 1.3rem; }
  .sol-c-link     { font-size: 0.8rem; padding: 10px 16px; }
  .container      { padding: 0 12px; }
}


/* ══════════════════════════════
   PREMIUM LOGO & TYPOGRAPHY
══════════════════════════════ */
.nav-logo svg {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
  border-radius: 9px;
  overflow: visible;
  flex-shrink: 0;
}
.nav-logo:hover svg {
  transform: rotate(4deg) scale(1.06);
  filter: drop-shadow(0 0 8px rgba(124, 58, 237, 0.45));
}
.nav-logo span {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}
.nav-logo:hover span {
  color: var(--blue);
}
.premium-text {
  background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  position: relative;
  display: inline-block;
  margin-left: 4px;
}
.premium-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  transition: width 0.3s ease;
}
.nav-logo:hover .premium-text::after {
  width: 100%;
}
.foot-logo-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.foot-logo-link span {
  color: #fff !important;
  font-size: 1.15rem;
}
.foot-logo-link:hover span {
  color: #c084fc !important;
}

/* ══════════════════════════════
   BACK TO TOP BUTTON
══════════════════════════════ */
#back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.88);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.03);
  z-index: 99;
}
#back-to-top svg {
  width: 20px;
  height: 20px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
#back-to-top:hover {
  background: #fff;
  border-color: rgba(37, 99, 235, 0.25);
  color: var(--blue);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
}
#back-to-top:hover svg {
  transform: translateY(-3px);
}
#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* ══════════════════════════════
   INTERACTIVE SIMULATOR MOCKUP CUSTOM STYLES
   ══════════════════════════════ */
.mock-sub-panel {
  display: none;
  flex-direction: column;
  height: 100%;
  width: 100%;
  animation: mockFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
  overflow: hidden;
  position: relative; /* Ensure child absolute positioning works relative to this container */
}
.mock-sub-panel.active {
  display: flex;
}

@keyframes mockFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Premium Header Elements */
.header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mock-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.52rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-lt);
  padding: 1px 6px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mock-live-indicator.purple {
  color: var(--purple);
  background: var(--purple-lt);
}
.mock-live-indicator.orange {
  color: var(--orange);
  background: var(--orange-lt);
}
.pulse-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
  display: inline-block;
  animation: miniPulse 1.6s infinite;
}
.mock-live-indicator.purple .pulse-dot { background: var(--purple); }
.mock-live-indicator.orange .pulse-dot { background: var(--orange); }

@keyframes miniPulse {
  0% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0.5; }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mock-search-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 2px 6px;
  border-radius: 6px;
  color: #94a3b8;
}
.mock-search-bar input {
  border: none;
  background: none;
  outline: none;
  font-size: 0.55rem;
  width: 90px;
  font-family: inherit;
  color: var(--text);
}
.mock-notify {
  position: relative;
  font-size: 0.72rem;
  cursor: pointer;
}
.notify-badge {
  position: absolute;
  top: -3px; right: -3px;
  width: 8px; height: 8px;
  background: #ef4444;
  color: #fff;
  font-size: 0.42rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sparklines & Growth Metrics */
.mstat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.growth {
  font-size: 0.5rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 4px;
}
.growth.success {
  color: var(--green);
  background: #dcfce7;
}
.growth.orange {
  color: var(--orange);
  background: var(--orange-lt);
}
.growth.stable {
  color: var(--blue);
  background: var(--blue-lt);
}
.mstat-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  margin-top: 4px;
}
.sparkline {
  opacity: 0.8;
  margin-bottom: 2px;
}
.mstat-badge-ok {
  font-size: 0.52rem;
  font-weight: 700;
  color: var(--green);
  background: #dcfce7;
  padding: 1px 6px;
  border-radius: 4px;
}
.mstat-details {
  font-size: 0.52rem;
  color: #64748b;
}

/* Premium Chart Styling */
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.chart-legend {
  font-size: 0.55rem;
  font-weight: 600;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
}
.chart-legend .legend-dot {
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  display: inline-block;
}
.chart-legend.purple .legend-dot { background: var(--purple); }
.mock-bar-chart-container {
  display: flex;
  gap: 8px;
  flex-grow: 1;
}
.chart-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.5rem;
  color: #94a3b8;
  font-weight: 600;
  padding-bottom: 12px;
  text-align: right;
  width: 18px;
}
.chart-bar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  flex: 1;
}

/* Table Avatars & Tags */
.avatar-cell {
  display: flex;
  align-items: center;
  gap: 6px;
}
.avatar-circle {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--blue-lt);
  color: var(--blue);
  font-size: 0.52rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-circle.purple {
  background: var(--purple-lt);
  color: var(--purple);
}
.avatar-circle.orange {
  background: var(--orange-lt);
  color: var(--orange);
}
.patient-name-bold, .student-name-bold {
  font-weight: 700;
  color: #1e293b;
}
.ward-tag {
  font-size: 0.52rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
}
.ward-tag.blue { color: var(--blue); background: var(--blue-lt); }
.ward-tag.red { color: #ef4444; background: #fee2e2; }
.ward-tag.green { color: var(--green); background: #dcfce7; }

/* OPD Queue Details */
.q-patient-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.q-vitals {
  font-size: 0.5rem;
  color: #64748b;
  font-weight: 500;
}

/* High Fidelity Ward Allocation Beds */
.mock-bed-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.bed-item {
  height: 52px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.bed-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.bed-info .b-no {
  font-size: 0.52rem;
  color: #94a3b8;
  font-weight: 600;
}
.bed-info .b-patient {
  font-size: 0.58rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 1px;
}
.bed-status-dot {
  position: absolute;
  top: 6px; right: 6px;
  width: 5px; height: 5px;
  border-radius: 50%;
}
.bed-item.occupied {
  border-left: 3px solid #ef4444;
  background: linear-gradient(to right, #fff5f5, #fff);
}
.bed-item.occupied .bed-status-dot { background: #ef4444; }
.bed-item.vacant {
  border-left: 3px solid #16a34a;
  background: linear-gradient(to right, #f6fdf9, #fff);
}
.bed-item.vacant .bed-status-dot { background: #16a34a; }
.bed-item.vacant .bed-info .b-patient {
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.5rem;
}

/* Pharmacy POS Receipt Layout */
.mock-pos-bill {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  font-family: monospace;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.receipt-header {
  text-align: center;
  margin-bottom: 4px;
}
.receipt-header h4 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #0f172a;
}
.receipt-header p {
  font-size: 0.45rem;
  color: #64748b;
  margin-top: 1px;
}
.bill-divider {
  border-top: 1px dashed #cbd5e1;
  margin: 6px 0;
}
.bill-totals-area {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.58rem;
  color: #475569;
}
.total-row {
  display: flex;
  justify-content: space-between;
}
.total-row.grand-total {
  font-size: 0.68rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 2px;
}
.barcode-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 8px;
  gap: 2px;
}
.css-barcode {
  width: 80px; height: 12px;
  background: linear-gradient(to right, 
    #0f172a 0px, #0f172a 2px, transparent 2px, transparent 4px,
    #0f172a 4px, #0f172a 5px, transparent 5px, transparent 8px,
    #0f172a 8px, #0f172a 11px, transparent 11px, transparent 13px,
    #0f172a 13px, #0f172a 14px, transparent 14px, transparent 17px,
    #0f172a 17px, #0f172a 20px
  );
}
.barcode-text {
  font-size: 0.45rem;
  color: #94a3b8;
}

/* POS Catalog Grid Cards */
.pos-catalog {
  grid-template-columns: 1fr;
  gap: 6px;
  max-height: 120px;
}
.catalog-item-card {
  display: flex;
  align-items: center;
  padding: 6px 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  gap: 8px;
}
.catalog-item-card:hover {
  border-color: #d8b4fe;
  background: var(--purple-lt);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(147, 51, 234, 0.08);
}
.catalog-item-card .item-ico {
  font-size: 0.85rem;
}
.item-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.item-details .item-name {
  font-size: 0.58rem;
  font-weight: 700;
  color: #1e293b;
}
.item-details .item-meta {
  font-size: 0.48rem;
  color: #94a3b8;
  margin-top: 1px;
}
.item-price {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--purple);
}

/* POS Checkout Success Modal Upgrade */
.success-glowing-ring {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid #bbf7d0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0fdf4;
  animation: glowCheck 1.5s infinite;
}
@keyframes glowCheck {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.2); }
  70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}
.mock-receipt-print-animation {
  font-size: 0.55rem;
  color: var(--green);
  font-weight: 600;
  animation: printBlink 1s infinite alternate;
}
@keyframes printBlink {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* Phone Mockup Upgrade (Native Look) */
.phone-status-bar {
  padding: 0 16px;
  background: #f8fafc;
}
.status-right {
  font-size: 0.5rem;
  font-weight: 600;
  color: #1e293b;
}
.phone-bottom-nav {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 38px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-bottom: 4px;
  z-index: 10;
}
.phone-bottom-nav .nav-btn {
  font-size: 0.95rem;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.2s;
}
.phone-bottom-nav .nav-btn.active {
  opacity: 1;
}
.phone-bottom-nav.purple .nav-btn.active { color: var(--purple); }
.phone-bottom-nav.orange .nav-btn.active { color: var(--orange); }

/* Vitals & details inside mobile queue card */
.phone-queue-item {
  padding: 8px 10px;
}
.phone-queue-item h6 {
  font-size: 0.65rem;
}
.phone-queue-item p {
  font-size: 0.52rem;
  margin-top: 2px;
}

/* School parent progress dial upgrade */
.phone-academic-progress {
  margin: 6px 0;
}
.progress-dial-wrap {
  width: 76px; height: 76px;
  background: conic-gradient(var(--orange) 96%, #e2e8f0 0);
  box-shadow: var(--shadow-sm);
}
.progress-dial {
  width: 64px; height: 64px;
}
.dial-val {
  font-size: 0.8rem;
}

/* Button & interactive states */
.mock-sidebar .mock-nav[data-target-sub] {
  cursor: pointer;
}
.phone-scroll-content .phone-queue-item {
  cursor: pointer;
}
.phone-scroll-content .school-alert-item {
  cursor: pointer;
  border: 1px solid #e2e8f0;
  transition: all 0.2s;
}
.phone-scroll-content .school-alert-item:hover {
  background: #f8fafc;
}
.phone-academic-progress {
  cursor: pointer;
}
.phone-academic-progress:hover .progress-dial-wrap {
  transform: scale(1.02);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.progress-dial-wrap {
  transition: transform 0.2s, box-shadow 0.2s;
}

/* Screenshot integration & mock overlays */
.mock-screenshot {
  position: absolute;
  top: var(--crop-top, 0%);
  left: var(--crop-left, 0%);
  width: var(--crop-width, 100%);
  height: var(--crop-height, 100%);
  object-fit: cover;
  object-position: top; /* Align to the top so the screenshot's native header is visible and sits flush */
  border-radius: 4px;
}
.mock-overlay-fab {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--blue);
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.55rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  transition: all 0.2s;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 4px;
}
.mock-overlay-fab:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}
.mock-sidebar.purple ~ .mock-main .mock-overlay-fab {
  background: var(--purple);
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
}
.mock-sidebar.purple ~ .mock-main .mock-overlay-fab:hover {
  box-shadow: 0 6px 16px rgba(147, 51, 234, 0.4);
}
.mock-sidebar.orange ~ .mock-main .mock-overlay-fab {
  background: var(--orange);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}
.mock-sidebar.orange ~ .mock-main .mock-overlay-fab:hover {
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.4);
}

.mock-toast-notification {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.55rem;
  font-family: 'Inter', sans-serif;
  z-index: 1000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(-6px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.mock-toast-notification.visible {
  opacity: 1;
  transform: none;
}
.mock-toast-notification .toast-ico {
  color: #10b981;
  font-weight: 700;
}

/* Glassmorphic Panel Overlays for School tabs */
.mock-glass-card {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  color: #fff;
  z-index: 10;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.glass-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 5px;
}
.glass-header h4 {
  font-size: 0.65rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.3px;
  color: #fff;
}
.glass-badge {
  font-size: 0.48rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
}
.glass-badge.orange {
  background: rgba(234, 88, 12, 0.2);
  color: #fb923c;
  border: 1px solid rgba(234, 88, 12, 0.3);
}
.glass-table-container {
  flex-grow: 1;
  overflow-y: auto;
}
.glass-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.55rem;
}
.glass-table th, .glass-table td {
  padding: 4px 6px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.glass-table th {
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  font-size: 0.48rem;
  letter-spacing: 0.5px;
}
.glass-table td {
  color: #e2e8f0;
}
.glass-ledger {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}
.glass-ledger-row {
  display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.58rem;
}
.glass-ledger-row span {
  color: #94a3b8;
}
.glass-ledger-row strong {
  color: #fb923c;
}

/* ===================================================
   HIGH-FIDELITY SIMULATOR NATIVE HTML STYLES
   =================================================== */
.mock-main {
  background: #090c15 !important;
  color: #e2e8f0;
}
.mock-sub-panel {
  background: #090c15 !important;
  width: 100%;
}
.mock-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #0d1220;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.mock-content-header h3 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.mock-scrollable-content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mock-scrollable-content::-webkit-scrollbar {
  width: 5px;
}
.mock-scrollable-content::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
}

/* Redefining stats cards for dark mode */
.mock-stats .mstat {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mock-stats .mstat-lbl {
  font-size: 0.55rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mock-stats .mstat-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff !important;
  line-height: 1;
}
.mock-stats .growth {
  font-size: 0.5rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 4px;
}
.mock-stats .growth.success { color: #4ade80 !important; background: rgba(74,222,128,0.1) !important; }
.mock-stats .growth.stable { color: #6ee7b7 !important; background: rgba(110,231,183,0.1) !important; }
.mock-stats .growth.orange { color: #f97316 !important; background: rgba(249,115,22,0.1) !important; }

/* Progress bar inside stats */
.mstat-progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
  width: 65px;
  margin-top: 4px;
}
.mstat-progress-fill {
  height: 100%;
  background: #059669;
  border-radius: 100px;
  transition: width 0.4s ease;
}
.mstat.purple .mstat-progress-fill { background: #9333ea; }
.mstat.orange .mstat-progress-fill { background: #ea580c; }

/* Table styling */
.mock-table-wrapper {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
}
.mock-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.6rem;
  text-align: left;
}
.mock-table th, .mock-table td {
  padding: 6px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  vertical-align: middle;
}
.mock-table th {
  background: rgba(255,255,255,0.02);
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.52rem;
  letter-spacing: 0.5px;
}
.mock-table tbody tr:hover {
  background: rgba(255,255,255,0.015);
}
.avatar-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}
.avatar-circle {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(5,150,105,0.15) !important;
  color: #6ee7b7 !important;
  font-size: 0.52rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.avatar-circle.purple { background: rgba(168,85,247,0.15) !important; color: #c084fc !important; }
.avatar-circle.orange { background: rgba(249,115,22,0.15) !important; color: #fb923c !important; }
.avatar-circle.green { background: rgba(74,222,128,0.15) !important; color: #4ade80 !important; }

.patient-name-bold {
  font-weight: 600;
  color: #fff;
}
.ward-tag {
  font-size: 0.5rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 4px;
}
.ward-tag.blue { color: #6ee7b7; background: rgba(110,231,183,0.1); }
.ward-tag.red { color: #f87171; background: rgba(248,113,113,0.1); }
.ward-tag.green { color: #4ade80; background: rgba(74,222,128,0.1); }

.badge {
  font-size: 0.5rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 100px;
}
.badge.success { color: #4ade80 !important; background: rgba(74,222,128,0.1) !important; border: 1px solid rgba(74,222,128,0.15) !important; }
.badge.pending { color: #f87171 !important; background: rgba(248,113,113,0.1) !important; border: 1px solid rgba(248,113,113,0.15) !important; }

.mock-btn-table {
  background: rgba(37, 99, 235, 0.12);
  color: #6ee7b7;
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.52rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  outline: none;
}
.mock-btn-table:hover {
  background: var(--blue);
  color: #fff;
}
.mock-btn-table.disabled, .mock-btn-table[disabled] {
  background: rgba(255,255,255,0.02) !important;
  color: rgba(255,255,255,0.15) !important;
  border-color: rgba(255,255,255,0.03) !important;
  cursor: not-allowed;
}
.mock-btn-table.alert {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.2);
}
.mock-btn-table.alert:hover {
  background: #ef4444;
  color: #fff;
}

/* Modals inside simulator content area */
.mockup-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 13, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  animation: fadeIn 0.2s ease;
}
.mockup-modal {
  background: #0d111f;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  width: 200px;
  padding: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: scaleUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h4 {
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.modal-close {
  cursor: pointer;
  font-size: 1rem;
  color: #64748b;
  line-height: 1;
}
.modal-close:hover { color: #fff; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.form-group label {
  font-size: 0.52rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
}
.form-group input, .form-group select {
  padding: 4px 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 5px;
  font-size: 0.58rem;
  color: #fff;
  outline: none;
}
.form-group input:focus, .form-group select:focus {
  border-color: var(--blue);
}
.mock-btn-modal {
  padding: 6px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 0.58rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.mock-btn-modal:hover { background: var(--blue-dark); }

/* OPD Queue split view */
.flex-row-layout {
  flex-direction: row !important;
  gap: 12px;
}
.queue-active-card {
  flex: 1;
  background: linear-gradient(135deg, rgba(5,150,105,0.1) 0%, rgba(147,51,234,0.03) 100%);
  border: 1px solid rgba(5,150,105,0.15);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 6px;
  height: calc(100% - 10px);
  align-self: center;
}
.queue-active-card .q-label {
  font-size: 0.48rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #6ee7b7;
  font-weight: 700;
}
.queue-active-card h4 {
  font-size: 0.55rem;
  color: #94a3b8;
  margin: 0;
  font-weight: 500;
}
.active-pname {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}
.q-vitals-badge {
  font-size: 0.52rem;
  background: rgba(255,255,255,0.03);
  padding: 2px 6px;
  border-radius: 100px;
  color: #94a3b8;
}
.q-timer {
  font-size: 0.6rem;
  color: #94a3b8;
}
.q-timer strong {
  color: #6ee7b7;
  font-weight: 700;
}
.queue-list-container {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.q-section-title {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 2px;
}
.queue-items-wrapper {
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow-y: auto;
  max-height: 250px;
}
.queue-items-wrapper .phone-queue-item {
  background: rgba(255,255,255,0.01) !important;
  border: 1px solid rgba(255,255,255,0.04) !important;
}
.queue-items-wrapper .phone-queue-item.active {
  background: rgba(124, 58, 237, 0.08) !important;
  border-color: rgba(124, 58, 237, 0.25) !important;
}
.queue-items-wrapper .phone-queue-item.active .q-num {
  background: var(--blue) !important;
  color: #fff !important;
}
.queue-items-wrapper .phone-queue-item .q-info h6 {
  color: #fff !important;
}

/* Bed Grid */
.mock-bed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
}
.bed-item {
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.bed-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.bed-item.occupied {
  border: 1px solid rgba(239, 68, 68, 0.15) !important;
  background: linear-gradient(135deg, rgba(239,68,68,0.06) 0%, rgba(9,13,22,0.4) 100%) !important;
}
.bed-item.vacant {
  border: 1px solid rgba(34, 197, 94, 0.15) !important;
  background: linear-gradient(135deg, rgba(34,197,94,0.06) 0%, rgba(9,13,22,0.4) 100%) !important;
}

/* POS split layout */
.pos-catalog-wrapper {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.pos-catalog {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  overflow-y: auto;
  max-height: 250px;
  padding-right: 2px;
}
.catalog-item-card {
  display: flex;
  align-items: center;
  padding: 6px 8px;
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 6px;
}
.catalog-item-card:hover {
  border-color: rgba(168,85,247,0.25);
  background: rgba(168,85,247,0.04);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(168,85,247,0.06);
}
.catalog-item-card .item-ico {
  font-size: 0.85rem;
}
.catalog-item-card .item-price {
  font-size: 0.55rem;
  font-weight: 700;
  color: #c084fc;
}

.mock-pos-bill {
  flex: 1;
  border: 1px solid rgba(255,255,255,0.06) !important;
  background: #0a0d16 !important;
  box-shadow: 0 12px 24px rgba(0,0,0,0.4);
}
.receipt-header h4 {
  color: #fff;
}
.bill-divider {
  border-top: 1px dashed rgba(255,255,255,0.08) !important;
}
.pos-cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 70px;
  max-height: 110px;
  overflow-y: auto;
  text-align: left;
}
.pos-cart-items-list::-webkit-scrollbar { width: 3px; }
.pos-cart-items-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.05); }
.bill-totals-area {
  color: #94a3b8;
}
.total-row.grand-total {
  color: #fff;
}

/* Success Overlay */
.mockup-success-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 12, 21, 0.96) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}
.mockup-success-overlay h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.mockup-success-overlay p {
  font-size: 0.6rem;
  color: #94a3b8;
  margin: 0;
}

/* Chart Panel and SVGs */
.mock-chart-container {
  width: 100%;
  height: 95px;
  display: flex;
  align-items: flex-end;
  margin-top: 6px;
}
.svg-chart {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Static Overlay FAB in header */
.mock-overlay-fab-static {
  background: var(--blue);
  color: white;
  border: none;
  padding: 3px 6px;
  border-radius: 5px;
  font-size: 0.52rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.15);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
  outline: none;
}
.mock-overlay-fab-static:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(37, 99, 235, 0.25);
}
.mock-sidebar.purple ~ .mock-main .mock-overlay-fab-static {
  background: #9333ea;
  box-shadow: 0 4px 8px rgba(147, 51, 234, 0.15);
}
.mock-sidebar.purple ~ .mock-main .mock-overlay-fab-static:hover {
  box-shadow: 0 5px 12px rgba(147, 51, 234, 0.25);
}
.mock-sidebar.orange ~ .mock-main .mock-overlay-fab-static {
  background: #ea580c;
  box-shadow: 0 4px 8px rgba(234, 88, 12, 0.15);
}
.mock-sidebar.orange ~ .mock-main .mock-overlay-fab-static:hover {
  box-shadow: 0 5px 12px rgba(234, 88, 12, 0.25);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleUp {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ===================================================
   GEN Z MASCOT & DOODLES
   =================================================== */
.mascot-container {
  position: relative;
  width: 100%;
  max-width: 760px; /* Increased by ~73% to be centerpiece */
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  transform: translateY(0); /* Aligned directly next to the heading */
  transition: all 0.3s ease;
}

/* Responsive constraints for mascot */
@media (max-width: 1200px) {
  .mascot-container {
    max-width: 620px;
    transform: translateY(0);
  }
}
@media (max-width: 1024px) {
  .mascot-container {
    max-width: 520px;
    transform: translateY(0);
    margin-top: 20px;
  }
}
@media (max-width: 768px) {
  .mascot-container {
    max-width: 440px;
    transform: translateY(0);
    margin-top: 15px;
  }
}
@media (max-width: 480px) {
  .mascot-container {
    max-width: 320px;
    transform: translateY(0);
    margin-top: 10px;
  }
}
.mascot-splash {
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
  background: radial-gradient(circle at center, rgba(124, 58, 237, 0.22) 0%, rgba(255, 255, 255, 0.75) 55%, rgba(255, 255, 255, 0.1) 90%);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  border: 2.5px solid rgba(124, 58, 237, 0.18);
  box-shadow: 
    0 24px 60px rgba(124, 58, 237, 0.15), 
    inset 0 0 25px rgba(255, 255, 255, 0.8),
    4px 4px 0px rgba(15, 23, 42, 0.08);
  z-index: 0;
  pointer-events: none;
}
.mascot-img {
  width: 100%;
  height: auto;
  z-index: 1;
  display: block;
}
.doodle-item {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  animation: doodleFloat 6s ease-in-out infinite;
}
.doodle-item svg {
  filter: drop-shadow(2px 2px 0px rgba(15, 23, 42, 0.15));
}
.doodle-crown {
  animation-delay: 0s;
  animation-duration: 5s;
}
.doodle-globe {
  animation-delay: 1.5s;
  animation-duration: 6s;
}
.doodle-code {
  animation-delay: 0.8s;
  animation-duration: 5.5s;
}
.doodle-dots {
  animation-delay: 2s;
  animation-duration: 7s;
}
.doodle-arrow {
  animation-delay: 1.2s;
  animation-duration: 5.8s;
}

@keyframes doodleFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(3deg);
  }
}

/* Hand-drawn underline under Grow */
.hero-tagline-genz {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: #0f172a;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.grow-underline {
  color: #7c3aed;
  position: relative;
  display: inline-block;
}
.grow-underline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='10' viewBox='0 0 100 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 5C20 5 80 2 97 7' stroke='%237c3aed' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
