:root {
  --kcw-bg: #f5fbff;
  --kcw-surface: #ffffff;
  --kcw-surface-blue: #e8f6ff;
  --kcw-primary: #1688f5;
  --kcw-primary-dark: #0756b8;
  --kcw-text: #0b1f3a;
  --kcw-muted: #667994;
  --kcw-border: rgba(19, 104, 188, 0.14);
  --kcw-shadow: 0 24px 70px rgba(14, 94, 168, 0.12);
  --kcw-radius: 28px;
  --kcw-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--kcw-text);
  background:
    radial-gradient(circle at 20% 5%, rgba(56, 189, 248, 0.22), transparent 34%),
    radial-gradient(circle at 85% 18%, rgba(14, 165, 233, 0.16), transparent 34%),
    var(--kcw-bg);
  line-height: 1.8;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--kcw-border);
}
.site-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-logo__fallback,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--kcw-text);
}
.site-logo__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #30c3ff, #086cf0);
  color: #fff;
  font-size: 28px;
  font-family: "Tajawal", sans-serif;
}
.site-logo__text { white-space: nowrap; }
.site-nav,
.footer-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--kcw-muted);
  font-weight: 700;
  font-size: 14px;
}
.site-nav a:hover,
.footer-nav a:hover { color: var(--kcw-primary); }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.site-header__toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--kcw-border);
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--kcw-primary), #0068ee);
  box-shadow: 0 18px 36px rgba(22, 136, 245, .25);
  border-color: transparent;
}
.btn--ghost { background: rgba(255, 255, 255, 0.82); color: var(--kcw-text); }
.btn--light { background: #fff; color: var(--kcw-primary-dark); }
.btn--large { min-height: 56px; padding-inline: 28px; }
.btn--full { width: 100%; }

.section { padding: 72px 0; }
.section--compact { padding: 54px 0; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(22, 136, 245, .09);
  color: var(--kcw-primary-dark);
  font-weight: 800;
  font-size: 13px;
}
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 34px; }
h1, h2, h3 {
  font-family: "Tajawal", "Cairo", sans-serif;
  line-height: 1.18;
  margin: 0;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(42px, 6vw, 76px); margin-top: 16px; }
h2 { font-size: clamp(30px, 4vw, 48px); margin-top: 14px; }
h3 { font-size: 22px; }
p { color: var(--kcw-muted); margin: 14px 0 0; }

.hero { padding: 82px 0 68px; overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 52px;
}
.hero__content p { max-width: 560px; font-size: 18px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  border: 1px solid var(--kcw-border);
  box-shadow: 0 12px 34px rgba(16, 97, 164, .08);
  font-weight: 700;
  color: var(--kcw-muted);
}
.hero__avatars { display: flex; }
.hero__avatars i {
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff;
  background: linear-gradient(135deg, #1d8fff, #c5eaff);
  margin-inline-start: -7px;
}
.hero__avatars i:first-child { margin-inline-start: 0; }
.hero__visual {
  position: relative;
  min-height: 590px;
  display: grid;
  place-items: center;
}
.hero__glow {
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(54, 190, 255, .28), transparent 67%);
  filter: blur(6px);
}
.hero__coach,
.hero__coach-placeholder {
  position: relative;
  z-index: 3;
  width: min(430px, 74vw);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 42% 42% 28% 28%;
  filter: drop-shadow(0 34px 64px rgba(12, 74, 125, .22));
}
.hero__coach-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #d9f2ff, #ffffff);
  color: var(--kcw-primary);
  font-size: 130px;
  font-weight: 900;
}
.orbit {
  position: absolute;
  border: 1px dashed rgba(22, 136, 245, .32);
  border-radius: 50%;
  animation: kcw-spin 28s linear infinite;
}
.orbit--outer { width: 560px; height: 560px; }
.orbit--inner { width: 430px; height: 430px; animation-direction: reverse; }
.orbit-pill {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--kcw-border);
  box-shadow: var(--kcw-shadow);
  font-weight: 800;
  color: var(--kcw-primary-dark);
  animation: kcw-float 4s ease-in-out infinite;
}
.orbit-pill--1 { top: 70px; right: 45px; }
.orbit-pill--2 { top: 90px; left: 30px; animation-delay: .4s; }
.orbit-pill--3 { right: 10px; bottom: 190px; animation-delay: .8s; }
.orbit-pill--4 { left: 12px; bottom: 205px; animation-delay: 1.2s; }
.orbit-pill--5 { bottom: 95px; right: 100px; animation-delay: 1.6s; }
.orbit-pill--6 { bottom: 70px; left: 130px; animation-delay: 2s; }

.split-card,
.calculator-shell,
.final-cta__card {
  border: 1px solid var(--kcw-border);
  border-radius: var(--kcw-radius);
  background: rgba(255,255,255,.86);
  box-shadow: var(--kcw-shadow);
}
.split-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  padding: 38px;
}
.value-list { display: grid; gap: 14px; }
.value-item {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, #f7fcff, #eaf7ff);
  border: 1px solid var(--kcw-border);
}
.value-item strong { display: block; font-size: 18px; }
.value-item span { color: var(--kcw-muted); }

