:root {
  --bg: #06112a;
  --bg-2: #081b40;
  --panel: rgba(8, 24, 56, 0.86);
  --panel-2: rgba(8, 24, 56, 0.7);
  --text: #f4f7ff;
  --muted: #b7c6e6;
  --brand: #1f7bff;
  --brand-2: #1df0b7;
  --accent: #3ef2ff;
  --stroke: rgba(255, 255, 255, 0.16);
  --shadow: 0 30px 70px rgba(3, 9, 24, 0.6);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", "Manrope", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] .nav {
  flex-direction: row-reverse;
}

html[dir="rtl"] .nav-cta {
  flex-direction: row-reverse;
}

html[dir="rtl"] .hero-panel,
html[dir="rtl"] .section,
html[dir="rtl"] .footer {
  text-align: right;
}

html[dir="rtl"] .seo-links {
  justify-content: flex-end;
}

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

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: rgba(6, 17, 42, 0.35);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: visible;
}

.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -24px;
  height: 24px;
  background: linear-gradient(180deg, rgba(6, 17, 42, 0.55), rgba(6, 17, 42, 0));
  pointer-events: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}

.brand img {
  width: 110px;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.35));
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
  position: relative;
  z-index: 200;
}

.lang-select {
  position: relative;
  z-index: 210;
}

.lang-toggle {
  appearance: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--stroke);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lang-toggle::-webkit-details-marker {
  display: none;
}

.lang-toggle::marker {
  content: "";
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
}

.lang-flag {
  font-size: 16px;
  line-height: 1;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: rgba(9, 21, 48, 0.98);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 6px;
  margin: 0;
  list-style: none;
  min-width: 180px;
  display: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  z-index: 90;
  max-height: 320px;
  overflow-y: auto;
}

.lang-select.open .lang-menu {
  display: block;
}

.lang-select:focus-within .lang-menu {
  display: block;
}

.lang-menu li {
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
}

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


.lang {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--stroke);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
}

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

.nav-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
  font-weight: 600;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 130px 0 60px;
  min-height: 72vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg video,
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) brightness(0.95);
}

.hero-bg video {
  transform: scale(1.12);
  transform-origin: center center;
}

.hero-bg .bg-mobile {
  display: none;
}

.hero-bg .bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: normal;
  opacity: 1;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 520px at 15% 20%, rgba(8, 24, 56, 0.85), transparent 60%),
    linear-gradient(180deg, rgba(6, 17, 42, 0.35), rgba(6, 17, 42, 0.7));
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(6, 17, 42, 0) 0%, rgba(6, 17, 42, 0.85) 100%);
  z-index: 2;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: center;
}

.hero-panel {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 30px;
  padding: 34px;
  box-shadow: var(--shadow);
  max-width: 560px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: rgba(33, 165, 255, 0.18);
  border: 1px solid rgba(33, 165, 255, 0.35);
}

.hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  text-transform: uppercase;
}

.hero-sub {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 22px;
}

.hero-promo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  color: #0b1a3d;
  background: linear-gradient(120deg, #ffffff, #dffbff 60%, #b9ffe8);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  margin-bottom: 16px;
}

.hero-promo strong {
  color: #0a5bff;
}

.hero-form {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-form input,
.hero-form select {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px;
}

.hero-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 700;
  background: linear-gradient(110deg, #1e7bff, #19e9b6);
  color: #fff;
  border: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.cta.ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  box-shadow: none;
}

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.hero-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}


.signal {
  position: absolute;
  top: 40px;
  right: 200px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(120deg, #19e9b6, #2dff7a);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  transform: rotate(-8deg);
}

.signal::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 14px solid rgba(255, 255, 255, 0.95);
}

