/* ==========================================================================
   ARABIC CONSULTANT - ADVANTAGES PAGE (INSTITUTIONAL & PREMIUM REBUILD)
   Truth-First Architecture | High Contrast | Strict Arabic RTL | Interactive Slider
   ========================================================================== */

:root {
  --ac-primary: #0064ff;
  --ac-primary-dark: #004ecc;
  --ac-primary-hover: #1a75ff;
  --ac-primary-tint: rgba(0, 100, 255, 0.08);
  --ac-primary-border: rgba(0, 100, 255, 0.22);
  
  --ac-text-headline: #0f172a;
  --ac-text-body: #1e293b;
  --ac-text-muted: #334155;
  --ac-text-subtle: #64748b;
  
  --ac-bg-canvas: #ffffff;
  --ac-bg-subtle: #f8fafc;
  --ac-bg-card: #ffffff;
  --ac-bg-card-hover: #f1f5f9;
  
  --ac-border: #e2e8f0;
  --ac-border-subtle: #f1f5f9;
  
  --ac-success: #059669;
  --ac-success-tint: rgba(5, 150, 105, 0.08);
  --ac-success-border: rgba(5, 150, 105, 0.2);
  
  --ac-dark-anchor: #080d1a;
  --ac-dark-footer: #080c14;
  
  --ac-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.03);
  --ac-shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --ac-shadow-lg: 0 12px 36px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --ac-shadow-blue: 0 8px 24px rgba(0, 100, 255, 0.28);
}

/* ==========================================================================
   1. GLOBAL PAGE CONTAINER & STRICT ARABIC RTL TYPOGRAPHY
   ========================================================================== */
html, 
html[dir="rtl"],
body,
#main-content {
  background-color: var(--ac-bg-canvas);
  color: var(--ac-text-body);
  font-family: 'Tajawal', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  direction: rtl !important;
  text-align: right !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

#main-content h1,
#main-content h2,
#main-content h3,
#main-content h4,
#main-content h5,
#main-content h6,
#main-content p,
#main-content div,
#main-content span,
#main-content li,
#main-content ul,
#main-content section,
#main-content article {
  direction: rtl;
  text-align: right;
  box-sizing: border-box;
}

.ac-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
  direction: rtl !important;
  text-align: right !important;
}

/* Force all text inside advantages page to be RTL right-aligned */
#main-content *:not(svg):not(path):not(polyline):not(circle):not(rect):not(line) {
  direction: rtl;
}
#main-content p,
#main-content h1, #main-content h2, #main-content h3, #main-content h4,
#main-content span:not(.ac-nav-tab-num):not(.ac-visual-tag):not(.ac-arch-pill):not(.ac-team-lane-badge),
#main-content div {
  text-align: right !important;
}

/* ── EXCEPTIONS: Hero & CTA sections are CENTER-aligned, not right ── */
#main-content .ac-hero-title,
#main-content .ac-hero-desc {
  text-align: center !important;
  direction: rtl;
}

#main-content .ac-final-cta-heading,
#main-content .ac-final-cta-lead {
  text-align: center !important;
  direction: rtl;
}

.ac-container-narrow {
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
  direction: rtl !important;
  text-align: right !important;
}

/* Scroll progress indicator */
#ac-scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0064ff, #00d2ff);
  transform-origin: 0% 50%;
  transform: scaleX(0);
  z-index: 99999;
  transition: transform 0.1s linear;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.ac-hero-section {
  position: relative;
  padding: 88px 0 60px;
  background: radial-gradient(circle at 50% 0%, rgba(0, 100, 255, 0.04) 0%, rgba(255, 255, 255, 0) 70%), #ffffff;
  border-bottom: 1px solid var(--ac-border-subtle);
}

.ac-hero-content {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center !important;
  direction: rtl;
}

.ac-hero-content h1,
.ac-hero-content p,
.ac-hero-content div,
.ac-hero-content span {
  text-align: center !important;
}

.ac-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--ac-primary-tint);
  border: 1px solid var(--ac-primary-border);
  color: var(--ac-primary);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.2px;
  text-align: center !important;
}

.ac-hero-title {
  font-size: clamp(32px, 4.5vw, 50px);
  font-weight: 900;
  line-height: 1.35;
  color: var(--ac-text-headline);
  margin: 0 0 20px;
  letter-spacing: -0.5px;
  text-align: center !important;
  direction: rtl !important;
}

