/* ============================================
   lockdown.Ai — Dark mode (dashboard-matched)
   ============================================ */
:root {
  --primary-color: var(--text-muted);
  --secondary-color: var(--border-light);
  --bg-main: #1a1a1c;
  --bg-card: #252528;
  --bg-elevated: #2d2d30;
  --bg-header: #1e1e20;
  --accent-green: #15803d;
  --accent-green-hover: #22c55e;
  --green-dark: #166534;
  --green-soft: #22c55e;
  --splash-bg: #14532d;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --border: #3f3f46;
  --border-light: #52525b;
  --slate-900: #ffffff;
  --slate-600: #a1a1aa;
  --slate-500: #71717a;
  --surface: #252528;
  --surface-elevated: #2d2d30;
  --bg-elevated: #2d2d30;
  --cool-blue: #38bdf8;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
body > * {
  position: relative;
  z-index: 1;
}

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

/* ============================================
   Splash — Full-screen logo, green gradient
   ============================================ */
html.splash-skip .splash {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(145deg, #0f3318 0%, #14532d 35%, #166534 70%, #15803d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease-out, visibility 0.25s ease-out;
}

.splash.splash-dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: white;
  animation: splash-fade-in 0.35s ease-out both;
}

.splash-logo-text {
  font-size: clamp(36px, 7vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff 0%, #d1fae5 50%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.splash-logo-bolt {
  width: clamp(32px, 6vw, 48px);
  height: clamp(32px, 6vw, 48px);
  flex-shrink: 0;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.5));
}

@keyframes splash-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================
   Page animations — Hero stagger, scroll-in, reduced motion
   ============================================ */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-anim {
  opacity: 0;
  animation: fade-in-up 0.6s ease-out both;
}
.hero-anim-d1 { animation-delay: 0.05s; }
.hero-anim-d2 { animation-delay: 0.15s; }
.hero-anim-d3 { animation-delay: 0.25s; }
.hero-anim-d4 { animation-delay: 0.35s; }
.hero-anim-d5 { animation-delay: 0.45s; }

