/* Brand landing, dark RTL */
/* Birzia: יש לשים ב-fonts/ את Birzia-Regular ו-Birzia-Bold בפורמט woff2 או woff (שמות קבצים כבמצוין ב-src). */
@font-face {
  font-family: "Birzia";
  src: url("fonts/Birzia-Regular.woff2") format("woff2"),
    url("fonts/Birzia-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Birzia";
  src: url("fonts/Birzia-Regular.woff2") format("woff2"),
    url("fonts/Birzia-Regular.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Birzia";
  src: url("fonts/Birzia-Bold.woff2") format("woff2"),
    url("fonts/Birzia-Bold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Birzia";
  src: url("fonts/Birzia-Bold.woff2") format("woff2"),
    url("fonts/Birzia-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Birzia";
  src: url("fonts/Birzia-Bold.woff2") format("woff2"),
    url("fonts/Birzia-Bold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0c10;
  --bg-elevated: #12161e;
  --bg-card: #151a24;
  --border: rgba(0, 229, 255, 0.12);
  --cyan: #00e5ff;
  --cyan-dim: rgba(0, 229, 255, 0.35);
  --text: #f4f7fb;
  --text-muted: #9aa4b2;
  --gold-star: #e8c547;
  --font: "Birzia", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}

/* Background */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.22;
  z-index: -1;
  pointer-events: none;
}

.bg-glow--tr {
  top: -120px;
  left: -80px;
  background: var(--cyan);
}

.bg-glow--bl {
  bottom: -100px;
  right: -60px;
  background: #0066ff;
}

.bg-cursor-glow {
  --cursor-x: 50vw;
  --cursor-y: 45vh;
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    216px circle at var(--cursor-x) var(--cursor-y),
    rgba(0, 229, 255, 0.064) 0%,
    rgba(0, 180, 220, 0.028) 38%,
    transparent 62%
  );
}

@media (prefers-reduced-motion: reduce) {
  .bg-cursor-glow {
    background: radial-gradient(
      208px circle at 50% 45%,
      rgba(0, 229, 255, 0.04) 0%,
      transparent 55%
    );
  }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.logo__img {
  height: 2.65rem;
  width: auto;
  max-width: 12rem;
  object-fit: contain;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.nav__mobile-cta {
  display: none;
}

.header__cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--cyan);
  color: #061016;
  border-color: var(--cyan);
}

.btn--primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.45);
}

.btn--glow {
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn--block {
  width: 100%;
}

.btn--phone {
  font-variant-numeric: tabular-nums;
}

.btn__phone-icon {
  font-size: 1rem;
}

/* Hero */
.hero {
  padding: 3rem 0 4rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__content {
  position: relative;
}

.hero__visual {
  position: relative;
  min-height: 380px;
}

.eyebrow {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  color: var(--cyan);
}

.hero__sub {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0;
}

.stats__item {
  margin: 0;
  text-align: right;
}

.stats__num {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.stats__label {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Mockup */
.mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.mockup__chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: #0d1117;
  border-bottom: 1px solid var(--border);
}

.mockup__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #444;
}

.mockup__chrome .mockup__dot:nth-child(1) {
  background: #ff5f57;
}
.mockup__chrome .mockup__dot:nth-child(2) {
  background: #febc2e;
}
.mockup__chrome .mockup__dot:nth-child(3) {
  background: #28c840;
}

.mockup__url {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--bg);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  margin-inline-start: 0.5rem;
}

.mockup__body {
  padding: 1.25rem;
}

.mockup__header-bar {
  height: 12px;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.15), transparent);
  border-radius: 4px;
  margin-bottom: 1rem;
}

.mockup__hero-inner {
  padding: 1rem;
  border-radius: 8px;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

.mockup__line {
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  margin-bottom: 0.5rem;
  max-width: 70%;
}

.mockup__line--wide {
  max-width: 100%;
  height: 10px;
}

.mockup__cta {
  margin-top: 0.75rem;
  padding: 0.35rem 1rem;
  border-radius: 6px;
  border: none;
  background: var(--cyan);
  color: #061016;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font);
  cursor: default;
}

.mockup__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.mockup__col {
  height: 48px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
}

.float-badge {
  position: absolute;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.float-badge--conv {
  top: -8px;
  right: -12px;
  background: var(--cyan);
  color: #061016;
}

.float-badge--speed {
  bottom: 12px;
  left: -8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
}

.float-badge__check {
  color: #28c840;
  margin-left: 0.25rem;
}

/* Marquee */
.marquee-wrap {
  width: 100%;
  border-block: 1px solid var(--border);
  background: rgba(18, 22, 30, 0.6);
  padding: 0.85rem 0;
  overflow: hidden;
  direction: ltr;
}

.marquee {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: max-content;
  direction: ltr;
  animation: marquee-loop 32s linear infinite;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(244, 247, 251, 0.78);
  will-change: transform;
}

.marquee__group {
  display: flex;
  flex-shrink: 0;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-inline-end: clamp(1.75rem, 4vw, 3rem);
  white-space: nowrap;
}

@keyframes marquee-loop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% / var(--marquee-n, 2)));
  }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section__eyebrow {
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.section__title--center {
  text-align: center;
}

.section__title--cta {
  margin-bottom: 0.75rem;
}

.section__sub {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 0 2rem;
}

.section__sub--center {
  text-align: center;
  margin-inline: auto;
}

.section__lead {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 0 2.5rem;
}

.section__lead--center {
  text-align: center;
  max-width: none;
  margin-top: 2rem;
  margin-bottom: 0;
}

.portfolio-page__cta {
  margin-top: 2rem;
}

/* Cards grid */
.cards-grid {
  display: grid;
  gap: 1.25rem;
}

.cards-grid--pricing {
  grid-template-columns: repeat(3, 1fr);
}

.pricing-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  margin: 1.25rem 0 0;
  max-width: 100%;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  line-height: 1.55;
}

