:root {
  --bg: #07101f;
  --bg-soft: #0d1730;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --surface-light: rgba(255, 255, 255, 0.18);
  --border: rgba(255, 255, 255, 0.16);
  --text: #f7f9ff;
  --muted: #bcc8e4;
  --title: #ffffff;
  --accent: #2ce6a4;
  --accent-2: #6d7dff;
  --accent-3: #66d4ff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  --radius: 24px;
  --radius-sm: 18px;
  --container: min(1180px, calc(100% - 32px));
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(102, 212, 255, 0.18), transparent 25%),
    radial-gradient(circle at 80% 20%, rgba(109, 125, 255, 0.18), transparent 22%),
    linear-gradient(180deg, #081122 0%, #0b1020 42%, #091324 100%);
  color: var(--text);
  font-family: "Cairo", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

body.en {
  direction: ltr;
  font-family: "Inter", "Cairo", system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-shell {
  position: relative;
  isolation: isolate;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: 56px 0;
}

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.07));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.glass-soft {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  z-index: -3;
  pointer-events: none;
}

.orb-1 {
  width: 260px;
  height: 260px;
  background: rgba(44, 230, 164, 0.18);
  top: 5%;
  inset-inline-start: -70px;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(109, 125, 255, 0.18);
  top: 28%;
  inset-inline-end: -90px;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
  opacity: 0.12;
  z-index: -4;
  pointer-events: none;
}

.header {
  position: sticky;
  top: 14px;
  z-index: 1000;
  margin: 14px auto 0;
  width: var(--container);
  border-radius: 999px;
}

.nav-wrap {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #08111f;
  font-weight: 800;
  letter-spacing: 0.02em;
}

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

.brand-text strong {
  font-size: 0.98rem;
}

.brand-text small {
  color: var(--muted);
}

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

.nav a {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.25s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--title);
}

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

.lang-toggle,
.menu-toggle {
  border: 0;
  color: var(--title);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  cursor: pointer;
}

.lang-toggle {
  min-width: 50px;
  height: 44px;
  padding: 0 14px;
  font-weight: 700;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 0 20px 18px;
}

.mobile-nav a {
  color: var(--muted);
  font-weight: 600;
}

.mobile-cta {
  margin-top: 6px;
}

.hero {
  padding-top: 72px;
}

.hero-grid,
.split-grid,
.why-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 30px;
  align-items: center;
}

.hero-copy h1,
.section-copy h2,
.section-heading h2,
.why-copy h2,
.contact-copy h2,
.cta-box h2 {
  margin: 0;
  color: var(--title);
  line-height: 1.08;
}

.hero-copy h1 {
  font-size: clamp(2.35rem, 5vw, 4.9rem);
  margin-top: 14px;
  max-width: 12ch;
}

.eyebrow,
.section-tag,
.badge,
.inverse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.eyebrow,
.section-tag,
.badge {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #dce5fb;
}

.inverse {
  background: rgba(255,255,255,0.16);
  color: #fff;
}

.hero-subtitle,
.section-copy p,
.section-heading p,
.contact-copy p,
.cta-box p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.9;
}

.hero-subtitle {
  max-width: 58ch;
  margin: 18px 0 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

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

.btn-sm {
  min-height: 44px;
  padding: 0 18px;
}

.btn-lg {
  min-height: 56px;
  padding: 0 24px;
}

.btn-block {
  width: 100%;
  min-height: 56px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #34e2c8 50%, var(--accent-2));
  color: #08111f;
  box-shadow: 0 16px 34px rgba(44, 230, 164, 0.2);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--title);
  border-color: rgba(255,255,255,0.14);
}

.btn-light {
  background: #ffffff;
  color: #09111f;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
}

.dot,
.whatsapp-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(44, 230, 164, 0.14);
}

.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: 32px;
  padding: 24px;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(102,212,255,0.08), transparent 45%, rgba(109,125,255,0.12));
  pointer-events: none;
}

.card-top,
.chat-head,
.mini-brand,
.testimonial-author,
.contact-item,
.footer-wrap {
  display: flex;
  align-items: center;
}

.card-top {
  justify-content: space-between;
  gap: 12px;
}

.mini-brand {
  gap: 12px;
}

.mini-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
}

