/* ==========================================================================
   oneslip Design System & Stylesheet
   Crafted with high-end aesthetics, glassmorphism, and responsive ergonomics
   Light Blue & Ocean Sky Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@1&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Color Palette */
  --color-ink: #0a0e14;
  --color-ink-subtle: #111722;
  --color-ink-card: #0f172a;
  --color-white: #ffffff;
  --color-surface: #f1f5f9;
  --color-surface-soft: #f8fafc;
  --color-border-light: rgba(15, 23, 42, 0.08);
  --color-border-medium: rgba(15, 23, 42, 0.14);
  --color-border-dark: rgba(255, 255, 255, 0.12);

  /* Light Blue Brand Accents */
  --color-brand: #0284c7;        /* Vibrant Sky / Ocean Blue */
  --color-brand-ink: #0369a1;    /* Deep Azure Blue for rich high contrast text */
  --color-brand-soft: #38bdf8;   /* Luminous Light Blue / Cyan for highlights */
  --color-brand-light: #f0f9ff;  /* Soft Ice Sky Blue */
  --color-brand-hover: #0274b0;  /* Button hover state */
  --color-emerald: #10b981;
  --color-emerald-light: #e6f9f2;
  --color-violet: #6366f1;
  --color-sky: #0284c7;

  /* Gradients */
  --grad-accent: linear-gradient(135deg, #0284c7 0%, #38bdf8 50%, #6366f1 100%);
  --grad-hero-aurora: radial-gradient(44% 48% at 18% 28%, rgba(14, 165, 233, 0.28) 0%, transparent 64%),
                      radial-gradient(36% 44% at 82% 20%, rgba(99, 102, 241, 0.18) 0%, transparent 64%),
                      radial-gradient(48% 52% at 50% 86%, rgba(56, 189, 248, 0.22) 0%, transparent 68%);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-3xl: 44px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 6px 20px -8px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 36px -14px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 28px 64px -24px rgba(15, 23, 42, 0.18);
  --shadow-dark: 0 28px 70px -34px rgba(2, 6, 23, 0.6);
  --shadow-brand: 0 12px 28px -10px rgba(2, 132, 199, 0.45);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--color-ink);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  touch-action: manipulation;
}

body {
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.5;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: auto;
  touch-action: pan-y pinch-zoom;
  padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

button, a, input, select, textarea {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-surface);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Top Reading / Scroll Meter */
.meter-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-accent);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 100;
  transition: transform 0.05s linear;
}

/* Subtle Film Grain Noise Texture */
.ambient-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Aurora Backdrop Animation */
.aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  filter: blur(54px);
  background: var(--grad-hero-aurora);
  animation: aurora-drift 18s ease-in-out infinite alternate;
}

@keyframes aurora-drift {
  0% { transform: scale(1) translate(0%, 0%); }
  50% { transform: scale(1.08) translate(3%, -2%); }
  100% { transform: scale(0.96) translate(-2%, 3%); }
}

/* Dot Grid Matrix */
.dot-grid {
  background-image: radial-gradient(currentColor 1px, transparent 1px);
  background-size: 16px 16px;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }
}

/* Typography Helpers */
.h-display {
  font-family: var(--font-sans);
  font-weight: 300;
  letter-spacing: -0.038em;
  line-height: 1.05;
}

.serif {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--color-brand-ink);
}

.dark-section .serif {
  color: var(--color-brand-soft);
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.prose-body {
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: rgba(15, 23, 42, 0.68);
}

.dark-section .prose-body {
  color: rgba(255, 255, 255, 0.68);
}

/* Tabular & Number Styling */
.tabular {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

/* Interactive Gradient Rings */
.grad-ring {
  position: relative;
  isolation: isolate;
}

.grad-ring::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-accent);
  background-size: 300% 300%;
  animation: grad-pan 8s ease-in-out infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 1;
}

