/* ==========================================================================
   صفحة هبوط نظام سَنَشُدُّ POS (Sanashud POS Executive FinTech Landing Page)
   تصميم مؤسسي فاخر (Luxury RTL FinTech SaaS Aesthetic)
   ========================================================================== */

:root {
  --primary: #0F766E;
  --primary-hover: #115E59;
  --primary-deep: #134E4A;
  --primary-light: #F0FDFA;
  --primary-border: #99F6E4;

  --secondary: #059669;
  --secondary-hover: #047857;
  --secondary-light: #ECFDF5;

  --obsidian: #0B1120;
  --dark: #0F172A;
  --dark-card: #151F32;
  --dark-border: #24324B;

  --surface: #FFFFFF;
  --surface-alt: #F8FAFC;
  --surface-muted: #F1F5F9;

  --border-subtle: #E2E8F0;
  --border-strong: #CBD5E1;

  --text-main: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;

  --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 32px -8px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 54px -14px rgba(15, 23, 42, 0.13), 0 4px 14px -2px rgba(15, 23, 42, 0.05);
  --shadow-emerald: 0 14px 30px -8px rgba(15, 118, 110, 0.38);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, sans-serif;
  direction: rtl;
  background-color: var(--surface);
  color: var(--text-main);
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}

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

.ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  vertical-align: middle;
}

.ico svg {
  width: 100%;
  height: 100%;
  display: block;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ==========================================================================
   1. شريط التنقل العلوي الفاخر (Navbar)
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  padding: 13px 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--dark);
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px -4px rgba(15, 118, 110, 0.42);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
}

.brand-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  padding: 5px 8px;
  border-radius: 999px;
}

.nav-links a {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-body);
  padding: 7px 14px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

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

.btn-nav-wa {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  color: #047857;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 9px 16px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
}

.btn-nav-wa:hover {
  background: #D1FAE5;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0D9488 100%);
  color: #FFFFFF;
  padding: 11px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-emerald);
  transition: all 0.22s ease;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -8px rgba(15, 118, 110, 0.5);
}

.nav-cta-btn {
  padding: 10px 18px;
  font-size: 13.5px;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  color: #FFFFFF;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 26px -6px rgba(5, 150, 105, 0.38);
  transition: all 0.22s ease;
}

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

.rtl-arrow {
  font-size: 14px;
  line-height: 1;
  display: inline-block;
}

/* ==========================================================================
   2. القسم الترويجي الرئيسي (Split-Screen RTL Hero + Executive Ribbon)
   ========================================================================== */
.hero {
  position: relative;
  padding: 64px 0 56px;
  background:
    radial-gradient(circle at 82% 18%, rgba(204, 251, 241, 0.65) 0%, transparent 45%),
    radial-gradient(circle at 16% 32%, rgba(209, 250, 229, 0.55) 0%, transparent 48%),
    linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-ambient-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 920px;
  height: 320px;
  background: radial-gradient(ellipse, rgba(15, 118, 110, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content-col {
  text-align: right;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  background: #FFFFFF;
  border: 1px solid #99F6E4;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  box-shadow: 0 4px 14px -4px rgba(15, 118, 110, 0.14);
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
  display: inline-block;
}

.hero h1 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 18px;
}

.hero h1 span {
  display: inline-block;
  padding-bottom: 6px;
  color: var(--primary);
  background: linear-gradient(135deg, #0F766E 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: clamp(15.5px, 1.5vw, 17px);
  color: var(--text-body);
  margin: 0 0 28px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-btn-main {
  padding: 15px 26px;
  font-size: 15px;
  border-radius: 13px;
}

.btn-whatsapp-outline {
  background: #FFFFFF;
  color: #047857;
  border: 1.5px solid #059669;
  padding: 14px 24px;
  border-radius: 13px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px -4px rgba(5, 150, 105, 0.12);
  transition: all 0.22s ease;
}

.btn-whatsapp-outline:hover {
  background: #ECFDF5;
  border-color: #047857;
  transform: translateY(-2px);
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-body);
}

.trust-icon-badge {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #CCFBF1;
}

/* ── نافذة معاينة لوحة التحكم في العمود الأيسر ── */
.hero-visual-col {
  position: relative;
}

.hero-visual-frame {
  position: relative;
  padding: 10px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(241, 245, 249, 0.7));
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
}

.canva-dash-window {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
}

.canva-dash-topbar {
  background: #FFFFFF;
  border-bottom: 1px solid #F1F5F9;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.canva-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.canva-dash-window-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
}

.canva-dash-branch-badge {
  font-size: 10px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid #CCFBF1;
  padding: 2px 8px;
  border-radius: 999px;
}

.canva-dash-window-sub {
  font-size: 11px;
  color: #94A3B8;
  font-weight: 500;
}

.canva-dash-dots {
  display: flex;
  gap: 5px;
  direction: ltr;
}

.canva-dash-dots span {
  width: 8.5px;
  height: 8.5px;
  border-radius: 50%;
  display: inline-block;
}

.canva-dash-body {
  display: grid;
  grid-template-columns: 122px 1fr;
  min-height: 416px;
}

.canva-dash-sidebar {
  background: var(--obsidian);
  color: #E2E8F0;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.canva-dash-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  padding: 0 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 6px;
}

.mini-brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: #10B981;
}

.canva-dash-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 11.5px;
  font-weight: 600;
  color: #94A3B8;
}

