/* ============================================
   Claude Code Course · landing (RTL, Hebrew)
   ============================================ */

:root {
  --bg-deep: #070a12;
  --bg-mid: #0d1224;
  --text: #e8ecf8;
  --text-muted: #9aa4c0;
  --accent: #6366f1;
  --accent-2: #22d3ee;
  --accent-3: #a78bfa;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --radius: 1.25rem;
  --font: "Heebo", system-ui, sans-serif;
  --shadow-glow: 0 0 80px rgba(99, 102, 241, 0.25);
  --layout-max: 1120px;
  --layout-pad-x: clamp(1rem, 4vw, 2.5rem);
  --header-stack: 4.25rem;
  --touch-min: 44px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  max-width: 100%;
}

main {
  max-width: 100%;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

/* Ambient background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 120% 80% at 80% -10%, rgba(99, 102, 241, 0.35), transparent 50%),
    radial-gradient(ellipse 90% 70% at 0% 100%, rgba(34, 211, 238, 0.2), transparent 45%),
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(167, 139, 250, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 45%, var(--bg-deep) 100%);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
  animation: float 18s ease-in-out infinite;
}

.orb-a {
  width: min(420px, 60vw);
  height: min(420px, 60vw);
  background: var(--accent);
  top: -8%;
  left: -5%;
  animation-delay: 0s;
}

.orb-b {
  width: min(360px, 50vw);
  height: min(360px, 50vw);
  background: var(--accent-2);
  bottom: 10%;
  right: -8%;
  animation-delay: -6s;
  opacity: 0.35;
}

.orb-c {
  width: min(280px, 40vw);
  height: min(280px, 40vw);
  background: var(--accent-3);
  top: 40%;
  right: 25%;
  animation-delay: -12s;
  opacity: 0.25;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(4%, 3%) scale(1.05);
  }
  66% {
    transform: translate(-3%, 5%) scale(0.98);
  }
}

/* Layout shell — רוחב אחיד לכל הבלוקים */
.layout-shell {
  width: 100%;
  max-width: var(--layout-max);
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
  padding-left: max(var(--layout-pad-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--layout-pad-x), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  /* בלי backdrop-filter: אחרת בדפדפנים רבים התפריט position:fixed נמדד מול ה-header ונדחס לרוחב/גובה שלו */
  background: rgba(7, 10, 18, 0.94);
  border-bottom: 1px solid var(--glass-border);
}

.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: 100%;
  min-width: 0;
  padding-top: max(0.75rem, env(safe-area-inset-top));
  padding-bottom: 0.75rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  margin: 0;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: var(--glass);
  color: var(--text);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 22px;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 1px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-cta {
  display: none;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  min-width: 0;
  flex: 0 1 auto;
}

.logo-img {
  height: 40px;
  width: auto;
  max-width: min(170px, 52vw, 100%);
  object-fit: contain;
  display: block;
}

@media (min-width: 768px) {
  .logo-img {
    height: 44px;
    max-width: 220px;
  }
}

.nav {
  display: none;
  gap: clamp(0.65rem, 1.2vw, 1.15rem);
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.82rem;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--text);
}

@media (min-width: 768px) {
  .nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(0.5rem, 1.5vw, 1.15rem);
  }

  .nav-mobile-cta {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .nav a {
    font-size: 0.8rem;
  }
}

@media (max-width: 767px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none !important;
  }

  .hero-actions .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }

  .site-header__row {
    flex-wrap: nowrap;
    min-height: var(--header-stack);
  }

  .section-title,
  .pricing-heading {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: var(--header-stack);
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    height: calc(100dvh - var(--header-stack));
    height: calc(100vh - var(--header-stack));
    min-height: 0;
    bottom: auto;
    margin: 0;
    padding: 1rem max(var(--layout-pad-x), env(safe-area-inset-left, 0px)) calc(1.25rem + env(safe-area-inset-bottom)) max(var(--layout-pad-x), env(safe-area-inset-right, 0px));
    gap: 0.5rem;
    background: rgba(7, 10, 18, 0.98);
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    z-index: 1000;
    box-sizing: border-box;
  }

  .nav.is-open {
    display: flex;
  }

  .nav > a:not(.nav-mobile-cta) {
    padding: 0.95rem 1rem;
    font-size: 1.0625rem;
    font-weight: 600;
    border-radius: var(--radius);
    white-space: normal;
    text-align: right;
    -webkit-tap-highlight-color: transparent;
  }

  .nav > a:not(.nav-mobile-cta):active {
    background: var(--glass);
  }

  .nav-mobile-cta {
    display: inline-flex !important;
    justify-content: center;
    margin-top: 0.75rem;
    width: 100%;
    min-height: var(--touch-min);
    box-sizing: border-box;
  }
}

