/* ==========================================================================
   JISAN-IT Corporate Website - Design System & Modern Stylesheet
   Est. 2002 - An Enterprise of Software Development
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Root Variables & Color Palettes (Dark Mode Default + Light Mode Support)
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --primary-emerald: #10b981;
  --primary-emerald-hover: #059669;
  --primary-emerald-glow: rgba(16, 185, 129, 0.28);
  --primary-cyan: #06b6d4;
  --primary-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  /* Dark Theme Palette (Default) */
  --bg-deep: #070b13;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-card-solid: #0f172a;
  --bg-surface: #1e293b;
  --bg-alt: #0a0f1d;
  --header-bg: rgba(7, 11, 19, 0.88);
  --border-color: rgba(255, 255, 255, 0.09);
  --border-glow: rgba(16, 185, 129, 0.35);

  /* Typography Colors */
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0f172a;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #3b82f6 100%);
  --gradient-text: linear-gradient(135deg, #34d399 0%, #38bdf8 50%, #a78bfa 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);

  /* Shadows & Elevations */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.22);
  --shadow-cyan-glow: 0 0 30px rgba(6, 182, 212, 0.25);

  /* Layout & Fonts */
  --font-en: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-bn: 'Hind Siliguri', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Mode Overrides */
[data-theme="light"] {
  --bg-deep: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.96);
  --bg-card-hover: #ffffff;
  --bg-card-solid: #ffffff;
  --bg-surface: #f1f5f9;
  --bg-alt: #f1f5f9;
  --header-bg: rgba(255, 255, 255, 0.95);
  --border-color: rgba(15, 23, 42, 0.12);
  --border-glow: rgba(16, 185, 129, 0.4);

  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #f8fafc;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.18);
}

/* Light Mode Component Refinements */
[data-theme="light"] .lead-engineer-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(6, 182, 212, 0.08) 100%);
  border-color: rgba(16, 185, 129, 0.3);
}

