/* =========================================================
   צִיר — Landing page styles
   ========================================================= */

:root {
  --navy: #192030;
  --navy-800: #212a3d;
  --navy-700: #2b374e;
  --blue: #3d5a8f;
  --green: #27ae60;
  --green-600: #1f9a53;
  --orange: #f28c38;
  --red: #ea5455;
  --yellow: #f2b632;

  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --surface: #ffffff;
  --text: #192030;
  --text-2: #4b5567;
  --text-3: #7b8494;
  --line: #e4e8ef;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(25, 32, 48, .06), 0 2px 8px rgba(25, 32, 48, .05);
  --shadow: 0 10px 30px -10px rgba(25, 32, 48, .18);
  --shadow-lg: 0 30px 60px -20px rgba(25, 32, 48, .35);

  --container: 1180px;
  --font: 'Heebo', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
svg { width: 1.2em; height: 1.2em; flex: none; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container--narrow { max-width: 820px; }

.skip-link {
  position: absolute; top: -100px; right: 1rem;
  background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 1000;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 1rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap; line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: .55rem 1.1rem; font-size: .92rem; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.08rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-600) 100%);
  color: #fff;
  box-shadow: 0 8px 22px -8px rgba(39, 174, 96, .65);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(39, 174, 96, .7); }

.btn--ghost { color: var(--text); background: transparent; border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--bg-alt); }

