:root {
  --font-ar: 'JF-Flat-Regular Custom', Tahoma, Arial, sans-serif;
  --font-en: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --text: #111827;
  --muted: #5d6675;
  --line: rgba(15, 23, 42, .11);

  --orange: #ff631f;
  --lime: #ecff64;
  --lime-border: #b8dd00;
  --cream: #fff8ec;

  --shadow: 0 28px 80px rgba(15, 23, 42, .14);
  --soft-shadow: 0 16px 42px rgba(15, 23, 42, .08);

  --pill: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html[dir="rtl"] body,
html[dir="rtl"] a,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
  font-family: var(--font-ar);
}

html[dir="ltr"] body,
html[dir="ltr"] a,
html[dir="ltr"] button,
html[dir="ltr"] input,
html[dir="ltr"] textarea,
html[dir="ltr"] select {
  font-family: var(--font-en);
  letter-spacing: -0.01em;
}

body {
  margin: 0;
  color: var(--text);
  overflow-x: hidden;
  background: #fffaf2;
}

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

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: auto;
}

/* =========================
   Navbar
========================= */

.nav-shell {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 16px;
  background: transparent;
}

.navbar {
  min-height: 62px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  box-shadow: 0 12px 32px rgba(15, 23, 42, .10);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  gap: 20px;
  padding:10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.4px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgb(255, 99, 31);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: inset 0 -8px 18px rgba(255, 91, 33, .55);
}

.brand-icon .material-symbols-outlined {
  font-size: 24px;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex: 1;
  font-size: 15px;
}

.nav-link {
  font-family: inherit;
  font-weight: 400;
  opacity: .84;
  letter-spacing: 0;
}

.nav-link:hover {
  opacity: 1;
  color: var(--orange);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  direction: ltr;
}

.nav-tool {
  height: 42px;
  border: 0;
  background: transparent;
  color: #111;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-radius: var(--pill);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
}

.nav-tool:hover {
  background: rgba(0, 0, 0, .06);
}

.nav-tool .material-symbols-outlined {
  color: #111;
}

html[dir="ltr"] .brand {
  order: 1;
}

html[dir="ltr"] .nav-links {
  order: 2;
}

html[dir="ltr"] .nav-actions {
  order: 3;
  margin-left: auto;
  margin-right: 0;
}

html[dir="ltr"] .nav-actions .btn-lime {
  order: 3;
}

html[dir="ltr"] #langToggle {
  order: 1;
}

html[dir="ltr"] #themeToggle {
  order: 2;
}

html[dir="ltr"] .mobile-toggle {
  order: 4;
}

/* =========================
   Buttons
========================= */

.btn {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 22px;
  border-radius: var(--pill);
  font-weight: 600;
}

.btn-lime {
  background: var(--lime);
  border: 1.5px solid var(--lime-border);
  color: #070707;
}

.btn-dark {
  background: #111;
  color: #fff;
}

/* =========================
   Mobile Menu
========================= */

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.mobile-toggle::before,
.mobile-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #111;
  transform: translateX(-50%);
  transition: .25s ease;
}

.mobile-toggle::before {
  top: 15px;
}

.mobile-toggle::after {
  top: 24px;
}

.mobile-toggle.menu-open::before {
  top: 20px;
  transform: translateX(-50%) rotate(45deg);
}

.mobile-toggle.menu-open::after {
  top: 20px;
  transform: translateX(-50%) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  top: 74px;
  left: 16px;
  right: 16px;
  display: none;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .14);
  backdrop-filter: blur(18px);
  padding: 10px;
  overflow: hidden;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 16px;
  font-weight: 900;
  color: #111;
}

.mobile-menu a:hover {
  background: rgba(0, 0, 0, .05);
}

/* =========================
   Hero
========================= */

.hero {
  padding: 120px 0 72px;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #75cce0 0%, #bdeaf3 34%, #f7fbfb 62%, #fff5e7 82%, #ffd9a5 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, .55), transparent 32%),
    radial-gradient(circle at 50% 74%, rgba(255, 245, 226, .75), transparent 38%);
}

.hero .container {
  position: relative;
  z-index: 3;
}