.canva-dash-nav-item.active {
  background: rgba(15, 118, 110, 0.35);
  color: #5EEAD4;
  border: 1px solid rgba(94, 234, 212, 0.24);
}

.canva-dash-main {
  background: #F8FAFC;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.canva-dash-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.canva-dash-header-row h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
}

.canva-date-sub {
  font-size: 10.5px;
  color: var(--text-muted);
}

.canva-offline-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #059669;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.canva-offline-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #059669;
}

.canva-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.canva-kpi-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 11px;
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.canva-kpi-card.highlight-kpi {
  background: linear-gradient(180deg, #FFFFFF 0%, #F0FDFA 100%);
  border-color: #99F6E4;
}

.kpi-label {
  font-size: 10.5px;
  color: #64748B;
  font-weight: 600;
}

.kpi-val {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark);
}

.kpi-sub {
  font-size: 9.5px;
  color: #059669;
  font-weight: 600;
}

.kpi-sub.warn {
  color: #D97706;
}

.canva-mid-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 10px;
}

.canva-chart-card,
.canva-recent-card,
.canva-table-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 11px 12px;
}

.card-mini-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.card-mini-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--dark);
}

.card-mini-badge {
  font-size: 9.5px;
  font-weight: 700;
  color: #059669;
  background: #ECFDF5;
  padding: 2px 7px;
  border-radius: 999px;
}

.table-live-hint {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
}

.canva-bars-wrap {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  height: 86px;
  align-items: end;
  padding-top: 4px;
}

.bar-col {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
}

.bar-col .bar {
  width: 100%;
  background: #CCFBF1;
  border-radius: 5px 5px 2px 2px;
}

.bar-col .bar.active {
  background: linear-gradient(180deg, #0D9488 0%, #0F766E 100%);
}

.bar-col span {
  font-size: 9.5px;
  color: #64748B;
}

.recent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  padding: 6px 0;
  border-bottom: 1px dashed #F1F5F9;
  color: #475569;
}

.recent-row:last-child {
  border-bottom: none;
}

.badge-ok,
.status-ok {
  background: #ECFDF5;
  color: #059669;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.status-low {
  background: #FFFBEB;
  color: #D97706;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.canva-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}

.canva-mini-table th {
  text-align: right;
  font-size: 10.5px;
  color: #64748B;
  padding-bottom: 6px;
  border-bottom: 1px solid #F1F5F9;
}

.canva-mini-table td {
  padding: 6px 0;
  border-bottom: 1px solid #F8FAFC;
  color: var(--dark);
}

/* البطاقة العائمة أسفل لوحة التحكم */
.hero-floating-toast {
  position: absolute;
  bottom: -16px;
  right: 22px;
  background: var(--obsidian);
  color: #FFFFFF;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid rgba(94, 234, 212, 0.3);
  box-shadow: 0 18px 36px -8px rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  gap: 11px;
  z-index: 5;
}

.toast-icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.toast-text strong {
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
}

.toast-text span {
  font-size: 11px;
  color: #94A3B8;
}

/* ── شريط القطاعات التجارية والمؤشرات (Executive Ribbon) ── */
.executive-ribbon {
  margin-top: 48px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 20px 26px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ribbon-sectors {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #F1F5F9;
}

.ribbon-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark);
}