.signal.down {
  top: 130px;
  right: 130px;
  background: linear-gradient(120deg, #ff3b3b, #ff7a6b);
  transform: rotate(6deg);
}

.signal.down::before {
  border-bottom: none;
  border-top: 14px solid rgba(255, 255, 255, 0.95);
}

.section {
  padding: 70px 0;
  background: linear-gradient(180deg, rgba(6, 17, 42, 0.96), rgba(6, 17, 42, 0.98));
}

.section h2 {
  font-size: clamp(24px, 3vw, 36px);
  margin: 0 0 16px;
}

.section p.lead {
  color: var(--muted);
  margin: 0 0 30px;
}

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

.card {
  background: var(--panel-2);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.card h3 {
  margin-top: 0;
}

.card p {
  color: var(--muted);
}

.seo-text {
  column-count: 2;
  column-gap: 32px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.seo-text p {
  break-inside: avoid;
  margin: 0 0 14px;
}

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

.seo-wrapper {
  position: relative;
  max-height: 520px;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.seo-wrapper::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(6, 17, 42, 0), rgba(6, 17, 42, 0.92));
  pointer-events: none;
}

.seo-wrapper.expanded {
  max-height: none;
}

.seo-wrapper.expanded::after {
  display: none;
}

.seo-toggle {
  margin-top: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.seo-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
}

.seo-toggle.is-hidden {
  display: none;
}

.seo-card {
  background: var(--panel-2);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.seo-card h3 {
  margin-top: 0;
}

.seo-card p,
.seo-card li {
  color: var(--muted);
}

.seo-card ul {
  margin: 0;
  padding-left: 18px;
}

.seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.seo-links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}

.cta-strip {
  background: linear-gradient(120deg, rgba(18, 40, 88, 0.9), rgba(7, 18, 42, 0.95));
  padding: 60px 0;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

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

.faq details {
  background: var(--panel-2);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.footer {
  padding: 40px 0 60px;
  color: var(--muted);
  border-top: 1px solid var(--stroke);
  background: #06112a;
}

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


.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.qr-float {
  position: static;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(9, 21, 48, 0.92);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

.qr-float img {
  width: 86px;
  height: 86px;
  display: block;
  border-radius: 12px;
}

.qr-float span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.2;
}

.qr-float strong {
  display: block;
  font-size: 14px;
  color: var(--text);
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(-8deg);
  }
  50% {
    transform: translateY(-10px) rotate(-8deg);
  }
  100% {
    transform: translateY(0px) rotate(-8deg);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .cards,
  .faq {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav-right {
    display: flex;
    gap: 10px;
    font-size: 12px;
    flex-wrap: wrap;
  }

  .hero-visual {
    min-height: 360px;
  }

  .signal {
    right: 120px;
  }

  .signal.down {
    right: 60px;
  }
}

@media (max-width: 1200px) {
  .hero {
    min-height: 68vh;
  }

  .hero-visual {
    min-height: 380px;
  }

  .signal {
    right: 150px;
  }

  .signal.down {
    right: 90px;
  }
}

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

  .hero-panel {
    max-width: none;
  }

  .hero-visual {
    min-height: 320px;
  }
}

@media (max-width: 700px) {
  .hero {
    padding-top: 120px;
    min-height: auto;
  }

  .hero-bg .bg-overlay {
    display: none;
  }

  .hero-visual {
    min-height: 280px;
    padding: 10px 0 20px;
  }

  .signal {
    display: none;
  }

  .hero-bg .bg-desktop {
    display: none;
  }

  .hero-bg .bg-mobile {
    display: block;
  }

  .signal {
    top: 20px;
    right: 30px;
    font-size: 14px;
    padding: 8px 14px;
  }

  .signal.down {
    top: 70px;
    right: 16px;
  }

  .topbar {
    position: fixed;
  }
}

@media (max-width: 600px) {
  .cta {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .brand img {
    width: 92px;
  }

  .qr-float {
    margin-top: 10px;
  }

  .nav-right {
    width: 100%;
    justify-content: space-between;
  }

  .seo-text {
    column-count: 1;
  }

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

  .seo-wrapper {
    max-height: 640px;
  }

  .sticky-cta {
    left: 12px;
    right: 12px;
    max-width: calc(100% - 24px);
    box-sizing: border-box;
    width: auto;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .sticky-cta.cta {
    width: auto;
  }
}

@media (max-width: 420px) {
  .hero-panel {
    padding: 22px;
    border-radius: 22px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero-sub {
    font-size: 14px;
  }
}
