/* Variables */
/* Enable GPU acceleration for animations */
* {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

:root {
  /* Colors */
  --primary: #1a73e8;
  --primary-dark: #1557b0;
  --primary-gradient: linear-gradient(135deg, #6366F1, #22D3EE);
  --surface: #ffffff;
  --surface-secondary: #f8f9fa;
  --surface-accent: #f1f3f4;
  --text: #202124;
  --text-secondary: #5f6368;
  --border: rgba(0, 0, 0, 0.1);
  --writing-surface: #fcfcfc;

  /* Typography */
  --fs-sm: 1rem;
  --fs-base: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.75rem;
  --fs-4xl: 3.5rem;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-8: 3rem;
  --sp-10: 4rem;

  /* Other */
  --radius: 8px;
  --radius-sm: 4px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: 0.2s ease;
  --line-height-relaxed: 1.7;
  --letter-spacing-tight: -0.02em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.05em;
  --font-main: 'Noto Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --line-height-tight: 1.2;
  --line-height-normal: 1.6;

}

/* Base Styles */
body {
  font-family: var(--font-main);
  color: var(--text);
  line-height: var(--line-height-relaxed);
  margin: 0;
  padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h5, h6 {
  font-family: var(--font-main);
  line-height: var(--line-height-tight);
  margin-bottom: var(--sp-4);
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

h1 { 
  font-size: var(--fs-4xl);
  letter-spacing: var(--letter-spacing-tight);
  font-weight: 700;
  line-height: 1.1;
}
h2 { 
  font-size: var(--fs-2xl);
  letter-spacing: var(--letter-spacing-tight);
  font-weight: 600;
  line-height: 1.2;
}
h3 { 
  font-size: var(--fs-xl);
  letter-spacing: var(--letter-spacing-normal);
  font-weight: 600;
  line-height: 1.3;
}
h1, h2, h3, .navbar-brand {
  font-family: var(--font-main);
}

.hero h1,
.content-section h1,
section h2,
.feature-card h3,
.category-content h3 {
  font-family: var(--font-main);
}


/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

section {
  position: relative;
  overflow: hidden;
  contain: content;
  will-change: transform;
  padding: var(--sp-8) 0;
  margin: 0;
  background: var(--surface);
  text-align: center;
}

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

#how-it-works .lead {
  text-align: center;
  margin: 0 auto;
  max-width: 600px;
}

.hero,
#faq {
  text-align: left;
}

.hero .lead {
  text-align: left;
}

section:nth-child(even) {
  background: var(--surface-secondary);
}

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--fs-base);
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  letter-spacing: var(--letter-spacing-wide);
  width: auto;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-primary,
.header-cta,
.cta-section .btn-lg {
  font-family: var(--font-main);
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  border: none;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Cards */
.feature-card,
.testimonial-card,
.user-category {
  padding: var(--sp-4);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Icons */
.material-icons {
  font-variation-settings: 'FILL' 0, 'wght' 100, 'GRAD' 0, 'opsz' 48;
  font-size: 48px;
  color: var(--primary);
  transition: transform var(--transition);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Logo tooltip z-index to ensure visibility */
.logo-tooltip {
  z-index: 1000 !important; /* Ensure all tooltips appear above other elements */
}

/* Tooltip Media Queries */
@media (max-width: 768px) {
  .logo-tooltip {
    width: 240px !important;
    padding: 14px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    max-width: 90vw !important;
  }

  .logo-tooltip h4 {
    font-size: 18px !important;
    margin-bottom: 10px !important;
  }

  .logo-tooltip p {
    font-size: 15px !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
  }

  /* Fix tooltip direction for top row on mobile */
  .logo-row:first-child .logo-item .logo-tooltip {
    bottom: 130% !important;  /* Position above the logo */
    top: auto !important;
  }

  .logo-row:not(:first-child) .logo-item .logo-tooltip {
    top: auto !important;
    bottom: 130% !important;
  }

  /* Fix arrow direction for mobile */
  .logo-row:first-child .logo-tooltip > div {
    bottom: auto !important;
    top: -7px !important;
    box-shadow: 0 -3px 5px rgba(0, 0, 0, 0.1) !important;
  }

  .logo-row:not(:first-child) .logo-tooltip > div {
    top: auto !important;
    bottom: -7px !important;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1) !important;
  }
}

/* Mobile Header Fix - Consolidated Media Queries */
@media (max-width: 768px) {
  /* Header layout optimization */
  .header-content {
    padding: 0 var(--sp-3);
    gap: var(--sp-2);
  }

  /* Navbar brand - constrain width to ensure CTA fits */
  .navbar-brand {
    font-size: var(--fs-base);
    max-width: 55%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Header CTA button - ensure it fits in remaining space */
  .header-cta {
    font-size: var(--fs-sm);
    padding: 0.6rem 0.8rem;
    min-width: 90px;
    max-width: 32%;
    flex-shrink: 0;
  }

  /* General button styles for hero section */
  .btn-primary {
    margin: 0 auto;
    box-sizing: border-box;
  }

  .cta-group {
    padding: 0 var(--sp-4);
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-text {
    padding: var(--sp-4) var(--sp-3);
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  /* Smaller screens - tighter constraints */
  .header-content {
    padding: 0 var(--sp-2);
    gap: var(--sp-1);
  }

  .navbar-brand {
    font-size: calc(var(--fs-base) - 2px);
    max-width: 50%;
  }

  .header-cta {
    font-size: var(--fs-sm);
    padding: 0.5rem 0.7rem;
    min-width: 85px;
    max-width: 38%;
  }
}

@media (max-width: 360px) {
  /* Very small screens - maximum constraints */
  .navbar-brand {
    font-size: var(--fs-sm);
    max-width: 45%;
  }

  .header-cta {
    font-size: var(--fs-sm);
    padding: 0.45rem 0.6rem;
    min-width: 80px;
    max-width: 42%;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--sp-1);
  }

  section {
    padding: var(--sp-4) 0;
  }

  .cta-group {
    padding: 0 var(--sp-2);
  }

  .hero-text {
    padding: var(--sp-3) var(--sp-2);
  }
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 56px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); /* Safari support */
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(-10px);
  animation: headerSlide 0.5s ease forwards;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
  contain: layout style;
}

/* Header state when scrolling down */
.site-header.slim {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

/* Add accessible focus styles for header elements */
.site-header a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  text-decoration: underline;
}

.header-content {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-4);
  width: 100%;
}

.navbar-brand {
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
  font-family: var(--font-main);
}

.navbar-brand:hover {
  color: var(--primary);
}

.hero {
    padding-top: var(--sp-4);
    padding-bottom: var(--sp-4);
    min-height: calc(100vh - 56px); /* Account for sticky header */
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--surface), var(--surface-secondary));
    margin-bottom: var(--sp-6);
}

.hero-text {
  max-width: 600px;
  margin-inline: auto;
  text-align: left;
  padding: var(--sp-4);
}

.hero h1::first-letter,
.content-section h1::first-letter {
  text-transform: none; 
}

.lead {
  font-size: var(--fs-xl);
  color: var(--text-secondary);
  margin-bottom: var(--sp-5);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.2s;
  max-width: 540px;
  line-height: var(--line-height-relaxed);
  letter-spacing: var(--letter-spacing-wide);
}

.cta-group {
  display: flex;
  justify-content: flex-start;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.4s;
}


.features {
  padding: var(--sp-8) 0;
  background: var(--surface-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

.feature-card, .benefit-card, .testimonial-card, .step-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 1px solid var(--border);
  margin-bottom: 0;
}

.feature-card:hover, .benefit-card:hover, .testimonial-card:hover, .step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  margin-bottom: 1.5rem;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon i {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
  stroke-width: 2;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon i {
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-3);
  color: var(--text);
  letter-spacing: var(--letter-spacing-normal);
  font-weight: 600;
}

.feature-card p {
  color: var(--text-secondary);
  margin: 0;
  font-size: var(--fs-base);
  line-height: var(--line-height-normal);
}

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

@media (max-width: 768px) {
  /* Mobile Hero Section Spacing */
  .hero {
    padding-top: var(--sp-4) !important;
    padding-bottom: var(--sp-8) !important;
    min-height: calc(100vh - 56px) !important;
  }

  .hero-text {
    padding: var(--sp-4) var(--sp-4) !important;
    margin-top: var(--sp-2) !important;
    margin-bottom: var(--sp-4) !important;
  }

  /* BULLETPROOF H1 CENTER ALIGNMENT - ALL SCENARIOS COVERED */

  /* Target every possible H1 selector with maximum specificity */
  html body .hero .hero-text h1,
  html body .hero h1,
  html body .content-section h1,
  html body section h1,
  html body .container h1,
  html body main h1,
  html body h1,
  .hero .hero-text h1,
  .hero h1,
  .content-section h1,
  section h1,
  .container h1,
  main h1,
  h1 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    width: 100% !important;
    font-size: var(--fs-2xl) !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: var(--letter-spacing-tight) !important;
    margin-top: var(--sp-3) !important;
    margin-bottom: var(--sp-5) !important;
  }

  /* Force parent containers to center content */
  html body .hero,
  html body .hero-text,
  .hero,
  .hero-text {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Keep policy and terms content left-aligned */
  html body .content-section,
  html body section,
  html body .container,
  .content-section,
  section,
  .container {
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }

  /* Override any flexbox properties that might interfere */
  .hero-text,
  .hero {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  h2 {
    font-size: var(--fs-xl);
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: var(--sp-4);
  }

  h3 {
    font-size: var(--fs-lg);
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: var(--sp-3);
  }

  p {
    font-size: var(--fs-base);
    line-height: 1.6;
    margin-bottom: var(--sp-4);
  }

  .lead {
    font-size: var(--fs-lg);
    line-height: 1.5;
    font-weight: 500;
    margin-bottom: var(--sp-5);
  }

  .feature-card p {
    font-size: var(--fs-base);
    line-height: 1.5;
  }

  .hero-text {
    padding: var(--sp-4) var(--sp-3);
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  /* Accessibility Improvements */
  .btn, 
  .feature-card,
  .faq-question {
    min-height: 44px; /* Minimum touch target size */
    padding: var(--sp-4);
  }

  * {
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
  }

  :focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
  }

  .text-content {
    max-width: 65ch; /* Optimal line length for readability */
  }

  .btn {
    width: 100%;
  }
  .hero h1 {
    font-size: clamp(1.75rem, 1.2vw + 1.5rem, 2.25rem);
  }

  .hero .lead {
    font-size: var(--fs-base);
    margin-bottom: var(--sp-6);
    margin-top: var(--sp-4);
    text-align: center;
    padding: 0 var(--sp-2);
  }

  .cta-group {
    flex-direction: column;
    align-items: center;
    gap: var(--sp-3);
    padding: 0 var(--sp-4);
    margin-top: var(--sp-6);
    margin-bottom: var(--sp-4);
  }

  .btn-primary {
    width: auto !important;
    min-width: 140px !important;
    max-width: 280px !important;
  }
  /* Consistent CTA button sizing across ALL sections */
  .btn-primary,
  .cta-section .btn-lg,
  .header-cta {
    font-size: var(--fs-base) !important;
    padding: 0.75rem 1.25rem !important;
    font-weight: 600 !important;
    border-radius: var(--radius) !important;
    transition: transform var(--transition), box-shadow var(--transition) !important;
    background: var(--primary-gradient) !important;
    color: white !important;
    border: none !important;
    box-shadow: var(--shadow-sm) !important;
    min-width: 140px !important;
    max-width: 280px !important;
    width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    letter-spacing: var(--letter-spacing-wide) !important;
  }

  /* Header CTA specific overrides for mobile - smaller due to space constraints */
  .header-cta {
    font-size: var(--fs-sm) !important;
    padding: 0.6rem 0.8rem !important;
    min-width: 90px !important;
    max-width: 32% !important;
  }

  /* Hero section CTA - make consistent with bottom CTA */
  .hero .btn-primary {
    min-width: 140px !important;
    max-width: 280px !important;
    width: auto !important;
  }

  /* Bottom CTA section - ensure consistency */
  .cta-section .btn-lg {
    min-width: 140px !important;
    max-width: 280px !important;
    width: auto !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .contact-form-container {
    padding: 0 0.25rem;
  }

  .hero-text {
    padding: var(--sp-3) var(--sp-2);
  }

  .hero h1 {
    font-size: clamp(1.5rem, 1vw + 1.25rem, 1.75rem);
  }

  .btn-primary {
    padding: 0.75rem 1.25rem;
    max-width: calc(100vw - 2rem);
    font-size: var(--fs-base);
  }
}

.eyes-container {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  padding: var(--sp-4);
}

.eye {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  border: 2px solid var(--text);
  position: relative;
  overflow: hidden;
}

.pupil {
  width: 20px;
  height: 20px;
  background: var(--text);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out;
}

.site-footer {
  background: var(--surface-secondary);
  padding: var(--sp-6) 0;
  margin-top: auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer-links {
  display: flex;
  gap: var(--sp-4);
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

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

@media print {
  .site-header,
  .cta-group,
  .eyes-container {
    display: none;
  }
}

.comparison-slider {
  position: relative;
  height: 400px;
  margin: var(--sp-5) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: white;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.9s;
}

.comparison-item {
  position: relative;
  height: 100%;
}

.before, .after {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  padding: var(--sp-4);
  box-sizing: border-box;
  overflow: hidden;
}

.before {
  left: 0;
  background: var(--surface-secondary);
}

.after {
  right: 0;
  background: white;
  clip-path: inset(0 0 0 50%);
}

.text-content {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--text);
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--primary);
  transform: translateX(-50%);
  cursor: ew-resize;
}

.slider-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  transform: translate(-50%, -50%);
  transition: background-color 0.2s ease;
}

.slider-handle:hover::after {
  background: var(--primary-dark);
}

@media (max-width: 768px) {
  .comparison-slider {
    height: 300px;
    margin: var(--sp-4) 0;
  }

  .text-content {
    font-size: var(--fs-sm);
  }

  .cta-group {
    padding: 0 var(--sp-5);
  }

  .btn-primary, .cta-section .btn-lg {
    width: auto;
    min-width: 200px;
    max-width: 280px;
    margin: 0 auto;
  }

  .slider-handle::after {
    width: 24px;
    height: 24px;
  }

  .hero h1 {
    font-size: 2.25rem;
    line-height: 1.4;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
  }

  .hero .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
  }

  body {
    font-size: 18px;
    line-height: 1.6;
  }

  p, li {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }

  /* Logo Section */
  .logo-section {
  padding: var(--sp-10) 0;
  background-color: var(--surface-light);
  overflow: hidden;
}

/* Add more space between heading and logo container */
.logo-section h2 {
  margin-bottom: 1.5rem;
}

.logo-section .lead {
  margin-bottom: 3rem !important;
}

  .logo-container {
    margin: 0 auto;
    max-width: 1200px;
    position: relative;
    padding: 20px 0;
  }

/* Simplified contact page styles */
.contact-section {
  display: flex;
  align-items: center;
  min-height: 60vh;
}

@media (max-width: 768px) {

  .hs-form .form-columns-2 .hs-form-field:first-child {
    margin-right: 0 !important;
  }
}


  .logo-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
    width: 100%;
    text-align: center;
    margin-bottom: 60px;
  }

  .logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: transform 0.3s ease, box-shadow 0.2s ease;
    width: 200px;
  }

  .logo-item img {
    max-height: 75px;
    width: auto;
    object-fit: contain;
    padding: 15px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
```text
  }

  .logo-item:hover {
    transform: translateY(-3px);
  }

  .logo-item:hover img {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
  }

  @media (max-width: 768px) {
    /* Grid layout for mobile */
    .logo-container {
      padding: 0 8px;
    }

    .logo-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
      justify-content: center;
      width: 100%;
      padding: 0;
      margin: 0 auto;
    }

    .logo-row {
      display: none; /* Hide default rows on mobile */
    }

    .logo-item {
      height: 75px !important;
      width: auto !important;
      margin: 2px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
    }

    .logo-item img {
      max-height: 60px !important; /* Increased from 50px to 60px (20% larger) */
      max-width: 90% !important;
      width: auto !important;
      object-fit: contain !important;
      padding: 8px !important;
      border-radius: 50% !important;
      background-color: white !important;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
      -webkit-tap-highlight-color: rgba(0,0,0,0); /* Remove tap highlight on mobile */
      image-rendering: -webkit-optimize-contrast; /* Optimize image rendering */
      image-rendering: crisp-edges; /* Better image quality on scaling */
      will-change: transform, filter; /* Optimize for animations */
      backface-visibility: hidden; /* Improve animation performance */
    }

    /* Improve touch target sizes */
    .logo-item, .logo-item img {
      touch-action: manipulation; /* Optimize for touch */
      -webkit-tap-highlight-color: transparent; /* Remove highlight on tap */
      cursor: pointer; /* Show pointer cursor on hover */
    }

    /* Add hover effect for mobile */
    .logo-item img:hover {
      filter: grayscale(0%) !important; /* Override the JS grayscale on hover */
      transform: scale(1.05) !important;
    }

    /* Hide tooltips on mobile */
    .logo-tooltip {
      display: none !important;
    }

    /* Add some extra spacing to the logo section on mobile */
    .logo-section {
      padding-top: 2rem !important;
      padding-bottom: 2rem !important;
    }

    /* Adjust spacing between heading and logos */
    .logo-section .lead {
      margin-bottom: 1.5rem !important;
    }

    /* Optimize performance */
    .logo-grid {
      will-change: transform;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      transform: translateZ(0);
      -webkit-transform: translateZ(0);
    }
  }

  /* For smaller phones */
  @media (max-width: 480px) {
    .logo-grid {
      grid-template-columns: repeat(4, 1fr) !important;
      gap: 6px !important;
    }

    .logo-item {
      height: 65px !important;
      margin: 1px !important;
    }

    .logo-item img {
      max-height: 50px !important; /* Increased from 42px to 50px (20% larger) */
      padding: 6px !important;
    }
  }

  /* For very narrow screens */
  @media (max-width: 360px) {
    .logo-grid {
      grid-template-columns: repeat(4, 1fr) !important;
      gap: 4px !important;
    }

    .logo-item {
      height: 55px !important;
      margin: 1px !important;
    }

    .logo-item img {
      max-height: 42px !important; /* Increased from 35px to 42px (20% larger) */
      padding: 5px !important;
    }
  }

  /* For landscape orientation on mobile */
  @media (max-width: 768px) and (orientation: landscape) {
    .logo-grid {
      grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
  }

  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 640px) {
  .site-header {
    height: 64px;
  }

  .header-cta {
    padding: var(--sp-2) var(--sp-4);
    font-size: var(--fs-base);
  }

  .hero {
    padding-top: var(--sp-5);
    padding-bottom: var(--sp-5);
    min-height: calc(100vh - 64px);
  }

  .hero-text {
    text-align: left;
  }

  .hero h1 {
    font-size: calc(var(--fs-3xl) * 1.25);
  }

  .cta-group {
    flex-direction: row;
    padding: 0;
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: calc(var(--fs-3xl) * 1.5);
  }

  .comparison-slider {
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  .header-content {
    padding: 0 var(--sp-5);
  }

  .hero h1 {
    font-size: calc(var(--fs-3xl) * 1.75);
  }
}

.btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-section {
  background-color: var(--surface-accent); 
  padding: var(--sp-8) 0;
  text-align: center;
}

.site-footer {
  background-color: var(--surface-accent); 
  color: var(--text-secondary);
  padding: var(--sp-6) 0;
  font-size: var(--fs-sm);
  opacity: 0;
  transform: translateY(20px);
  animation: footerReveal 0.8s ease-out forwards;
  animation-delay: 1.2s;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer-left {
  flex: 1;
}

.footer-copyright {
  margin: 0;
  color: var(--text-secondary);
}

.footer-right {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
}

@keyframes footerReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  margin-left: 1.5rem;
}

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

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  text-align: left;
}

.faq-question h3 {
  font-size: var(--fs-lg);
  margin: 0;
  font-weight: 500;
  letter-spacing: var(--letter-spacing-normal);
  text-align: left;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out, margin-top 0.3s ease-in-out;
  opacity: 0;
  margin-top: 0;
  text-align: left;
}

.faq-item.active {
  background-color: var(--surface);
}

.faq-item.active .faq-answer {
  opacity: 1;
  margin-top: 1rem;
  padding-top: 1rem;
}

.faq-toggle {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  color: var(--primary);
  line-height: 1;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

section h2 {
  font-size: var(--fs-2xl);
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
}

/* Ensure all section content is centered on narrow screens */
@media (max-width: 1024px) {
  section h2,
  .logo-section h2,
  .logo-section .lead {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  .logo-section .lead {
    max-width: 600px;
  }
}

.row.g-4 {
  --bs-gutter-y: 2rem;
}

/* Tablet and narrow screen styles */
@media (max-width: 1024px) and (min-width: 769px) {
  section {
    text-align: center;
  }
  
  section h2 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  section .lead {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .features, #benefits, #social-proof, #final-cta, #faq {
    padding: var(--sp-8) 0;
  }

  section h2 {
    font-size: var(--fs-xl);
    margin-bottom: 2rem;
  }

  .feature-card, .benefit-card, .testimonial-card, .step-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .faq-item {
    padding: 1.25rem;
  }
}

.timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}

@media (max-width: 768px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: var(--sp-2);
    padding: var(--sp-2);
    margin-bottom: var(--sp-4);
  }
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-content {
  position: relative;
  padding: 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

@media (max-width: 768px) {
  .timeline-item {
    display: flex;
    justify-content: center;
  }

  .timeline-emoji {
    display: flex;
    justify-content: center;
    margin: 0 auto 1rem auto;
  }
}

@media (min-width: 992px) {
  .timeline-content {
    max-width: 500px;
  }
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.timeline-emoji {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .timeline-emoji {
    font-size: 3rem;
  }
}

.timeline-content .step-icon {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-content .step-icon i {
  width: 48px;
  height: 48px;
  color: var(--primary);
  stroke: var(--primary);
  stroke-width: 2;
}

.timeline-content:hover .step-icon {
  transform: translateY(-5px);
}

.timeline-content:hover .step-icon i {
  transform: scale(1.1);
}

.timeline-content h3 {
  font-size: var(--fs-xl);
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.timeline-content h4 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 1rem;
  color: var(--text);
}

.timeline-content h4::after {
  content: '';
  display: block;
  margin: 0.5rem auto;
  width: 40px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.timeline-content p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .timeline-content {
    padding: 2rem;
    margin: 0;
  }

  .timeline-content h3 {
    font-size: 1.2rem;
  }

  .timeline-content p {
    font-size: 0.9rem;
  }

  .timeline-content .step-emoji {
    position: static;
    transform: none;
    margin: 0 auto 1rem;
    font-size: 2.5rem;
  }

  .timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }

  .timeline-content p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

@media (max-width: 768px) {
  .step-card:not(:last-child)::after {
    content: "↓";
    right: 50%;
    top: auto;
    bottom: -2rem;
    transform: translateX(50%);
  }
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-number {
  font-size: 2.5rem;
  margin: 0auto 1rem;
  line-height: 1;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#who-is-this-for {
  background: var(--surface);
  overflow: hidden;
}

.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--sp-4);
    margin-top: var(--sp-6);
}

.user-category {
    background: var(--surface);
    padding: var(--sp-4);
    border-radius: var(--radius);
    display: flex;
    align-items: flex-start;
    gap: var(--sp-4);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--border);
}

.user-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon .material-icons {
    font-size: 48px;
    color: var(--primary);
}

.category-content h3 {
    font-size: var(--fs-lg);
    margin-bottom: var(--sp-2);
    color: var(--text);
    letter-spacing: var(--letter-spacing-normal);
}

.category-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: var(--fs-base);
    line-height: var(--line-height-normal);
}

@media (max-width: 1024px) {
    .users-grid {
        grid-template-columns: 1fr;
        gap: var(--sp-4);
        justify-content: center;
        place-items: center;
        max-width: 600px;
        margin: 0 auto;
    }

    .user-category {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 500px !important;
        margin: 0 auto !important;
        padding: var(--sp-6) var(--sp-4) !important;
        min-height: 200px !important;
    }

    .category-icon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: var(--sp-4) !important;
        width: 100% !important;
    }

    .category-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .category-content h3 {
        text-align: center !important;
        margin-bottom: var(--sp-3) !important;
        font-size: var(--fs-xl) !important;
    }

    .category-content p {
        text-align: center !important;
        margin: 0 !important;
        font-size: var(--fs-base) !important;
        line-height: var(--line-height-normal) !important;
    }

    .material-icons {
        font-size: 48px !important;
    }
}

.user-category:hover .material-icons {
    transform: scale(1.1);
}

.stats-container {
  margin-bottom: 3rem;
  text-align: center;
}

.huge-number {
  font-size: 3rem;
  font-weight: 400;
  color: var(--primary);
}

.testimonial-card {
  background: var(--surface-secondary);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  height: 100%;
  border: 1px solid var(--border);
}

@media (max-width: 768px) {
    .testimonial-card {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text);
  line-height: var(--line-height-relaxed);
  letter-spacing: var(--letter-spacing-normal);
}

.testimonial-author {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
}

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.benefit-card, .testimonial-card {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.4s ease-out, opacity 0.4s ease-out, box-shadow 0.3s ease;
}

.benefit-card:hover, .testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

[data-scroll] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-scroll].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-scroll-section] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-scroll-section].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-scroll-section] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.1s;
}

[data-scroll-section].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

[data-scroll-section] .row > [class*="col-"] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-scroll-section].is-visible .row > [class*="col-"]:nth-child(1) {
  transition-delay: 0.1s;
}

[data-scroll-section].is-visible .row > [class*="col-"]:nth-child(2) {
  transition-delay: 0.2s;
}

[data-scroll-section].is-visible .row > [class*="col-"]:nth-child(3) {
  transition-delay: 0.3s;
}

[data-scroll-section].is-visible .row > [class*="col-"] {
  opacity: 1;
  transform: translateY(0);
}

.text-animation-container {
    position: relative;
    width: 100%;
    height: 400px;
    background: #ffffff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.9s;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-animation-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.text-animation-wrapper {
    position: relative;
    width: 90%;
    height: 90%;
    margin: 5% auto;
    display: flex;
    flex-direction: column;
}

.formatting-text {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem;
    background: #ffffff;
    border-radius: var(--radius);
    font-family: var(--font-main);
    font-size: 14px;
    line-height: 1.2;
    color: var(--text);
    overflow-y: auto;
    white-space: pre-wrap;
    text-align: left;
}

.text-block {
    font-family: var(--font-main);
    font-size: 14px;
    color: var(--text);
    opacity: 0.7;
    position: relative;
    animation: textFormat 6s ease-in-out infinite;
}

.text-block:nth-child(1) {
    animation-delay: 0s;
}

.text-block:nth-child(2) {
    animation-delay: 0.2s;
}

.text-block:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes textFormat {
    0%, 15% {
        margin-left: 0;
        letter-spacing: -0.3px;
        opacity: 0.5;
    }
    20%, 35% {
        margin-left: 20px;
        letter-spacing: normal;
        opacity: 0.7;
    }
    40%, 55% {
        margin-left: 20px;
        letter-spacing: normal;
        opacity: 0.8;
    }
    60%, 75% {
        margin-left: 20px;
        letter-spacing: normal;
        opacity: 0.9;
    }
    80%, 95% {
        margin-left: 20px;
        letter-spacing: normal;
        opacity: 1;
    }
    100% {
        margin-left: 0;
        letter-spacing: -0.3px;
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    .text-animation-container {
        height: 300px;
    }

    .text-animation-wrapper {
        width: 95%;
    }

    .formatting-text {
        padding: 1.5rem;
    }

    .text-block {
        font-size: 12px;
    }
}

.text-demo-container {
    position: relative;
    width: 100%;
    height: 450px;
    background: #ffffff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.9s;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-demo-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.text-demo-wrapper {
    position: relative;
    width: 92%;
    height: 92%;
    margin: 4% auto;
    display: flex;
    flex-direction: column;
}

.formatting-text {
    position: relative;
    height: 100%;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: var(--radius);
    font-family: var(--font-main);
    font-size: 14px;
    line-height: 1.2;
    color: var(--text);
    overflow-y: auto;
    white-space: pre-wrap;
    text-align: left;
}

.formatting-text h1 {    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
    text-align: left;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

.formatting-text h2 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--text);
    text-align: left;
}

.formatting-text p {
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.formatting-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.formatting-text li {
    position: relative;
    padding-left: 1.25rem;
    margin: 0;
    line-height: 1.3;
    display: block;
}

.formatting-text li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000000;
}

@media (max-width: 768px) {
    .formatting-text h1 {
        font-size: 1.25rem;
    }

    .formatting-text h2 {
        font-size: 1.1rem;
    }
}

#demoButton {
    font-size: var(--fs-sm);
    padding: var(--sp-2) var(--sp-3);
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    width: auto;
    align-self: center;
    margin-top: 1rem;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

#demoButton:hover {
    background-color: rgba(26, 115, 232, 0.1);
    color: white;
    transform: translateY(-1px);
}

h1 {
    text-transform: none;
    font-variant: normal;
}

@media (max-width: 768px) {
    .container {
        width: min(100% - 2rem, 100%);
        padding-inline: clamp(1rem, 3vw, 1.5rem);
        text-align: center;
    }

    .hero-text, .feature-card, .testimonial-card, .step-card {
        text-align: center;
    }

    .feature-icon {
        justify-content: center;
    }

    .hero {
        padding-block: clamp(4rem, 10vh, 6rem);
        min-height: auto;
    }

    .hero-text {
        padding: var(--sp-6) var(--sp-4);
        margin-bottom: var(--sp-5);
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: var(--sp-4);
    }

    .hero .lead {
        font-size: 1.125rem;
        margin-bottom: var(--sp-5);
        line-height: 1.5;
    }

    .cta-group {
        margin-top: var(--sp-4);
        gap: var(--sp-3);
    }

    .text-demo-container {
        height: 350px;
        margin: 0 auto;
        max-width: calc(100% - 2rem);
    }

    .text-demo-wrapper {
        width: 95%;
    }

    .formatting-text {
        font-size: 13px;
        padding: var(--sp-2);
    }

    #demoButton {
        font-size: var(--fs-sm);
        padding: 0.4rem 0.875rem;
    }

    section {
        padding: 3rem var(--sp-2);
    }

    .feature-card, .benefit-card, .testimonial-card, .step-card {
        margin: 0 var(--sp-2);
        padding: var(--sp-4);
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .hero-text {
        padding: var(--sp-2) var(--sp-1);
    }

    section {
        padding: 2.5rem var(--sp-2);
    }
}

.text-fade-in {
    animation: textFadeIn 0.5s ease-out forwards;
}

.text-transform {
    animation: textTransform 0.8s ease-out forwards;
}

@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textTransform {
    0% {
        opacity: 0.5;
        transform: scale(0.98);
        letter-spacing: -0.5px;
    }
    100% {
        opacity: 1;
        transform: scale(1);
        letter-spacing: normal;
    }
}

.eyes-container {
    width: 100%;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    background: #e6f2ff;  /* Light blue but subtle */
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 5;
}

.eye {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    border: 3px solid #333;  /* Increased from 2px to 3px */
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.pupil {
    width: 50px;
    height: 50px;
    background: #333;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
}

.mouth {
    position: absolute;
    width: 80px;
    height: 3px;  /* Increased from 2px to 3px */
    background: #333;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.eyes-container:hover .mouth {
    height: 20px;
    border-radius: 0 0 40px 40px;
    bottom: 110px;
}

.text-uppercase {
  text-transform: none;
}

.navbar-brand,
.feature-card h3,
.testimonial-card h3,
.user-category h3,
.faq-question h3 {
  text-transform: none;
}

.policy-content, .terms-content {
    max-width: 65ch; /* Optimal line length for readability */
    text-align: left;
    font-family: var(--font-main);
    font-size: var(--fs-base);
    line-height: 1.6;
  }

  .content-section h1,
  .content-section h2,
  .content-section p,
  .content-section ul,
  .content-section li {
    text-align: left;
    font-family: var(--font-main);
  }

  .content-section {
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .content-section h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text);
  }

  .contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
  }

  /* HubSpot Form Styling Enhancements */
  .hs-form {
    font-family: var(--font-main) !important;
  }

  .hs-form .hs-input {
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-sm) !important;
    padding: 12px !important;
    font-family: var(--font-main) !important;
    font-size: var(--fs-base) !important;
    width: 100% !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  }

  .hs-form .hs-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2) !important;
    outline: none !important;
  }

  .hs-form .hs-button {
    background: var(--primary-gradient) !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    font-size: var(--fs-base) !important;
    font-weight: 600 !important;
    border-radius: var(--radius) !important;
    transition: transform var(--transition), box-shadow var(--transition) !important;
    margin-top: 1rem !important;
    width: 100% !important;
  }

  .hs-form .hs-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-md) !important;
  }

  .content-section h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }

  .content-section p {
    font-size: var(--fs-base);
    margin-bottom: 1rem;
    line-height: 1.6;
  }

  .content-section ul {
    margin-bottom: 1.5rem;
  }

  .content-section li {
    font-size: var(--fs-base);
    line-height: 1.6;
    margin-bottom: 0.5rem;
  }

  .btn {
    width: auto;
  }

@media (max-width: 768px) {
  body, html {
    text-align: center;
  }
  section, .hero, .cta-section, .site-footer {
    text-align: center;
  }
  .hero-text {
    text-align: center !important;
  }
  .hero-text h1 {
    text-align: center !important;
  }
  .hero h1 {
    text-align: center !important;
  }
  .hero-text p, .hero-text .lead {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
  }
  .container {
    text-align: center;
  }
  .faq-wrapper {
    text-align: left !important;
  }
  .faq-item, .faq-question, .faq-answer {
    text-align: left !important;
  }
  .faq-question h3 {
    text-align: left !important;
  }
  .faq-answer p {
    text-align: left !important;
  }
  .comparison-slider {
    text-align: center;
  }
  .timeline-content {
    text-align: center;
  }
  .timeline-emoji, .step-icon {
    text-align: center;
  }
  .users-grid, .user-category {
    text-align: center;
  }
  .testimonial-card {
    text-align: center;
  }
  .stats-container {
    text-align: center;
  }
  .text-animation-container {
    text-align: center;
  }
  .text-demo-container {
    text-align: center;
  }
  .eyes-container {
    text-align: center;
  }
  .policy-content, .terms-content {
    text-align: left;
  }
  .content-section {
    text-align: left;
  }
  .site-footer .footer-content {
    text-align: center;
  }

  /* Contact Form Styles - Optimized for all devices */
  .contact-form-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 0 var(--sp-4);
  }

  /* Clean form styling */
  .hs-form {
    font-family: var(--font-main) !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Form fields */
  .hs-form .hs-input {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-sm) !important;
    font-family: var(--font-main) !important;
    font-size: var(--fs-base) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  }

  /* Form focus states */
  .hs-form .hs-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2) !important;
    outline: none !important;
  }

  /* Submit button styling */
  .hs-form .hs-button {
    background: var(--primary-gradient) !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    font-size: var(--fs-base) !important;
    font-weight: 600 !important;
    border-radius: var(--radius) !important;
    transition: transform var(--transition), box-shadow var(--transition) !important;
    margin-top: 1rem !important;
    width: 100% !important;
  }

  .hs-form .hs-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-md) !important;
  }

  /* Form labels */
  .hs-form .hs-form-field > label {
    display: block !important;
    text-align: left !important;
    margin-bottom: 5px !important;
    font-weight: 500 !important;
  }

  /* Simplified responsive adjustments */
  @media (max-width: 768px) {
    .contact-section {
      text-align: center;
    }
  }
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--sp-6) 0;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: var(--sp-3);
  }

  .footer-left {
    order: 2;
  }

  .footer-right {
    order: 1;
    justify-content: center;
    gap: var(--sp-3);
  }

  .footer-link {
    font-size: var(--fs-sm);
  }
}

@media (max-width: 480px) {
  .footer-right {
    flex-direction: column;
    gap: var(--sp-2);
  }

  .footer-link {
    padding: var(--sp-1) 0;
  }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 75px;
  display: flex;
  align-items: center;
  width: 100%;
}

.header-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-4);
  flex-wrap: nowrap;
}

.navbar-brand {
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: var(--letter-spacing-tight);
  transition: color var(--transition);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 65%;
}

@media (max-width: 480px) {
  .navbar-brand {
    font-size: calc(var(--fs-lg) + 2px);
    max-width: 60%;
  }

  .site-header {
    height: 65px;
  }

  .header-content {
    padding: 0 var(--sp-3);
  }
}