:root {
  --bg: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --text: #10203a;
  --muted: #5a6b87;
  --line: rgba(16, 32, 58, 0.08);
  --hero-bg: #081326;
  --hero-bg-secondary: #102347;
  --primary: #4f7cff;
  --primary-strong: #2756e8;
  --secondary: #12b886;
  --accent: #7a5cff;
  --shadow: 0 28px 70px rgba(10, 20, 42, 0.18);
  --shadow-soft: 0 18px 44px rgba(16, 32, 58, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max-width: 1180px;
  --section-space: 72px;
  --hero-pattern:
    radial-gradient(circle at 20% 20%, rgba(79, 124, 255, 0.28), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(18, 184, 134, 0.24), transparent 24%),
    radial-gradient(circle at 60% 70%, rgba(122, 92, 255, 0.18), transparent 32%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans Hebrew", "Assistant", sans-serif;
  background:
    linear-gradient(180deg, #f8fbff 0%, #f4f7fb 35%, #eef4fa 100%);
  color: var(--text);
  overflow-x: hidden;
}

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

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

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

button {
  border: 0;
  cursor: pointer;
}

.page-shell {
  min-height: 100vh;
}

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

.section {
  padding: var(--section-space) 0;
}

.section-light {
  position: relative;
}

.section-light::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(79, 124, 255, 0.08), transparent 24%),
    radial-gradient(circle at bottom left, rgba(18, 184, 134, 0.08), transparent 22%);
  pointer-events: none;
}

.section-dark {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--hero-bg) 0%, var(--hero-bg-secondary) 48%, #08192f 100%);
  color: #eff5ff;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-pattern);
  pointer-events: none;
}

.hero-section {
  padding: 44px 0 64px;
}

.section > .container,
.section-dark > .container {
  position: relative;
  z-index: 1;
}