/* Scroll-in: sections get .in-view when visible */
.scroll-anim > h2,
.scroll-anim > .section-sub,
.scroll-anim > .pricing-intro,
.scroll-anim .book-call-inner > h2,
.scroll-anim .book-call-inner > .book-call-sub,
.scroll-anim .book-call-inner > .book-call-btn,
.scroll-anim .video-subtitle,
.scroll-anim .video-wrapper,
.scroll-anim .video-fallback,
.scroll-anim .testimonial-quote,
.scroll-anim .testimonial-attribution,
.scroll-anim.final-cta > h2,
.scroll-anim.final-cta > .cta {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.scroll-anim.in-view > h2,
.scroll-anim.in-view > .section-sub,
.scroll-anim.in-view > .pricing-intro,
.scroll-anim.in-view .book-call-inner > h2,
.scroll-anim.in-view .book-call-inner > .book-call-sub,
.scroll-anim.in-view .book-call-inner > .book-call-btn,
.scroll-anim.in-view .video-subtitle,
.scroll-anim.in-view .video-wrapper,
.scroll-anim.in-view .video-fallback,
.scroll-anim.in-view .testimonial-quote,
.scroll-anim.in-view .testimonial-attribution,
.scroll-anim.in-view.final-cta > h2,
.scroll-anim.in-view.final-cta > .cta {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children in grids */
.scroll-anim .diff-card,
.scroll-anim .step-item,
.scroll-anim .feature-card,
.scroll-anim .price-box,
.scroll-anim .dashboard-carousel {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.scroll-anim .diff-card { transition-delay: 0.05s; }
.scroll-anim .step-item { transition-delay: 0.1s; }
.scroll-anim .feature-card { transition-delay: 0.08s; }
.scroll-anim .price-box { transition-delay: 0.1s; }
.scroll-anim .dashboard-carousel { transition-delay: 0.05s; }

.scroll-anim.in-view .diff-card:nth-child(1),
.scroll-anim.in-view .steps-list .step-item:nth-child(1),
.scroll-anim.in-view .feature-card:nth-child(1),
.scroll-anim.in-view .price-box:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.scroll-anim.in-view .diff-card:nth-child(2),
.scroll-anim.in-view .steps-list .step-item:nth-child(2),
.scroll-anim.in-view .feature-card:nth-child(2),
.scroll-anim.in-view .price-box:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.scroll-anim.in-view .diff-card:nth-child(3),
.scroll-anim.in-view .steps-list .step-item:nth-child(3),
.scroll-anim.in-view .feature-card:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }

.scroll-anim.in-view .dashboard-carousel { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .hero-anim,
  .hero-anim-d1, .hero-anim-d2, .hero-anim-d3, .hero-anim-d4, .hero-anim-d5 {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .splash-logo {
    animation: splash-fade-in 0.35s ease-out both;
  }
  .scroll-anim > h2, .scroll-anim > .section-sub,
  .scroll-anim > .pricing-intro, .scroll-anim .book-call-inner > *,
  .scroll-anim .video-subtitle, .scroll-anim .video-wrapper, .scroll-anim .video-fallback,
  .scroll-anim .testimonial-quote, .scroll-anim .testimonial-attribution,
  .scroll-anim.final-cta > h2, .scroll-anim.final-cta > .cta,
  .scroll-anim .diff-card, .scroll-anim .step-item, .scroll-anim .feature-card,
  .scroll-anim .price-box, .scroll-anim .dashboard-carousel {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .cta:hover,
  .cta-primary:hover,
  .cta-ghost:hover {
    transform: none;
  }
  .header-nav a::after {
    transition: none;
  }
}

/* ============================================
   Header — Dark green (dashboard sidebar), white text
   ============================================ */
.site-header {
  background: var(--bg-header);
  padding: 16px 6%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.header-brand:hover {
  color: white;
  opacity: 0.95;
}

.logo-text {
  letter-spacing: -0.02em;
}

.logo-bolt {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav a {
  color: rgba(255,255,255,0.95);
  font-size: 15px;
  font-weight: 500;
  position: relative;
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cool-blue);
  transform: scaleX(0);
  transition: transform 0.2s ease;
  border-radius: 1px;
}
.header-nav a:hover::after,
.header-nav-active::after {
  transform: scaleX(1);
}

.header-nav a:hover,
.header-nav-active {
  color: white;
}

.nav-cta::after {
  display: none;
}
.nav-cta {
  background: var(--accent-green);
  color: white !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--accent-green-hover);
  color: white !important;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: 80px 6% 100px;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.hero-headline,
.hero h1 {
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--slate-900);
  margin-bottom: 32px;
}

.hero .highlight {
  color: var(--accent-green);
}

.hero-sub {
  font-size: 18px;
  color: var(--slate-600);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  font-family: inherit;
}
.cta:hover {
  transform: scale(1.02);
}

.cta-primary {
  background: var(--accent-green);
  color: white;
  border: none;
}

.cta-primary:hover {
  background: var(--accent-green-hover);
  color: white;
  transform: scale(1.02) translateY(-1px);
}

.cta-ghost {
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.cta-ghost:hover {
  background: var(--border-light);
  border-color: var(--border-light);
  color: var(--text-primary);
  transform: scale(1.02);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 28px;
}

.hero-try-free {
  padding: 16px 40px;
  font-size: 1.125rem;
  font-weight: 600;
  min-width: 200px;
}

/* ============================================
   Hero split: left text, right dashboard screenshot (fade to black)
   ============================================ */
.hero-split {
  min-height: 100vh;
  min-height: 100dvh;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  padding: clamp(24px, 5vw, 48px) clamp(20px, 6%, 80px);
  position: relative;
  overflow: hidden;
}

.hero-split-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-split-content {
  max-width: 560px;
}

.hero-split-headline {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 0.5em;
}

.hero-split-sub {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 1.75em;
}

.hero-split-cta {
  display: inline-block;
  padding: 18px 36px;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  background: var(--accent-green);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.hero-split-cta:hover {
  background: var(--accent-green-hover);
  transform: scale(1.02);
}

.hero-split-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-split-img-wrap {
  position: relative;
  width: 100%;
  max-width: 960px;
  min-height: 420px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: perspective(1200px) rotateY(-2deg);
  background: #1a1a1c;
}

.hero-split-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 1.5;
}

.hero-split-placeholder.visible {
  display: flex;
}

.hero-split-placeholder strong {
  color: rgba(255, 255, 255, 0.7);
}

.hero-split-img {
  display: block;
  width: 100%;
  min-width: 200px;
  min-height: 280px;
  height: auto;
  object-fit: contain;
  object-position: right center;
  background: #1a1a1c;
}

.hero-split-fade {
  position: absolute;
  inset: 0;
  left: -1px;
  width: 32%;
  background: linear-gradient(to right, #0a0a0a 0%, rgba(10, 10, 10, 0.6) 50%, transparent 100%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-split-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 40px;
    text-align: center;
  }

  .hero-split-content {
    max-width: none;
  }

  .hero-split-headline {
    margin-bottom: 0.35em;
  }

  .hero-split-sub {
    margin-bottom: 1.5em;
  }

  .hero-split-visual {
    justify-content: center;
    order: -1;
  }

  .hero-split-img-wrap {
    max-width: 100%;
    transform: none;
  }

  .hero-split-fade {
    width: 25%;
  }
}

@media (max-width: 480px) {
  .hero-split {
    min-height: auto;
    padding-top: 32px;
    padding-bottom: 40px;
  }

  .hero-split-headline {
    font-size: 28px;
  }

  .hero-split-sub {
    font-size: 16px;
  }

  .hero-split-cta {
    padding: 12px 24px;
    font-size: 15px;
  }
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
  max-width: 380px;
  text-align: left;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.hero-card-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  margin-bottom: 6px;
}

.hero-card-text {
  font-size: 15px;
  color: var(--slate-600);
  margin-bottom: 16px;
}

.hero-card-text.highlight-text {
  color: var(--accent-green);
  font-weight: 600;
}

.hero-card-arrow {
  text-align: center;
  color: var(--slate-500);
  font-size: 18px;
  margin: 8px 0;
}

/* ============================================
   Why different
   ============================================ */
.why-different {
  padding: 100px 6%;
  background: var(--bg-card);
  text-align: center;
}

.why-different h2,
.how h2,
.features-section h2,
.integrations-section h2,
.video-demo h2,
.pricing h2 {
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--slate-900);
  margin-bottom: 12px;
}

.section-sub {
  font-size: 18px;
  color: var(--slate-600);
  max-width: 600px;
  margin: 0 auto 56px;
  line-height: 1.6;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.diff-card {
  background: var(--bg-card);
  padding: 32px 28px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
}

.diff-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  border-color: var(--accent-green);
}

.diff-icon {
  width: 36px;
  height: 36px;
  background: rgba(21, 128, 61, 0.25);
  color: var(--accent-green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}

.diff-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.diff-card p {
  font-size: 15px;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ============================================
   How it works — Timeline list (no cards)
   ============================================ */
.how {
  padding: 24px 6% 100px;
  background: var(--bg-main);
  text-align: left;
}

.how .section-sub {
  text-align: center;
}

.steps-list {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
  padding: 0;
  position: relative;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.step-item:last-child {
  border-bottom: none;
}

.step-item .step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-green);
  color: white;
  font-size: 18px;
  font-weight: 700;
  border-radius: 50%;
  font-family: inherit;
}

/* How it works: all three icons same size, color, and line weight */
.step-diagram {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  color: var(--primary-color);
  opacity: 0.95;
}
.step-diagram svg {
  width: 100%;
  height: 100%;
  display: block;
}

.step-diagram-chart .chart-bars-icon {
  display: block;
}

.step-diagram-dollar {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}
.dollar-sign {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 3.25rem;
  font-weight: 200;
  line-height: 1;
  color: var(--primary-color);
}

.step-content {
  flex: 1;
  min-width: 0;
}

.step-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 6px;
}

.step-content p {
  font-size: 15px;
  color: var(--slate-600);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   Features
   ============================================ */
.features-section {
  padding: 100px 6%;
  background: var(--bg-card);
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  padding: 36px 28px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
}

.feature-card:hover {
  border-color: var(--cool-blue);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.feature-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--accent-green);
  flex-shrink: 0;
}
.feature-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 15px;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ============================================
   Powerful Integrations (infinite marquee: 4 visible, 8 logos, seamless loop)
   ============================================ */
.integrations-section {
  padding: 100px 6%;
  background: var(--bg-main);
  text-align: center;
  overflow: hidden;
}

.integrations-info {
  font-size: 17px;
  color: var(--slate-600);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.integrations-marquee {
  overflow: hidden;
  width: 100%;
  /* Show 4 logos: 4 * 140px + 3 * 40px gap = 680px */
  max-width: 680px;
  margin: 0 auto;
}

.integrations-marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: integrations-marquee 25s linear infinite;
}

@keyframes integrations-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.integrations-section .logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-width: 140px;
}

.integrations-section .logo-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.integrations-section .logo-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.integrations-section .logo-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.integrations-section .logo-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-600);
}

@media (max-width: 768px) {
  .integrations-marquee {
    max-width: min(100%, 444px);
  }
  .integrations-marquee-track {
    gap: 28px;
  }
  .integrations-section .logo-item {
    min-width: 90px;
  }
  .integrations-section .logo-item img,
  .integrations-section .logo-icon {
    width: 48px;
    height: 48px;
  }
  .integrations-section .logo-name {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .integrations-marquee-track {
    animation: none;
  }
}

/* ============================================
   Dashboard carousel (fixed height, no layout shift)
   ============================================ */
.dashboard-carousel-section {
  padding: 80px 6% 24px;
  background: var(--bg-main);
  text-align: center;
}

.dashboard-carousel-section h2 {
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--slate-900);
  margin-bottom: 12px;
}

.dashboard-carousel-section .section-sub {
  font-size: 17px;
  color: var(--slate-600);
  max-width: 500px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.dashboard-carousel {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  /* Fixed height so rotation never shifts page layout or causes scroll jump */
  height: 580px;
  overflow: hidden;
}

.dashboard-carousel-track {
  display: flex;
  width: 250%;
  height: 100%;
  transition: transform 0.5s ease-out;
  /* One full slide in center, half a slide on each side. --slide 0-4. */
  transform: translateX(calc(10% - 20% * var(--slide, 0)));
}

.dashboard-slide {
  flex: 0 0 20%;
  width: 20%;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  box-sizing: border-box;
}

.dashboard-slide .dashboard-mock {
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}
.dashboard-slide:not(.dashboard-slide-active) .dashboard-mock {
  opacity: 0.7;
  transform: scale(0.97);
}
.dashboard-slide.dashboard-slide-active .dashboard-mock {
  opacity: 1;
  transform: scale(1);
}

.dashboard-mock {
  width: 100%;
  max-width: 620px;
  height: 500px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.dashboard-mock.dashboard-mock-img-wrap {
  height: 500px;
  min-height: 400px;
  max-width: 620px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  display: block;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.dashboard-slide-enlarge {
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.dashboard-slide-enlarge:focus {
  outline: 2px solid var(--accent-green);
  outline-offset: 4px;
}

/* Dashboard image lightbox */
.dashboard-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.dashboard-lightbox[hidden] {
  display: none;
}

.dashboard-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.dashboard-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.dashboard-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.dashboard-lightbox-img {
  position: relative;
  z-index: 1;
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

.dashboard-mock-img-wrap {
  padding: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
}

.dashboard-mock-img-wrap .dashboard-slide-img,
.dashboard-slide-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: contain;
  object-position: center center;
  background: transparent;
}

.dashboard-mock-header {
  background: var(--bg-elevated);
  color: var(--slate-900);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 24px;
  letter-spacing: 0.02em;
}

.dashboard-mock-body {
  padding: 24px 24px;
  flex: 1;
  text-align: left;
}

.dashboard-mock-stat {
  font-size: 15px;
  color: var(--slate-600);
  margin-bottom: 14px;
}

.dashboard-mock-value {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 2px;
}

.dashboard-mock-list {
  list-style: none;
  font-size: 14px;
  color: var(--slate-600);
  line-height: 2;
}

.dashboard-mock-list li {
  padding-left: 12px;
  position: relative;
}

.dashboard-mock-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 4px;
  height: 4px;
  background: var(--accent-green);
  border-radius: 2px;
}

.dashboard-mock-table {
  font-size: 14px;
}

.dashboard-mock-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--slate-600);
}

.dashboard-mock-row:first-child {
  font-weight: 600;
  color: var(--slate-900);
}

.status-done { color: var(--green-soft); font-weight: 500; }
.status-pending { color: var(--slate-500); }

.dashboard-mock-note {
  font-size: 13px;
  color: var(--slate-500);
  margin-top: 20px;
}

.dashboard-mock-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.dashboard-mock-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  font-size: 14px;
  color: var(--slate-600);
}

.dashboard-mock-card .dashboard-mock-value {
  margin-bottom: 4px;
}

.dashboard-mock-activity {
  font-size: 14px;
  color: var(--slate-600);
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.activity-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  flex-shrink: 0;
}

.dashboard-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.dashboard-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s, background 0.2s;
}