/* =========================
   Hero Abstract Wave Pattern
========================= */

.hero-pattern {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 46%;
  z-index: 1;
  pointer-events: none;
  opacity: .92;
  overflow: hidden;
  mask-image: linear-gradient(to top, #000 10%, rgba(0, 0, 0, .92) 66%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, #000 10%, rgba(0, 0, 0, .92) 66%, transparent 100%);
}

.hero-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, .08) 38%,
    rgba(255, 255, 255, .18) 100%
  );
}

.abstract-wave-svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 100%;
  transform: none;
  overflow: visible;
}

.hero-pattern svg {
  display: block;
  min-width: 100%;
}

.abstract-wave {
  mix-blend-mode: screen;
}

.abstract-wave-a {
  fill: rgba(255, 255, 255, .28);
}

.abstract-wave-b {
  fill: rgba(255, 255, 255, .18);
}

.abstract-wave-c {
  fill: rgba(255, 255, 255, .34);
}

.abstract-wave-d {
  fill: rgba(17, 24, 39, .055);
}

.abstract-wave-e {
  fill: rgba(255, 255, 255, .13);
}

.super-pill {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-height: 52px;
  padding: 5px 8px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, .36);
  border: 1px solid rgba(255, 255, 255, .66);
  backdrop-filter: blur(14px);
  margin-bottom: 28px;
}

.new-badge {
  order: 1;
  background: linear-gradient(135deg, #ffefe4, #ff8f53);
  padding: 8px 14px;
  border-radius: var(--pill);
  font-weight: 900;
  color: #151515;
}

.pill-text {
  order: 2;
  font-weight: 800;
}

.arrow {
  order: 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  transform: rotate(180deg);
}

h1 {
  margin: 0 auto;
  max-width: 1000px;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -1.1px;
  font-weight: 800;
  color: #050505;
  text-wrap: balance;
}

.hero-subtitle {
  max-width: 790px;
  margin: 24px auto 38px;
  color: #101828;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, .52);
  border: 1px solid rgba(255, 255, 255, .58);
  font-weight: 800;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
}

/* توهج ونبض النقطة الخضراء */
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;

  box-shadow:
    0 0 0 6px rgba(34, 197, 94, .12),
    0 0 14px rgba(34, 197, 94, .75);

  animation: greenPulse 1.6s ease-in-out infinite;
}

/* حركة التوهج */
@keyframes greenPulse {
  0%, 100% {
    box-shadow:
      0 0 0 6px rgba(34, 197, 94, .12),
      0 0 10px rgba(34, 197, 94, .55);
    transform: scale(1);
  }

  50% {
    box-shadow:
      0 0 0 9px rgba(34, 197, 94, .20),
      0 0 24px rgba(34, 197, 94, .95);
    transform: scale(1.08);
  }
}

/* =========================
   Prompt Card
========================= */

.prompt-card {
  width: min(800px, 100%);
  margin: 0 auto;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 32px;
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: right;
}

.prompt-card textarea {
  width: 100%;
  border: 0;
  outline: 0;
  resize: none;
  min-height: 122px;
  padding: 28px 28px 12px;
  background: transparent;
  font-size: 17px;
  line-height: 1.8;
}

/* =========================
   AI Chat Conversation UI
========================= */

