:root {
  --bg-hero: linear-gradient(153deg, #f2f8ff 4.16%, #e6f3ff 104.32%);
  --bg-light: #f9fafb;
  --bg-soft: #eff7ff;
  --bg-navy: #020617;
  --primary: #5468e7;
  --text-main: #0f172a;
  --text-mid: #334155;
  --text-muted: #64748b;
  --card: #ffffff;
  --radius-xl: 40px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-main: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

body.theme-dark {
  --bg-hero: radial-gradient(circle at top, #020617 0%, #020617 45%, #020617 100%);
  --bg-light: #020617;
  --bg-soft: #020617;
  --primary: #8b9bff;
  --text-main: #e5e7eb;
  --text-mid: #cbd5f5;
  --text-muted: #9ca3af;
  --card: #020617;
  --shadow-main: 0 25px 50px -12px rgba(15, 23, 42, 0.7);
}

body.theme-dark {
  background: var(--bg-light);
  color: var(--text-main);
}

body.theme-dark .hero-shell {
  background: var(--bg-hero);
}

body.theme-dark .section-light,
body.theme-dark .section-light-alt {
  background: var(--bg-light);
}

body.theme-dark .section-blue {
  background: #020617;
}

body.theme-dark .card-step,
body.theme-dark .card-feature,
body.theme-dark .mini-step,
body.theme-dark .plan-card,
body.theme-dark .company-form,
body.theme-dark .story-card,
body.theme-dark .proof-strip article {
  background: #020617;
  border-color: #1e293b;
}

body.theme-dark .proof-strip article {
  background: #020617;
  border-color: #1e293b;
}

body.theme-dark .social-card {
  background: #020617;
  border-color: #1e293b;
}

body.theme-dark .social-card p {
  color: var(--text-muted);
}

body.theme-dark .social-badge {
  background: rgba(159, 182, 255, 0.18);
}

body.theme-dark .section-download {
  background:
    radial-gradient(circle at 10% 20%, rgba(84, 104, 231, 0.25), transparent 40%),
    radial-gradient(circle at 88% 15%, rgba(129, 140, 248, 0.2), transparent 34%),
    linear-gradient(180deg, #020617 0%, #01040f 100%);
}

body.theme-dark .download-intro p {
  color: #aebbe0;
}

body.theme-dark .download-card {
  border-color: #1e293b;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(2, 6, 23, 0.96) 72%),
    linear-gradient(140deg, rgba(84, 104, 231, 0.2), transparent 44%);
  box-shadow: 0 24px 56px rgba(2, 6, 23, 0.58);
}

body.theme-dark .download-copy h3 {
  color: #e5e7eb;
}

body.theme-dark .download-copy p {
  color: #cbd5f5;
}

body.theme-dark .download-copy small {
  color: #9ca3af;
}

body.theme-dark .store-badge {
  background: #020617;
  color: #e5e7eb;
  border-color: #334155;
}

body.theme-dark .store-meta {
  color: #9fb6ff;
}

body.theme-dark .store-badge:hover {
  border-color: #5468e7;
  background: #111827;
  box-shadow: 0 10px 22px rgba(84, 104, 231, 0.24);
}

body.theme-dark .btn-outline {
  background: #020617;
  color: var(--text-main);
  border-color: #1f2937;
}

body.theme-dark .btn-outline:hover {
  background: #020617;
}

body.theme-dark .switch-nav {
  background: #020617;
}

body.theme-dark .switch-nav label {
  color: var(--text-muted);
}

body.theme-dark #tab-web:checked ~ .switch-nav label[for="tab-web"],
body.theme-dark #tab-ios:checked ~ .switch-nav label[for="tab-ios"],
body.theme-dark #tab-android:checked ~ .switch-nav label[for="tab-android"] {
  background: #020617;
  color: var(--text-main);
}

body.theme-dark .story-card {
  border-color: #1f2937;
}

body.theme-dark .hero-scene {
  background: radial-gradient(circle at top, #020617 0%, #020617 45%, #020617 100%);
  border-color: #1f2937;
}

body.theme-dark .hero-card {
  background: #020617;
}

body.theme-dark .hero-card p {
  color: var(--text-muted);
}

body.theme-dark .beta-banner {
  border-color: rgba(159, 182, 255, 0.56);
  background: linear-gradient(120deg, rgba(139, 155, 255, 0.32), rgba(26, 33, 56, 0.62));
  box-shadow: 0 14px 28px rgba(7, 12, 25, 0.45);
}

body.theme-dark .beta-banner strong {
  color: #d4deff;
}

body.theme-dark .beta-banner span {
  color: #f1f5f9;
}

body.theme-dark .name-story {
  border-color: rgba(132, 149, 255, 0.2);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.82), rgba(10, 14, 28, 0.94));
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.32);
}

body.theme-dark .name-story-label {
  color: #9fb6ff;
}

body.theme-dark .name-story-formula,
body.theme-dark .name-story-brand {
  color: #fff;
}

body.theme-dark .name-story-equals,
body.theme-dark .name-story-plus,
body.theme-dark .name-story-word {
  color: #7c93ff;
}

body.theme-dark .name-story-note {
  color: #b8c2d9;
}

body.theme-dark .company-form input,
body.theme-dark .company-form select,
body.theme-dark .company-form textarea {
  background: #020617;
  border-color: #1f2937;
}

body.theme-dark .proof-strip article span {
  color: var(--text-muted);
}

body.theme-dark .footer {
  background: #020617;
}

body.theme-dark .cta {
  background: linear-gradient(90deg, #020617, #111827);
}

body.theme-dark .plan-card-featured {
  box-shadow: 0 12px 30px -15px rgba(129, 140, 248, 0.8);
}

body.theme-dark .theme-toggle {
  background: #020617;
}
html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  color: var(--text-main);
  background: var(--bg-light);
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

.container {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

.hero-shell {
  background: var(--bg-hero);
  padding-bottom: 52px;
  transition: background 0.3s ease;
}

.navbar {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-btn {
  min-width: 96px;
}





.logo {
  width: 190px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary);
  font-size: 12px;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  opacity: 0.8;
}



.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 16px 32px;
  text-decoration: none;
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  border: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(84, 104, 231, 0.3);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(84, 104, 231, 0.4);
}

.btn:hover::before {
  left: 100%;
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(84, 104, 231, 0.3);
}

.btn-sm {
  font-size: 12px;
  line-height: 20px;
  padding: 8px 18px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(84, 104, 231, 0.25);
}

.btn-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(84, 104, 231, 0.35);
}

.btn-outline {
  background: var(--card);
  color: var(--text-main);
  border: 2px solid #f1f5f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}



.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 6px 20px rgba(84, 104, 231, 0.2);
  transform: translateY(-2px);
  background: #fff;
}

.btn-outline:active {
  transform: translateY(0);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  padding: 20px 48px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background: #f8f9fa;
}

.btn-white:active {
  transform: translateY(0);
}

.hero {
  padding-top: 98px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 608px;
  gap: 64px;
  align-items: center;
}

.hero-copy .pill {
  display: inline-flex;
  align-items: center;
  background: #d5e6ff;
  color: var(--primary);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  padding: 8px 16px;
}

.hero-copy h1 {
  font-size: 72px;
  letter-spacing: -1.8px;
  line-height: 1;
  margin: 24px 0;
}

.hero-copy h1 span,
.section-head h2 span {
  color: var(--primary);
}

.hero-copy p {
  margin: 0;
  font-size: 18px;
  line-height: 29.25px;
  color: var(--text-mid);
  max-width: 512px;
}

.beta-banner {
  margin-top: 18px;
  max-width: 520px;
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 8px;
  padding: 14px 16px 14px 20px;
  border-radius: 16px;
  border: 2px solid rgba(84, 104, 231, 0.45);
  background: linear-gradient(120deg, rgba(84, 104, 231, 0.2), rgba(84, 104, 231, 0.06));
  box-shadow: 0 12px 26px rgba(84, 104, 231, 0.18);
}

.beta-banner::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #3f54e8, #7b8cff);
}