.grad-ring-hover::before {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.grad-ring-hover:hover::before {
  opacity: 1;
}

@keyframes grad-pan {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Sheen Light Sweep on Hover with Soft Light Blue Glint */
.sheen {
  position: relative;
  overflow: hidden;
}

.sheen::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.45) 45%, rgba(56, 189, 248, 0.6) 50%, rgba(255, 255, 255, 0.45) 55%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.sheen:hover::after {
  transform: translateX(120%);
}

/* Interactive Card Spotlight */
.spotlight-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.spotlight-card:hover {
  transform: translateY(-4px);
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(2, 132, 199, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.dark-section .spotlight-card::before {
  background: radial-gradient(350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(56, 189, 248, 0.22), transparent 70%);
}

.spotlight-card:hover::before {
  opacity: 1;
}

/* Soft Image Edge Fade */
.edge-fade-soft {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8% 92%, transparent 100%),
                      linear-gradient(0deg, transparent 0%, black 8% 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, black 8% 92%, transparent 100%),
              linear-gradient(0deg, transparent 0%, black 8% 92%, transparent 100%);
  mask-composite: intersect;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */

.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  pointer-events: none;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform, backdrop-filter;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: background 0.3s ease, -webkit-backdrop-filter 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

@media (min-width: 992px) {
  .nav-wrapper {
    padding: 0.8rem 2rem;
  }

  .nav-wrapper.scrolled {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.78) !important;
    -webkit-backdrop-filter: blur(28px) saturate(190%) contrast(92%) !important;
    backdrop-filter: blur(28px) saturate(190%) contrast(92%) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    padding: 0.6rem 2rem;
  }
}

.nav-container {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991px) {
  .nav-container {
    justify-content: space-between;
  }
}

.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(28px) saturate(190%) contrast(94%);
  -webkit-backdrop-filter: blur(28px) saturate(190%) contrast(94%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-full);
  padding: 0.22rem 0.35rem 0.22rem 0.45rem;
  box-shadow: 0 8px 30px -4px rgba(15, 23, 42, 0.07), 0 2px 6px -1px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.nav-pill:hover {
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow: 0 12px 36px -4px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
}

/* Logo */
.brand-logo {
  --brand-logo-gap: 8.5px;
  --brand-logo-text-offset: 2.5px;
  display: flex;
  align-items: center;
  gap: var(--brand-logo-gap, 8.5px);
  text-decoration: none;
  padding: 0.16rem 0.55rem 0.16rem 0.45rem;
  border-radius: var(--radius-full);
  pointer-events: auto;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.brand-logo-icon {
  height: 28px;
  width: 28px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo-text-img {
  height: 19px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  margin-top: var(--brand-logo-text-offset, 2.5px);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo-icon-footer {
  height: 34px;
  width: 34px;
}

.brand-logo-text-img-footer {
  height: 23px;
  margin-top: 3.5px;
}

.brand-logo-img {
  height: 27px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo:hover .brand-logo-icon,
.brand-logo:hover .brand-logo-text-img,
.brand-logo:hover .brand-logo-img {
  transform: scale(1.02);
}

@media (max-width: 767px) {
  .brand-logo {
    --brand-logo-gap: 7.5px;
    --brand-logo-text-offset: 2px;
  }
  .brand-logo-icon {
    height: 24px;
    width: 24px;
  }
  .brand-logo-text-img {
    height: 16.5px;
    margin-top: var(--brand-logo-text-offset, 2px);
  }
  .brand-logo-img {
    height: 23px;
    max-width: 120px;
  }
}

.logo-symbol {
  width: 32px;
  height: 32px;
  background: var(--color-brand);
  color: var(--color-white);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.03em;
  position: relative;
  box-shadow: 0 4px 14px -3px rgba(2, 132, 199, 0.5);
}

.logo-symbol::after {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 8px;
  height: 8px;
  background: var(--color-brand-soft);
  border-radius: 50%;
  border: 2px solid var(--color-white);
}

.logo-text {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-ink);
  display: flex;
  align-items: center;
}

.logo-text span {
  color: var(--color-brand);
  font-weight: 700;
}

.logo-badge {
  margin-left: 0.15rem;
  margin-right: 0.2rem;
  margin-top: var(--brand-logo-text-offset, 2.5px);
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--color-brand-light);
  color: var(--color-brand-ink);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(2, 132, 199, 0.2);
}

/* Nav Links */
.nav-links {
  display: none;
  align-items: center;
  gap: 0.15rem;
  white-space: nowrap !important;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(15, 23, 42, 0.72);
  padding: 0.3rem 0.58rem;
  border-radius: var(--radius-full);
  white-space: nowrap !important;
  flex-shrink: 0;
  transition: color 0.2s ease, background 0.2s ease;
}

@media (min-width: 1280px) {
  .nav-link {
    font-size: 13px;
    padding: 0.32rem 0.68rem;
  }
}

.nav-link:hover, .nav-link.active {
  color: var(--color-brand-ink);
  background: var(--color-brand-light);
}

/* Island Divider between Links and Action Buttons */
.nav-island-divider {
  display: none;
  width: 1px;
  height: 18px;
  background: rgba(15, 23, 42, 0.12);
  margin: 0 0.35rem;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .nav-island-divider {
    display: block;
  }
}

/* Island Actions Cluster (Inside the floating island) */
.nav-island-actions {
  display: none;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .nav-island-actions {
    display: flex;
  }
}

/* Nav Contact Us Button */
.btn-nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  height: 32px;
  padding: 0 0.75rem;
  font-size: 12.2px;
  font-weight: 600;
  color: var(--color-ink);
  text-decoration: none;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-full);
  white-space: nowrap !important;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  cursor: pointer;
  outline: none;
}

.btn-nav-contact:hover {
  background: var(--color-brand-light);
  color: var(--color-brand-ink);
  border-color: rgba(2, 132, 199, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -2px rgba(2, 132, 199, 0.15);
}

.btn-nav-contact .nav-call-icon {
  color: var(--color-brand);
  flex-shrink: 0;
}

/* Nav Google Play Store Badge Button */
.btn-nav-playstore {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  height: 36px;
  padding: 0 0.95rem 0 0.8rem;
  text-decoration: none;
  background: linear-gradient(180deg, #1e293b 0%, #090d16 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  box-shadow: 0 2px 12px -2px rgba(15, 23, 42, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  white-space: nowrap !important;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-nav-playstore:hover {
  background: linear-gradient(180deg, #334155 0%, #0f172a 100%);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -4px rgba(2, 132, 199, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-nav-playstore .playstore-svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.btn-nav-playstore .playstore-meta {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-align: left;
  white-space: nowrap !important;
}

.btn-nav-playstore .playstore-sub {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.btn-nav-playstore .playstore-name {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Google Sans", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #ffffff;
}

/* Nav Actions (Mobile Drawer Trigger Only) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: auto;
  white-space: nowrap !important;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .nav-actions {
    display: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  white-space: nowrap !important;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-ink);
  color: var(--color-white);
  padding: 0.55rem 1.15rem;
  white-space: nowrap !important;
  flex-shrink: 0;
  box-shadow: 0 4px 16px -4px rgba(2, 6, 23, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 8px 24px -6px rgba(2, 6, 23, 0.45);
}

.btn-brand {
  background: var(--color-brand);
  color: var(--color-white);
  padding: 0.65rem 1.25rem;
  box-shadow: var(--shadow-brand);
}

.btn-brand:hover {
  background: var(--color-brand-hover);
  box-shadow: 0 16px 32px -10px rgba(2, 132, 199, 0.55);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-ink);
  border: 1px solid var(--color-border-medium);
  padding: 0.65rem 1.25rem;
}

.btn-secondary:hover {
  border-color: rgba(2, 132, 199, 0.4);
  background: var(--color-brand-light);
  color: var(--color-brand-ink);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-ink);
  padding: 0.65rem 1.25rem;
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: #fdfdfd;
}

.btn-pill-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  color: var(--color-ink);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.btn-pill-icon:hover {
  transform: translateY(-1px);
  border-color: var(--color-brand);
}

.btn-phone {
  display: none;
  align-items: center;
  gap: 0.45rem;
  font-size: 12.2px;
  font-weight: 500;
  color: rgba(15, 23, 42, 0.78);
  text-decoration: none;
  padding: 0.48rem 0.82rem;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  white-space: nowrap !important;
  flex-shrink: 0;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 1040px) and (max-width: 1239px) {
  .btn-phone {
    display: inline-flex;
    padding: 0.48rem;
    width: 36px;
    height: 36px;
    justify-content: center;
  }
  .btn-phone span {
    display: none;
  }
}

@media (min-width: 1240px) {
  .btn-phone {
    display: inline-flex;
  }
}

.btn-phone:hover {
  color: var(--color-brand-ink);
  border-color: rgba(2, 132, 199, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.06);
}

/* ==========================================================================
   Official Google Play Store Badge (Outside Top Nav Bar & In Drawer/Footer)
   ========================================================================== */
.playstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #000000;
  color: #ffffff !important;
  text-decoration: none;
  padding: 0.35rem 0.88rem 0.35rem 0.72rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 0.45);
  white-space: nowrap !important;
  flex-shrink: 0;
  pointer-events: auto;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.2s ease,
              box-shadow 0.2s ease,
              background 0.2s ease;
}

@media (max-width: 991px) {
  .nav-actions .playstore-badge {
    display: none !important;
  }
}

.playstore-badge:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.55), 0 0 14px rgba(2, 132, 199, 0.25);
  background: #0d0d0d;
  color: #ffffff !important;
}

.playstore-badge-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.playstore-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
  white-space: nowrap !important;
}

.playstore-badge-sub {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.playstore-badge-brand {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Google Sans", "Product Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-ink);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.2s ease, background 0.2s ease;
}

.mobile-menu-btn:active {
  transform: scale(0.94);
}

@media (min-width: 992px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* ==========================================================================
   Mobile Quick Horizontal Navigation Bar
   ========================================================================== */
.mobile-quick-nav {
  display: none;
}

@media (max-width: 991px) {
  /* Hide the top navbar "Book Free Demo" button only on mobile view */
  .nav-actions .btn[data-open-demo] {
    display: none !important;
  }

  /* Full-width iPhone Liquid Glass Header Bar */
  .nav-wrapper {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.76) !important;
    -webkit-backdrop-filter: blur(28px) saturate(190%) contrast(92%) !important;
    backdrop-filter: blur(28px) saturate(190%) contrast(92%) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 24px -4px rgba(15, 23, 42, 0.07), inset 0 -0.5px 0 rgba(255, 255, 255, 0.6);
    padding: 0.65rem 1rem 0.45rem;
    padding-top: max(0.65rem, env(safe-area-inset-top));
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    transition: background 0.3s ease, box-shadow 0.3s ease;
  }

  .nav-wrapper.scrolled {
    background: rgba(255, 255, 255, 0.84) !important;
    box-shadow: 0 6px 28px -4px rgba(15, 23, 42, 0.09), inset 0 -0.5px 0 rgba(255, 255, 255, 0.6);
  }

  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
  }

  /* Seamless logo inside the liquid glass header */
  .nav-pill {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-right: auto;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .brand-logo {
    display: flex;
    align-items: center;
    gap: var(--brand-logo-gap, 7.5px);
    padding: 0.2rem 0;
    margin-right: 0.75rem;
    text-decoration: none;
  }

  .logo-badge {
    margin-left: 0.2rem;
    margin-top: var(--brand-logo-text-offset, 2px);
  }

  .mobile-menu-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: var(--color-ink);
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
    flex-shrink: 0;
  }

  /* Mobile Quick Horizontal Navigation Bar inside Liquid Glass Header */
  .mobile-quick-nav {
    display: block;
    position: static;
    border: none;
    background: transparent;
    padding: 0.15rem 0 0.1rem;
    margin: 0;
    box-shadow: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
  }

  .mobile-quick-nav::-webkit-scrollbar {
    display: none;
  }

  .quick-nav-track {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: max-content;
    padding-right: 1rem;
  }

  .quick-nav-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    color: rgba(15, 23, 42, 0.8);
    background: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    white-space: nowrap;
    transition: all 0.2s ease;
    scroll-snap-align: center;
    touch-action: manipulation;
  }

  .quick-nav-chip.active, .quick-nav-chip:active {
    background: var(--color-brand);
    color: var(--color-white);
    border-color: var(--color-brand);
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
  }
}