.chat-box {
  min-height: 150px;
  max-height: 280px;
  overflow-y: auto;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.chat-placeholder {
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
}

.chat-message {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 18px;
  line-height: 1.8;
  font-size: 15px;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.chat-message.user {
  align-self: flex-end;
  background: var(--lime);
  color: #111827;
  border: 1px solid var(--lime-border);
  border-bottom-right-radius: 6px;
}

.chat-message.bot {
  align-self: flex-start;
  background: rgba(15, 23, 42, .06);
  color: #111827;
  border: 1px solid rgba(15, 23, 42, .08);
  border-bottom-left-radius: 6px;
}

.chat-input {
  width: calc(100% - 32px) !important;
  margin: 0 16px 12px !important;
  min-height: 52px !important;
  max-height: 90px;
  resize: vertical !important;
  border-radius: 18px !important;
  padding: 13px 16px !important;
  background: rgba(248, 250, 252, .92) !important;
  border: 1px solid rgba(15, 23, 42, .10) !important;
}

html[dir="rtl"] .chat-message.user {
  align-self: flex-start;
  border-bottom-right-radius: 18px;
  border-bottom-left-radius: 6px;
}

html[dir="rtl"] .chat-message.bot {
  align-self: flex-end;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 6px;
}

body.dark-mode .chat-placeholder {
  color: #b7bfca;
}

body.dark-mode .chat-message.user {
  background: var(--lime);
  border-color: var(--lime-border);
  color: #111827;
}

body.dark-mode .chat-message.bot {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .12);
  color: #fff8ec;
}

body.dark-mode .chat-input {
  background: rgba(25, 29, 32, .94) !important;
  color: var(--text) !important;
  border-color: rgba(255, 255, 255, .14) !important;
}

@media (max-width: 720px) {
  .chat-box {
    min-height: 145px;
    max-height: 260px;
    padding: 18px;
  }

  .chat-message {
    max-width: 90%;
  }

  .chat-input {
    width: calc(100% - 24px) !important;
    margin: 0 12px 12px !important;
  }
}

@media (max-width: 420px) {
  .chat-box {
    min-height: 140px;
    max-height: 240px;
    padding: 16px;
  }

  .chat-placeholder {
    font-size: 14px;
  }

  .chat-message {
    max-width: 94%;
    font-size: 14px;
    padding: 11px 14px;
  }

  .chat-input {
    min-height: 50px !important;
    font-size: 14px !important;
  }
}

.prompt-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 16px 20px;
}

.prompt-tools,
.prompt-submit {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: var(--pill);
  border: 1px solid rgba(15, 23, 42, .10);
  background: #f8fafc;
  color: #334155;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}

.voice-btn.is-listening {
  border-color: rgba(255, 99, 31, .5);
  background: rgba(255, 99, 31, .09);
}

.send-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

/* =========================
   Suggestions
========================= */

.suggestions {
  width: min(800px, 100%);
  margin: 34px auto 0;
}

.suggestions-title {
  font-size: 12px;
  color: #526071;
  letter-spacing: .3px;
  text-transform: uppercase;
  margin-bottom: 14px;
  direction: ltr;
}

.chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  direction: ltr;
}

.chip {
  border: 1px solid rgba(15, 23, 42, .14);
  background: rgba(255, 255, 255, .66);
  border-radius: var(--pill);
  padding: 10px 16px;
  font-weight: 800;
  cursor: pointer;
}

/* =========================
   Scroll Cue
========================= */

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 27px;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #111827;
  font-size: 13px;
  font-weight: 900;
  opacity: .72;
  display: none;
}

.mouse-icon {
  width: 28px;
  height: 44px;
  border: 2px solid rgba(17, 24, 39, .72);
  border-radius: 999px;
  position: relative;
}

/* حركة النقطة داخل الماوس */
.mouse-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;

  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: #111827;

  transform: translateX(-50%);
  animation: wheelMove 1.35s infinite;
}

/* تحريك نقطة الماوس من الأعلى للأسفل */
@keyframes wheelMove {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }

  35% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 16px);
  }
}

/* حركة السهم أسفل الماوس */
.scroll-cue .material-symbols-outlined {
  font-size: 22px;
  animation: downMove 1.35s infinite;
}

/* تحريك السهم نزولًا وصعودًا */
@keyframes downMove {
  0%, 100% {
    transform: translateY(0);
    opacity: .45;
  }

  50% {
    transform: translateY(5px);
    opacity: 1;
  }
}

/* =========================
   Sections / Cards
========================= */

.section {
  padding: 88px 0;
  background: rgba(255, 250, 242, .88);
}

.section:nth-of-type(even) {
  background: rgba(255, 255, 255, .86);
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 32px);
  line-height: 1.2;
  letter-spacing: -1.2px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

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

.card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
  min-height: 218px;
}

.card-icon {
  width: 100px;
  height: 100px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff1d4, #ffd7c5);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.card-icon img {
  width: 80px;
  height: 80px;
  display: block;
}