.ac-hero-desc {
  font-size: clamp(17px, 2vw, 19.5px);
  line-height: 1.9;
  color: var(--ac-text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  font-weight: 500;
  text-align: center !important;
  direction: rtl !important;
}

.ac-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  direction: rtl !important;
}

.ac-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 12px;
  background: var(--ac-primary);
  color: #ffffff !important;
  font-size: 16.5px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--ac-shadow-blue);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  direction: rtl !important;
}

.ac-btn-primary:hover {
  background: var(--ac-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 100, 255, 0.38);
}

.ac-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  background: var(--ac-bg-subtle);
  color: var(--ac-text-headline) !important;
  font-size: 16.5px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid var(--ac-border);
  transition: all 0.2s ease;
  direction: rtl !important;
}

.ac-btn-secondary:hover {
  background: #ffffff;
  border-color: var(--ac-primary-border);
  color: var(--ac-primary) !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   3. INSTITUTIONAL TRUST STRIP
   ========================================================================== */
.ac-trust-strip-section {
  background: #ffffff;
  border-bottom: 1px solid var(--ac-border);
  padding: 24px 0;
  direction: rtl !important;
}

.ac-trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  direction: rtl !important;
}

.ac-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--ac-bg-subtle);
  border: 1px solid var(--ac-border-subtle);
  direction: rtl !important;
  text-align: right !important;
}

.ac-trust-icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--ac-primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ac-primary);
  box-shadow: var(--ac-shadow-sm);
  flex-shrink: 0;
}

.ac-trust-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ac-text-headline);
  margin-bottom: 3px;
  line-height: 1.3;
  text-align: right !important;
  direction: rtl !important;
}

.ac-trust-sub {
  font-size: 13px;
  color: var(--ac-text-subtle);
  line-height: 1.4;
  margin: 0;
  text-align: right !important;
  direction: rtl !important;
}

/* ==========================================================================
   4. STICKY IN-PAGE ADVANTAGE SLIDER / CAROUSEL NAVIGATOR
   ========================================================================== */
.ac-sticky-nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ac-border);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  direction: rtl !important;
}

.ac-slider-track-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  padding: 10px 0;
  direction: rtl !important;
}

.ac-slider-arrow {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--ac-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ac-text-headline);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  z-index: 2;
  flex-shrink: 0;
  outline: none;
}

.ac-slider-arrow:hover {
  background: var(--ac-primary);
  color: #ffffff;
  border-color: var(--ac-primary);
  box-shadow: var(--ac-shadow-blue);
  transform: scale(1.08);
}

.ac-slider-arrow:active {
  transform: scale(0.95);
}

.ac-sticky-nav-list {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 6px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  direction: rtl !important;
}

.ac-sticky-nav-list::-webkit-scrollbar {
  display: none;
}

.ac-sticky-nav-list.is-dragging {
  cursor: grabbing !important;
  user-select: none;
  scroll-behavior: auto;
}

.ac-nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ac-text-body);
  background: #ffffff;
  border: 1px solid var(--ac-border);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  direction: rtl !important;
}

.ac-nav-tab:hover {
  color: var(--ac-primary);
  border-color: var(--ac-primary-border);
  background: var(--ac-primary-tint);
  transform: translateY(-1px);
}

.ac-nav-tab.active {
  color: #ffffff !important;
  background: var(--ac-primary) !important;
  border-color: var(--ac-primary) !important;
  box-shadow: 0 4px 16px rgba(0, 100, 255, 0.38);
  transform: translateY(-1px);
}

.ac-nav-tab-num {
  font-size: 12px;
  font-weight: 900;
  background: rgba(15, 23, 42, 0.06);
  padding: 2px 7px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.ac-nav-tab.active .ac-nav-tab-num {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* ==========================================================================
   5. CORE PILLAR SECTIONS
   ========================================================================== */
.ac-pillar-section {
  padding: 96px 0;
  border-bottom: 1px solid var(--ac-border-subtle);
  position: relative;
  direction: rtl !important;
  text-align: right !important;
}

.ac-pillar-section:nth-child(even) {
  background: var(--ac-bg-subtle);
}

.ac-pillar-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  direction: rtl !important;
}

.ac-pillar-grid.reverse .ac-pillar-content {
  order: 2;
}

.ac-pillar-grid.reverse .ac-pillar-visual {
  order: 1;
}

/* Pillar Content Column */
.ac-pillar-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: right !important;
  direction: rtl !important;
}

.ac-pillar-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ac-primary);
  margin-bottom: 14px;
  direction: rtl !important;
  text-align: right !important;
}