.btn--outline { color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); }
.btn--outline:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  padding: .9rem 0;
  transition: background .3s, box-shadow .3s, padding .3s;
  color: #fff;
}
.header.is-scrolled {
  background: rgba(25, 32, 48, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px -15px rgba(0, 0, 0, .5);
  padding: .55rem 0;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.5rem; letter-spacing: -.01em; }
.brand__icon { width: 38px; height: 38px; object-fit: contain; filter: brightness(0) invert(1); opacity: .95; }

.nav { display: flex; gap: .2rem; }
.nav__link {
  padding: .5rem .85rem; border-radius: 999px; font-weight: 500; font-size: .95rem; color: rgba(255, 255, 255, .8);
  transition: color .2s, background .2s;
}
.nav__link:hover, .nav__link.is-active { color: #fff; background: rgba(255, 255, 255, .1); }

.header__actions { display: flex; gap: .6rem; align-items: center; }
.header .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.header .btn--ghost:hover { background: rgba(255, 255, 255, .1); }

.burger {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.burger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: rgba(25, 32, 48, .6);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(85%, 340px);
  background: var(--navy); color: #fff; padding: 5.5rem 1.5rem 2rem;
  display: flex; flex-direction: column; gap: .25rem;
  transform: translateX(100%); transition: transform .35s var(--ease);
}
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__link { padding: .85rem .5rem; font-size: 1.15rem; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-menu__actions { margin-top: auto; display: grid; gap: .6rem; }
.mobile-menu .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 85% -10%, #2b3b5e 0%, transparent 60%), var(--navy);
  padding: 8.5rem 0 5rem;
  min-height: min(100vh, 900px); display: flex; align-items: center;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.hero__glow--1 { width: 520px; height: 520px; background: #3d5a8f; top: -120px; left: -120px; }
.hero__glow--2 { width: 420px; height: 420px; background: rgba(39, 174, 96, .55); bottom: -160px; right: 10%; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.hero__inner {
  position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center;
}
.hero__content { animation: rise .8s var(--ease) both; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem .95rem; border-radius: 999px; font-size: .88rem; font-weight: 500;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .9);
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(39, 174, 96, .25); animation: pulse 2s infinite; }

.hero__title {
  margin-top: 1.4rem;
  font-size: clamp(2.7rem, 6.2vw, 5rem); font-weight: 900; line-height: 1.05; letter-spacing: -.02em;
}
.hero__title-accent {
  background: linear-gradient(90deg, #7be495 0%, #27ae60 45%, #7ec8ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__subtitle {
  margin-top: 1.4rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .78); max-width: 34rem; line-height: 1.7;
}
.hero__subtitle strong { color: #fff; font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.2rem; color: rgba(255, 255, 255, .75); font-size: .95rem; font-weight: 500; }
.hero__proof li { display: flex; align-items: center; gap: .45rem; }
.hero__proof svg { color: #7be495; }

/* Devices */
.hero__visual { position: relative; height: 520px; animation: rise 1s .15s var(--ease) both; }

.laptop {
  position: absolute; top: 40px; left: 0; width: 88%;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55));
  animation: floatY 7s ease-in-out infinite;
}
.laptop__screen {
  background: #0d1220; border-radius: 16px 16px 4px 4px; padding: 10px 10px 0;
  border: 1px solid rgba(255, 255, 255, .12);
  aspect-ratio: 16 / 9.6; overflow: hidden;
}
.laptop__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top right; border-radius: 8px 8px 0 0; }
.laptop__base {
  height: 16px; margin: 0 -4%; border-radius: 0 0 14px 14px;
  background: linear-gradient(#3a4358, #1c2233);
  position: relative;
}
.laptop__base::after {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 18%; height: 5px; border-radius: 0 0 6px 6px; background: #0d1220;
}

.phone {
  position: absolute; bottom: 0; right: -10px; width: 210px;
  background: #0d1220; border-radius: 34px; padding: 10px;
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 40px 70px -20px rgba(0, 0, 0, .7), inset 0 0 0 2px #1f2739;
  animation: floatY 6s 1s ease-in-out infinite;
}
.phone__notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 20px; border-radius: 999px; background: #0d1220; z-index: 2;
}
.phone__screen { background: #f4f6fa; border-radius: 26px; overflow: hidden; aspect-ratio: 9 / 19; color: var(--text); }

/* Mini mobile app UI */
.mapp { display: flex; flex-direction: column; height: 100%; font-size: 10px; }
.mapp__top { display: flex; justify-content: space-between; align-items: center; padding: 34px 12px 8px; background: #fff; }
.mapp__hi { font-weight: 800; font-size: 12px; }
.mapp__sub { color: var(--text-3); font-size: 8.5px; }
.mapp__bell { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--bg-alt); display: grid; place-items: center; }
.mapp__bell svg { width: 12px; height: 12px; }
.mapp__bell span { position: absolute; top: -4px; right: -4px; background: var(--red); color: #fff; font-size: 7px; font-weight: 700; width: 12px; height: 12px; border-radius: 50%; display: grid; place-items: center; }
.mapp__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px 10px; }
.mapp__card { background: #fff; border-radius: 10px; padding: 7px 6px; text-align: center; box-shadow: var(--shadow-sm); }
.mapp__card-title { font-weight: 700; font-size: 9px; }
.donut { width: 42px; height: 42px; margin: 4px auto 2px; transform: rotate(-90deg); }
.mapp__num { font-weight: 800; font-size: 12px; color: var(--green); }
.mapp__lbl { font-size: 7.5px; color: var(--text-3); }
.mapp__section { display: flex; justify-content: space-between; align-items: center; padding: 2px 12px; font-weight: 700; font-size: 9px; }
.mapp__badge { background: var(--navy); color: #fff; padding: 1px 6px; border-radius: 999px; font-size: 7px; }
.mapp__tasks { padding: 4px 10px 0; display: grid; gap: 4px; }
.mapp__tasks li { background: #fff; border-radius: 8px; padding: 5px 7px; display: flex; align-items: center; gap: 5px; font-size: 8px; box-shadow: var(--shadow-sm); }
.dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.dot--red { background: var(--red); } .dot--yellow { background: var(--yellow); } .dot--green { background: var(--green); }
.mapp__nav { margin-top: auto; display: flex; justify-content: space-around; padding: 8px 6px 10px; background: #fff; border-top: 1px solid var(--line); }
.mapp__nav span { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: var(--text-3); }
.mapp__nav span.active { background: var(--navy); color: #fff; }
.mapp__nav svg { width: 13px; height: 13px; }

.chip {
  position: absolute; display: flex; align-items: center; gap: .6rem;
  background: rgba(255, 255, 255, .96); color: var(--text); padding: .6rem .85rem; border-radius: 14px;
  box-shadow: var(--shadow-lg); font-size: .82rem; line-height: 1.25; white-space: nowrap;
}
.chip svg { width: 30px; height: 30px; padding: 6px; border-radius: 10px; color: #fff; }
.chip b { display: block; font-weight: 700; }
.chip span { color: var(--text-3); font-size: .76rem; }
.chip--1 { top: 10px; right: 18%; animation: floatY 5s .5s ease-in-out infinite; }
.chip--1 svg { background: var(--orange); }
.chip--2 { bottom: 80px; left: -12px; animation: floatY 6.5s 1.2s ease-in-out infinite; }
.chip--2 svg { background: var(--green); }

/* ---------- Stats ---------- */
.stats { background: var(--navy); color: #fff; border-top: 1px solid rgba(255, 255, 255, .08); }
.stats__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 1.8rem 1rem; text-align: center; border-inline-start: 1px solid rgba(255, 255, 255, .08); }
.stat:first-child { border: 0; }
.stat__num { display: block; font-size: 2.4rem; font-weight: 800; line-height: 1; color: #7be495; }
.stat__lbl { display: block; margin-top: .5rem; color: rgba(255, 255, 255, .7); font-size: .92rem; }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy); color: #fff; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 3.2rem; }
.section__tag {
  display: inline-block; padding: .35rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: rgba(39, 174, 96, .12); color: var(--green-600); margin-bottom: 1rem;
}
.section__tag--light { background: rgba(123, 228, 149, .15); color: #7be495; }
.section__title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.section__lead { margin-top: 1rem; font-size: 1.1rem; color: var(--text-2); line-height: 1.7; }
.section--dark .section__lead { color: rgba(255, 255, 255, .72); }

/* ---------- Everywhere ---------- */
.everywhere__grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: stretch; }
.device-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  position: relative; overflow: hidden;
}
.device-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), #7ec8ff);
}
.device-card--mobile::before { background: linear-gradient(90deg, var(--green), #7be495); }
.device-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.device-card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(61, 90, 143, .1); color: var(--blue); margin-bottom: 1.2rem;
}
.device-card__icon svg { width: 28px; height: 28px; }
.device-card--mobile .device-card__icon { background: rgba(39, 174, 96, .12); color: var(--green-600); }
.device-card h3 { font-size: 1.45rem; font-weight: 800; }
.device-card p { color: var(--text-2); margin-top: .4rem; }
.checklist { margin-top: 1.4rem; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-inline-start: 1.9rem; color: var(--text); line-height: 1.5; }
.checklist li::before {
  content: ''; position: absolute; inset-inline-start: 0; top: .2rem; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(39, 174, 96, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f9a53' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.everywhere__sync { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; color: var(--text-3); font-size: .85rem; font-weight: 600; }
.sync-ring {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--green-600);
}
.sync-ring svg { width: 28px; height: 28px; animation: spin 6s linear infinite; }

/* ---------- Remote: forms / signatures / modular ---------- */
.spots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.spot {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.spot:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.spot__icon {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  background: var(--navy); color: #fff; margin-bottom: 1.2rem;
}
.spot__icon svg { width: 30px; height: 30px; }
.spot__label { font-size: .8rem; font-weight: 700; color: var(--green-600); letter-spacing: .02em; }
.spot h3 { font-size: 1.35rem; font-weight: 800; line-height: 1.3; margin-top: .3rem; }
.spot p { margin-top: .8rem; color: var(--text-2); line-height: 1.7; }
.spot p strong { color: var(--text); font-weight: 700; }
.spot__list { margin-top: 1.2rem; display: grid; gap: .55rem; padding-top: 1.1rem; border-top: 1px dashed var(--line); }
.spot__list li { position: relative; padding-inline-start: 1.5rem; font-size: .93rem; font-weight: 500; }
.spot__list li::before { content: ''; position: absolute; inset-inline-start: 0; top: .55rem; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

.spot--featured {
  background: linear-gradient(160deg, var(--navy) 0%, #24304a 100%); color: #fff; border-color: transparent;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.spot--featured::after {
  content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -90px; top: -90px;
  background: radial-gradient(circle, rgba(39, 174, 96, .45), transparent 70%); pointer-events: none;
}
.spot--featured .spot__icon { background: var(--green); }
.spot--featured .spot__label { color: #7be495; }
.spot--featured p { color: rgba(255, 255, 255, .78); }
.spot--featured p strong { color: #fff; }

.flow { margin-top: auto; padding-top: 1.3rem; display: grid; gap: .55rem; position: relative; }
.flow li {
  display: flex; align-items: center; gap: .7rem; font-weight: 600; font-size: .95rem;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: .65rem .8rem;
}
.flow li span {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--green); color: #fff; font-weight: 800; font-size: .85rem;
}
.flow li:last-child { background: rgba(39, 174, 96, .18); border-color: rgba(39, 174, 96, .35); }

/* ---------- Messaging ---------- */
.msg__hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center;
  margin-bottom: 3.4rem;
}

.msg__mail { position: relative; }
.msg__audience { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.1rem; }
.msg__chip {
  padding: .4rem .85rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: var(--bg-alt); border: 1px solid var(--line); color: var(--text-2);
}
.msg__chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.msg__chip--plus { border-style: dashed; color: var(--green-600); background: #fff; }

.msg__frame {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.msg__logo {
  background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.msg__logo span {
  font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: var(--text-3);
  border: 1px dashed var(--line); border-radius: 10px; padding: .5rem 1.4rem; background: #fff;
}
.msg__body { padding: 1.8rem; }
.msg__band {
  display: inline-block; padding: .3rem .8rem; border-radius: 8px; font-size: .78rem; font-weight: 700;
  background: rgba(39, 174, 96, .12); color: var(--green-600);
}
.msg__body h4 { margin: .9rem 0 .5rem; font-size: 1.25rem; font-weight: 800; }
.msg__body p { color: var(--text-2); line-height: 1.75; }
.msg__box {
  margin-top: 1.1rem; padding: .85rem 1rem; border-radius: var(--radius-sm);
  background: var(--bg-alt); border-inline-start: 3px solid var(--green); font-size: .92rem; color: var(--text-2);
}
.msg__box b { color: var(--text); }
.msg__btn {
  display: inline-block; margin-top: 1.3rem; padding: .7rem 1.5rem; border-radius: 10px;
  background: var(--green); color: #fff; font-weight: 700; font-size: .95rem;
}
.msg__foot {
  padding: .9rem; text-align: center; font-size: .8rem; color: var(--text-3);
  background: var(--bg-alt); border-top: 1px solid var(--line);
}

.msg__badge {
  position: absolute; display: flex; align-items: center; gap: .65rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: .65rem .9rem; box-shadow: var(--shadow); font-size: .82rem; white-space: nowrap;
}
.msg__badge svg { width: 32px; height: 32px; padding: 7px; border-radius: 9px; color: #fff; flex: none; }
.msg__badge b { display: block; font-weight: 700; color: var(--text); }
.msg__badge span { display: block; color: var(--text-3); font-size: .76rem; }
.msg__badge--read { top: 22%; inset-inline-start: -1.6rem; }
.msg__badge--read svg { background: #0e7c86; }
.msg__badge--sent { bottom: 12%; inset-inline-end: -1.4rem; }
.msg__badge--sent svg { background: var(--green); }

.msg__steps { display: grid; gap: 1.1rem; counter-reset: msgstep; }
.msg__steps li {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.3rem; box-shadow: var(--shadow-sm);
}
.msg__steps li > span {
  flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 800;
}
.msg__steps b { display: block; font-size: 1.05rem; font-weight: 700; }
.msg__steps p { margin-top: .3rem; color: var(--text-2); font-size: .93rem; line-height: 1.6; }

.msg__grid { grid-template-columns: repeat(4, 1fr); }

/* ---------- Modules ---------- */
.modules__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.module {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.module:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.module__icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--navy); color: #fff; margin-bottom: 1rem; transition: background .3s;
}
.module__icon svg { width: 26px; height: 26px; }
.module:hover .module__icon { background: var(--green); }
.module h3 { font-size: 1.15rem; font-weight: 700; }
.module p { margin-top: .45rem; color: var(--text-2); font-size: .93rem; line-height: 1.6; }
.modules__extra { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: center; margin-top: 2.2rem; color: var(--text-3); font-weight: 600; }
.pill { padding: .4rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; color: var(--text); font-weight: 500; }

/* ---------- Gallery ---------- */
.gallery__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin-bottom: 1.6rem; }
.gallery__tab {
  padding: .5rem 1rem; border-radius: 999px; font-weight: 500; font-size: .92rem;
  background: #fff; color: var(--text-2); border: 1px solid var(--line); transition: all .2s;
}
.gallery__tab:hover { background: #e9edf4; color: var(--text); }
.gallery__tab.is-active { background: var(--navy); color: #fff; }

.gallery__stage { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; }
.gallery__arrow {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--text); transition: all .2s;
}
.gallery__arrow:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.gallery__frame {
  border-radius: 16px; overflow: hidden; background: #0d1220; border: 1px solid #2a3245;
  box-shadow: var(--shadow-lg);
}
.gallery__bar { display: flex; gap: 6px; padding: 10px 14px; background: #161c2c; }
.gallery__bar span { width: 10px; height: 10px; border-radius: 50%; background: #3a4358; }
.gallery__bar span:nth-child(1) { background: #ea5455; } .gallery__bar span:nth-child(2) { background: #f2b632; } .gallery__bar span:nth-child(3) { background: #27ae60; }
.gallery__frame img { width: 100%; aspect-ratio: 16 / 7.7; object-fit: cover; object-position: top; transition: opacity .35s; }
.gallery__frame img.is-fading { opacity: 0; }
.gallery__progress { height: 3px; background: var(--line); border-radius: 3px; margin: 1.2rem auto 0; max-width: 320px; overflow: hidden; }
.gallery__progress div { height: 100%; width: 0; background: var(--green); }
.gallery__progress div.is-running { animation: progress 5s linear forwards; }
.gallery__info { text-align: center; margin-top: 1.2rem; }
.gallery__info h3 { font-size: 1.3rem; font-weight: 800; }
.gallery__info p { color: var(--text-2); margin-top: .3rem; }

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.why__card {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--radius);
  padding: 1.8rem; transition: background .3s, transform .3s var(--ease);
}
.why__card:hover { background: rgba(255, 255, 255, .07); transform: translateY(-4px); }
.why__icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.1rem;
  background: rgba(123, 228, 149, .14); color: #7be495;
}
.why__icon svg { width: 26px; height: 26px; }
.why__card h3 { font-size: 1.15rem; font-weight: 700; }
.why__card p { margin-top: .5rem; color: rgba(255, 255, 255, .7); font-size: .95rem; line-height: 1.65; }

/* ---------- How ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.step {
  position: relative; text-align: center; padding: 2.2rem 1.6rem 1.8rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.step__num {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1rem;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 1.3rem; box-shadow: 0 0 0 8px rgba(25, 32, 48, .06);
}
.step h3 { font-size: 1.2rem; font-weight: 700; }
.step p { margin-top: .5rem; color: var(--text-2); }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: .8rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.3rem; font-weight: 600; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ''; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-alt);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23192030' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-size: 14px; background-position: center; background-repeat: no-repeat; transition: transform .3s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 1.3rem 1.2rem; color: var(--text-2); line-height: 1.7; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.contact__text .section__title { margin-top: .2rem; }
.contact__points { margin-top: 1.6rem; display: grid; gap: .6rem; }
.contact__points li { position: relative; padding-inline-start: 1.7rem; font-weight: 500; }
.contact__points li::before { content: '✓'; position: absolute; inset-inline-start: 0; color: var(--green); font-weight: 800; }
.contact__direct { margin-top: 1.8rem; }
.contact__direct a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--blue); }

.form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow-lg); display: grid; gap: 1rem;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; font: inherit; padding: 1.15rem 1rem .5rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--bg-alt); color: var(--text); outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s; resize: vertical;
}
.field textarea { min-height: 96px; }
.field label {
  position: absolute; inset-inline-start: 1rem; top: .85rem; color: var(--text-3); pointer-events: none;
  transition: all .18s var(--ease); font-size: 1rem;
}
.field input:focus, .field textarea:focus { border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(39, 174, 96, .12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: .3rem; font-size: .74rem; color: var(--green-600); }
.field.is-invalid input { border-color: var(--red); }
.form__note { font-size: .8rem; color: var(--text-3); text-align: center; }
.form__status { display: none; padding: .9rem 1rem; border-radius: var(--radius-sm); font-weight: 500; text-align: center; }
.form__status.is-success { display: block; background: rgba(39, 174, 96, .12); color: var(--green-600); }
.form__status.is-error { display: block; background: rgba(234, 84, 85, .12); color: var(--red); }
.btn__spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .btn__spinner { display: inline-block; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .75); padding: 4rem 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer__logo { width: 180px; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 1rem; }
.footer__brand p { max-width: 380px; line-height: 1.7; }
.footer__col { display: grid; gap: .55rem; align-content: start; }
.footer__col h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.footer__col a { transition: color .2s; } .footer__col a:hover { color: #7be495; }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  padding: 1.2rem 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem;
}

.to-top {
  position: fixed; bottom: 1.4rem; left: 1.4rem; z-index: 80; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.modules__grid .reveal:nth-child(4n+2), .why__grid .reveal:nth-child(3n+2), .steps .reveal:nth-child(2) { transition-delay: .08s; }
.modules__grid .reveal:nth-child(4n+3), .why__grid .reveal:nth-child(3n+3), .steps .reveal:nth-child(3) { transition-delay: .16s; }
.modules__grid .reveal:nth-child(4n+4) { transition-delay: .24s; }

@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(39, 174, 96, .25); } 50% { box-shadow: 0 0 0 8px rgba(39, 174, 96, .08); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes progress { from { width: 0; } to { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav__link { padding: .5rem .55rem; font-size: .9rem; }
  .modules__grid { grid-template-columns: repeat(3, 1fr); }
  .msg__hero { gap: 2rem; }
  .msg__badge--read { inset-inline-start: -.5rem; }
  .msg__badge--sent { inset-inline-end: -.5rem; }
  .hero__inner { gap: 2rem; }
  .hero__visual { height: 460px; }
  .phone { width: 180px; }
}

@media (max-width: 960px) {
  .nav, .header__actions { display: none; }
  .msg__hero { grid-template-columns: 1fr; gap: 2.4rem; max-width: 560px; margin-inline: auto; }
  .burger { display: flex; }

  .hero { padding: 7rem 0 4rem; min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { display: flex; flex-direction: column; align-items: center; }
  .hero__subtitle { margin-inline: auto; }
  .hero__cta, .hero__proof { justify-content: center; }
  .hero__visual { height: auto; margin-top: 1.5rem; padding-bottom: 60px; max-width: 640px; margin-inline: auto; width: 100%; }
  .laptop { position: relative; top: 0; width: 86%; }
  .phone { width: 165px; right: -6px; bottom: 0; }
  .chip--1 { top: -14px; right: 4%; }
  .chip--2 { bottom: 40px; left: 2%; }

  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat { border-top: 1px solid rgba(255, 255, 255, .08); }
  .stat:nth-child(-n+2) { border-top: 0; }

  .everywhere__grid { grid-template-columns: 1fr; }
  .everywhere__sync { flex-direction: row; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .spots { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .spot--featured { order: -1; }
  .steps { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .contact__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact__text { text-align: center; }
  .contact__points { justify-items: center; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .section { padding: 4.2rem 0; }
  .msg__badge { position: static; margin-top: .8rem; }
  .msg__frame { box-shadow: var(--shadow); }
  .section__head { margin-bottom: 2.2rem; }
  .hero__title { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .btn--lg { padding: .9rem 1.4rem; font-size: 1rem; }
  .hero__cta { flex-direction: column; width: 100%; }
  .hero__cta .btn { width: 100%; }
  .hero__proof { gap: .9rem 1.1rem; font-size: .9rem; }
  .hero__visual { padding-bottom: 40px; }
  .laptop { width: 92%; }
  .phone { width: 128px; right: -4px; border-radius: 24px; padding: 6px; }
  .phone__screen { border-radius: 18px; }
  .phone__notch { width: 46px; height: 14px; top: 12px; }
  .mapp__top { padding-top: 24px; }
  .chip { font-size: .72rem; padding: .45rem .65rem; }
  .chip svg { width: 24px; height: 24px; padding: 5px; }
  .chip--1 { right: 0; top: -20px; }
  .chip--2 { left: 0; bottom: 14px; }

  .stat__num { font-size: 1.9rem; }
  .device-card { padding: 1.6rem; }
  .modules__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .gallery__stage { grid-template-columns: 1fr; }
  .gallery__arrow { display: none; }
  .gallery__frame img { aspect-ratio: 16 / 9; }
  .form { padding: 1.4rem; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: center; text-align: center; }
  .to-top { bottom: 1rem; left: 1rem; }
}