[data-theme="light"] .pill-chip {
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

[data-theme="light"] .demo-screen-bar {
  background: #e2e8f0;
}

[data-theme="light"] .modal-header,
[data-theme="light"] .modal-footer {
  background: #f1f5f9;
}

[data-theme="light"] .cart-item {
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .hero-badge {
  background: #ecfdf5;
  border-color: rgba(16, 185, 129, 0.45);
  color: #065f46;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.12);
}

[data-theme="light"] .hero-badge .badge-dot {
  background-color: #059669;
  box-shadow: 0 0 8px #10b981;
}

/* --------------------------------------------------------------------------
   2. Reset & Base Setup
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-bn);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

html[lang="en"] body,
html[lang="en"] button,
html[lang="en"] input,
html[lang="en"] select,
html[lang="en"] textarea {
  font-family: var(--font-en);
}

html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] h4,
html[lang="en"] h5,
html[lang="en"] h6 {
  font-family: var(--font-en);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-bn);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
  position: relative;
}

.text-center {
  text-align: center;
}

.text-emerald {
  color: var(--primary-emerald) !important;
}

.text-cyan {
  color: var(--primary-cyan) !important;
}

.text-purple {
  color: var(--accent-purple) !important;
}

.text-amber {
  color: var(--accent-amber) !important;
}

.text-rose {
  color: var(--accent-rose) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.hidden {
  display: none !important;
}

/* --------------------------------------------------------------------------
   3. Top Announcement Bar
   -------------------------------------------------------------------------- */
.announcement-bar {
  background: linear-gradient(90deg, #09131f 0%, #064e3b 50%, #0c2135 100%);
  border-bottom: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.88rem;
  padding: 8px 0;
  color: #e2e8f0;
  position: relative;
  z-index: 1001;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.announcement-text {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-pill {
  background: rgba(16, 185, 129, 0.25);
  border: 1px solid rgba(52, 211, 153, 0.4);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: #34d399;
}

.announcement-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.announcement-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  font-size: 0.85rem;
}

.announcement-link:hover {
  color: #34d399;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.lang-btn:hover {
  background: var(--primary-emerald);
  color: #ffffff;
  border-color: var(--primary-emerald);
}

/* --------------------------------------------------------------------------
   4. Site Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo-img,
.logo-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 3px 8px rgba(147, 51, 234, 0.25));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-logo:hover .brand-logo-img,
.brand-logo:hover .logo-svg {
  transform: scale(1.08) rotate(3deg);
}

.logo-glow {
  position: absolute;
  inset: -4px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(16, 185, 129, 0.15) 50%, transparent 75%);
  filter: blur(8px);
  z-index: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1;
}

.brand-title .jisan {
  color: #10b981;
}

.brand-title .hyphen {
  color: var(--text-secondary);
}

.brand-title .it {
  color: #ef4444;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-top: 3px;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
}

.desktop-nav .nav-links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav .nav-links li {
  display: flex;
  align-items: center;
}

.nav-link {
  font-size: clamp(0.85rem, 0.94vw, 0.95rem);
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 4px;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-emerald);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  flex-shrink: 0;
}

.theme-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.theme-btn:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--primary-emerald);
  color: var(--primary-emerald);
}

.btn-whatsapp-header {
  background: #25d366;
  color: #ffffff;
  padding: 9px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-whatsapp-header:hover {
  background: #1eb855;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

.btn-primary-header {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px var(--primary-emerald-glow);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-emerald-glow);
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.mobile-toggle .bar {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-card-solid);
  z-index: 2500;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 35px rgba(0, 0, 0, 0.6);
  transform: translateX(105%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  padding: 24px;
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 1.35rem;
  font-weight: 900;
}

.mobile-brand-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(147, 51, 234, 0.25));
}

.mobile-brand .jisan {
  color: #10b981;
}

.mobile-brand .hyphen {
  color: var(--text-secondary);
}

.mobile-brand .it {
  color: #ef4444;
}

.mobile-close {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-nav-link i {
  width: 20px;
  color: var(--primary-emerald);
}

.mobile-nav-link:hover {
  background: var(--bg-surface);
  color: var(--primary-emerald);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.mobile-contact-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface);
  padding: 12px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.mobile-contact-pill i {
  font-size: 1.5rem;
  color: var(--primary-emerald);
}

.mobile-contact-pill strong {
  display: block;
  font-size: 0.95rem;
}

.mobile-contact-pill small {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.mobile-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-call-mobile,
.btn-whatsapp-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-call-mobile {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-whatsapp-mobile {
  background: #25d366;
  color: #ffffff;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2400;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   5. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 70px 0 40px;
  overflow: hidden;
}

.hero-background-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}

.orb-1 {
  width: 500px;
  height: 500px;
  top: -150px;
  left: -100px;
  background: radial-gradient(circle, #10b981 0%, #06b6d4 100%);
}

.orb-2 {
  width: 450px;
  height: 450px;
  right: -50px;
  top: 100px;
  background: radial-gradient(circle, #8b5cf6 0%, #3b82f6 100%);
}

.glow-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.14);
  border: 1.5px solid rgba(52, 211, 153, 0.45);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: clamp(0.76rem, 2.3vw, 0.88rem);
  font-weight: 700;
  color: #34d399;
  margin-bottom: 22px;
  max-width: 100%;
  line-height: 1.35;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.15);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {

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

  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
}

.hero-title {
  font-size: 3.1rem;
  line-height: 1.25;
  margin-bottom: 22px;
}

.title-top {
  display: block;
  font-weight: 800;
  color: var(--text-main);
}

.title-gradient {
  display: block;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px var(--primary-emerald-glow);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px var(--primary-emerald-glow);
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.btn-secondary {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 13px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.98rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-outline-call {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-outline-call:hover {
  background: var(--primary-emerald);
  color: #ffffff;
  border-color: var(--primary-emerald);
  box-shadow: 0 4px 16px var(--primary-emerald-glow);
}

[data-theme="light"] .btn-outline-call {
  border-color: rgba(5, 150, 105, 0.5);
  color: #059669;
  background: rgba(16, 185, 129, 0.08);
}

[data-theme="light"] .btn-outline-call:hover {
  background: #059669;
  color: #ffffff;
  border-color: #059669;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.trust-item i {
  font-size: 1rem;
}

/* Hero Visual Card */
.visual-card-wrapper {
  position: relative;
}

.visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--bg-card);
  transition: var(--transition);
}

.visual-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 25px 60px rgba(16, 185, 129, 0.25);
}

.hero-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.visual-card:hover .hero-image {
  transform: scale(1.03);
}

.visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 11, 19, 0.85) 100%);
  pointer-events: none;
}

