@font-face {
  font-family: "Cairo";
  src: url("assets/fonts/Cairo-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cairo";
  src: url("assets/fonts/Cairo-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #7b3cb9;
  --primary-dark: #4a1a8a;
  --ink: #171727;
  --muted: #6f7180;
  --surface: #ffffff;
  --soft: #f7f4fb;
  --line: #e7e0ef;
  --teal: #00bcd4;
  --blue: #3498db;
  --green: #2ecc71;
  --orange: #f5a623;
  --red: #e74c3c;
  --gold: #d8a900;
  --shadow: 0 22px 55px rgba(48, 21, 84, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Cairo", Tahoma, Arial, sans-serif;
  background: #fbfafc;
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(231, 224, 239, 0.78);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
  flex-shrink: 0;
  font-size: 1.35rem;
  font-weight: 700;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: var(--radius);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary);
  background: #f3ebfb;
  outline: none;
}

.nav-download {
  color: #fff !important;
  background: var(--primary);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: var(--radius);
  background: #f3ebfb;
  padding: 10px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--primary);
  border-radius: 2px;
}

.section-band {
  width: 100%;
}

.hero {
  min-height: calc(100svh - 72px);
  padding: 56px 0 18px;
  background:
    linear-gradient(180deg, rgba(123, 60, 185, 0.08), rgba(255, 255, 255, 0) 42%),
    #fbfafc;
}

.hero-content,
.section-inner,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 450px);
  align-items: center;
  gap: 56px;
}

.hero-copy {
  max-width: 680px;
  min-width: 0;
  padding: 18px 0;
}

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

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

h1 {
  margin-bottom: 12px;
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 0.95;
  letter-spacing: 0;
  color: var(--primary-dark);
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.2;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  line-height: 1.45;
}

.hero-lead {
  width: min(640px, 100%);
  max-width: 100%;
  margin-bottom: 28px;
  color: #373746;
  font-size: clamp(1.08rem, 2.2vw, 1.45rem);
}

.hero-actions,
.store-row,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.download-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.store-badge {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 12px 20px;
  font-weight: 700;
  white-space: nowrap;
}

.button-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 14px 28px rgba(123, 60, 185, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--primary-dark);
  outline: none;
}

.button-outline {
  color: var(--primary-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: var(--primary);
  outline: none;
}

.store-row {
  margin-top: 16px;
}

.store-badge {
  min-height: 42px;
  color: #81818d;
  background: #f1eef5;
  border: 1px dashed #cfc4dd;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-stack {
  width: min(520px, 100%);
  display: grid;
  gap: 14px;
}

.stack-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 48px rgba(33, 16, 62, 0.12);
}

.stack-card img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.stack-card div {
  display: grid;
  gap: 2px;
  padding: 14px 16px 16px;
}

.stack-card strong {
  font-size: 1rem;
  line-height: 1.4;
}

.stack-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.stack-card-large {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(190px, 0.8fr);
  align-items: stretch;
}

.stack-card-large img {
  height: 100%;
  min-height: 290px;
  object-position: center top;
}

.stack-card-small {
  display: grid;
  grid-template-columns: 162px minmax(0, 1fr);
  align-items: stretch;
}

.stack-card-small img {
  height: 100%;
  min-height: 144px;
  object-position: center top;
}

