/* ==========================================================================
   موقع شركة بداية لتقنية المعلومات — Bidaya Information Technology
   الملف الرئيسي للأنماط والتصميم (Modern Corporate ERP Design System)
   ========================================================================== */

:root {
  /* ألوان الهوية البصرية الرسمية */
  --bidaya-gray: #57585A;
  --bidaya-gray-dark: #3D3E40;
  --bidaya-gray-light: #717376;
  --bidaya-gray-bg: #F1F3F5;

  /* اللون الأزرق التقني / التركوازي المساعد */
  --bidaya-teal: #0891B2;
  --bidaya-teal-hover: #0E7490;
  --bidaya-teal-dark: #155E75;
  --bidaya-teal-light: #ECFEFF;
  --bidaya-teal-glow: rgba(8, 145, 178, 0.18);
  --bidaya-blue: #0284C7;
  --bidaya-cyan: #06B6D4;

  /* ألوان الخلفية والنصوص العامة */
  --bg-page: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-card: #FFFFFF;
  --text-primary: #1E293B;
  --text-secondary: #57585A;
  --text-muted: #64748B;
  --border-subtle: #E2E8F0;
  --border-card: #E9ECEF;

  /* عناصر التحكم والظلال */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 6px rgba(30, 41, 59, 0.04);
  --shadow-md: 0 8px 24px rgba(30, 41, 59, 0.07);
  --shadow-lg: 0 16px 38px rgba(30, 41, 59, 0.09);
  --shadow-glow: 0 10px 30px rgba(8, 145, 178, 0.22);

  --font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── ضبط عام وتهيئة الأساسيات ───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  direction: rtl;
  text-align: right;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.85;
  font-size: 16.5px;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 3px solid var(--bidaya-teal);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── الحاويات والهيكل العام ────────────────────────────────────────── */
.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

.container-wide {
  width: min(1320px, 100% - 48px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -80px;
  right: 20px;
  background: var(--bidaya-teal);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 700;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 15px;
}

/* ── الأيقونات الموحدة ─────────────────────────────────────────────── */
.ic {
  width: 1.35em;
  height: 1.35em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  display: inline-block;
  flex-shrink: 0;
}

/* ── الأزرار (Buttons) ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15.5px;
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  text-decoration: none;
  position: relative;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--bidaya-teal) 0%, var(--bidaya-blue) 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(8, 145, 178, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--bidaya-teal-hover) 0%, #0369A1 100%);
  box-shadow: var(--shadow-glow);
  color: #FFFFFF;
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--bidaya-gray);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--bidaya-teal);
  color: var(--bidaya-teal);
  background: var(--bidaya-teal-light);
}

.btn-dark {
  background: var(--bidaya-gray);
  color: #FFFFFF;
}

.btn-dark:hover {
  background: var(--bidaya-gray-dark);
  color: #FFFFFF;
}

.btn-outline {
  border-color: var(--bidaya-teal);
  color: var(--bidaya-teal);
  background: transparent;
}

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

/* أزرار تحديث وتثبيت لبدة الخاصة */
.btn-update {
  background: #FFFFFF;
  color: var(--bidaya-teal);
  border: 1.5px solid var(--bidaya-teal);
}

.btn-update:hover {
  background: var(--bidaya-teal-light);
  color: var(--bidaya-teal-hover);
}

.btn-install {
  background: var(--bidaya-gray);
  color: #FFFFFF;
  border: 1.5px solid var(--bidaya-gray);
}

.btn-install:hover {
  background: var(--bidaya-gray-dark);
  border-color: var(--bidaya-gray-dark);
  color: #FFFFFF;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 17px;
}

.btn.is-unset {
  opacity: 0.85;
  border-style: dashed !important;
  cursor: pointer;
}

/* ── رأس الصفحة والقائمة العلوية (Sticky Header) ──────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(87, 88, 90, 0.08);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(87, 88, 90, 0.06);
  border-bottom-color: var(--border-subtle);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 20px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.header-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.header-brand:hover .header-logo {
  transform: scale(1.04);
}

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

.brand-title {
  font-size: 23px;
  font-weight: 800;
  color: var(--bidaya-gray);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--bidaya-teal);
  letter-spacing: 0.12em;
  direction: ltr;
  text-align: right;
  margin-top: 1px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 10px 16px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--bidaya-gray);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--bidaya-teal);
  background: var(--bidaya-teal-light);
}

.nav-link.active {
  color: var(--bidaya-teal-hover);
  background: var(--bidaya-teal-light);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* زر وقائمة بوابة العملاء (Customer Portal) */
.portal-dropdown {
  position: relative;
}

.portal-btn {
  background: linear-gradient(135deg, var(--bidaya-teal) 0%, var(--bidaya-teal-dark) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(8, 145, 178, 0.25);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 15px;
  transition: all var(--transition-fast);
}

.portal-btn:hover {
  box-shadow: 0 6px 20px rgba(8, 145, 178, 0.35);
  transform: translateY(-2px);
}

.portal-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 12px);
  width: 290px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  z-index: 210;
}

.portal-dropdown.open .portal-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.portal-header {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--bidaya-gray);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
}