/* Fallback for engines without backdrop-filter support */
@supports not ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
  .nav-wrapper,
  .nav-wrapper.scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
  }
}

/* ==========================================================================
   Mobile Slide-out Navigation Drawer
   ========================================================================== */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 20, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  touch-action: pan-y;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 84%;
  max-width: 350px;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 1.25rem;
  padding-top: max(1.25rem, env(safe-area-inset-top));
  padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -12px 0 35px rgba(0, 0, 0, 0.25);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y pan-x;
}

.mobile-drawer-overlay.open .mobile-drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border-light);
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--color-surface);
  color: var(--color-ink);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 0.2s ease, transform 0.2s ease;
}

.drawer-close-btn:active {
  transform: scale(0.92);
}

.drawer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 0;
  flex-grow: 1;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-ink);
  font-size: 14.5px;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
  touch-action: manipulation;
}

.drawer-nav-item:active, .drawer-nav-item:hover {
  background: var(--color-brand-light);
  color: var(--color-brand-ink);
}

.drawer-nav-icon {
  font-size: 16px;
  width: 24px;
  display: inline-flex;
  justify-content: center;
}

.drawer-actions {
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border-light);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 84svh;
  display: flex;
  align-items: center;
  padding-top: calc(7.2rem + env(safe-area-inset-top, 0px));
  padding-bottom: 4rem;
  background: var(--color-white);
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-section {
    padding-top: 9.5rem;
    padding-bottom: 6rem;
  }
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.hero-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.22);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--color-brand-ink);
  margin-bottom: 1.25rem;
}

.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
}

.pulse-dot::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--color-brand);
  opacity: 0.7;
  animation: pulse-ring 2s cubic-bezier(0.2, 0.6, 0.4, 1) infinite;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-brand);
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}

.hero-title {
  font-size: clamp(2.3rem, 6.5vw, 4.4rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--color-ink);
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  color: rgba(15, 23, 42, 0.68);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

@media (min-width: 540px) {
  .hero-cta-group {
    flex-direction: row;
    align-items: center;
  }
}

.hero-features-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  color: rgba(15, 23, 42, 0.8);
  background: var(--color-white);
  border: 1px solid var(--color-border-medium);
  transition: transform 0.2s ease, border-color 0.2s ease;
  cursor: default;
}

.feature-chip:hover {
  transform: translateY(-1px);
  border-color: var(--color-brand);
}

.feature-chip svg {
  color: var(--color-brand);
}

/* Hero Media Showcase */
.hero-media-card {
  position: relative;
  width: 100%;
}

.hero-media-wrapper {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 32px 80px -28px rgba(2, 132, 199, 0.25);
  border: 1px solid var(--color-border-light);
  transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-media-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-media-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hero Floating Feature Pills */
.hero-float-badge {
  position: absolute;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
  animation: float 4s ease-in-out infinite alternate;
}

@keyframes float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.hero-float-badge.badge-left {
  top: 10%;
  left: -20px;
}

.hero-float-badge.badge-right {
  bottom: 12%;
  right: -20px;
  animation-delay: -2s;
}

@media (max-width: 767px) {
  .hero-media-wrapper {
    transform: none !important;
  }
  .hero-float-badge {
    padding: 0.45rem 0.75rem;
    gap: 0.5rem;
    border-radius: var(--radius-lg);
  }
  .hero-float-badge.badge-left {
    top: -10px;
    left: 10px;
    right: auto;
  }
  .hero-float-badge.badge-right {
    bottom: -10px;
    right: 10px;
    left: auto;
  }
  .badge-icon {
    width: 28px !important;
    height: 28px !important;
  }
  .badge-icon svg {
    width: 14px;
    height: 14px;
  }
  .badge-text-title {
    font-size: 11.5px !important;
  }
  .badge-text-sub {
    font-size: 9.5px !important;
  }
}

.badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.badge-text-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-ink);
}