.beta-banner strong {
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2f42c7;
}

.beta-banner span {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #16213b;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.name-story {
  margin-top: 18px;
  max-width: 560px;
  padding: 16px 20px;
  border: 1px solid rgba(84, 104, 231, 0.16);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 247, 255, 0.94));
  box-shadow: 0 18px 38px rgba(84, 104, 231, 0.14);
}

.name-story-label {
  display: inline-flex;
  margin-bottom: 10px;
  color: #5468e7;
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.name-story-formula {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #0f172a;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
}

.name-story-brand {
  color: #0f172a;
}

.name-story-equals,
.name-story-plus {
  color: #7c93ff;
}

.name-story-word {
  color: #7c93ff;
}

.name-story-note {
  margin-top: 10px;
  margin-bottom: 0;
  color: #475569;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
}

.stats {
  margin-top: 16px;
  padding-top: 16px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.stats article {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stats strong {
  color: var(--primary);
  font-size: 30px;
  line-height: 36px;
  font-weight: 800;
}

.stats span {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
}

.hero-media {
  position: relative;
}

.hero-scene {
  position: relative;
  background: linear-gradient(160deg, #dce8f8 0%, #f3f7ff 100%);
  border-radius: 34px;
  padding: 22px 22px 34px;
  border: 1px solid #d8e2f3;
  box-shadow: var(--shadow-main);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.laptop-frame {
  width: 100%;
  background: #0f172a;
  border-radius: 20px 20px 12px 12px;
  padding: 10px;
  box-shadow: 0 14px 30px -14px rgba(15, 23, 42, 0.55);
}

.laptop-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  border: 1px solid #1e293b;
}

.phone-stack {
  position: absolute;
  left: -26px;
  right: -26px;
  bottom: -26px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.phone-frame {
  width: 164px;
  height: 328px;
  border-radius: 26px;
  background: #111827;
  padding: 8px;
  box-shadow: 0 20px 30px -18px rgba(15, 23, 42, 0.55);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 20px;
}

.ios-frame {
  transform: rotate(-7deg);
}

.android-frame {
  transform: rotate(7deg);
}

.hero-media > img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-main);
}

.hero-card {
  position: absolute;
  left: -24px;
  bottom: -24px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 35px -5px rgba(0, 0, 0, 0.2), 0 12px 15px -6px rgba(0, 0, 0, 0.15);
}

.hero-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dcfce7;
  color: #16a34a;
  font-weight: 700;
  transition: all 0.3s ease;
}

.hero-card:hover .hero-card-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.3);
}

