:root {
  --color-primary: #4349B4;
  --color-primary-dark: #2D3180;
  --color-primary-light: #5D65E6;
  --color-primary-lighter: #B9BFFA;
  --color-primary-darker: #1E204F;
  --color-secondary: #8653B5;
  --color-secondary-dark: #583485;
  --color-secondary-light: #B382E8;
  --color-secondary-lighter: #D4C1F3;
  --color-info: #00B8D9;
  --color-success: #22C55E;
  --color-warning: #FFAB00;
  --color-error: #FF5630;

  --color-gray-50: #F9FAFB;
  --color-gray-100: #F4F6F8;
  --color-gray-200: #DFE3E8;
  --color-gray-300: #C4CDD5;
  --color-gray-400: #919EAB;
  --color-gray-500: #637381;
  --color-gray-600: #454F5B;
  --color-gray-700: #212B36;
  --color-gray-800: #161C24;
  --color-gray-900: #161C24;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Public Sans', sans-serif;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-gray-800);
  line-height: 1.6;
  background-color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-gray-900);
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-primary-dark);
}

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

/* Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-white {
  background-color: #ffffff;
  color: var(--color-primary);
}

.btn-white:hover {
  background-color: var(--color-gray-100);
  color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.0625rem;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section spacing */
.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-lg {
  padding: 7rem 0;
}

/* Hero gradient */
.hero-gradient {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-secondary) 100%);
  color: #ffffff;
}

.hero-gradient h1,
.hero-gradient h2,
.hero-gradient h3,
.hero-gradient p {
  color: #ffffff;
}

/* Feature card */
.feature-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-200);
  transition: all 0.3s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background-color: rgba(67, 73, 180, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

/* Pricing card */
.pricing-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--color-gray-200);
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--color-primary);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -0.875rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .pricing-card.featured {
    transform: scale(1);
  }
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.badge-primary {
  background-color: rgba(67, 73, 180, 0.1);
  color: var(--color-primary);
}

.badge-secondary {
  background-color: rgba(134, 83, 181, 0.1);
  color: var(--color-secondary);
}

/* Testimonial card */
.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-200);
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid var(--color-gray-200);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-gray-900);
  text-align: left;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding-bottom: 1.25rem;
  color: var(--color-gray-600);
}

/* Integration grid */
.integration-logo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  background: var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-gray-600);
  font-size: 0.75rem;
}

/* Form styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-gray-700);
  font-size: 0.9375rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-gray-300);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-gray-800);
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(67, 73, 180, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-gray-200);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 2.25rem;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-nav a {
  color: var(--color-gray-700);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--color-primary);
}

.header-nav a.btn-primary {
  color: #ffffff;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.nav-dropdown-trigger svg {
  flex-shrink: 0;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-gray-200);
  padding: 0.75rem;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--color-gray-700);
  font-size: 0.875rem;
}

.nav-dropdown-menu a:hover {
  background-color: var(--color-gray-50);
  color: var(--color-primary);
}

/* Mobile nav */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-gray-700);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 4.5rem;
  left: 0;
  right: 0;
  height: calc(100vh - 4.5rem);
  background: #ffffff;
  z-index: 999;
  padding: 1.5rem;
  overflow-y: auto;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--color-gray-700);
  border-bottom: 1px solid var(--color-gray-100);
}

.mobile-nav a:hover {
  color: var(--color-primary);
}

.mobile-nav a.btn-primary {
  color: #ffffff;
}

@media (max-width: 1024px) {
  .header-nav {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }
}

/* Footer */
.site-footer {
  background-color: var(--color-gray-900);
  color: var(--color-gray-400);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.footer-col a {
  display: block;
  color: var(--color-gray-400);
  font-size: 0.875rem;
  padding: 0.375rem 0;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

.footer-logo img {
  height: 1.75rem;
  filter: brightness(0) invert(1);
}

/* Stat counter */
.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  margin-top: 0.25rem;
}

/* Check list */
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--color-gray-700);
}

.check-list li::before {
  content: '';
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%234349B4'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* Legal page styles */
.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--color-gray-600);
}

.legal-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content ul li {
  margin-bottom: 0.5rem;
  color: var(--color-gray-600);
}

/* ============================================================================
   Hero Section (Landing Page)
   ============================================================================ */

.hero {
  position: relative;
  background: transparent;
  padding: 4rem 0 6rem;
  overflow: hidden;
  z-index: 10;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -15%;
  width: 70%;
  height: 150%;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-secondary) 100%);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
  filter: blur(120px);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  z-index: 2;
}

.hero-eyebrow {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3rem;
  color: var(--color-gray-900);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-gray-600);
  margin-bottom: 2.5rem;
  line-height: 1.75;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: nowrap;
  align-items: center;
}

.hero-image {
  position: relative;
  z-index: 2;
  perspective: 1000px;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--color-gray-50);
  clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%);
  z-index: 5;
}

