/* Import Montserrat font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* Color variables and Design Tokens */
:root {
  --color-primary: #25d366;
  --color-primary-dark: #0F9D6B;
  --color-primary-light: rgba(37, 211, 102, 0.1);
  --color-dark: #1a1a1a;
  --color-white: #ffffff;
  --color-light: #f6f8f7;
  --color-gray: #5f6368;
  --color-border: #e5e7eb;
  --color-warning-bg: #fff8e1;
  --color-warning-border: #f2c94c;
  
  --font-sans: 'Montserrat', sans-serif;
  
  /* Refined dual-layer shadows for depth */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.04), 0 10px 20px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.06), 0 20px 40px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.08), 0 32px 64px rgba(0, 0, 0, 0.06);
  --shadow-primary: 0 8px 24px rgba(37, 211, 102, 0.20), 0 2px 8px rgba(15, 157, 107, 0.12);
  --shadow-glow: 0 0 40px rgba(37, 211, 102, 0.15);
  
  --transition-fast: 0.2s ease-out;
  --transition-normal: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --container-width: 1200px;
  --header-height: 80px;
  
  /* Glass effect tokens */
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-blur: 12px;
}

/* Reset and base styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-white);
  color: var(--color-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

/* Helper Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-bg-light {
  background-color: var(--color-light);
}

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

.max-w-700 {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Typographic hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--color-dark);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

h3 {
  font-size: 1.5rem;
}

p {
  color: var(--color-gray);
  margin-bottom: 24px;
  font-size: 1.05rem;
  font-weight: 400;
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 10px;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  position: relative;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-dark);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.35), var(--shadow-glow);
}

.btn-outline {
  border-color: var(--color-border);
  background-color: transparent;
  color: var(--color-dark);
}

.btn-outline:hover {
  border-color: var(--color-dark);
  background-color: var(--color-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(229, 231, 235, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--transition-fast);
}

.header.scrolled {
  height: 70px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(229, 231, 235, 0.6);
  background-color: rgba(255, 255, 255, 0.88);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.site-logo {
  max-height: 55px;
  width: auto;
  transition: all var(--transition-fast);
}

@media (max-width: 991px) {
  .site-logo {
    max-height: 45px;
  }
}

.nav-cta-mobile {
  display: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-gray);
  padding: 8px 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: block;
}

/* Burger Mobile Menu Button */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}

.burger-bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--color-dark);
  transition: all var(--transition-normal);
  border-radius: 3px;
}

/* Hero Section */
.hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 100px;
  background: radial-gradient(ellipse 80% 60% at 80% 15%, rgba(37, 211, 102, 0.08) 0%, transparent 55%),
              radial-gradient(ellipse 60% 50% at 15% 75%, rgba(15, 157, 107, 0.06) 0%, transparent 50%),
              radial-gradient(ellipse 40% 40% at 50% 50%, rgba(37, 211, 102, 0.03) 0%, transparent 40%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.06) 0%, transparent 70%);
  animation: hero-glow 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes hero-glow {
  0% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  100% { transform: translate(-30px, 20px) scale(1.15); opacity: 1; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 650px;
}

.hero-tagline {
  color: var(--color-primary-dark);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: inline-block;
  background-color: var(--color-primary-light);
  padding: 6px 16px;
  border-radius: 50px;
}

.hero-disclaimer {
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--color-gray);
  line-height: 1.5;
  border-left: 2px solid var(--color-border);
  padding-left: 12px;
}

/* Hero Visual / CSS Dashboard Mockup */
.hero-visual {
  position: relative;
  width: 100%;
}

.hero-phone-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 280px; /* standard sleek phone width */
  margin: 0 auto;
  perspective: 1000px;
}

.hero-phone-mockup {
  width: 100%;
  height: auto;
  border-radius: 36px;
  box-shadow: -20px 20px 50px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.08);
  border: 10px solid #1a1a1a;
  transform: rotateY(-18deg) rotateX(12deg) rotateZ(3deg);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  background-color: #000;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hero-phone-mockup-wrapper:hover .hero-phone-mockup {
  transform: rotateY(-8deg) rotateX(8deg) rotateZ(1deg) scale(1.03);
  box-shadow: -30px 30px 60px rgba(0, 0, 0, 0.20), 0 15px 30px rgba(0, 0, 0, 0.10);
}