.ac-pillar-badge-num {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--ac-primary-tint);
  border: 1px solid var(--ac-primary-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 900;
}

.ac-pillar-title {
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 900;
  line-height: 1.4;
  color: var(--ac-text-headline);
  margin: 0 0 18px;
  letter-spacing: -0.3px;
  text-align: right !important;
  direction: rtl !important;
}

.ac-pillar-desc {
  font-size: 17px;
  line-height: 1.95;
  color: var(--ac-text-muted);
  margin: 0 0 28px;
  font-weight: 500;
  text-align: right !important;
  direction: rtl !important;
}

.ac-pillar-proof-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  direction: rtl !important;
  text-align: right !important;
}

.ac-proof-item {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ac-text-body);
  font-weight: 600;
  text-align: right !important;
  direction: rtl !important;
}

.ac-proof-icon {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--ac-success);
}

.ac-pillar-caveat {
  font-size: 13px;
  color: var(--ac-text-subtle);
  margin-top: 18px;
  line-height: 1.6;
  font-weight: 500;
  text-align: right !important;
  direction: rtl !important;
}

/* Pillar Visual Card / Blueprint Column */
.ac-pillar-visual {
  background: #ffffff;
  border: 1px solid var(--ac-border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--ac-shadow-md);
  position: relative;
  overflow: hidden;
  direction: rtl !important;
  text-align: right !important;
}

.ac-visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ac-border-subtle);
  padding-bottom: 16px;
  margin-bottom: 24px;
  direction: rtl !important;
}

.ac-visual-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ac-text-headline);
  display: flex;
  align-items: center;
  gap: 8px;
  direction: rtl !important;
  text-align: right !important;
}

.ac-visual-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--ac-primary);
  background: var(--ac-primary-tint);
  border: 1px solid var(--ac-primary-border);
  padding: 3px 10px;
  border-radius: 6px;
  direction: rtl !important;
}

/* ==========================================================================
   VISUAL BLUEPRINT COMPONENTS (PILLARS 01 TO 10)
   ========================================================================== */

/* 1. Team Blueprint (Pillar 01 & 10) */
.ac-team-blueprint {
  display: flex;
  flex-direction: column;
  gap: 12px;
  direction: rtl !important;
  text-align: right !important;
}

.ac-team-lane {
  background: var(--ac-bg-subtle);
  border: 1px solid var(--ac-border-subtle);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  direction: rtl !important;
  text-align: right !important;
}

.ac-team-lane-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ac-text-headline);
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: right !important;
}

.ac-team-lane-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--ac-text-subtle);
  background: #ffffff;
  border: 1px solid var(--ac-border);
  padding: 3px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.ac-pm-callout {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--ac-primary-tint);
  border: 1px solid var(--ac-primary-border);
  border-radius: 12px;
  margin-top: 4px;
  direction: rtl !important;
  text-align: right !important;
}

.ac-pm-callout-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right !important;
}

.ac-pm-callout-text strong {
  font-size: 13.5px;
  color: var(--ac-primary);
  font-weight: 800;
}

.ac-pm-callout-text span {
  font-size: 12px;
  color: var(--ac-text-body);
}

/* 2. Timeline Flow (Pillar 02) */
.ac-timeline-flow {
  display: flex;
  flex-direction: column;
  gap: 14px;
  direction: rtl !important;
  text-align: right !important;
}

.ac-timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 16px;
  background: var(--ac-bg-subtle);
  border: 1px solid var(--ac-border-subtle);
  border-radius: 12px;
  direction: rtl !important;
  text-align: right !important;
}

.ac-timeline-indicator {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--ac-primary-tint);
  border: 1px solid var(--ac-primary-border);
  color: var(--ac-primary);
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.ac-timeline-body {
  flex: 1;
  text-align: right !important;
  direction: rtl !important;
}

.ac-timeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.ac-timeline-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--ac-text-headline);
  text-align: right !important;
}

.ac-timeline-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--ac-primary);
  background: #ffffff;
  border: 1px solid var(--ac-primary-border);
  padding: 2px 8px;
  border-radius: 4px;
}

.ac-timeline-desc {
  font-size: 12px;
  color: var(--ac-text-subtle);
  line-height: 1.5;
  margin: 0;
  text-align: right !important;
}

/* 3. Architecture Stack (Pillars 03, 04, 06) */
.ac-arch-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  direction: rtl !important;
  text-align: right !important;
}