.portal-menu-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.portal-menu-items .btn {
  justify-content: flex-start;
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: #FFFFFF;
  color: var(--bidaya-gray);
  align-items: center;
  justify-content: center;
}

/* ── الأقسام العامة والعناوين ───────────────────────────────────────── */
.section {
  padding: 96px 0;
  position: relative;
}

.section-subtle {
  background-color: var(--bg-subtle);
}

.section-dark {
  background-color: var(--bidaya-gray);
  color: #FFFFFF;
}

.section-header {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-header.text-center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bidaya-teal-light);
  color: var(--bidaya-teal-hover);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid rgba(8, 145, 178, 0.15);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bidaya-teal);
}

.section-title {
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 800;
  color: var(--bidaya-gray);
  line-height: 1.35;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-dark .section-title {
  color: #FFFFFF;
}

.section-lead {
  font-size: 18.5px;
  color: var(--text-muted);
  line-height: 1.8;
}

.section-dark .section-lead {
  color: #E2E8F0;
}

/* ── الواجهة الرئيسية (Hero Section) ────────────────────────────────── */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
  background:
    radial-gradient(1000px 520px at 85% -10%, rgba(8, 145, 178, 0.12), transparent 60%),
    radial-gradient(800px 440px at -5% 105%, rgba(87, 88, 90, 0.08), transparent 60%),
    #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse at 70% 35%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 35%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 52px;
  align-items: center;
  position: relative;
}

.hero-title {
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 800;
  color: var(--bidaya-gray);
  line-height: 1.25;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  color: var(--bidaya-teal);
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* الرسم التوضيحي للـ ERP في الهيرو (Interactive ERP Hub Illustration) */
.erp-hub {
  position: relative;
  aspect-ratio: 1 / 0.88;
  max-width: 540px;
  width: 100%;
  margin-inline: auto;
}

.erp-hub-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.erp-hub-lines line {
  stroke: var(--bidaya-teal);
  stroke-width: 1.8;
  stroke-dasharray: 6 6;
  opacity: 0.55;
  animation: lineDash 18s linear infinite;
}

@keyframes lineDash {
  to {
    stroke-dashoffset: -240;
  }
}

.erp-hub-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow:
    0 16px 40px rgba(87, 88, 90, 0.12),
    0 0 0 14px rgba(8, 145, 178, 0.08),
    0 0 0 30px rgba(8, 145, 178, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  border: 2px solid var(--border-subtle);
  animation: hubPulse 4s ease-in-out infinite;
  padding: 6px;
  overflow: hidden;
}

@keyframes hubPulse {

  0%,
  100% {
    box-shadow: 0 16px 40px rgba(87, 88, 90, 0.12), 0 0 0 14px rgba(8, 145, 178, 0.08), 0 0 0 30px rgba(8, 145, 178, 0.04);
  }

  50% {
    box-shadow: 0 18px 44px rgba(87, 88, 90, 0.16), 0 0 0 20px rgba(8, 145, 178, 0.12), 0 0 0 42px rgba(8, 145, 178, 0.06);
  }
}

.erp-hub-center img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.erp-node {
  position: absolute;
  transform: translate(-50%, -50%);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--bidaya-gray);
  white-space: nowrap;
  z-index: 3;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  animation: nodeFloat 6s ease-in-out infinite;
}

.erp-node:hover {
  transform: translate(-50%, -54%);
  box-shadow: var(--shadow-glow);
  border-color: var(--bidaya-teal);
}

