/* ========== 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;
}

/* ========== 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; }

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

.phone-number {
  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 { width: 44px; height: 44px; flex-shrink: 0; }
.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; }

/* ========== SERVICES ========== */
.section:not(.cashiri):not(.why-us) {
  position: relative;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 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); }
.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; }
.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;
}

@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; }
.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); }
.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; }

/* ========== 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: 36px; height: 36px; }
.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: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--orange); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.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; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-content { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links, .nav-actions .cta-nav { display: none; }
  .hamburger { display: flex; }
  .nav-actions { gap: 10px; }
  .hero-mockup { min-width: 0; width: 100%; }
  .hero-statement { font-size: 1.05rem; }
  .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; }
}
