:root {
  --ink: #111827;
  --muted: #5b6472;
  --paper: #ffffff;
  --panel: #f6f7fb;
  --line: #e3e7ef;
  --brand: #4f46e5;
  --brand-dark: #312e81;
  --accent: #0f766e;
  --danger: #b91c1c;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

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

a {
  color: inherit;
}

.inner {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a,
.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.lang-toggle {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.lang-toggle:hover {
  border-color: var(--brand);
  color: var(--brand);
}

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

.hero-shell {
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 52px;
  align-items: center;
  padding: 46px 0 66px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.split-section h2,
.pricing-panel h2,
.final-cta h2 {
  margin: 0;
  color: var(--ink);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 5.4vw, 68px);
}

.hero-subtitle,
.section-heading p,
.split-section p,
.pricing-panel p,
.final-cta p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 700px;
}

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

.cta,
.cta-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.cta:hover {
  background: #000;
}

.cta.secondary {
  color: var(--ink);
  background: #eef0f6;
}

.cta.light {
  color: var(--ink);
  background: #fff;
}

.cta-danger {
  background: var(--danger);
}

.cta-danger:hover {
  background: #991b1b;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 680px;
  margin: 36px 0 0;
}

.trust-row div {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trust-row dt {
  font-weight: 900;
}

.trust-row dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-device {
  display: flex;
  justify-content: center;
  align-self: center;
}

.phone-frame {
  width: min(310px, 78vw);
  padding: 12px;
  border-radius: 34px;
  background: #0d1221;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 9 / 15.5;
  object-fit: cover;
  border-radius: 24px;
}

.section-block,
.split-section,
.pricing-panel,
.faq-section {
  padding: 86px 0;
}

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

.section-heading h2,
.split-section h2,
.pricing-panel h2,
.final-cta h2 {
  font-size: clamp(32px, 4.5vw, 52px);
}

.section-heading.compact {
  margin-bottom: 24px;
}

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

.feature-card,
.faq-grid article,
.security-list article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.feature-card {
  min-height: 230px;
}

.feature-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--brand);
  background: #eef2ff;
  font-weight: 900;
}

.feature-card h3,
.faq-grid h3,
.security-list h3 {
  margin: 18px 0 8px;
  line-height: 1.18;
}

.feature-card p,
.faq-grid p,
.security-list p,
.site-footer p {
  margin: 0;
  color: var(--muted);
}

.screens-band {
  padding: 104px 0 88px;
  background: #101523;
  color: #fff;
  overflow: hidden;
}

.screens-band .section-heading h2,
.screens-band .section-heading p {
  color: #fff;
}

.screens-band .section-heading p {
  color: #cbd5e1;
}

.screen-strip {
  width: min(1320px, calc(100% - 28px));
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 18px;
}

.screen-strip figure {
  margin: 0;
  padding: 10px;
  border-radius: 24px;
  background: #171e31;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 0;
}

.screen-strip img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 18px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 38px;
  align-items: start;
}

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

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--brand);
  font-weight: 850;
  text-decoration: none;
}

.pricing-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 32px;
  align-items: center;
  padding: 42px;
  margin-bottom: 52px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.check-list li {
  padding: 13px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 750;
}

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

.final-cta {
  background: var(--brand-dark);
  color: #fff;
}

.final-cta-inner {
  padding: 70px 0;
}

.final-cta h2,
.final-cta p {
  color: #fff;
}

.final-cta p {
  color: #dbeafe;
  margin-bottom: 24px;
}

.section {
  width: min(980px, calc(100% - 40px));
  margin: 40px auto 78px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 44px 42px;
  text-align: start;
}

.section h1 {
  margin-top: 0;
  color: var(--ink);
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.1;
}

.section h2 {
  margin-top: 34px;
  color: var(--ink);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.18;
}

.section h3 {
  margin-top: 18px;
  color: #1f2937;
}

.section p,
.section li {
  font-size: 17px;
}

.section ul,
.section ol {
  padding-inline-start: 26px;
}

.highlight {
  background: #eff6ff;
  border-left: 4px solid #2563eb;
  padding: 14px;
  border-radius: 6px;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 40px;
  background: #fff;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
}

.footer-brand {
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

[dir="rtl"] body {
  font-family: Tahoma, Arial, ui-sans-serif, system-ui, sans-serif;
}

[dir="rtl"] .hero h1,
[dir="rtl"] .section-heading h2,
[dir="rtl"] .split-section h2,
[dir="rtl"] .pricing-panel h2,
[dir="rtl"] .final-cta h2 {
  line-height: 1.16;
}

[dir="rtl"] .nav,
[dir="rtl"] .footer-links {
  justify-content: flex-start;
}

[dir="rtl"] .highlight {
  border-left: 0;
  border-right: 4px solid #2563eb;
}

[dir="rtl"] .section {
  text-align: right;
}

[dir="ltr"] .section {
  text-align: left;
}

@media (max-width: 960px) {
  .hero,
  .split-section,
  .pricing-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .screen-strip {
    width: min(760px, calc(100% - 28px));
  }
}

@media (max-width: 640px) {
  .inner {
    width: min(100% - 28px, 1140px);
  }

  .topbar,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav,
  .footer-links {
    justify-content: flex-start;
    gap: 12px;
  }

  .hero {
    padding-top: 36px;
    gap: 34px;
  }

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

  .trust-row,
  .feature-grid,
  .screen-strip,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .section-block,
  .split-section,
  .pricing-panel,
  .faq-section,
  .screens-band {
    padding: 56px 0;
  }

  .pricing-panel {
    padding: 24px;
  }

  .section {
    width: min(100% - 28px, 980px);
    padding: 28px 20px;
    margin-top: 24px;
  }
}
