:root {
  --ky-deep-navy: #0f172a;
  --ky-charcoal: #1e293b;
  --ky-slate: #334155;
  --ky-electric-blue: #0d6efd;
  --ky-electric-blue-strong: #084eeb;
  --ky-sky-blue: #38bdf8;
  --ky-light-gray: #f1f5f9;
  --ky-white: #ffffff;
  --bg: var(--ky-deep-navy);
  --surface-dark: rgba(255, 255, 255, 0.08);
  --surface-light: #ffffff;
  --surface-light-alt: #f8fafc;
  --line: #e2e8f0;
  --text: var(--ky-charcoal);
  --text-dark: var(--ky-deep-navy);
  --muted: #64748b;
  --primary: var(--ky-electric-blue);
  --primary-2: var(--ky-sky-blue);
  --accent: var(--ky-electric-blue);
  --danger: #ef4444;
  --shadow-lg: 0 24px 48px rgba(15, 23, 42, 0.18);
  --shadow-md: 0 12px 24px rgba(15, 23, 42, 0.1);
  --radius-xl: 24px;
  --radius-lg: 16px;
  --max: 1180px;
  --header-height: 86px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, var(--ky-deep-navy) 0%, var(--ky-charcoal) 28%, #f8fafc 28%, #ffffff 100%);
}

body[data-lang="he"] {
  font-family: "Rubik", sans-serif;
}

body[data-lang="en"] {
  font-family: "Manrope", sans-serif;
}

