/* ========== CSS Custom Properties ========== */
:root {
  --navy: #0D3B5E;
  --orange: #F5A623;
  --orange-hover: #e69510;
  --teal: #1A8FA0;
  --teal-light: #EAF7F9;
  --light-bg: #F4F6FA;
  --white: #ffffff;
  --text-dark: #1a1a2e;
  --text-muted: #5a6377;
  --card-border: #e2e8f0;
  --odoo-purple: #714B67;
  --pg-blue: #336791;
  --font-en: 'Poppins', sans-serif;
  --font-ar: 'Cairo', sans-serif;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 4px 24px rgba(13, 59, 94, 0.08);
  --shadow-lg: 0 12px 40px rgba(13, 59, 94, 0.13);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w: 1200px;
  --nav-h: 72px;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-en);
  color: var(--text-dark);
  background: var(--light-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

input,
textarea {
  font-family: inherit;
}

body {
  --page-exit-shift: -24px;
  --page-enter-shift: 18px;
}

html.page-transition-pending,
html.page-transition-pending body {
  background: #0D3B5E;
}

html.page-transition-pending::before,
html.page-transition-pending::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
}

html.page-transition-pending::before {
  z-index: 100000;
  background:
    linear-gradient(135deg, rgba(13, 59, 94, 1), rgba(26, 143, 160, 0.98)),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 24px);
}

html.page-transition-pending::after {
  z-index: 100001;
  background:
    linear-gradient(var(--white), var(--white)) -12vw -5vh / 124vw 17vh no-repeat,
    linear-gradient(var(--white), var(--white)) -12vw 9vh / 124vw 17vh no-repeat,
    linear-gradient(var(--white), var(--white)) -12vw 30vh / 124vw 17vh no-repeat,
    linear-gradient(var(--white), var(--white)) -12vw 48vh / 124vw 17vh no-repeat,
    linear-gradient(var(--white), var(--white)) -12vw 67vh / 124vw 17vh no-repeat,
    linear-gradient(var(--white), var(--white)) -12vw 86vh / 124vw 17vh no-repeat;
}

.page-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
  --swipe-start: 106%;
  --swipe-end: -106%;
}

.page-transition-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(13, 59, 94, 0.98), rgba(26, 143, 160, 0.98)),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 24px);
  transform: translateX(var(--swipe-start));
  transition: transform 0.5s cubic-bezier(0.72, 0, 0.2, 1);
}

.page-transition-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0 7%, rgba(245, 166, 35, 0.2) 13%, transparent 21%);
  transform: translateX(var(--swipe-start));
  transition: transform 0.56s cubic-bezier(0.72, 0, 0.2, 1);
}

.page-transition-overlay.active,
.page-transition-overlay.revealing {
  visibility: visible;
}

.page-transition-overlay.active::before,
.page-transition-overlay.active::after {
  transform: translateX(0);
}

.page-transition-overlay.active::before {
  transition-duration: 0.46s;
}

.page-transition-overlay.revealing::before,
.page-transition-overlay.revealing::after {
  transform: translateX(0);
  transition: none;
}

.page-transition-overlay.revealing.complete::before,
.page-transition-overlay.revealing.complete::after {
  transform: translateX(var(--swipe-end));
  transition: transform 0.58s cubic-bezier(0.72, 0, 0.2, 1);
}

.page-transition-stripes {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
}

.page-transition-stripes span {
  position: absolute;
  left: -12vw;
  width: 124vw;
  height: clamp(78px, 17vh, 178px);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.14);
  opacity: 0;
  transform: translateX(var(--stripe-start));
}

.page-transition-stripes span:nth-child(1) {
  top: -5vh;
  --stripe-start: -132vw;
  --stripe-end: 132vw;
  --stripe-delay: 30ms;
  --stripe-exit-delay: 20ms;
}

.page-transition-stripes span:nth-child(2) {
  top: 9vh;
  --stripe-start: 132vw;
  --stripe-end: -132vw;
  --stripe-delay: 0ms;
  --stripe-exit-delay: 70ms;
}

.page-transition-stripes span:nth-child(3) {
  top: 30vh;
  --stripe-start: -132vw;
  --stripe-end: 132vw;
  --stripe-delay: 90ms;
  --stripe-exit-delay: 0ms;
}

.page-transition-stripes span:nth-child(4) {
  top: 48vh;
  --stripe-start: 132vw;
  --stripe-end: -132vw;
  --stripe-delay: 60ms;
  --stripe-exit-delay: 110ms;
}

.page-transition-stripes span:nth-child(5) {
  top: 67vh;
  --stripe-start: -132vw;
  --stripe-end: 132vw;
  --stripe-delay: 150ms;
  --stripe-exit-delay: 60ms;
}

.page-transition-stripes span:nth-child(6) {
  top: 86vh;
  --stripe-start: 132vw;
  --stripe-end: -132vw;
  --stripe-delay: 120ms;
  --stripe-exit-delay: 150ms;
}

.page-transition-overlay.active .page-transition-stripes span {
  animation: pageStripeIn 0.54s cubic-bezier(0.72, 0, 0.2, 1) var(--stripe-delay) both;
}

.page-transition-overlay.revealing .page-transition-stripes span {
  opacity: 1;
  transform: translateX(0);
  animation: none;
}

.page-transition-overlay.revealing.complete .page-transition-stripes span {
  animation: pageStripeOut 0.54s cubic-bezier(0.72, 0, 0.2, 1) var(--stripe-exit-delay) both;
}

.page-entering .navbar,
.page-entering .hero,
.page-entering .section,
.page-entering main,
.page-entering .footer {
  transform: translateX(var(--page-enter-shift));
  opacity: 0.88;
  transition: none;
}

.page-entering.page-entered .navbar,
.page-entering.page-entered .hero,
.page-entering.page-entered .section,
.page-entering.page-entered main,
.page-entering.page-entered .footer {
  transform: translateX(0);
  opacity: 1;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.page-leaving .navbar,
.page-leaving .hero,
.page-leaving .section,
.page-leaving main,
.page-leaving .footer {
  transform: translateX(var(--page-exit-shift)) scale(0.992);
  opacity: 0.78;
  transition: transform 0.4s cubic-bezier(0.72, 0, 0.2, 1), opacity 0.32s ease;
}

@keyframes pageStripeIn {
  0% {
    opacity: 1;
    transform: translateX(var(--stripe-start));
  }

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

@keyframes pageStripeOut {
  0% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 1;
    transform: translateX(var(--stripe-end));
  }
}

.language-eye-overlay {
  position: fixed;
  inset: 0;
  z-index: 10020;
  pointer-events: none;
  opacity: 1;
  visibility: hidden;
  overflow: hidden;
  --eye-x: 32px;
  --eye-y: 32px;
}

.language-eye-overlay::before {
  content: '';
  position: absolute;
  left: var(--eye-x);
  top: var(--eye-y);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin: -15px 0 0 -15px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.92) 0 20%, rgba(26, 143, 160, 0.34) 22% 54%, transparent 56%);
  transform: scale(0.55);
  opacity: 0;
}

.language-eye-overlay::after {
  content: '';
  position: absolute;
  left: var(--eye-x);
  top: var(--eye-y);
  width: 50px;
  height: 50px;
  margin: -25px 0 0 -25px;
  border-radius: 50%;
  border: 2px solid rgba(26, 143, 160, 0.42);
  box-shadow: 0 0 0 7px rgba(245, 166, 35, 0.08);
  transform: scale(0.72);
  opacity: 0;
}

.language-eye-overlay span {
  display: none;
}

.language-eye-overlay.active {
  visibility: visible;
}

.language-eye-overlay.active::before {
  animation: languageEyePulse 0.5s ease both;
}

.language-eye-overlay.active::after {
  animation: languageEyeRing 0.5s ease both;
}