.ac-arch-layer {
  background: var(--ac-bg-subtle);
  border: 1px solid var(--ac-border-subtle);
  border-radius: 12px;
  padding: 14px 16px;
  direction: rtl !important;
  text-align: right !important;
}

.ac-arch-layer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  direction: rtl !important;
}

.ac-arch-layer-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ac-text-headline);
  text-align: right !important;
}

.ac-arch-layer-tags {
  display: flex;
  gap: 6px;
}

.ac-arch-pill {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ac-primary);
  background: #ffffff;
  border: 1px solid var(--ac-primary-border);
  padding: 2px 8px;
  border-radius: 4px;
}

.ac-arch-layer-desc {
  font-size: 12px;
  color: var(--ac-text-subtle);
  line-height: 1.55;
  margin: 0;
  text-align: right !important;
}

/* 5. Security Matrix (Pillar 05) */
.ac-sec-matrix {
  display: flex;
  flex-direction: column;
  gap: 10px;
  direction: rtl !important;
  text-align: right !important;
}

.ac-sec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--ac-bg-subtle);
  border: 1px solid var(--ac-border-subtle);
  border-radius: 12px;
  direction: rtl !important;
  text-align: right !important;
}

.ac-sec-row-info {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: right !important;
}

.ac-sec-row-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ac-text-headline);
  text-align: right !important;
}

.ac-sec-row-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ac-success);
  background: #ffffff;
  border: 1px solid var(--ac-success-border);
  padding: 3px 10px;
  border-radius: 6px;
}

/* 7. Integrations Network (Pillar 07) */
.ac-int-network {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  direction: rtl !important;
  text-align: right !important;
}

.ac-int-box {
  background: var(--ac-bg-subtle);
  border: 1px solid var(--ac-border-subtle);
  border-radius: 12px;
  padding: 14px;
  direction: rtl !important;
  text-align: right !important;
}

.ac-int-box-cat {
  font-size: 13px;
  font-weight: 800;
  color: var(--ac-text-headline);
  margin-bottom: 4px;
  text-align: right !important;
}

.ac-int-box-items {
  font-size: 11.5px;
  color: var(--ac-text-subtle);
  line-height: 1.45;
  text-align: right !important;
}

/* 8. Handover Grid (Pillar 08) */
.ac-handover-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  direction: rtl !important;
  text-align: right !important;
}

.ac-handover-card {
  background: var(--ac-bg-subtle);
  border: 1px solid var(--ac-border-subtle);
  border-radius: 12px;
  padding: 14px;
  direction: rtl !important;
  text-align: right !important;
}

.ac-handover-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ac-text-headline);
  margin-bottom: 6px;
  text-align: right !important;
}

.ac-handover-card-sub {
  font-size: 11.5px;
  color: var(--ac-text-subtle);
  line-height: 1.45;
  margin: 0;
  text-align: right !important;
}

/* ==========================================================================
   6. VALUE MATRIX SECTION ("ما الذي يعنيه هذا للعميل؟")
   ========================================================================== */
.ac-value-section {
  padding: 96px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--ac-border);
  direction: rtl !important;
  text-align: right !important;
}

.ac-section-header {
  text-align: center !important;
  max-width: 760px;
  margin: 0 auto 56px;
  direction: rtl !important;
}

.ac-section-eyebrow {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ac-primary);
  margin-bottom: 12px;
  text-align: center !important;
  direction: rtl !important;
}

.ac-section-title {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 900;
  line-height: 1.35;
  color: var(--ac-text-headline);
  margin: 0 0 16px;
  text-align: center !important;
  direction: rtl !important;
}

.ac-section-desc {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ac-text-muted);
  margin: 0;
  font-weight: 500;
  text-align: center !important;
  direction: rtl !important;
}

.ac-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  direction: rtl !important;
}

@media (max-width: 1024px) {
  .ac-value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ac-value-card {
  background: var(--ac-bg-subtle);
  border: 1px solid var(--ac-border-subtle);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  direction: rtl !important;
  text-align: right !important;
}

.ac-value-card:hover {
  background: #ffffff;
  border-color: var(--ac-primary-border);
  box-shadow: var(--ac-shadow-md);
  transform: translateY(-3px);
}

.ac-value-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--ac-primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ac-primary);
  margin-bottom: 22px;
  box-shadow: var(--ac-shadow-sm);
}

.ac-value-card-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--ac-text-headline);
  margin: 0 0 10px;
  text-align: right !important;
  direction: rtl !important;
}

.ac-value-card-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ac-text-muted);
  margin: 0;
  font-weight: 500;
  text-align: right !important;
  direction: rtl !important;
}