.erp-node .node-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bidaya-teal-light);
  color: var(--bidaya-teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.erp-node.node-1 {
  left: 80%;
  top: 18%;
  animation-delay: -1.5s;
}

.erp-node.node-2 {
  left: 20%;
  top: 18%;
  animation-delay: 0s;
}

.erp-node.node-3 {
  left: 80%;
  top: 82%;
  animation-delay: -4.5s;
}

.erp-node.node-4 {
  left: 20%;
  top: 82%;
  animation-delay: -3s;
}

@keyframes nodeFloat {

  0%,
  100% {
    margin-top: 0;
  }

  50% {
    margin-top: -8px;
  }
}

/* ── قسم من نحن (About Us) ─────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.about-content p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-features-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.about-feature-card:hover {
  border-color: var(--bidaya-teal);
  transform: translateX(-6px);
  box-shadow: var(--shadow-md);
}

.about-feature-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--bidaya-teal-light);
  color: var(--bidaya-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--bidaya-gray);
  margin-bottom: 4px;
}

.about-feature-desc {
  font-size: 15px;
  color: var(--text-muted);
}

/* ── قسم منتجاتنا (Our Products) ───────────────────────────────────── */
.featured-product-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--bidaya-teal-light) 100%);
  border: 1px solid rgba(8, 145, 178, 0.2);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
}

.featured-product-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bidaya-gray);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.featured-product-title {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  color: var(--bidaya-gray);
  line-height: 1.3;
}

.featured-product-subtitle {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--bidaya-teal);
  letter-spacing: 0.08em;
  direction: ltr;
  text-align: right;
  margin-top: 4px;
}

.featured-product-desc {
  font-size: 17.5px;
  color: var(--text-muted);
  line-height: 1.85;
  margin: 18px 0 24px;
}

.features-chips-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.feature-chip {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--bidaya-gray);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.feature-chip.highlighted {
  border-color: var(--bidaya-teal);
  color: var(--bidaya-teal-hover);
  background: #FFFFFF;
}

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

.product-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: var(--bidaya-teal);
}

.product-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--bidaya-teal-light);
  color: var(--bidaya-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all var(--transition-fast);
}

.product-card:hover .product-card-icon {
  background: var(--bidaya-teal);
  color: #FFFFFF;
}

.product-card-title {
  font-size: 23px;
  font-weight: 800;
  color: var(--bidaya-gray);
  line-height: 1.35;
}

.product-card-subtitle {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--bidaya-teal);
  letter-spacing: 0.06em;
  direction: ltr;
  text-align: right;
  margin-top: 3px;
}

.product-card-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 16px 0 24px;
  flex-grow: 1;
}

.product-card-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--bidaya-teal);
  transition: gap var(--transition-fast);
}

.product-card:hover .product-card-more {
  color: var(--bidaya-teal-hover);
  gap: 12px;
}

/* ── محاكاة واجهات الأنظمة (Realistic Software UI Mockups) ─────────── */
.software-window {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  direction: rtl;
  font-size: 13.5px;
}

.window-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  background: #F1F5F9;
  border-bottom: 1px solid var(--border-subtle);
}

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

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CBD5E1;
}