/* Floating Elements */
.floating-badge {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--glass-border);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
}

.floating-badge-1 {
  top: -20px;
  right: 20px;
  animation: float 4s ease-in-out infinite;
}

.floating-badge-2 {
  bottom: 20px;
  left: -30px;
  animation: float 4s ease-in-out infinite 2s;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Section O que é */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, rgba(37, 211, 102, 0.02) 100%);
  border-radius: 20px;
  padding: 40px;
  border: 1px dashed var(--color-primary);
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-features-preview {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.about-feature-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: var(--color-white);
  padding: 16px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.about-feature-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature-text {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-dark);
}

/* Section Para quem é */
.audience-wrapper {
  margin-top: 48px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.audience-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 24px;
  border-radius: 14px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition-normal);
}

.audience-card:hover {
  border-color: rgba(37, 211, 102, 0.3);
  transform: translateY(-3px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

.audience-icon {
  width: 24px;
  height: 24px;
  color: var(--color-primary-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.audience-name {
  font-weight: 700;
  color: var(--color-dark);
  font-size: 1.05rem;
}

/* Section Recursos */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 48px;
}

.resource-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 32px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.resource-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(37, 211, 102, 0.2);
  box-shadow: var(--shadow-xl);
}

.resource-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all var(--transition-fast);
}

.resource-card:hover .resource-icon-box {
  background-color: var(--color-primary);
  color: var(--color-dark);
}

.resource-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.resource-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
  flex-grow: 1;
}

/* WhatsApp Business Platform Section */
.waba-card {
  background-color: var(--color-white);
  border-radius: 20px;
  border: 1px solid var(--color-border);
  padding: 48px;
  box-shadow: var(--shadow-md);
  margin-top: 40px;
}

.waba-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.waba-badge-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #0064e0;
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.waba-badge-meta svg {
  fill: currentColor;
}

.waba-visual {
  background: var(--color-light);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--color-border);
}

.waba-flow-step {
  display: flex;
  gap: 16px;
  background-color: var(--color-white);
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.waba-flow-step:last-child {
  margin-bottom: 0;
}

.waba-flow-step.active {
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.1);
}

.waba-step-num {
  font-weight: 700;
  color: var(--color-primary-dark);
}

/* Coexistence Section */
.coexistence {
  background-color: var(--color-light);
}

/* Uso Responsavel Section */
.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.rules-box {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 32px;
  border-radius: 16px;
}

.rules-box-title {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.rules-box-title.allowed {
  color: var(--color-primary-dark);
}

.rules-box-title.prohibited {
  color: #dc2626;
}

.rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rules-item {
  font-size: 0.95rem;
  color: var(--color-gray);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.rules-item svg {
  flex-shrink: 0;
  margin-top: 4px;
}

/* Segurança Section */
.security-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: flex-start;
}

.security-data-list {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
}

.security-data-list h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 12px;
}

.data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.data-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark);
  background-color: var(--color-light);
  padding: 10px 14px;
  border-radius: 8px;
}

.data-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.security-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.security-link-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.security-link-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.security-link-info h4 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.security-link-info p {
  margin-bottom: 0;
  font-size: 0.8rem;
}

.security-link-arrow {
  color: var(--color-primary-dark);
  transition: transform var(--transition-fast);
}

.security-link-card:hover .security-link-arrow {
  transform: translateX(4px);
}

/* Como funciona Section */
.steps-timeline {
  position: relative;
  margin-top: 60px;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-border);
  z-index: 1;
  transform: translateY(-50%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.step-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(37, 211, 102, 0.3);
  box-shadow: var(--shadow-lg);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  border: 2px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-primary-light);
  transition: all var(--transition-normal);
}

.step-card:hover .step-number {
  background-color: var(--color-primary);
  color: var(--dark);
  box-shadow: 0 0 0 2px var(--color-primary);
}