.mini-brand small,
.stat-card p,
.chat-head,
.metric-box span,
.testimonial-author span,
.footer-wrap p,
.footer-wrap span,
.form-note {
  color: var(--muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.stat-card,
.metric-box,
.service-card,
.testimonial-card,
.contact-form,
.about-panel,
.cta-box,
.stats-bar {
  border-radius: var(--radius);
}

.stat-card {
  padding: 18px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
}

.stat-card h3 {
  margin: 0;
  font-size: 1.7rem;
}

.stat-card p {
  margin: 6px 0 0;
  line-height: 1.6;
}

.chat-preview {
  margin-top: 20px;
  border-radius: 24px;
  padding: 18px;
}

.chat-head {
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  font-weight: 700;
}

.chat-bubble {
  max-width: 88%;
  border-radius: 18px;
  padding: 14px 16px;
  line-height: 1.8;
  font-size: 0.96rem;
}

.chat-bubble + .chat-bubble {
  margin-top: 10px;
}

.incoming {
  background: rgba(255,255,255,0.08);
}

.outgoing {
  background: linear-gradient(135deg, rgba(44,230,164,0.22), rgba(109,125,255,0.24));
  margin-inline-start: auto;
}

.floating-card {
  animation: floatCard 5.8s ease-in-out infinite;
}

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

.stats-bar-wrap {
  padding-top: 14px;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px;
}

.stats-bar div {
  text-align: center;
}

.stats-bar strong {
  display: block;
  font-size: 1.9rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h2,
.section-copy h2,
.why-copy h2,
.contact-copy h2,
.cta-box h2 {
  font-size: clamp(1.9rem, 3vw, 3.1rem);
  margin-top: 12px;
}

.about-panel {
  padding: 20px;
  display: grid;
  gap: 14px;
}

.panel-card,
.contact-item {
  display: flex;
  gap: 14px;
  border-radius: 20px;
  padding: 16px;
}

.panel-icon,
.service-icon,
.contact-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.services-grid,
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card,
.testimonial-card {
  padding: 22px;
  min-height: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.service-card:hover,
.testimonial-card:hover,
.metric-box:hover,
.contact-item:hover,
.panel-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.2);
}

.service-card h3,
.testimonial-author strong {
  margin: 14px 0 8px;
  font-size: 1.14rem;
}

.service-card p,
.testimonial-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 14px;
}

.feature-list li {
  position: relative;
  padding-inline-start: 34px;
  color: var(--text);
  font-weight: 700;
}

.feature-list li::before {
  content: "✔";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  color: var(--accent);
}

.why-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.metric-box {
  padding: 24px;
}

.metric-box strong {
  display: block;
  margin-top: 8px;
  font-size: 2rem;
}

.testimonials-grid {
  grid-template-columns: repeat(3, 1fr);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.testimonial-author {
  justify-content: space-between;
  gap: 10px;
  align-items: flex-end;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  background: linear-gradient(135deg, rgba(44,230,164,0.16), rgba(109,125,255,0.18), rgba(102,212,255,0.14));
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

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

.contact-item div {
  display: grid;
  gap: 4px;
}

.contact-form {
  padding: 24px;
}

.form-row {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.form-row label {
  font-weight: 700;
}

.form-row input {
  min-height: 56px;
  width: 100%;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.07);
  color: #fff;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-row input::placeholder {
  color: #90a0c9;
}

.form-row input:focus {
  border-color: rgba(44,230,164,0.46);
  box-shadow: 0 0 0 4px rgba(44,230,164,0.12);
}

.footer {
  padding: 18px 0 34px;
}

.footer-wrap {
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer-wrap strong {
  color: var(--title);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay {
  transition-delay: 0.1s;
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.18s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-grid,
  .why-grid,
  .contact-grid,
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav.open {
    display: flex;
  }
}

@media (max-width: 780px) {
  :root {
    --container: min(100% - 20px, 1180px);
  }

  .section {
    padding: 38px 0;
  }

  .header {
    top: 8px;
    width: calc(100% - 20px);
    margin-top: 10px;
    border-radius: 28px;
  }

  .nav-wrap {
    min-height: 72px;
    padding: 10px 14px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .brand-text strong {
    font-size: 0.92rem;
  }

  .brand-text small {
    font-size: 0.78rem;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-grid,
  .split-grid,
  .why-grid,
  .contact-grid,
  .services-grid,
  .testimonials-grid,
  .stats-grid,
  .stats-bar,
  .why-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-actions,
  .cta-box,
  .footer-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-lg,
  .btn-light,
  .btn-ghost,
  .btn-primary {
    width: 100%;
  }

  .hero-card,
  .contact-form,
  .service-card,
  .testimonial-card,
  .cta-box,
  .stats-bar,
  .about-panel {
    padding: 18px;
  }

  .testimonial-author {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: 1fr;
  }

  .chat-bubble {
    max-width: 100%;
  }
}