/* ============================================================================
   Hero Complaint Box
   ============================================================================ */

/* Two-column hero: content left, mosaic right */
.hero-container--split {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.hero-container--split .hero-content {
  max-width: min(520px, 100%);
}

.hero-container--split h1 {
  font-size: 2.75rem;
}

.marker-underline {
  background: url("//s2.svgbox.net/pen-brushes.svg?ic=brush-1&color=c8c9e8");
  margin: -2px -6px;
  padding: 2px 6px;
  background-size: cover;
}

.hero-container--split .hero-description {
  font-size: 1.125rem;
  margin-bottom: 1.75rem;
  max-width: 480px;
}

/* Animated photo mosaic — full-bleed right column */
.hero-mosaic {
  position: absolute;
  top: -4rem;
  right: 0;
  bottom: -6rem;
  width: 55%;
  overflow: visible;
  perspective: 1200px;
}

.hero-mosaic-inner {
  display: flex;
  gap: 12px;
  padding: 0 12px;
  transform: rotateY(-18deg) rotateZ(6deg) scale(1.1);
  transform-origin: right center;
  transform-style: preserve-3d;
}

.hero-mosaic-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-mosaic-col img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  margin-bottom: 12px;
}

.hero-mosaic-col--up {
  animation: mosaicScrollUp 100s linear infinite;
}

.hero-mosaic-col--down {
  animation: mosaicScrollDown 100s linear infinite;
}

@keyframes mosaicScrollUp {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

@keyframes mosaicScrollDown {
  0% {
    transform: translateY(-50%);
  }

  100% {
    transform: translateY(0);
  }
}

.hero-mosaic-overlay {
  display: none;
}




.complaint-box {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  text-align: left;
  box-shadow: none;
  position: relative;
  z-index: 3;
  max-width: 520px;
  margin-right: -60px;
}

.industry-hero .complaint-box {
  margin: 2rem auto 0;
  margin-right: auto;
  text-align: center;
}

.industry-hero .complaint-prompt {
  color: #fff;
}

.industry-hero .complaint-textarea {
  text-align: left;
}

.industry-hero .hero-secondary-ctas {
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
}

.industry-hero .hero-secondary-ctas a {
  color: #fff;
}

.complaint-step--hidden {
  display: none !important;
}

.complaint-prompt {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-gray-500);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.complaint-textarea {
  width: 100%;
  min-height: 56px;
  padding: 0.875rem 1.125rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-gray-800);
  background: var(--color-gray-50);
  resize: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  line-height: 1.6;
}

.complaint-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(67, 73, 180, 0.08);
  background: #fff;
}

.complaint-textarea::placeholder {
  color: var(--color-gray-400);
}

.complaint-btn {
  margin-top: 0.75rem;
  width: 100%;
  padding: 0.875rem;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.complaint-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Crect width='1' height='1' x='0' y='0' fill='white' opacity='0.09'/%3E%3Crect width='1' height='1' x='3' y='1' fill='white' opacity='0.06'/%3E%3Crect width='1' height='1' x='1' y='3' fill='white' opacity='0.07'/%3E%3Crect width='1' height='1' x='4' y='4' fill='white' opacity='0.09'/%3E%3Crect width='1' height='1' x='2' y='5' fill='white' opacity='0.05'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 6px 6px;
  pointer-events: none;
  animation: ditherDrift 8s linear infinite;
}

@keyframes ditherDrift {
  0% {
    background-position: 0px 0px;
  }

  100% {
    background-position: 24px 24px;
  }
}

.complaint-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.complaint-preview {
  font-size: 0.9375rem;
  color: var(--color-gray-500);
  background: var(--color-gray-50);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  margin-bottom: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  max-height: 80px;
  overflow: hidden;
}

.complaint-email-row {
  display: flex;
  gap: 0.75rem;
}

.complaint-email-input {
  flex: 1;
  padding: 0.875rem 1rem;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-gray-700);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.complaint-email-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(67, 73, 180, 0.1);
}

.complaint-email-row .complaint-btn {
  margin-top: 0;
  width: auto;
  padding: 0.875rem 2rem;
}

.complaint-skip {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-gray-400);
  margin-top: 0.75rem;
}

.complaint-skip-link {
  color: var(--color-primary);
  text-decoration: none;
}

.complaint-skip-link:hover {
  text-decoration: underline;
}

.complaint-confirmed {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.complaint-check {
  width: 2rem;
  height: 2rem;
  color: var(--color-success);
  flex-shrink: 0;
}

.complaint-confirmed-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-gray-700);
  margin: 0;
}

.complaint-followup {
  font-size: 0.9375rem;
  color: var(--color-gray-500);
  margin-bottom: 1rem;
}

.complaint-confirmed-ctas {
  display: flex;
  gap: 0.75rem;
}

.complaint-confirmed-ctas .btn {
  flex: 1;
  text-align: center;
  padding: 0.875rem;
}