.steps-grid,
.packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step-card,
.package-card,
.faq-item {
  background: rgba(255,255,255,.9);
  border: 1px solid var(--kcw-border);
  border-radius: 26px;
  box-shadow: 0 18px 48px rgba(19, 104, 188, .08);
}
.step-card { padding: 24px; }
.step-card span { color: var(--kcw-primary); font-weight: 900; }

.calculator-shell {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 28px;
  padding: 34px;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(230,246,255,.88));
}
.calculator-card {
  padding: 24px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--kcw-border);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
label { display: grid; gap: 7px; font-weight: 800; color: var(--kcw-text); }
input, select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--kcw-border);
  border-radius: 16px;
  padding: 0 14px;
  background: #f9fdff;
  color: var(--kcw-text);
}
.calculator-card .btn { margin-top: 18px; }
.calculator-result {
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  background: #eef8ff;
  border: 1px solid var(--kcw-border);
}
.calculator-result strong { color: var(--kcw-primary-dark); }

.gift-offer {
  max-width: 560px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #dff3ff, #fff);
  border: 1px solid var(--kcw-border);
  box-shadow: 0 14px 34px rgba(22,136,245,.1);
}
.gift-offer span { color: var(--kcw-primary); font-weight: 900; }
.gift-offer strong { font-size: 20px; }
.gift-offer em { color: var(--kcw-muted); font-style: normal; }
.packages-grid { grid-template-columns: repeat(3, 1fr); }
.package-card {
  position: relative;
  padding: 30px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.package-card:hover { transform: translateY(-6px); }
.package-card--featured {
  background: linear-gradient(180deg, #ffffff, #e7f6ff);
  border-color: rgba(22, 136, 245, .42);
  box-shadow: 0 28px 80px rgba(22, 136, 245, .18);
}
.package-card__badge {
  position: absolute;
  top: -16px;
  inset-inline-start: 26px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--kcw-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
.package-card__icon { font-size: 38px; }
.package-card__tag { display: block; color: var(--kcw-primary); font-weight: 900; margin-top: 8px; }
.package-card ul { padding: 0; margin: 20px 0; list-style: none; display: grid; gap: 10px; }
.package-card li::before { content: "✓"; color: var(--kcw-primary); font-weight: 900; margin-inline-end: 8px; }
.package-card__price { font-weight: 900; color: var(--kcw-primary-dark); margin-bottom: 14px; }
.currency-note { text-align: center; font-size: 14px; margin-top: 18px; }

.faq-list { max-width: 900px; margin: auto; display: grid; gap: 12px; }
.faq-item { padding: 0 20px; }
.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 900;
}
.faq-item p { padding-bottom: 18px; margin-top: 0; }
.final-cta__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 38px;
  background:
    radial-gradient(circle at 12% 20%, rgba(255,255,255,.55), transparent 22%),
    linear-gradient(135deg, #1688f5, #43c8ff);
  color: #fff;
}
.final-cta__card p,
.final-cta__card .section-eyebrow { color: rgba(255,255,255,.86); }
.final-cta__card .section-eyebrow { background: rgba(255,255,255,.14); }
.final-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer { padding: 34px 0; background: #f8fdff; border-top: 1px solid var(--kcw-border); }
.site-footer__inner { display: flex; justify-content: space-between; gap: 28px; align-items: flex-start; }
.site-footer__brand p { max-width: 520px; }
.site-footer__bottom { margin-top: 22px; color: var(--kcw-muted); font-size: 14px; }

.reveal-up,
.reveal-scale { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal-scale { transform: scale(.96); }
.is-visible { opacity: 1; transform: translateY(0) scale(1); }

@keyframes kcw-spin { to { transform: rotate(360deg); } }
@keyframes kcw-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 980px) {
  .site-header__toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border: 1px solid var(--kcw-border);
    border-radius: 14px;
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
  }
  .site-header__toggle span:not(.screen-reader-text) { width: 18px; height: 2px; background: var(--kcw-text); border-radius: 3px; }
  .site-header__nav {
    position: fixed;
    top: 78px;
    inset-inline: 16px;
    display: none;
    padding: 18px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--kcw-border);
    box-shadow: var(--kcw-shadow);
  }
  .site-header__nav.is-open { display: block; }
  .site-nav { display: grid; gap: 14px; }
  .site-header__actions { display: none; }
  .hero__grid,
  .split-card,
  .calculator-shell { grid-template-columns: 1fr; }
  .hero__grid { gap: 18px; }
  .hero__visual { min-height: 480px; order: -1; }
  .orbit--outer { width: 430px; height: 430px; }
  .orbit--inner { width: 340px; height: 340px; }
  .steps-grid,
  .packages-grid { grid-template-columns: 1fr; }
  .final-cta__card,
  .site-footer__inner { flex-direction: column; align-items: stretch; }
}

@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .hero { padding-top: 42px; }
  .hero__visual { min-height: 410px; }
  .orbit-pill { font-size: 12px; padding: 8px 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero__actions .btn,
  .final-cta__actions .btn { width: 100%; }
}