.hero-card h3 {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  transition: color 0.3s ease;
}

.hero-card:hover h3 {
  color: #16a34a;
}

.hero-card p {
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  color: #64748b;
}

.section {
  padding: 84px 0;
}

.section-light {
  background: var(--bg-light);
}

.section-blue {
  background: #eef7ff;
}

.section-light-alt {
  background: #f8fafc;
}

.section-head {
  text-align: center;
  max-width: 700px;
}

.section-head h2 {
  margin: 0;
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -1.2px;
}

.section-head p {
  margin: 16px auto 0;
  font-size: 14px;
  line-height: 22.75px;
  color: var(--text-mid);
}

.cards-2x2 {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card-step {
  background: #f1f5f9;
  border-radius: var(--radius-md);
  padding: 22px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.card-step:hover {
  background: var(--card);
  transform: translateY(-4px);
  border: 2px solid var(--primary);
  box-shadow: 0 12px 24px rgba(84, 104, 231, 0.15);
}

.card-step span,
.mini-step span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.card-step:hover span {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(84, 104, 231, 0.4);
}

.card-step h3 {
  margin: 12px 0 8px;
  font: 700 14px/20px Inter, sans-serif;
  transition: color 0.3s ease;
}

.card-step:hover h3 {
  color: var(--primary);
}

.card-step p {
  margin: 0;
  color: var(--text-mid);
  font: 400 14px/22.75px Inter, sans-serif;
}

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

.card-feature {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.card-feature::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(84, 104, 231, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-feature:hover {
  transform: translateY(-8px);
  border: 2px solid var(--primary);
  box-shadow: 0 16px 32px rgba(84, 104, 231, 0.2);
}

.card-feature:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  transition: all 0.3s ease;
}

.card-feature:hover .feature-icon {
  transform: scale(1.2) rotate(10deg);
  box-shadow: 0 6px 18px rgba(84, 104, 231, 0.4);
}

.card-feature h3 {
  margin: 0;
  font: 700 20px/28px Inter, sans-serif;
  transition: color 0.3s ease;
}

.card-feature:hover h3 {
  color: var(--primary);
}

.card-feature p {
  margin: 10px 0 0;
  color: var(--text-mid);
  font: 400 14px/22.75px Inter, sans-serif;
}

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

.showcase-shell {
  margin-top: 48px;
}

.platform-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch-nav {
  width: fit-content;
  margin: 0 auto;
  background: #e2e8f0;
  border-radius: 999px;
  padding: 4px;
  display: flex;
  gap: 4px;
  transition: background-color 0.3s ease;
}

.switch-nav label {
  cursor: pointer;
  border-radius: 999px;
  padding: 10px 24px;
  color: #334155;
  font: 700 14px/20px Inter, sans-serif;
  transition: color 0.3s ease;
}

#tab-web:checked ~ .switch-nav label[for="tab-web"],
#tab-ios:checked ~ .switch-nav label[for="tab-ios"],
#tab-android:checked ~ .switch-nav label[for="tab-android"] {
  background: var(--card);
  color: var(--text-main);
  box-shadow: 0 4px 14px -10px rgba(0, 0, 0, 0.5);
}

.panels {
  margin-top: 24px;
}

.panel {
  display: none;
}

#tab-web:checked ~ .panels .panel-web,
#tab-ios:checked ~ .panels .panel-ios,
#tab-android:checked ~ .panels .panel-android {
  display: block;
}

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

.story-card {
  position: relative;
  background: var(--card);
  border: 1px solid #dbe3ef;
  border-radius: var(--radius-md);
  padding: 14px;
  transition: all 0.3s ease;
  overflow: hidden;
  cursor: pointer;
}

.story-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(84, 104, 231, 0.2);
  border-color: var(--primary);
}