.complaint-error {
  font-size: 0.875rem;
  color: var(--color-error);
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 86, 48, 0.08);
  border-radius: var(--radius-sm);
}

.hero-secondary-ctas {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-gray-400);
  margin-top: 1.5rem;
}

.hero-secondary-ctas a {
  color: var(--color-gray-500);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.hero-secondary-ctas a:hover {
  color: var(--color-primary);
}

/* Hero inline logo scroller */
.hero-logo-scroller {
  margin-top: 1.5rem;
  max-width: 520px;
}

.hero-logo-heading {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gray-400);
  margin-bottom: 0.75rem;
  text-align: center;
}

.hero-logo-track {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%, black 75%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 25%, black 75%, transparent 100%);
}

.hero-logo-track-inner {
  display: flex;
  align-items: center;
  width: max-content;
  animation: logoScroll 14s linear infinite;
}

.hero-logo-track-inner img {
  height: 32px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(100%);
  flex-shrink: 0;
  margin-right: 2.5rem;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.hero-logo-track-inner img:hover {
  filter: grayscale(0%);
  opacity: 0.85;
}

@keyframes logoScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 1024px) {
  .hero-container--split {
    text-align: center;
  }

  .hero-container--split .hero-content {
    max-width: 600px;
    margin: 0 auto;
  }

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

  .hero-mosaic {
    display: none;
  }

  .hero-secondary-ctas {
    text-align: center;
  }

  .hero-logo-scroller {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .hero-container--split h1 {
    font-size: 2rem;
  }

  .hero-container--split .hero-description {
    font-size: 1.0625rem;
  }

  .complaint-box {
    padding: 1.5rem;
  }

  .complaint-email-row {
    flex-direction: column;
  }

  .complaint-email-row .complaint-btn {
    width: 100%;
  }

  .complaint-confirmed-ctas {
    flex-direction: column;
  }
}

/* ============================================================================
   Card Stack
   ============================================================================ */

.hero-card-stack {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-left: 40px;
  padding-top: 20px;
}

.hero-card {
  position: absolute;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-2xl);
  box-shadow:
    0 8px 32px rgba(67, 73, 180, 0.08),
    0 1px 1px rgba(0, 0, 0, 0.02),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.hero-card::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 0% 0%,
      rgba(67, 73, 180, 0.15) 0%,
      rgba(67, 73, 180, 0.08) 25%,
      rgba(67, 73, 180, 0.04) 45%,
      rgba(67, 73, 180, 0.01) 65%,
      transparent 85%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(67, 73, 180, 0.03) 0%,
      rgba(134, 83, 181, 0.03) 100%);
  border-radius: var(--radius-2xl);
  pointer-events: none;
}

.hero-card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 1;
}

.hero-card-header {
  background: #fafafa;
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem 0.5rem;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  flex: 0 0 auto;
  min-height: 72px;
  z-index: 2;
}

.hero-card h3 {
  font-size: 1rem;
  color: var(--color-gray-800);
  margin: 0;
  font-weight: 600;
  font-family: var(--font-body);
  opacity: 0.9;
}

.hero-card p {
  font-size: 0.75rem;
  color: var(--color-gray-600);
  margin: 0.25rem 0 0 0;
  line-height: 1.5;
  opacity: 0.8;
}

.hero-card-preview {
  width: 100%;
  flex: 1 1 auto;
  overflow: hidden;
  border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background-color: rgba(255, 255, 255, 0.95);
  min-height: 0;
}

.hero-card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius-md);
}

/* Card Stacking Positions */
.hero-card-1 {
  z-index: 4;
  transform: translateX(0) translateY(0);
  animation: cardCycle1 16s ease-in-out infinite;
}

.hero-card-2 {
  z-index: 3;
  transform: translateX(12px) translateY(12px);
  animation: cardCycle2 16s ease-in-out infinite;
}

.hero-card-3 {
  z-index: 2;
  transform: translateX(24px) translateY(24px);
  animation: cardCycle3 16s ease-in-out infinite;
}

.hero-card-4 {
  z-index: 1;
  transform: translateX(36px) translateY(36px);
  animation: cardCycle4 16s ease-in-out infinite;
}

