html {
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  background-color: #044332;
}

/* ==========================================================================
   M24Soft Enterprise Corporate Portal - Core Design System & Styles
   A Concern of M24 International | Est. 2026 (Experience Since 2020)
   ========================================================================== */

:root {
  --primary-deep: #044332;
  --primary-base: #059669;
  --primary-light: #10b981;
  --brand-mint: #6ee7b7;
  --brand-cyan: #14b8a6;
  --brand-lime: #a7f3d0;
  --bg-gradient: linear-gradient(155deg, #065f46 0%, #0d966e 32%, #10b981 70%, #059669 100%);
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.22);
  --glass-hover: rgba(255, 255, 255, 0.18);
  --text-main: #ffffff;
  --text-sub: #d1fae5;
}

/* Light / Dark Mode Tokens */
body {
  max-width: 100vw;
  width: 100%;
  background-color: #044332;
  background:
    radial-gradient(ellipse 90% 45% at 50% -5%, rgba(167, 243, 208, 0.35), transparent 70%),
    radial-gradient(circle 750px at 90% 25%, rgba(52, 211, 153, 0.28), transparent 70%),
    radial-gradient(circle 650px at 10% 75%, rgba(20, 184, 166, 0.24), transparent 70%),
    var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: 'Hind Siliguri', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: clip;
  min-height: 100vh;
}

html[lang="en"] body {
  max-width: 100vw;
  width: 100%;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Ambient Blobs */
.glow-blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

/* Glassmorphic Surfaces */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 45px -12px rgba(0, 35, 22, 0.22);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 25px 50px -10px rgba(0, 35, 22, 0.32);
}

/* Frosted Glass Subcard - Harmonized with luminous background */
.frosted-subcard {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 8px 24px -4px rgba(132, 243, 198, 0.18);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.frosted-subcard:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.35), 0 12px 28px -4px rgba(0, 30, 18, 0.26);
  transform: translateY(-2px);
}


.glass-nav {
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
  background: rgba(4, 67, 50, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 25px rgba(0, 30, 20, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dropdown Panel */
.dropdown-panel {
  background: linear-gradient(160deg, #065f46 0%, #033a2a 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 50px -10px rgba(0, 30, 20, 0.5), 0 0 25px rgba(110, 231, 183, 0.25);
}

/* Custom Range Slider */
input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  height: 8px;
  outline: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #10b981;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.15s ease;
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Accordion Smooth Expand */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease;
  opacity: 0;
}

.faq-answer.open {
  max-height: 400px;
  opacity: 1;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: #064e3b;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.55);
}

/* Simulator Specific Styles */
.sim-phone-screen {
  background: #0f172a;
  border: 10px solid #1e293b;
  border-radius: 36px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.sim-phone-notch {
  width: 110px;
  height: 20px;
  background: #1e293b;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 20;
}

/* Thermal Receipt Paper Styling */
.thermal-receipt {
  background: #fbfbf7;
  color: #1e293b;
  font-family: 'Courier New', Courier, monospace;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}

.thermal-receipt::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: radial-gradient(circle, transparent, transparent 50%, #fbfbf7 50%, #fbfbf7 100%);
  background-size: 16px 16px;
}

/* Interactive Dialpad Button */
.dial-key {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.15s ease;
}

.dial-key:active {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0.95);
}

/* Pulse animation utility */
@keyframes softPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.85;
    transform: scale(1.02);
  }
}

.animate-soft-pulse {
  animation: softPulse 2.5s infinite ease-in-out;
}

/* ==========================================================================
   Squircle (Superellipse) Icon Container Styles
   ========================================================================== */
.squircle-icon-wrap {
  position: relative;
  border-radius: 25%;
  -webkit-corner-smoothing: 1;
  corner-smoothing: 1;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.24) 0%, rgba(52, 211, 153, 0.10) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 6px 16px -3px rgba(0, 35, 22, 0.35),
    0 2px 5px rgba(0, 0, 0, 0.12),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.squircle-icon-wrap:hover {
  transform: translateY(-1px) scale(1.04);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.30) 0%, rgba(52, 211, 153, 0.18) 100%);
  border-color: rgba(52, 211, 153, 0.7);
  box-shadow:
    0 10px 24px -3px rgba(0, 45, 30, 0.45),
    0 0 14px rgba(52, 211, 153, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Professional Navigation Bar & Anti-Wrap Architecture
   ========================================================================== */
.nav-capsule-bar {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  padding: 4px 6px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 4px 12px rgba(0, 25, 15, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-capsule-item {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  text-decoration: none !important;
  font-weight: 600;
  border-radius: 9999px;
  padding: 5px 8px;
  color: rgba(255, 255, 255, 0.88);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1.2;
}

@media (min-width: 1280px) {
  .nav-capsule-item {
    padding: 6px 11px;
  }
}

.nav-capsule-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.nav-capsule-item span {
  white-space: nowrap !important;
  word-break: keep-all !important;
}

.nav-micro-chip {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  line-height: 1 !important;
  padding: 2px 5.5px !important;
  border-radius: 9999px !important;
  margin-left: 5px !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

.nav-chip-live {
  background: rgba(110, 231, 183, 0.22) !important;
  color: #6ee7b7 !important;
  border: 1px solid rgba(110, 231, 183, 0.45) !important;
}

.nav-chip-ai {
  background: rgba(110, 231, 183, 0.18) !important;
  color: #6ee7b7 !important;
  border: 1px solid rgba(110, 231, 183, 0.4) !important;
}