.dashboard-dot:hover {
  border-color: var(--cool-blue);
}

.dashboard-dot.active {
  background: var(--cool-blue);
  border-color: var(--cool-blue);
}

@media (max-width: 768px) {
  .dashboard-carousel {
    height: 460px;
  }
  .dashboard-carousel-section {
    padding: 60px 6% 24px;
  }
  .dashboard-mock {
    max-width: 100%;
    height: 400px;
  }
  .dashboard-mock.dashboard-mock-img-wrap {
    height: 400px;
    min-height: 320px;
  }
}

/* ============================================
   Video
   ============================================ */
.video-demo {
  padding: 100px 6%;
  background: var(--bg-main);
  text-align: center;
}

.video-subtitle {
  font-size: 17px;
  color: var(--slate-600);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  background: #000;
  padding-bottom: 56.25%;
  height: 0;
  min-height: 260px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: none;
  display: block;
}

.video-fallback {
  margin-top: 16px;
  font-size: 14px;
  color: var(--slate-600);
}

.video-fallback a {
  color: var(--cool-blue);
  font-weight: 600;
}

.video-fallback a:hover {
  text-decoration: underline;
}

/* ============================================
   Testimonial
   ============================================ */
.testimonial {
  padding: 100px 6%;
  background: var(--bg-card);
  text-align: center;
}

