:root {
  --primary: #1E3A8A;
  --primary-hover: #1a3278;
  --bs-primary: #1E3A8A;
  --bs-primary-rgb: 30, 58, 138;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f0f4f8;
  --border: #e2e8f0;
}

.btn-primary {
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary-hover);
  --bs-btn-hover-border-color: var(--primary-hover);
  --bs-btn-active-bg: var(--primary-hover);
  --bs-btn-active-border-color: var(--primary-hover);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Tajawal', sans-serif;
  color: var(--text-dark);
  background: #fff;
  overflow-x: hidden;
}

.text-primary-custom { color: var(--primary) !important; }
.bg-primary-custom { background-color: var(--primary) !important; }

/* Hero */
.hero-section {
  background: linear-gradient(90deg, #eef5ff 0%, #f8fbff 35%, #ffffff 55%, #ffffff 100%);
  overflow: hidden;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 55%;
  height: 100%;
  background: radial-gradient(ellipse at 30% 50%, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-scene-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.hero-scene-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(30, 58, 138, 0.15));
}

.hero-badge {
  display: inline-block;
  background: #e3f0ff;
  color: #3d5f8f;
  padding: 7px 18px;
  border-radius: 50px;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  margin-bottom: 2.25rem;
  line-height: 1.5;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.5rem 0;
}

.ixora-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  direction: ltr;
  gap: 0.2rem;
  margin: 0 0 2rem;
  padding: 0;
  width: auto;
  text-align: left;
}

.ixora-logo {
  display: block;
  width: auto;
  height: 56px;
  max-width: 200px;
  object-fit: contain;
  margin: 0;
  padding: 0;
}

.ixora-suite {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.875rem;
  font-weight: 600;
  color: #0066cc;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
  padding: 0;
}

.hero-subtitle {
  font-family: 'Tajawal', sans-serif;
  color: #0066cc;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.75;
  margin: 0 0 1.35rem;
  max-width: 500px;
}

.hero-body {
  font-family: 'Tajawal', sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.9;
  color: #6b7c93;
  margin: 0 auto 1.75rem;
  max-width: 500px;
}

.description-text {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-muted);
}

/* Feature icons row — image pack icônes + texte */
.features-icons {
  max-width: 520px;
  margin: 0 auto;
}

.features-banner-img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 0 auto;
}

/* Why section */
.section-why {
  background: #ffffff;
}

.section-why-title {
  color: #0066cc;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.section-title-line {
  width: 48px;
  height: 3px;
  background: #0066cc;
  margin: 0 auto 1.25rem;
  border-radius: 2px;
}

.why-icon-box {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.15rem;
  background: #e6f0ff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon-box--full {
  padding: 0;
  background: transparent;
}

.why-icon-box--full img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 16px;
}

.why-icon-box img {
  display: block;
  width: 38px;
  height: 38px;
}

.why-features-row {
  max-width: 1100px;
  margin: 0 auto;
}

.why-feature-card {
  padding: 0 0.75rem;
}

.card-title-why {
  color: #0066cc;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  line-height: 1.5;
}

.why-feature-desc {
  color: #6b7c93;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.75;
  margin: 0;
}

/* Solutions section */
.section-solutions {
  background: #ffffff;
}

.solutions-title {
  color: #0066cc;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.solutions-subtitle {
  color: #6b7c93;
  font-size: 0.95rem;
  line-height: 1.85;
  max-width: 720px;
  margin: 0 auto;
}

.solutions-row {
  max-width: 1100px;
  margin: 0 auto;
}

.solution-card {
  background: #fff;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 102, 204, 0.12);
}

.solution-img-wrap {
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.solution-img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
}

.solution-card-body {
  padding: 1.25rem 1.1rem 1.5rem;
}

.solution-card-title {
  color: #0066cc;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
}

.solution-card-desc {
  color: #6b7c93;
  font-size: 0.875rem;
  line-height: 1.75;
  margin: 0;
}