.stack-card-teal {
  background: linear-gradient(180deg, #ffffff, #f6fbfd);
}

.stack-card-gold {
  background: linear-gradient(180deg, #ffffff, #fff8ea);
}

.phone-frame {
  width: min(360px, 78vw);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 10px solid #181827;
  border-radius: 34px;
  background: #f3f0f6;
  box-shadow: var(--shadow);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-frame-large {
  width: min(420px, 86vw);
}

.floating-note {
  position: absolute;
  inset-inline-start: 8px;
  bottom: 34px;
  display: grid;
  gap: 2px;
  min-width: 160px;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--primary-dark);
  box-shadow: 0 18px 36px rgba(31, 15, 56, 0.22);
}

.floating-note span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.metric-strip {
  width: min(1120px, calc(100% - 32px));
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 28px rgba(48, 21, 84, 0.07);
}

.metric-strip span {
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 10px;
  color: var(--primary-dark);
  font-weight: 700;
  text-align: center;
}

.metric-strip span + span {
  border-inline-start: 1px solid var(--line);
}

.features-band,
.portal-band,
.screens-band,
.roadmap-band {
  padding: 72px 0;
}

.features-band {
  background: #fff;
}

.advanced-features-band {
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.screens-band {
  background: var(--soft);
}

.portal-band {
  background:
    linear-gradient(135deg, rgba(23, 11, 59, 0.98), rgba(42, 16, 93, 0.96));
  color: #fff;
}

.roadmap-band {
  background: #fff;
}

.section-heading {
  max-width: 720px;
  min-width: 0;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 224px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(34, 21, 49, 0.06);
}

.feature-card p,
.roadmap-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.advanced-gallery-heading {
  max-width: 720px;
  margin: 48px 0 22px;
}

.advanced-gallery-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: var(--radius);
  color: #fff;
  font-weight: 700;
}

.accent-purple .feature-icon { background: var(--primary); }
.accent-orange .feature-icon { background: var(--orange); }
.accent-green .feature-icon { background: var(--green); }
.accent-blue .feature-icon { background: var(--blue); }
.accent-teal .feature-icon { background: var(--teal); }
.accent-red .feature-icon { background: var(--red); }
.accent-gold .feature-icon { background: var(--gold); }
.accent-ink .feature-icon { background: var(--ink); }

.portal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: 44px;
}

.portal-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.hero-content > *,
.split-layout > *,
.portal-layout > * {
  min-width: 0;
}

.portal-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.portal-points span {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.portal-preview {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.24);
}

.portal-preview img {
  width: 100%;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  object-position: center;
}

.gallery-band {
  padding: 72px 0;
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.gallery-item {
  grid-column: span 4;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(33, 16, 62, 0.08);
}

.gallery-large {
  grid-column: span 8;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

.advanced-gallery .gallery-item {
  grid-column: span 3;
}

.advanced-gallery .gallery-item img {
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #f7f5fa;
}

.gallery-large img {
  aspect-ratio: 16 / 10;
}

.gallery-caption {
  display: grid;
  gap: 4px;
  padding: 14px 16px 16px;
}

.gallery-caption strong {
  font-size: 1rem;
}

.gallery-caption span {
  color: var(--muted);
  font-size: 0.92rem;
}

.gift-caption {
  min-height: 100%;
  justify-content: center;
  align-content: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(123, 60, 185, 0.08), rgba(14, 165, 233, 0.08));
}

.gallery-item.gallery-large:has(.gift-caption) {
  display: grid;
  align-items: stretch;
  min-height: 220px;
}

.finance-band {
  padding: 72px 0;
  background: linear-gradient(180deg, #fff 0%, #faf7ff 100%);
}

.finance-highlight {
  align-self: stretch;
  display: grid;
}

.finance-panel {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(33, 16, 62, 0.08);
}

.finance-panel h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.finance-panel ul {
  margin: 0;
  padding: 0 18px 0 0;
  color: var(--muted);
  line-height: 1.95;
}

.testimonials-band {
  padding: 72px 0;
  background: linear-gradient(180deg, #fbf9ff 0%, #ffffff 100%);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.testimonial-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(33, 16, 62, 0.08);
}

.testimonial-card p {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.9;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.testimonial-card strong {
  display: block;
  font-size: 1rem;
}

.testimonial-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  box-shadow: 0 12px 24px rgba(123, 60, 185, 0.22);
}

.testimonial-card:nth-child(2) .testimonial-avatar {
  background: linear-gradient(135deg, var(--orange), var(--gold));
}

.testimonial-card:nth-child(3) .testimonial-avatar {
  background: linear-gradient(135deg, var(--teal), var(--green));
}

.faq-band {
  padding: 72px 0 80px;
  background: #fff;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(33, 16, 62, 0.06);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #fff;
  background: var(--primary);
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--ink);
}

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  line-height: 1.9;
}

.mobile-cta {
  position: fixed;
  inset-inline: 16px;
  bottom: 16px;
  z-index: 30;
  display: none;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 16px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--ink));
  box-shadow: 0 18px 36px rgba(40, 22, 70, 0.28);
}