.pricing-note__text {
  flex: 0 1 auto;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-note__text--highlight {
  color: var(--text);
  font-weight: 600;
}

p.pricing-note {
  margin-bottom: 0;
}

@media (max-width: 520px) {
  .pricing-note {
    font-size: clamp(0.74rem, 3.2vw, 0.88rem);
  }
}

.cards-grid--features {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.card--package {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card--cta-card .card__title {
  margin-bottom: 0.5rem;
}

.card__icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.card__icon--star {
  color: var(--gold-star);
}

.card__icon--globe {
  color: var(--cyan);
}

.card__icon--rocket {
  filter: grayscale(0);
}

.card__icon--chat {
  font-size: 1.35rem;
}

.card__icon--gear {
  color: var(--cyan);
  font-weight: 700;
}

.card__icon--cart {
  font-size: 1.35rem;
}

.card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.card__price {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.card__desc {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  flex: 1;
}

.card__desc--flush {
  margin-bottom: 1.25rem;
}

.card__link {
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card__link:hover {
  text-decoration: underline;
}

.card--cta-card {
  justify-content: flex-start;
}

.card--cta-card .btn {
  margin-top: auto;
}

/* Feature icons */
.card--feature {
  text-align: right;
}

.card__icon-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.card__icon-icon--pink {
  background: rgba(255, 105, 180, 0.15);
  color: #ff69b4;
}

.card__icon-icon--orange {
  background: rgba(255, 159, 67, 0.18);
  color: #ff9f43;
}

.card__icon-icon--purple {
  background: rgba(155, 89, 255, 0.18);
  color: #b088ff;
}

.card__icon-icon--blue {
  background: rgba(0, 229, 255, 0.12);
  color: var(--cyan);
}

.card__icon-icon--lock {
  background: rgba(255, 159, 67, 0.15);
  color: #ff9f43;
}

.card__icon-icon--gold {
  background: rgba(232, 197, 71, 0.15);
  color: var(--gold-star);
}

.features__head .section__rule {
  height: 3px;
  width: 48px;
  background: var(--cyan);
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.features__rule {
  height: 3px;
  width: 48px;
  background: var(--cyan);
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

/* Timeline */
.process .timeline {
  position: relative;
  margin: 2.5rem 0 3rem;
  padding: 0 1rem;
}

.timeline__track {
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--cyan) 8%,
    var(--cyan) 92%,
    transparent
  );
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.timeline__nodes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  text-align: center;
}

.timeline__nodes li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.timeline__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--cyan);
  background: var(--bg);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.25);
}

.timeline__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.process-step__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
}

.process-step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Testimonials */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.testimonial {
  margin: 0;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.testimonial__stars {
  color: var(--gold-star);
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  text-align: right;
}

.testimonial p {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.65;
}

.testimonial__footer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), #0066ff);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.testimonial__name {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial__role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* CTA block */
.cta-block {
  background: linear-gradient(180deg, rgba(18, 22, 30, 0.9) 0%, var(--bg) 100%);
  border-block: 1px solid var(--border);
}

.cta-block__inner {
  text-align: center;
  max-width: 720px;
}

.cta-block__sub {
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.cta-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Footer */
.footer {
  padding: 4rem 0 0;
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer__brand {
  margin: 0 0 0.75rem;
}

.footer__brand-logo {
  height: 3.35rem;
  width: auto;
  max-width: 15.5rem;
  object-fit: contain;
  display: block;
}

.footer__text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 22rem;
}

.footer__heading {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer__links,
.footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links li,
.footer__contact li {
  margin-bottom: 0.55rem;
}

.footer__links a,
.footer__contact a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer__links a:hover,
.footer__contact a:hover {
  color: var(--cyan);
}

.footer__contact li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer__copy,
.footer__credit {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__copy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
}

.footer__copy-logo {
  height: 0.95rem;
  width: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  opacity: 0.9;
}

.brand-inline-logo {
  height: 1.35rem;
  width: auto;
  max-width: 6rem;
  object-fit: contain;
  display: inline-block;
  vertical-align: -0.25em;
  margin-inline-end: 0.35rem;
}

.brand-inline-logo--prose {
  height: 1.15rem;
  max-width: 5rem;
  vertical-align: -0.15em;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    max-width: 520px;
    margin-inline: auto;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-grid--pricing,
  .cards-grid--features {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline__nodes,
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg-elevated);
    flex-direction: column;
    padding: 1.25rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .header__cta {
    display: none;
  }

  .nav__mobile-cta {
    display: block;
    margin-top: 0.5rem;
    padding: 0.65rem 1rem;
    border: 2px solid var(--cyan);
    border-radius: 999px;
    text-align: center;
    color: var(--cyan) !important;
  }

  .nav-toggle {
    display: flex;
  }

  .cards-grid--pricing,
  .cards-grid--features {
    grid-template-columns: 1fr;
  }

  .timeline__nodes {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .float-badge--conv {
    right: 8px;
  }

  .float-badge--speed {
    left: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee {
    animation: none;
  }
}

/* עמודי משנה */
.page-hero {
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}

.page-hero__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.85rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
}

.page-hero__lead {
  margin: 0;
  color: var(--text-muted);
  max-width: 42rem;
  font-size: 1.05rem;
}

.portfolio-intro {
  margin-top: 0.85rem;
  max-width: 42rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.portfolio-page .portfolio-intro {
  max-width: none;
  width: 100%;
}

.portfolio-page .section .section__lead:not(.section__lead--center) {
  max-width: none;
}

.portfolio-intro p {
  margin: 0;
}

.portfolio-legend {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.25rem;
  margin: 0 0 2rem;
}

.portfolio-legend__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}

.portfolio-legend__title {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.portfolio-legend__desc {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.portfolio-tile__row {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.45rem 0.65rem;
  width: 100%;
}

.portfolio-tile__hint {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 400;
  line-height: 1.35;
  color: rgba(210, 230, 245, 0.88);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  opacity: 0.92;
  flex: 1 1 100%;
  min-width: 0;
}

.nav a[aria-current="page"] {
  color: var(--cyan);
  font-weight: 700;
}

.portfolio-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.portfolio-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.portfolio-tile::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58%;
  background: linear-gradient(to top, rgba(10, 14, 26, 0.55), rgba(10, 14, 26, 0.28) 48%, rgba(10, 14, 26, 0.08) 80%, transparent);
  z-index: 1;
  pointer-events: none;
}

.portfolio-tile:hover {
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.portfolio-tile__mock {
  position: absolute;
  inset: 10% 8% 32%;
  background: linear-gradient(145deg, rgba(0, 229, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border);
  border-radius: 8px;
  z-index: 0;
}

.portfolio-tile__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.portfolio-tile__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: object-position 4.2s cubic-bezier(0.38, 0, 0.62, 1);
  pointer-events: none;
}

@media (hover: hover) {
  .portfolio-tile:hover .portfolio-tile__img {
    object-position: center bottom;
  }
}

.portfolio-tile__info {
  position: relative;
  z-index: 2;
  width: 100%;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  padding: 0.4rem 0.55rem;
  margin: 0 -0.35rem;
  border-radius: 10px;
  background: linear-gradient(to top, rgba(8, 12, 22, 0.38), rgba(8, 12, 22, 0.12));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.portfolio-tile__name {
  position: relative;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portfolio-tile__tag {
  position: relative;
  display: inline;
  font-size: 0.78rem;
  font-weight: 400;
  font-family: var(--font);
  color: #fff;
  margin: 0;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
}

.portfolio-tile__tag::before {
  content: "·";
  display: inline-block;
  margin-inline: 0.35rem;
  opacity: 0.65;
  font-weight: 400;
}

.portfolio-tile__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0.35rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font);
  color: var(--cyan);
  background: rgba(10, 14, 26, 0.65);
  border: 1px solid rgba(0, 229, 255, 0.45);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.portfolio-tile__btn:hover {
  color: var(--bg);
  background: var(--cyan);
  border-color: var(--cyan);
}

.portfolio-tile__btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-tile__img {
    transition: none;
  }
}

.prose-block {
  max-width: 42rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.prose-block p {
  margin: 0 0 1rem;
}

.prose-block h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
  color: var(--text);
}

/* עמוד אודות */
.about-page .page-hero {
  border-bottom: none;
  padding-bottom: 3rem;
}

.about-page .page-hero::after {
  content: "";
  display: block;
  width: min(14rem, 45%);
  height: 2px;
  margin-top: 2rem;
  border-radius: 2px;
  background: linear-gradient(270deg, transparent, var(--cyan-dim), var(--cyan));
}

.about-page .page-hero__lead {
  max-width: min(52rem, 100%);
  font-size: clamp(1.02rem, 2vw, 1.09rem);
  line-height: 1.72;
}

.about-page__story-wrap {
  padding-top: 0;
}

.about-page .about-story {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  max-width: min(52rem, 100%);
  margin-inline: 0;
}

.about-page .about-story__segment {
  padding: 1.65rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.about-page .about-story__segment:nth-child(odd) {
  background: linear-gradient(
    165deg,
    rgba(0, 229, 255, 0.07) 0%,
    var(--bg-card) 42%,
    var(--bg-card) 100%
  );
  margin-inline-start: 0;
  margin-inline-end: clamp(0px, 6vw, 3rem);
}

.about-page .about-story__segment:nth-child(even) {
  border-inline-start: 3px solid var(--cyan);
  padding-inline-start: 1.65rem;
  margin-inline-start: clamp(0px, 5vw, 2.75rem);
  margin-inline-end: 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.about-page .about-story__segment h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.28rem, 2.4vw, 1.48rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.about-page .about-story__segment:nth-child(even) h2 {
  color: var(--cyan);
}

.about-page .about-story__segment p {
  margin: 0 0 0.95rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.78;
}

.about-page .about-story__segment p:last-child {
  margin-bottom: 0;
}

.about-page__features {
  position: relative;
  padding-top: 3.25rem;
  margin-top: 0.5rem;
}

.about-page__features::before {
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  transform: translateX(50%);
  width: min(36rem, 92vw);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 229, 255, 0.25),
    transparent
  );
}

.about-page__features .features__head .section__title {
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
}

@media (max-width: 600px) {
  .about-page .about-story__segment:nth-child(odd),
  .about-page .about-story__segment:nth-child(even) {
    margin-inline: 0;
    padding: 1.35rem 1.15rem;
  }

  .about-page .about-story__segment:nth-child(even) {
    border-inline-start: none;
    border-top: 3px solid var(--cyan);
    padding-inline-start: 1.15rem;
    padding-top: 1.5rem;
  }
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.15);
}

.contact-aside {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.contact-aside h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.contact-aside ul {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-aside li {
  margin-bottom: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.contact-aside a {
  color: var(--cyan);
  text-decoration: none;
}

.contact-aside a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .portfolio-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .portfolio-showcase {
    grid-template-columns: 1fr;
  }

  .portfolio-legend {
    grid-template-columns: 1fr;
  }
}

/* מודל יצירת קשר */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.contact-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 10, 0.86);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.contact-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  max-height: min(calc(100vh - 2rem), 640px);
  overflow-y: auto;
  background: linear-gradient(165deg, #141a24 0%, #12161e 100%);
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 20px;
  padding: 1.85rem 1.75rem 1.6rem;
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.06),
    0 28px 90px rgba(0, 0, 0, 0.65),
    0 0 80px rgba(0, 229, 255, 0.07);
  transform: scale(0.94) translateY(16px);
  transition: transform 0.32s cubic-bezier(0.34, 1.25, 0.64, 1);
}

.contact-modal.is-open .contact-modal__dialog {
  transform: scale(1) translateY(0);
}

.contact-modal__close {
  position: absolute;
  top: 0.75rem;
  inset-inline-start: 0.75rem;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.contact-modal__close:hover {
  background: rgba(0, 229, 255, 0.12);
  color: var(--cyan);
}

.contact-modal__title {
  margin: 0 0 0.65rem;
  padding-inline-end: 2.5rem;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
}

.contact-modal__lead {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.contact-modal .contact-form input,
.contact-modal .contact-form textarea {
  margin-bottom: 0.85rem;
}

.contact-modal .contact-form textarea {
  min-height: 100px;
}

.contact-modal__hint {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.contact-modal__wa {
  width: 100%;
  margin-top: 0.65rem;
  border: none;
  cursor: pointer;
  background: #25d366;
  color: #fff;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.25);
}

.contact-modal__wa:hover {
  filter: brightness(1.06);
  box-shadow: 0 0 26px rgba(37, 211, 102, 0.35);
}

.contact-modal__divider {
  margin: 1.35rem 0 1rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.contact-modal__direct {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  font-size: 0.9rem;
}

.contact-modal__direct a {
  color: var(--cyan);
  font-weight: 600;
  text-decoration: none;
}

.contact-modal__direct a:hover {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .contact-modal,
  .contact-modal__dialog {
    transition: none;
  }

  .contact-modal.is-open .contact-modal__dialog {
    transform: none;
  }
}