.language-switching .navbar,
.language-switching .hero,
.language-switching .section,
.language-switching main,
.language-switching .footer {
  opacity: 0.68;
  transform: translateY(3px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.language-settling .navbar,
.language-settling .hero,
.language-settling .section,
.language-settling main,
.language-settling .footer {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

@keyframes languageEyePulse {
  0% {
    opacity: 0;
    transform: scale(0.55);
  }

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

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

@keyframes languageEyeRing {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }

  35% {
    opacity: 0.9;
    transform: scale(1);
  }

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

.phone-number,
.ltr-text,
.ltr-field {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
}

.phone-number,
.ltr-text {
  display: inline-block;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(13, 59, 94, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-svg {
  display: block;
  width: 64px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  filter:
    drop-shadow(1px 0 0 rgba(255, 255, 255, 0.95)) drop-shadow(-1px 0 0 rgba(255, 255, 255, 0.95)) drop-shadow(0 1px 0 rgba(255, 255, 255, 0.95)) drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.95)) drop-shadow(0 0 7px rgba(255, 255, 255, 0.55)) drop-shadow(0 7px 14px rgba(0, 0, 0, 0.18));
}

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

.logo-ar {
  font-family: var(--font-ar);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  line-height: 1.2;
}

.logo-en {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform var(--transition);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  background: var(--teal);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background var(--transition);
}

.lang-toggle:hover {
  background: #157f8e;
}

.cta-nav {
  background: var(--orange);
  color: var(--white);
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.cta-nav:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition);
}

.menu-overlay.open {
  display: block;
  opacity: 1;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--navy);
  padding: 32px 24px;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  z-index: 1001;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu.open {
  display: flex;
  transform: translateY(0);
}

.mobile-nav-link {
  color: var(--white);
  font-size: 1.1rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, #082946 0%, var(--navy) 48%, #0b304d 100%);
  padding: calc(var(--nav-h) + 40px) 0 60px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 30px 30px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(30px, 30px);
  }
}

.hero-signal-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-signal-layer span {
  position: absolute;
  width: min(520px, 46vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 143, 160, 0.85), rgba(245, 166, 35, 0.5), transparent);
  transform: rotate(-18deg) translateX(-120%);
  animation: signalSlide 7s linear infinite;
  opacity: 0.65;
}

.hero-signal-layer span:nth-child(1) {
  top: 18%;
  left: 6%;
  animation-delay: 0s;
}

.hero-signal-layer span:nth-child(2) {
  top: 36%;
  left: 38%;
  animation-delay: 1.8s;
}

.hero-signal-layer span:nth-child(3) {
  top: 64%;
  left: 12%;
  animation-delay: 3.6s;
}

.hero-signal-layer span:nth-child(4) {
  top: 82%;
  left: 54%;
  animation-delay: 5s;
}

@keyframes signalSlide {
  0% {
    transform: rotate(-18deg) translateX(-130%);
    opacity: 0;
  }

  12%,
  72% {
    opacity: 0.65;
  }

  100% {
    transform: rotate(-18deg) translateX(160%);
    opacity: 0;
  }
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 143, 160, 0.18);
  color: #6ee1ef;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 20px;
  border: 1px solid rgba(110, 225, 239, 0.28);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 16px;
  letter-spacing: 0;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title-name,
.hero-title-desc {
  display: block;
}

.hero-title-name {
  color: var(--white);
}

.hero-title-desc {
  font-size: 0.62em;
  color: rgba(255, 255, 255, 0.94);
  white-space: nowrap;
}

[dir="rtl"] .hero-title-desc {
  font-size: 0.78em;
  white-space: normal;
}

.hero-statement {
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  color: var(--orange);
  font-weight: 700;
  line-height: 1.45;
  max-width: 620px;
  margin-bottom: 14px;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  margin-bottom: 30px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  animation: glowPulse 4s ease-in-out infinite;
}

.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 166, 35, 0.35);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  background: transparent;
  transition: all var(--transition);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 18px;
  border-radius: 10px;
  text-align: center;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.stat-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(245, 166, 35, 0.3);
  transform: translateY(-3px);
}

.stat-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--orange);
  display: block;
}

.stat-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Dashboard mockup */
.hero-mockup {
  flex: 1;
  min-width: 320px;
  max-width: 500px;
}

.dashboard-card {
  position: relative;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  padding: 20px;
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
}

.dashboard-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.08) 45%, transparent 70%);
  transform: translateX(-120%);
  animation: panelSweep 8s ease-in-out infinite;
  pointer-events: none;
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 10px;
}

.dash-title {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}

.dash-live {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8ff3a4;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.dash-live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #27c93f;
  box-shadow: 0 0 0 0 rgba(39, 201, 63, 0.5);
  animation: livePulse 1.8s ease-out infinite;
}

.dash-dots {
  display: flex;
  gap: 4px;
}

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

.dash-dot:nth-child(1) {
  background: #ff5f56;
}

.dash-dot:nth-child(2) {
  background: #ffbd2e;
}

.dash-dot:nth-child(3) {
  background: #27c93f;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.dash-stat-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 12px 8px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.dash-stat-box:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(26, 143, 160, 0.3);
  transform: translateY(-3px);
}

.dash-stat-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
}

.dash-stat-label {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 70px;
  margin-bottom: 12px;
}

.dash-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  transition: height 0.5s ease;
  transform-origin: bottom;
  animation: barPulse 3.6s ease-in-out infinite;
}

.dash-bar:nth-child(1) {
  height: 45%;
  background: var(--teal);
}

.dash-bar:nth-child(2) {
  height: 70%;
  background: var(--orange);
  animation-delay: 0.2s;
}

.dash-bar:nth-child(3) {
  height: 55%;
  background: var(--teal);
  animation-delay: 0.4s;
}

.dash-bar:nth-child(4) {
  height: 85%;
  background: var(--orange);
  animation-delay: 0.6s;
}

.dash-bar:nth-child(5) {
  height: 60%;
  background: var(--teal);
  animation-delay: 0.8s;
}

.dash-bar:nth-child(6) {
  height: 75%;
  background: var(--orange);
  animation-delay: 1s;
}

.dash-bar:nth-child(7) {
  height: 50%;
  background: var(--teal);
  animation-delay: 1.2s;
}

