/* ==========================================================================
   إرم ساب (Eram Sap) - نظام التصميم والتنسيقات الأساسية
   ========================================================================== */

/* 1. متغيرات التصميم (Design Tokens & CSS Variables) */
:root {
  /* لوحة الألوان التقنية الفاخرة */
  --bg-primary: #060B14;
  --bg-secondary: #0B1324;
  --bg-tertiary: #101C33;
  --card-bg: rgba(16, 28, 51, 0.75);
  --card-bg-hover: rgba(22, 38, 70, 0.85);
  --card-border: rgba(0, 229, 255, 0.12);
  --card-border-hover: rgba(0, 229, 255, 0.35);

  /* الألوان التمييزية والتوهجات */
  --accent-cyan: #00E5FF;
  --accent-cyan-hover: #33EBFF;
  --accent-teal: #00B4D8;
  --accent-blue: #2563EB;
  --accent-emerald: #10B981;
  --accent-glow: rgba(0, 229, 255, 0.25);
  --accent-glow-strong: rgba(0, 229, 255, 0.45);
  --accent-gradient: linear-gradient(135deg, #00E5FF 0%, #0077B6 100%);
  --accent-gradient-text: linear-gradient(135deg, #E2F1FF 0%, #00E5FF 60%, #00B4D8 100%);
  --badge-bg: rgba(0, 229, 255, 0.08);

  /* ألوان النصوص */
  --text-primary: #F0F6FC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #060B14;

  /* الحدود والظلال */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(11, 19, 36, 0.8);
  --glass-blur: blur(16px);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 229, 255, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 229, 255, 0.15);
  --shadow-glow: 0 0 25px rgba(0, 229, 255, 0.3);

  /* الخطوط والأحجام */
  --font-family: 'Cairo', 'Tajawal', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* الانتقالات */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 80px;
}

/* 2. إعادة الضبط الأساسية (Reset & Base Styles) */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 229, 255, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(37, 99, 235, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(0, 180, 216, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

/* شريط التمرير المخصص */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-teal);
}

/* تنسيقات الروابط والصور */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: transparent;
}

button {
  cursor: pointer;
}

/* الحاوية الرئيسية */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

/* 3. عناصر مساعدة وتصميمات عامة (Utility Components) */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  background: var(--badge-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

.section-badge svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

.gradient-text {
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* الأزرار (Buttons) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--text-inverse);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-3px);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #20BD5A;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.btn-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(-4px);
}

/* 4. شريط التنقل العلوي (Sticky Header & Navbar) */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--card-border);
  box-shadow: var(--shadow-md);
  height: 70px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* شعار الشركة */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.logo-image {
  width: 44px;
  height: auto;
  max-height: 50px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(25, 153, 156, 0.4));
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.brand-logo:hover .logo-image {
  transform: scale(1.06);
}

.logo-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(25, 153, 156, 0.15) 0%, rgba(186, 178, 164, 0.1) 100%);
  border: 1px solid rgba(25, 153, 156, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(25, 153, 156, 0.2);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-svg {
  width: 32px;
  height: 36px;
  display: block;
}

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

.brand-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  line-height: 1.1;
}