.story-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(84, 104, 231, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.story-card:hover::after {
  opacity: 1;
}

.story-step {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font: 700 14px/1 Inter, sans-serif;
  transition: all 0.3s ease;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(84, 104, 231, 0.3);
}

.story-card:hover .story-step {
  transform: scale(1.15);
  box-shadow: 0 6px 16px rgba(84, 104, 231, 0.5);
}

.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.3s ease;
}

.device-shot {
  position: relative;
  margin-top: 4px;
}

.device-laptop {
  background: #0f172a;
  border-radius: 14px 14px 8px 8px;
  padding: 8px;
  box-shadow: 0 12px 22px -14px rgba(15, 23, 42, 0.75);
}

.device-laptop::after {
  content: "";
  display: block;
  height: 8px;
  margin: 7px -6px -6px;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
}

.device-laptop img {
  border-radius: 8px;
  border: 1px solid #1e293b;
  aspect-ratio: 16 / 10;
}

.device-phone {
  width: min(190px, 100%);
  margin-inline: auto;
  height: 336px;
  border-radius: 28px;
  background: #0f172a;
  padding: 8px;
  box-shadow: 0 18px 28px -16px rgba(15, 23, 42, 0.65);
}

.device-phone img {
  border-radius: 20px;
  border: 1px solid #111827;
}