.dash-donut {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 0 auto;
  background: conic-gradient(var(--teal) 0% 65%, var(--orange) 65% 85%, rgba(255, 255, 255, 0.1) 85% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash-donut-inner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(13, 59, 94, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
}

.dash-bottom {
  display: flex;
  gap: 16px;
  align-items: center;
}

.dash-chart-wrap {
  flex: 1;
}

.dash-donut-wrap {
  flex: 0 0 auto;
}

.dash-activity {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.dash-activity span {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(26, 143, 160, 0.18), rgba(26, 143, 160, 0.55), rgba(245, 166, 35, 0.45), rgba(255, 255, 255, 0.12));
  background-size: 200% 100%;
  animation: shimmer 3.5s ease-in-out infinite;
}

.dash-activity span:nth-child(1) {
  width: 78%;
}

.dash-activity span:nth-child(2) {
  width: 92%;
  animation-delay: 0.35s;
}

.dash-activity span:nth-child(3) {
  width: 64%;
  animation-delay: 0.7s;
}

@keyframes panelSweep {

  0%,
  58% {
    transform: translateX(-120%);
  }

  78%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(39, 201, 63, 0.45);
  }

  75%,
  100% {
    box-shadow: 0 0 0 9px rgba(39, 201, 63, 0);
  }
}

@keyframes barPulse {

  0%,
  100% {
    transform: scaleY(0.92);
    opacity: 0.85;
  }

  50% {
    transform: scaleY(1.06);
    opacity: 1;
  }
}

/* ========== SECTION COMMON ========== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-badge {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 14px;
  border: 1px solid rgba(26, 143, 160, 0.15);
}

.section-badge-dark {
  background: rgba(26, 143, 160, 0.15);
  border-color: rgba(26, 143, 160, 0.25);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ========== ABOUT US ========== */
.about-us {
  position: relative;
  background: linear-gradient(180deg, rgba(245, 247, 250, 0.5) 0%, rgba(255, 255, 255, 1) 100%);
  overflow: hidden;
}

.about-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(26, 143, 160, 0.04), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(245, 166, 35, 0.03), transparent 40%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.about-text {
  position: relative;
  z-index: 2;
}

.about-content p {
  color: var(--text-dark);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-stats {
  display: flex;
  gap: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(13, 59, 94, 0.08);
}

.about-stat-item {
  display: flex;
  flex-direction: column;
}

.about-stat-item strong {
  font-size: 2rem;
  color: var(--teal);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 4px;
}

.about-stat-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.about-visual {
  position: relative;
  z-index: 2;
  perspective: 1000px;
}

.about-glass {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: 0 20px 60px rgba(13, 59, 94, 0.06);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.about-glass:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.about-logo-mark {
  width: 120px;
  height: 120px;
  margin-bottom: 30px;
  animation: float 6s ease-in-out infinite;
}

.about-decorative-lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.about-decorative-lines span {
  height: 6px;
  border-radius: 6px;
  background: rgba(26, 143, 160, 0.1);
}

.about-decorative-lines span:nth-child(1) {
  width: 100%;
}

.about-decorative-lines span:nth-child(2) {
  width: 80%;
}

.about-decorative-lines span:nth-child(3) {
  width: 60%;
}

.about-animation-wrapper {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-animation-wrapper lottie-player {
  width: 100%;
  height: 420px;
}

@media (max-width: 768px) {
  .about-animation-wrapper {
    max-width: 340px;
    margin-top: 20px;
  }

  .about-animation-wrapper lottie-player {
    height: 300px;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ========== SERVICES ========== */
.section:not(.cashiri):not(.why-us) {
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--card-border);
  transition: all var(--transition);
  border-left: 4px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(26, 143, 160, 0.09) 45%, transparent 70%);
  transform: translateX(-115%);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--teal);
}

.service-card:hover::before {
  transform: translateX(115%);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--teal);
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.service-card:hover .service-icon {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-4px);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========== CASHIRI ========== */
.cashiri {
  position: relative;
  background:
    linear-gradient(135deg, rgba(234, 247, 249, 0.95), rgba(255, 255, 255, 0.96)),
    repeating-linear-gradient(120deg, rgba(26, 143, 160, 0.08) 0 1px, transparent 1px 22px);
  overflow: hidden;
}

.cashiri::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(245, 166, 35, 0.08) 48%, transparent 70%);
  animation: sectionSweep 12s ease-in-out infinite;
  pointer-events: none;
}

.cashiri .container {
  position: relative;
  z-index: 1;
}

.cashiri-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.cashiri-text {
  flex: 1;
}

.cashiri-name {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.cashiri-tagline {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 8px;
}

.cashiri-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.tech-pills {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tech-pill {
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pill-odoo {
  background: var(--odoo-purple);
}

.pill-pg {
  background: var(--pg-blue);
}

.cashiri-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(95px, auto);
  align-items: center;
  gap: 12px;
  max-width: 520px;
  margin: 0 0 24px;
  padding: 12px;
  border: 1px solid rgba(26, 143, 160, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 30px rgba(13, 59, 94, 0.07);
}

.flow-businesses {
  position: relative;
  height: 42px;
  overflow: hidden;
}

.flow-businesses span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.86rem;
  border: 2px solid rgba(26, 143, 160, 0.24);
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  animation: businessCycle 8s ease-in-out infinite;
}

.flow-businesses span:nth-child(2) {
  animation-delay: 2s;
}

.flow-businesses span:nth-child(3) {
  animation-delay: 4s;
}

.flow-businesses span:nth-child(4) {
  animation-delay: 6s;
}

.flow-arrow {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(26, 143, 160, 0.15), var(--teal), var(--orange));
  position: relative;
  overflow: hidden;
}

.flow-arrow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  transform: translateX(-100%);
  animation: flowPulse 2s ease-in-out infinite;
}

.flow-arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--orange);
  border-right: 2px solid var(--orange);
  transform: translateY(-50%) rotate(45deg);
}

.flow-core {
  justify-self: stretch;
  text-align: center;
  padding: 9px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(26, 143, 160, 0.22);
}

.flow-output {
  grid-column: 1 / -1;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-align: center;
}

@keyframes businessCycle {

  0%,
  18% {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }

  24%,
  42% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  50%,
  100% {
    opacity: 0;
    transform: translateY(-18px) scale(0.96);
  }
}

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

  100% {
    transform: translateX(100%);
  }
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.feature-item svg {
  flex-shrink: 0;
  color: var(--teal);
  margin-top: 3px;
}

/* POS Mockup */
.cashiri-mockup {
  flex: 1;
  min-width: 300px;
  max-width: 480px;
}

.cashiri-product-preview {
  position: relative;
  min-height: 430px;
}

.cashiri-screen {
  border-radius: 18px;
  background: #f4f7fd;
  border: 1px solid rgba(13, 59, 94, 0.1);
  box-shadow: 0 24px 70px rgba(13, 59, 94, 0.18);
  overflow: hidden;
}

.cashiri-dashboard-screen {
  position: relative;
  min-height: 300px;
  display: grid;
  grid-template-columns: 74px 1fr;
  transform: perspective(900px) rotateY(-5deg);
  animation: cashiriScreenFloat 5s ease-in-out infinite;
}

.cashiri-side {
  background: #102a61;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

.cashiri-brand-dot {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), var(--orange));
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.cashiri-panel {
  padding: 18px;
  min-width: 0;
}

.cashiri-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #dce4f2;
  color: var(--navy);
  font-size: 0.88rem;
}

.cashiri-panel-top span {
  color: var(--text-muted);
  font-size: 0.68rem;
}

.cashiri-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.cashiri-kpi-row div {
  background: var(--white);
  border: 1px solid #dce4f2;
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
}

.cashiri-kpi-row strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
}

.cashiri-kpi-row span {
  display: block;
  color: var(--text-muted);
  font-size: 0.58rem;
  margin-top: 4px;
}

.cashiri-chart-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  align-items: end;
  background: var(--white);
  border: 1px solid #dce4f2;
  border-radius: 12px;
  padding: 16px;
}

.cashiri-mini-donut {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--teal) 0 62%, #ff7a1a 62% 84%, #6c4bd8 84% 100%);
}

.cashiri-mini-donut span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 800;
}