.brand-title span {
  color: var(--accent-cyan);
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

/* روابط القائمة */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.mobile-drawer-header,
.mobile-drawer-footer {
  display: none;
}

.nav-link {
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.5rem 0.2rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
  box-shadow: 0 0 8px var(--accent-cyan);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-desktop-cta {
  padding: 0.6rem 1.35rem;
  font-size: 0.9rem;
}

/* زر القائمة للموبايل */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  z-index: 1003;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* طبقة التعتيم الخلفية للقائمة المتنقلة */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 6, 11, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  pointer-events: none;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 5. قسم الرئيسية (Hero Section) */
.hero-section {
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.25rem;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7);
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

.hero-description {
  font-size: 1.18rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 2.25rem;
  max-width: 95%;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 3rem;
}

/* بطاقات الإحصائيات السريعة بالهيرو */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.stat-number span {
  color: var(--accent-cyan);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* استعراض الواجهة التقنية (Tech Dashboard Showcase) */
.hero-visual {
  position: relative;
  z-index: 2;
}

.showcase-card-main {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: var(--glass-blur);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.showcase-card-main:hover {
  transform: translateY(-5px);
  border-color: var(--card-border-hover);
}

/* رأس بطاقة المعاينة */
.card-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.window-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* محتوى بطاقة المعاينة للـ ERP */
.erp-preview-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.erp-stat-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.erp-mini-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.erp-mini-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0, 229, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.erp-mini-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.erp-mini-text h5 {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.erp-mini-text p {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* رسم بياني بصري مصغر */
.erp-chart-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.chart-header h6 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.chart-tag {
  font-size: 0.75rem;
  color: #10B981;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 70px;
  gap: 8px;
  padding-top: 10px;
}

.chart-bar {
  flex: 1;
  background: rgba(0, 229, 255, 0.15);
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: all var(--transition-normal);
}

.chart-bar:hover,
.chart-bar.highlight {
  background: var(--accent-gradient);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
}

/* بطاقة عائمة تفاعلية */
.floating-badge-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--bg-secondary);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}

.floating-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.floating-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.floating-badge-card p {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.floating-badge-card span {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
}

/* 6. قسم منتجاتنا (Products Section - Placeholder & Teaser) */
.products-section {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.placeholder-container {
  background: linear-gradient(180deg, rgba(16, 28, 51, 0.8) 0%, rgba(11, 19, 36, 0.95) 100%);
  border: 1px dashed var(--card-border-hover);
  border-radius: var(--radius-xl);
  padding: 4.5rem 2.5rem;
  text-align: center;
  position: relative;
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.placeholder-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 2rem;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.25);
  animation: pulse-glow 3s infinite;
}

.coming-soon-badge svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.placeholder-main-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.placeholder-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 3rem auto;
  line-height: 1.8;
}

/* شبكة البطاقات التشويقية للمنتجات */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.75rem;
  margin-bottom: 3rem;
  text-align: right;
}

.teaser-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
}

.teaser-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent-cyan);
  transform: translateY(-5px);
}

.teaser-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(0, 119, 182, 0.25));
  border: 1px solid rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
}

.teaser-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.teaser-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.teaser-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.teaser-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-teal);
  margin-top: 1rem;
}

/* 7. قسم من نحن (About Us Section) */
.about-section {
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-text h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.35;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

/* بطاقة الموقع المتميزة - الرياض */
.location-highlight-card {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.08) 0%, rgba(37, 99, 235, 0.08) 100%);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.location-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.location-icon-circle svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.location-details h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.location-details p {
  font-size: 0.9rem;
  color: var(--accent-cyan);
  margin-bottom: 0;
  font-weight: 600;
}

/* بطاقات الرؤية والرسالة والقيم */
.about-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.pillar-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: var(--glass-blur);
  transition: all var(--transition-normal);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.pillar-card:hover {
  border-color: var(--card-border-hover);
  transform: translateX(-5px);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.pillar-content h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.pillar-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* شبكة ركائز التميز التقني */
.features-strip {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1.5rem;
}

.feature-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition-fast);
}

.feature-box:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-cyan);
}

.feature-box svg {
  width: 32px;
  height: 32px;
  fill: var(--accent-cyan);
  margin: 0 auto 1rem auto;
}

.feature-box h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.feature-box p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* 8. قسم تواصل معنا (Contact Us Section) */
.contact-section {
  background: var(--bg-secondary);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: stretch;
}

/* قنوات التواصل المباشرة */
.contact-info-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: var(--glass-blur);
  transition: all var(--transition-normal);
}

.contact-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-3px);
}

.contact-card-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.contact-icon-box svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-icon-box.whatsapp-icon {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.3);
  color: #25D366;
}