.badge-text-sub {
  font-size: 11px;
  color: rgba(15, 23, 42, 0.55);
}

/* ==========================================================================
   Interactive Live POS Demo Simulator
   ========================================================================== */

.pos-simulator-section {
  padding: 4.5rem 0;
  background: #f8fafc;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.pos-sim-container {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border-medium);
  box-shadow: 0 24px 60px -20px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  position: relative;
}

/* POS Terminal Header */
.pos-sim-header {
  background: #0b1120;
  color: var(--color-white);
  padding: 0.85rem 1.15rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.pos-sim-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.pos-sim-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  flex-shrink: 0;
  animation: pulse-glow 2s infinite ease-in-out;
}

.pos-sim-title {
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.pos-sim-sub {
  font-size: 11px;
  color: #94a3b8;
  white-space: nowrap;
}

.pos-sim-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 11.5px;
  flex-shrink: 0;
}

.pos-sim-server {
  color: #cbd5e1;
  font-weight: 500;
}

.pos-sim-offline-badge {
  background: rgba(14, 165, 233, 0.18);
  color: #38bdf8;
  padding: 2.5px 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 10.5px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  white-space: nowrap;
}

/* Mobile Simulator View Switcher Tabs */
.sim-mobile-switch {
  display: flex;
  background: #f1f5f9;
  border-bottom: 1px solid var(--color-border-light);
  padding: 0.35rem 0.5rem;
  gap: 0.4rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 992px) {
  .sim-mobile-switch {
    display: none !important;
  }
}

.sim-tab-toggle {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 600;
  border: none;
  background: transparent;
  color: rgba(15, 23, 42, 0.65);
  cursor: pointer;
  transition: all 0.2s ease;
  touch-action: manipulation;
}

.sim-tab-toggle.active {
  background: var(--color-white);
  color: var(--color-brand-ink);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.sim-tab-badge {
  background: var(--color-brand);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  min-width: 16px;
  text-align: center;
}

/* Simulator Body & Adaptive Grid */
.pos-sim-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .pos-sim-container[data-active-tab="menu"] #sim-panel-tables,
  .pos-sim-container[data-active-tab="menu"] #sim-panel-menu {
    display: block !important;
  }
  .pos-sim-container[data-active-tab="menu"] #sim-panel-ticket {
    display: none !important;
  }

  .pos-sim-container[data-active-tab="ticket"] #sim-panel-tables,
  .pos-sim-container[data-active-tab="ticket"] #sim-panel-menu {
    display: none !important;
  }
  .pos-sim-container[data-active-tab="ticket"] #sim-panel-ticket {
    display: flex !important;
  }
}

@media (min-width: 992px) {
  .pos-sim-body {
    grid-template-columns: 200px minmax(0, 1.4fr) minmax(300px, 1fr) !important;
  }
  #sim-panel-tables,
  #sim-panel-menu {
    display: block !important;
  }
  #sim-panel-ticket {
    display: flex !important;
  }
}

/* Tables Sidebar */
.sim-tables-sidebar {
  border-bottom: 1px solid var(--color-border-light);
  padding: 0.75rem 1rem;
  background: #f8fafc;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.sim-tables-track {
  display: flex;
  overflow-x: auto;
  gap: 0.5rem;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scroll-snap-type: x proximity;
  padding-bottom: 0.35rem;
  scrollbar-width: none;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.sim-tables-track::-webkit-scrollbar {
  display: none;
}

.sim-table-item {
  flex: 0 0 auto;
  min-width: 122px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  scroll-snap-align: start;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.sim-table-item:hover, .sim-table-item.active {
  background: var(--color-ink);
  color: var(--color-white);
  border-color: var(--color-ink);
  box-shadow: 0 3px 12px -3px rgba(10, 14, 20, 0.35);
}

.sim-table-item.active .sim-table-sub {
  color: rgba(255, 255, 255, 0.7) !important;
}

@media (min-width: 992px) {
  .sim-tables-sidebar {
    border-bottom: none;
    border-right: 1px solid var(--color-border-light);
    padding: 1.25rem 1rem;
  }
  .sim-tables-track {
    display: flex;
    flex-direction: column;
    overflow-x: visible;
    gap: 0.45rem;
    padding-bottom: 0;
  }
  .sim-table-item {
    width: 100%;
    min-width: unset;
  }
}

.table-status-tag {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  font-weight: 600;
  flex-shrink: 0;
}

.status-occupied {
  background: rgba(2, 132, 199, 0.15);
  color: var(--color-brand);
}

.status-vacant {
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-emerald);
}

/* Simulator Menu Area */
.sim-menu-area {
  padding: 0.85rem 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border-light);
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .sim-menu-area {
    padding: 1.25rem 1.5rem;
    border-bottom: none;
    border-right: 1px solid var(--color-border-light);
  }
}

.sim-category-tabs {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.45rem;
  margin-bottom: 0.85rem;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.sim-category-tabs::-webkit-scrollbar {
  display: none;
}

.sim-cat-btn {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 0.38rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  background: var(--color-surface);
  color: var(--color-ink);
  border: 1px solid var(--color-border-light);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.sim-cat-btn.active, .sim-cat-btn:hover {
  background: var(--color-brand);
  color: var(--color-white);
  border-color: var(--color-brand);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
}

/* Redesigned Fluid Dish Cards Grid */
.sim-items-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (min-width: 600px) and (max-width: 991px) {
  .sim-items-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

@media (min-width: 1200px) {
  .sim-items-grid {
    grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    gap: 0.75rem;
  }
}

.sim-item-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-lg);
  padding: 0.7rem;
  text-align: left;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.sim-item-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-brand);
  box-shadow: 0 6px 16px -4px rgba(2, 132, 199, 0.16);
  background: #f8fafc;
}

.sim-item-card:active, .sim-item-card.item-added-anim {
  transform: scale(0.96);
  border-color: var(--color-brand);
}

.sim-item-card.has-items {
  border-color: rgba(2, 132, 199, 0.4);
  background: #f0f9ff;
}

.sim-item-qty-badge {
  display: none;
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-brand);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.45);
  z-index: 2;
}

.sim-item-card.has-items .sim-item-qty-badge {
  display: flex;
}

.sim-item-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}

.diet-badge {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.diet-badge.veg {
  border: 1.5px solid #16a34a;
}
.diet-badge.veg::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
}

.diet-badge.nonveg {
  border: 1.5px solid #dc2626;
}
.diet-badge.nonveg::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-bottom: 6px solid #dc2626;
}

.item-tag-pill {
  font-size: 9px;
  font-weight: 600;
  padding: 1.5px 5.5px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  white-space: nowrap;
}

.sim-item-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1.35;
  margin-bottom: 0.45rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.sim-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
  margin-top: auto;
}