@keyframes cardCycle1 {

  0%,
  20% {
    z-index: 4;
    transform: translateX(0) translateY(0) scale(1);
    opacity: 1;
  }

  25%,
  45% {
    z-index: 1;
    transform: translateX(36px) translateY(36px) scale(0.96);
    opacity: 0.65;
  }

  50%,
  70% {
    z-index: 2;
    transform: translateX(24px) translateY(24px) scale(0.97);
    opacity: 0.75;
  }

  75%,
  95% {
    z-index: 3;
    transform: translateX(12px) translateY(12px) scale(0.98);
    opacity: 0.85;
  }

  100% {
    z-index: 4;
    transform: translateX(0) translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes cardCycle2 {

  0%,
  20% {
    z-index: 3;
    transform: translateX(12px) translateY(12px) scale(0.98);
    opacity: 0.85;
  }

  25%,
  45% {
    z-index: 4;
    transform: translateX(0) translateY(0) scale(1);
    opacity: 1;
  }

  50%,
  70% {
    z-index: 1;
    transform: translateX(36px) translateY(36px) scale(0.96);
    opacity: 0.65;
  }

  75%,
  95% {
    z-index: 2;
    transform: translateX(24px) translateY(24px) scale(0.97);
    opacity: 0.75;
  }

  100% {
    z-index: 3;
    transform: translateX(12px) translateY(12px) scale(0.98);
    opacity: 0.85;
  }
}

@keyframes cardCycle3 {

  0%,
  20% {
    z-index: 2;
    transform: translateX(24px) translateY(24px) scale(0.97);
    opacity: 0.75;
  }

  25%,
  45% {
    z-index: 3;
    transform: translateX(12px) translateY(12px) scale(0.98);
    opacity: 0.85;
  }

  50%,
  70% {
    z-index: 4;
    transform: translateX(0) translateY(0) scale(1);
    opacity: 1;
  }

  75%,
  95% {
    z-index: 1;
    transform: translateX(36px) translateY(36px) scale(0.96);
    opacity: 0.65;
  }

  100% {
    z-index: 2;
    transform: translateX(24px) translateY(24px) scale(0.97);
    opacity: 0.75;
  }
}

@keyframes cardCycle4 {

  0%,
  20% {
    z-index: 1;
    transform: translateX(36px) translateY(36px) scale(0.96);
    opacity: 0.65;
  }

  25%,
  45% {
    z-index: 2;
    transform: translateX(24px) translateY(24px) scale(0.97);
    opacity: 0.75;
  }

  50%,
  70% {
    z-index: 3;
    transform: translateX(12px) translateY(12px) scale(0.98);
    opacity: 0.85;
  }

  75%,
  95% {
    z-index: 4;
    transform: translateX(0) translateY(0) scale(1);
    opacity: 1;
  }

  100% {
    z-index: 1;
    transform: translateX(36px) translateY(36px) scale(0.96);
    opacity: 0.65;
  }
}

/* Content section card stacks cascade bottom-left */
.content-image .hero-card-stack {
  min-height: 520px;
  padding: 0;
  justify-content: center;
}

.content-image .hero-card {
  aspect-ratio: 4 / 3;
}

.content-image .hero-card-1 {
  transform: translateX(0) translateY(0);
  animation: cardCycleLeft1 16s ease-in-out infinite;
  z-index: 14;
}

.content-image .hero-card-2 {
  transform: translateX(-12px) translateY(12px);
  animation: cardCycleLeft2 16s ease-in-out infinite;
  z-index: 13;
}

.content-image .hero-card-3 {
  transform: translateX(-24px) translateY(24px);
  animation: cardCycleLeft3 16s ease-in-out infinite;
  z-index: 12;
}

.content-image .hero-card-4 {
  transform: translateX(-36px) translateY(36px);
  animation: cardCycleLeft4 16s ease-in-out infinite;
  z-index: 11;
}

@keyframes cardCycleLeft1 {

  0%,
  20% {
    z-index: 4;
    transform: translateX(0) translateY(0) scale(1);
    opacity: 1;
  }

  25%,
  45% {
    z-index: 1;
    transform: translateX(-36px) translateY(36px) scale(0.96);
    opacity: 0.65;
  }

  50%,
  70% {
    z-index: 2;
    transform: translateX(-24px) translateY(24px) scale(0.97);
    opacity: 0.75;
  }

  75%,
  95% {
    z-index: 3;
    transform: translateX(-12px) translateY(12px) scale(0.98);
    opacity: 0.85;
  }

  100% {
    z-index: 4;
    transform: translateX(0) translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes cardCycleLeft2 {

  0%,
  20% {
    z-index: 3;
    transform: translateX(-12px) translateY(12px) scale(0.98);
    opacity: 0.85;
  }

  25%,
  45% {
    z-index: 4;
    transform: translateX(0) translateY(0) scale(1);
    opacity: 1;
  }

  50%,
  70% {
    z-index: 1;
    transform: translateX(-36px) translateY(36px) scale(0.96);
    opacity: 0.65;
  }

  75%,
  95% {
    z-index: 2;
    transform: translateX(-24px) translateY(24px) scale(0.97);
    opacity: 0.75;
  }

  100% {
    z-index: 3;
    transform: translateX(-12px) translateY(12px) scale(0.98);
    opacity: 0.85;
  }
}

@keyframes cardCycleLeft3 {

  0%,
  20% {
    z-index: 2;
    transform: translateX(-24px) translateY(24px) scale(0.97);
    opacity: 0.75;
  }

  25%,
  45% {
    z-index: 3;
    transform: translateX(-12px) translateY(12px) scale(0.98);
    opacity: 0.85;
  }

  50%,
  70% {
    z-index: 4;
    transform: translateX(0) translateY(0) scale(1);
    opacity: 1;
  }

  75%,
  95% {
    z-index: 1;
    transform: translateX(-36px) translateY(36px) scale(0.96);
    opacity: 0.65;
  }

  100% {
    z-index: 2;
    transform: translateX(-24px) translateY(24px) scale(0.97);
    opacity: 0.75;
  }
}

@keyframes cardCycleLeft4 {

  0%,
  20% {
    z-index: 1;
    transform: translateX(-36px) translateY(36px) scale(0.96);
    opacity: 0.65;
  }

  25%,
  45% {
    z-index: 2;
    transform: translateX(-24px) translateY(24px) scale(0.97);
    opacity: 0.75;
  }

  50%,
  70% {
    z-index: 3;
    transform: translateX(-12px) translateY(12px) scale(0.98);
    opacity: 0.85;
  }

  75%,
  95% {
    z-index: 4;
    transform: translateX(0) translateY(0) scale(1);
    opacity: 1;
  }

  100% {
    z-index: 1;
    transform: translateX(-36px) translateY(36px) scale(0.96);
    opacity: 0.65;
  }
}

/* ============================================================================
   Customer Logos
   ============================================================================ */

.customer-logos {
  margin: 2rem auto 3rem;
  text-align: center;
  padding: 2.5rem 0;
}

.logos-heading {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gray-500);
  margin-bottom: 2rem;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: center;
  justify-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: all 0.25s ease;
  opacity: 0.6;
  filter: grayscale(100%);
}

.logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

.logo-item img {
  max-width: 180px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ============================================================================
   Features Grid (Landing Page)
   ============================================================================ */

.section-header {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-header h2 {
  font-size: 2rem;
}

.section-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gray-500);
  margin-bottom: 0.75rem;
}

.section-description {
  font-size: 1rem;
  color: var(--color-gray-600);
  line-height: 1.7;
}

.features-overview {
  padding: 2rem 0;
  position: relative;
  z-index: 20;
}

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

.features-grid-landing .feature-card {
  padding: 2rem;
}

.features-grid-landing .feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.25rem;
  background: none;
}

.features-grid-landing .feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.features-grid-landing .feature-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.features-grid-landing .feature-card p {
  color: var(--color-gray-600);
  font-size: 0.8125rem;
  margin: 0;
}

/* ============================================================================
   Two Column Layouts (Value Prop Sections)
   ============================================================================ */

.two-column-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-column-layout.reverse {
  direction: rtl;
}

.two-column-layout.reverse>* {
  direction: ltr;
}

.content-text {
  max-width: 560px;
}

.content-text h2 {
  font-size: 1.625rem;
  margin-bottom: 1.25rem;
}

.content-text p {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  line-height: 1.7;
}

.content-image {
  position: relative;
  width: 100%;
}

.content-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

.feature-list {
  margin-top: 1.25rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.7;
}

.feature-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1rem;
}

/* ============================================================================
   Parallax Wrapper
   ============================================================================ */

.parallax-wrapper {
  position: relative;
  background-color: #fff;
}

/* Hide scroll band — replaced by full section layouts */
.scroll-band {
  display: none !important;
}

/* ============================================================================
   Value Prop Sections — Desktop: full two-column, Mobile: accordion
   ============================================================================ */

.value-prop {
  position: relative;
  background-color: #fff;
}

/* Alternating backgrounds */
.value-prop:nth-child(even) {
  background-color: var(--color-gray-50);
}

/* Color accent bar on left edge of each section (desktop) */
.value-prop::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}