.contact-card-text h5 {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.contact-card-text p,
.contact-card-text a {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  direction: ltr;
  text-align: right;
}

.contact-action-btn {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--accent-cyan);
  transition: all var(--transition-fast);
}

.contact-action-btn:hover {
  background: var(--accent-cyan);
  color: var(--text-inverse);
}

/* صندوق الواتساب المباشر */
.whatsapp-feature-box {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.12) 0%, rgba(18, 140, 126, 0.08) 100%);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.1);
}

.whatsapp-feature-box h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.whatsapp-feature-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

/* نموذج التواصل (Contact Form) */
.contact-form-container {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-lg);
}

.form-header {
  margin-bottom: 2rem;
}

.form-header h4 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.form-header p {
  font-size: 0.925rem;
  color: var(--text-secondary);
}

.form-group {
  margin-bottom: 1.25rem;
  text-align: right;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: rgba(6, 11, 20, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent-cyan);
  background: rgba(6, 11, 20, 0.9);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

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

.form-select {
  cursor: pointer;
}

.form-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

/* بطاقة الاعتذار والوعد بالإصلاح */
.form-apology-banner {
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.12) 0%, rgba(220, 38, 38, 0.08) 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.12);
  animation: apologySlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes apologySlideIn {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.apology-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.apology-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F59E0B;
  flex-shrink: 0;
}

.apology-icon svg {
  width: 24px;
  height: 24px;
}

.apology-header h5 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FCD34D;
  margin: 0 0 0.25rem 0;
}

.apology-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #FEF3C7;
  background: rgba(245, 158, 11, 0.25);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.apology-desc {
  font-size: 0.925rem;
  line-height: 1.75;
  color: #E2E8F0;
  margin-bottom: 1rem;
}

.apology-desc strong {
  color: #FFFFFF;
  display: block;
  margin-top: 0.4rem;
}

.apology-divider {
  height: 1px;
  background: rgba(245, 158, 11, 0.2);
  margin: 1.25rem 0 1rem 0;
}

.apology-actions-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #CBD5E1;
  margin-bottom: 0.75rem;
}

.apology-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-apology-whatsapp {
  background: #25D366;
  color: #03060B !important;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-apology-whatsapp:hover {
  background: #20BA56;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-apology-whatsapp svg,
.btn-apology-phone svg {
  width: 18px;
  height: 18px;
}

.btn-apology-phone {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #FFFFFF !important;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-apology-phone:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan) !important;
  transform: translateY(-2px);
}

.btn-disabled-apology {
  background: linear-gradient(135deg, rgba(75, 85, 99, 0.8) 0%, rgba(55, 65, 81, 0.8) 100%) !important;
  border-color: rgba(156, 163, 175, 0.4) !important;
  color: #D1D5DB !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  opacity: 0.9;
}

/* 9. التذييل (Footer) */
.footer {
  background: #03060B;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-about p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-top: 1.25rem;
  max-width: 400px;
}

.footer-col h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: var(--radius-full);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.925rem;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  transform: translateX(-4px);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.925rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-cyan);
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-bottom-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
}

.footer-bottom-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-teal);
}

/* 10. المكونات العائمة والإشعارات (Floating elements & Toast) */
/* 10. المكونات العائمة والإشعارات (Floating elements & Toast) */
.floating-whatsapp-btn {
  position: fixed;
  bottom: calc(25px + env(safe-area-inset-bottom, 0px));
  left: calc(25px + env(safe-area-inset-left, 0px));
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition-normal);
  -webkit-tap-highlight-color: transparent;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp-btn:active {
  transform: scale(0.95);
}

.floating-whatsapp-btn svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.back-to-top {
  position: fixed;
  bottom: calc(25px + env(safe-area-inset-bottom, 0px));
  right: calc(25px + env(safe-area-inset-right, 0px));
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  -webkit-tap-highlight-color: transparent;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent-cyan);
  color: var(--text-inverse);
  transform: translateY(-4px);
  box-shadow: 0 5px 20px rgba(0, 229, 255, 0.4);
}