.sector-pills-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sector-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-body);
  transition: all 0.2s ease;
}

.sector-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.ribbon-metrics {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}

.metric-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.metric-item strong {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.metric-item span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.metric-divider {
  width: 1px;
  height: 26px;
  background: var(--border-subtle);
}

/* ==========================================================================
   3. عناوين الأقسام الموحدة (Section Headers)
   ========================================================================== */
.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 54px;
}

.section-tag {
  display: inline-block;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid #CCFBF1;
  padding: 5px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.38;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 16.5px;
  line-height: 1.75;
}

/* ==========================================================================
   4. قسم المشاكل والحلول (Transformation Cards)
   ========================================================================== */
.pain-section {
  padding: 92px 0;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border-subtle);
}

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

.pain-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.pain-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #99F6E4;
}

.pain-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.pain-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--surface-muted);
  padding: 4px 10px;
  border-radius: 8px;
}

.pain-status-bad {
  font-size: 11.5px;
  font-weight: 700;
  color: #DC2626;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  padding: 3px 10px;
  border-radius: 999px;
}

.pain-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pain-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.pain-card > p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
  flex: 1;
}

.pain-solution-box {
  background: linear-gradient(180deg, #F0FDFA 0%, #ECFDF5 100%);
  border: 1px solid #A7F3D0;
  border-radius: 14px;
  padding: 14px 16px;
}

.sol-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #047857;
  margin-bottom: 6px;
}

.pain-solution-box p {
  font-size: 13.5px;
  color: #065F46;
  line-height: 1.65;
}

/* ==========================================================================
   5. قسم القدرات والمزايا بتصميم Bento Grid الفاخر
   ========================================================================== */
.bento-section {
  padding: 96px 0;
  background: #FFFFFF;
}

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

.bento-card {
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
  background: #FFFFFF;
}

.bento-span-7 {
  grid-column: span 7;
}

.bento-span-5 {
  grid-column: span 5;
}

.bento-span-4 {
  grid-column: span 4;
}

.bento-span-12 {
  grid-column: span 12;
}

.bento-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: #CCFBF1;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.bento-badge.emerald {
  color: #047857;
  background: #D1FAE5;
}

.bento-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.bento-card p {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.75;
}

.bento-mini-ui {
  margin-top: 22px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 15px;
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}

.mini-sync-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sync-node {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  padding: 10px 12px;
  border-radius: 12px;
  flex: 1;
}

.sync-node.active-node {
  background: var(--primary-light);
  border-color: #99F6E4;
  color: var(--primary);
}

.sync-node div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.sync-node strong {
  font-size: 12.5px;
  color: var(--dark);
}

.sync-node span {
  font-size: 11px;
  color: var(--text-muted);
}

.node-status-ok {
  margin-right: auto;
  font-size: 10.5px !important;
  font-weight: 700;
  color: #059669 !important;
  background: #ECFDF5;
  padding: 3px 8px;
  border-radius: 999px;
}

.sync-connector {
  font-size: 18px;
  color: var(--primary);
  font-weight: 700;
}

.mini-wa-receipt {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 12px;
  padding: 12px 14px;
}

.wa-receipt-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #047857;
  margin-bottom: 6px;
}

.wa-time {
  margin-right: auto;
  font-size: 10.5px;
  color: #059669;
}

.wa-receipt-body {
  font-size: 12.5px;
  color: #064E3B;
  line-height: 1.6;
}

.bento-icon-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 14px;
  align-self: flex-start;
}

.bento-chip-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.bento-chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-body);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  padding: 5px 11px;
  border-radius: 999px;
}

/* البطاقة العاشرة الشاملة (12 عموداً) */
.bento-modules-showcase {
  background: linear-gradient(135deg, var(--obsidian) 0%, #132238 100%);
  color: #FFFFFF;
  border-color: var(--dark-border);
  padding: 36px 34px;
}

.bento-modules-showcase:hover {
  background: linear-gradient(135deg, var(--obsidian) 0%, #162842 100%);
  border-color: var(--primary);
}

.bento-modules-showcase h3 {
  color: #FFFFFF;
  font-size: 22px;
}

.bento-modules-showcase p {
  color: #94A3B8;
  max-width: 780px;
}

.modules-dock {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.module-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #E2E8F0;
  transition: all 0.2s ease;
}

.module-pill:hover {
  background: rgba(15, 118, 110, 0.35);
  border-color: #5EEAD4;
  color: #FFFFFF;
}

/* ==========================================================================
   6. مسرح التجربة التفاعلية الحية (Interactive Live Demo Studio)
   ========================================================================== */
.studio-section {
  padding: 88px 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(15, 118, 110, 0.28) 0%, transparent 55%),
    var(--obsidian);
  color: #FFFFFF;
}

.studio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.studio-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #6EE7B7;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 12px;
}

