:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #0f1720;
  --text-soft: #51606d;
  --line: rgba(81, 123, 150, 0.16);
  --primary: #517b96;
  --primary-dark: #3f657b;
  --shadow: 0 18px 60px rgba(17, 24, 39, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', 'Noto Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(81, 123, 150, 0.10), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(81, 123, 150, 0.08), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
  color: var(--text);
}

body.lang-ar {
  font-family: 'Noto Sans Arabic', 'Noto Sans', 'Inter', system-ui, sans-serif;
}

body.lang-hi {
  font-family: 'Noto Sans Devanagari', 'Noto Sans', 'Inter', system-ui, sans-serif;
}

body.lang-ja {
  font-family: 'Noto Sans JP', 'Noto Sans', 'Inter', system-ui, sans-serif;
}

body.lang-ko {
  font-family: 'Noto Sans KR', 'Noto Sans', 'Inter', system-ui, sans-serif;
}

body.lang-th {
  font-family: 'Noto Sans Thai', 'Noto Sans', 'Inter', system-ui, sans-serif;
}

body.lang-zh-cn {
  font-family: 'Noto Sans SC', 'Noto Sans', 'Inter', system-ui, sans-serif;
}

body.lang-zh-tw {
  font-family: 'Noto Sans TC', 'Noto Sans', 'Inter', system-ui, sans-serif;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 24px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-logo,
.footer-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 14px;
  border: 1px solid rgba(81, 123, 150, 0.14);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
}

.language-switcher label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-soft);
}