.testimonial-quote {
  font-size: clamp(22px, 2.5vw, 26px);
  line-height: 1.6;
  color: var(--slate-900);
  max-width: 680px;
  margin: 0 auto 20px;
  font-weight: 500;
}

.testimonial-quote {
  position: relative;
  padding-left: 40px;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -16px;
  color: var(--cool-blue);
  opacity: 0.4;
  font-size: 72px;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-attribution {
  font-size: 16px;
  color: var(--slate-600);
  font-weight: 600;
}

/* ============================================
   Book a call
   ============================================ */
.book-call {
  padding: 100px 6%;
  background: var(--bg-card);
  text-align: center;
}

.book-call-inner {
  max-width: 560px;
  margin: 0 auto;
}

.book-call h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.book-call-sub {
  font-size: 17px;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 28px;
}

.book-call .cta-large,
.book-call-btn {
  display: inline-flex;
  padding: 18px 40px;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(74, 222, 128, 0.35);
}

.book-call-btn:hover {
  box-shadow: 0 6px 28px rgba(74, 222, 128, 0.45);
}

/* ============================================
   Pricing
   ============================================ */
.pricing {
  padding: 100px 6%;
  background: var(--bg-main);
  text-align: center;
}

.pricing-intro {
  font-size: 17px;
  color: var(--slate-600);
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.5;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 720px;
  margin: 0 auto;
}

.price-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 36px;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
}