/* Floating Micro Badges */
.floating-badge {
  position: absolute;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  animation: floatAnim 4s ease-in-out infinite alternate;
}

@keyframes floatAnim {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-8px);
  }
}

.badge-pos {
  top: 20px;
  left: -20px;
}

.badge-erp {
  bottom: 25px;
  right: -15px;
  animation-delay: -2s;
}

.badge-exp {
  top: 25px;
  right: -15px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 18px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(6, 95, 70, 0.95));
  color: #ffffff;
  border-color: #34d399;
  animation-delay: -1s;
}

.exp-number {
  font-family: var(--font-en);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.exp-text {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 4px;
}

.badge-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.bg-cyan-glow {
  background: rgba(6, 182, 212, 0.2);
  color: var(--primary-cyan);
}

.bg-emerald-glow {
  background: rgba(16, 185, 129, 0.2);
  color: var(--primary-emerald);
}

.badge-info {
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.badge-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Hero Metrics Ribbon */
.hero-metrics-container {
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.metric-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  padding: 22px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
  min-width: 0;
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: var(--shadow-glow);
}

.metric-icon {
  width: 48px;
  height: 48px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary-emerald);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}

.metric-data {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.metric-num {
  font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif !important;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main);
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}

[data-theme="light"] .metric-num {
  color: #0f172a;
}

[data-theme="light"] .metric-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .metric-card:hover {
  border-color: var(--primary-emerald);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
}

.metric-label {
  font-size: 0.86rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Global Crisp Numbers Rule */
.phone-digits,
.service-num,
.exp-number,
.price,
.cart-item-price,
.total-amount,
.est-price,
.acc-val,
.calc-badge {
  font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif !important;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   6. About Section
   -------------------------------------------------------------------------- */
.about-section {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 50px;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.about-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-image-wrapper:hover .about-img {
  transform: scale(1.03);
}

.about-badge-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-badge-card i {
  font-size: 1.8rem;
}

.about-badge-card strong {
  display: block;
  font-size: 1rem;
  color: #ffffff;
}

.about-badge-card p {
  font-size: 0.82rem;
  color: #cbd5e1;
  margin: 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-emerald);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.3rem;
  line-height: 1.3;
  margin-bottom: 16px;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.6;
}

.about-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Founder Leadership Card */
.founder-card {
  background: var(--bg-card);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-left: 4px solid var(--primary-emerald);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.founder-avatar {
  width: 52px;
  height: 52px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary-emerald);
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.founder-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.founder-title {
  font-size: 0.82rem;
  color: var(--primary-cyan);
  display: block;
  margin-bottom: 6px;
}

.founder-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.founder-contact-links a:hover {
  color: var(--primary-emerald);
}

.about-checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-main);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   7. 12 Services Grid Section
   -------------------------------------------------------------------------- */
.services-section {
  background-color: var(--bg-deep);
}

.services-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--primary-emerald);
  color: #ffffff;
  border-color: var(--primary-emerald);
  box-shadow: 0 4px 14px var(--primary-emerald-glow);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.4);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-lg);
}

.service-card.featured {
  border-color: rgba(16, 185, 129, 0.35);
}