.sticky-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 16px 0 0;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(4, 12, 25, 0.72), rgba(4, 12, 25, 0));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 18px;
  border-radius: 22px;
  background: rgba(7, 18, 36, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(3, 10, 22, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.04rem;
  letter-spacing: -0.02em;
  color: #ffffff;
  white-space: nowrap;
}

.brand img {
  border: none;
  outline: none;
  border-radius: 0;
  box-shadow: none;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.header-nav a {
  color: rgba(239, 245, 255, 0.9);
  font-size: 0.95rem;
  padding: 10px 12px;
  border-radius: 999px;
  transition: color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.login-link {
  font-size: 0.875rem;
  color: var(--muted);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.login-link:hover {
  color: var(--text);
  background: var(--line);
}

.cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  box-shadow: 0 18px 36px rgba(79, 124, 255, 0.34);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 22px 42px rgba(79, 124, 255, 0.4);
}

.button-secondary {
  color: #eaf1ff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.button-secondary.button-light {
  color: var(--text);
  background: rgba(79, 124, 255, 0.08);
  border: 1px solid rgba(79, 124, 255, 0.12);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #d9e7ff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.eyebrow-light {
  color: var(--primary-strong);
  background: rgba(79, 124, 255, 0.08);
  border: 1px solid rgba(79, 124, 255, 0.12);
}

.hero-grid,
.split-grid,
.showcase-grid,
.roi-grid,
.security-grid,
.demo-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.hero-grid,
.split-grid,
.showcase-grid,
.roi-grid,
.security-grid,
.demo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
}

.hero-copy h1,
.section-heading h2 {
  margin: 16px 0 18px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.hero-copy h1 {
  font-size: clamp(2.35rem, 4.8vw, 4.15rem);
  color: #ffffff;
  max-width: 10.7ch;
}

.hero-copy p,
.section-heading p,
.body-copy,
.card p,
.feature-list li,
.stat-copy {
  line-height: 1.75;
}

.hero-copy p {
  margin: 0 0 28px;
  font-size: 1.04rem;
  color: rgba(233, 241, 255, 0.86);
  max-width: 590px;
}

.trust-line {
  margin-top: 18px;
  font-size: 0.94rem;
  color: rgba(233, 241, 255, 0.72);
}

.hero-card,
.showcase-panel,
.dashboard-panel,
.customers-panel,
.roi-panel,
.security-panel,
.form-panel {
  position: relative;
  padding: 12px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.mockup-card {
  cursor: pointer;
  outline: none;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease;
}

.mockup-card {
  position: relative;
}

.mockup-card::after {
  content: "© SalesEcho AI";
  position: absolute;
  bottom: 14px;
  left: 18px;
  font-family: "Assistant", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
  pointer-events: none;
  z-index: 10;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  user-select: none;
}

.mockup-card:focus-visible {
  box-shadow:
    0 0 0 4px rgba(79, 124, 255, 0.18),
    var(--shadow);
  border-color: rgba(120, 150, 255, 0.32);
}

.hero-card::before,
.showcase-panel::before,
.dashboard-panel::before,
.customers-panel::before,
.roi-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.05));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.hero-image,
.panel-image {
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 8px);
  background: linear-gradient(180deg, rgba(14, 31, 58, 0.9), rgba(10, 21, 42, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-image img,
.panel-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.hero-card {
  max-width: 620px;
  justify-self: start;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
}

.hero-image {
  min-height: 360px;
  padding: 18px;
}

.hero-image img {
  max-height: 430px;
}

.showcase-panel,
.dashboard-panel,
.customers-panel,
.roi-panel {
  max-width: 620px;
  justify-self: start;
}

.showcase-panel .panel-image,
.dashboard-panel .panel-image,
.customers-panel .panel-image,
.roi-panel .panel-image {
  min-height: 320px;
  padding: 18px;
}

.showcase-panel img,
.dashboard-panel img,
.customers-panel img,
.roi-panel img {
  max-height: 420px;
}

.mockup-hint {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(7, 18, 36, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f3f7ff;
  font-size: 0.9rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .mockup-card:hover,
  .mockup-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 32px 78px rgba(10, 20, 42, 0.22);
    border-color: rgba(120, 150, 255, 0.24);
  }

  .mockup-card:hover img,
  .mockup-card:focus-visible img {
    transform: scale(1.018);
    filter: saturate(1.02);
  }

  .mockup-card:hover .mockup-hint,
  .mockup-card:focus-visible .mockup-hint {
    opacity: 1;
    transform: translateY(0);
  }
}

.floating-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.floating-chip {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #edf3ff;
  font-size: 0.95rem;
}

.benefits-strip {
  margin-top: -34px;
  position: relative;
  z-index: 2;
}

.benefits-grid,
.features-grid,
.integrations-grid,
.faq-grid,
.security-badges,
.automation-list {
  display: grid;
  gap: 20px;
}

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

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

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

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

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.article-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: var(--surface-strong);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}

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

.article-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.article-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  flex: 1;
  line-height: 1.5;
}

.article-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(79, 124, 255, 0.1);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  align-self: flex-start;
}

.article-read-time {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

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

.card,
.integration-card,
.faq-card,
.security-badge,
.metric-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.card,
.faq-card,
.security-badge,
.metric-card {
  padding: 28px;
}

.card {
  min-height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(16, 32, 58, 0.12);
  border-color: rgba(79, 124, 255, 0.18);
}

.card h3,
.section-heading h2,
.integration-card strong,
.faq-card h3,
.metric-card strong,
.demo-heading h2 {
  letter-spacing: -0.03em;
}

.card h3,
.faq-card h3,
.metric-card strong {
  margin: 0 0 12px;
  font-size: 1.24rem;
}

.card p,
.faq-card p,
.section-heading p,
.body-copy,
.stat-copy,
.demo-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 20px;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}

.section-tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--secondary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.problem-card,
.automation-card,
.demo-form {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.problem-card,
.automation-card,
.security-panel {
  padding: 36px;
}

.bullet-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.bullet-list li,
.feature-list li,
.automation-list li {
  position: relative;
  padding-right: 28px;
  color: var(--muted);
}

.bullet-list li::before,
.feature-list li::before,
.automation-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.8em;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 0 0 5px rgba(79, 124, 255, 0.08);
}

.feature-list,
.automation-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.showcase-copy,
.roi-copy,
.security-copy {
  display: grid;
  gap: 14px;
}

.showcase-panel,
.dashboard-panel,
.customers-panel,
.roi-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.94));
  border: 1px solid rgba(79, 124, 255, 0.16);
}

.showcase-panel .panel-image,
.dashboard-panel .panel-image,
.customers-panel .panel-image,
.roi-panel .panel-image {
  background: linear-gradient(180deg, #eff4ff, #f8fbff);
}

.dashboard-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0f1d36, #113462);
  color: #eef4ff;
  box-shadow: var(--shadow);
}

.dashboard-banner p {
  margin: 0;
  color: rgba(238, 244, 255, 0.78);
}

.integration-card {
  padding: 22px 16px;
  text-align: center;
  font-weight: 700;
  color: var(--text);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.integration-card:hover,
.integration-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(16, 32, 58, 0.12);
}

