:root {
  color-scheme: light;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  background: #0b0c10;
  color: #16212b;
  --page-padding: clamp(0.5rem, 2.5vw, 1.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: #fef9ff;
  background-image: radial-gradient(circle at top left, #f8d4ff 0%, transparent 60%),
    radial-gradient(circle at bottom right, #d2f3ff 0%, transparent 55%);
  background-repeat: no-repeat, no-repeat;
  background-position: top left, bottom right;
  background-size: auto, auto;
}

body.lang-ar {
  font-family: "Tajawal", "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  direction: rtl;
}

body.lang-en {
  direction: ltr;
}

body.lang-ar [data-lang="en"],
body.lang-en [data-lang="ar"] {
  display: none !important;
}

.page-wrap {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
}

.halo {
  position: absolute;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.6;
  z-index: -2;
}

.halo-one {
  background: linear-gradient(135deg, #f15bb5, #fee440);
  top: -18rem;
  left: -18rem;
}

.halo-two {
  background: linear-gradient(135deg, #00bbf9, #9b5de5);
  bottom: -20rem;
  right: -15rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem var(--page-padding);
  position: relative;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.15rem;
  color: #192f3d;
}

.brand img {
  width: auto;
  height: 52px;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(241, 91, 181, 0.35);
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-weight: 500;
  flex-wrap: wrap;
}

.topbar-nav a {
  text-decoration: none;
  color: rgba(25, 47, 61, 0.72);
  transition: color 180ms ease;
}

.topbar-nav a:hover {
  color: #192f3d;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language-switch {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(25, 47, 61, 0.12);
  box-shadow: 0 8px 20px rgba(24, 28, 51, 0.12);
}

.lang-btn {
  border: none;
  background: transparent;
  color: rgba(25, 47, 61, 0.7);
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.lang-btn.active {
  background: linear-gradient(135deg, #f15bb5, #9b5de5);
  color: #fff;
  box-shadow: 0 8px 20px rgba(155, 93, 229, 0.35);
}

.lang-btn:focus-visible {
  outline: 2px solid rgba(155, 93, 229, 0.45);
  outline-offset: 2px;
}

.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease;
  cursor: pointer;
}

.cta-primary {
  background: linear-gradient(135deg, #f15bb5, #9b5de5);
  color: #ffffff;
  box-shadow: 0 16px 35px rgba(155, 93, 229, 0.3);
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 40px rgba(155, 93, 229, 0.45);
}

.cta-secondary {
  border: 1px solid rgba(25, 47, 61, 0.1);
  color: #192f3d;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
}

.cta-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(25, 47, 61, 0.2);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
  padding: 0 var(--page-padding) 4.5rem;
}

.hero-copy h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  margin: 0.5rem 0 1.25rem;
  color: #192f3d;
}

.tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(155, 93, 229, 0.12);
  color: #9b5de5;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.lead {
  font-size: 1.1rem;
  max-width: 34rem;
  color: rgba(25, 47, 61, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 3rem;
}

.stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  color: #192f3d;
  font-size: 0.95rem;
}

.stats .number {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 600;
}

.stats .label {
  display: block;
  font-size: 0.9rem;
  opacity: 0.7;
}

.hero-preview {
  display: flex;
  justify-content: center;
}

.preview-card {
  width: min(420px, 100%);
  padding: 2.2rem;
  border-radius: 2rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.72));
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 70px rgba(24, 28, 51, 0.18);
}

.preview-header {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.signal {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f15bb5, #fee440);
  box-shadow: 0 0 0 4px rgba(241, 91, 181, 0.15);
  animation: pulse 3s infinite ease-in-out;
}

.signal:nth-child(2) {
  animation-delay: 0.6s;
}

.signal:nth-child(3) {
  animation-delay: 1.2s;
}

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

.preview-body h2 {
  margin: 0 0 0.75rem;
  font-size: 1.65rem;
  color: #192f3d;
}

.preview-body p {
  margin: 0 0 1.5rem;
  color: rgba(25, 47, 61, 0.72);
}

.preview-body li {
  align-items: center;
}

.preview-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.preview-body li {
  display: flex;
  gap: 0.75rem;
  color: rgba(25, 47, 61, 0.85);
}

.preview-body li::before {
  content: "✦";
  color: #f15bb5;
  font-size: 0.9rem;
}

.slider-section {
  padding: 4rem var(--page-padding) 6rem;
  position: relative;
}

.info-section,
.info-duo,
.values-section {
  padding: 3.5rem var(--page-padding);
}

.info-section .section-heading,
.values-section .section-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.info-card {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 55px rgba(24, 28, 51, 0.15);
  font-size: 1.05rem;
  color: rgba(25, 47, 61, 0.85);
  line-height: 1.8;
}

.info-card p + p {
  margin-top: 1.25rem;
}

.info-card h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0 0 1.5rem;
  color: #192f3d;
}

.info-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
}

.info-panel {
  background: rgba(255, 255, 255, 0.82);
  border-radius: 2rem;
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: 0 22px 60px rgba(24, 28, 51, 0.14);
  color: rgba(25, 47, 61, 0.86);
  line-height: 1.8;
}

.info-panel h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  margin-top: 0;
  margin-bottom: 1rem;
  color: #192f3d;
}

.info-panel p + p {
  margin-top: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background: rgba(255, 255, 255, 0.78);
  border-radius: 1.6rem;
  padding: 1.8rem;
  box-shadow: 0 18px 45px rgba(24, 28, 51, 0.12);
  color: rgba(25, 47, 61, 0.82);
  line-height: 1.75;
}

