/* إعدادات عامة */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #050509;
  color: #f9fafb;
}

body {
  direction: rtl;
}

/* حاوية أساسية */
.sc-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== الهيدر ===== */
.sc-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(to bottom, #050509 0%, #050509ee 70%, #05050900);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.sc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 16px;
}

.sc-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sc-logo {
  height: 44px;
  width: auto;
  display: block;
}

.sc-logo-tag {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fedf75;
  border-radius: 999px;
  border: 1px solid rgba(234, 179, 8, 0.7);
  background: rgba(0, 0, 0, 0.85);
  padding: 4px 10px;
}

.sc-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
}

.sc-nav a {
  color: #e5e7eb;
  text-decoration: none;
  padding: 4px 0;
  position: relative;
}

.sc-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -2px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(to left, #facc15, #fbbf24, #facc15);
  transition: transform 0.2s ease-out;
}

.sc-nav a:hover::after {
  transform: scaleX(1);
}

/* أزرار عامة */
.sc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  padding: 9px 18px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out,
    background 0.15s ease-out, color 0.15s ease-out;
  white-space: nowrap;
}

.sc-btn-primary {
  background: linear-gradient(to left, #facc15, #fbbf24, #facc15);
  color: #020617;
  box-shadow: 0 18px 40px rgba(250, 204, 21, 0.4);
}

.sc-btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.sc-btn-ghost {
  border: 1px solid rgba(234, 179, 8, 0.6);
  background: rgba(0, 0, 0, 0.6);
  color: #fefce8;
}

.sc-btn-ghost:hover {
  border-color: #facc15;
  color: white;
}

.sc-btn-outline {
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: transparent;
  color: #e5e7eb;
  font-size: 12px;
}

.sc-btn-outline:hover {
  border-color: #facc15;
  color: #facc15;
}

.sc-btn-whatsapp {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #f9fafb;
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.6);
}

.sc-btn-whatsapp:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* ===== الهيرو ===== */
.sc-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top, rgba(250, 204, 21, 0.18), #020617);
  color: #f9fafb;
}

.sc-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.4;
}

.sc-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.sc-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at top,
      rgba(250, 204, 21, 0.4),
      transparent 55%
    ),
    linear-gradient(to left, #020617, rgba(2, 6, 23, 0.88), #020617);
  mix-blend-mode: multiply;
}

.sc-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  padding-top: 72px;
  padding-bottom: 64px;
}

@media (max-width: 900px) {
  .sc-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 72px;
  }
}

/* نص الهيرو */
.sc-hero-text h1 {
  font-size: clamp(26px, 4vw, 36px);
  margin: 10px 0 0;
  font-weight: 900;
  line-height: 1.15;
}

.sc-eyebrow {
  font-size: 13px;
  color: #facc15;
  font-weight: 600;
}

.sc-hero-desc {
  margin-top: 14px;
  font-size: 14px;
  color: #e5e7eb;
  max-width: 540px;
  line-height: 1.7;
}

.sc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.sc-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 16px;
  font-size: 12px;
  color: #e5e7eb;
}

.sc-badge {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sc-badge .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.12);
  color: #facc15;
  font-size: 13px;
}

/* فورم الهيرو */
.sc-hero-form {
  display: flex;
  justify-content: flex-end;
}

.sc-card {
  width: 100%;
  max-width: 380px;
  background: rgba(0, 0, 0, 0.88);
  border-radius: 24px;
  padding: 20px 18px;
  border: 1px solid rgba(234, 179, 8, 0.7);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(18px);
}

.sc-card h2 {
  font-size: 17px;
  margin: 0 0 4px;
}

.sc-card-desc {
  font-size: 12px;
  color: #d1d5db;
  margin-top: 2px;
}

/* حقول الفورم */
.sc-field {
  display: block;
  margin-top: 10px;
}

.sc-field span {
  display: block;
  font-size: 11px;
  margin-bottom: 4px;
  color: #e5e7eb;
}

.sc-field input,
.sc-field select,
.sc-field textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  background: rgba(15, 23, 42, 0.9);
  color: #f9fafb;
  padding: 8px 10px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out,
    background 0.15s ease-out;
}

.sc-field input::placeholder,
.sc-field textarea::placeholder {
  color: #9ca3af;
}