.price-box:hover {
  border-color: var(--cool-blue);
  box-shadow: 0 12px 40px rgba(14, 165, 233, 0.1);
}

.price-box-featured {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border-color: var(--cool-blue);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-dark);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
}

.price-badge-save {
  background: var(--green-dark);
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
}

.price-box h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--slate-900);
  margin-top: 8px;
  letter-spacing: 0.02em;
}

.price-original {
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-500);
  margin: 10px 0 0;
  text-decoration: line-through;
}

.price {
  font-size: 48px;
  font-weight: 700;
  color: var(--slate-900);
  margin: 14px 0 4px;
  letter-spacing: -0.02em;
}

.price-period {
  font-size: 18px;
  font-weight: 500;
  color: var(--slate-600);
}

.price-savings {
  font-size: 15px;
  font-weight: 600;
  color: var(--green-soft);
  margin: 8px 0 4px;
  padding: 8px 12px;
  background: rgba(34, 197, 94, 0.15);
  border-radius: 10px;
  display: inline-block;
}

.price-note {
  font-size: 14px;
  color: var(--slate-600);
  margin-bottom: 24px;
}

.price-box ul {
  list-style: none;
  margin-bottom: 28px;
  text-align: left;
}

.price-box li {
  font-size: 15px;
  color: var(--slate-600);
  margin: 10px 0;
  padding-left: 24px;
  position: relative;
}