.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.85rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Diferenciais Section */
.diffs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.diffs-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--color-white);
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.diffs-item:hover {
  border-color: rgba(37, 211, 102, 0.25);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.diffs-icon {
  width: 24px;
  height: 24px;
  color: var(--color-primary-dark);
  flex-shrink: 0;
}

.diffs-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
}

/* Sobre a Férllon Section */
.about-company-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.company-card-info {
  background-color: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
}

.company-card-info h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 12px;
}

.company-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.company-detail-item {
  display: flex;
  flex-direction: column;
}

.company-detail-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-gray);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.company-detail-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
}

.company-detail-value a {
  color: var(--color-primary-dark);
}

.company-detail-value a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out, padding var(--transition-normal) ease-out;
  padding: 0 24px;
  color: var(--color-gray);
  font-size: 0.95rem;
}

.faq-answer p {
  margin-bottom: 24px;
}

.faq-answer p:last-child {
  margin-bottom: 20px;
}

.faq-icon-arrow {
  color: var(--color-gray);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

/* Active states for FAQ open in JS */
.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  color: var(--color-primary-dark);
}

.faq-item.active .faq-answer {
  max-height: 400px; /* arbitrary height to allow expansion */
  padding: 0 24px 8px 24px;
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}

/* Final Call Section */
.final-call {
  background: linear-gradient(135deg, var(--color-dark) 0%, #0d2818 50%, #0a1f14 100%);
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-call::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse 60% 50% at 50% 60%, rgba(37, 211, 102, 0.12) 0%, transparent 65%),
              radial-gradient(ellipse 40% 40% at 20% 20%, rgba(15, 157, 107, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.final-call::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.final-call h2 {
  color: var(--color-white);
}

.final-call p {
  color: rgba(255, 255, 255, 0.7);
}

.final-call .lead {
  color: rgba(255, 255, 255, 0.9);
}

.final-call .btn-outline {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.2);
}

.final-call .btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-white);
}

.final-call .btn-group {
  justify-content: center;
}

/* Footer styling */
.footer {
  background: linear-gradient(180deg, #1e1e1e 0%, var(--color-dark) 30%, #111111 100%);
  color: var(--color-white);
  padding: 80px 0 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .site-logo {
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
  line-height: 1.5;
}

.footer-company-info {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--color-white);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-item a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.footer-link-item a:hover {
  color: var(--color-primary);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: var(--color-white);
  font-weight: 600;
}

.footer-contact-item a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%) 1;
  padding-top: 40px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}

.footer-bottom p {
  margin-bottom: 16px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom p:last-child {
  margin-bottom: 0;
}

/* Responsiveness Media Queries */
@media (max-width: 1199px) {
  .steps-timeline::before {
    display: none;
  }
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .diffs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .section {
    padding: 80px 0;
  }
  
  .hero {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 80px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .about-grid,
  .waba-grid,
  .security-grid,
  .about-company-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .footer-brand {
    grid-column: span 2;
    max-width: 100%;
    margin-bottom: 20px;
  }
  
  .rules-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .diffs-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 24px;
    gap: 24px;
    transition: left var(--transition-normal);
    overflow-y: auto;
    border-top: 1px solid var(--color-border);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .burger {
    display: block;
  }
  
  /* Burger Animation */
  .burger.active .burger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .burger.active .burger-bar:nth-child(2) {
    opacity: 0;
  }
  
  .burger.active .burger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .nav-cta {
    display: none; /* hidden on mobile header, can place in mobile menu list if wanted */
  }
  
  .nav-menu .nav-cta-mobile {
    display: block;
    width: 100%;
    margin-top: 16px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
  
  .data-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
  
  .waba-card {
    padding: 24px;
  }
}

/* Legal Pages (Inner Page basic stylings) */
.legal-hero {
  background-color: var(--color-light);
  padding: calc(var(--header-height) + 60px) 0 60px 0;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.legal-hero .eyebrow {
  color: var(--color-primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}

.legal-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 16px;
}

.legal-hero p {
  font-size: 1.1rem;
  margin-bottom: 16px;
  max-width: 800px;
}

.legal-hero .updated-at {
  font-size: 0.85rem;
  color: var(--color-gray);
  margin-bottom: 0;
  font-weight: 600;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  padding: 80px 0;
  align-items: flex-start;
}

.legal-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
}

.legal-sidebar-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-dark);
}

.legal-sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-sidebar-link a {
  font-size: 0.85rem;
  color: var(--color-gray);
  font-weight: 600;
  display: block;
  transition: all var(--transition-fast);
}

.legal-sidebar-link a:hover {
  color: var(--color-primary-dark);
  transform: translateX(3px);
}

.legal-container-content {
  max-width: 800px;
}

.legal-content section {
  margin-bottom: 48px;
  scroll-margin-top: calc(var(--header-height) + 40px);
}

.legal-content section:last-child {
  margin-bottom: 0;
}

.legal-content h2 {
  font-size: 1.5rem;
  color: var(--color-dark);
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 8px;
}

.legal-content h3 {
  font-size: 1.15rem;
  color: var(--color-dark);
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-content p {
  color: var(--color-gray);
  margin-bottom: 20px;
  line-height: 1.7;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 10px;
  color: var(--color-gray);
  line-height: 1.6;
}

/* Warnings and cards inside legal texts */
.legal-alert {
  background-color: var(--color-warning-bg);
  border-left: 4px solid var(--color-warning-border);
  padding: 20px 24px;
  border-radius: 8px;
  margin: 32px 0;
}

.legal-alert p {
  margin-bottom: 0 !important;
  color: #7f5f00 !important;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
}

.legal-alert-box {
  background-color: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
}

.legal-alert-box h4 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--color-dark);
}