.cashiri-sales-bars {
  height: 86px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.cashiri-sales-bars span {
  flex: 1;
  min-width: 12px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #4bc5d3, #0b9bb2);
  animation: barPulse 3.6s ease-in-out infinite;
}

.cashiri-sales-bars span:nth-child(1) {
  height: 72%;
}

.cashiri-sales-bars span:nth-child(2) {
  height: 54%;
  background: linear-gradient(180deg, #f5bc4f, var(--orange));
  animation-delay: 0.2s;
}

.cashiri-sales-bars span:nth-child(3) {
  height: 42%;
  animation-delay: 0.4s;
}

.cashiri-sales-bars span:nth-child(4) {
  height: 61%;
  background: linear-gradient(180deg, #f5bc4f, var(--orange));
  animation-delay: 0.6s;
}

.cashiri-sales-bars span:nth-child(5) {
  height: 38%;
  animation-delay: 0.8s;
}

.cashiri-sales-bars span:nth-child(6) {
  height: 50%;
  background: linear-gradient(180deg, #f5bc4f, var(--orange));
  animation-delay: 1s;
}

.cashiri-pos-screen {
  position: absolute;
  left: -24px;
  bottom: 0;
  width: 82%;
  min-height: 214px;
  background: var(--white);
  transform: rotate(-1.5deg);
  animation: cashiriScreenFloat 5.5s ease-in-out infinite 0.7s;
}

.cashiri-pos-top {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #20a9bd;
  color: var(--white);
  padding: 10px 12px;
  font-weight: 800;
}

.cashiri-search {
  flex: 1;
  background: var(--white);
  color: var(--text-muted);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.76rem;
  font-weight: 500;
}

.cashiri-pos-body {
  display: grid;
  grid-template-columns: 1fr 118px;
  min-height: 164px;
}

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

.cashiri-product-grid span {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 8px;
  background: #eef2f8;
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  border-bottom: 4px solid #c488ba;
}

.cashiri-cart {
  position: relative;
  border-left: 1px solid #e0e6ef;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--navy);
  overflow: visible;
  isolation: isolate;
}

.cashiri-cart span {
  display: block;
  color: var(--text-muted);
  font-size: 0.68rem;
}

.cashiri-cart strong {
  display: block;
  font-size: 1rem;
  margin-top: 4px;
}

.cashiri-cart button {
  border-radius: 8px;
  padding: 10px;
  background: #7662a8;
  color: var(--white);
  font-weight: 800;
  position: relative;
  z-index: 3;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.cashiri-cart button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(118, 98, 168, 0.28);
}

.cashiri-cart button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.34) 45%, transparent 70%);
  transform: translateX(-115%);
}

.cashiri-cart.pay-celebrating button {
  background: linear-gradient(135deg, #6a54a3, #8b6ec0);
  animation: payButtonSettle 1.2s ease both;
}

.cashiri-cart.pay-celebrating button::after {
  animation: payButtonShine 0.82s ease;
}

.pay-mascot {
  position: absolute;
  right: 18px;
  bottom: 34px;
  z-index: 2;
  width: 66px;
  height: 60px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(34px) scale(0.78) rotate(5deg);
  transform-origin: 50% 100%;
  animation: mascotPeek 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mascot-body {
  position: absolute;
  right: 7px;
  bottom: 0;
  width: 48px;
  height: 44px;
  border-radius: 48% 48% 54% 54%;
  background:
    radial-gradient(circle at 35% 26%, rgba(255, 255, 255, 0.62) 0 5px, transparent 6px),
    linear-gradient(145deg, #22b8c8, #0d5a78);
  box-shadow: 0 14px 22px rgba(13, 59, 94, 0.22);
}

.mascot-body::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 16px;
  width: 34px;
  height: 16px;
  background:
    radial-gradient(circle at 8px 8px, transparent 0 5px, var(--navy) 5.4px 7px, transparent 7.4px),
    radial-gradient(circle at 26px 8px, transparent 0 5px, var(--navy) 5.4px 7px, transparent 7.4px),
    linear-gradient(var(--navy), var(--navy)) center / 11px 2px no-repeat;
}

.mascot-body::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 25px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 9px solid var(--orange);
}

.mascot-body i {
  position: absolute;
  left: 7px;
  bottom: 8px;
  width: 20px;
  height: 14px;
  border-radius: 999px 999px 999px 4px;
  background: rgba(255, 255, 255, 0.22);
  transform: rotate(-14deg);
}

.mascot-money {
  position: absolute;
  right: 0;
  top: -2px;
  z-index: 4;
  width: 34px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: linear-gradient(135deg, #b9ef95, #5fbf78);
  color: #0c5c35;
  font-size: 0.95rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(13, 59, 94, 0.18);
  transform-origin: 10% 100%;
  animation: moneyWave 0.56s ease-in-out 0.32s 2;
}

.mascot-money::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(12, 92, 53, 0.34);
  border-radius: 4px;
}

@keyframes payButtonSettle {

  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 rgba(118, 98, 168, 0);
  }

  34% {
    transform: translateY(-2px);
    box-shadow: 0 13px 28px rgba(118, 98, 168, 0.26);
  }

  68% {
    transform: translateY(-1px);
    box-shadow: 0 9px 20px rgba(245, 166, 35, 0.18);
  }
}

@keyframes payButtonShine {
  from {
    transform: translateX(-115%);
  }

  to {
    transform: translateX(115%);
  }
}

@keyframes mascotPeek {
  0% {
    opacity: 0;
    transform: translateY(34px) scale(0.78) rotate(5deg);
  }

  18% {
    opacity: 1;
    transform: translateY(4px) scale(0.96) rotate(-2deg);
  }

  36% {
    opacity: 1;
    transform: translateY(-11px) scale(1) rotate(1deg);
  }

  70% {
    opacity: 1;
    transform: translateY(-10px) scale(1) rotate(-1deg);
  }

  88% {
    opacity: 1;
    transform: translateY(8px) scale(0.94) rotate(2deg);
  }

  100% {
    opacity: 0;
    transform: translateY(36px) scale(0.78) rotate(4deg);
  }
}

@keyframes moneyWave {

  0%,
  100% {
    transform: rotate(-8deg) translateY(0);
  }

  50% {
    transform: rotate(16deg) translateY(-3px);
  }
}

@keyframes cashiriScreenFloat {

  0%,
  100% {
    transform: perspective(900px) rotateY(-5deg) translateY(0);
  }

  50% {
    transform: perspective(900px) rotateY(-3deg) translateY(-10px);
  }
}

@keyframes cashiriScreenFloatRtl {

  0%,
  100% {
    transform: perspective(900px) rotateY(5deg) translateY(0);
  }

  50% {
    transform: perspective(900px) rotateY(3deg) translateY(-10px);
  }
}

/* ========== APP DOWNLOAD ========== */
.app-download {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(13, 59, 94, 0.96), rgba(16, 73, 96, 0.94)),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 24px);
  color: var(--white);
}

.app-download::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(245, 166, 35, 0.08) 48%, transparent 72%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 46px 46px;
  pointer-events: none;
}

.app-download .container {
  position: relative;
  z-index: 1;
}

.app-download-content {
  display: flex;
  align-items: center;
  gap: 64px;
}

.app-download-copy {
  flex: 1;
  min-width: 0;
}

.app-download .section-badge {
  background: rgba(26, 143, 160, 0.22);
  color: #8ee7ef;
  border-color: rgba(142, 231, 239, 0.24);
}

.app-download .section-title {
  color: var(--white);
  margin-bottom: 12px;
}

.app-download-copy>p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.85;
  margin-bottom: 26px;
}

.app-store-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.store-button {
  min-width: 178px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--white);
  color: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.store-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.store-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(26, 143, 160, 0.12);
  color: var(--teal);
  flex-shrink: 0;
}

.store-icon svg {
  width: 20px;
  height: 20px;
}

.store-button small,
.store-button strong {
  display: block;
  line-height: 1.2;
}