.window-title {
  margin-inline-start: auto;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.window-body {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 270px;
}

.window-sidebar {
  background: #F8FAFC;
  border-inline-end: 1px solid var(--border-subtle);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-item {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-item.active {
  background: var(--bidaya-teal-light);
  color: var(--bidaya-teal-hover);
  font-weight: 700;
}

.window-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mockup-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric-box {
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.metric-label {
  font-size: 11px;
  color: var(--text-muted);
}

.metric-value {
  font-size: 15px;
  font-weight: 800;
  color: var(--bidaya-gray);
  margin-top: 2px;
}

.metric-value.teal {
  color: var(--bidaya-teal);
}

.mockup-table {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 12px;
}

.mockup-tr {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-subtle);
  align-items: center;
}

.mockup-tr.th {
  background: #F1F5F9;
  font-weight: 700;
  color: var(--bidaya-gray);
}

.mockup-tr:last-child {
  border-bottom: none;
}

.status-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  text-align: center;
}

.status-tag.approved {
  background: #DCFCE7;
  color: #166534;
}

.status-tag.review {
  background: #FEF3C7;
  color: #92400E;
}

.status-tag.pending {
  background: #E0F2FE;
  color: #0369A1;
}

/* ── قسم خدماتنا (Our Services) ────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--bidaya-teal);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--bidaya-teal-light);
  color: var(--bidaya-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon {
  background: var(--bidaya-teal);
  color: #FFFFFF;
}

.service-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--bidaya-gray);
  line-height: 1.4;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── قسم لماذا تختار بداية؟ ────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.why-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 16.5px;
  color: #FFFFFF;
  transition: all var(--transition-fast);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
  border-color: var(--bidaya-cyan);
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(8, 145, 178, 0.35);
  color: #67E8F9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── قسم تواصل معنا (Contact Us) ───────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 40px;
  align-items: flex-start;
}

.contact-form-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--bidaya-gray);
  margin-bottom: 24px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--bidaya-gray);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--bidaya-teal);
  box-shadow: 0 0 0 4px var(--bidaya-teal-light);
}

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

.contact-info-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--bidaya-gray);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: var(--text-muted);
}

.contact-info-item .ic {
  color: var(--bidaya-teal);
  font-size: 1.3em;
}

.contact-buttons-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  display: none;
  margin-top: 16px;
}

.form-alert.success {
  display: block;
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #BBF7D0;
}

.form-alert.error {
  display: block;
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

/* ── بانر التحفيز (CTA Band) ────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--bidaya-teal) 0%, var(--bidaya-teal-dark) 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  left: -120px;
  top: -160px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-text {
  font-size: 18px;
  opacity: 0.95;
  max-width: 650px;
  margin: 0 auto 30px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-banner .btn-primary {
  background: #FFFFFF;
  color: var(--bidaya-teal-dark);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.cta-banner .btn-primary:hover {
  background: var(--bidaya-teal-light);
  color: var(--bidaya-teal);
}

.cta-banner .btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-banner .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
}

/* ── تذييل الموقع (Footer) ─────────────────────────────────────────── */
.site-footer {
  background-color: #2F3032;
  color: #CBD5E1;
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand .header-logo {
  background: #FFFFFF;
  border-radius: 50%;
  padding: 4px;
}

.footer-brand .brand-title {
  color: #FFFFFF;
}

.footer-desc {
  font-size: 15px;
  line-height: 1.8;
  margin: 18px 0 22px;
  color: #94A3B8;
}

.footer-heading {
  font-size: 17.5px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 20px;
}

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

.footer-links a {
  color: #94A3B8;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--bidaya-cyan);
  padding-inline-start: 4px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.social-icon-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CBD5E1;
  transition: all var(--transition-fast);
}

.social-icon-link:hover {
  background: var(--bidaya-teal);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  text-align: center;
  font-size: 14.5px;
  color: #94A3B8;
}

/* ── صفحات تفاصيل المنتجات والصفحات الداخلية ───────────────────────── */
.page-hero {
  padding: 64px 0 72px;
  background:
    radial-gradient(900px 420px at 90% -15%, rgba(8, 145, 178, 0.12), transparent 60%),
    var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.breadcrumbs {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs a {
  color: var(--bidaya-teal);
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.product-detail-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.features-detailed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.detailed-feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.detailed-feature-card:hover {
  border-color: var(--bidaya-teal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.detailed-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bidaya-teal-light);
  color: var(--bidaya-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detailed-feature-text h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--bidaya-gray);
  margin-bottom: 6px;
}

.detailed-feature-text p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* مخطط مسار سير العمل (Workflow Stepper) */
.workflow-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.workflow-step {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-base);
}

.workflow-step:hover {
  border-color: var(--bidaya-teal);
  transform: translateY(-4px);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bidaya-teal);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.28);
}

.step-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--bidaya-gray);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* صندوق التثبيت والتحديث للبدة (Download / Update Banner) */
.install-box {
  background: linear-gradient(135deg, var(--bidaya-gray) 0%, #353638 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  margin-top: 48px;
  position: relative;
  overflow: hidden;
}

.install-box::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  left: -120px;
  top: -180px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.45), transparent 70%);
  pointer-events: none;
}

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

.install-box-title {
  font-size: 27px;
  font-weight: 800;
  margin-bottom: 8px;
}

.install-box-desc {
  font-size: 16.5px;
  color: #E2E8F0;
  line-height: 1.7;
}