.live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
}

.studio-title-col h2 {
  font-size: clamp(25px, 3.2vw, 35px);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.studio-title-col p {
  color: #94A3B8;
  font-size: 15.5px;
}

.btn-studio-fullscreen {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-studio-fullscreen:hover {
  background: var(--primary);
  border-color: #5EEAD4;
}

.studio-guide-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.guide-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  color: #E2E8F0;
}

.guide-step code {
  background: rgba(16, 185, 129, 0.2);
  color: #6EE7B7;
  padding: 1px 7px;
  border-radius: 6px;
  font-weight: 700;
}

.step-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-mockup {
  background: #FFFFFF;
  border: 2px solid #334155;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 36px 80px -20px rgba(0, 0, 0, 0.65);
}

.mockup-header-bar {
  background: #1E293B;
  border-bottom: 1px solid #334155;
  padding: 11px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mockup-dots-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  direction: ltr;
}

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

.mockup-url-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #0F172A;
  border: 1px solid #334155;
  color: #94A3B8;
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

.mockup-open-link {
  color: #5EEAD4;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}

.mockup-open-link:hover {
  text-decoration: underline;
}

.mockup-frame {
  width: 100%;
  height: 640px;
  border: none;
  display: block;
}

/* ==========================================================================
   7. جدول المقارنة الصريحة (Comparison Table)
   ========================================================================== */
.comparison-section {
  padding: 96px 0;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  overflow-x: auto;
  box-shadow: var(--shadow-md);
}

.comp-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.comp-table th,
.comp-table td {
  padding: 18px 24px;
  text-align: right;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 15px;
}

.comp-table tbody tr:last-child td {
  border-bottom: none;
}

.comp-table th {
  background: #F8FAFC;
  font-weight: 700;
  color: var(--dark);
  font-size: 15.5px;
}

.comp-th-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.comp-table th.highlight-col {
  background: var(--primary);
  color: #FFFFFF;
}

.comp-table td.highlight-col {
  background: #F0FDFA;
  font-weight: 700;
  color: var(--primary-deep);
}

.comp-ico-ok {
  color: var(--secondary);
  margin-left: 6px;
}

.comp-ico-warn {
  color: #DC2626;
  margin-left: 6px;
}

/* ==========================================================================
   8. باقات الأسعار والاستثمار (Executive Pricing)
   ========================================================================== */
.pricing-section {
  padding: 96px 0;
  background:
    radial-gradient(circle at 50% 10%, rgba(15, 118, 110, 0.22) 0%, transparent 50%),
    var(--obsidian);
  color: #FFFFFF;
}

.pricing-section .section-head h2 {
  color: #FFFFFF;
}

.pricing-section .section-head p {
  color: #94A3B8;
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--dark-card);
  border: 1.5px solid var(--dark-border);
  border-radius: 24px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: #475569;
}

.pricing-card.popular {
  background: linear-gradient(180deg, #132D32 0%, #11222B 100%);
  border-color: #14B8A6;
  box-shadow: 0 28px 60px -15px rgba(15, 118, 110, 0.45);
  transform: translateY(-6px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 50%;
  transform: translateX(50%);
  background: linear-gradient(135deg, #0D9488 0%, #059669 100%);
  color: #FFFFFF;
  padding: 5px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 6px 16px -2px rgba(13, 148, 136, 0.5);
}

.pricing-tier-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 600;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.pricing-tier-tag.emerald-tag {
  color: #5EEAD4;
  background: rgba(20, 184, 166, 0.16);
}

.pricing-title {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.pricing-price {
  font-size: 38px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
  white-space: nowrap;
}

.pricing-price span {
  font-size: 15px;
  color: #94A3B8;
  font-weight: 500;
}

.pricing-desc {
  font-size: 14px;
  color: #94A3B8;
  line-height: 1.7;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
  flex: 1;
}

.pricing-features li {
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #E2E8F0;
  line-height: 1.55;
}

.pricing-features li span {
  color: #10B981;
  font-weight: 700;
  flex-shrink: 0;
}

.btn-pricing-outline {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-pricing-outline:hover {
  background: #FFFFFF;
  color: var(--obsidian);
}

.pricing-main-btn,
.pricing-wa-btn {
  justify-content: center;
  padding: 14px 20px;
}

.pricing-guarantee-bar {
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}

.guarantee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #CBD5E1;
}

.guarantee-item .ico {
  color: #10B981;
}

/* ==========================================================================
   9. الأسئلة الشائعة وبانر الإغلاق الختامي (FAQ & Final CTA)
   ========================================================================== */
.faq-section {
  padding: 96px 0;
  background: #FFFFFF;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 1060px;
  margin: 0 auto;
  align-items: start;
}

.faq-item {
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 22px 24px;
  transition: all 0.2s ease;
}

.faq-item[open] {
  background: #FFFFFF;
  border-color: var(--primary-border);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  font-weight: 700;
  font-size: 16px;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.faq-item p {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.8;
}

/* بانر الدعوة الختامي */
.final-cta-banner {
  margin-top: 72px;
  background:
    radial-gradient(circle at 15% 50%, rgba(16, 185, 129, 0.22) 0%, transparent 50%),
    linear-gradient(135deg, var(--obsidian) 0%, #132A2E 100%);
  border: 1px solid #1E3A3A;
  border-radius: 26px;
  padding: 48px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
}

.final-cta-text {
  max-width: 620px;
}

.final-cta-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #5EEAD4;
  background: rgba(20, 184, 166, 0.16);
  border: 1px solid rgba(94, 234, 212, 0.25);
  padding: 4px 13px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.final-cta-text h3 {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.38;
}

.final-cta-text p {
  color: #94A3B8;
  font-size: 15.5px;
}

.final-cta-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.final-btn-main,
.final-btn-wa {
  padding: 14px 24px;
  font-size: 15px;
}

/* ==========================================================================
   10. التذييل المنظم (Executive Multi-Column Footer)
   ========================================================================== */
.footer {
  background: #070B14;
  color: #94A3B8;
  padding: 64px 0 36px;
  border-top: 1px solid #1E293B;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.footer-brand-col p {
  font-size: 14px;
  color: #94A3B8;
  line-height: 1.8;
  max-width: 440px;
}

.footer-links-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
}

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

.footer-links-col a {
  text-decoration: none;
  font-size: 13.5px;
  color: #94A3B8;
  transition: color 0.2s ease;
}

.footer-links-col a:hover {
  color: #5EEAD4;
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #64748B;
}

/* ==========================================================================
   11. التجاوب مع الشاشات المتوسطة والجوال (Responsive Breakpoints)
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .bento-span-7,
  .bento-span-5,
  .bento-span-4 {
    grid-column: span 12;
  }

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

  .studio-guide-bar {
    grid-template-columns: 1fr;
  }

  .pricing-cards-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }

  .pricing-card.popular {
    transform: none;
  }

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

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

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

  .brand-tag,
  .btn-nav-wa {
    display: none;
  }

  .hero {
    padding: 40px 0 44px;
  }

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

  .hero-cta a {
    width: 100%;
    justify-content: center;
  }

  .canva-dash-body {
    grid-template-columns: 1fr;
  }

  .canva-dash-sidebar {
    flex-direction: row;
    overflow-x: auto;
    align-items: center;
    padding: 10px;
  }

  .canva-dash-brand {
    padding: 0 0 0 8px;
    margin-bottom: 0;
    border-bottom: none;
    white-space: nowrap;
  }

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

  .canva-mid-grid {
    grid-template-columns: 1fr;
  }

  .hero-floating-toast {
    position: static;
    margin-top: 12px;
  }

  .metric-divider {
    display: none;
  }

  .mini-sync-flow {
    flex-direction: column;
  }

  .modules-dock {
    grid-template-columns: 1fr;
  }

  .mockup-url-pill {
    display: none;
  }

  .mockup-frame {
    height: 460px;
  }

  .final-cta-banner {
    padding: 32px 22px;
  }

  .final-cta-buttons {
    width: 100%;
    flex-direction: column;
  }

  .final-cta-buttons a {
    width: 100%;
    justify-content: center;
  }
}