.featured-ribbon {
  position: absolute;
  top: 16px;
  right: -32px;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 34px;
  transform: rotate(45deg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  transition: var(--transition);
}

.icon-finance {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.icon-inventory {
  background: rgba(6, 182, 212, 0.15);
  color: #06b6d4;
}

.icon-pos {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.icon-hosting {
  background: rgba(139, 92, 246, 0.15);
  color: #8b5cf6;
}

.icon-marketing {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.icon-ecommerce {
  background: rgba(244, 63, 94, 0.15);
  color: #f43f5e;
}

.icon-voip {
  background: rgba(20, 184, 166, 0.15);
  color: #14b8a6;
}

.icon-education {
  background: rgba(99, 102, 241, 0.15);
  color: #6366f1;
}

.icon-hospital {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.icon-ngo {
  background: rgba(217, 119, 6, 0.15);
  color: #d97706;
}

.icon-mobile {
  background: rgba(14, 165, 233, 0.15);
  color: #0ea5e9;
}

.icon-payment {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
}

.service-card:hover .service-icon-box {
  transform: scale(1.1) rotate(-4deg);
}

.service-num {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-muted);
  opacity: 0.6;
}

.service-title {
  font-family: var(--font-en);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.service-subtitle {
  font-size: 0.92rem;
  color: var(--primary-emerald);
  font-weight: 600;
  margin-bottom: 14px;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.service-highlights li {
  font-size: 0.84rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-highlights li i {
  color: var(--primary-emerald);
  font-size: 0.75rem;
}

.service-footer {
  margin-top: auto;
}

.btn-service-details {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  transition: var(--transition);
}

.btn-service-details:hover {
  background: var(--primary-emerald);
  color: #ffffff;
  border-color: var(--primary-emerald);
}

/* --------------------------------------------------------------------------
   8. Interactive Live Software Demo Section
   -------------------------------------------------------------------------- */
.demo-section {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.demo-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.demo-tabs-nav {
  display: flex;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
}

.demo-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 16px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.demo-tab-btn:hover {
  color: var(--text-main);
}

.demo-tab-btn.active {
  color: var(--primary-emerald);
  border-bottom-color: var(--primary-emerald);
  background: rgba(16, 185, 129, 0.06);
}

.demo-screen-box {
  padding: 0;
}

.demo-screen-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-color);
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red {
  background: #ef4444;
}

.dot-yellow {
  background: #f59e0b;
}

.dot-green {
  background: #10b981;
}

.window-title {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #34d399;
}

.live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.demo-tab-content {
  display: none;
  padding: 24px;
}

.demo-tab-content.active {
  display: block;
}

/* POS Demo Layout */
.pos-demo-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.pos-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.pos-search-bar i {
  color: var(--primary-emerald);
  font-size: 1.2rem;
}

.pos-search-bar input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  width: 100%;
  font-size: 0.88rem;
}

.pos-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pos-item-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pos-item-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-emerald);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.15);
}

.item-tag {
  font-size: 0.7rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 2px 6px;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 6px;
}

.pos-item-card h5 {
  font-size: 0.88rem;
  margin-bottom: 6px;
  flex-grow: 1;
}

.pos-item-card .price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-emerald);
  margin-bottom: 8px;
}

.btn-add-item {
  background: var(--primary-emerald);
  color: #ffffff;
  border: none;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

/* POS Billing Col */
.pos-billing-col {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.billing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-color);
  margin-bottom: 14px;
}

.billing-header h4 {
  font-size: 1rem;
}

.invoice-num {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 16px;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-sm);
}

.cart-item-name strong {
  display: block;
  font-size: 0.84rem;
}

.cart-item-name small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.cart-item-price {
  font-weight: 700;
  color: var(--primary-emerald);
}

.billing-summary {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.summary-line.total {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  padding-top: 6px;
  border-top: 1px solid var(--border-color);
}

.total-amount {
  color: var(--primary-emerald);
}

.pos-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.btn-print-receipt {
  flex: 1;
  background: var(--primary-emerald);
  color: #ffffff;
  border: none;
  padding: 10px;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-clear-cart {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.print-notice {
  margin-top: 12px;
  padding: 10px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--primary-emerald);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: #34d399;
}

/* Accounting Tab Layout */
.acc-metrics-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.acc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--radius-md);
}

.acc-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.acc-val {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 800;
  margin: 6px 0;
}

.acc-trend {
  font-size: 0.75rem;
  font-weight: 600;
}

.acc-table-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.acc-table-box h5 {
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.table-responsive {
  overflow-x: auto;
}

.acc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: left;
}

.acc-table th {
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-muted);
  font-weight: 600;
}

.acc-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border-color);
}

.badge-success {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 600;
}