.card h3 {
  margin: 0 0 9px;
  font-size: 22px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 15px;
}

/* =========================
   Form
========================= */

.form-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 88px 0 110px;
  background: linear-gradient(
    180deg,
    #ff6a1a 0%,
    #ff7d27 32%,
    #ff9850 63%,
    #ffd0a0 100%
  );
}

.form-section::before,
.form-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.form-section::before {
  z-index: -2;
  background:
    radial-gradient(
      circle 760px at -70px 100%,
      rgba(255, 224, 184, .64) 0 56%,
      transparent 56.18%
    ),
    radial-gradient(
      circle 950px at 48% 118%,
      rgba(255, 214, 174, .48) 0 59%,
      transparent 59.18%
    ),
    radial-gradient(
      circle 1180px at 91% 112%,
      rgba(255, 225, 194, .54) 0 62%,
      transparent 62.18%
    ),
    radial-gradient(
      circle 760px at 66% -42%,
      rgba(255, 81, 17, .42) 0 58%,
      transparent 58.2%
    ),
    linear-gradient(
      180deg,
      #ff6215 0%,
      #ff812b 38%,
      #ffa464 70%,
      #ffd0a0 100%
    );

  transform: translate3d(0, 0, 0) scale(1.015);
  animation: orangeArcsFloat 20s ease-in-out infinite alternate;
}

.form-section::after {
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, .06),
      transparent 28%,
      rgba(255, 255, 255, .08) 76%,
      transparent
    ),
    radial-gradient(
      circle 980px at 100% -15%,
      rgba(255, 213, 168, .24) 0 52%,
      transparent 52.2%
    );

  opacity: .78;
  animation: orangeArcsLight 24s ease-in-out infinite alternate;
}

@keyframes orangeArcsFloat {
  0% {
    transform: translate3d(-.9%, -.45%, 0) scale(1.015);
  }

  50% {
    transform: translate3d(.75%, .35%, 0) scale(1.03);
  }

  100% {
    transform: translate3d(1.2%, -.55%, 0) scale(1.02);
  }
}

@keyframes orangeArcsLight {
  0% {
    transform: translate3d(1%, 0, 0) scale(1.01);
    opacity: .62;
  }

  100% {
    transform: translate3d(-1%, .7%, 0) scale(1.025);
    opacity: .86;
  }
}

.form-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
}

.offer {
  position: relative;
  z-index: 2;
  background: rgba(17, 17, 17, .88);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 34px;
  padding: 36px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.offer h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 31px);
  line-height: 1.25;
}

.offer p {
  color: rgba(255, 255, 255, .72);
  line-height: 1.9;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.check-list li {
  display: flex;
  gap: 10px;
  margin-bottom: 13px;
  color: rgba(255, 255, 255, .84);
  line-height: 1.8;
}

.check-list li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  background: var(--lime);
  color: #111;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-top: 5px;
}

.lead-form {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 34px;
  padding: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.lead-form h2 {
  margin: 0 0 8px;
  font-size: 32px;
}

.lead-form p {
  margin: 0 0 20px;
  color: var(--muted);
}

.fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, .13);
  background: #fbfbfb;
  border-radius: 16px;
  padding: 12px 14px;
  min-height: 48px;
  outline: none;
  font-size: 14px;
}

input:focus,
select:focus,
textarea:focus {
  background: #fff;
  border-color: #71bfd0;
  box-shadow: 0 0 0 4px rgba(120, 199, 216, .22);
}

textarea {
  min-height: 112px;
  resize: vertical;
}

.meet-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid rgba(15, 23, 42, .13);
  background: #fbfbfb;
  border-radius: 16px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 800;
}

.meet-option input {
  width: 18px;
  height: 18px;
  min-height: auto;
  accent-color: var(--orange);
}

.meet-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.meet-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.meet-schedule {
  grid-column: 1 / -1;
  display: none;
  border: 1px solid rgba(15, 23, 42, .10);
  background: linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(248, 250, 252, .92));
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
}

.meet-schedule.show {
  display: block;
}

.meet-schedule-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.meet-schedule-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.meet-schedule-title .material-symbols-outlined {
  font-size: 20px;
  color: var(--orange);
}