.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta {
    display: inline-flex;
    flex-shrink: 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #4f46e5 60%, var(--accent-3));
  color: var(--text);
  box-shadow: var(--shadow-glow), 0 4px 24px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 100px rgba(99, 102, 241, 0.35), 0 8px 32px rgba(0, 0, 0, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--glass-border);
}

.btn-outline:hover {
  background: var(--glass);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-ghost {
  background: var(--glass);
  color: var(--text);
  border: 1px solid var(--glass-border);
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding-top: clamp(2rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
  padding-left: max(var(--layout-pad-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--layout-pad-x), env(safe-area-inset-right, 0px));
  width: 100%;
  max-width: var(--layout-max);
  margin: 0 auto;
  box-sizing: border-box;
  min-width: 0;
}

.hero-grid {
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
  min-width: 0;
}

.hero-copy,
.hero-panel {
  min-width: 0;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.75rem, 4vw, 3rem);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  margin: 0 0 1rem;
}

.eyebrow.dark {
  color: var(--accent);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.15);
  }
}

.hero-title {
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.gradient-text {
  background: linear-gradient(120deg, var(--text), var(--accent-2) 45%, var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: none;
  margin: 0 0 1.25rem;
  overflow-wrap: anywhere;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  max-width: 48ch;
}

.hero-bullets li {
  position: relative;
  padding-right: 1.2rem;
  margin-bottom: 0.55rem;
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.5;
}

.hero-bullets li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

.hero-price-line {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 48ch;
}

.hero-price-line strong {
  color: var(--text);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-stats strong {
  color: var(--text);
  display: block;
  font-size: 0.95rem;
}

/* Terminal / glass panel */
.hero-panel {
  position: relative;
  max-width: 100%;
}

.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 100%;
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--glass-border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red {
  background: #ff5f57;
}
.dot.amber {
  background: #febc2e;
}
.dot.green {
  background: #28c840;
}

.terminal-title {
  margin-right: auto;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.terminal-body {
  margin: 0;
  padding: 1.15rem 1.1rem 1.35rem;
  font-size: 0.78rem;
  line-height: 1.65;
  direction: ltr;
  text-align: left;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
}

.terminal-body code {
  display: block;
  max-width: 100%;
  white-space: pre;
  word-break: normal;
  overflow-wrap: normal;
}

.terminal-body .c1 {
  color: #6ee7b7;
}
.terminal-body .c2 {
  color: var(--accent-2);
}
.terminal-body .c3 {
  color: var(--text-muted);
}
.terminal-body .c4 {
  color: #86efac;
}

.badge-float {
  position: absolute;
  bottom: -0.75rem;
  left: 1.25rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(167, 139, 250, 0.9));
  color: var(--text);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.4);
  animation: badgebob 4s ease-in-out infinite;
}

@keyframes badgebob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Sections */
.section {
  padding-top: clamp(3rem, 8vw, 5.5rem);
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
  padding-left: max(var(--layout-pad-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--layout-pad-x), env(safe-area-inset-right, 0px));
  width: 100%;
  max-width: var(--layout-max);
  min-width: 0;
  margin: 0 auto;
  box-sizing: border-box;
  overflow-x: hidden;
}

.section.section-alt {
  max-width: none;
  padding: 0;
  margin: 0;
}

.section-title {
  font-size: clamp(1.65rem, 3.5vw, 2.1rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--text-muted);
  max-width: none;
  margin: 0 0 2.25rem;
  font-size: 1.05rem;
}

.section-narrow {
  max-width: var(--layout-max);
}

.section-kicker {
  margin: 2rem 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-2);
  max-width: none;
  line-height: 1.55;
}

.section-inner {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding-left: max(var(--layout-pad-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--layout-pad-x), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.why-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.glass-card.soft {
  padding: 1.5rem 1.35rem;
}

.glass-card.accent-border {
  border-color: rgba(34, 211, 238, 0.32);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.why-label {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-2);
}

.why-problem p,
.why-solution p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.tight-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tight-list li {
  position: relative;
  padding-right: 1rem;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.tight-list li:last-child {
  margin-bottom: 0;
}

.deliver-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .deliver-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.5rem;
  }
}

.deliver-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.45;
}

.deliver-marker {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.45);
}

.cards-tight {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .cards-tight {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .cards-tight {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1140px) {
  .cards-tight {
    grid-template-columns: repeat(5, 1fr);
  }
}

.example-compare {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .example-compare {
    grid-template-columns: 1fr 1fr;
  }
}

.example-col {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
}

.example-col-muted {
  background: rgba(0, 0, 0, 0.2);
}

.example-col-highlight {
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.18), rgba(34, 211, 238, 0.1));
  border-color: rgba(34, 211, 238, 0.35);
}

.example-heading {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 700;
}

.example-col p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.85rem;
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.trust-bar-inline {
  margin-top: 0.85rem;
  margin-bottom: 0;
  max-width: 100%;
}

.trust-item {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-3);
  opacity: 0.7;
}