.install-box-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* تبويبات عروض واجهات النظام التفاعلية */
.screens-showcase-tabs {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid var(--border-subtle);
  margin-bottom: 30px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.showcase-tab {
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--bidaya-gray);
  background: transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.showcase-tab:hover {
  color: var(--bidaya-teal);
  background: var(--bidaya-teal-light);
}

.showcase-tab.active {
  color: #FFFFFF;
  background: var(--bidaya-teal);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* ── الأزرار العائمة والإشعارات ─────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 150;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-float .ic {
  width: 32px;
  height: 32px;
}

.site-toast {
  position: fixed;
  bottom: 96px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #1E293B;
  color: #FFFFFF;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
  max-width: min(90vw, 480px);
  font-size: 15px;
  text-align: center;
  font-weight: 600;
}

.site-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ── الحركات والانتقالات عند التمرير (Scroll Micro-Animations) ──────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── التجاوب مع مختلف الشاشات (Responsive Design) ───────────────────── */
@media (max-width: 1080px) {

  .hero-grid,
  .about-grid,
  .featured-product-card,
  .contact-grid,
  .product-detail-hero-grid,
  .install-box {
    grid-template-columns: 1fr;
  }

  .products-grid,
  .features-detailed-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .why-grid,
  .workflow-stepper {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .header-container {
    height: 72px;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    padding: 20px;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    width: 100%;
    padding: 12px 16px;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .products-grid,
  .services-grid,
  .why-grid,
  .features-detailed-grid,
  .workflow-stepper,
  .form-row,
  .footer-grid,
  .contact-buttons-group,
  .jobs-grid,
  .careers-perks-grid {
    grid-template-columns: 1fr;
  }

  .featured-product-card {
    padding: 28px 20px;
  }

  .install-box {
    padding: 32px 24px;
  }

  .section {
    padding: 64px 0;
  }

  .portal-menu {
    right: 0;
    left: auto;
    width: calc(100vw - 40px);
    max-width: 320px;
  }
}

/* ── قسم التوظيف والوظائف الشاغرة (Careers & Job Openings) ────────── */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.job-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.job-card:hover {
  transform: translateY(-6px);
  border-color: var(--bidaya-teal);
  box-shadow: var(--shadow-glow);
}

.job-card.featured-job {
  border-color: rgba(8, 145, 178, 0.35);
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.job-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bidaya-teal-light);
  color: var(--bidaya-teal-hover);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.job-badge.senior {
  background: #FEF3C7;
  color: #92400E;
}

.job-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--bidaya-gray);
  line-height: 1.35;
  margin-bottom: 12px;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.job-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.job-meta-item .ic {
  color: var(--bidaya-teal);
  font-size: 1.15em;
}

.job-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.job-requirements-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--bidaya-gray);
  margin-bottom: 12px;
}

.job-requirements-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.job-requirements-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-primary);
}

.job-requirements-list li .ic {
  color: var(--bidaya-teal);
  margin-top: 4px;
  flex-shrink: 0;
}

.job-card-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.careers-perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.career-perk-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.career-perk-card:hover {
  transform: translateY(-4px);
  border-color: var(--bidaya-teal);
}

.career-perk-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bidaya-teal-light);
  color: var(--bidaya-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.career-perk-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--bidaya-gray);
  margin-bottom: 6px;
}

.career-perk-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* ==========================================================================
   نافذة التحقق لتنزيل منظومة لبدة (Download Authentication Modal)
   ========================================================================== */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.auth-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.auth-modal-card {
  position: relative;
  background: #FFFFFF;
  border-radius: 20px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(87, 88, 90, 0.08);
  overflow: hidden;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  direction: rtl;
}

.auth-modal-overlay.active .auth-modal-card {
  transform: translateY(0) scale(1);
}

.auth-modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: #FFFFFF;
  color: var(--bidaya-gray);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.auth-modal-close:hover {
  background: var(--bg-alt);
  color: #DC2626;
  border-color: #FCA5A5;
}

.auth-modal-header {
  padding: 32px 28px 20px;
  text-align: center;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.auth-modal-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(8, 145, 178, 0.1);
  color: var(--bidaya-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(8, 145, 178, 0.04);
}

.auth-modal-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.auth-modal-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--bidaya-gray);
  margin-bottom: 6px;
}

.auth-modal-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.auth-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bidaya-teal-light);
  color: var(--bidaya-teal);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 9999px;
  font-family: monospace;
  direction: ltr;
}

.auth-modal-body {
  padding: 24px 28px 28px;
}

.auth-modal-alert {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
}

.auth-modal-alert.error {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FEE2E2;
}

.auth-modal-alert.success {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #D1FAE5;
}

.auth-modal-group {
  margin-bottom: 16px;
  text-align: right;
}

.auth-modal-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--bidaya-gray);
  margin-bottom: 6px;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-icon {
  position: absolute;
  right: 14px;
  width: 18px;
  height: 18px;
  color: #94A3B8;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  pointer-events: none;
}

.auth-modal-input {
  width: 100%;
  padding: 12px 42px 12px 42px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 14px;
  color: var(--bidaya-gray);
  background: #FFFFFF;
  transition: all var(--transition-fast);
}

.auth-modal-input:focus {
  outline: none;
  border-color: var(--bidaya-teal);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.15);
}

.auth-toggle-password {
  position: absolute;
  left: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.auth-toggle-password:hover {
  color: var(--bidaya-teal);
  background: rgba(8, 145, 178, 0.08);
}

.auth-toggle-password svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.auth-submit-btn {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  font-size: 15px;
  font-weight: 800;
  justify-content: center;
}

.auth-modal-footer {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.auth-modal-footer span {
  display: block;
  margin-bottom: 4px;
}

.auth-contact-link {
  color: var(--bidaya-teal);
  font-weight: 700;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.auth-contact-link:hover {
  color: var(--bidaya-teal-hover);
  text-decoration: underline;
}