:root {
  --bg: #fbf9ff;
  --surface: #ffffff;
  --surface-soft: #f6f1ff;
  --ink: #191326;
  --muted: #6c6478;
  --muted-strong: #4e465d;
  --line: #e7dff4;
  --primary: #6d35f2;
  --primary-deep: #3e1c92;
  --magenta: #dc2f90;
  --teal: #079c8b;
  --amber: #c98314;
  --shadow-sm: 0 12px 36px rgba(34, 22, 64, 0.08);
  --shadow: 0 24px 70px rgba(34, 22, 64, 0.14);
  --radius: 10px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(220, 47, 144, 0.08), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(109, 53, 242, 0.10), transparent 28%),
    var(--bg);
  line-height: 1.85;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
  font-family: "Cairo", Arial, sans-serif;
}

img,
video {
  display: block;
  max-width: 100%;
}

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

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

.section {
  padding: 104px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 255, 0.9);
  border-bottom: 1px solid rgba(231, 223, 244, 0.78);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 14px 38px rgba(34, 22, 64, 0.08);
}

.header-inner,
.footer-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--magenta));
  box-shadow: 0 14px 34px rgba(109, 53, 242, 0.26);
}

.brand-mark img {
  width: 29px;
  height: auto;
}

.brand-name {
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted-strong);
  font-size: 0.96rem;
  font-weight: 700;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -10px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--magenta));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 12px 24px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--magenta));
  box-shadow: 0 18px 38px rgba(109, 53, 242, 0.27);
}

.btn-secondary {
  color: var(--primary-deep);
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 10px 26px rgba(34, 22, 64, 0.06);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 104px;
}

.hero::before,
.system::before {
  content: "";
  position: absolute;
  inset-inline-start: -16%;
  top: 10%;
  width: 50%;
  height: 66%;
  background:
    linear-gradient(rgba(109, 53, 242, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 53, 242, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  transform: rotate(8deg);
  pointer-events: none;
}

.hero-grid,
.split,
.diagnosis-grid,
.strategist-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 64px;
  align-items: center;
}

.hero-copy,
.hero-media,
.section-copy,
.section-heading,
.leak-grid,
.comparison,
.system-orbit,
.cap-grid,
.persona-grid,
.timeline,
.case-grid,
.fit-grid,
.objection-grid,
.lead-form,
.faq-list {
  position: relative;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 5.4vw, 4.9rem);
  line-height: 1.17;
  max-width: 800px;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.85rem, 3.4vw, 3.2rem);
  line-height: 1.32;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.45;
}

p {
  color: var(--muted);
}

.hero-lead {
  max-width: 700px;
  color: var(--muted-strong);
  font-size: 1.15rem;
}

.hero-actions,
.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin: 34px 0 30px;
}

.section-cta {
  justify-content: center;
  margin-top: 38px;
}

.hero-signal {
  max-width: 680px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-sm);
}

.hero-signal span,
.hero-signal strong {
  display: block;
}

.hero-signal span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-signal strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.hero-media {
  align-self: stretch;
}

.hero-video {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border-radius: 18px;
  object-fit: cover;
  background: #ece5fb;
  border: 1px solid rgba(231, 223, 244, 0.92);
  box-shadow: var(--shadow);
}

.video-caption {
  position: absolute;
  inset-inline: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, rgba(25, 19, 38, 0.88), rgba(109, 53, 242, 0.76));
  backdrop-filter: blur(10px);
}

.video-caption span,
.video-caption strong {
  display: block;
}

.video-caption span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.cred-strip {
  padding: 28px 0;
  background: #fff;
  border-block: 1px solid var(--line);
}

.cred-grid,
.leak-grid,
.comparison,
.system-orbit,
.cap-grid,
.persona-grid,
.timeline,
.case-grid,
.fit-grid,
.objection-grid,
.faq-list {
  display: grid;
  gap: 18px;
}

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

.cred-grid div {
  padding-inline-start: 20px;
  border-inline-start: 3px solid var(--primary);
}

.cred-grid strong,
.cred-grid span {
  display: block;
}

.cred-grid span {
  color: var(--muted);
  font-size: 0.96rem;
}

.problem,
.capabilities,
.engagement,
.fit,
.faq {
  background: #fff;
}