.store-button small {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.store-button strong {
  font-size: 0.94rem;
}

.app-download-note {
  display: grid;
  gap: 4px;
  max-width: 500px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.app-download-note span {
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 700;
}

.app-download-note strong {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.app-download-visual {
  flex: 1;
  min-width: 280px;
  min-height: 540px;
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.app-phone-stage {
  position: relative;
  z-index: 2;
  width: min(286px, 72vw);
  height: 538px;
  transform: rotate(2.2deg);
  animation: appPhoneFloat 5s ease-in-out infinite;
  transform-style: preserve-3d;
}

.app-phone {
  position: relative;
  width: 100%;
  height: 100%;
  color: #222b2b;
  user-select: none;
  transform-style: preserve-3d;
  transform-origin: center;
  will-change: transform;
}

.app-phone-hitarea {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 38px;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}

.app-phone-hitarea:focus-visible {
  outline: 3px solid rgba(245, 166, 35, 0.9);
  outline-offset: 9px;
}

.app-phone.is-flipping {
  animation: appPhoneFlip 1.55s cubic-bezier(0.2, 0.82, 0.2, 1) both;
  pointer-events: none;
}

.app-phone-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 9px;
  border-radius: 38px;
  background: #050608;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.36), 0 0 0 4px rgba(255, 255, 255, 0.04) inset;
  backface-visibility: hidden;
  overflow: hidden;
}

.app-screen {
  position: relative;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 11px 12px 0;
  border-radius: 30px;
  background: #fbfdfc;
  overflow: hidden;
}

.app-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 21px;
  color: #6f7777;
  font-size: 0.66rem;
}

.app-status-bar div {
  display: flex;
  align-items: center;
  gap: 4px;
}

.app-status-bar i {
  display: block;
  width: 9px;
  height: 9px;
  background: #687172;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.app-status-bar i:nth-child(2) {
  width: 9px;
  height: 9px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.app-status-bar i:nth-child(3) {
  width: 7px;
  height: 11px;
  border-radius: 2px;
  clip-path: none;
}

.app-screen h3 {
  color: #202829;
  font-size: 1.15rem;
  line-height: 1.2;
  margin: 8px 0 14px;
  font-weight: 500;
}

.app-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin-bottom: 12px;
}

.app-metric-card {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid #cbd8d2;
  border-radius: 8px;
  background: #fff;
}

.app-metric-card>div {
  min-width: 0;
}

.metric-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  flex-shrink: 0;
}

.metric-icon svg {
  width: 18px;
  height: 18px;
}

.metric-sales .metric-icon {
  color: #007968;
  background: #dcefee;
}

.metric-orders .metric-icon {
  color: #1d62b7;
  background: #e5ebfa;
}

.metric-stock .metric-icon {
  color: #df9b0b;
  background: #fbf1df;
}

.metric-expiry .metric-icon {
  color: #ca2525;
  background: #f6e2e2;
}

.app-metric-card small {
  display: block;
  color: #545c5d;
  font-size: 0.64rem;
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 4px;
}

.app-metric-card strong {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  width: max-content;
  max-width: 100%;
  padding: 3px 7px;
  border-radius: 999px;
  color: #1f2728;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.app-metric-card strong em {
  font-size: 0.58em;
  font-style: normal;
  font-weight: 800;
  opacity: 0.82;
}

.metric-sales strong {
  color: #006f60;
  font-size: 0.76rem;
  padding: 3px 5px;
  background: linear-gradient(135deg, #e4f5f2, #f6fbfa);
  box-shadow: 0 7px 16px rgba(0, 121, 104, 0.12);
}

.metric-orders strong {
  color: #1d62b7;
  background: linear-gradient(135deg, #e8effd, #f8fbff);
  box-shadow: 0 7px 16px rgba(29, 98, 183, 0.11);
}

.metric-stock strong {
  color: #b87500;
  background: linear-gradient(135deg, #fff3dd, #fffaf2);
  box-shadow: 0 7px 16px rgba(223, 155, 11, 0.11);
}

.metric-expiry strong {
  color: #b92b2b;
  background: linear-gradient(135deg, #fde7e7, #fff7f7);
  box-shadow: 0 7px 16px rgba(202, 37, 37, 0.1);
}

.app-chart-card {
  padding: 12px 9px 7px;
  border: 1px solid #cbd8d2;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 0;
}

.app-chart-card>strong {
  display: block;
  color: #1f2728;
  font-size: 0.88rem;
  margin-bottom: 5px;
}

.app-line-chart {
  display: block;
  width: 100%;
  height: 126px;
}

.chart-grid path {
  fill: none;
  stroke: #c9d4ce;
  stroke-width: 1;
}

.chart-labels {
  fill: #303838;
  font-size: 10px;
  font-weight: 500;
}

.chart-fill {
  fill: rgba(0, 121, 104, 0.13);
}

.chart-line {
  fill: none;
  stroke: #007968;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-points {
  fill: #007968;
}

.app-bottom-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin: auto -12px 0;
  padding: 8px 9px 7px;
  background: #edf4f0;
}

.app-bottom-nav span {
  display: grid;
  place-items: center;
  min-height: 38px;
  border-radius: 999px;
  color: #56605e;
  font-size: 0.58rem;
  font-weight: 700;
}

.app-bottom-nav span.active {
  background: #d5f1e7;
  color: #1f2b2b;
}

.app-home-indicator {
  width: 92px;
  height: 4px;
  border-radius: 999px;
  background: #555d5c;
  margin: 8px auto 0;
}

.app-phone-back {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 36px 22px;
  color: var(--white);
  background: radial-gradient(circle at 50% 24%, rgba(26, 143, 160, 0.28), transparent 28%), linear-gradient(145deg, #030406, #111a22 62%, #07101a);
  transform: rotateY(180deg);
}

.app-phone-back::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 31px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.app-back-camera {
  position: absolute;
  top: 28px;
  left: 24px;
  width: 54px;
  min-height: 82px;
  display: grid;
  gap: 7px;
  padding: 9px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.app-back-camera span {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 46% 44%, #2b4d79 0 20%, #080b10 22% 100%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08) inset;
}

.app-back-camera span:nth-child(3) {
  width: 11px;
  aspect-ratio: 1;
  justify-self: center;
  background: #d7e2e9;
  opacity: 0.7;
}

.app-back-logo {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(26, 143, 160, 0.32), rgba(245, 166, 35, 0.24));
  box-shadow: 0 18px 46px rgba(26, 143, 160, 0.24);
  margin-bottom: 16px;
}

.app-back-logo span {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), var(--orange));
  transform: rotate(45deg);
}

.app-phone-back strong {
  font-size: 1.45rem;
  line-height: 1;
  margin-bottom: 7px;
}

.app-phone-back small {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.app-back-lines {
  width: 120px;
  display: grid;
  gap: 7px;
  margin-top: 28px;
}

.app-back-lines span {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.app-back-lines span:nth-child(2) {
  width: 72%;
  margin: 0 auto;
}

.app-back-lines span:nth-child(3) {
  width: 42%;
  margin: 0 auto;
}

@keyframes appPhoneFloat {

  0%,
  100% {
    transform: rotate(2.2deg) translateY(0);
  }

  50% {
    transform: rotate(1.4deg) translateY(-12px);
  }
}

@keyframes appPhoneFloatRtl {

  0%,
  100% {
    transform: rotate(-2.2deg) translateY(0);
  }

  50% {
    transform: rotate(-1.4deg) translateY(-12px);
  }
}

@keyframes appPhoneFlip {
  0% {
    transform: rotateY(0deg) scale(1);
  }

  38% {
    transform: rotateY(180deg) scale(0.96);
  }

  62% {
    transform: rotateY(180deg) scale(0.96);
  }

  100% {
    transform: rotateY(0deg) scale(1);
  }
}

.pos-monitor {
  position: relative;
  background: #1a1a2e;
  border-radius: 14px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  transform: perspective(900px) rotateY(-4deg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.pos-monitor:hover {
  transform: perspective(900px) rotateY(0deg) translateY(-4px);
  box-shadow: 0 22px 50px rgba(13, 59, 94, 0.22);
}

.pos-screen {
  position: relative;
  background: var(--light-bg);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  min-height: 280px;
}

.pos-screen::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;
  height: 36%;
  background: linear-gradient(180deg, transparent, rgba(26, 143, 160, 0.12), transparent);
  animation: scanLine 5s ease-in-out infinite;
  pointer-events: none;
}

.pos-sidebar {
  width: 50px;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  gap: 14px;
}

.pos-sidebar-dot {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
}

.pos-sidebar-dot.active {
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(26, 143, 160, 0.5);
  animation: livePulse 2s ease-out infinite;
}

.pos-main {
  flex: 1;
  padding: 14px;
}

.pos-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.pos-kpi {
  background: var(--white);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  border: 1px solid var(--card-border);
}

.pos-kpi-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.pos-kpi-label {
  font-size: 0.55rem;
  color: var(--text-muted);
}

.pos-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 50px;
}

.pos-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  transform-origin: bottom;
  animation: barPulse 3.8s ease-in-out infinite;
}

.pos-bar:nth-child(1) {
  height: 40%;
  background: var(--teal);
}

.pos-bar:nth-child(2) {
  height: 65%;
  background: var(--orange);
  animation-delay: 0.3s;
}

.pos-bar:nth-child(3) {
  height: 50%;
  background: var(--teal);
  animation-delay: 0.6s;
}

.pos-bar:nth-child(4) {
  height: 80%;
  background: var(--orange);
  animation-delay: 0.9s;
}

.pos-bar:nth-child(5) {
  height: 55%;
  background: var(--teal);
  animation-delay: 1.2s;
}

.pos-bar:nth-child(6) {
  height: 70%;
  background: var(--orange);
  animation-delay: 1.5s;
}

.pos-stand {
  width: 80px;
  height: 18px;
  background: #2a2a3e;
  margin: 0 auto;
  border-radius: 0 0 8px 8px;
}

.pos-base {
  width: 120px;
  height: 6px;
  background: #333;
  margin: 0 auto;
  border-radius: 0 0 4px 4px;
}

/* ========== CASHIRI DETAIL PAGE ========== */
.product-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 70px) 0 80px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(234, 247, 249, 0.95), rgba(255, 255, 255, 0.98)),
    repeating-linear-gradient(120deg, rgba(26, 143, 160, 0.08) 0 1px, transparent 1px 24px);
}

.product-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(245, 166, 35, 0.09) 46%, transparent 72%);
  animation: sectionSweep 12s ease-in-out infinite;
  pointer-events: none;
}