.value-prop[data-accordion-color="primary"]::before {
  background: var(--color-primary);
}

.value-prop[data-accordion-color="secondary"]::before {
  background: var(--color-secondary);
}

.value-prop[data-accordion-color="info"]::before {
  background: var(--color-info);
}

.value-prop[data-accordion-color="success"]::before {
  background: var(--color-success);
}

/* --- Desktop: sections always expanded, no accordion --- */
@media (min-width: 1025px) {
  .accordion-header {
    display: none;
  }

  .accordion-panel {
    max-height: none !important;
    overflow: visible;
  }

  .accordion-panel-content {
    padding: 5rem 0;
  }

  .value-prop {
    border-bottom: 1px solid var(--color-gray-200);
  }

  .value-prop:last-child {
    border-bottom: none;
  }
}

/* --- Mobile: accordion behavior --- */
@media (max-width: 1024px) {
  .value-prop::before {
    display: none;
  }

  .accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    cursor: pointer;
    border-bottom: 1px solid var(--color-gray-200);
    transition: background-color 0.2s ease;
    user-select: none;
  }

  .accordion-header:hover {
    background-color: var(--color-gray-50);
  }

  .accordion-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .accordion-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .accordion-icon svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .accordion-title h2 {
    font-size: 1.125rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin: 0;
  }

  .accordion-chevron {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-gray-400);
    transition: transform 0.3s ease;
    flex-shrink: 0;
  }

  .accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .accordion-panel-content {
    padding: 2.5rem 0;
  }

  .value-prop.accordion-active .accordion-chevron {
    transform: rotate(180deg);
  }

  .value-prop.accordion-active .accordion-panel {
    max-height: 1200px;
  }

  .value-prop.accordion-active .accordion-header {
    background-color: var(--color-gray-50);
    border-bottom-color: transparent;
  }
}