.ios-shell::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 18px;
  border-radius: 999px;
  background: #0b1220;
  z-index: 2;
}

.android-shell::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #090f1b;
  z-index: 2;
}

.story-card h3 {
  margin: 12px 0 4px;
  font: 700 18px/24px Inter, sans-serif;
  color: var(--text-main);
}

.story-card p {
  margin: 0;
  color: var(--text-mid);
  font: 500 13px/19px Inter, sans-serif;
}

.proof-strip {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.proof-strip article {
  background: #f8fbff;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  padding: 14px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.proof-strip strong {
  display: block;
  color: var(--text-main);
  font: 700 15px/22px Inter, sans-serif;
}

.proof-strip span {
  display: block;
  color: var(--text-muted);
  font: 500 13px/18px Inter, sans-serif;
}

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

.plan-card {
  background: var(--card);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.plan-card:hover {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 24px rgba(84, 104, 231, 0.15);
}

.plan-card-featured {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 24px rgba(84, 104, 231, 0.15);
}

.plan-card-featured:hover {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 24px rgba(84, 104, 231, 0.15);
}

.plan-card h3 {
  margin: 0;
  font: 700 24px/32px Inter, sans-serif;
}

.plan-size {
  margin: 8px 0 0;
  color: var(--text-muted);
  font: 500 14px/20px Inter, sans-serif;
}

.plan-price {
  margin: 16px 0 0;
  color: var(--text-main);
  font: 800 34px/40px "Plus Jakarta Sans", sans-serif;
}

.plan-price span {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-muted);
  font-weight: 600;
}

.plan-card ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-card li {
  color: var(--text-main);
  font: 500 15px/22px Inter, sans-serif;
}

.plan-card-locked ul {
  position: relative;
  pointer-events: none;
  user-select: none;
}

.plan-card-locked li {
  filter: blur(5px);
}

.plan-card-locked ul::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0.4)
  );
  pointer-events: none;
}

body.theme-dark .plan-card-locked ul::after {
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.22),
    rgba(15, 23, 42, 0.45)
  );
}

.plan-btn {
  margin-top: 24px;
  width: 100%;
  font-size: 16px;
  line-height: 24px;
  padding: 14px 24px;
}

.mini-step {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(84, 104, 231, 0.08);
  border-radius: var(--radius-md);
  text-align: center;
  padding: 32px 16px 20px;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease;
}

.mini-step:hover {
  transform: translateY(-6px);
  border-color: rgba(84, 104, 231, 0.28);
  box-shadow: 0 18px 40px -24px rgba(84, 104, 231, 0.55);
}

.mini-step span {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background-color 0.28s ease;
}

.mini-step:hover span {
  transform: translateX(-50%) scale(1.08);
  box-shadow: 0 12px 28px -12px rgba(84, 104, 231, 0.6);
}

.mini-step:hover h3 {
  color: var(--primary);
}

.mini-step h3 {
  margin: 18px 0 8px;
  font: 700 20px/28px Inter, sans-serif;
}

.mini-step p {
  margin: 0;
  color: var(--text-mid);
  font: 400 14px/22.75px Inter, sans-serif;
}

.section-download {
  position: relative;
  background:
    radial-gradient(circle at 10% 20%, rgba(84, 104, 231, 0.14), transparent 40%),
    radial-gradient(circle at 88% 15%, rgba(129, 140, 248, 0.12), transparent 34%),
    linear-gradient(180deg, #f4f8ff 0%, #eef5ff 100%);
  color: var(--text-main);
  overflow: hidden;
}

.section-download::before {
  content: "";
  position: absolute;
  inset: -120px auto auto -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84, 104, 231, 0.12), transparent 68%);
  pointer-events: none;
}

.download-intro {
  text-align: left;
  margin-bottom: 34px;
}