.legal-alert-box p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Legal Tables */
.legal-table-wrapper {
  overflow-x: auto;
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.legal-table th,
.legal-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border);
}

.legal-table th {
  background-color: var(--color-light);
  font-weight: 700;
  color: var(--color-dark);
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-table td {
  color: var(--color-gray);
}

/* Subpages Media Queries */
@media (max-width: 991px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 0;
  }
  
  .legal-sidebar {
    position: relative;
    top: 0;
  }
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  padding: 16px 0;
  z-index: 9999;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.cookie-banner-text a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.cookie-banner-text a:hover {
  color: var(--color-white);
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.cookie-banner .btn-sm {
  padding: 8px 20px;
  font-size: 0.8rem;
  border-radius: 4px;
}

@media (max-width: 767px) {
  .cookie-banner .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* --- CRM Scroll Showcase (Sticky Section) --- */
.crm-scroll-showcase {
  position: relative;
  height: 220vh; /* Controlled scrolling length */
  background-color: var(--color-light);
  overflow: clip; /* Clean overflow cropping */
}

.crm-scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: calc(var(--header-height) + 40px);
  overflow: hidden;
  box-sizing: border-box;
}

/* Background overlay inside showcase for depth */
.crm-showcase-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 120%, rgba(37, 211, 102, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.crm-showcase-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
  box-sizing: border-box;
  will-change: transform, opacity;
}

.crm-showcase-content .section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.crm-showcase-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.crm-showcase-content p {
  font-size: 1.1rem;
  color: var(--color-gray);
  line-height: 1.6;
}

/* Mockup image container */
.crm-mockup-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  padding: 0 24px;
  box-sizing: border-box;
  margin-top: auto; /* Push to bottom to enter from bottom */
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.crm-mockup-image {
  width: 100%;
  height: auto;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.08), 0 0 80px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-bottom: none;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform, filter, opacity;
  transform-style: preserve-3d;
}

/* Responsive / Mobile overrides */
@media (max-width: 991px) {
  .crm-scroll-showcase {
    height: auto;
    padding: 80px 0;
    overflow: visible;
  }
  
  .crm-scroll-sticky {
    position: relative;
    height: auto;
    padding-top: 0;
    display: block;
    overflow: visible;
  }
  
  .crm-showcase-content {
    max-width: 100%;
    margin-bottom: 40px;
    opacity: 1 !important;
    transform: none !important;
  }
  
  .crm-showcase-content h2 {
    font-size: 1.8rem;
  }
  
  .crm-showcase-content p {
    font-size: 1rem;
  }
  
  .crm-mockup-wrapper {
    margin-top: 0;
    max-width: 100%;
  }
  
  .crm-mockup-image {
    border-radius: 8px;
    border-bottom: 1px solid rgba(229, 231, 235, 0.6);
    box-shadow: var(--shadow-lg);
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}

/* --- Features Section (New resources style) --- */
.features-section {
  padding: 100px 0;
  background-color: var(--color-light);
}

.features-section .section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

.features-section .section-header .eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.features-section .section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 20px;
  line-height: 1.25;
}

.features-section .section-header p {
  font-size: 1.1rem;
  color: var(--color-gray);
  line-height: 1.6;
}

.feature-groups {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.feature-group-header {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 20px;
}

.feature-group-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.feature-group-header p {
  font-size: 1.05rem;
  color: var(--color-gray);
  max-width: 900px;
  line-height: 1.5;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: rgba(37, 211, 102, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.feature-card:hover .feature-icon {
  background-color: var(--color-primary);
  color: var(--color-dark);
}

.feature-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0;
  line-height: 1.35;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--color-gray);
  margin: 0;
  line-height: 1.6;
  flex-grow: 1;
}

/* Features CTA Block */
.features-cta {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  max-width: 900px;
  margin: 100px auto 0 auto;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.features-cta h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.features-cta p {
  font-size: 1.05rem;
  color: var(--color-gray);
  max-width: 700px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
}

/* Responsiveness */
@media (max-width: 991px) {
  .features-section {
    padding: 80px 0;
  }
  
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .features-section .section-header h2 {
    font-size: 1.8rem;
  }
  
  .feature-group-header h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 767px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .features-cta {
    padding: 40px 24px;
    margin-top: 60px;
  }
  
  .features-cta h3 {
    font-size: 1.5rem;
  }
}

/* --- CRM Screenshots Gallery --- */
.crm-gallery-section {
  padding: 80px 0;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.gallery-wrapper {
  margin-top: 48px;
}

.gallery-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  background-color: var(--color-white);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.gallery-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.gallery-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-normal);
  aspect-ratio: 16/10;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 26, 26, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  color: var(--color-white);
  transition: opacity var(--transition-fast);
  z-index: 2;
}

.gallery-overlay svg {
  color: var(--color-primary);
  width: 32px;
  height: 32px;
  transform: scale(0.8);
  transition: transform var(--transition-fast);
}

.gallery-overlay span {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay svg {
  transform: scale(1);
}

.gallery-caption {
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark);
  text-align: center;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  z-index: 3;
}

/* Mobile carousel dots hidden by default on desktop */
.carousel-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-border);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.carousel-dots .dot.active {
  background-color: var(--color-primary);
}

/* --- Lightbox Modal --- */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 26, 26, 0.98);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox-modal.show {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: block;
}