.mobile-cta:hover,
.mobile-cta:focus-visible {
  color: #fff;
  transform: translateY(-1px);
  outline: none;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 460px);
  align-items: center;
  gap: 52px;
}

.screen-showcase {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.screen-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.screen-tab {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 14px;
  color: var(--muted);
  background: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.screen-tab.is-active,
.screen-tab:hover,
.screen-tab:focus-visible {
  color: #fff;
  background: var(--primary);
  outline: none;
}

.roadmap-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.roadmap-list article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.roadmap-list span {
  width: 38px;
  height: 4px;
  display: block;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--teal));
}

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

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
}

.footer-inner img {
  width: 46px;
  height: 46px;
  margin-bottom: 8px;
  border-radius: var(--radius);
}

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

.footer-actions a {
  padding: 10px 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
}

.footer-actions a:hover,
.footer-actions a:focus-visible {
  background: var(--primary);
  outline: none;
}

.copyright {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.94rem;
}

@media (max-width: 940px) {
  .hero-content,
  .split-layout,
  .portal-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-lead,
  .section-heading {
    margin-inline: auto;
  }

  .hero-actions,
  .store-row {
    justify-content: center;
  }

  .download-options {
    justify-content: center;
  }

  .feature-grid,
  .roadmap-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .nav-shell {
    min-height: 64px;
    width: min(1120px, calc(100% - 40px));
  }

  .brand {
    gap: 8px;
    font-size: 1.12rem;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    inset-inline: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .hero-content {
    gap: 34px;
  }

  .hero-stack {
    width: min(100%, 560px);
  }

  .stack-card-large,
  .stack-card-small {
    grid-template-columns: 1fr;
  }

  .stack-card-large img,
  .stack-card-small img {
    min-height: 220px;
  }

  .hero-content,
  .section-inner,
  .footer-inner,
  .metric-strip,
  .copyright {
    width: min(100% - 40px, 1120px);
  }

  .hero-copy {
    width: 100%;
    padding-inline: 0;
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.95;
    width: min(30rem, 100%);
    max-width: 31ch;
    overflow-wrap: anywhere;
  }

  .button,
  .store-badge {
    width: 100%;
  }

  .download-options {
    width: 100%;
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .metric-strip span + span {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }

  .features-band,
  .portal-band,
  .screens-band,
  .roadmap-band {
    padding: 54px 0;
  }

  .feature-grid,
  .roadmap-list {
    grid-template-columns: 1fr;
  }

  .portal-points {
    grid-template-columns: 1fr;
  }

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

  .gallery-item,
  .gallery-large {
    grid-column: span 1;
  }

  .advanced-gallery .gallery-item {
    grid-column: span 1;
  }

  .feature-card,
  .roadmap-list article {
    min-height: auto;
  }

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

  .footer-actions {
    width: 100%;
  }

  .footer-actions a {
    flex: 1;
    text-align: center;
  }

  .finance-band {
    padding: 54px 0;
  }

  .finance-panel {
    padding: 24px;
  }

  .testimonials-band,
  .faq-band {
    padding: 54px 0;
  }

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

  .site-footer {
    padding-bottom: 96px;
  }
}

@media (max-width: 520px) {
  .advanced-gallery {
    grid-template-columns: 1fr;
  }
}