.download-kicker {
  display: inline-flex;
  color: var(--primary);
  font: 700 14px/1.2 "Cairo", "Inter", sans-serif;
}

.download-intro h2 {
  margin: 14px 0 0;
  max-width: 720px;
  font: 800 44px/1.12 "Cairo", "Inter", sans-serif;
  letter-spacing: -1px;
}

.download-intro p {
  margin: 18px 0 0;
  max-width: 760px;
  color: var(--text-mid);
  font: 500 18px/1.7 "Cairo", "Inter", sans-serif;
}

.download-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: end;
  gap: 24px;
  padding: 36px 32px;
  border-radius: 30px;
  border: 1px solid #dbe3ef;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 247, 255, 0.96) 70%),
    linear-gradient(140deg, rgba(84, 104, 231, 0.08), transparent 44%);
  box-shadow: 0 20px 45px rgba(84, 104, 231, 0.12);
}

.download-copy {
  text-align: left;
}

.download-copy h3 {
  margin: 16px 0 0;
  font: 800 42px/1.15 "Cairo", "Inter", sans-serif;
  letter-spacing: -1px;
  color: var(--text-main);
}

.download-copy p {
  margin: 20px 0 0;
  color: var(--text-mid);
  font: 500 18px/1.7 "Cairo", "Inter", sans-serif;
}

.download-copy small {
  display: block;
  margin-top: 16px;
  color: var(--text-muted);
  font: 500 14px/1.6 "Cairo", "Inter", sans-serif;
}

.download-stores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.store-badge {
  text-decoration: none;
  color: var(--text-main);
  background: #f8fbff;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  padding: 14px 16px;
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 4px;
  text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.store-badge strong {
  font: 700 20px/1.2 "Inter", sans-serif;
}

.store-meta {
  color: var(--primary);
  font: 600 13px/1.2 "Cairo", "Inter", sans-serif;
}

.store-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(84, 104, 231, 0.45);
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(84, 104, 231, 0.16);
}

.store-badge-disabled {
  pointer-events: none;
  cursor: default;
}

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

.social-card {
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid #dbe3ef;
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.social-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 14px 28px rgba(84, 104, 231, 0.2);
}

.social-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(84, 104, 231, 0.12);
  color: var(--primary);
  font: 700 12px/1.2 Inter, sans-serif;
}

.social-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
}

.social-card h3 {
  margin: 14px 0 8px;
  font: 700 22px/1.2 Inter, sans-serif;
  color: var(--text-main);
}

.social-card p {
  margin: 0;
  color: var(--text-mid);
  font: 500 14px/22px Inter, sans-serif;
}