.cashiri-detail-page {
  background: #e8f1f4;
}

.cashiri-detail-page .product-hero {
  background:
    radial-gradient(circle at 78% 28%, rgba(13, 59, 94, 0.11), transparent 34%),
    radial-gradient(circle at 12% 78%, rgba(26, 143, 160, 0.12), transparent 32%),
    linear-gradient(135deg, #dceff2 0%, #edf4f6 54%, #f3f6f8 100%),
    repeating-linear-gradient(120deg, rgba(13, 59, 94, 0.06) 0 1px, transparent 1px 24px);
}

.cashiri-detail-page .product-hero::before {
  background: linear-gradient(90deg, transparent 0%, rgba(245, 166, 35, 0.07) 46%, transparent 72%);
  opacity: 0.72;
}

.cashiri-detail-page main>.section {
  background: #edf4f6;
}

.cashiri-detail-page main>.section.product-modules {
  background: #deedf1;
}

.cashiri-detail-page .cashiri-screen,
.cashiri-detail-page .adapt-card,
.cashiri-detail-page .module-row,
.cashiri-detail-page .process-step {
  background-color: rgba(255, 255, 255, 0.78);
  border-color: rgba(13, 59, 94, 0.13);
}

.cashiri-detail-page .section-badge {
  background: rgba(26, 143, 160, 0.11);
  border-color: rgba(26, 143, 160, 0.22);
}

.product-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 54px;
  align-items: center;
}

.product-hero-copy h1 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.12;
  margin-bottom: 18px;
  font-weight: 800;
}

.product-hero-copy p {
  color: var(--text-muted);
  max-width: 650px;
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 28px;
}

.product-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.dark-outline {
  color: var(--navy);
  border-color: rgba(13, 59, 94, 0.32);
}

.dark-outline:hover {
  border-color: var(--navy);
  background: rgba(13, 59, 94, 0.07);
}

.product-flow {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.product-screens-stack {
  display: block;
  min-height: 500px;
}

.product-flow.product-screens-stack::before,
.product-flow.product-screens-stack::after {
  display: none;
}

.product-screens-stack .cashiri-dashboard-screen {
  width: 94%;
  min-height: 330px;
}

.product-screens-stack .cashiri-pos-screen {
  width: 74%;
  left: auto;
  right: 0;
  bottom: 18px;
}

.product-screens-stack .detail-pos-screen {
  transform: rotate(1.5deg);
}

.product-flow::before,
.product-flow::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(26, 143, 160, 0.24);
}

.product-flow::before {
  width: 300px;
  height: 300px;
  animation: orbitSpin 22s linear infinite;
}

.product-flow::after {
  width: 420px;
  height: 420px;
  border-color: rgba(245, 166, 35, 0.22);
  animation: orbitSpin 30s linear infinite reverse;
}

.orbit-center {
  width: 154px;
  height: 154px;
  border-radius: 34px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 800;
  box-shadow: 0 28px 70px rgba(13, 59, 94, 0.24);
  z-index: 2;
}

.orbit-card {
  position: absolute;
  min-width: 112px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  text-align: center;
  border: 1px solid rgba(26, 143, 160, 0.14);
  box-shadow: 0 14px 34px rgba(13, 59, 94, 0.12);
  animation: orbitFloat 5s ease-in-out infinite;
  z-index: 3;
}

.card-a {
  top: 34px;
  left: 50%;
  transform: translateX(-50%);
}

.card-b {
  right: 18px;
  top: 48%;
  animation-delay: 0.8s;
}

.card-c {
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 1.6s;
}

.card-d {
  left: 18px;
  top: 48%;
  animation-delay: 2.4s;
}

@keyframes orbitFloat {

  0%,
  100% {
    margin-top: 0;
  }

  50% {
    margin-top: -12px;
  }
}

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

.adapt-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px 20px;
  min-height: 210px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.adapt-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26, 143, 160, 0.35);
}

.adapt-card>span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-light);
  color: var(--teal);
  font-weight: 800;
  margin-bottom: 18px;
}

.adapt-card h3 {
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 1rem;
}

.adapt-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.product-modules {
  background: var(--teal-light);
}

.module-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.module-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  align-items: center;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(26, 143, 160, 0.13);
}

.module-row strong {
  color: var(--navy);
  font-size: 1rem;
}

.module-row span {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.92rem;
}

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

.process-step {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
}

.process-step::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
}

.process-step>span {
  color: var(--orange);
  font-weight: 800;
  display: block;
  margin-bottom: 14px;
}

.process-step h3 {
  color: var(--navy);
  margin-bottom: 8px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.product-footer a {
  color: var(--orange);
  font-weight: 700;
}

@keyframes sectionSweep {

  0%,
  65% {
    transform: translateX(-55%);
    opacity: 0;
  }

  80% {
    opacity: 1;
  }

  100% {
    transform: translateX(55%);
    opacity: 0;
  }
}

@keyframes scanLine {

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

  20%,
  70% {
    opacity: 1;
  }

  80% {
    transform: translateY(360%);
    opacity: 0;
  }
}

/* ========== WHY US ========== */
.why-us {
  position: relative;
  background:
    linear-gradient(135deg, #082946 0%, var(--navy) 58%, #092d49 100%);
  color: var(--white);
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.55;
}

.why-us .container {
  position: relative;
  z-index: 1;
}

.why-us .section-title {
  color: var(--white);
}

.why-us .section-sub {
  color: rgba(255, 255, 255, 0.65);
}

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

.why-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 28px 20px;
  border-top: 3px solid var(--orange);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-4px);
}

.why-card:hover::after {
  transform: scaleX(1);
}

.why-icon {
  font-size: 1.55rem;
  margin-bottom: 14px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  background: rgba(26, 143, 160, 0.12);
  border-radius: 12px;
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* ========== CONTACT ========== */
.contact-content {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
}

.contact-info h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.contact-info>p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.92rem;
}

.info-row svg {
  color: var(--teal);
  flex-shrink: 0;
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  transition: all var(--transition);
}

.social-icon:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.contact-form {
  flex: 1;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--card-border);
  font-size: 0.92rem;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26, 143, 160, 0.12);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.botcheck {
  display: none;
}

.btn-submit {
  width: 100%;
  background: var(--orange);
  color: var(--white);
  padding: 14px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.btn-submit:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
}

.btn-submit:disabled {
  cursor: wait;
  opacity: 0.75;
  transform: none;
}

.form-msg {
  display: none;
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  text-align: center;
}

.form-msg.success {
  background: var(--teal-light);
  color: var(--teal);
}

.form-msg.error {
  background: #fff0f0;
  color: #d32f2f;
}

.contact-more-action {
  margin-top: 26px;
}