.integration-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.12), rgba(18, 184, 134, 0.12));
  color: var(--primary-strong);
  font-size: 1.05rem;
}

.security-panel {
  background:
    linear-gradient(135deg, rgba(8, 19, 38, 0.98), rgba(18, 35, 71, 0.96));
  color: #eff5ff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.security-panel .section-heading p,
.security-panel .security-badge p {
  color: rgba(233, 241, 255, 0.76);
}

.security-badge {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.08);
}

.security-badge strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.06rem;
}

.demo-grid {
  align-items: start;
}

.demo-heading {
  position: sticky;
  top: 110px;
}

.form-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
  border: 1px solid rgba(79, 124, 255, 0.12);
}

.demo-form {
  padding: 30px;
  display: grid;
  gap: 18px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid rgba(16, 32, 58, 0.12);
  background: #fbfdff;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(79, 124, 255, 0.8);
  box-shadow: 0 0 0 4px rgba(79, 124, 255, 0.12);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.roi-cta {
  margin-top: 14px;
}

.video-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 60px rgba(79, 124, 255, 0.15);
  margin-top: 2rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 300;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 10, 22, 0.72);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-dialog {
  position: relative;
  width: min(92vw, 1320px);
  max-height: 88vh;
  padding: 18px;
  border-radius: 30px;
  background: rgba(10, 20, 38, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 32px 88px rgba(0, 0, 0, 0.34);
  transform: scale(0.98);
  transition: transform 0.24s ease;
}

.lightbox.is-open .lightbox-dialog {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.lightbox-figure {
  margin: 0;
}

.lightbox-figure img {
  width: 100%;
  max-width: 92vw;
  max-height: calc(88vh - 36px);
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
}

.body-locked {
  overflow: hidden;
}

.faq-card summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  font-size: 1.08rem;
}

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

.faq-card details[open] summary {
  color: var(--primary-strong);
}

.faq-card details p {
  margin-top: 14px;
}

.footer {
  padding: 32px 0 56px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.12s;
}

.delay-2 {
  animation-delay: 0.24s;
}

.delay-3 {
  animation-delay: 0.36s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  :root {
    --section-space: 64px;
  }

  .benefits-grid,
  .features-grid,
  .integrations-grid,
  .faq-grid,
  .security-badges,
  .automation-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .split-grid,
  .showcase-grid,
  .roi-grid,
  .security-grid,
  .demo-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .showcase-panel,
  .dashboard-panel,
  .customers-panel,
  .roi-panel {
    max-width: min(100%, 760px);
    justify-self: center;
  }

  .demo-heading {
    position: static;
  }
}

@media (max-width: 820px) {
  .sticky-header {
    padding-top: 10px;
  }

  .header-inner {
    gap: 14px;
    padding: 12px 14px;
  }

  .header-nav {
    display: none;
  }

  .dashboard-banner,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .cta-group {
    width: 100%;
  }

  .hero-copy p {
    max-width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --section-space: 54px;
  }

  .container {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .benefits-grid,
  .features-grid,
  .integrations-grid,
  .faq-grid,
  .security-badges,
  .automation-list {
    grid-template-columns: 1fr;
  }

  .benefits-strip {
    margin-top: -24px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 10vw, 2.7rem);
    max-width: 100%;
  }

  .hero-grid {
    gap: 24px;
  }

  .mockup-hint {
    left: 12px;
    bottom: 12px;
    font-size: 0.82rem;
    padding: 8px 12px;
    opacity: 1;
    transform: none;
  }

  .hero-image,
  .showcase-panel .panel-image,
  .dashboard-panel .panel-image,
  .customers-panel .panel-image,
  .roi-panel .panel-image {
    min-height: auto;
    padding: 10px;
  }

  .hero-image img,
  .showcase-panel img,
  .dashboard-panel img,
  .customers-panel img,
  .roi-panel img {
    max-height: none;
  }

  .problem-card,
  .automation-card,
  .security-panel,
  .card,
  .faq-card,
  .metric-card,
  .demo-form {
    padding: 22px;
  }

  .hero-card,
  .showcase-panel,
  .dashboard-panel,
  .customers-panel,
  .roi-panel {
    padding: 12px;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-dialog {
    width: 100%;
    padding: 14px;
    border-radius: 24px;
  }

  .lightbox-close {
    top: 10px;
    left: 10px;
    width: 50px;
    height: 50px;
  }

  .lightbox-figure img {
    max-height: calc(88vh - 28px);
    border-radius: 18px;
  }
}