.lightbox-caption {
  color: var(--color-white);
  margin-top: 20px;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2.5rem;
  cursor: pointer;
  transition: color var(--transition-fast), transform var(--transition-fast), background-color var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10002;
  user-select: none;
}

.lightbox-close {
  top: 30px;
  right: 30px;
  font-size: 3.5rem;
  width: 50px;
  height: 50px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  font-size: 1.8rem;
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--color-primary);
  background-color: rgba(255, 255, 255, 0.1);
}

.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.05);
}

.lightbox-next:hover {
  transform: translateY(-50%) scale(1.05);
}

/* Mobile Carousel Media Query */
@media (max-width: 767px) {
  .gallery-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 20px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }
  
  .gallery-carousel::-webkit-scrollbar {
    display: none; /* Hide scrollbar for pure iOS/Android carousel aesthetic */
  }
  
  .gallery-item {
    flex: 0 0 calc(100vw - 48px);
    scroll-snap-align: start;
  }
  
  .carousel-dots {
    display: flex;
  }
  
  .lightbox-prev,
  .lightbox-next {
    display: none; /* Hide navigation arrows in lightbox on mobile (use swipe/touch) */
  }
  
  .lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
  }
}

/* --- Use Cases Section --- */
.use-cases-section {
  padding: 100px 0;
  background-color: var(--color-light);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 48px;
}

.use-case-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition-normal);
}