.contact-more-link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.contact-more-link:hover svg {
  transform: translateX(3px);
}

/* ========== CONTACT DETAIL PAGE ========== */
.contact-detail-page {
  background: var(--light-bg);
}

.contact-page-hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  padding: calc(var(--nav-h) + 92px) 0 92px;
  display: flex;
  align-items: center;
  color: var(--white);
  background: linear-gradient(135deg, #082946 0%, var(--navy) 56%, #0a324f 100%);
}

.contact-page-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(26, 143, 160, 0.24), transparent 30%),
    radial-gradient(circle at 82% 72%, rgba(245, 166, 35, 0.13), transparent 27%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  pointer-events: none;
}

.contact-page-hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(48px, 8vw, 100px);
}

.contact-page-copy {
  max-width: 680px;
}

.contact-page-copy h1 {
  font-size: clamp(2.55rem, 5vw, 4.7rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}

[dir="rtl"] .contact-page-copy h1 {
  letter-spacing: 0;
}

.contact-page-copy>p {
  max-width: 650px;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.9;
}

.contact-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.contact-availability {
  min-height: 360px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.availability-status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  margin-bottom: 26px;
}

.availability-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #60d394;
  box-shadow: 0 0 0 7px rgba(96, 211, 148, 0.13);
}

.contact-availability>strong {
  color: var(--orange);
  font-size: clamp(3.8rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.contact-availability>span {
  margin-top: 10px;
  font-size: 1.05rem;
  font-weight: 600;
}

.availability-location {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.72);
}

.availability-location svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
}

.contact-directory {
  background: var(--white);
}

.contact-directory-layout,
.contact-social-layout,
.contact-message-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 9vw, 120px);
  align-items: start;
}

.contact-directory-intro,
.contact-social-intro,
.contact-message-copy {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}

.contact-directory-intro .section-title,
.contact-social-intro .section-title,
.contact-message-copy .section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.25;
  margin-bottom: 18px;
}

.contact-directory-intro p,
.contact-social-intro p,
.contact-message-copy p {
  color: var(--text-muted);
  max-width: 440px;
}

.contact-method-list {
  border-top: 1px solid var(--card-border);
}

.contact-method-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 18px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--card-border);
  transition: color var(--transition), padding var(--transition), background var(--transition);
}

.contact-method-row:hover {
  color: var(--teal);
  padding-inline: 14px;
  background: var(--teal-light);
}

.contact-method-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  background: var(--teal-light);
  border-radius: 15px;
}

.contact-method-icon svg {
  width: 23px;
  height: 23px;
}

.contact-method-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: start;
}

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

.contact-method-copy strong {
  max-width: 100%;
  color: var(--navy);
  font-size: clamp(0.9rem, 1.5vw, 1.08rem);
  overflow-wrap: anywhere;
}

.contact-method-arrow {
  width: 21px;
  height: 21px;
  color: var(--teal);
  transition: transform var(--transition);
}

.contact-method-row:hover .contact-method-arrow {
  transform: translateX(4px);
}

.contact-location-section {
  background: var(--light-bg);
}

.contact-map-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.contact-map-shell iframe {
  width: 100%;
  min-height: 520px;
  border: 0;
  filter: saturate(0.88) contrast(1.02);
}

.contact-map-details {
  padding: 42px 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: var(--white);
}

.contact-map-pin {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--navy));
  border-radius: 18px;
}

.contact-map-pin svg {
  width: 27px;
  height: 27px;
}

.contact-map-details h3 {
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.45;
}

.contact-map-details p {
  margin-top: 8px;
  color: var(--text-muted);
}

.contact-map-details span[dir="ltr"] {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.76rem;
}

.contact-map-button {
  width: 100%;
  justify-content: center;
  margin-top: 32px;
  text-align: center;
}

.contact-social-section {
  background: var(--white);
}

.contact-channel-list {
  border-top: 1px solid var(--card-border);
}

.contact-channel-list a {
  display: grid;
  grid-template-columns: minmax(90px, 0.55fr) minmax(0, 1.45fr);
  gap: 20px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--card-border);
  transition: color var(--transition), padding var(--transition), background var(--transition);
}

.contact-channel-list a:hover {
  color: var(--teal);
  padding-inline: 14px;
  background: var(--teal-light);
}