body[data-lang="en"] h1,
body[data-lang="en"] h2,
body[data-lang="en"] h3,
body[data-lang="en"] .brand-copy strong {
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

body[data-lang="he"] input,
body[data-lang="he"] select,
body[data-lang="he"] textarea {
  text-align: right;
}

body[data-lang="en"] input,
body[data-lang="en"] select,
body[data-lang="en"] textarea {
  text-align: left;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(15, 23, 42, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-shell {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.brand-copy strong {
  color: #fff;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0;
}

.brand-copy span {
  color: #cbd5e1;
  font-size: 12px;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.desktop-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.desktop-nav-links a {
  color: #e2e8f0;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.2s ease;
}

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

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

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.lang-switcher a {
  min-width: 42px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 700;
}

.lang-switcher a.active {
  background: #fff;
  color: var(--ky-deep-navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  border-radius: 12px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--ky-electric-blue), var(--ky-electric-blue-strong));
  box-shadow: 0 12px 24px rgba(13, 110, 253, 0.26);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn.full {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.nav-toggle::before {
  top: 16px;
}

.nav-toggle span {
  top: 23px;
}

.nav-toggle::after {
  top: 30px;
}

.nav-toggle.is-open span {
  opacity: 0;
}

.nav-toggle.is-open::before {
  top: 23px;
  transform: rotate(45deg);
}

.nav-toggle.is-open::after {
  top: 23px;
  transform: rotate(-45deg);
}

.mobile-overlay,
.mobile-menu {
  display: none;
}

.hero {
  padding: 52px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 28px;
  align-items: center;
}

.hero-copy h1 {
  margin: 18px 0 14px;
  color: #fff;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 11ch;
}

.gradient-text {
  background: linear-gradient(135deg, var(--ky-sky-blue) 0%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 24px;
  max-width: 680px;
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.9;
}

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

.hero-actions {
  margin-bottom: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow.dark {
  color: #e0f2fe;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.22);
}

.eyebrow.light {
  color: var(--ky-electric-blue);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: none;
}

.product-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
  padding: 24px;
}

.product-shell::before {
  content: none;
}

.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.product-title {
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}

.product-subtitle {
  color: #cbd5e1;
  font-size: 13px;
}

.product-badge {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #eff6ff;
  background: rgba(13, 110, 253, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.22);
  font-size: 12px;
  font-weight: 700;
}

.hero-illustration {
  width: 100%;
  margin: 8px auto 18px;
  filter: drop-shadow(0 28px 42px rgba(7, 13, 34, 0.6));
}

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

.metric-card {
  border-radius: var(--radius-lg);
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-card strong {
  display: block;
  color: #fff;
  font-size: 16px;
  margin-bottom: 6px;
}

.metric-card span {
  display: block;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.7;
}

.floating-chip {
  position: absolute;
  z-index: 2;
  min-height: 42px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  color: #fff;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.22);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.floating-chip.a {
  top: -10px;
  inset-inline-start: 28px;
}

.floating-chip.b {
  bottom: 22px;
  inset-inline-end: -8px;
}

.section {
  padding: 36px 0;
}

.section.tight {
  padding-top: 22px;
}

.section-head {
  max-width: 790px;
  margin: 0 auto 24px;
  text-align: center;
}

.section-head.left {
  margin-inline: 0 auto;
  text-align: start;
}

.section-head h2 {
  margin: 12px 0 10px;
  color: var(--text-dark);
  font-size: clamp(30px, 4.6vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.surface-panel {
  background: var(--surface-light);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 30px;
}

.surface-panel.dark {
  background: linear-gradient(135deg, var(--ky-deep-navy) 0%, var(--ky-charcoal) 100%);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.surface-panel.dark .section-head h2 {
  color: #fff;
}

.surface-panel.dark .section-head p {
  color: #c8d5f2;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

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

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

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

.feature-card,
.use-card,
.audience-card,
.stat-card,
.compare-card {
  height: 100%;
  background: var(--surface-light-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.stat-card.dark,
.compare-card.dark {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.feature-card h3,
.use-card h3,
.audience-card h3,
.stat-card h3,
.compare-card h3 {
  margin: 0 0 10px;
  color: var(--text-dark);
  font-size: 23px;
  line-height: 1.18;
  letter-spacing: 0;
}

.stat-card.dark h3,
.compare-card.dark h3 {
  color: #fff;
}

.feature-card p,
.use-card p,
.audience-card p,
.stat-card p,
.compare-card p,
.audience-card li {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.82;
}

.stat-card.dark p,
.compare-card.dark p {
  color: #d6e0f9;
}

.icon-dot {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--ky-electric-blue), var(--ky-sky-blue));
}

.steps .step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--ky-electric-blue), var(--ky-sky-blue));
}

.steps h3 {
  margin: 0 0 8px;
  color: var(--text-dark);
  font-size: 22px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.compact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 18px;
}

.audience-card ul {
  margin: 14px 0 0;
  padding-inline-start: 18px;
  display: grid;
  gap: 8px;
}

.card-action {
  margin-top: 18px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ky-electric-blue);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.compare-table-wrap {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}

.compare-table thead th {
  background: #eff6ff;
  color: var(--ky-deep-navy);
  font-size: 15px;
}

.compare-table tbody th {
  width: 24%;
  background: #f8fafc;
  color: var(--ky-deep-navy);
  font-size: 15px;
}

.compare-table td {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.faq-grid {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(17, 31, 61, 0.03);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  position: relative;
  color: var(--ky-deep-navy);
  font-size: 17px;
  font-weight: 700;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 18px;
  top: 14px;
  color: var(--ky-electric-blue);
  font-size: 26px;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.lead-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 0.94fr) minmax(320px, 1.06fr);
  gap: 18px;
  align-items: start;
}

.lead-copy h2 {
  margin: 12px 0 12px;
  color: #fff;
  font-size: clamp(32px, 4.4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead-copy p {
  margin: 0;
  color: #d5dff8;
  font-size: 18px;
  line-height: 1.85;
}

.lead-points {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.lead-point {
  border-radius: var(--radius-lg);
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lead-point strong {
  display: block;
  color: #fff;
  font-size: 15px;
  margin-bottom: 5px;
}

.lead-point span {
  display: block;
  color: #d4def8;
  font-size: 14px;
  line-height: 1.75;
}

.lead-form {
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 50px rgba(6, 17, 40, 0.2);
  padding: 24px;
}

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

.form-grid .full {
  grid-column: 1 / -1;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--ky-deep-navy);
  font-size: 14px;
  font-weight: 700;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ky-deep-navy);
  padding: 14px 16px;
}

.lead-form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  margin: 12px 0 0;
  color: #6a7ea4;
  font-size: 13px;
  line-height: 1.7;
}

.form-status {
  min-height: 22px;
  margin-top: 12px;
  color: var(--ky-electric-blue);
  font-size: 14px;
}

.site-footer {
  padding: 34px 0 48px;
  background: var(--ky-light-gray);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand .brand-copy strong {
  color: #10213d;
}

.footer-brand .brand-copy span {
  color: #667b9d;
}

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

.footer-links a,
.footer-legal span {
  color: #607293;
  font-size: 14px;
}

.footer-note {
  margin-top: 12px;
  color: #677b9f;
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .hero-grid,
  .compact-grid,
  .lead-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .desktop-nav {
    display: none;
  }

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

  .mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 39;
    display: block;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(4px);
    background: rgba(4, 9, 21, 0.44);
    transition: opacity 0.2s ease;
  }

  body.menu-open .mobile-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    inset-inline: 16px;
    z-index: 40;
    display: block;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: transform 0.2s ease, opacity 0.2s ease;
    border-radius: 26px;
    padding: 18px;
    background: rgba(10, 18, 42, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
  }

  body.menu-open .mobile-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-menu nav {
    display: grid;
    gap: 10px;
  }

  .mobile-menu a {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-radius: 16px;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-lang {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
  }

  .mobile-lang a.active {
    background: #fff;
    color: #09152d;
  }

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

@media (max-width: 760px) {
  .brand-copy span {
    display: none;
  }

  .site-header .header-shell {
    gap: 10px;
  }

  .site-header .brand {
    gap: 0;
  }

  .site-header .brand-copy {
    display: none;
  }

  .site-header .brand-logo {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .site-header .nav-actions {
    gap: 8px;
  }

  .site-header .nav-actions .btn {
    min-height: 46px;
    padding: 0 14px;
    font-size: 14px;
  }

  .site-header .lang-switcher a {
    min-width: 38px;
    min-height: 36px;
    padding: 0 10px;
  }

  .site-header .nav-toggle {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(34px, 11vw, 52px);
  }

  .hero-subtitle,
  .section-head p,
  .lead-copy p {
    font-size: 16px;
  }

  .surface-panel,
  .product-shell,
  .lead-form {
    padding: 22px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .product-foot,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .compare-table-wrap {
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .compare-table,
  .compare-table thead,
  .compare-table tbody,
  .compare-table tr,
  .compare-table th,
  .compare-table td {
    display: block;
    width: 100%;
  }

  .compare-table thead {
    display: none;
  }

  .compare-table tr {
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    background: #fff;
  }

  .compare-table tbody th {
    width: auto;
  }

  .floating-chip {
    display: none;
  }
}

:dir(rtl) .footer-grid {
  text-align: right;
}

:dir(ltr) .footer-grid {
  text-align: left;
}