.sim-item-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-brand-ink);
  font-variant-numeric: tabular-nums;
}

.sim-item-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2.5px 7px;
  border-radius: var(--radius-full);
  font-size: 10.5px;
  font-weight: 600;
  background: var(--color-brand-light);
  color: var(--color-brand-ink);
  border: 1px solid rgba(2, 132, 199, 0.2);
  pointer-events: none;
  transition: all 0.2s ease;
}

.sim-item-card:hover .sim-item-add-btn {
  background: var(--color-brand);
  color: var(--color-white);
  border-color: var(--color-brand);
}

/* Order Ticket & Billing */
.sim-ticket-area {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fcfcfc;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.sim-ticket-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  color: var(--color-brand-ink);
  border: 1px solid var(--color-border-light);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 0.75rem;
  touch-action: manipulation;
}

@media (min-width: 992px) {
  .sim-ticket-back-btn {
    display: none !important;
  }
}

.ticket-header {
  border-bottom: 1px dashed var(--color-border-medium);
  padding-bottom: 0.65rem;
  margin-bottom: 0.85rem;
}

.ticket-orders-list {
  flex-grow: 1;
  max-height: 240px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overscroll-behavior-y: contain;
  margin-bottom: 0.85rem;
}

.ticket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.ticket-totals {
  border-top: 1px dashed var(--color-border-medium);
  padding-top: 0.65rem;
  margin-bottom: 1rem;
}

.ticket-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 0.3rem;
  color: rgba(15, 23, 42, 0.7);
}

.ticket-grand-total {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-ink);
  margin-top: 0.4rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--color-border-light);
}

.sim-action-buttons {
  display: flex;
  gap: 0.5rem;
}

/* Mobile Floating Cart Summary Bar */
.sim-mobile-cart-bar {
  display: none;
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0f172a;
  color: #ffffff;
  padding: 0.65rem 1rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.15);
  z-index: 20;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  animation: slideUpCart 0.25s ease-out;
  box-sizing: border-box;
}

@keyframes slideUpCart {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@media (max-width: 991px) {
  .sim-mobile-cart-bar.visible {
    display: flex;
  }
}

@media (min-width: 992px) {
  .sim-mobile-cart-bar {
    display: none !important;
  }
}

.cart-bar-info {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 12px;
}

.cart-bar-badge {
  background: var(--color-brand);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 600;
  padding: 1.5px 6.5px;
  border-radius: var(--radius-full);
}

.cart-bar-total {
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
}

.cart-bar-gst {
  font-size: 10px;
  color: #94a3b8;
}

.cart-bar-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--color-brand);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  touch-action: manipulation;
}

.cart-bar-btn:active {
  background: var(--color-brand-hover);
}

/* ==========================================================================
   Video / Interactive Demo Section
   ========================================================================== */

.video-section {
  padding: 5rem 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border-light);
}

@media (min-width: 768px) {
  .video-section {
    padding: 7rem 0;
  }
}

.video-frame-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-3xl);
  overflow: hidden;
  background: var(--color-ink);
  box-shadow: 0 32px 80px -20px rgba(15, 23, 42, 0.45);
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-backdrop-art {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 70% at 50% 45%, rgba(14, 165, 233, 0.32), transparent 70%),
              radial-gradient(50% 60% at 85% 100%, rgba(99, 102, 241, 0.22), transparent 70%),
              #0a0e14;
}

.video-play-btn {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-white);
}

.play-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px -15px rgba(2, 6, 23, 0.8);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.video-play-btn:hover .play-circle {
  transform: scale(1.12);
  box-shadow: 0 25px 60px -10px rgba(2, 132, 199, 0.6);
}

.play-title {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 500;
  max-width: 520px;
  text-align: center;
  line-height: 1.35;
}

.play-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   Story Rail / Core Capabilities Bento Grid
   ========================================================================== */

.rail-section {
  padding: 5rem 0;
  background: var(--color-white);
  position: relative;
}

@media (min-width: 768px) {
  .rail-section {
    padding: 7rem 0;
  }
}

.features-bento-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .features-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-bento-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-2xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

.bento-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.bento-num {
  font-size: 12px;
  font-weight: 600;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-surface);
  color: rgba(15, 23, 42, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-bento-card:hover .bento-num {
  background: var(--color-brand);
  color: var(--color-white);
}

.bento-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

.bento-desc {
  font-size: 13.5px;
  color: rgba(15, 23, 42, 0.65);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.bento-checklist {
  list-style: none;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.bento-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.78);
}

.bento-checklist li svg {
  color: var(--color-brand);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Feature Spotlight Big Dark Bento Box */
.bento-card-dark {
  background: var(--color-ink);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.12);
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.25rem;
}

@media (min-width: 1024px) {
  .bento-card-dark {
    flex-direction: row;
    align-items: flex-end;
    gap: 3rem;
  }
}

.bento-card-dark .bento-title {
  color: var(--color-white);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 300;
  line-height: 1.15;
}

.bento-card-dark .bento-desc {
  color: rgba(255, 255, 255, 0.65);
  max-width: 480px;
}

/* ==========================================================================
   Pricing Showcase — 3 Transparent Plans
   Directly following "Everything above. One predictable plan."
   ========================================================================== */

.pricing-showcase-section {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px dashed var(--color-border-medium);
  position: relative;
}

.pricing-header-inline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.25rem;
}

@media (min-width: 900px) {
  .pricing-header-inline {
    flex-direction: row;
    align-items: flex-end;
  }
}

.pricing-guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(15, 23, 42, 0.75);
}

.pricing-guarantee-badge svg {
  color: var(--color-brand);
  flex-shrink: 0;
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
  padding-top: 1.5rem;
  margin-top: 1rem;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .pricing-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-cards-grid .pricing-plan-card:last-child {
    grid-column: 1 / -1;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .pricing-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.pricing-plan-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-2xl);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: visible !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.pricing-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(2, 132, 199, 0.3);
}

/* Most Popular Featured Card (Growth ₹399/mo) */
.pricing-plan-popular {
  border: 2px solid var(--color-brand);
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  box-shadow: 0 20px 48px -14px rgba(2, 132, 199, 0.22), 0 0 0 1px rgba(2, 132, 199, 0.2);
  overflow: visible !important;
}

@media (min-width: 1024px) {
  .pricing-plan-popular {
    transform: translateY(-8px);
  }
  .pricing-plan-popular:hover {
    transform: translateY(-12px);
    box-shadow: 0 28px 64px -16px rgba(2, 132, 199, 0.35);
  }
}

.pricing-popular-pill {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
  white-space: nowrap;
  z-index: 20;
  pointer-events: none;
  border: 2px solid var(--color-white);
}