.cta {
  background: linear-gradient(90deg, rgba(83, 100, 215, 0.71), #5468e7);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

.cta-inner h2 {
  margin: 0;
  font-size: 60px;
  line-height: 60px;
  letter-spacing: -1.5px;
}

.cta-inner p {
  margin: 18px 0 32px;
  font-size: 20px;
  line-height: 28px;
  opacity: 0.9;
}

.form-shell {
  margin-top: 48px;
  max-width: 760px;
}

.company-form {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid #dbe3ef;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}


.company-form label {
  grid-column: span 2;
  margin-bottom: -8px;
  color: var(--text-main);
  font: 600 14px/20px Inter, sans-serif;
}

.company-form input,
.company-form select,
.company-form textarea {
  grid-column: span 2;
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 14px;
  font: 500 15px/22px Inter, sans-serif;
  color: var(--text-main);
  background: var(--card);
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}


.company-form textarea {
  resize: vertical;
  min-height: 96px;
}

.company-form input:focus,
.company-form select:focus,
.company-form textarea:focus {
  outline: 2px solid rgba(84, 104, 231, 0.2);
  border-color: var(--primary);
}

.form-submit {
  grid-column: span 2;
  margin-top: 8px;
}

.footer {
  background: var(--bg-navy);
  color: #fff;
  padding: 80px 0;
}

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

.footer-logo {
  margin: 0 auto;
  width: 230px;
  height: 56px;
  object-position: center;
}

.footer p {
  margin: 24px 0 32px;
  font-size: 16px;
  line-height: 24px;
}

.footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

.footer nav a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.footer hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin: 32px 0;
}

.footer small {
  font-size: 12px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-credit {
  margin-top: 14px;
  font-size: 13px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-credit a,
.legal-note a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(84, 104, 231, 0.45);
  text-underline-offset: 3px;
}

.footer-credit a:hover,
.footer-credit a:focus,
.legal-note a:hover,
.legal-note a:focus {
  color: var(--primary);
}

@media (max-width: 1200px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 56px;
  }

  .name-story-formula {
    font-size: 24px;
  }

  .hero-media {
    margin-top: 24px;
  }

  .phone-frame {
    width: 146px;
    height: 292px;
  }

  .cards-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }

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

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

  .device-phone {
    width: min(170px, 100%);
    height: 302px;
  }

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

  .cta-inner h2 {
    font-size: 46px;
    line-height: 52px;
  }

  .download-intro h2 {
    font-size: 38px;
  }

  .download-intro p {
    font-size: 17px;
  }

  .download-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px;
  }

  .download-copy h3 {
    font-size: 34px;
  }

  .download-copy p {
    font-size: 17px;
  }

  .download-copy small {
    font-size: 13px;
  }

  .store-badge strong {
    font-size: 18px;
  }

  .store-meta {
    font-size: 12px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(1280px, calc(100% - 32px));
  }

  .navbar {
    flex-wrap: wrap;
    height: auto;
    gap: 12px;
    padding: 16px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .nav-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .hero {
    padding-top: 56px;
    gap: 40px;
  }

  .hero-copy h1 {
    font-size: 44px;
    letter-spacing: -1px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .name-story {
    padding: 14px 16px;
  }

  .name-story-formula {
    gap: 8px;
    font-size: 20px;
  }

  .hero-card {
    position: static;
    margin-top: 16px;
  }

  .hero-scene {
    padding: 16px 16px 26px;
  }

  .phone-stack {
    position: static;
    margin-top: 14px;
    left: auto;
    right: auto;
    bottom: auto;
    justify-content: center;
    gap: 12px;
  }

  .phone-frame {
    width: 130px;
    height: 260px;
  }

  .section-head h2 {
    font-size: 36px;
    line-height: 42px;
  }

  .cards-2x2,
  .cards-3,
  .cards-4,
  .social-grid,
  .plans-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .switch-nav {
    width: 100%;
    justify-content: center;
  }

  .switch-nav label {
    padding: 10px 12px;
    font-size: 13px;
  }

  .device-phone {
    width: min(190px, 100%);
    height: 336px;
  }

  .company-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .company-form label,
  .company-form input,
  .company-form select,
  .company-form textarea,
  .form-submit {
    grid-column: span 1;
  }

  .cta-inner h2 {
    font-size: 36px;
    line-height: 42px;
  }

  .cta-inner p {
    font-size: 16px;
    line-height: 24px;
  }

  .download-intro {
    margin-bottom: 22px;
  }

  .download-kicker {
    font-size: 13px;
  }

  .download-intro h2 {
    font-size: 28px;
    line-height: 1.15;
  }

  .download-intro p {
    font-size: 16px;
    line-height: 1.45;
  }

  .download-card {
    border-radius: 22px;
    padding: 18px;
  }

  .download-copy h3 {
    font-size: 28px;
    line-height: 1.12;
  }

  .download-copy p {
    font-size: 16px;
    line-height: 1.5;
  }

  .download-copy small {
    font-size: 12px;
    line-height: 1.5;
  }

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

  .store-badge {
    min-height: 64px;
  }

  .store-badge strong {
    font-size: 16px;
  }

  .store-meta {
    font-size: 11px;
  }

  .btn,
  .btn-white {
    width: 100%;
  }

  .nav-actions .btn {
    width: auto;
  }
}

html[dir="rtl"] .navbar,
html[dir="rtl"] .hero,
html[dir="rtl"] .nav-links,
html[dir="rtl"] .nav-actions {
  direction: rtl;
}

html[dir="rtl"] .hero-copy,
html[dir="rtl"] .stats,
html[dir="rtl"] .proof-strip article,
html[dir="rtl"] .company-form,
html[dir="rtl"] .download-intro,
html[dir="rtl"] .download-copy {
  text-align: right;
}

html[dir="rtl"] .hero-card {
  left: auto;
  right: -24px;
}

html[dir="rtl"] .store-badge {
  text-align: right;
}

body.lang-ar {
  font-family: "Cairo", "Plus Jakarta Sans", "Inter", sans-serif;
}

.legal-page {
  background:
    radial-gradient(circle at top, rgba(79, 70, 229, 0.14), transparent 32%),
    radial-gradient(circle at 85% 10%, rgba(14, 165, 233, 0.14), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  min-height: 100vh;
  color: var(--text-main);
}

.subpage-shell {
  padding: 32px 0 80px;
}

.subpage-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
}

.back-link:hover,
.back-link:focus {
  color: var(--primary);
}

.subpage-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
  padding: 40px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(244, 247, 255, 0.9) 62%, rgba(224, 242, 254, 0.88) 100%);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
  isolation: isolate;
  animation: heroFloat 700ms ease-out both;
}