.sc-field input:focus,
.sc-field select:focus,
.sc-field textarea:focus {
  border-color: #facc15;
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.4);
  background: rgba(15, 23, 42, 0.98);
}

.sc-form-note {
  margin-top: 6px;
  font-size: 10px;
  color: #9ca3af;
  line-height: 1.6;
}

/* ===== أقسام عامة ===== */
.sc-section {
  padding: 48px 0;
  background: radial-gradient(circle at top, #020617, #020617);
}

.sc-section-dark {
  background: #020617;
}

.sc-section-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
}

.sc-section-header h2 {
  margin: 0;
  font-size: 22px;
}

.sc-section-header p {
  margin: 6px 0 0;
  font-size: 14px;
  color: #d1d5db;
}

.sc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
}

.sc-pills span {
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border: 1px solid rgba(55, 65, 81, 0.9);
}

/* ===== كروت الفئات ===== */
.sc-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.sc-card {
  position: relative;
}

.sc-card-body {
  position: relative;
}

.sc-card:not(.sc-card-with-bg) {
  background: radial-gradient(circle at top, #020617, #020617);
}

.sc-card {
  border-radius: 20px;
  padding: 16px;
  border: 1px solid rgba(51, 65, 85, 0.9);
  background: linear-gradient(to bottom, #020617, #020617);
  color: #e5e7eb;
  text-decoration: none;
  display: block;
  overflow: hidden;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out,
    transform 0.15s ease-out;
}

.sc-card:hover {
  border-color: rgba(250, 204, 21, 0.7);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.9);
  transform: translateY(-2px);
}

.sc-card-with-bg .sc-card-bg {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  z-index: -1;
}

.sc-card-with-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sc-card-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #020617, rgba(2, 6, 23, 0.8), transparent);
}

.sc-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.sc-card-header h3 {
  margin: 0;
  font-size: 15px;
}

.sc-card p {
  margin: 10px 0 0;
  font-size: 13px;
  color: #e5e7eb;
}

.sc-card-link {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #facc15;
}

.sc-card-link span {
  font-size: 11px;
}