.use-case-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(37, 211, 102, 0.25);
  box-shadow: var(--shadow-lg);
}

.use-case-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: rgba(37, 211, 102, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.use-case-card:hover .use-case-icon {
  background-color: var(--color-primary);
  color: var(--color-dark);
}

.use-case-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-dark);
  margin: 0;
  line-height: 1.35;
}

.use-case-card p {
  font-size: 0.92rem;
  color: var(--color-gray);
  margin: 0;
  line-height: 1.6;
}

.use-case-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--color-gray);
}

.use-case-bullets li {
  position: relative;
  padding-left: 20px;
  line-height: 1.4;
}

.use-case-bullets li::before {
  content: "•";
  color: var(--color-primary);
  font-weight: bold;
  font-size: 1.2rem;
  position: absolute;
  left: 4px;
  top: -2px;
}

/* Styling for the compliance warning box at the end of the section */
.use-cases-compliance-warning {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: rgba(37, 211, 102, 0.04);
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: 12px;
  padding: 24px;
  margin-top: 40px;
  box-sizing: border-box;
}

.use-cases-compliance-warning p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-gray);
  line-height: 1.6;
}

.use-cases-compliance-warning strong {
  color: var(--color-dark);
}

/* Use Cases CTA Block */
.use-cases-cta {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  max-width: 900px;
  margin: 80px auto 0 auto;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.use-cases-cta h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.use-cases-cta p {
  font-size: 1.05rem;
  color: var(--color-gray);
  max-width: 700px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
}

/* Responsiveness */
@media (max-width: 991px) {
  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .use-case-card.highlight-card {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
  
  .use-case-card.highlight-card {
    grid-column: span 1;
  }
  
  .use-cases-cta {
    padding: 40px 24px;
  }
  
  .use-cases-cta h3 {
    font-size: 1.5rem;
  }
}

/* --- Responsiveness overrides for differentials highlight --- */
.diffs-item-highlight {
  grid-column: span 3;
  justify-content: center;
  max-width: 400px;
  margin: 12px auto 0 auto;
}

@media (max-width: 1199px) {
  .diffs-item-highlight {
    grid-column: span 2;
  }
}

@media (max-width: 991px) {
  .hero-phone-mockup {
    transform: rotateY(-10deg) rotateX(8deg) rotateZ(2deg);
  }
}

@media (max-width: 767px) {
  .diffs-item-highlight {
    grid-column: span 1;
    max-width: 100%;
    margin: 0;
  }
  
  .hero-phone-mockup {
    transform: none !important;
    border-width: 8px;
    border-radius: 28px;
  }
  
  .floating-badge-1 {
    top: -10px;
    right: 10px;
  }
  
  .floating-badge-2 {
    bottom: 10px;
    left: 10px;
  }
}

/* Button Touch Active Feedback */
.btn:active {
  transform: translateY(1px) scale(0.98);
}
.btn-primary:active {
  box-shadow: 0 4px 10px rgba(31, 184, 90, 0.15);
}

/* Mobile-First layout adjustments for small screens */
@media (max-width: 767px) {
  .about-visual {
    padding: 24px 16px;
  }
}

@media (max-width: 576px) {
  .floating-badge {
    display: none !important;
  }
}

/* ==============================
   Scroll Reveal Animation System
   ============================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

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

/* Stagger delays for child items in grids */
.reveal-stagger > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger > *:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger > *:nth-child(7) { transition-delay: 480ms; }
.reveal-stagger > *:nth-child(8) { transition-delay: 560ms; }
.reveal-stagger > *:nth-child(9) { transition-delay: 640ms; }
.reveal-stagger > *:nth-child(10) { transition-delay: 720ms; }
.reveal-stagger > *:nth-child(11) { transition-delay: 800ms; }
.reveal-stagger > *:nth-child(12) { transition-delay: 880ms; }

/* Subtle section divider accent */
.section-glow {
  position: relative;
}
.section-glow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0.3;
}

/* ==============================
   Accessibility: Reduced Motion
   ============================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-phone-mockup {
    transition: none;
  }

  .hero::before {
    animation: none;
  }
}