.subpage-hero::before {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.18), transparent 68%);
  z-index: -1;
}

.subpage-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.4), transparent 40%),
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 16px,
      rgba(148, 163, 184, 0.08) 16px,
      rgba(148, 163, 184, 0.08) 17px
    );
  pointer-events: none;
  z-index: -1;
}

.subpage-hero .pill {
  margin-bottom: 18px;
}

.subpage-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
}

.subpage-hero p {
  margin: 0;
  max-width: 760px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 30px;
}

.subpage-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.subpage-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.subpage-meta span:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  border-color: rgba(79, 70, 229, 0.2);
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.legal-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 32px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
  padding: 40px;
  backdrop-filter: blur(14px);
}

.legal-content {
  max-width: 860px;
}

.legal-section {
  padding: 0 0 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.legal-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.legal-content h2 {
  margin: 0 0 14px;
  font-size: 26px;
  line-height: 34px;
}

.legal-content p {
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 30px;
}

.legal-list {
  margin: 0 0 22px;
  padding-left: 22px;
  color: var(--text-soft);
}

.legal-list li {
  margin-bottom: 12px;
  font-size: 17px;
  line-height: 28px;
}

.legal-note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--text-main);
  font-weight: 600;
}

.legal-sidebar {
  display: grid;
  gap: 18px;
}

.legal-panel {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(12px);
}

.legal-panel h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 26px;
}

.legal-panel p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 26px;
}

.legal-links {
  display: grid;
  gap: 10px;
}

.legal-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--text-main);
  font-weight: 600;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.legal-links a:hover,
.legal-links a:focus {
  transform: translateX(4px);
  border-color: rgba(79, 70, 229, 0.22);
  background: #ffffff;
}

.legal-links a::after {
  content: "↗";
  color: var(--primary);
  font-size: 14px;
}

.legal-highlight-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.legal-highlight-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 25px;
}

.legal-highlight-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #0ea5e9);
}

@keyframes heroFloat {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 820px) {
  .subpage-topbar {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 32px;
  }

  .subpage-hero {
    padding: 28px 22px;
    border-radius: 28px;
  }

  .subpage-meta {
    gap: 10px;
  }

  .subpage-meta span {
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }

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

  .legal-card {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .subpage-hero p,
  .legal-content p,
  .legal-list li {
    font-size: 16px;
    line-height: 28px;
  }

  .legal-panel {
    padding: 20px;
    border-radius: 22px;
  }
}