.price-box li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 700;
}

.price-box .cta {
  width: 100%;
  max-width: 260px;
}

.trial-code-wrap {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.trial-code-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-600);
  margin-bottom: 8px;
}

.trial-code-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 200px;
  margin: 0 auto;
}

.trial-code-input {
  flex: 1;
  padding: 8px 12px;
  font-size: 13px;
  background: var(--bg-main);
  color: var(--slate-900);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
}

.trial-code-input:focus {
  outline: none;
  border-color: var(--cool-blue);
}

.trial-code-btn {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, border-color 0.2s;
}

.trial-code-btn:hover {
  background: var(--border-light);
  border-color: var(--border-light);
}

.trial-code-msg {
  font-size: 12px;
  color: #dc2626;
  margin-top: 8px;
  min-height: 16px;
}

/* ============================================
   Final CTA
   ============================================ */
.final-cta {
  padding: 100px 6%;
  background: var(--accent-green);
  text-align: center;
  color: white;
}

.final-cta h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  margin-bottom: 8px;
  color: white;
}

.final-cta p {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 28px;
}

.cta-large {
  background: var(--accent-green) !important;
  color: white !important;
  padding: 16px 36px;
  font-size: 17px;
}

.cta-large:hover {
  background: var(--accent-green-hover) !important;
  color: white !important;
}

/* ============================================
   Footer
   ============================================ */
footer {
  padding: 40px 6% 32px;
  background: var(--bg-elevated);
  color: var(--slate-600);
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}

.footer-brand:hover {
  color: var(--slate-900);
  opacity: 0.9;
}

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

.footer-links a {
  color: var(--slate-600);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--slate-900);
}

.footer-copy {
  font-size: 13px;
  color: var(--slate-500);
}

/* ============================================
   Contact page
   ============================================ */
.contact-page {
  min-height: calc(100vh - 200px);
  padding: 60px 6% 80px;
}

.contact-hero {
  max-width: 600px;
  margin: 0 auto 48px;
  text-align: center;
}

.contact-hero h1 {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 12px;
}

.contact-intro {
  font-size: 18px;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 24px;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.contact-item {
  font-size: 16px;
  font-weight: 600;
  color: var(--cool-blue);
}

.contact-item:hover {
  text-decoration: underline;
}

.contact-form-section {
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}

.contact-form-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-600);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  background: var(--bg-card);
  color: var(--slate-900);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  margin-bottom: 20px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cool-blue);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.cta-form {
  width: 100%;
  margin-top: 8px;
}

/* ============================================
   Legal page (terms)
   ============================================ */
body.legal-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.legal-body main.legal-page {
  flex: 1;
}

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 6% 80px;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}

.legal-page h1 {
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.legal-page .updated {
  color: var(--slate-600);
  font-size: 14px;
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 28px 0 10px;
}

.legal-page p,
.legal-page ul {
  margin-bottom: 14px;
  line-height: 1.65;
  color: var(--slate-600);
  font-size: 15px;
}

.legal-page ul {
  padding-left: 1.5rem;
  list-style-type: disc;
}

.legal-page li {
  margin-bottom: 6px;
}

.legal-page a {
  color: var(--cool-blue);
}

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

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 5% 80px;
  }
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
  }
  .diff-grid,
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-nav {
    gap: 16px;
  }
  .header-nav a:not(.nav-cta) {
    font-size: 14px;
  }
  .why-different,
  .how,
  .features-section,
  .video-demo,
  .testimonial,
  .pricing,
  .final-cta {
    padding: 72px 5%;
  }
  .footer-inner {
    flex-direction: column;
  }
}

/* ============================================
   Chatbot — Floating widget, FAQ instant replies
   ============================================ */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.chat-trigger {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-green);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(21, 128, 61, 0.45);
  transition: background 0.2s, transform 0.2s;
}
.chat-trigger:hover {
  background: var(--accent-green-hover);
  transform: scale(1.05);
}
.chat-trigger-icon {
  width: 26px;
  height: 26px;
}

.chat-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 360px;
  max-width: calc(100vw - 32px);
  height: 480px;
  max-height: 70vh;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-panel[hidden] {
  display: none;
}