/* Color variants for accordion icons */
.value-prop[data-accordion-color="primary"] .accordion-icon {
  background: rgba(67, 73, 180, 0.1);
  color: var(--color-primary);
}

.value-prop[data-accordion-color="secondary"] .accordion-icon {
  background: rgba(134, 83, 181, 0.1);
  color: var(--color-secondary);
}

.value-prop[data-accordion-color="info"] .accordion-icon {
  background: rgba(0, 184, 217, 0.1);
  color: var(--color-info);
}

.value-prop[data-accordion-color="success"] .accordion-icon {
  background: rgba(34, 197, 94, 0.1);
  color: var(--color-success);
}

/* ============================================================================
   Section 2: Narrative Bridge
   ============================================================================ */

.narrative-bridge {
  padding: 3rem 0 5rem;
  background: var(--color-gray-50);
  position: relative;
}

.narrative-bridge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--color-gray-300);
}

.narrative-bridge-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.narrative-bridge h2 {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--color-gray-900);
}

.narrative-bridge p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-gray-600);
}

/* ============================================================================
   Sections 3 & 4: Product Moments
   ============================================================================ */

.product-moment {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.product-moment--alt {
  background: var(--color-gray-50);
}

.product-moment-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  align-items: center;
}

.product-moment-grid--reverse {
  grid-template-columns: 3fr 2fr;
}

.product-moment-grid--reverse .product-moment-text {
  order: 2;
}

.product-moment-grid--reverse .product-moment-image {
  order: 1;
}

/* ============================================================================
   Device Duo — laptop + phone side by side (no kiosk)
   ============================================================================ */

.device-duo {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
}

.device-duo-laptop,
.device-duo-phone {
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1),
    filter 0.4s cubic-bezier(0.25, 0.1, 0.25, 1),
    z-index 0s;
  cursor: pointer;
}

.device-duo-laptop {
  width: 78%;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
}

.device-duo-phone {
  width: 20%;
  margin-left: -8%;
  position: relative;
  z-index: 3;
  filter: drop-shadow(-8px 4px 20px rgba(0, 0, 0, 0.15));
}

.device-duo-laptop:hover {
  transform: scale(1.04) translateY(-4px);
  z-index: 10;
}

.device-duo-phone:hover {
  transform: scale(1.12) translateY(-6px);
  z-index: 10;
  filter: drop-shadow(-8px 8px 30px rgba(0, 0, 0, 0.25));
}

@media (max-width: 768px) {
  .device-duo-laptop {
    width: 80%;
  }

  .device-duo-phone {
    width: 24%;
  }
}

/* ============================================================================
   Screenshot Float — reusable frameless screenshot presentation
   ============================================================================ */

.screenshot-float {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.08),
    0 1px 4px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--color-gray-100);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.screenshot-float:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06);
}

.screenshot-float img {
  width: 100%;
  display: block;
}

/* Variant: on a subtle gradient pad */
.screenshot-float--pad {
  background: linear-gradient(135deg, var(--color-gray-50), #f0eef8);
  padding: 2rem;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-gray-100);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.screenshot-float--pad:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
}

.screenshot-float--pad .screenshot-float {
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.10),
    0 1px 4px rgba(0, 0, 0, 0.04);
}

.screenshot-float--pad .screenshot-float:hover {
  transform: none;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.10),
    0 1px 4px rgba(0, 0, 0, 0.04);
}

/* ============================================================================ */

.product-moment-text .section-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.product-moment-text h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.product-moment-text>p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-gray-600);
}

.product-moment-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.product-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #fff;
  border: 1px solid var(--color-gray-200);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-gray-700);
}