.language-switcher select {
  max-width: 180px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

body.rtl .site-header,
body.rtl .site-footer,
body.rtl .hero,
body.rtl .download,
body.rtl .cta-banner,
body.rtl .qr-header,
body.rtl .hero-note,
body.rtl .header-right,
body.rtl .site-nav,
body.rtl .footer-links,
body.rtl .brand,
body.rtl .footer-brand {
  direction: rtl;
}

body.rtl .hero-copy,
body.rtl .download-copy,
body.rtl .section-heading,
body.rtl .faq-list details,
body.rtl .site-footer,
body.rtl .phone-screen,
body.rtl .cta-banner {
  text-align: right;
}

body.rtl .hero-note,
body.rtl .site-nav,
body.rtl .footer-links,
body.rtl .header-right,
body.rtl .brand,
body.rtl .footer-brand,
body.rtl .language-switcher {
  flex-direction: row-reverse;
}

body.rtl .site-header,
body.rtl .site-footer,
body.rtl .cta-banner,
body.rtl .qr-header {
  justify-content: space-between;
}

body.rtl .mini-stats {
  direction: rtl;
}

.site-nav a,
.footer-links a,
.text-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.site-nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--primary);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
  min-height: calc(100vh - 110px);
  padding: 72px 0 40px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(81, 123, 150, 0.1);
  color: var(--primary-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.download h2,
.cta-banner h2 {
  margin: 18px 0 16px;
  font-size: clamp(1.95rem, 3.8vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero-text,
.section-heading p,
.download-copy p,
.feature-card p,
.faq p,
.site-footer p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 18px;
}

.store-button {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 190px;
  padding: 16px 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 10px 30px rgba(15, 23, 32, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(15, 23, 32, 0.10);
}

.store-button.primary {
  background: var(--primary);
  border-color: transparent;
  color: #ffffff;
}

.store-button.primary:hover {
  background: var(--primary-dark);
}

.store-button.large {
  min-width: 220px;
}

.store-badge-label {
  display: block;
  margin-bottom: 2px;
  font-size: 0.82rem;
  opacity: 0.82;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #00b67a;
  box-shadow: 0 0 0 8px rgba(0, 182, 122, 0.08);
}

.hero-visual {
  --main-card-w: 320px;
  --main-card-h: 620px;
  --back-card-w: 270px;
  --back-card-h: 480px;
  --back-offset-x: 56px;
  --back-offset-y: 36px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(100%, calc(var(--main-card-w) + var(--back-offset-x) + 48px));
  min-height: max(calc(var(--main-card-h) + 20px), calc(var(--back-card-h) + var(--back-offset-y) + 24px));
  margin-inline: auto;
}

.phone-card {
  position: absolute;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(244,248,251,0.96) 100%);
  border: 1px solid rgba(81, 123, 150, 0.18);
  box-shadow: 0 24px 70px rgba(15, 23, 32, 0.12);
}

.back-card {
  top: var(--back-offset-y);
  left: 50%;
  width: var(--back-card-w);
  height: var(--back-card-h);
  padding: 24px;
  transform: translateX(calc(-50% + var(--back-offset-x))) rotate(10deg);
  transform-origin: center;
}

.main-card {
  position: relative;
  width: var(--main-card-w);
  height: var(--main-card-h);
  padding: 18px;
  z-index: 2;
}

.phone-screen {
  height: 100%;
  min-height: 100%;
  border-radius: 26px;
  background: linear-gradient(160deg, #ffffff 0%, #eef4f7 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 28px;
}

.app-icon {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin-bottom: 22px;
}

.app-title {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.phone-screen p {
  margin: 0;
  max-width: 220px;
  color: var(--text-soft);
  line-height: 1.6;
}

.mini-stats {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
  align-items: stretch;
  justify-items: stretch;
}


.mini-stats div,
.feature-card,
.qr-card,
.cta-banner,
.faq-list details {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(81, 123, 150, 0.16);
  box-shadow: 0 16px 46px rgba(15, 23, 32, 0.06);
}

.mini-stats div {
  aspect-ratio: 1 / 1;
  min-height: 118px;
  padding: 14px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 0;
  overflow: hidden;
}


.mini-stats strong {
  display: block;
  font-size: 0.84rem;
  line-height: 1.16;
  margin-bottom: 5px;
}


.mini-stats span {
  display: block;
  font-size: 0.72rem;
  line-height: 1.28;
  color: var(--text-soft);
  word-break: break-word;
}


.mock-header,
.mock-block,
.mock-grid span {
  background: rgba(81, 123, 150, 0.16);
  border-radius: 16px;
}

.mock-header {
  width: 50%;
  height: 18px;
  margin-bottom: 22px;
}

.mock-block.large {
  width: 100%;
  height: 180px;
  margin-bottom: 24px;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mock-grid span {
  display: block;
  height: 104px;
}

.features,
.download,
.faq {
  padding: 42px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading.left {
  max-width: 100%;
}

.section-heading h2,
.download h2,
.cta-banner h2,
.faq .section-heading h2 {
  font-size: clamp(1.55rem, 2.55vw, 2.2rem);
  line-height: 1.12;
}

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

.feature-card,
.qr-card {
  padding: 28px;
}

.feature-card h3,
.qr-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.download {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

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

.qr-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.qr-header span {
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

.qr-image {
  width: 100%;
  max-width: 220px;
  margin: 0 auto 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 28px 0 18px;
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(81,123,150,0.16), rgba(255,255,255,0.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

.faq-list details {
  border-radius: 20px;
  padding: 22px 24px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

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

.faq-list p {
  margin: 14px 0 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 0 24px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

@media (max-width: 1080px) {
  .site-header {
    border-radius: 28px;
  }

  .hero,
  .download {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    --main-card-w: 300px;
    --main-card-h: 585px;
    --back-card-w: 245px;
    --back-card-h: 430px;
    --back-offset-x: 42px;
    --back-offset-y: 32px;
  }

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

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .page-shell {
    padding: 16px;
  }

  .site-header,
  .header-right,
  .site-nav,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav {
    gap: 14px;
  }

  .language-switcher {
    justify-content: space-between;
  }

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

  .mini-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-visual {
    --main-card-w: min(280px, 72vw);
    --main-card-h: 550px;
    --back-card-w: 210px;
    --back-card-h: 360px;
    --back-offset-x: 30px;
    --back-offset-y: 26px;
  }

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

  .site-footer {
    text-align: center;
  }

  .footer-links,
  .footer-brand {
    justify-content: center;
  }

  body.rtl .site-header,
  body.rtl .header-right,
  body.rtl .site-nav,
  body.rtl .site-footer {
    align-items: stretch;
  }
}

@media (max-width: 560px) {
  .hero h1,
  .section-heading h2,
  .download h2,
  .cta-banner h2 {
    line-height: 1.02;
  }

  .hero h1 {
    font-size: clamp(1.72rem, 7.8vw, 2.55rem);
  }

  .section-heading h2,
  .download h2,
  .cta-banner h2,
  .faq .section-heading h2 {
    font-size: clamp(1.38rem, 6vw, 1.92rem);
  }

  .hero-visual {
    --main-card-w: min(250px, 74vw);
    --main-card-h: 500px;
    padding: 8px 0;
    width: min(100%, calc(var(--main-card-w) + 16px));
    min-height: calc(var(--main-card-h) + 12px);
  }

  .back-card {
    display: none;
  }

  .main-card {
    height: var(--main-card-h);
    padding: 14px;
  }

  .phone-screen {
    min-height: 460px;
    justify-content: flex-start;
    padding: 24px 18px 18px;
  }

  .phone-screen p {
    max-width: 210px;
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .mini-stats {
    gap: 8px;
    margin-top: 18px;
  }

  .mini-stats div {
    min-height: 80px;
    padding: 9px 7px;
  }

  .mini-stats strong {
    font-size: 0.72rem;
  }

  .mini-stats span {
    font-size: 0.62rem;
    line-height: 1.16;
  }

  .app-icon {
    width: 72px;
    height: 72px;
  }

  .app-title {
    font-size: 1.48rem;
  }

  .cta-banner,
  .feature-card,
  .qr-card,
  .faq-list details {
    padding: 22px;
  }

  .site-header {
    padding: 14px;
  }
}
/* Marketing update */
.legal-links {
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 820px) {
  .site-header {
    align-items: center;
    text-align: center;
  }

  .brand {
    justify-content: center;
    margin-inline: auto;
    text-align: center;
  }

  .brand-logo {
    margin-inline: auto;
  }

  .site-nav {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

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

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

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

  .eyebrow,
  .section-kicker {
    margin-inline: auto;
  }

  .hero-visual {
    justify-content: center;
    margin-inline: auto;
  }

  .footer-brand,
  .legal-links {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .legal-links {
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 820px) {
  .header-right {
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .site-nav,
  .hero-visual {
    margin-inline: auto;
  }

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


@media (max-width: 390px) {
  .hero-visual {
    padding: 4px 0;
  }

  .hero-visual {
    --main-card-w: min(236px, 78vw);
    --main-card-h: 470px;
    width: min(100%, calc(var(--main-card-w) + 12px));
    min-height: calc(var(--main-card-h) + 8px);
  }

  .back-card {
    display: none;
  }

  .main-card {
    width: var(--main-card-w);
    height: var(--main-card-h);
  }

  .phone-screen {
    min-height: 100%;
    padding: 20px 16px 16px;
  }

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

  .app-title {
    font-size: 1.38rem;
  }

  .mini-stats strong {
    font-size: 0.68rem;
  }

  .mini-stats span {
    font-size: 0.58rem;
  }
}


.cta-banner {
  align-items: center;
  justify-content: space-between;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer .footer-brand {
  justify-content: flex-start;
}

.site-footer .footer-links {
  margin-left: auto;
  justify-content: flex-end;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .site-footer .footer-links {
    margin-left: 0;
    justify-content: center;
  }
}


/* Mobile header optimization */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(81, 123, 150, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(15, 23, 32, 0.08);
  color: var(--text);
  cursor: pointer;
  flex: 0 0 auto;
}

.menu-toggle-lines {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle-lines span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.site-header.menu-open .menu-toggle-lines span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.menu-open .menu-toggle-lines span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .menu-toggle-lines span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 820px) {
  .site-header {
    position: sticky;
    top: 8px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 20px;
    text-align: initial;
  }

  .brand {
    justify-content: flex-start;
    margin-inline: 0;
    text-align: initial;
    flex: 0 1 auto;
    min-width: 0;
  }

  .brand-logo {
    margin-inline: 0;
  }

  .header-right {
    position: relative;
    margin-left: auto;
    width: auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }

  .language-switcher {
    min-width: 0;
    padding: 4px 8px 4px 10px;
    gap: 6px;
  }

  .language-switcher label {
    display: none;
  }

  .language-switcher select {
    max-width: 92px;
    min-width: 0;
    font-size: 0.92rem;
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    z-index: 30;
    min-width: min(280px, calc(100vw - 32px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border-radius: 20px;
    border: 1px solid rgba(81, 123, 150, 0.16);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
  }

  .site-header.menu-open .site-nav {
    display: flex;
  }

  .site-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    background: #f7f9fb;
    text-align: start;
  }

  body.rtl .site-nav a {
    text-align: right;
  }
}

@media (max-width: 560px) {
  .site-header {
    top: 6px;
    padding: 8px 10px;
    gap: 10px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

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

  .language-switcher {
    padding: 4px 8px;
  }

  .language-switcher select {
    max-width: 84px;
    font-size: 0.88rem;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .site-nav {
    min-width: min(260px, calc(100vw - 24px));
  }
}

@media (max-width: 420px) {
  .brand-name {
    display: none;
  }
}
