:root {
  --bg-base: #0f1221;
  --bg-splash: #1a1a2e;
  --bg-card: #16213e;
  --primary: #6c5ce7;
  --primary-soft: #8a7cff;
  --gold: #c9a227;
  --gold-soft: #e6c76e;
  --text: #ffffff;
  --text-secondary: #aab0d6;
  --text-muted: #6e7399;
  --border: #262a4a;
  --success: #34d399;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
html[dir='rtl'] {
  direction: rtl;
  text-align: right;
}
html[dir='rtl'] .nav {
  flex-direction: row-reverse;
}

html[dir='rtl'] .hero-inner {
  direction: rtl;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: var(--bg-base);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(15, 18, 33, 0.58);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

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

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--text-secondary);
  font-size: 15px;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  box-shadow: 0 14px 35px rgba(108, 92, 231, 0.3);
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lang-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}
.lang-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 20, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 9999;
  display: none;
  max-width: 90%;
}

.lang-banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 14px;
}

.lang-banner-actions {
  display: flex;
  gap: 10px;
}

.lang-accept,
.lang-go {
  padding: 6px 10px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  font-size: 13px;
}

.lang-accept {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.lang-go {
  background: #6c5ce7;
  color: white;
}

.lang-button:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* overlay */
.lang-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 100;
}

/* panel */
.lang-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100% - 24px));
  background: linear-gradient(180deg, #1a1a2e, #16213e);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 20px;
  display: none;
  z-index: 101;
  box-shadow: var(--shadow);
}

.lang-panel h3 {
  margin: 0 0 16px;
}

/* grid */
.lang-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.lang-card {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 600;
  transition: 0.2s;
}

.lang-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2d176f 0%, #1d3d8f 52%, #0a1d4f 100%);
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.45;
  pointer-events: none;
}

.hero::before {
  width: 280px;
  height: 280px;
  background: var(--primary-soft);
  top: -60px;
  left: -80px;
}

.hero::after {
  width: 320px;
  height: 320px;
  background: rgba(230, 199, 110, 0.4);
  right: -80px;
  bottom: -100px;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0 92px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--gold-soft);
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: 640px;
}

.hero p {
  margin: 0;
  max-width: 600px;
  font-size: 18px;
  line-height: 1.7;
  color: #dce1ff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-point {
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 16px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  box-shadow: 0 18px 40px rgba(108, 92, 231, 0.32);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
}

/* App preview */

.hero-panel {
  position: relative;
}

.app-preview {
  border-radius: 34px;
  padding: 18px;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 46, 0.96),
    rgba(22, 33, 62, 0.96)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.screen {
  border-radius: 26px;
  padding: 20px;
  background: linear-gradient(
    180deg,
    rgba(15, 18, 33, 0.98),
    rgba(16, 25, 54, 0.98)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.screen-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.screen-kicker {
  color: var(--text-secondary);
  font-size: 14px;
}

.screen-title {
  font-size: 28px;
  font-weight: 800;
  margin-top: 4px;
}

.badge {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--gold-soft);
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(230, 199, 110, 0.2);
  font-size: 13px;
  font-weight: 800;
}

.card-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mini-card {
  border-radius: 20px;
  padding: 14px;
  background: linear-gradient(
    180deg,
    rgba(108, 92, 231, 0.24),
    rgba(255, 255, 255, 0.04)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-card-art {
  height: 108px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 36px;
  background: radial-gradient(
    circle at top,
    rgba(230, 199, 110, 0.24),
    rgba(108, 92, 231, 0.12),
    transparent 72%
  );
}

.mini-card h3 {
  margin: 12px 0 4px;
  font-size: 15px;
}

.mini-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.progress-box {
  margin-top: 16px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

.progress-number {
  font-size: 36px;
  font-weight: 900;
}

.progress-label {
  color: var(--text-secondary);
  font-size: 14px;
}

.progress-track {
  margin-top: 12px;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.progress-fill {
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--primary-soft),
    var(--gold-soft)
  );
}

/* Sections */

section {
  padding: 88px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.section-heading span {
  display: inline-block;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 14px 0 14px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.7;
}

.features-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 18px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.split-section {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.steps {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.step {
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.step-number {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
}

.step h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.step p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

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

.shot {
  padding: 12px;
  border-radius: 28px;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.shot-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  background: radial-gradient(
    circle at top,
    rgba(108, 92, 231, 0.22),
    rgba(10, 29, 79, 0.96)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.shot-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay text */
.shot-screen div {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
}

.shot-screen strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.shot-screen span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

/* Mobile */
@media (max-width: 720px) {
  .shots-grid {
    grid-template-columns: 1fr;
  }
}

.cta-card {
  border-radius: 36px;
  padding: 42px;
  background: linear-gradient(
    135deg,
    rgba(108, 92, 231, 0.2),
    rgba(230, 199, 110, 0.08)
  );
  border: 1px solid rgba(230, 199, 110, 0.14);
  box-shadow: var(--shadow);
  text-align: center;
}

.cta-card h2 {
  margin: 18px 0 12px;
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.cta-card p {
  max-width: 720px;
  margin: 0 auto;
  color: #d7ddff;
  font-size: 18px;
  line-height: 1.7;
}

.cta-pill {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--gold-soft);
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(230, 199, 110, 0.18);
  font-weight: 800;
  font-size: 14px;
}

.cta-form {
  margin: 28px auto 0;
  display: flex;
  justify-content: center;
}

.cta-form input {
  min-height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 18, 33, 0.8);
  color: var(--text);
  padding: 0 18px;
  font-size: 16px;
  outline: none;
}
.cta-form .button {
  padding: 16px 28px;
  font-size: 16px;
}

.cta-form input::placeholder {
  color: var(--text-muted);
}

.cta-note {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 14px;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 26px 0 34px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  color: var(--text-secondary);
}

.footer-brand strong {
  display: block;
  color: var(--text);
  margin-bottom: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--text);
}

/* Tablet */

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

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

/* Mobile nav */

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-right {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    width: min(260px, calc(100vw - 24px));
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
    background: linear-gradient(
      180deg,
      rgba(26, 26, 46, 0.98),
      rgba(22, 33, 62, 0.98)
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
  }

  .nav-right.show {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-links a {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .nav-cta {
    width: 100%;
  }
}

/* Mobile layout */

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

  .nav {
    padding: 14px 0;
  }

  .hero-inner {
    padding: 54px 0 70px;
    gap: 30px;
  }

  section {
    padding: 68px 0;
  }

  .cta-card {
    padding: 30px 20px;
  }

  .shots-grid,
  .cta-form {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 520px) {
  .hero h1 {
    font-size: 40px;
  }

  .hero p,
  .section-heading p,
  .cta-card p {
    font-size: 16px;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

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

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

  .screen-top,
  .progress-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