/* شارات ملونة */
.sc-pill-gold,
.sc-pill-amber,
.sc-pill-green,
.sc-pill-pink,
.sc-pill-sky,
.sc-pill-dark {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.sc-pill-gold {
  background: rgba(250, 204, 21, 0.1);
  color: #facc15;
}

.sc-pill-amber {
  background: rgba(251, 191, 36, 0.11);
  color: #fed7aa;
}

.sc-pill-green {
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0;
}

.sc-pill-pink {
  background: rgba(236, 72, 153, 0.12);
  color: #f9a8d4;
}

.sc-pill-sky {
  background: rgba(56, 189, 248, 0.12);
  color: #bae6fd;
}

.sc-pill-dark {
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
}

/* ألوان روابط إضافية */
.sc-card-link-amber {
  color: #fed7aa;
}

.sc-card-link-green {
  color: #bbf7d0;
}

.sc-card-link-pink {
  color: #f9a8d4;
}

.sc-card-link-sky {
  color: #bae6fd;
}

/* ===== لماذا سويدي كار ===== */
.sc-two-cols {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

@media (max-width: 900px) {
  .sc-two-cols {
    grid-template-columns: minmax(0, 1fr);
  }
}

.sc-eyebrow-small {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #facc15;
}

.sc-eyebrow-small.gold {
  color: #fedf75;
}

.sc-text {
  font-size: 14px;
  color: #e5e7eb;
  margin-top: 8px;
}

.sc-text-small {
  font-size: 12px;
  color: #d1d5db;
}

.sc-feature-grid {
  margin-top: 16px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.sc-feature {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 16px;
  padding: 12px 12px 10px;
  border: 1px solid rgba(30, 64, 175, 0.4);
}

.sc-feature h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.sc-feature p {
  margin: 0;
  font-size: 12px;
  color: #d1d5db;
}

.sc-story-card {
  background: radial-gradient(circle at top, #0f172a, #020617);
  border-radius: 18px;
  border: 1px solid rgba(22, 163, 74, 0.4);
  padding: 14px 14px 12px;
  margin-bottom: 16px;
}

.sc-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sc-stat {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 14px;
  padding: 10px 8px;
  text-align: center;
  border: 1px solid rgba(55, 65, 81, 0.8);
}

.sc-stat-number {
  font-size: 18px;
  font-weight: 800;
}

.sc-stat-label {
  font-size: 11px;
  margin-top: 4px;
  color: #e5e7eb;
}

/* ===== شريط CTA ===== */
.sc-cta-band {
  background: linear-gradient(
    to left,
    rgba(250, 204, 21, 0.14),
    #020617,
    rgba(250, 204, 21, 0.12)
  );
  border-block: 1px solid rgba(234, 179, 8, 0.3);
  padding: 16px 0;
}

.sc-cta-inner {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.sc-cta-inner h2 {
  margin: 0;
  font-size: 18px;
}

.sc-cta-inner p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #e5e7eb;
}

.sc-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== FAQ + تواصل ===== */
.sc-faq-list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.sc-faq-item {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 16px;
  padding: 12px 12px 10px;
  border: 1px solid rgba(51, 65, 85, 0.9);
}

.sc-faq-item h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.sc-faq-item p {
  margin: 0;
  font-size: 12px;
  color: #d1d5db;
}

.sc-contact-card {
  background: radial-gradient(circle at top, #020617, #020617);
  border-radius: 20px;
  padding: 16px 16px 14px;
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.sc-contact-list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.sc-contact-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 10px;
  border-radius: 14px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.95);
  color: #e5e7eb;
  text-decoration: none;
  font-size: 13px;
}

.sc-contact-item span {
  font-size: 11px;
  color: #9ca3af;
}

.sc-contact-whatsapp {
  border-color: rgba(22, 163, 74, 0.8);
  background: linear-gradient(
    to left,
    rgba(22, 163, 74, 0.22),
    rgba(15, 23, 42, 0.98)
  );
}

/* ===== الفوتر ===== */
.sc-footer {
  border-top: 1px solid rgba(55, 65, 81, 0.9);
  padding: 14px 0;
  background: #020617;
  font-size: 11px;
  color: #9ca3af;
}

.sc-footer-inner {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.sc-footer-inner a {
  color: #e5e7eb;
  text-decoration: none;
}

.sc-footer-inner a:hover {
  color: #facc15;
}

/* ===== Floating WhatsApp Button (bottom right) ===== */
#sc-whatsapp-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  flex-direction: column-reverse; /* الزر أسفل، النافذة فوقه */
  align-items: flex-end;
  gap: 8px;
  font-family: inherit;
}

.sc-wa-button {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out,
    filter 0.15s ease-out;
}

.sc-wa-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.sc-wa-icon {
  font-size: 26px;
}

/* نافذة الدردشة - افتراضياً مخفية */
.sc-wa-chat {
  width: 300px;
  max-width: calc(100vw - 32px);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(75, 85, 99, 0.9);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.95);
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(0.9) translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

/* حالة الفتح */
.sc-wa-chat.open {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}

/* هيدر النافذة */
.sc-wa-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: linear-gradient(to left, #22c55e, #16a34a);
  color: #f9fafb;
}

.sc-wa-chat-title {
  font-size: 13px;
  font-weight: 700;
}

.sc-wa-chat-subtitle {
  font-size: 11px;
  opacity: 0.9;
}

.sc-wa-close {
  border: none;
  background: transparent;
  color: #ecfdf5;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

/* جسم النافذة */
.sc-wa-chat-body {
  padding: 10px 10px 6px;
}

.sc-wa-chat-body textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  background: rgba(15, 23, 42, 0.96);
  color: #f9fafb;
  padding: 8px 10px;
  font-size: 13px;
  resize: vertical;
  min-height: 72px;
}

.sc-wa-chat-body textarea::placeholder {
  color: #9ca3af;
}

/* فوتر النافذة */
.sc-wa-chat-footer {
  padding: 6px 10px 10px;
  background: rgba(15, 23, 42, 0.98);
}

/* مواءمة للموبايل */
@media (max-width: 640px) {
  .sc-header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .sc-nav {
    display: none;
  }

  .sc-card {
    max-width: 100%;
  }

  #sc-whatsapp-fab {
    right: 12px;
    bottom: 12px;
  }

  .sc-wa-button {
    width: 48px;
    height: 48px;
  }

  .sc-wa-chat {
    width: 270px;
  }
}
body {
  outline: 2px solid red; /* اختبار مؤقت */
}