.back-to-top:active {
  transform: scale(0.92);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* إشعار التوست (Toast Notification) */
.toast-notification {
  position: fixed;
  top: calc(85px + env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(-30px);
  background: rgba(11, 19, 36, 0.95);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-lg);
  padding: 1rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  max-width: min(92vw, 460px);
  width: auto;
}

.toast-notification.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.toast-notification.toast-warning {
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.25);
}

.toast-notification.toast-warning .toast-icon {
  color: #F59E0B;
}

.toast-notification.toast-error {
  border-color: rgba(239, 68, 68, 0.7);
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.25);
}

.toast-notification.toast-error .toast-icon {
  color: #EF4444;
}

.toast-icon {
  width: 28px;
  height: 28px;
  color: #10B981;
  flex-shrink: 0;
}

.toast-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.toast-text {
  text-align: right;
}

.toast-text h6 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.toast-text p {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* 11. الرسوم المتحركة الأساسية (Animations) */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(0, 229, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 15px rgba(0, 229, 255, 0.2); }
  50% { box-shadow: 0 0 30px rgba(0, 229, 255, 0.5); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shine {
  0% { transform: translateX(-150%) rotate(45deg); }
  30%, 100% { transform: translateX(150%) rotate(45deg); }
}

/* فئات الظهور التدريجي عند التمرير */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* 12. التجاوب وتوافق الشاشات (Comprehensive Responsive System) */

/* أجهزة اللابتوب والشاشات المتوسطة (1025px - 1200px) */
@media (max-width: 1200px) {
  .container {
    padding-inline: 1.75rem;
  }
  .hero-grid {
    gap: 2.5rem;
  }
  .nav-menu {
    gap: 1.5rem;
  }
}

/* الأجهزة اللوحية (Tablets & iPads: <= 992px) */
@media (max-width: 992px) {
  :root {
    --header-height: 72px;
  }

  .header-desktop-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(85vw, 340px);
    height: 100vh;
    height: 100dvh;
    background: rgba(11, 19, 36, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 1.5rem 1.75rem calc(1.5rem + env(safe-area-inset-bottom, 0px)) 1.75rem;
    gap: 0.5rem;
    border-left: 1px solid var(--card-border);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
    z-index: 1002;
    overflow-y: auto;
  }

  .nav-menu.open {
    right: 0;
  }

  .mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
  }

  .drawer-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
  }

  .drawer-close-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
  }

  .drawer-close-btn:hover {
    background: rgba(0, 229, 255, 0.15);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
  }

  .nav-menu li:not(.mobile-drawer-header):not(.mobile-drawer-footer) {
    width: 100%;
  }

  .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(0, 229, 255, 0.08);
    color: var(--accent-cyan);
    padding-inline-start: 1.25rem;
  }

  .nav-link::after {
    display: none;
  }

  .mobile-drawer-footer {
    display: block;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
  }

  .btn-drawer-cta {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
  }

  /* تخطيطات الأجهزة اللوحية */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-badge {
    margin-inline: auto;
  }

  .hero-description {
    margin-inline: auto;
    max-width: 680px;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-stats-row {
    max-width: 580px;
    margin-inline: auto;
  }

  .hero-visual {
    max-width: 620px;
    margin-inline: auto;
    width: 100%;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-text {
    text-align: right;
  }

  .location-highlight-card {
    max-width: 600px;
  }

  .features-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 3.5rem;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
  }
}