/* School ERP Simulator */
.school-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.school-stat-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.school-stat-pill i {
  font-size: 1.6rem;
  color: var(--primary-cyan);
}

.school-stat-pill strong {
  display: block;
  font-size: 1.15rem;
}

.school-stat-pill small {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.school-interactive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.school-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.school-panel h4 {
  font-size: 1rem;
  margin-bottom: 14px;
}

.form-group-demo {
  margin-bottom: 14px;
}

.form-group-demo label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.input-demo {
  width: 100%;
  background: var(--bg-deep);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}

.student-card-preview {
  background: var(--bg-deep);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--radius-md);
}

.student-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 12px;
}

.gpa-badge {
  background: linear-gradient(135deg, #10b981, #06b6d4);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.84rem;
}

.student-marks-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.mark-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
}

.btn-outline-small {
  background: transparent;
  border: 1px solid var(--primary-emerald);
  color: #34d399;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Hospital Simulator */
.hospital-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

.hospital-bed-section,
.hospital-lab-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.hospital-bed-section h4,
.hospital-lab-section h4 {
  font-size: 1rem;
  margin-bottom: 16px;
}

.bed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.bed-item {
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.bed-item i {
  font-size: 1.4rem;
  margin-bottom: 6px;
  display: block;
}

.bed-item span {
  font-size: 0.84rem;
  font-weight: 700;
  display: block;
}

.bed-item small {
  font-size: 0.72rem;
  display: block;
  margin-top: 4px;
}

.bed-item.occupied {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.bed-item.available {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
  cursor: pointer;
}

.bed-item.available:hover {
  transform: translateY(-2px);
  background: rgba(16, 185, 129, 0.2);
}

.test-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chip {
  background: var(--bg-deep);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}

.lab-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.lab-total span {
  font-size: 1.05rem;
}

.lab-total strong {
  color: var(--primary-emerald);
}

/* --------------------------------------------------------------------------
   9. Instant Cost Calculator Section
   -------------------------------------------------------------------------- */
.calculator-section {
  background: var(--bg-deep);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: flex-start;
  gap: 50px;
}

.calc-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.calc-perks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.perk-item i {
  font-size: 1.2rem;
  margin-top: 3px;
}

.perk-item strong {
  display: block;
  font-size: 0.96rem;
  color: var(--text-main);
}

.perk-item small {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.calc-card-box {
  background: var(--bg-card);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
}

.calc-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.calc-card-header h3 {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.calc-badge {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-label i {
  color: var(--primary-emerald);
}

.calc-select,
.calc-input {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.calc-select:focus,
.calc-input:focus {
  border-color: var(--primary-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.calc-radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.radio-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 10px 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.84rem;
  transition: var(--transition);
}

.radio-pill:hover {
  border-color: var(--primary-emerald);
}

.addons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.addon-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 10px 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.addon-checkbox:hover {
  border-color: var(--primary-emerald);
}

.addon-checkbox input {
  accent-color: var(--primary-emerald);
  width: 16px;
  height: 16px;
}

.addon-text strong {
  display: block;
  font-size: 0.82rem;
}

.addon-text small {
  color: var(--primary-emerald);
  font-size: 0.74rem;
  font-weight: 700;
}

.calc-result-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.est-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.est-note {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.est-price {
  font-family: var(--font-en);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-emerald);
}

.btn-calc-submit {
  width: 100%;
  background: #25d366;
  color: #ffffff;
  border: none;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
}

.btn-calc-submit:hover {
  background: #1eb855;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

/* --------------------------------------------------------------------------
   10. Why Choose JISAN-IT Section
   -------------------------------------------------------------------------- */
.why-section {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-color);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 30px 24px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 50px;
  height: 50px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary-emerald);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.why-card h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   11. Testimonials Section
   -------------------------------------------------------------------------- */
.testimonials-section {
  background-color: var(--bg-deep);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: var(--shadow-md);
}

.test-quote-icon {
  color: var(--primary-emerald);
  font-size: 1.8rem;
  margin-bottom: 16px;
  opacity: 0.7;
}

.test-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
  flex-grow: 1;
  font-style: italic;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary-emerald);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.author-info strong {
  display: block;
  font-size: 0.92rem;
}

.author-info small {
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* --------------------------------------------------------------------------
   12. FAQ Section
   -------------------------------------------------------------------------- */
.faq-section {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-color);
}

.faq-accordion-wrapper {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover,
.faq-item.active {
  border-color: rgba(16, 185, 129, 0.4);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 22px;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-chevron {
  color: var(--primary-emerald);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
  background: rgba(0, 0, 0, 0.1);
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 14px 22px 20px;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   13. Contact & Office Section
   -------------------------------------------------------------------------- */
.contact-section {
  background-color: var(--bg-deep);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  margin-bottom: 40px;
}

.lead-engineer-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.eng-avatar {
  width: 64px;
  height: 64px;
  background: var(--primary-emerald);
  color: #ffffff;
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  box-shadow: 0 6px 18px var(--primary-emerald-glow);
}

.lead-badge {
  font-size: 0.74rem;
  text-transform: uppercase;
  color: #34d399;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.eng-details h3 {
  font-size: 1.3rem;
  margin: 3px 0 1px;
}

.eng-details p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.eng-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill-chip {
  background: rgba(0, 0, 0, 0.25);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.contact-channel-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.channel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: var(--transition);
}

.channel-card:hover {
  border-color: rgba(16, 185, 129, 0.35);
}

.channel-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.icon-phone {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.icon-email {
  background: rgba(6, 182, 212, 0.15);
  color: #06b6d4;
}

.icon-web {
  background: rgba(139, 92, 246, 0.15);
  color: #8b5cf6;
}

.icon-location {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.channel-content strong {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.channel-content a,
.channel-content address {
  font-size: 0.95rem;
  font-weight: 600;
  font-style: normal;
  color: var(--text-main);
}

.channel-content a:hover {
  color: var(--primary-emerald);
}

.whatsapp-direct-card {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.15), rgba(16, 185, 129, 0.08));
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.wa-content h4 {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wa-content p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
}

.btn-wa-action {
  background: #25d366;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* Contact Form Col */
.form-card-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.form-header {
  margin-bottom: 24px;
}

.form-header h3 {
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.form-header p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-control {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.btn-submit-contact {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  padding: 13px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px var(--primary-emerald-glow);
  transition: var(--transition);
  margin-top: 6px;
}

.btn-submit-contact:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
}

.contact-success-alert {
  margin-top: 18px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--primary-emerald);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #34d399;
}

.contact-success-alert i {
  font-size: 1.6rem;
}

/* Map Embed */
.map-container-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.map-header {
  padding: 14px 20px;
  background: var(--bg-surface);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
}

.map-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-map-direct {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-map-direct:hover {
  background: #10b981;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--primary-emerald-glow);
}

/* --------------------------------------------------------------------------
   14. Modal Backdrop & Dialog
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  background: var(--bg-card-solid);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  animation: modalScale 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScale {
  0% {
    transform: scale(0.92);
    opacity: 0;
  }

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

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.2);
}

.modal-badge {
  font-size: 0.78rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.modal-body {
  padding: 24px;
  max-height: 70vh;
  overflow-y: auto;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   15. Footer (High Contrast & Clear Readability in All Modes)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #040810;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding-top: 70px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.site-footer .brand-title .jisan {
  color: #10b981;
}

.site-footer .brand-title .it {
  color: #06b6d4;
}

.site-footer .brand-subtitle {
  color: #94a3b8;
  font-size: 0.8rem;
}

.footer-about {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #cbd5e1;
}

.footer-lead-contact {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.84rem;
  color: #cbd5e1;
}

.footer-lead-contact strong {
  color: #ffffff;
  font-size: 0.92rem;
}

.footer-lead-contact span {
  color: #cbd5e1;
}

.footer-lead-contact a {
  color: #38bdf8;
}

.footer-col-title {
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--primary-emerald);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #34d399;
  transform: translateX(4px);
}

.footer-links a i {
  font-size: 0.72rem;
  color: var(--primary-emerald);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.88rem;
  margin-bottom: 18px;
  color: #cbd5e1;
}

.footer-contact-info p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.55;
  color: #cbd5e1;
}

.footer-contact-info p i {
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-info span {
  color: #e2e8f0;
}

.footer-contact-info a {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact-info a:hover {
  color: #34d399;
}

.btn-footer-wa {
  background: #25d366;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
}

.btn-footer-wa:hover {
  background: #1eb855;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.copyright {
  font-size: 0.84rem;
  color: #94a3b8;
}

.copyright strong {
  color: #f8fafc;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  font-size: 0.84rem;
}

.footer-bottom-links a {
  color: #94a3b8;
}

.footer-bottom-links a:hover {
  color: #34d399;
}

/* --------------------------------------------------------------------------
   Version System Badges & Auto-Refresh Toast
   -------------------------------------------------------------------------- */
.footer-version-wrap {
  display: inline-flex;
  align-items: center;
}

.app-version-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.14);
  border: 1.5px solid rgba(52, 211, 153, 0.5);
  color: #ffffff;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif !important;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.18);
}

.app-version-badge:hover {
  background: rgba(16, 185, 129, 0.28);
  border-color: #34d399;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.38);
}

.app-version-badge i {
  color: #34d399;
  font-size: 0.84rem;
}

.app-version-badge .v-number {
  color: #ffffff !important;
  font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif !important;
  font-weight: 800;
  letter-spacing: 0.4px;
}

/* Footer is always dark in both light and dark themes */
[data-theme="light"] .app-version-badge,
[data-theme="dark"] .app-version-badge {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(52, 211, 153, 0.5);
  color: #ffffff;
}

[data-theme="light"] .app-version-badge .v-number,
[data-theme="dark"] .app-version-badge .v-number {
  color: #ffffff !important;
}

[data-theme="light"] .app-version-badge:hover,
[data-theme="dark"] .app-version-badge:hover {
  background: rgba(16, 185, 129, 0.28);
  border-color: #34d399;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.38);
}

.mobile-version-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  margin-top: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  align-self: center;
  font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif !important;
}

.mobile-version-badge i {
  color: var(--primary-emerald);
}

/* Real-Time Auto-Refresh Toast */
.version-update-toast {
  position: fixed;
  bottom: 25px;
  left: 25px;
  max-width: 420px;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(16, 185, 129, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  color: #ffffff;
  z-index: 99999;
  overflow: hidden;
  transform: translateY(120%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s ease;
}

.version-update-toast.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.version-toast-content {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
}

.version-toast-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.version-toast-body {
  flex-grow: 1;
}

.version-toast-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.version-toast-desc {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 3px;
  line-height: 1.35;
}

.version-toast-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
  transition: var(--transition);
  flex-shrink: 0;
}

.version-toast-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.45);
}

.version-toast-progress {
  height: 3px;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.version-toast-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #10b981, #06b6d4);
  animation: toastProgress 1.8s linear forwards;
}

@keyframes toastProgress {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

[data-theme="light"] .version-update-toast {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18), 0 0 20px rgba(16, 185, 129, 0.2);
}

[data-theme="light"] .version-toast-title {
  color: #0f172a;
}

[data-theme="light"] .version-toast-desc {
  color: #475569;
}

@media (max-width: 576px) {
  .version-update-toast {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
  }

  .version-toast-content {
    padding: 12px 14px;
    gap: 10px;
  }

  .version-toast-icon {
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
  }

  .version-toast-title {
    font-size: 0.85rem;
  }

  .version-toast-desc {
    font-size: 0.74rem;
  }

  .version-toast-btn {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
}

/* --------------------------------------------------------------------------
   16. Floating Quick Actions (Sticky WhatsApp & Call Buttons)
   -------------------------------------------------------------------------- */
.floating-quick-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1050;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  border: none;
}

.float-wa {
  background: #25d366;
  color: #ffffff;
}

.float-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.float-phone {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
}

.float-phone:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px var(--primary-emerald-glow);
}

.float-top {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  font-size: 1.1rem;
  opacity: 0;
  pointer-events: none;
}

.float-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.float-top:hover {
  background: var(--primary-emerald);
  color: #ffffff;
}

.float-tooltip {
  position: absolute;
  right: 64px;
  background: rgba(15, 23, 42, 0.95);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}

.float-btn:hover .float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   17. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .desktop-nav .nav-links {
    gap: 12px;
  }

  .nav-link {
    font-size: 0.88rem;
    padding: 6px 3px;
  }

  .btn-whatsapp-header {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .btn-primary-header {
    padding: 8px 14px;
    font-size: 0.82rem;
  }
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
  }

  .btn-whatsapp-header span {
    display: none;
  }

  .btn-whatsapp-header {
    padding: 9px 12px;
  }

  .btn-primary-header {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust-row {
    justify-content: center;
  }

  .visual-card-wrapper {
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-metrics-container {
    margin-top: 45px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .metric-card {
    padding: 18px 16px;
    gap: 14px;
  }

  .metric-num {
    font-size: 1.85rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pos-demo-grid {
    grid-template-columns: 1fr;
  }

  .school-interactive-grid {
    grid-template-columns: 1fr;
  }

  .hospital-grid {
    grid-template-columns: 1fr;
  }

  .calculator-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
  }

  .announcement-content {
    justify-content: center;
    text-align: center;
  }

  .announcement-actions {
    justify-content: center;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-metrics-container {
    margin-top: 36px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .metric-card {
    padding: 16px 14px;
    gap: 12px;
  }

  .metric-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    font-size: 1.2rem;
  }

  .metric-num {
    font-size: 1.65rem;
  }

  .metric-label {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .badge-pos {
    left: 8px;
    top: 15px;
  }

  .badge-erp {
    right: 8px;
    bottom: 15px;
  }

  .badge-exp {
    right: 8px;
    top: 15px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .acc-metrics-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .school-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .calc-card-box {
    padding: 22px 16px;
    border-radius: var(--radius-md);
  }

  .calc-card-header {
    flex-wrap: wrap;
    gap: 10px;
  }

  .calc-card-header h3 {
    font-size: 1.15rem;
  }

  .calc-radio-group,
  .addons-grid,
  .form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .calc-select,
  .calc-input {
    width: 100%;
    font-size: 0.9rem;
    padding: 10px 12px;
  }

  .calc-result-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }

  .est-price {
    font-size: 1.85rem;
  }

  .btn-calc-submit {
    font-size: 0.95rem;
    padding: 12px 16px;
    width: 100%;
    justify-content: center;
  }

  .pos-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .btn-whatsapp-header span {
    display: none;
  }
}

@media (max-width: 576px) {
  .btn-primary-header span {
    display: none;
  }

  .btn-primary-header {
    padding: 8px 12px;
  }

  .brand-subtitle {
    display: none;
  }

  .brand-title {
    font-size: 1.35rem;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
  }

  .announcement-bar {
    font-size: 0.8rem;
  }

  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary,
  .hero-cta-group .btn-outline-call {
    width: 100%;
    justify-content: center;
  }

  .hero-metrics-container {
    margin-top: 26px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .metric-card {
    padding: 14px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    border-radius: var(--radius-sm);
  }

  .metric-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 1.05rem;
    border-radius: 8px;
  }

  .metric-data {
    width: 100%;
    min-width: 0;
  }

  .metric-num {
    font-size: 1.5rem;
    line-height: 1.1;
  }

  .metric-label {
    font-size: 0.76rem;
    line-height: 1.35;
    word-break: normal;
  }

  .floating-badge {
    padding: 7px 10px;
    gap: 8px;
  }

  .badge-icon-wrap {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .badge-title {
    font-size: 0.78rem;
  }

  .badge-sub {
    font-size: 0.68rem;
  }

  .badge-exp {
    padding: 8px 10px;
  }

  .exp-number {
    font-size: 1.35rem;
  }

  .exp-text {
    font-size: 0.65rem;
  }

  .pos-products-grid {
    grid-template-columns: 1fr;
  }

  .acc-metrics-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .metrics-grid {
    gap: 8px;
  }

  .metric-card {
    padding: 11px 9px;
    gap: 6px;
  }

  .metric-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    font-size: 0.92rem;
  }

  .metric-num {
    font-size: 1.35rem;
  }

  .metric-label {
    font-size: 0.72rem;
  }
}