.meet-schedule-note {
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
}

.meet-schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.submit {
  width: 100%;
  margin-top: 16px;
}

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

/* =========================
   Footer
========================= */

footer {
  background: rgba(255, 247, 237, .9);
  padding: 28px 0 46px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* =========================
   Dark Mode
========================= */

body.dark-mode {
  --text: #f7f7f2;
  --muted: #b7bfca;
  --line: rgba(255, 255, 255, .16);

  background: #101315;
  color: var(--text);
}

body.dark-mode .hero {
  background: linear-gradient(180deg, #123540 0%, #10252d 34%, #101315 68%, #1b130c 100%);
}

body.dark-mode .hero::after {
  background:
    radial-gradient(circle at 50% 18%, rgba(120, 199, 216, .14), transparent 32%),
    radial-gradient(circle at 84% 12%, rgba(255, 91, 33, .10), transparent 24%);
}

/* Hero dark background: تقليل إضاءة أعلى الهيرو */
body.dark-mode .hero {
  background:
    linear-gradient(180deg, #0f3440 0%, #10272f 28%, #101719 60%, #17100b 100%);
}

/* إضاءة ناعمة مثل الصورة */
body.dark-mode .hero::after {
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 248, 236, .13), transparent 22%),
    radial-gradient(circle at 50% 78%, rgba(255, 125, 45, .09), transparent 30%);
}

/* الدوائر المجوفة 3D */


/* Hero pattern in dark mode */
body.dark-mode .hero-pattern {
  opacity: .5;
}

body.dark-mode .hero-pattern::before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 99, 31, .045) 45%,
    rgba(255, 99, 31, .10) 100%
  );
}

body.dark-mode .abstract-wave-a {
  fill: rgba(255, 248, 236, .13);
}

body.dark-mode .abstract-wave-b {
  fill: rgba(255, 99, 31, .10);
}

body.dark-mode .abstract-wave-c {
  fill: rgba(255, 248, 236, .16);
}

body.dark-mode .abstract-wave-d {
  fill: rgba(120, 199, 216, .07);
}

body.dark-mode .abstract-wave-e {
  fill: rgba(255, 248, 236, .08);
}

/* Navbar */
body.dark-mode .navbar {
  background: rgba(28, 34, 38, .92);
  border-color: rgba(255, 255, 255, .12);
  color: var(--text);
}

body.dark-mode .brand,
body.dark-mode .nav-link {
  color: var(--text);
}

body.dark-mode .brand-icon .material-symbols-outlined {
  color: #fff8ec;
}

.nav-tool,
.nav-tool .material-symbols-outlined {
  transition: .25s ease;
}

body.dark-mode .navbar .nav-tool,
body.dark-mode .navbar .nav-tool .material-symbols-outlined {
  color: #fff8ec;
}

.nav-tool:hover,
.nav-tool:hover .material-symbols-outlined,
body.dark-mode .navbar .nav-tool:hover,
body.dark-mode .navbar .nav-tool:hover .material-symbols-outlined {
  color: #ff631f;
}

body.dark-mode .navbar .nav-tool:hover {
  background: rgba(255, 99, 31, .08);
}

/* Mobile Menu */
body.dark-mode .mobile-menu {
  background: rgba(28, 34, 38, .94);
  border-color: rgba(255, 255, 255, .12);
}

body.dark-mode .mobile-menu a {
  color: #fff8ec;
}

body.dark-mode .mobile-menu a:hover {
  background: rgba(255, 248, 236, .08);
}

body.dark-mode .mobile-toggle {
  background: rgba(255, 248, 236, .08);
  border-color: rgba(255, 248, 236, .18);
}

body.dark-mode .mobile-toggle::before,
body.dark-mode .mobile-toggle::after {
  background: #fff8ec;
}

body.dark-mode .mobile-toggle:hover {
  background: rgba(255, 248, 236, .14);
}

/* Hero Text */
body.dark-mode h1,
body.dark-mode .hero-subtitle,
body.dark-mode .pill-text {
  color: var(--text);
}