/* ==========================================================================
   7. MODEL COMPARISON TABLE (RESPECTFUL & OBJECTIVE)
   ========================================================================== */
.ac-comparison-section {
  padding: 96px 0;
  background: var(--ac-bg-subtle);
  border-bottom: 1px solid var(--ac-border);
  direction: rtl !important;
  text-align: right !important;
}

.ac-comp-table-wrapper {
  background: #ffffff;
  border: 1px solid var(--ac-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--ac-shadow-sm);
  direction: rtl !important;
  text-align: right !important;
}

.ac-comp-table {
  width: 100%;
  border-collapse: collapse;
  direction: rtl !important;
  text-align: right !important;
}

.ac-comp-table th {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 800;
  background: #f8fafc;
  border-bottom: 1px solid var(--ac-border);
  color: var(--ac-text-headline);
  text-align: right !important;
  direction: rtl !important;
}

.ac-comp-table th:last-child {
  color: var(--ac-primary);
  background: rgba(0, 100, 255, 0.04);
}

.ac-comp-table td {
  padding: 20px 24px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ac-text-body);
  border-bottom: 1px solid var(--ac-border-subtle);
  vertical-align: middle;
  text-align: right !important;
  direction: rtl !important;
}

.ac-comp-table td:first-child {
  font-weight: 800;
  color: var(--ac-text-headline);
  background: #ffffff;
  width: 24%;
}

.ac-comp-table td:nth-child(2) {
  color: var(--ac-text-muted);
  width: 38%;
}

.ac-comp-table td:last-child {
  background: rgba(0, 100, 255, 0.02);
  color: var(--ac-text-headline);
  font-weight: 600;
  width: 38%;
}

/* ==========================================================================
   8. FAQ ACCORDION SECTION
   ========================================================================== */
.ac-faq-section {
  padding: 96px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--ac-border);
  direction: rtl !important;
  text-align: right !important;
}

.ac-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
  direction: rtl !important;
  text-align: right !important;
}

.ac-faq-item {
  background: var(--ac-bg-subtle);
  border: 1px solid var(--ac-border-subtle);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  direction: rtl !important;
  text-align: right !important;
}

.ac-faq-item.active {
  background: #ffffff;
  border-color: var(--ac-primary-border);
  box-shadow: var(--ac-shadow-sm);
}

.ac-faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ac-text-headline);
  cursor: pointer;
  direction: rtl !important;
  text-align: right !important;
}

.ac-faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--ac-text-subtle);
  transition: transform 0.25s ease, color 0.2s ease;
  flex-shrink: 0;
}

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

.ac-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  direction: rtl !important;
  text-align: right !important;
}

.ac-faq-item.active .ac-faq-answer {
  max-height: 300px;
}

.ac-faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ac-text-muted);
  font-weight: 500;
  text-align: right !important;
  direction: rtl !important;
}

/* ==========================================================================
   9. FINAL CTA SECTION — FIXED CLASS NAMES TO MATCH HTML
   ========================================================================== */
.ac-final-cta-section {
  background: #080d1a !important;
  color: #ffffff;
  padding: 100px 0 80px;
  margin: 0;
  text-align: center !important;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
  direction: rtl !important;
}

/* Subtle animated glow background */
.ac-final-cta-section::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 100, 255, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.ac-final-cta-content {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center !important;
  direction: rtl;
  position: relative;
  z-index: 1;
}

.ac-final-cta-content h2,
.ac-final-cta-content p,
.ac-final-cta-content div,
.ac-final-cta-content span {
  text-align: center !important;
}

/* Kicker / eyebrow badge */
.ac-final-cta-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(0, 100, 255, 0.15);
  border: 1px solid rgba(0, 100, 255, 0.35);
  color: #60a5fa;
  font-size: 13.5px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.2px;
  text-align: center !important;
}

/* Main heading */
.ac-final-cta-heading {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.35;
  color: #ffffff !important;
  margin: 0 0 18px;
  text-align: center !important;
  direction: rtl !important;
  letter-spacing: -0.5px;
}

/* Lead paragraph */
.ac-final-cta-lead {
  font-size: 17.5px;
  line-height: 1.85;
  color: #94a3b8 !important;
  max-width: 680px;
  margin: 0 auto 40px;
  font-weight: 500;
  text-align: center !important;
  direction: rtl !important;
}

/* Buttons row */
.ac-final-cta-buttons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
  direction: rtl !important;
}