.product-pill svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Device frames — real mockup assets */
.device-frame {
  position: relative;
  display: inline-block;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* The mockup PNG sits on top, screenshot behind it showing through transparent screen */
.device-frame-overlay {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.device-frame-screenshot {
  position: absolute;
  z-index: 1;
  object-fit: cover;
  object-position: top left;
  border-radius: 2px;
}

/* MacBook Pro — transparent screen area, screenshot behind */
.device-frame--macbook .device-frame-screenshot {
  top: 3.6%;
  left: 5.5%;
  width: 89%;
  height: 85.5%;
}

/* Studio Display — screenshot overlays on top of the wallpaper */
.device-frame--studio .device-frame-screenshot {
  z-index: 3;
  top: 2.3%;
  left: 1.7%;
  width: 96.5%;
  height: 72%;
  border-radius: 0;
}

/* Paired device layout (macbook + iphone side by side) */
.device-pair {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.device-complete {
  display: block;
  height: auto;
}

.device-complete--macbook {
  width: 82%;
  border-radius: var(--radius-lg);
}

.device-complete--iphone {
  width: 22%;
  margin-left: -6%;
  position: relative;
  z-index: 2;
  filter: drop-shadow(-8px 4px 20px rgba(0, 0, 0, 0.15));
}

@media (max-width: 768px) {
  .device-complete--macbook {
    width: 78%;
  }

  .device-complete--iphone {
    width: 26%;
    margin-left: -8%;
  }
}

/* Tilt animation on scroll */
.device-tilt {
  transform: perspective(1200px) rotateY(-2deg) rotateX(2deg);
}

.device-tilt.is-visible {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

/* Glow effect for analytics section */
.device-frame--glow {
  filter: drop-shadow(0 0 60px rgba(67, 73, 180, 0.2));
}

/* ============================================================================
   Section 5: Mid-page CTA
   ============================================================================ */

.mid-cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding-bottom: 12rem;
}

.mid-cta-heading {
  font-size: 2.25rem;
  margin-bottom: 2rem;
  color: var(--color-gray-900) !important;
}

.mid-cta-btn {
  position: relative;
}

.mid-cta-btn.is-visible {
  animation: subtlePulse 3s ease-in-out 1s infinite;
}

@keyframes subtlePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(67, 73, 180, 0);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(67, 73, 180, 0.08);
  }
}

.mid-cta-subtext {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: var(--color-gray-500);
  font-style: italic;
}

/* ============================================================================
   Section 6: Growth / Analytics (Dark)
   ============================================================================ */

.growth-section {
  background: linear-gradient(to bottom,
      #ffffff 0%,
      #ffffff 18%,
      var(--color-gray-800) 27%,
      var(--color-gray-800) 100%);
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.growth-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(67, 73, 180, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.growth-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Crect width='1' height='1' x='0' y='0' fill='white' opacity='0.09'/%3E%3Crect width='1' height='1' x='3' y='1' fill='white' opacity='0.06'/%3E%3Crect width='1' height='1' x='1' y='3' fill='white' opacity='0.07'/%3E%3Crect width='1' height='1' x='4' y='4' fill='white' opacity='0.09'/%3E%3Crect width='1' height='1' x='2' y='5' fill='white' opacity='0.05'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 6px 6px;
  pointer-events: none;
  z-index: 1;
  animation: ditherDrift 8s linear infinite;
}

.growth-section>.container {
  position: relative;
  z-index: 2;
}

.growth-screenshot {
  max-width: 900px;
  margin: 0 auto;
}

.growth-text {
  max-width: 680px;
  margin: 0 auto 3rem;
  text-align: center;
}

.growth-eyebrow {
  color: var(--color-primary-lighter) !important;
}

.growth-section h2 {
  font-size: 2.25rem;
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.growth-text>p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.growth-closing {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-top: 3rem;
  font-family: var(--font-heading);
  line-height: 1.3;
}

/* ============================================================================
   Section 7: Testimonial
   ============================================================================ */

.testimonial-section {
  padding: 6rem 0;
  background: #fff;
}

.testimonial-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.testimonial-quote-mark {
  font-size: 8rem;
  line-height: 1;
  color: var(--color-primary-lighter);
  opacity: 0.3;
  font-family: Georgia, serif;
  position: absolute;
  top: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}

.testimonial-quote {
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--color-gray-700);
  font-style: italic;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.testimonial-attribution {
  margin-top: 2rem;
}

.testimonial-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-gray-600);
}

/* ============================================================================
   Section 8: Final CTA
   ============================================================================ */

.final-cta {
  padding: 5rem 0;
  background: var(--color-gray-50);
}

.final-cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: 2.25rem;
  margin-bottom: 2rem;
  color: var(--color-gray-900);
}

.final-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.final-cta-subtext {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

/* ============================================================================
   Legacy CTA Section (kept for features page)
   ============================================================================ */

.cta-section {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-secondary) 100%);
  position: relative;
  padding: 4rem 0 6rem;
  overflow: hidden;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: #fff;
  border-radius: 50% 50% 0 0;
  transform: translateY(50px);
}