/* Prompt / Cards / Form */
body.dark-mode .prompt-card,
body.dark-mode .card,
body.dark-mode .lead-form {
  background: rgba(28, 34, 38, .92);
  border-color: rgba(255, 255, 255, .12);
  color: var(--text);
}

body.dark-mode .tool-chip,
body.dark-mode .chip {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .14);
  color: var(--text);
}

/* Scroll Cue */
body.dark-mode .scroll-cue {
  color: #fff8ec;
}

body.dark-mode .mouse-icon {
  border-color: rgba(255, 248, 236, .78);
  background: rgba(255, 248, 236, .08);
}

body.dark-mode .mouse-icon::after {
  background: #fff8ec;
}

/* Sections */
body.dark-mode .section,
body.dark-mode footer {
  background: #141719;
}

body.dark-mode .section:nth-of-type(even) {
  background: #101315;
}

/* Start section dark pattern in dark mode */
body.dark-mode .form-section {
  background: linear-gradient(
    180deg,
    #111817 0%,
    #1c211f 30%,
    #2d2723 62%,
    #4a3a32 100%
  );
}

body.dark-mode .form-section::before {
  opacity: 1;
  background:
    radial-gradient(
      circle 760px at -70px 100%,
      rgba(105, 78, 64, .58) 0 56%,
      transparent 56.18%
    ),
    radial-gradient(
      circle 950px at 48% 118%,
      rgba(91, 67, 56, .48) 0 59%,
      transparent 59.18%
    ),
    radial-gradient(
      circle 1180px at 91% 112%,
      rgba(80, 64, 56, .52) 0 62%,
      transparent 62.18%
    ),
    radial-gradient(
      circle 760px at 66% -42%,
      rgba(42, 50, 48, .84) 0 58%,
      transparent 58.2%
    ),
    linear-gradient(
      180deg,
      #121a19 0%,
      #202523 36%,
      #332b26 70%,
      #4b3a32 100%
    );
}

body.dark-mode .form-section::after {
  opacity: .76;
  background:
    linear-gradient(
      90deg,
      rgba(255, 248, 236, .035),
      transparent 28%,
      rgba(255, 248, 236, .045) 76%,
      transparent
    ),
    radial-gradient(
      circle 980px at 100% -15%,
      rgba(70, 79, 75, .28) 0 52%,
      transparent 52.2%
    );
}

body.dark-mode .offer {
  background: rgba(18, 17, 15, .86);
  border-color: rgba(255, 248, 236, .10);
}

body.dark-mode .lead-form {
  background: rgba(28, 34, 38, .90);
  border-color: rgba(255, 248, 236, .12);
}

/* Inputs */
body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
  background: #191d20;
  color: var(--text);
  border-color: rgba(255, 255, 255, .14);
}

body.dark-mode .meet-option {
  background: #191d20;
  color: var(--text);
  border-color: rgba(255, 255, 255, .14);
}

body.dark-mode .meet-schedule {
  background: linear-gradient(180deg, rgba(25, 29, 32, .94), rgba(20, 23, 25, .94));
  border-color: rgba(255, 255, 255, .12);
}

body.dark-mode .meet-schedule input,
body.dark-mode .meet-schedule select {
  background: #191d20;
  color: var(--text);
  border-color: rgba(255, 255, 255, .14);
}

/* =========================
   Responsive
========================= */

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

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

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

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

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .nav-shell {
    top: 10px;
    padding: 0 10px;
  }

  .navbar {
    min-height: 56px;
    padding: 7px 8px;
    gap: 8px;
  }

  .brand {
    font-size: 17px;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
  }

  .nav-actions .btn-lime {
    display: none;
  }

  .hero {
    padding: 94px 0 112px;
    min-height: 100svh;
  }

  .hero-pattern {
    height: 38%;
    opacity: .72;
  }

  h1 {
    font-size: clamp(24px, 7.2vw, 32px);
  }

  .hero-subtitle {
    font-size: 14.5px;
  }

  .prompt-footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .prompt-tools,
  .prompt-submit {
    justify-content: center;
    flex-wrap: wrap;
  }

  .cards,
  .fields,
  .meet-schedule-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .offer,
  .lead-form {
    border-radius: 24px;
    padding: 22px;
  }

  .section,
  .form-section {
    padding: 62px 0;
  }

  .form-section::before,
  .form-section::after {
    inset: 0;
  }
}

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

  .super-pill {
    display: none;
  }

  .suggestions {
    display: none;
  }

  .hero-pattern {
    height: 34%;
  }

  h1 {
    font-size: clamp(21px, 6.7vw, 28px);
  }
}