/* الهواتف الذكية الكبيرة والفابلت (Smartphones & Phablets: <= 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .header {
    background: rgba(6, 11, 20, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .brand-logo {
    gap: 0.65rem;
  }

  .logo-image {
    width: 38px;
    height: auto;
  }

  .brand-title {
    font-size: 1.2rem;
  }

  .brand-sub {
    font-size: 0.64rem;
    letter-spacing: 0.5px;
  }

  .section {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .section-desc {
    font-size: 1rem;
  }

  .hero-section {
    padding-top: calc(var(--header-height) + 1.75rem);
    padding-bottom: 3.5rem;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6vw, 2.4rem);
    line-height: 1.3;
  }

  .hero-description {
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 2rem;
  }

  .showcase-card-main {
    padding: 1.35rem;
    border-radius: var(--radius-lg);
  }

  /* إعادة تموضع البطاقة العائمة لضمان عدم خروجها عن الشاشة */
  .floating-badge-card {
    position: static;
    margin-top: 1.25rem;
    width: 100%;
    justify-content: center;
    animation: none;
    padding: 0.75rem 1rem;
  }

  .placeholder-container {
    padding: 2.5rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .placeholder-main-title {
    font-size: 1.5rem;
    line-height: 1.4;
  }

  .placeholder-desc {
    font-size: 0.975rem;
    margin-bottom: 2rem;
  }

  .teaser-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
  }

  .teaser-card {
    padding: 1.5rem;
  }

  .about-text h3 {
    font-size: 1.55rem;
  }

  .about-text p {
    font-size: 0.975rem;
    line-height: 1.8;
  }

  .pillar-card {
    padding: 1.35rem;
  }

  .features-strip {
    grid-template-columns: 1fr;
    margin-top: 2.5rem;
  }

  .contact-form-container {
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .form-header h4 {
    font-size: 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer {
    padding: 3.5rem 0 2rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .footer-about {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-about p {
    margin-inline: auto;
    text-align: center;
  }

  .footer-col h5::after {
    right: 50%;
    transform: translateX(50%);
  }

  .footer-links a {
    justify-content: center;
  }

  .footer-contact-item {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.85rem;
    text-align: center;
  }
}

/* الهواتف الذكية المدمجة (Smartphones: <= 480px) */
@media (max-width: 480px) {
  :root {
    --header-height: 64px;
  }

  .container {
    padding-inline: 1rem;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
  }

  .hero-title {
    font-size: 1.7rem;
    line-height: 1.32;
  }

  .hero-description {
    font-size: 0.92rem;
    line-height: 1.75;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    padding: 0.85rem;
  }

  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: center;
  }

  .stat-item {
    align-items: center;
  }

  .erp-stat-cards {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .erp-mini-card {
    padding: 0.85rem;
  }

  .chart-header h6 {
    font-size: 0.78rem;
  }

  .chart-bars {
    height: 55px;
    gap: 5px;
  }

  .contact-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1rem;
    padding: 1.25rem;
  }

  .contact-card-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .contact-card-text p,
  .contact-card-text a {
    text-align: center;
  }

  .contact-action-btn {
    width: 100%;
    padding: 0.6rem;
    text-align: center;
  }

  .whatsapp-feature-box {
    padding: 1.35rem 1rem;
  }

  .whatsapp-feature-box .btn {
    width: 100%;
  }

  .floating-whatsapp-btn {
    bottom: calc(15px + env(safe-area-inset-bottom, 0px));
    left: calc(15px + env(safe-area-inset-left, 0px));
    width: 50px;
    height: 50px;
  }

  .floating-whatsapp-btn svg {
    width: 26px;
    height: 26px;
  }

  .back-to-top {
    bottom: calc(15px + env(safe-area-inset-bottom, 0px));
    right: calc(15px + env(safe-area-inset-right, 0px));
    width: 42px;
    height: 42px;
  }

  .back-to-top svg {
    width: 18px;
    height: 18px;
  }

  .toast-notification {
    width: 90%;
    padding: 0.85rem 1.15rem;
    gap: 0.75rem;
  }
}

/* الشاشات الصغيرة جداً (iPhone SE, Compact Phones: <= 360px) */
@media (max-width: 360px) {
  .brand-title {
    font-size: 1.05rem;
  }

  .brand-sub {
    font-size: 0.58rem;
  }

  .logo-image {
    width: 32px;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .pillar-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .location-highlight-card {
    flex-direction: column;
    text-align: center;
  }
}