@media (max-width: 540px) {
  .trust-sep {
    display: none;
  }

  .trust-bar {
    flex-direction: column;
    text-align: center;
  }
}

.section-alt {
  background: rgba(0, 0, 0, 0.25);
  border-y: 1px solid var(--glass-border);
}

.section-alt .split {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding-top: clamp(3rem, 8vw, 5.5rem);
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
  padding-left: max(var(--layout-pad-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--layout-pad-x), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.feature-card {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  transition: transform 0.25s, border-color 0.25s;
  min-width: 0;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.35);
}

.feature-icon {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

.split-copy,
.split-panel {
  min-width: 0;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-right: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  right: 0;
  top: 0.15rem;
  color: var(--accent-2);
  font-weight: 700;
}

.quote-block {
  margin: 0;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.15), rgba(34, 211, 238, 0.08));
  border: 1px solid var(--glass-border);
}

.quote-block p {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  line-height: 1.65;
}

.quote-block footer {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Pricing */
.pricing-section {
  max-width: var(--layout-max);
  margin: 0 auto;
  text-align: center;
}

.section.pricing-section {
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.pricing-heading {
  font-size: clamp(1.65rem, 3.5vw, 2.1rem);
  font-weight: 800;
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}

.pricing-intro {
  color: var(--text-muted);
  max-width: none;
  margin: 0 auto 2rem;
  font-size: 1.02rem;
  line-height: 1.55;
}

.pricing-grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
  margin-top: 0.75rem;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

.pricing-card {
  width: 100%;
  min-width: 0;
  padding: clamp(2rem, 5vw, 2.75rem);
  border-radius: calc(var(--radius) + 4px);
  text-align: center;
  position: relative;
  overflow-wrap: anywhere;
}

.pricing-card-popular {
  padding-top: clamp(2.35rem, 5vw, 2.85rem);
  border-color: rgba(34, 211, 238, 0.42);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(34, 211, 238, 0.12);
}

.pricing-popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--accent-2), #06b6d4);
  color: var(--bg-deep);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.35);
}

.glass-strong {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(24px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.price {
  font-size: clamp(3rem, 10vw, 3.75rem);
  font-weight: 800;
  margin: 0.25rem 0;
  letter-spacing: -0.04em;
}

.currency {
  font-size: 0.55em;
  vertical-align: super;
  margin-left: 0.15em;
}

.price-note {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  text-align: right;
}

.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-muted);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.fine-print {
  margin: 1rem auto 0;
  max-width: none;
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.85;
}

/* Footer */
.site-footer {
  padding-top: 2rem;
  padding-bottom: 2rem;
  padding-left: max(var(--layout-pad-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--layout-pad-x), env(safe-area-inset-right, 0px));
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--glass-border);
}

.site-footer p {
  max-width: var(--layout-max);
  margin: 0 auto;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .orb,
  .badge-float,
  .pulse {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn-primary:hover,
  .feature-card:hover {
    transform: none;
  }

  .nav-toggle-bar {
    transition: none;
  }
}

/* ——— מובייל וטאבלט ——— */
@media (max-width: 599px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: var(--touch-min);
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .hero-title {
    font-size: clamp(1.65rem, 6.5vw, 2.85rem);
    line-height: 1.2;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .terminal-body {
    font-size: 0.68rem;
    padding: 1rem 0.85rem 1.15rem;
  }

  .terminal-title {
    font-size: 0.65rem;
  }

  .badge-float {
    left: 50%;
    right: auto;
    transform: translate(-50%, 0);
    font-size: 0.78rem;
    max-width: calc(100% - 2rem);
    text-align: center;
    white-space: normal;
    animation: none;
  }

  .pricing-popular-badge {
    white-space: normal;
    max-width: min(220px, 85vw);
    text-align: center;
    line-height: 1.25;
  }

  .price {
    font-size: clamp(2.5rem, 12vw, 3.75rem);
  }

  .feature-card h3 {
    font-size: 1.02rem;
  }

  .quote-block {
    padding: 1.35rem 1.15rem;
  }

  .quote-block p {
    font-size: 1rem;
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .hero-grid {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .pricing-features {
    text-align: center;
  }

  .trust-item {
    font-size: 0.82rem;
    text-align: center;
    line-height: 1.4;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .section {
    padding-top: clamp(2.5rem, 6vw, 5.5rem);
    padding-bottom: clamp(2.5rem, 6vw, 5.5rem);
  }

  .hero {
    padding-top: clamp(1.75rem, 4vw, 5rem);
    padding-bottom: clamp(2.25rem, 5vw, 6rem);
  }
}

@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: var(--touch-min);
    padding-top: max(0.75rem, 12px);
    padding-bottom: max(0.75rem, 12px);
  }

  .btn-ghost {
    min-height: var(--touch-min);
  }

  .feature-card:hover {
    transform: none;
  }

  .btn-primary:active {
    transform: scale(0.98);
  }
}