.chat-header {
  padding: 16px 44px 12px 20px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.chat-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
.chat-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}
.chat-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.chat-close:hover {
  background: var(--border);
  color: var(--text-primary);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.chat-msg-bot {
  align-self: flex-start;
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.chat-msg-user {
  align-self: flex-end;
  background: var(--accent-green);
  color: white;
}

.chat-input-wrap {
  padding: 12px 16px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
}
.chat-input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-main);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.chat-input::placeholder {
  color: var(--text-muted);
}
.chat-input:focus {
  border-color: var(--cool-blue);
}
.chat-send {
  padding: 12px 18px;
  background: var(--accent-green);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.chat-send:hover {
  background: var(--accent-green-hover);
  transform: scale(1.02);
}

/* ============================================
   Mobile (phone) only — better view on small screens
   Desktop/tablet unchanged. Breakpoint 600px = phone.
   ============================================ */
@media (max-width: 600px) {
  body {
    overflow-x: hidden;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  /* Keep content images within viewport (logos keep their size) */
  .hero-split-img-wrap img,
  .dashboard-slide-img,
  .dashboard-lightbox-img,
  .feature-card img,
  .video-wrapper iframe {
    max-width: 100%;
    box-sizing: border-box;
  }

  .site-header {
    padding: 12px 4%;
    max-width: 100vw;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    max-width: 100%;
  }

  .header-brand .logo-text {
    font-size: clamp(14px, 4vw, 18px);
  }

  .header-nav {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .header-nav a:not(.nav-cta) {
    font-size: 13px;
  }

  .nav-cta {
    padding: 10px 16px;
    font-size: 14px;
    min-height: 44px;
  }

  .hero-split {
    padding: 24px 4% 36px;
    min-height: auto;
    max-width: 100%;
  }

  .hero-split-inner {
    max-width: 100%;
  }

  .hero-split-headline {
    font-size: 26px;
    line-height: 1.15;
  }

  .hero-split-sub {
    font-size: 15px;
  }

  .hero-split-cta {
    width: 100%;
    max-width: min(320px, calc(100vw - 32px));
    min-height: 54px;
    padding: 18px 28px;
    font-size: 17px;
  }

  .hero-split-visual {
    width: 100%;
    max-width: 100%;
  }

  .hero-split-img-wrap {
    min-height: 220px;
    max-width: min(100%, calc(100vw - 24px));
    margin: 0 auto;
  }

  .hero-split-img {
    max-width: 100%;
    min-height: 200px;
  }

  .dashboard-carousel-section {
    padding: 48px 4% 24px;
    max-width: 100%;
  }

  .dashboard-carousel-section h2 {
    font-size: 26px;
  }

  .dashboard-carousel-section .section-sub {
    font-size: 15px;
    margin-bottom: 32px;
  }

  .dashboard-carousel {
    height: 380px;
    max-width: min(100%, calc(100vw - 24px));
    margin-left: auto;
    margin-right: auto;
  }

  .dashboard-carousel-track {
    max-width: 100%;
  }

  .dashboard-slide {
    padding: 0 8px;
  }

  .dashboard-mock,
  .dashboard-mock.dashboard-mock-img-wrap {
    max-width: 100%;
    width: 100%;
    height: 340px;
    min-height: 280px;
  }

  .dashboard-slide-img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .dashboard-carousel-dots {
    margin-top: 24px;
    gap: 10px;
  }

  .dashboard-dot {
    width: 12px;
    height: 12px;
    padding: 16px;
    min-width: 44px;
    min-height: 44px;
    box-sizing: content-box;
    border-radius: 50%;
  }

  .how,
  .features-section,
  .integrations-section,
  .video-demo,
  .testimonial,
  .book-call,
  .pricing,
  .final-cta {
    padding: 48px 4% 56px;
    max-width: 100%;
  }

  .how h2,
  .features-section h2,
  .integrations-section h2,
  .video-demo h2,
  .pricing h2 {
    font-size: 26px;
  }

  .section-sub {
    font-size: 15px;
  }

  /* Integrations: fit screen, smaller logos */
  .integrations-section {
    padding-left: 4%;
    padding-right: 4%;
  }

  .integrations-marquee {
    max-width: min(100%, calc(100vw - 24px));
  }

  .integrations-marquee-track {
    gap: 24px;
  }

  .integrations-section .logo-item {
    min-width: 72px;
  }

  .integrations-section .logo-item img,
  .integrations-section .logo-icon {
    width: 40px;
    height: 40px;
  }

  .integrations-section .logo-name {
    font-size: 10px;
  }

  /* Video: fit viewport */
  .video-demo {
    padding-left: 4%;
    padding-right: 4%;
  }

  .video-wrapper {
    max-width: min(100%, calc(100vw - 24px));
    margin-left: auto;
    margin-right: auto;
    min-height: 200px;
  }

  /* Pricing: full-width cards */
  .pricing {
    padding-left: 4%;
    padding-right: 4%;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100%;
  }

  .price-box {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  /* Feature cards: full width */
  .features-grid {
    max-width: 100%;
  }

  .feature-card {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Book call & final CTA buttons */
  .book-call-inner,
  .final-cta {
    max-width: 100%;
  }

  .step-item {
    padding: 20px 0;
    gap: 16px;
  }

  .step-item .step-num {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .step-diagram {
    width: 56px;
    height: 56px;
  }

  .step-content h3 {
    font-size: 16px;
  }

  .step-content p {
    font-size: 14px;
  }

  .features-grid {
    gap: 24px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .feature-card h3 {
    font-size: 17px;
  }

  .feature-card p {
    font-size: 14px;
  }

  .integrations-info {
    font-size: 14px;
    line-height: 1.6;
  }

  .video-wrapper {
    margin: 0 auto 16px;
    border-radius: 12px;
    overflow: hidden;
  }

  .video-subtitle {
    font-size: 15px;
  }

  .testimonial-quote {
    font-size: 18px;
    line-height: 1.5;
  }

  .book-call-inner h2 {
    font-size: 26px;
  }

  .book-call-sub {
    font-size: 15px;
  }

  .book-call-btn {
    width: 100%;
    max-width: 280px;
    min-height: 48px;
  }

  .pricing-intro {
    font-size: 15px;
  }

  .price-box {
    padding: 24px 20px;
    width: 100%;
    max-width: min(100%, calc(100vw - 24px));
    box-sizing: border-box;
  }

  .price-box h3 {
    font-size: 16px;
  }

  .price {
    font-size: 32px;
  }

  .price-period {
    font-size: 15px;
  }

  .price-box .cta {
    max-width: none;
    width: 100%;
    min-height: 48px;
  }

  .final-cta h2 {
    font-size: 22px;
    line-height: 1.3;
  }

  .final-cta .cta {
    width: 100%;
    max-width: min(280px, calc(100vw - 24px));
    min-height: 48px;
  }

  .testimonial-quote {
    max-width: min(100%, calc(100vw - 32px));
    margin-left: auto;
    margin-right: auto;
  }

  .footer-inner {
    padding: 24px 4%;
    gap: 16px;
    max-width: 100%;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .footer-links a {
    font-size: 14px;
  }

  .footer-copy {
    font-size: 13px;
    padding: 0 4% 24px;
  }

  .cta {
    min-height: 44px;
  }

  .chat-widget {
    bottom: max(16px, env(safe-area-inset-bottom));
    right: max(16px, env(safe-area-inset-right));
  }

  .chat-trigger {
    width: 52px;
    height: 52px;
  }

  .chat-panel {
    width: 100%;
    max-width: min(360px, calc(100vw - 24px));
    max-height: 65vh;
    bottom: 68px;
    right: 0;
  }

  /* Lightbox: fit iPhone screen */
  .dashboard-lightbox {
    padding: env(safe-area-inset-top) 16px env(safe-area-inset-bottom) 16px;
  }

  .dashboard-lightbox-img {
    max-width: min(95vw, 100%);
    max-height: min(85vh, 100%);
  }

  .dashboard-lightbox-close {
    top: max(12px, env(safe-area-inset-top));
    right: 16px;
    width: 44px;
    height: 44px;
    font-size: 24px;
  }
}

/* Very small phones (e.g. 380px wide) */
@media (max-width: 380px) {
  .hero-split-headline {
    font-size: 22px;
  }

  .dashboard-carousel {
    height: 360px;
  }

  .dashboard-mock.dashboard-mock-img-wrap {
    height: 320px;
    min-height: 280px;
  }

  .how h2,
  .features-section h2,
  .pricing h2 {
    font-size: 22px;
  }

  .price {
    font-size: 32px;
  }
}