.section-copy p,
.section-heading p,
.diagnosis-copy p {
  font-size: 1.07rem;
}

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

.leak-grid article,
.comparison-card,
.system-orbit article,
.cap-grid article,
.persona-grid article,
.timeline article,
.case-card,
.fit-card,
.objection-grid article,
.lead-form,
.faq details,
.diagnosis-note,
.system-spine,
.dash-window {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.leak-grid article {
  padding: 24px;
}

.leak-grid span,
.timeline span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--magenta));
  font-weight: 800;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 46px;
}

.section-heading.centered {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

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

.comparison-card {
  padding: 32px;
}

.muted-card {
  background: linear-gradient(180deg, #fff, #fff8fc);
}

.system-card {
  border-color: rgba(7, 156, 139, 0.36);
  background: linear-gradient(180deg, #fff, #effffb);
}

ul {
  margin: 0;
  padding: 0 22px 0 0;
}

li {
  margin-bottom: 9px;
  color: var(--muted);
}

.system {
  position: relative;
  overflow: hidden;
}

.system-orbit {
  grid-template-columns: repeat(5, 1fr);
}

.system-orbit article {
  min-height: 250px;
  padding: 26px 22px;
}

.system-orbit span,
.cap-grid span,
.case-card .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.system-orbit span {
  min-height: 32px;
  padding: 0 12px;
  color: #fff;
  background: var(--primary);
}

.system-spine {
  max-width: 940px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 24px auto 0;
  padding: 18px 22px;
  background: linear-gradient(135deg, #fff, var(--surface-soft));
}

.system-spine strong {
  color: var(--primary-deep);
  white-space: nowrap;
}

.system-spine span {
  color: var(--muted-strong);
}

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

.cap-grid article,
.persona-grid article,
.timeline article,
.case-card,
.fit-card,
.objection-grid article {
  padding: 26px;
}

.cap-grid span {
  min-width: 56px;
  height: 34px;
  padding: 0 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--magenta));
}

.cap-grid article:nth-child(2) span,
.cap-grid article:nth-child(5) span {
  background: linear-gradient(135deg, var(--teal), var(--primary));
}

.cap-grid article:nth-child(3) span,
.cap-grid article:nth-child(6) span {
  background: linear-gradient(135deg, var(--amber), var(--magenta));
}

.persona-grid {
  grid-template-columns: repeat(5, 1fr);
}

.engagement {
  background:
    linear-gradient(rgba(109, 53, 242, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 53, 242, 0.05) 1px, transparent 1px),
    #fff;
  background-size: 32px 32px;
}

.timeline {
  grid-template-columns: repeat(4, 1fr);
}

.timeline span {
  background: var(--teal);
}

.proof {
  background: linear-gradient(180deg, var(--bg), #fff);
}

.case-grid {
  grid-template-columns: 1.35fr 0.825fr 0.825fr;
}

.primary-case {
  background: linear-gradient(135deg, #fff, var(--surface-soft));
}

.case-card .tag {
  padding: 6px 12px;
  color: var(--primary-deep);
  background: rgba(109, 53, 242, 0.1);
}

.case-card strong {
  color: var(--ink);
}

.measurement {
  background: #fff;
}

.reverse {
  grid-template-columns: 0.92fr 1.08fr;
}

.dash-window {
  overflow: hidden;
  padding: 24px;
}

.dash-top {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.dash-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--line);
}

.dash-bars {
  height: 250px;
  display: flex;
  align-items: end;
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(109, 53, 242, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 53, 242, 0.08) 1px, transparent 1px),
    #fbfaff;
  background-size: 28px 28px;
}

.dash-bars span {
  flex: 1;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, var(--magenta), var(--primary));
}

.dash-bars span:nth-child(1) { height: 34%; }
.dash-bars span:nth-child(2) { height: 52%; background: linear-gradient(180deg, var(--teal), var(--primary)); }
.dash-bars span:nth-child(3) { height: 43%; }
.dash-bars span:nth-child(4) { height: 72%; background: linear-gradient(180deg, var(--amber), var(--magenta)); }
.dash-bars span:nth-child(5) { height: 86%; }

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

.dash-kpis div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.dash-kpis strong,
.dash-kpis small {
  display: block;
}

.dash-kpis small {
  color: var(--muted);
}

.check-list li::marker {
  color: var(--teal);
}

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

.fit-card.yes {
  border-color: rgba(7, 156, 139, 0.36);
}

.fit-card.no {
  border-color: rgba(220, 47, 144, 0.28);
}

.strategist {
  background: linear-gradient(180deg, #fff, var(--bg));
}

.strategist-image {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.strategist-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
}

.method-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}

.method-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

.objections {
  background: #fff;
}

.objection-grid {
  grid-template-columns: repeat(4, 1fr);
}

.diagnosis {
  background:
    linear-gradient(135deg, rgba(109, 53, 242, 0.10), rgba(220, 47, 144, 0.08) 48%, rgba(7, 156, 139, 0.08)),
    #fff;
}

.diagnosis-grid {
  align-items: start;
}

.diagnosis-note {
  margin-top: 28px;
  padding: 22px;
}

.diagnosis-note strong,
.diagnosis-note span {
  display: block;
}

.diagnosis-note strong {
  color: var(--primary-deep);
}

.diagnosis-note span {
  color: var(--muted);
}

.lead-form {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 30px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full,
.form-status,
.form-submit,
.form-note {
  grid-column: 1 / -1;
}

label {
  color: var(--ink);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fbfaff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(109, 53, 242, 0.12);
}

.hidden-field {
  position: absolute;
  inset-inline-start: -9999px;
}

.form-status {
  display: none;
  padding: 13px 15px;
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--primary-deep);
  font-weight: 800;
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  color: #087567;
  background: #eafff9;
}

.form-status.error {
  color: #9b1e60;
  background: #fff0f7;
}

.form-submit {
  width: 100%;
}

.form-note {
  margin: -2px 0 0;
  font-size: 0.92rem;
}

.faq details {
  padding: 20px 24px;
}

.faq summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  margin: 12px 0 0;
}