.contact-channel-list span {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.contact-channel-list strong {
  min-width: 0;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-message-section {
  background: var(--light-bg);
}

.contact-page-form {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

[dir="rtl"] .contact-more-link svg,
[dir="rtl"] .contact-method-arrow {
  transform: rotate(180deg);
}

[dir="rtl"] .contact-more-link:hover svg {
  transform: rotate(180deg) translateX(3px);
}

[dir="rtl"] .contact-method-row:hover .contact-method-arrow {
  transform: rotate(180deg) translateX(4px);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

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

.footer-logo-area .logo-svg {
  width: 54px;
  height: 44px;
}

.footer-brand-name {
  color: var(--white);
  font-weight: 700;
  font-family: var(--font-ar);
}

.footer-brand-subtitle {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-tagline {
  font-size: 0.85rem;
  margin-bottom: 14px;
  line-height: 1.6;
}

.made-iraq {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--orange);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.footer-links a {
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-social-row {
  margin-top: 16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

/* ========== RESPONSIVE ========== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    order: 1;
  }

  .hero-mockup {
    order: 2;
    max-width: 420px;
    margin: 0 auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-badge {
    justify-content: center;
  }

  .hero-title {
    align-items: center;
  }

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

  .cashiri-content {
    flex-direction: column;
    text-align: center;
  }

  .cashiri-mockup {
    margin: 0 auto;
  }

  .feature-item {
    justify-content: center;
  }

  .tech-pills {
    justify-content: center;
  }

  .cashiri-flow {
    margin-left: auto;
    margin-right: auto;
  }

  .app-download-content {
    flex-direction: column;
    text-align: center;
    gap: 42px;
  }

  .app-download-copy>p,
  .app-download-note {
    margin-left: auto;
    margin-right: auto;
  }

  .app-store-actions {
    justify-content: center;
  }

  .app-download-visual {
    width: 100%;
    min-height: 550px;
  }

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

  .contact-content {
    flex-direction: column;
  }

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

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

  .product-hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

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

  .product-flow {
    min-height: 360px;
  }

  .product-flow::after {
    width: 360px;
    height: 360px;
  }

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

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
  }

  .nav-links,
  .nav-actions .cta-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-actions {
    gap: 10px;
  }

  .logo-svg {
    width: 56px;
    height: 46px;
  }

  .hero-mockup {
    min-width: 0;
    width: 100%;
  }

  .hero-statement {
    font-size: 1.05rem;
  }

  .cashiri-mockup {
    min-width: 0;
    width: 100%;
  }

  .cashiri-product-preview {
    min-height: 520px;
  }

  .cashiri-dashboard-screen {
    grid-template-columns: 54px 1fr;
    min-height: 285px;
  }

  .cashiri-side {
    padding: 14px 6px;
    font-size: 0.62rem;
  }

  .cashiri-brand-dot {
    width: 28px;
    height: 28px;
  }

  .cashiri-panel {
    padding: 12px;
  }

  .cashiri-kpi-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .cashiri-chart-card {
    grid-template-columns: 58px 1fr;
    gap: 10px;
    padding: 10px;
  }

  .cashiri-mini-donut {
    width: 52px;
    height: 52px;
  }

  .cashiri-mini-donut span {
    width: 32px;
    height: 32px;
    font-size: 0.56rem;
  }

  .cashiri-pos-screen {
    left: 0;
    width: 100%;
  }

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

  .cashiri-cart {
    border-left: none;
    border-top: 1px solid #e0e6ef;
    gap: 10px;
  }

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

  .app-download-visual {
    min-width: 0;
    min-height: 490px;
  }

  .app-phone-stage {
    width: min(254px, 82vw);
    height: 472px;
  }

  .app-phone-face {
    padding: 7px;
    border-radius: 34px;
  }

  .app-screen {
    padding: 9px 10px 0;
    border-radius: 27px;
  }

  .app-screen h3 {
    margin: 7px 0 12px;
    font-size: 1rem;
  }

  .app-metric-grid {
    gap: 8px;
    margin-bottom: 10px;
  }

  .app-metric-card {
    min-height: 64px;
    padding: 7px;
    gap: 7px;
  }

  .metric-icon {
    width: 28px;
    height: 28px;
  }

  .metric-icon svg {
    width: 16px;
    height: 16px;
  }

  .app-metric-card small {
    font-size: 0.58rem;
  }

  .app-metric-card strong {
    font-size: 0.78rem;
    padding: 3px 6px;
  }

  .metric-sales strong {
    font-size: 0.68rem;
    padding: 3px 4px;
  }

  .app-chart-card {
    padding: 10px 8px 6px;
  }

  .app-chart-card>strong {
    font-size: 0.78rem;
  }

  .app-line-chart {
    height: 108px;
  }

  .app-bottom-nav {
    margin-left: -10px;
    margin-right: -10px;
    padding: 7px 8px 6px;
  }

  .app-bottom-nav span {
    min-height: 34px;
    font-size: 0.52rem;
  }

  .app-home-indicator {
    width: 80px;
    margin-top: 7px;
  }

  .app-back-camera {
    top: 24px;
    left: 20px;
    width: 48px;
    min-height: 72px;
    padding: 8px;
  }

  .app-back-logo {
    width: 72px;
    height: 72px;
    border-radius: 22px;
  }

  .app-back-logo span {
    width: 42px;
    height: 42px;
  }

  .app-phone-back strong {
    font-size: 1.25rem;
  }

  .store-button {
    width: 100%;
    max-width: 270px;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-title-desc {
    font-size: 0.56em;
  }

  [dir="rtl"] .hero-title-desc {
    font-size: 0.78em;
  }

  .section {
    padding: 60px 0;
  }

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

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

  .cashiri-flow {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .flow-arrow {
    width: 2px;
    height: 34px;
    justify-self: center;
    background: linear-gradient(180deg, rgba(26, 143, 160, 0.15), var(--teal), var(--orange));
  }

  .flow-arrow::before {
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.85), transparent);
    transform: translateY(-100%);
    animation: flowPulseY 2s ease-in-out infinite;
  }

  .flow-arrow::after {
    top: auto;
    right: 50%;
    bottom: 0;
    transform: translate(50%, 0) rotate(135deg);
  }

  .product-hero {
    min-height: auto;
    padding: calc(var(--nav-h) + 48px) 0 60px;
  }

  .product-flow {
    min-height: 310px;
  }

  .product-screens-stack {
    min-height: 590px;
  }

  .product-screens-stack .cashiri-dashboard-screen,
  .product-screens-stack .cashiri-pos-screen {
    width: 100%;
  }

  .product-screens-stack .cashiri-pos-screen {
    bottom: 0;
  }

  .product-flow::before {
    width: 220px;
    height: 220px;
  }

  .product-flow::after {
    width: 300px;
    height: 300px;
  }

  .orbit-center {
    width: 124px;
    height: 124px;
    border-radius: 26px;
    font-size: 1.25rem;
  }

  .orbit-card {
    min-width: 92px;
    padding: 10px 12px;
    font-size: 0.78rem;
  }

  .card-b {
    right: 0;
  }

  .card-d {
    left: 0;
  }

  .adapt-grid,
  .process-line {
    grid-template-columns: 1fr;
  }

  .module-row {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }
}

/* ========== Narrow-screen overflow guardrails ========== */
@media (max-width: 768px) {
  .navbar-inner {
    gap: 8px;
    padding-inline: 12px;
  }

  .logo-link {
    min-width: 0;
    flex: 1 1 auto;
    gap: 6px;
    overflow: hidden;
  }

  .logo-text {
    min-width: 0;
    overflow: hidden;
  }

  .logo-ar,
  .logo-en {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .logo-ar {
    font-size: 0.82rem;
  }

  .logo-en {
    font-size: 0.52rem;
    letter-spacing: 0.5px;
  }

  .nav-actions,
  .hamburger {
    flex: 0 0 auto;
  }

  .hero .container,
  .cashiri .container,
  .app-download .container,
  .cashiri-detail-page .container {
    width: 100%;
    padding-inline: 16px;
  }

  .hero-content,
  .hero-text,
  .hero-title,
  .product-hero-grid,
  .product-hero-copy,
  .product-flow {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .hero h1,
  .hero-title-name,
  .hero-title-desc,
  .product-hero-copy h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero-title-desc {
    white-space: normal;
  }

  .hero-statement,
  .hero-sub,
  .product-hero-copy p {
    max-width: 100%;
  }

  .hero-buttons,
  .product-actions {
    width: 100%;
  }

  .hero-buttons > a,
  .product-actions > a {
    min-width: 0;
    flex: 1 1 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-stats {
    width: 100%;
    gap: 8px;
  }

  .stat-pill {
    min-width: 0;
    flex: 1 1 0;
    padding-inline: 6px;
  }

  .mobile-menu {
    width: auto;
    direction: inherit;
  }

  .mobile-nav-link {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
    unicode-bidi: plaintext;
  }
}

@media (max-width: 1024px) {
  .contact-page-hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .contact-page-copy {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
  }

  .contact-page-copy>p {
    margin-inline: auto;
  }

  .contact-page-actions {
    justify-content: center;
  }

  .contact-availability {
    width: min(100%, 520px);
    min-height: 300px;
    margin-inline: auto;
    text-align: center;
    align-items: center;
  }

  .availability-location {
    width: 100%;
    justify-content: center;
  }

  .contact-directory-layout,
  .contact-social-layout,
  .contact-message-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .contact-directory-intro,
  .contact-social-intro,
  .contact-message-copy {
    position: static;
    max-width: 680px;
  }

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

  .contact-map-shell iframe {
    min-height: 440px;
  }

  .contact-map-details {
    align-items: center;
    text-align: center;
  }

  .contact-map-button {
    width: auto;
  }
}

@media (max-width: 768px) {
  .contact-page-hero {
    min-height: auto;
    padding: calc(var(--nav-h) + 58px) 0 62px;
  }

  .contact-page-copy h1 {
    font-size: clamp(2.2rem, 11vw, 3.25rem);
  }

  .contact-page-actions {
    width: 100%;
  }

  .contact-page-actions a {
    width: 100%;
    justify-content: center;
  }

  .contact-availability {
    min-height: 270px;
    padding: 30px 24px;
    border-radius: 22px;
  }

  .contact-availability>strong {
    font-size: 4.3rem;
  }

  .contact-directory-intro,
  .contact-social-intro,
  .contact-message-copy {
    text-align: center;
  }

  .contact-directory-intro p,
  .contact-social-intro p,
  .contact-message-copy p {
    margin-inline: auto;
  }

  .contact-method-row {
    grid-template-columns: 48px minmax(0, 1fr) 18px;
    gap: 12px;
    padding-block: 20px;
  }

  .contact-method-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }

  .contact-map-shell {
    min-height: 0;
    border-radius: 18px;
  }

  .contact-map-shell iframe {
    min-height: 360px;
  }

  .contact-map-details {
    padding: 32px 22px;
  }

  .contact-map-button {
    width: 100%;
  }

  .contact-channel-list a {
    grid-template-columns: 1fr;
    gap: 4px;
    text-align: center;
  }

  .contact-page-form {
    border-radius: 18px;
  }
}

@media (max-width: 480px) {
  .contact-method-copy strong {
    font-size: 0.82rem;
  }

  .contact-method-row:hover,
  .contact-channel-list a:hover {
    padding-inline: 4px;
  }
}

/* Keep keyboard navigation visible across every interactive surface. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

@keyframes flowPulseY {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(100%);
  }
}