.pricing-card-top {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pricing-plan-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--color-surface);
  color: rgba(15, 23, 42, 0.7);
  margin-bottom: 0.35rem;
}

.pricing-plan-popular .pricing-plan-tag {
  background: rgba(2, 132, 199, 0.12);
  color: var(--color-brand-ink);
}

.pricing-plan-name {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  margin: 0;
}

.pricing-plan-tagline {
  font-size: 13px;
  color: rgba(15, 23, 42, 0.62);
  line-height: 1.5;
  min-height: 38px;
  margin-top: 0.2rem;
}

.pricing-price-wrap {
  margin: 1.5rem 0 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border-light);
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.pricing-currency {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1;
}

.pricing-amount {
  font-size: 3.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-ink);
  line-height: 1;
  font-family: var(--font-sans);
}

.pricing-period {
  font-size: 14px;
  font-weight: 500;
  color: rgba(15, 23, 42, 0.6);
  margin-left: 2px;
}

.pricing-price-sub {
  font-size: 11.5px;
  color: rgba(15, 23, 42, 0.5);
  margin-top: -0.75rem;
  margin-bottom: 1.25rem;
  display: block;
}

.pricing-features-heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(15, 23, 42, 0.7);
  margin-bottom: 0.85rem;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.78);
  line-height: 1.45;
}

.pricing-features-list li strong {
  color: var(--color-ink);
  font-weight: 600;
}

.pricing-features-list li svg {
  color: var(--color-brand);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-plan-card .btn {
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-size: 13.5px;
}

.pricing-guarantee-note {
  text-align: center;
  font-size: 11.5px;
  color: rgba(15, 23, 42, 0.5);
  margin-top: 0.75rem;
}

/* ==========================================================================
   Restaurant Verticals / Types
   ========================================================================== */

.types-section {
  padding: 5rem 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border-light);
}

@media (min-width: 768px) {
  .types-section {
    padding: 7rem 0;
  }
}

.types-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .types-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.type-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-2xl);
  padding: 1.75rem;
}

.type-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(2, 132, 199, 0.08);
  color: var(--color-brand-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.type-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.type-desc {
  font-size: 13.5px;
  color: rgba(15, 23, 42, 0.65);
  line-height: 1.6;
}

/* ==========================================================================
   Deep Dive Capability Showcases
   ========================================================================== */

.capability-section {
  padding: 5rem 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border-light);
}

@media (min-width: 768px) {
  .capability-section {
    padding: 7rem 0;
  }
}

.capability-row {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 5rem;
}

.capability-row:last-child {
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .capability-row {
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
  }
}

.capability-row.reverse {
  direction: ltr;
}

@media (min-width: 1024px) {
  .capability-row.reverse .cap-content {
    order: 2;
  }
  .capability-row.reverse .cap-media {
    order: 1;
  }
}

.pill-category {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  background: rgba(2, 132, 199, 0.1);
  color: var(--color-brand-ink);
  margin-bottom: 1rem;
}

.cap-title {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.cap-desc {
  font-size: 14px;
  color: rgba(15, 23, 42, 0.68);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.cap-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.cap-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(15, 23, 42, 0.8);
  background: var(--color-white);
  border: 1px solid var(--color-border-medium);
  box-shadow: 0 4px 12px -6px rgba(15, 23, 42, 0.08);
}

.cap-tag svg {
  color: var(--color-brand-ink);
}

.cap-media {
  width: 100%;
  min-width: 0;
}

.cap-media-frame {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-xl);
  background: var(--color-white);
  width: 100%;
  height: auto;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 1024px) {
  .cap-media-frame:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 60px -16px rgba(15, 23, 42, 0.16);
  }
}

.cap-media-img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  content-visibility: visible;
}

/* ==========================================================================
   Results & Impact (Dark Theme Section with 44px Curved Border)
   ========================================================================== */

.dark-curved-section {
  position: relative;
  background: var(--color-ink);
  color: var(--color-white);
  border-top-left-radius: var(--radius-3xl);
  border-top-right-radius: var(--radius-3xl);
  padding: 5rem 0;
  box-shadow: 0 -24px 70px -40px rgba(2, 6, 23, 0.6);
  overflow: hidden;
}

@media (min-width: 768px) {
  .dark-curved-section {
    padding: 7rem 0;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  margin-top: 3.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background: var(--color-ink);
  padding: 2rem 1.75rem;
}

.stat-number {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.stat-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.stat-meter-bar {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  margin-top: 1.5rem;
  overflow: hidden;
}

.stat-meter-fill {
  height: 100%;
  background: var(--grad-accent);
  border-radius: var(--radius-full);
}

/* Testimonial Cards */
.testimonials-row {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .testimonials-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--color-white);
  color: var(--color-ink);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(15, 23, 42, 0.85);
  font-style: normal;
  margin-bottom: 1.5rem;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 1.8em;
  color: var(--color-brand-ink);
  line-height: 0;
  vertical-align: -0.2em;
}

.testimonial-author {
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-light);
}

.author-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-ink);
}

.author-meta {
  font-size: 12.5px;
  color: rgba(15, 23, 42, 0.55);
}

/* ==========================================================================
   Interactive Food Cost & Margin Calculator
   ========================================================================== */

.calc-section {
  padding: 5rem 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border-light);
}

@media (min-width: 768px) {
  .calc-section {
    padding: 7rem 0;
  }
}

.calc-wrapper {
  background: #f8fafc;
  border-radius: var(--radius-3xl);
  border: 1px solid var(--color-border-medium);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  margin-top: 3rem;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .calc-wrapper {
    grid-template-columns: 1.2fr 1fr;
    padding: 3rem;
  }
}

.calc-sliders {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-ink);
}

.slider-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-brand-ink);
}

.custom-range {
  width: 100%;
  accent-color: var(--color-brand);
  height: 8px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  outline: none;
  cursor: pointer;
  touch-action: pan-x !important;
}

.calc-results-card {
  background: var(--color-ink);
  color: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-result-metric {
  margin-bottom: 1.5rem;
}

.calc-metric-title {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.25rem;
}

.calc-metric-number {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1;
}

.calc-metric-number.highlight {
  color: var(--color-brand-soft);
}

/* ==========================================================================
   Hardware Showcase
   ========================================================================== */

.hardware-section {
  padding: 5rem 0;
  background: #f8fafc;
  border-top: 1px solid var(--color-border-light);
}

@media (min-width: 768px) {
  .hardware-section {
    padding: 7rem 0;
  }
}

.hardware-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 3rem;
}