/* =========================
   Default Theme: Light Mode
   الديفولت لايت
========================= */

/*
  الوضع الافتراضي هو Light.
  الدارك لا يعمل إلا إذا كان body يحتوي على class="dark-mode".
*/

body:not(.dark-mode) {
  --text: #111827;
  --muted: #5d6675;
  --line: rgba(15, 23, 42, .11);
  background: #fffaf2;
  color: var(--text);
}

body:not(.dark-mode) .navbar {
  background: rgba(255, 255, 255, .86);
  border-color: var(--line);
  color: #111827;
}

body:not(.dark-mode) .brand,
body:not(.dark-mode) .nav-link,
body:not(.dark-mode) .nav-tool,
body:not(.dark-mode) .nav-tool .material-symbols-outlined {
  color: #111827;
}

body:not(.dark-mode) .hero {
  background: linear-gradient(
    180deg,
    #75cce0 0%,
    #bdeaf3 34%,
    #f7fbfb 62%,
    #fff5e7 82%,
    #ffd9a5 100%
  );
}

body:not(.dark-mode) .hero::after {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, .55), transparent 32%),
    radial-gradient(circle at 50% 74%, rgba(255, 245, 226, .75), transparent 38%);
}

body:not(.dark-mode) h1,
body:not(.dark-mode) .hero-subtitle,
body:not(.dark-mode) .pill-text {
  color: #111827;
}

body:not(.dark-mode) .prompt-card,
body:not(.dark-mode) .card,
body:not(.dark-mode) .lead-form {
  background: rgba(255, 255, 255, .92);
  border-color: rgba(15, 23, 42, .10);
  color: #111827;
}

body:not(.dark-mode) input,
body:not(.dark-mode) select,
body:not(.dark-mode) textarea,
body:not(.dark-mode) .meet-option {
  background: #fbfbfb;
  color: #111827;
  border-color: rgba(15, 23, 42, .13);
}

body:not(.dark-mode) .section {
  background: rgba(255, 250, 242, .88);
}

body:not(.dark-mode) .section:nth-of-type(even) {
  background: rgba(255, 255, 255, .86);
}

body:not(.dark-mode) footer {
  background: rgba(255, 247, 237, .9);
}

/* تطبيق الخط العربي على كامل الموقع */
html[dir="rtl"],
html[dir="rtl"] body,
html[dir="rtl"] body * {
  font-family: var(--font-ar) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

/* الحفاظ على أيقونات Material Symbols */
html[dir="rtl"] .material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
  font-weight: normal !important;
}

html[dir="rtl"] .arrow {
  transform: rotate(360deg);
}

/* =========================
   Success Popup
   نافذة نجاح الإرسال
========================= */

.success-popup {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;

  display: none !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100vw !important;
  min-height: 100vh !important;
  padding: 20px !important;

  background: rgba(15, 23, 42, .42) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  overflow-y: auto;
}

.success-popup.show {
  display: flex !important;
}

.success-popup-card {
  width: min(420px, calc(100vw - 32px)) !important;
  max-height: calc(100vh - 40px);
  overflow-y: auto;

  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 32px;
  padding: 34px 28px;

  text-align: center;
  box-shadow: 0 28px 90px rgba(15, 23, 42, .22);
  animation: popupIn .28s ease both;
}

.success-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  border-radius: 50%;

  background: #ecff64;
  border: 1.5px solid #b8dd00;
  color: #111;

  display: grid;
  place-items: center;

  box-shadow: 0 14px 34px rgba(184, 221, 0, .26);
}

.success-icon .material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
  font-size: 42px !important;
  font-weight: normal !important;
  line-height: 1 !important;
  color: #111 !important;
}

.success-popup-card h3 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.4;
  color: #111827;
}