/* Primary CTA button */
.ac-btn-cta-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 14px;
  background: var(--ac-primary);
  color: #ffffff !important;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(0, 100, 255, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  direction: rtl !important;
  border: none;
}
.ac-btn-cta-main:hover {
  background: var(--ac-primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 100, 255, 0.55);
}

/* Secondary CTA button */
.ac-btn-cta-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 14px;
  background: transparent;
  color: #ffffff !important;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: all 0.22s ease;
  direction: rtl !important;
}
.ac-btn-cta-alt:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Guarantee pills row */
.ac-final-guarantees {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  direction: rtl !important;
}

.ac-guarantee-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 13.5px;
  font-weight: 600;
  direction: rtl !important;
}

.ac-guarantee-pill-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

/* ==========================================================================
   10. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 991px) {
  .ac-trust-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ac-pillar-grid,
  .ac-pillar-grid.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .ac-pillar-grid.reverse .ac-pillar-content {
    order: 1;
  }
  
  .ac-pillar-grid.reverse .ac-pillar-visual {
    order: 2;
  }
  
  .ac-value-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .ac-comp-table {
    font-size: 13.5px;
  }
  
  .ac-comp-table th, .ac-comp-table td {
    padding: 16px 14px;
  }

  .ac-final-cta-buttons-row {
    flex-direction: column;
    align-items: center;
  }
  .ac-btn-cta-main, .ac-btn-cta-alt {
    width: 100%;
    max-width: 360px;
  }
  .ac-final-guarantees {
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .ac-hero-section {
    padding: 56px 0 40px;
  }
  
  .ac-trust-strip-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .ac-pillar-section {
    padding: 64px 0;
  }
  
  .ac-pillar-visual {
    padding: 20px;
  }
  
  .ac-int-network,
  .ac-handover-grid {
    grid-template-columns: 1fr;
  }
  
  .ac-comp-table td:first-child {
    width: 30%;
  }
  
  .ac-slider-arrow {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }

  .ac-final-cta-section {
    padding: 64px 0 52px;
  }
  .ac-guarantee-pill {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* ==========================================================================
   11. PAGE LOAD ANIMATIONS — SCROLL-TRIGGERED REVEAL
   ========================================================================== */

/* Base state: hidden before animation */
[data-ac-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Revealed state */
[data-ac-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children delay */
[data-ac-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-ac-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-ac-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-ac-reveal][data-delay="4"] { transition-delay: 0.32s; }
[data-ac-reveal][data-delay="5"] { transition-delay: 0.40s; }
[data-ac-reveal][data-delay="6"] { transition-delay: 0.48s; }

/* Fade-only variant */
[data-ac-reveal="fade"] {
  transform: none;
}
[data-ac-reveal="fade"].is-revealed {
  opacity: 1;
}

/* Scale-up variant for cards */
[data-ac-reveal="scale"] {
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-ac-reveal="scale"].is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Slide-from-right variant (for visual cards in RTL = from left visually) */
[data-ac-reveal="slide"] {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-ac-reveal="slide"].is-revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Slide-from-left for content columns in RTL */
[data-ac-reveal="slide-rtl"] {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-ac-reveal="slide-rtl"].is-revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Hero entrance animation (runs on page load, no scroll needed) */
@keyframes ac-hero-in {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ac-hero-eyebrow  { animation: ac-hero-in 0.6s cubic-bezier(0.16,1,0.3,1) 0.1s both; }
.ac-hero-title    { animation: ac-hero-in 0.65s cubic-bezier(0.16,1,0.3,1) 0.22s both; }
.ac-hero-desc     { animation: ac-hero-in 0.65s cubic-bezier(0.16,1,0.3,1) 0.34s both; }
.ac-hero-actions  { animation: ac-hero-in 0.65s cubic-bezier(0.16,1,0.3,1) 0.46s both; }

/* Trust strip enters as a row */
.ac-trust-item {
  animation: ac-hero-in 0.55s cubic-bezier(0.16,1,0.3,1) both;
}
.ac-trust-item:nth-child(1) { animation-delay: 0.55s; }
.ac-trust-item:nth-child(2) { animation-delay: 0.65s; }
.ac-trust-item:nth-child(3) { animation-delay: 0.75s; }
.ac-trust-item:nth-child(4) { animation-delay: 0.85s; }

/* Sticky nav slides in from top */
@keyframes ac-nav-drop {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}
.ac-sticky-nav-wrapper {
  animation: ac-nav-drop 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
}

/* ==========================================================================
   12. REDUCED MOTION PREFERENCE
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-ac-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