.hardware-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hardware-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.hardware-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(2, 132, 199, 0.08);
  color: var(--color-brand-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.hardware-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.hardware-desc {
  font-size: 13px;
  color: rgba(15, 23, 42, 0.65);
  line-height: 1.55;
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */

.faq-section {
  position: relative;
  background: var(--color-ink);
  color: var(--color-white);
  border-top-left-radius: var(--radius-3xl);
  border-top-right-radius: var(--radius-3xl);
  padding: 5rem 0;
  box-shadow: 0 -24px 70px -40px rgba(2, 6, 23, 0.6);
}

@media (min-width: 768px) {
  .faq-section {
    padding: 7rem 0;
  }
}

.faq-grid {
  display: grid;
  gap: 3rem;
  margin-top: 3rem;
}

@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4.5rem;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question-btn:hover {
  color: var(--color-white);
}

.faq-toggle-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: transform 0.3s ease, background 0.2s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  background: var(--color-brand);
  color: var(--color-white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 260px;
  opacity: 1;
}

.faq-answer p {
  padding-bottom: 1.25rem;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer-section {
  background: var(--color-white);
  padding: 4.5rem 0 2rem;
  border-top: 1px solid var(--color-border-light);
}

.footer-cta-banner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--color-border-light);
}

@media (min-width: 768px) {
  .footer-cta-banner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 3.5rem 0;
}

@media (min-width: 768px) {
  .footer-links-grid {
    grid-template-columns: 1.2fr repeat(4, 1fr);
  }
}

.footer-nav-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.65);
  margin-bottom: 1rem;
}

.footer-nav-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav-col a {
  font-size: 13.5px;
  color: rgba(15, 23, 42, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav-col a:hover {
  color: var(--color-brand-ink);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border-light);
  font-size: 12.5px;
  color: rgba(15, 23, 42, 0.55);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ==========================================================================
   Modals (Demo Booking, POS Ticket, UPI QR)
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 20, 0.76);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 99999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.modal-overlay::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

body.modal-open .nav-wrapper {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-card {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  max-width: 520px;
  width: 100%;
  box-shadow: 0 32px 80px -20px rgba(2, 6, 23, 0.5), 0 0 0 1px rgba(15, 23, 42, 0.08);
  padding: 1.75rem 1.75rem 1.5rem;
  position: relative;
  transform: translateY(18px) scale(0.97);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  max-height: calc(100dvh - 3rem);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  margin: auto;
  z-index: 100000 !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.modal-card::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-surface);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink);
  transition: background 0.2s ease;
  touch-action: manipulation;
}

.modal-close-btn:hover {
  background: #e2e8f0;
}

.form-group {
  margin-bottom: 0.95rem;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-ink);
}

.form-input, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-medium);
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  touch-action: manipulation;
}

.form-input:focus, .form-select:focus {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.18);
}

/* Footer Callback Action Link */
.footer-link-action {
  background: none;
  border: none;
  padding: 0;
  color: var(--color-brand-soft);
  font: inherit;
  font-size: inherit;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link-action:hover {
  color: var(--color-white);
  transform: translateX(2px);
}

/* Customer Care Callback Modal Specifics */
.callback-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.2);
  color: var(--color-brand-ink);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.callback-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  position: relative;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.callback-pulse-dot::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.6);
  animation: pulse-ring 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.required-star {
  color: #ef4444;
  margin-left: 2px;
}

.phone-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.phone-prefix {
  position: absolute;
  left: 0.85rem;
  font-size: 13.5px;
  font-weight: 600;
  color: #64748b;
  pointer-events: none;
  user-select: none;
}

.phone-has-prefix {
  padding-left: 3rem !important;
}

.form-hint {
  display: block;
  font-size: 11.5px;
  color: #64748b;
  margin-top: 0.3rem;
  line-height: 1.35;
}

.callback-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 0.85rem;
  font-size: 11px;
  color: #64748b;
  flex-wrap: wrap;
}

.callback-trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Callback Modal Success State */
.callback-success-avatar-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.15rem;
}

.callback-success-icon-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  color: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -4px rgba(2, 132, 199, 0.25);
}

.callback-success-check-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
}

.callback-ticket-card {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1.15rem;
  margin: 1rem auto 0;
  max-width: 440px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ticket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  padding-bottom: 0.4rem;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.08);
}

.ticket-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ticket-label {
  color: #64748b;
  font-weight: 500;
}

.ticket-val {
  font-weight: 600;
  color: var(--color-ink);
  text-align: right;
}

.ticket-val.highlight {
  color: var(--color-brand-ink);
  font-weight: 700;
}

.priority-badge {
  background: #ecfdf5;
  color: #047857;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

@keyframes spin-infinite {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin-animation {
  animation: spin-infinite 0.8s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 70;
  background: #25d366;
  color: var(--color-white);
  padding: 0.85rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 16px 36px -10px rgba(37, 211, 102, 0.7);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  touch-action: manipulation;
}

.floating-whatsapp:hover {
  padding-right: 1.25rem;
  transform: translateY(-2px);
}

.floating-whatsapp span {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  transition: max-width 0.4s ease, margin-left 0.4s ease;
}

.floating-whatsapp:hover span {
  max-width: 130px;
  margin-left: 0.6rem;
}

@media (max-width: 767px) {
  .floating-whatsapp {
    display: none !important;
  }
}

/* Mobile Sticky Bottom Action Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--color-border-light);
  padding: 0.65rem 1rem;
  padding-bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  gap: 0.75rem;
  z-index: 60;
  box-shadow: 0 -8px 24px -10px rgba(2, 6, 23, 0.12);
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none;
  }
}

/* ==========================================================================
   Mobile Swipe Rails & Horizontal Gestures Engine
   ========================================================================== */
.mobile-swipe-badge {
  display: none;
}

@media (max-width: 767px) {
  .mobile-swipe-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-brand-ink);
    background: var(--color-brand-light);
    padding: 3px 9px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(2, 132, 199, 0.2);
    margin-top: 0.75rem;
    user-select: none;
    -webkit-user-select: none;
  }

  .dark-section .mobile-swipe-badge {
    background: rgba(56, 189, 248, 0.12);
    color: var(--color-brand-soft);
    border-color: rgba(56, 189, 248, 0.25);
  }

  .swipe-arrow {
    display: inline-block;
    animation: swipe-hint 1.8s ease-in-out infinite alternate;
  }

  @keyframes swipe-hint {
    0% { transform: translateX(-3px); }
    100% { transform: translateX(3px); }
  }

  /* Universal Swipe Rail System for Bento Cards, Industry Cards, Testimonials, Hardware */
  .features-bento-grid,
  .types-grid,
  .testimonials-row,
  .hardware-grid {
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x pan-y !important;
    overscroll-behavior-x: contain !important;
    gap: 1rem !important;
    padding: 0.75rem 0.5rem 1.25rem !important;
    margin-inline: -1.25rem !important;
    padding-inline: 1.25rem !important;
    margin-top: 1.5rem !important;
    scrollbar-width: none !important;
  }

  .features-bento-grid::-webkit-scrollbar,
  .types-grid::-webkit-scrollbar,
  .testimonials-row::-webkit-scrollbar,
  .hardware-grid::-webkit-scrollbar {
    display: none !important;
  }

  .feature-bento-card {
    flex: 0 0 82vw !important;
    max-width: 330px !important;
    scroll-snap-align: center !important;
    min-height: 330px !important;
  }

  .bento-card-dark {
    flex: 0 0 86vw !important;
    max-width: 350px !important;
    scroll-snap-align: center !important;
  }

  .type-card {
    flex: 0 0 76vw !important;
    max-width: 290px !important;
    scroll-snap-align: center !important;
  }

  .testimonial-card {
    flex: 0 0 82vw !important;
    max-width: 320px !important;
    scroll-snap-align: center !important;
  }

  .hardware-card {
    flex: 0 0 76vw !important;
    max-width: 280px !important;
    scroll-snap-align: center !important;
  }

  /* Simulator Mobile Grid Adjustments */
  .sim-items-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem !important;
  }
}