/* Ecosystem diagram */
.section-ecosystem {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.section-ecosystem::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 220px;
  background-image: radial-gradient(circle, #c5daf0 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: 0.45;
  pointer-events: none;
}

.ecosystem-title {
  color: #0066cc;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.65;
  max-width: 820px;
  margin: 0 auto 0.75rem;
}

.ecosystem-header .section-title-line {
  margin-bottom: 0;
}

.ecosystem-diagram {
  position: relative;
  direction: ltr;
  max-width: 960px;
  margin: 0 auto 2rem;
  padding: 0 0.5rem;
}

.ecosystem-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.ecosystem-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr minmax(180px, 220px) 1fr;
  grid-template-rows: repeat(3, auto);
  gap: 1rem 1.5rem;
  align-items: stretch;
  min-height: 480px;
}

.ecosystem-col-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.ecosystem-col-side:first-child {
  grid-column: 1;
  grid-row: 1 / 4;
}

.ecosystem-col-side:last-child {
  grid-column: 3;
  grid-row: 1 / 4;
}

.ecosystem-lines path {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  transition: stroke-dashoffset 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.ecosystem-lines.eco-lines-drawn path {
  stroke-dashoffset: 0;
}

.ecosystem-lines.eco-lines-drawn path:nth-child(1) { transition-delay: 0s; }
.ecosystem-lines.eco-lines-drawn path:nth-child(2) { transition-delay: 0.12s; }
.ecosystem-lines.eco-lines-drawn path:nth-child(3) { transition-delay: 0.24s; }
.ecosystem-lines.eco-lines-drawn path:nth-child(4) { transition-delay: 0.36s; }
.ecosystem-lines.eco-lines-drawn path:nth-child(5) { transition-delay: 0.48s; }

/* Ecosystem sequential scroll animations */
.eco-animate {
  opacity: 0;
  will-change: opacity, transform;
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.eco-animate.eco-product {
  transform: translateY(36px) scale(0.97);
}

.eco-animate.eco-hub {
  transform: scale(0.88);
}

.eco-animate.ecosystem-summary {
  transform: translateY(24px);
}

.eco-animate.ecosystem-title,
.eco-animate.section-title-line {
  transform: translateY(20px);
}

.eco-animate.eco-visible {
  opacity: 1;
  transform: none;
}

.eco-animate.eco-visible.eco-product {
  animation: eco-product-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes eco-product-in {
  0% { opacity: 0; transform: translateY(36px) scale(0.97); }
  70% { opacity: 1; transform: translateY(-4px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.eco-animate.eco-visible.eco-hub .ecosystem-hub {
  animation: ecosystem-hub-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.eco-animate.eco-visible.eco-hub .ecosystem-hub-outer {
  animation: ecosystem-ring-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ecosystem-module-card {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 102, 204, 0.08);
  border: 1px solid #e8f0fa;
  overflow: hidden;
  min-height: 88px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ecosystem-module-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.12);
}

.eco-animate.eco-visible.eco-product:hover {
  transform: translateY(-3px);
}

.eco-animate.eco-visible.eco-hub .ecosystem-hub {
  animation: ecosystem-hub-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.eco-animate.eco-visible.eco-hub .ecosystem-hub-outer {
  animation: ecosystem-ring-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes ecosystem-hub-in {
  from { transform: scale(0.92); opacity: 0.6; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes ecosystem-ring-in {
  from { transform: scale(0.85); opacity: 0.3; }
  to { transform: scale(1); opacity: 0.7; }
}

.eco-animate.eco-visible.ecosystem-summary .ecosystem-summary-icon {
  animation: ecosystem-target-pop 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

@keyframes ecosystem-target-pop {
  from { transform: scale(0.7); opacity: 0.5; }
  to { transform: scale(1); opacity: 1; }
}

.ecosystem-module-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.85rem;
  min-width: 118px;
  max-width: 140px;
  background: #fafcff;
}

.ecosystem-product-logo {
  display: block;
  width: 100%;
  max-width: 118px;
  height: auto;
  max-height: 44px;
  object-fit: contain;
}

.ecosystem-module-divider {
  width: 1px;
  background: #e2e8f0;
  flex-shrink: 0;
}

.ecosystem-module-info {
  flex: 1;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

html[dir="rtl"] .ecosystem-module-info {
  text-align: right;
}

html[dir="ltr"] .ecosystem-module-info {
  text-align: left;
}

.ecosystem-module-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.3rem;
  line-height: 1.3;
}

.eco-ixora {
  color: #0f2744;
  font-weight: 600;
}

.eco-brand {
  font-weight: 800;
}

.eco-brand-hr { color: #d4a017; }
.eco-brand-mms { color: #8cb369; }
.eco-brand-pmp { color: #c9a227; }
.eco-brand-cms { color: #3bb1ff; }
.eco-brand-law { color: #c5b38a; }

.ecosystem-module-desc {
  color: #6b7c93;
  font-size: 0.8rem;
  line-height: 1.55;
  margin: 0;
}

.ecosystem-hub-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
}

.ecosystem-hub-outer {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px dashed #b8d4f0;
  border-radius: 50%;
  animation: ecosystem-pulse 4s ease-in-out infinite;
}

@keyframes ecosystem-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.04); opacity: 1; }
}

.ecosystem-hub {
  position: relative;
  width: 168px;
  height: 168px;
  border: 3px solid #0066cc;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem;
  box-shadow: 0 8px 28px rgba(0, 102, 204, 0.12);
  text-align: center;
}

.ecosystem-hub-icon {
  display: block;
}

.ecosystem-hub-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0066cc;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.ecosystem-hub-brand {
  font-size: 0.95rem;
  font-weight: 800;
}

.ecosystem-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 2px solid #0066cc;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(0, 102, 204, 0.08);
}

.ecosystem-summary-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0066cc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ecosystem-summary-divider {
  width: 1px;
  height: 40px;
  background: #dde3ea;
  flex-shrink: 0;
}

.ecosystem-summary-text {
  margin: 0;
  color: #0066cc;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.65;
  flex: 1;
}

html[dir="rtl"] .ecosystem-summary-text {
  text-align: right;
}

html[dir="ltr"] .ecosystem-summary-text {
  text-align: left;
}

/* Form section */
.form-section-bg {
  background: #f3f5f8;
}

.form-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.form-card .form-title {
  color: #0066cc;
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  color: #0066cc;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.form-label {
  font-size: 0.85rem;
  color: #4a5568;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.form-control, .form-select {
  border-radius: 8px;
  border: 1px solid #dde3ea;
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
  background: #fff;
}

.form-control:focus {
  border-color: #1e3a8a;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.req { color: #ef4444; }

/* Upload zone */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  background: #fafbfc;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.upload-zone:hover, .upload-zone.dragover {
  border-color: #1e3a8a;
  background: #f8fbff;
}

.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-zone .upload-icon {
  font-size: 1.75rem;
  color: #1e3a8a;
  margin-bottom: 0.5rem;
}

.upload-zone p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.upload-preview {
  max-height: 48px;
  margin-top: 0.5rem;
}

/* Color picker row */
.color-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 12px;
  background: #fff;
}

.color-row input[type="text"] {
  border: none;
  flex: 1;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.color-row input[type="text"]:focus {
  outline: none;
}

.color-row input[type="color"] {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px;
  cursor: pointer;
}

/* Phone */
.phone-group .input-group-text {
  background: #f8fafc;
  border-color: var(--border);
  font-size: 0.9rem;
}

/* Plans */
.plans-label {
  color: #4a5568;
  font-size: 0.85rem;
  font-weight: 500;
  margin: 2rem 0 1rem;
}

.plan-card {
  border: 1.5px solid #dde3ea;
  border-radius: 12px;
  padding: 1.25rem 1rem 1.1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  background: #fff;
  height: 100%;
}

.plan-card:hover {
  border-color: #93b4e0;
}

.plan-card.selected {
  border-color: #1e3a8a;
  background: #fff;
  box-shadow: 0 0 0 1px #1e3a8a;
}

.plan-card .plan-check {
  position: absolute;
  top: 10px;
  right: 10px;
  left: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #dde3ea;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
  background: #fff;
}

.plan-card.selected .plan-check {
  background: #1e3a8a;
  border-color: #1e3a8a;
}

.plan-icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid #e8ecf1;
  border-radius: 12px;
}

.plan-icon-wrap img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.plan-card h5 {
  color: #1e3a8a;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.plan-card p {
  font-size: 0.8rem;
  color: #6b7c93;
  margin: 0;
  line-height: 1.5;
}

/* Voucher */
.btn-voucher {
  border: 1px solid #1e3a8a;
  color: #1e3a8a;
  background: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.65rem 1.25rem;
  white-space: nowrap;
}

.btn-voucher:hover {
  background: #f0f6ff;
  color: #1e3a8a;
}

.voucher-status { font-size: 0.8rem; margin-top: 0.35rem; }
.voucher-status.ok { color: #059669; }
.voucher-status.err { color: #ef4444; }

/* Consents */
.consent-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.consent-item input { margin-top: 0.25rem; accent-color: #1e3a8a; }
.consent-item a { color: #1e3a8a; text-decoration: none; }
.consent-item a:hover { text-decoration: underline; }

/* Submit */
.btn-subscribe {
  --bs-btn-bg: #0066cc;
  --bs-btn-border-color: #0066cc;
  --bs-btn-hover-bg: #005bb5;
  --bs-btn-hover-border-color: #005bb5;
  --bs-btn-active-bg: #005bb5;
  --bs-btn-active-border-color: #005bb5;
  background: #0066cc;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 2.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  min-width: 200px;
  max-width: 280px;
}

.btn-subscribe:hover, .btn-subscribe:focus {
  background: #005bb5;
  border-color: #005bb5;
}

.btn-subscribe:disabled {
  opacity: 0.65;
}

.form-footer-note {
  color: #8a96a8;
  font-size: 0.85rem;
  margin: 0.85rem 0 0;
}

/* Alerts */
#alertBox { display: none; }
#alertBox.show { display: block; }
#alertBox.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
#alertBox.alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
#alertBox.alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  will-change: opacity, transform;
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-up { transform: translateY(28px); }
.reveal-down { transform: translateY(-28px); }
.reveal-left { transform: translateX(-28px); }
.reveal-right { transform: translateX(28px); }
.reveal-fade { transform: none; }
.reveal-scale { transform: scale(0.96); }

.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition-delay: var(--reveal-delay, 0s);
}

.reveal:not(.is-visible) {
  transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .eco-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .ecosystem-lines path {
    stroke-dashoffset: 0 !important;
  }
}

/* Responsive */
@media (max-width: 991px) {
  .hero-section {
    background: linear-gradient(180deg, #eef5ff 0%, #ffffff 40%);
  }
  .hero-section::before {
    width: 100%;
    height: 50%;
  }
  .ixora-logo {
    height: 48px;
    max-width: 170px;
  }
  .ixora-suite {
    font-size: 1.5rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
    max-width: 100%;
  }
  .hero-body {
    font-size: 0.9rem;
    max-width: 100%;
    line-height: 1.85;
  }
  .hero-content {
    padding: 0 0.25rem;
  }
  .hero-scene-wrap {
    margin-top: 0.5rem;
    min-height: 220px;
  }
  .hero-scene-img {
    max-width: 100%;
  }
  .features-icons,
  .features-banner-img {
    max-width: 100%;
  }
  .section-why-title,
  .solutions-title {
    font-size: 1.3rem;
    padding: 0 0.5rem;
  }
  .description-text,
  .solutions-subtitle {
    font-size: 0.9rem;
    padding: 0 0.25rem;
  }
  .solution-img {
    height: 200px;
  }
  .ecosystem-title {
    font-size: 1.15rem;
  }
  .ecosystem-header {
    margin-bottom: 1.75rem !important;
  }
  .ecosystem-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: auto;
    gap: 1rem;
  }
  .ecosystem-col-side:first-child,
  .ecosystem-col-side:last-child,
  .ecosystem-hub-wrap {
    grid-column: auto;
    grid-row: auto;
  }
  .ecosystem-lines {
    display: none;
  }
  .ecosystem-hub-wrap {
    order: -1;
    min-height: 180px;
    margin-bottom: 0.5rem;
  }
  .ecosystem-col-side {
    gap: 0.85rem;
  }
  .ecosystem-summary {
    border-radius: 16px;
    flex-direction: column;
    text-align: center;
    padding: 1.1rem;
  }
  .ecosystem-summary-divider {
    width: 60px;
    height: 1px;
  }
  html[dir="rtl"] .ecosystem-summary-text,
  html[dir="ltr"] .ecosystem-summary-text {
    text-align: center;
  }
  html[dir="ltr"] .hero-content {
    text-align: center;
    align-items: center;
  }
  html[dir="ltr"] .features-icons {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .hero-section .container {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
    margin-bottom: 1.5rem;
  }
  .ixora-logo {
    height: 42px;
    max-width: 155px;
  }
  .ixora-suite {
    font-size: 1.25rem;
  }
  .ixora-brand {
    margin-bottom: 1.25rem;
    align-items: center;
  }
  .hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.65;
  }
  .hero-body br {
    display: none;
  }
  .why-feature-card {
    padding: 0.5rem 0.25rem 1rem;
  }
  .why-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }
  .card-title-why {
    font-size: 1rem;
  }
  .solution-card-body {
    padding: 1rem 0.9rem 1.25rem;
  }
  .form-card {
    padding: 1.25rem !important;
    border-radius: 12px;
  }
  .form-card .form-title {
    font-size: 1.15rem;
  }
  .form-subtitle {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
  }
  .btn-voucher {
    width: 100%;
  }
  .btn-subscribe {
    width: 100%;
    max-width: none;
  }
  .plan-card {
    padding: 1rem 0.75rem;
  }
  .plan-icon-wrap {
    width: 56px;
    height: 56px;
  }
  .plan-icon-wrap img {
    width: 38px;
    height: 38px;
  }
  .description-text br,
  .solutions-subtitle br,
  .hero-subtitle br {
    display: none;
  }
}

@media (max-width: 575px) {
  .ixora-logo {
    height: 36px;
    max-width: 140px;
  }
  .ixora-suite {
    font-size: 1.1rem;
  }
  .section-why-title,
  .solutions-title {
    font-size: 1.15rem;
  }
  .hero-scene-wrap {
    min-height: 180px;
  }
  .solution-img {
    height: 170px;
  }
  .ecosystem-module-brand {
    min-width: 92px;
    padding: 0.7rem 0.75rem;
  }
  .ecosystem-module-info {
    padding: 0.7rem 0.75rem;
  }
  .ecosystem-hub {
    width: 148px;
    height: 148px;
  }
  .ecosystem-hub-outer {
    width: 176px;
    height: 176px;
  }
  .upload-zone {
    padding: 1rem;
    min-height: 88px;
  }
  .color-row input[type="color"] {
    width: 36px;
    height: 36px;
  }
  .form-control,
  .form-select {
    font-size: 16px;
  }
}

}

/* English LTR page */
html[dir="ltr"] body {
  font-family: 'Montserrat', 'Tajawal', sans-serif;
}

html[dir="ltr"] .hero-section {
  background: linear-gradient(270deg, #eef5ff 0%, #f8fbff 35%, #ffffff 55%, #ffffff 100%);
}

html[dir="ltr"] .hero-section::before {
  left: auto;
  right: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
}

html[dir="ltr"] .hero-content {
  align-items: center;
  text-align: left;
}

html[dir="ltr"] .features-icons {
  margin-left: 0;
  margin-right: auto;
}

html[dir="ltr"] .phone-group .input-group-text {
  order: -1;
}