.cta-card {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-content {
  margin-bottom: 2.5rem;
}

.cta-content h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-description {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.cta-actions .btn-primary {
  background-color: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

.cta-actions .btn-primary:hover {
  background-color: var(--color-gray-100);
  color: var(--color-primary);
}

.cta-actions .btn-outline {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.cta-actions .btn-outline:hover {
  background-color: #fff;
  color: var(--color-primary);
}

/* ============================================================================
   Newsletter Section
   ============================================================================ */

.newsletter-section {
  background-color: var(--color-gray-50);
  padding: 3rem 0;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-content h3 {
  font-size: 1.5rem;
  color: var(--color-gray-900);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.newsletter-input {
  flex: 1;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-family: var(--font-body);
  border: 2px solid var(--color-gray-300);
  border-radius: var(--radius-lg);
  transition: all 0.25s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(67, 73, 180, 0.1);
}

.newsletter-submit {
  padding: 1rem 2rem;
}

.newsletter-disclaimer {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  margin: 0;
}

/* ============================================================================
   Animations
   ============================================================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-delay {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll reveal system */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.5s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.scroll-reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.5s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.scroll-reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Blur-fade reveal — teases content at bottom of viewport */
.scroll-reveal-blur {
  opacity: 0.35;
  transform: translateY(20px);
  filter: blur(5px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1),
    filter 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.scroll-reveal-blur.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Scale-up reveal for analytics screenshot */
.scroll-reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.scroll-reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .animate-on-scroll,
  .scroll-reveal,
  .scroll-reveal-left,
  .scroll-reveal-right,
  .scroll-reveal-scale,
  .scroll-reveal-blur,
  .scroll-reveal-rise {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .device-tilt {
    transform: none;
  }

  .hero-card {
    animation: none !important;
  }

  .hero-card-1 {
    z-index: 4;
    opacity: 1;
  }

  .hero-card-2,
  .hero-card-3,
  .hero-card-4 {
    opacity: 0.7;
  }
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Page top spacing for fixed header */
.page-top {
  padding-top: 4.5rem;
}

/* ============================================================================
   Responsive — Landing Page
   ============================================================================ */

@media (max-width: 1024px) {

  .hero-container,
  .two-column-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-card-stack,
  .content-image .hero-card-stack {
    min-height: 400px;
    max-width: 550px;
    margin: 0 auto;
  }

  .hero-card {
    max-width: 500px;
  }

  .content-text {
    max-width: 100%;
    text-align: center;
  }

  .content-image {
    display: flex;
    justify-content: center;
  }

  .two-column-layout.reverse {
    direction: ltr;
  }

  .feature-list {
    text-align: left;
    margin: 1.5rem auto 0;
    max-width: 560px;
  }

  .hero-card-1,
  .content-image .hero-card-1 {
    transform: translateX(0) translateY(0) !important;
  }

  .hero-card-2,
  .content-image .hero-card-2 {
    transform: translateX(0) translateY(12px) !important;
  }

  .hero-card-3,
  .content-image .hero-card-3 {
    transform: translateX(0) translateY(24px) !important;
  }

  .hero-card-4,
  .content-image .hero-card-4 {
    transform: translateX(0) translateY(36px) !important;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 2rem 0 5rem;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-container--split {
    padding: 0 1.25rem;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .hero-container--split h1 {
    font-size: 1.75rem;
    word-wrap: break-word;
  }

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

  .complaint-box {
    margin-right: 0;
    max-width: 100%;
    width: 100%;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    min-width: unset;
  }

  .hero-secondary-ctas {
    font-size: 0.875rem;
  }

  .hero-logo-heading {
    font-size: 0.625rem;
  }

  .hero-logo-track-inner img {
    height: 28px;
  }

  .hero-card-stack {
    min-height: 320px;
    padding-left: 20px;
    padding-top: 20px;
  }

  .hero-card {
    max-width: 380px;
  }

  .hero-card-header {
    padding: 0.75rem 1rem 0.375rem;
    min-height: 60px;
  }

  .hero-card h3 {
    font-size: 0.875rem;
  }

  .hero-card p {
    font-size: 0.75rem;
  }

  .hero-card-preview {
    padding: 0.5rem;
  }

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

  .logo-item img {
    max-width: 140px;
    max-height: 65px;
  }

  .features-grid-landing {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .cta-content h2 {
    font-size: 1.75rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .accordion-header {
    padding: 1rem 1.25rem;
  }

  .accordion-title h2 {
    font-size: 1.0625rem;
  }

  /* New sections responsive */
  .product-moment-grid,
  .product-moment-grid--reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .product-moment-grid--reverse .product-moment-text,
  .product-moment-grid--reverse .product-moment-image {
    order: unset;
  }

  .product-moment-text {
    text-align: center;
  }

  .product-moment-pills {
    justify-content: center;
  }

  .narrative-bridge h2 {
    font-size: 1.75rem;
  }

  .product-moment-text h2 {
    font-size: 1.75rem;
  }

  .mid-cta h2,
  .growth-section h2,
  .final-cta h2 {
    font-size: 1.75rem;
  }

  .testimonial-quote {
    font-size: 1.25rem;
  }

  .growth-section {
    padding: 4rem 0;
  }

  .final-cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .final-cta-actions .btn {
    width: 100%;
    max-width: 300px;
  }
}