.value-card h4 {
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
  color: #192f3d;
}

.values-section .section-heading h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 1rem 0 1.25rem;
  color: #192f3d;
}

.slider-section .section-heading {
  max-width: 48rem;
  text-align: center;
  margin: 0 auto 3.5rem;
  color: rgba(25, 47, 61, 0.8);
}

.slider-section h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 1rem 0 1.25rem;
  color: #192f3d;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 18px 40px rgba(24, 28, 51, 0.12);
}

.feature-icon {
  font-size: 1.5rem;
}

.feature-item strong {
  display: block;
  font-size: 1.05rem;
  color: #192f3d;
}

.feature-item p {
  margin: 0.25rem 0 0;
  color: rgba(25, 47, 61, 0.7);
  font-size: 0.95rem;
}

.slider {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.slider,
.slides,
.slide {
  direction: ltr;
}

.slides {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 25px 50px rgba(24, 28, 51, 0.16);
}

.slide {
  display: none;
  padding: 2rem;
  text-align: start;
}

.slide.active {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.slide img {
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 25px 60px rgba(155, 93, 229, 0.22);
}

.slide-caption h3 {
  margin: 0 0 0.75rem;
  font-size: 1.6rem;
  color: #192f3d;
}

.slide-caption p {
  margin: 0;
  color: rgba(25, 47, 61, 0.8);
}

.slider-control {
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: #9b5de5;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(24, 28, 51, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.slider-control:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(24, 28, 51, 0.24);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(155, 93, 229, 0.25);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.dot.active {
  transform: scale(1.2);
  background: linear-gradient(135deg, #f15bb5, #9b5de5);
}

.connect-card {
  max-width: 620px;
  margin: 0 auto 2rem;
  padding: 2rem 2.5rem;
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 45px rgba(24, 28, 51, 0.12);
  color: rgba(25, 47, 61, 0.78);
  line-height: 1.75;
}

.connect-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
  color: #192f3d;
  font-size: 1.7rem;
}

.cta-section {
  padding: 0 var(--page-padding) 5rem;
}

.cta-card {
  border-radius: 2.5rem;
  padding: clamp(2.5rem, 6vw, 4rem);
  background: linear-gradient(135deg, rgba(155, 93, 229, 0.9), rgba(0, 187, 249, 0.85));
  color: #ffffff;
  box-shadow: 0 30px 70px rgba(24, 28, 51, 0.24);
  text-align: center;
}

.cta-card h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 0 0 1rem;
}

.cta-card p {
  margin: 0 auto 2rem;
  max-width: 38rem;
  font-size: 1.05rem;
  opacity: 0.92;
}

.store-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.4rem;
  border-radius: 1.2rem;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: transform 200ms ease, background 200ms ease;
}

.store-button:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.22);
}

.store-button .icon {
  display: flex;
  align-items: center;
}

.store-button .icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.store-button .icon img {
  width: 130px;
  height: auto;
  display: block;
}

.image-icon {
  background: transparent;
  box-shadow: none;
}

.store-button .text {
  text-align: start;
}

.store-button .text span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.store-button .text strong {
  font-size: 1.1rem;
}

.footer {
  padding: 2.5rem var(--page-padding) 4rem;
  text-align: center;
  color: rgba(25, 47, 61, 0.68);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer-links a span {
  display: inline-block;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}

.footer-links a:hover {
  background: rgba(155, 93, 229, 0.12);
  color: #9b5de5;
}

.footnote {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

body.lang-ar .footnote {
  letter-spacing: 0;
}

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

  .hero {
    grid-template-columns: 1fr;
    padding-bottom: 3rem;
    justify-items: center;
    text-align: center;
  }

  .hero-preview {
    order: -1;
  }

  .hero-copy {
    text-align: center;
    max-width: 40rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .stats {
    justify-content: center;
  }

  .slide.active {
    grid-template-columns: 1fr;
  }

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

  .slider-control {
    display: none;
  }
}

@media (max-width: 600px) {
  :root {
    --page-padding: clamp(0.75rem, 4vw, 1.25rem);
  }

  .topbar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    align-items: center;
  }

  .hero {
    padding-top: 1rem;
    padding-bottom: 2.5rem;
    justify-items: center;
  }

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

  .hero-copy .tag {
    margin-inline: auto;
  }

  .hero-copy .lead {
    text-align: center;
  }

  .store-buttons {
    gap: 0.75rem;
    flex-direction: column;
    align-items: stretch;
  }

  .info-card,
  .info-panel,
  .cta-card,
  .slider-section .section-heading {
    text-align: center;
  }

  .preview-card,
  .info-card,
  .info-panel,
  .value-card,
  .feature-item,
  .connect-card {
    padding: 1.5rem;
  }

  .cta-card {
    padding: 2rem;
    border-radius: 1.6rem;
  }

  .cta-card p {
    max-width: none;
  }

  .slider-section {
    padding: 3rem var(--page-padding) 4rem;
  }

  .info-section,
  .values-section,
  .info-duo {
    padding: 3rem var(--page-padding);
  }

  .cta-section {
    padding: 0 var(--page-padding) 3.5rem;
  }

  .footer {
    padding: 2rem var(--page-padding) 3rem;
  }

  .slider {
    justify-items: center;
  }

  .slide {
    text-align: center;
  }

  .slide-caption p {
    text-align: center;
  }

  .info-duo {
    grid-template-columns: 1fr;
  }

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

  .features-list {
    grid-template-columns: 1fr;
  }

  .stats {
    gap: 1.25rem;
  }
}