.site-footer {
  padding: 38px 0;
  color: #fff;
  background: #191326;
}

.footer-inner p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.mobile-sticky-cta {
  display: none;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .system-orbit,
  .persona-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cap-grid,
  .timeline,
  .case-grid,
  .objection-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 880px) {
  .container {
    width: min(100% - 30px, var(--max));
  }

  .section {
    padding: 72px 0;
  }

  .header-inner {
    min-height: 68px;
  }

  .nav-links,
  .header-cta {
    display: none;
  }

  .hero {
    padding: 58px 0 76px;
  }

  .hero-grid,
  .split,
  .diagnosis-grid,
  .strategist-grid,
  .reverse {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-video {
    min-height: 430px;
  }

  .cred-grid,
  .leak-grid,
  .comparison,
  .system-orbit,
  .cap-grid,
  .persona-grid,
  .timeline,
  .case-grid,
  .fit-grid,
  .objection-grid,
  .dash-kpis,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .system-spine {
    display: block;
  }

  .system-spine strong {
    display: block;
    margin-bottom: 6px;
    white-space: normal;
  }

  .mobile-sticky-cta {
    position: fixed;
    inset-inline: 14px;
    bottom: 14px;
    z-index: 60;
    min-height: 54px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--magenta));
    box-shadow: 0 18px 40px rgba(109, 53, 242, 0.32);
    font-weight: 800;
  }

  body {
    padding-bottom: 76px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .brand-name {
    font-size: 0.96rem;
  }

  h1 {
    font-size: 2.12rem;
  }

  h2 {
    font-size: 1.68rem;
  }

  .hero-lead,
  .section-copy p,
  .section-heading p,
  .diagnosis-copy p {
    font-size: 1rem;
  }

  .hero-actions .btn,
  .section-cta .btn {
    width: 100%;
  }

  .hero-video {
    min-height: 360px;
    border-radius: 14px;
  }

  .video-caption {
    inset-inline: 14px;
    bottom: 14px;
    align-items: flex-start;
    flex-direction: column;
  }

  .comparison-card,
  .lead-form,
  .dash-window,
  .cap-grid article,
  .persona-grid article,
  .timeline article,
  .case-card,
  .fit-card,
  .objection-grid article {
    padding: 22px;
  }
}
