/* Cheqqit landing — RTL, Hebrew */
:root {
  --navy: #063556;
  --navy-deep: #042a44;
  --accent: #1fa36c;
  --accent-hover: #198a5b;
  --bg: #f6f8fa;
  --bg-card: #ffffff;
  --text: #1a2332;
  --text-muted: #5a6578;
  --border: #e2e8f0;
  --shadow: 0 12px 40px rgba(6, 53, 86, 0.08);
  --radius: 14px;
  --font: "Heebo", system-ui, -apple-system, sans-serif;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--navy);
}

.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

.narrow {
  width: min(760px, 92vw);
}

.brand-name {
  color: var(--navy);
  font-weight: 700;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 248, 250, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(6, 53, 86, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  flex-shrink: 0;
}

.brand-logo {
  width: min(160px, 42vw);
  height: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin-inline: auto;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.site-header.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--text);
  transition: color 0.15s;
}

.site-nav a:hover {
  color: var(--navy);
}

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--navy-deep);
  color: #fff !important;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    inset-inline: 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s ease, opacity 0.25s, visibility 0.25s;
  }

  .site-header.nav-open .site-nav {
    max-height: 320px;
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .site-nav a:last-child {
    border-bottom: none;
    margin-top: 0.5rem;
    text-align: center;
  }
}

/* Hero */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 8vw, 5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

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

  .hero-panel {
    order: -1;
    max-width: 420px;
    margin-inline: auto;
  }
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

.lead {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 38ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}

.btn-primary:hover {
  background: var(--navy-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--navy);
  background: rgba(6, 53, 86, 0.04);
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 1.05rem;
}

.hero-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-bullets li {
  position: relative;
  padding-inline-start: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.hero-bullets li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* Hero visual mock */
.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mock-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  animation: float-in 0.7s ease backwards;
}

.mock-card:nth-child(1) {
  animation-delay: 0.05s;
}

.mock-card:nth-child(2) {
  animation-delay: 0.15s;
}

.mock-card:nth-child(3) {
  animation-delay: 0.25s;
}

.mock-card--main {
  border-inline-start: 4px solid var(--navy);
}

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.mock-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.mock-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--bg);
  color: var(--text-muted);
}

.mock-pill--ok {
  background: rgba(31, 163, 108, 0.15);
  color: var(--accent-hover);
}

.mock-pill--accent {
  background: rgba(6, 53, 86, 0.1);
  color: var(--navy);
}

.mock-text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.mock-tasks {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.mock-tasks span {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--border), var(--navy));
  opacity: 0.35;
}

.mock-tasks span:nth-child(2) {
  opacity: 0.55;
}

.mock-tasks span:nth-child(3) {
  opacity: 0.75;
}

.mock-card--slim {
  padding-block: 0.85rem;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mock-card,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* Sections */
.section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.section--muted {
  background: #eef2f6;
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}

.section-intro {
  margin: 0 auto 2.5rem;
  max-width: 62ch;
  text-align: center;
  color: var(--text-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

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

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(6, 53, 86, 0.04);
  transition: box-shadow 0.25s, transform 0.25s;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(31, 163, 108, 0.12);
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

.feature-card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.prose-block h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: var(--navy);
}

.prose-block ul {
  margin: 0;
  padding-inline-start: 1.25rem;
  color: var(--text-muted);
}

.prose-block li {
  margin-bottom: 0.45rem;
}

.prose-block p {
  margin: 0;
  color: var(--text-muted);
}

.pullquote {
  margin: 0;
  padding: 2rem 2.25rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border-inline-end: 5px solid var(--accent);
  box-shadow: var(--shadow);
}

.pullquote p {
  margin: 0;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
}

/* CTA */
.cta-section {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #e8f0f6;
  text-align: center;
  padding: clamp(3.5rem, 8vw, 5rem) 0;
}

.cta-inner {
  max-width: 560px;
}

.cta-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 700;
  color: #fff;
}

.cta-text {
  margin: 0 0 1.75rem;
  opacity: 0.92;
  font-size: 1.05rem;
}

.cta-section .brand-name {
  color: #fff;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.cta-section .btn-primary {
  background: var(--accent);
  color: #fff;
}

.cta-section .btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.cta-note {
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-logo {
  opacity: 0.9;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  justify-content: center;
  align-items: center;
}

.footer-legal a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}

.footer-dot {
  color: var(--text-muted);
  user-select: none;
}

.footer-copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Legal pages (תקנון / מדיניות פרטיות) */
.legal-page {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(3rem, 6vw, 4rem);
}

.legal-wrap {
  width: min(720px, 92vw);
  margin-inline: auto;
}

.legal-wrap h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.55rem, 3.2vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.legal-meta {
  margin: 0 0 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-wrap h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

.legal-wrap h2:first-of-type {
  margin-top: 0;
}

.legal-wrap p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.legal-wrap ul {
  margin: 0 0 1rem;
  padding-inline-start: 1.35rem;
  color: var(--text-muted);
}

.legal-wrap li {
  margin-bottom: 0.4rem;
}

.legal-wrap a {
  font-weight: 600;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