/* ==========================================================================
   Responsive Form Grid & Modal Header Improvements
   ========================================================================== */
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 520px) {
  .form-row-2col {
    grid-template-columns: 1fr 1fr;
  }
}

.modal-card-header {
  padding-right: 2.5rem; /* Prevents close button collision with title */
}

/* ==========================================================================
   Custom Dropdown Menu System (Silky Smooth, Accessible & Modern)
   ========================================================================== */
.custom-select-wrap {
  position: relative;
  width: 100%;
}

.custom-select-native-hidden {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  z-index: -1 !important;
}

.custom-select-trigger {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-medium);
  background: var(--color-white);
  color: var(--color-ink);
  font-size: 13.5px;
  font-family: inherit;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  cursor: pointer;
  outline: none;
  text-align: left;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  touch-action: manipulation;
  user-select: none;
}

.custom-select-trigger:hover {
  border-color: rgba(2, 132, 199, 0.45);
  background: #f8fafc;
}

.custom-select-wrap.is-open .custom-select-trigger,
.custom-select-trigger:focus {
  border-color: var(--color-brand);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.16);
}

.custom-select-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--color-ink);
  font-size: 13.5px;
  font-weight: 500;
}

.custom-select-chevron {
  color: #64748b;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.custom-select-wrap.is-open .custom-select-chevron {
  transform: rotate(180deg);
  color: var(--color-brand);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  box-shadow: 0 18px 40px -10px rgba(2, 6, 23, 0.22), 0 4px 12px rgba(2, 132, 199, 0.08);
  padding: 0.35rem;
  max-height: 220px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.custom-select-menu::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.custom-select-wrap.is-open .custom-select-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.custom-select-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-ink);
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.custom-select-item:hover {
  background: rgba(2, 132, 199, 0.08);
  color: var(--color-brand-ink);
}

.custom-select-item.is-selected {
  background: rgba(2, 132, 199, 0.12);
  color: var(--color-brand-ink);
  font-weight: 600;
}

.custom-select-item-check {
  color: var(--color-brand);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.15s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.custom-select-item.is-selected .custom-select-item-check {
  opacity: 1;
  transform: scale(1);
}

/* Fallback styling for standard native select */
.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 13px 13px;
  padding-right: 2.4rem;
  cursor: pointer;
  background-color: var(--color-white);
}

/* ==========================================================================
   Mobile Modals & Popups Fixes
   ========================================================================== */
@media (max-width: 640px) {
  .modal-overlay {
    padding: 0.5rem;
    align-items: center;
  }
  .modal-card {
    padding: 1.35rem 1.15rem 1.15rem;
    border-radius: 20px;
    max-height: 93dvh;
    width: 100%;
    max-width: 100%;
  }
  .modal-close-btn {
    top: 0.85rem;
    right: 0.85rem;
    width: 36px;
    height: 36px;
    font-size: 22px;
  }
  .modal-card .h-display {
    font-size: 21px !important;
  }
  .form-input, .form-select, .custom-select-trigger {
    font-size: 15.5px !important;
    padding: 0.72rem 0.85rem;
  }
  .custom-select-label {
    font-size: 15px;
  }
  .custom-select-item {
    padding: 0.72rem 0.85rem;
    font-size: 14.5px;
  }
  .callback-ticket-card {
    padding: 0.8rem 0.95rem;
  }
  .ticket-row {
    font-size: 12px;
    gap: 0.5rem;
  }
}

/* ==========================================================================
   Display Ergonomics: 27-inch Widescreen Scaling & Mobile Readability Floor
   ========================================================================== */

/* 1. Mobile Readability Floor: Ensure text is never uncomfortably small */
@media (max-width: 767px) {
  html {
    font-size: 15.5px;
  }
  .prose-body {
    font-size: 14.5px !important;
    line-height: 1.62;
  }
  .bento-desc, .type-desc, .faq-answer p {
    font-size: 14px !important;
    line-height: 1.55;
  }
  .eyebrow, .pill-category {
    font-size: 11.5px !important;
    letter-spacing: 0.12em;
  }
}

/* 2. 16"+ Laptops & Medium Desktops (1440px to 1679px) */
@media (min-width: 1440px) {
  html {
    font-size: 16.5px;
  }
  .container {
    max-width: 1380px;
    padding-inline: 2.5rem;
  }
  .nav-container {
    max-width: 1420px;
  }
}

/* 3. 27-inch Screens & Standard 1440p Desktops (1680px to 2199px) */
@media (min-width: 1680px) {
  html {
    font-size: 18px;
  }
  .container {
    max-width: 1580px;
    padding-inline: 3rem;
  }
  .nav-container {
    max-width: 1620px;
  }
  .nav-link {
    font-size: 14px;
    padding: 0.45rem 0.9rem;
  }
  .hero-grid {
    gap: 3.5rem;
  }
  .features-bento-grid, .types-grid, .hardware-grid {
    gap: 1.75rem;
  }
  .footer-nav-grid {
    gap: 3rem;
  }
}

/* 4. 27-inch 1440p (100% DPI) & 4K Ultrawide Displays (>= 2200px) */
@media (min-width: 2200px) {
  html {
    font-size: 19.5px;
  }
  .container {
    max-width: 1880px;
    padding-inline: 4rem;
  }
  .nav-container {
    max-width: 1920px;
  }
  .nav-link {
    font-size: 15px;
    padding: 0.5rem 1rem;
  }
  .hero-grid {
    gap: 4.5rem;
  }
  .features-bento-grid, .types-grid, .hardware-grid {
    gap: 2.25rem;
  }
  .footer-nav-grid {
    gap: 4rem;
  }
}
