/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --teal: #0891B2;
  --teal-dark: #0E7490;
  --teal-light: #22D3EE;
  --teal-bg: rgba(8, 145, 178, 0.08);
  --teal-border: rgba(8, 145, 178, 0.2);
  --font-ar: 'Cairo', 'Segoe UI', system-ui, sans-serif;
  --font-en: 'Outfit', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--gray-700);
  font-family: var(--font-ar);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  direction: rtl;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-ar);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--teal-dark); color: #fff; transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--teal);
  font-family: var(--font-ar);
  font-size: 16px;
  font-weight: 600;
  border: 2px solid var(--teal-border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-ghost:hover { background: var(--teal-bg); border-color: var(--teal); color: var(--teal); }

.btn-full { width: 100%; justify-content: center; }

/* ===== SECTION SHARED ===== */
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  background: var(--teal-bg);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--teal-border);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.8;
  max-width: 600px;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 48px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.nav-logo-ar {
  font-family: var(--font-ar);
  font-size: 26px;
  font-weight: 900;
  color: var(--teal);
}

.nav-logo-en {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--teal); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--teal-dark); color: #fff; }

.nav-mobile-btn {
  display: none;
  background: none;
  border: none;
  color: var(--gray-600);
  cursor: pointer;
  padding: 4px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 48px 100px;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.1) 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.08) 0%, transparent 70%);
  bottom: -50px;
  right: 10%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-bg);
  padding: 8px 20px;
  border-radius: 40px;
  border: 1px solid var(--teal-border);
  margin-bottom: 28px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-headline {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.8;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--gray-200);
}

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

.hero-stat-val {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--gray-400);
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
}

/* ===== SERVICES ===== */
.services {
  padding: 100px 48px;
  background: var(--gray-50);
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header .section-desc { margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  border-color: var(--teal-border);
  box-shadow: 0 8px 32px rgba(8, 145, 178, 0.08);
  transform: translateY(-2px);
}

.service-icon-emoji {
  font-size: 36px;
  margin-bottom: 16px;
}

.service-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.service-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--teal);
  font-family: var(--font-en);
  direction: ltr;
  display: inline-block;
}

.service-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-400);
  font-family: var(--font-ar);
}

/* More industries */
.services-more {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 36px;
}

.services-more-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.industry-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  background: var(--teal-bg);
  border: 1px solid var(--teal-border);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
}

.services-cta-line {
  font-size: 16px;
  color: var(--gray-500);
  font-weight: 600;
}

.services-cta-line a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== STEPS ===== */
.steps {
  padding: 100px 48px;
  background: var(--white);
}

.steps-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.steps-header {
  text-align: center;
  margin-bottom: 60px;
}

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.step-card {
  flex: 1;
  max-width: 320px;
  text-align: center;
  padding: 36px 24px;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-en);
}

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

.step-desc {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
}

.step-connector {
  flex-shrink: 0;
  padding: 0 8px;
  display: flex;
  align-items: center;
}

/* ===== PRICING ===== */
.pricing {
  padding: 100px 48px;
  background: var(--gray-50);
}

.pricing-inner {
  max-width: 900px;
  margin: 0 auto;
}

.pricing-header {
  text-align: center;
  margin-bottom: 48px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 20px;
  padding: 36px;
  text-align: center;
  position: relative;
}

.pricing-card-featured {
  border-color: var(--teal);
  box-shadow: 0 8px 40px rgba(8, 145, 178, 0.12);
}

.pricing-popular {
  position: absolute;
  top: -14px;
  right: 50%;
  transform: translateX(50%);
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-500);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-amount {
  font-size: 32px;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 6px;
  font-family: var(--font-en);
  direction: ltr;
  display: inline-block;
}

.pricing-period {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  font-size: 15px;
  color: var(--gray-600);
  padding-right: 24px;
  position: relative;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--teal);
  font-weight: 700;
}

.pricing-example {
  text-align: center;
}

.pricing-example-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal-bg);
  border: 1px solid var(--teal-border);
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 16px;
  color: var(--gray-700);
}

.pricing-example-label {
  font-weight: 700;
  color: var(--teal);
}

.pricing-example-calc {
  font-family: var(--font-en);
  direction: ltr;
}

.pricing-example-calc strong {
  color: var(--teal);
}

/* ===== WHY US ===== */
.why-us {
  padding: 100px 48px;
  background: var(--white);
}

.why-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.why-header {
  text-align: center;
  margin-bottom: 60px;
}

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

.why-card {
  text-align: center;
  padding: 36px 24px;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.why-card:hover {
  border-color: var(--teal-border);
  box-shadow: 0 4px 24px rgba(8, 145, 178, 0.06);
}

.why-icon {
  margin-bottom: 20px;
}

.why-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.why-desc {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact {
  padding: 100px 48px;
  background: var(--gray-900);
  color: var(--white);
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-text .section-tag {
  background: rgba(8, 145, 178, 0.15);
  border-color: rgba(8, 145, 178, 0.3);
}

.contact-text .section-title { color: #fff; }

.contact-desc {
  font-size: 17px;
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: #25D366;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  transition: background 0.2s;
}

.contact-wa-btn:hover { background: #1EBE5A; color: #fff; }

.contact-form-wrap {
  background: var(--gray-800);
  border-radius: 20px;
  padding: 36px;
  border: 1px solid var(--gray-700);
}

.form-group { margin-bottom: 16px; }

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--gray-700);
  border: 1px solid var(--gray-600);
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-ar);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  direction: rtl;
}

.form-input::placeholder { color: var(--gray-400); }
.form-input:focus { border-color: var(--teal); }

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

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 12px;
}

.form-note strong { color: var(--gray-300); }

.form-success {
  text-align: center;
  padding: 40px 0;
  font-size: 18px;
  color: var(--teal-light);
  font-weight: 700;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  border-top: 1px solid var(--gray-800);
  padding: 48px 48px 32px;
  color: var(--gray-400);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gray-800);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.footer-logo-ar {
  font-family: var(--font-ar);
  font-size: 28px;
  font-weight: 900;
  color: var(--teal);
}

.footer-logo-en {
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--gray-500);
}

.footer-tagline {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.6;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-info-item {
  font-size: 14px;
  color: var(--gray-400);
}

.footer-info-item span {
  font-weight: 700;
  color: var(--gray-300);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-arabic-name {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.arabic-text-lg {
  font-family: var(--font-ar);
  font-size: 24px;
  font-weight: 900;
  color: var(--teal);
}

.arabic-meaning {
  font-size: 13px;
  color: var(--gray-500);
  font-family: var(--font-en);
}

.footer-legal {
  font-size: 12px;
  color: var(--gray-500);
  font-family: var(--font-en);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; gap: 16px; }
  .step-connector { transform: rotate(90deg); }
}

@media (max-width: 768px) {
  .nav { padding: 12px 20px; }
  .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    gap: 16px;
  }
  .nav-links.nav-open { display: flex; }
  .nav-mobile-btn { display: block; }

  .hero { padding: 120px 20px 60px; min-height: auto; }
  .hero-headline { font-size: clamp(28px, 8vw, 48px); }
  .hero-stats { gap: 20px; }
  .hero-stat-divider { display: none; }

  .services, .steps, .pricing, .why-us, .contact { padding: 60px 20px; }
  .pricing-grid { grid-template-columns: 1fr; }

  .footer { padding: 32px 20px 24px; }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }

  .hero-actions { flex-direction: column; align-items: center; }
}