.success-popup-card p {
  margin: 0 0 24px;
  color: #5d6675;
  line-height: 1.8;
}

.success-popup-card .btn {
  min-width: 110px;
}

@keyframes popupIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Dark Mode Popup */
body.dark-mode .success-popup {
  background: rgba(0, 0, 0, .58) !important;
}

body.dark-mode .success-popup-card {
  background: rgba(28, 34, 38, .96);
  border-color: rgba(255, 255, 255, .12);
}

body.dark-mode .success-popup-card h3 {
  color: #fff8ec;
}

body.dark-mode .success-popup-card p {
  color: #b7bfca;
}

/* Success Popup Responsive */
@media (max-width: 720px) {
  .success-popup {
    padding: 16px !important;
    align-items: center !important;
  }

  .success-popup-card {
    width: min(420px, calc(100vw - 28px)) !important;
    border-radius: 28px;
    padding: 30px 22px;
  }
}

@media (max-width: 420px) {
  .success-popup {
    padding: 14px !important;
  }

  .success-popup-card {
    width: calc(100vw - 28px) !important;
    border-radius: 24px;
    padding: 28px 20px;
  }

  .success-icon {
    width: 64px;
    height: 64px;
  }

  .success-icon .material-symbols-outlined {
    font-size: 36px !important;
  }

  .success-popup-card h3 {
    font-size: 22px;
  }

  .success-popup-card p {
    font-size: 14px;
  }
}


/* =========================
   AI Chat Fixes
   إزالة البلِيس هولدر العلوي ومنع تمدد الشات
========================= */

/* إخفاء البلِيس هولدر العلوي داخل صندوق المحادثة */
.chat-placeholder {
  display: none !important;
}

/* إخفاء مساحة المحادثة إذا ما فيها رسائل */
.chat-box {
  display: none;
  min-height: auto;
  max-height: 220px;
  overflow-y: auto;
  padding: 18px;
}

/* إظهار المحادثة فقط بعد وجود رسائل */
.prompt-card.has-chat .chat-box {
  display: flex;
}

/* منع تمدد صندوق المساعد بشكل مبالغ */
.prompt-card {
  max-height: 520px;
}

/* تثبيت صندوق المحادثة ومنع دفع العناصر */
.chat-message {
  max-width: 86%;
}

/* تحسين خانة الكتابة */
.chat-input {
  min-height: 64px !important;
  max-height: 96px !important;
}

/* إخفاء أيقونة الفارة بعد بدء المحادثة */
body.chat-started .scroll-cue {
  display: none !important;
}

@media (max-width: 720px) {
  .chat-box {
    max-height: 200px;
  }

  .prompt-card {
    max-height: 500px;
  }
}

@media (max-width: 420px) {
  .chat-box {
    max-height: 180px;
  }

  .prompt-card {
    max-height: 480px;
  }

  .chat-message {
    max-width: 94%;
  }
}

/* =========================
   AI Prompt Card Spacing Fix
========================= */

.prompt-card:not(.has-chat) {
  padding-top: 26px !important;
}

.prompt-card:not(.has-chat) .chat-input {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  min-height: 112px !important;
}

.prompt-card:not(.has-chat) .prompt-footer {
  padding-top: 0 !important;
}

@media (max-width: 720px) {
  .prompt-card:not(.has-chat) {
    padding-top: 20px !important;
  }

  .prompt-card:not(.has-chat) .chat-input {
    min-height: 100px !important;
  }
}


/* =========================
   AI Typing Indicator
========================= */

.chat-message.typing {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 82%;
  background: rgba(15, 23, 42, .06);
  color: #5d6675;
  border: 1px solid rgba(15, 23, 42, .08);
}

.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: .35;
  animation: typingDot 1s infinite ease-in-out;
}

.typing-dots span:nth-child(2) {
  animation-delay: .15s;
}

.typing-dots span:nth-child(3) {
  animation-delay: .3s;
}

@keyframes typingDot {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: .35;
  }

  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

body.dark-mode .chat-message.typing {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .12);
  color: #b7bfca;
}

/* Cloudflare Turnstile */

.field .full .turnstile-field{
    justify-items: center;
}
