/* ===== CSS VARIABLES FOR EASY CUSTOMIZATION ===== */
:root {
  /* Colors */
  --primary-green: #48AF57;
  --secondary-green: #5cb85c;
  --light-green: #7bc67b;
  --text-dark: #000000;
  --text-medium: #333333;
  --text-light: #666666;
  --text-lighter: #888888;
  --background-white: #ffffff;
  --background-light: #f0f0f0;
  --background-medium: #D9D9D9;
  --background-grey: #7F7F7F;
  --border-light: #e0e0e0;
  --border-medium: #ccc;
  --shadow-light: rgba(0,0,0,0.1);
  --shadow-medium: rgba(0,0,0,0.15);
  --shadow-dark: rgba(0,0,0,0.2);

  /* Typography */
  --font-family: 'Inter', sans-serif;
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
  --font-size-3xl: 28px;
  --font-size-4xl: 32px;
  --font-size-5xl: 36px;
  --font-size-6xl: 40px;
  --font-size-hero: 64px;
  --line-height-tight: 1.2;
  --line-height-base: 1.4;
  --line-height-relaxed: 1.5;
  --line-height-loose: 1.7;

  /* Spacing */
  --spacing-xs: 5px;
  --spacing-sm: 10px;
  --spacing-md: 15px;
  --spacing-lg: 20px;
  --spacing-xl: 30px;
  --spacing-2xl: 40px;
  --spacing-3xl: 50px;
  --spacing-4xl: 60px;
  --spacing-5xl: 80px;
  --spacing-6xl: 120px;
  --spacing-7xl: 160px;

  /* Layout */
  --container-max-width: 1200px;
  --container-padding: 20px;
  --border-radius-sm: 5px;
  --border-radius-md: 10px;
  --border-radius-lg: 15px;
  --border-radius-xl: 20px;
  --border-radius-2xl: 25px;
  --border-radius-3xl: 30px;
  --border-radius-full: 50%;

  /* Animation */
  --transition-fast: 0.3s ease;
  --transition-base: 0.5s ease;
  --transition-slow: 1s ease;

  /* Component Specific Sizes - Easy to modify */
  --hero-section-padding: 120px 0 300px;
  --logo-size: 80px;
  --brain-circles-size: 800px;
  --carousel-slide-width: 400px;
  --carousel-slide-height: 450px;
  --feature-box-height: 180px;
  --user-card-width: 290px;
  --pricing-plan-width: 400px;

  /* Compliance Section Customization */
  --compliance-features-margin-top: 180px;

  /* Scroll Arrow Customization */
  --arrow-size: 80px; /* Controls width and height of the arrow */
  --arrow-top-position: 710px; /* Controls distance from the top of the page */
}

/* ===== RESET & BASE STYLES ===== */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
    margin: 0;
  background-color: var(--background-white);
  color: var(--text-dark);
  overflow-x: hidden; /* Prevent sideways scrolling */
  line-height: var(--line-height-relaxed);
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: var(--container-max-width);
    margin: 0 auto;
  padding: 0 var(--container-padding);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-column { flex-direction: column; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-xl); }

/* ===== HEADER ===== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  padding: var(--spacing-2xl) 0;
    position: relative;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
  gap: var(--spacing-2xl);
}

nav a {
    text-decoration: none;
  color: var(--secondary-green);
  font-size: var(--font-size-base);
  transition: color var(--transition-fast);
}

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

.logo {
    position: absolute;
    top: 25px;
    right: -200px;
}

.logo-image {
  height: var(--logo-size);
}

/* ===== HERO SECTION ===== */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
  margin-top: var(--spacing-5xl);
    position: relative;
    padding-bottom: 300px;
}

.hero-content {
    position: relative;
  top: var(--spacing-5xl);
    max-width: 45%;
    z-index: 2;
}

.hero-title {
  font-size: var(--font-size-hero);
    font-weight: bold;
    margin: 0;
  animation: fadeInUp var(--transition-slow);
}

.hero-subtitle {
  font-size: var(--font-size-base);
  color: var(--text-light);
  margin: 0 0 var(--spacing-3xl);
  animation: fadeInUp var(--transition-slow) 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

.hero-description {
  font-size: var(--font-size-xl);
  line-height: var(--line-height-relaxed);
  animation: fadeInUp var(--transition-slow) 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}

/* ===== BRAIN CIRCLES (Hero Visual) ===== */
.brain-visual {
    position: absolute;
    right: -350px;
  bottom: -125px;
  width: var(--brain-circles-size);
  height: var(--brain-circles-size);
    z-index: 1;
}

.brain-circle {
    position: absolute;
  border-radius: 50%; /* Perfect circles */
}

.brain-circle--grey-1 {
  width: 500px;
  height: 500px;
  background-color: var(--background-grey);
  top: 50px;
  left: 50px;
    z-index: 1;
  opacity: 0.8;
}

.brain-circle--grey-2 {
  width: 500px;
  height: 500px;
  background-color: var(--background-grey);
  top: 50px;
  left: 250px; /* Adjusted for larger circles */
  z-index: 1;
  opacity: 0.8;
}

.brain-circle--green {
  width: 360px;
  height: 360px;
  background-color: var(--primary-green);
  top: 120px; /* Centered vertically */
  left: 120px; /* Centered on left grey circle */
    z-index: 2;
  opacity: 0.9;
}

.brain-circle--icon {
  width: 240px;
  height: 240px;
  top: 180px; /* Centered vertically in green circle */
  left: 180px; /* Centered horizontally on left grey circle */
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brain-circle--icon img {
  width: 90%;
  height: 90%;
    object-fit: contain;
  filter: brightness(1.2); /* Make brain image brighter for contrast */
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 85px 0;
  color: var(--background-white);
    position: relative;
  z-index: 1;
  margin-top: 230px;
}

.about-section::before {
    content: '';
    position: absolute;
  background-color: rgba(72, 175, 87, 0.75);
  z-index: -1;
  width: 100vw;
  top: -90px;
  bottom: 450px; /* Moves bottom edge up */
  left: calc((100% - 100vw) / 2);
}

.about-content-inner {
    position: relative;
  top: -180px; /* Move content up */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-block {
  margin-bottom: var(--spacing-lg);
    position: relative;
  min-height: 600px;
}

.about-text {
    position: absolute;
  text-align: left;
}

.about-text--top {
  width: 400px;
  top: 125px;
  left: 85%;
  transform: translateX(-50%);
}

.about-text--bottom {
  top: -120px;
  left: 25%;
  transform: translateX(-50%);
}

.about-text h2 {
  font-size: var(--font-size-6xl);
  font-weight: bold;
  margin-bottom: var(--spacing-lg);
  opacity: 0;
  transform: translateX(100px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.about-text h3 {
  font-size: 26px;
  font-weight: normal;
  margin-bottom: 0;
  width: 350px;
  opacity: 0;
  transform: translateX(100px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.about-text--bottom h2,
.about-text--bottom h3 {
  transform: translateX(-100px);
}

.about-section.in-view .about-text h2,
.about-section.in-view .about-text h3 {
  opacity: 1;
  transform: translateX(0);
}

.about-section.in-view .about-text--top h2 {
  transition-delay: 0.5s;
}

.about-section.in-view .about-text--top h3 {
  transition-delay: 0.7s;
}

.about-section.in-view .about-text--bottom h2 {
  transition-delay: 0.5s;
}

.about-section.in-view .about-text--bottom h3 {
  transition-delay: 0.7s;
}

.about-image {
    position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.about-image--top {
    width: 600px;
    height: 600px;
    top: 450px;
    left: 75%;
    transform: translateX(-50%);
}

.about-image--bottom {
width: 600px;
height: 600px;
top: -625px;
left: 25%;
transform: translateX(-50%);
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===== STEPS ===== */
.step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 5px;
}

.step img {
  width: 50px;
  height: 50px;
  margin-right: var(--spacing-lg);
  flex-shrink: 0;
}

.step h4 {
  font-size: var(--font-size-lg);
  font-weight: bold;
  margin: 15px 0 5px;
  color: var(--background-white);
}

.step p {
  margin: 0 0 8px;
  max-width: 400px;
}

.step:first-child h4 {
  margin-top: var(--spacing-lg);
}

.step:first-child {
  margin-top: 20px;
}

/* ===== GETTING STARTED ===== */
.getting-started {
  text-align: center;
  padding: var(--spacing-lg);
  margin: 0 auto;
  max-width: 800px;
  position: relative;
  top: -350px; /* Moved up */
}

.getting-started h2 {
  font-size: var(--font-size-3xl);
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity var(--transition-slow) 0.5s, transform var(--transition-slow) 0.5s;
}

.getting-started.in-view h2 {
  opacity: 1;
  transform: translateX(0);
}

.getting-started p {
  font-size: var(--font-size-base);
}

/* ===== ARROW ANIMATION ===== */
.scroll-arrow {
  position: absolute;
  top: var(--arrow-top-position);
  left: 50%;
  transform: translateX(-50%);
  width: var(--arrow-size);
  height: auto; /* Preserve aspect ratio */
  z-index: 10;
  opacity: 0;
  animation: fade-in-arrow var(--transition-slow) 2s forwards, bounce 2s infinite 3s;
}

/* ===== CAROUSEL ===== */
.carousel-section {
  position: relative;
  top: -375px; /* Moved up */
}

/* Desktop-specific carousel positioning - move down by 300px total, then up by 20px */
@media (min-width: 1024px) {
  .carousel-section {
    top: -95px; /* Moved down by 300px from -375px, then up by 20px */
  }
}

.carousel-container {
position: relative;
  max-width: var(--container-max-width);
margin: 0 auto;
display: flex;
justify-content: center;
align-items: center;
perspective: 1500px;
}

.carousel-wrapper {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
transform-style: preserve-3d;
position: relative;
  height: var(--carousel-slide-height);
}

.carousel-slide {
  width: var(--carousel-slide-width);
  background-color: var(--background-white);
  box-shadow: 0 4px 15px var(--shadow-light);
  transition: transform var(--transition-base), opacity var(--transition-base), z-index 0s 0.25s;
position: absolute;
backface-visibility: hidden;
}

.carousel-slide.active,
.carousel-slide:hover {
  box-shadow: 0 10px 30px var(--shadow-dark);
}

.slide-image {
height: 220px;
background-size: cover;
background-position: center;
position: relative;
color: white;
display: flex;
flex-direction: column;
justify-content: flex-end;
  padding: var(--spacing-lg);
}

.slide-image::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
}

.image-overlay-text {
position: relative;
z-index: 1;
margin-bottom: 0;
}

.image-overlay-text h2 {
  font-size: var(--font-size-4xl);
margin: 175px 0 0;
  line-height: var(--line-height-tight);
text-align: left;
position: relative;
left: 50px;
}

.slide-content {
padding: 25px;
text-align: center;
}

.slide-content h4 {
  font-size: var(--font-size-base);
font-weight: 700;
margin: 35px 0 15px;
  color: var(--text-medium);
}

.slide-content p {
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-light);
margin: 0;
}

/* ===== CAROUSEL CONTROLS ===== */
.carousel-arrow {
  background-color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-arrow:hover {
  box-shadow: 0 4px 12px var(--shadow-dark);
}

.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }

.carousel-dots {
display: flex;
justify-content: center;
  margin-top: var(--spacing-xl);
  gap: 12px;
}

.back-to-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-green);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: none;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 100000000000000000000; /* ensure above all elements */
  opacity: 0;
  transform: translateY(20px);
}

.back-to-top-btn.show {
  display: flex;
  animation: fadeInUp 0.6s ease 0.5s forwards;
}

.back-to-top-btn:hover {
  background-color: #5a9e4a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.back-to-top-btn svg {
  width: 16px;
  height: 16px;
}

.dot {
width: 8px;
height: 8px;
  border-radius: var(--border-radius-full);
background-color: #d1d1d1;
cursor: pointer;
  transition: all var(--transition-fast);
border: none;
}

.dot.active {
background-color: #555;
width: 30px;
  border-radius: var(--spacing-sm);
}

/* ===== CHAT SECTION ===== */
/* ===== CHAT SECTION ===== */
.chat-section {
max-width: 1000px;
  margin: 50px auto 150px; /* Fixed negative margin that was hiding the chat section */
text-align: center;
position: relative;
z-index: 100;
}

/* Desktop-specific chat section positioning - move down by 500px */
@media (min-width: 1024px) {
  .chat-section {
    margin-top: 550px; /* Moved down by 500px from 50px */
    z-index: 10000; /* Higher z-index for desktop */
  }
}

/* Desktop Simple Chat Section Styles - Same as mobile */
.desktop-simple-chat-section {
  background: transparent;
  padding: 20px 20px;
  text-align: center;
  margin: 50px 0 5px 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.desktop-simple-chat-container {
  max-width: 600px;
  margin: 0 auto;
}

.desktop-simple-chat-input-wrapper {
  display: flex;
  align-items: center;
  background: white;
  border: 2px solid #48AF57;
  border-radius: 25px;
  padding: 6px 16px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 2px 10px rgba(72, 175, 87, 0.1);
  transition: all 0.3s ease;
}

.desktop-simple-chat-input-wrapper:focus-within {
  border-color: #3d8b47;
  box-shadow: 0 4px 15px rgba(72, 175, 87, 0.2);
  transform: translateY(-1px);
}

.desktop-simple-chat-input-wrapper input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  color: #333;
  background: transparent;
  padding: 12px 0;
}

.desktop-simple-chat-input-wrapper input::placeholder {
  color: #999;
}

.desktop-simple-send-button {
  background: white;
  border: 2px solid #48AF57;
  border-radius: 6px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.desktop-simple-send-button:hover {
  background: #48AF57;
  transform: scale(1.05);
}

.desktop-simple-send-button svg {
  width: 20px;
  height: 20px;
  fill: #48AF57;
}

.desktop-simple-send-button:hover svg {
  fill: white;
}

/* Desktop-specific positioning for desktop chat box - move up by 40px total */
@media (min-width: 1024px) {
  .desktop-simple-chat-section {
    margin-top: 10px; /* Moved up by 40px total from 50px */
  }
}

/* Hide desktop chat section on mobile */
@media (max-width: 1023px) {
  .desktop-simple-chat-section {
    display: none !important;
  }
}

/* Desktop-specific footer layout - compact horizontal design */
@media (min-width: 1024px) {
  .footer {
    padding: 40px 0;
    background-color: #7F7F7F; /* desktop footer background */
  }
  
  .footer-container {
    padding: 0 80px;
    max-width: 1400px !important; /* override inline cap */
    width: 100% !important;
    margin: 0 auto;
  }

  /* New desktop grid */
  .footer-grid {
    display: grid;
    grid-template-columns: 2.4fr 1.1fr 1.2fr 140px; /* brand | solutions | information | linkedin */
    align-items: start;
    column-gap: 80px;
  }
  
  .footer-section {
    flex: 1;
  }
  
  .footer-section:first-child {
    flex: 2.5;
    max-width: 450px;
  }
  
  .footer-section:nth-child(2),
  .footer-section:nth-child(3) {
    flex: 1;
    min-width: 180px;
  }
  
  .footer-section:last-child {
    text-align: right;
    justify-self: end;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  
  .footer-logo-img {
    height: 70px; /* larger brand mark as in design */
    margin-bottom: 12px;
  }
  
  .footer-heading {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 5px 0;
    color: #ffffff;
  }
  
  .footer-description {
    font-size: 14px;
    line-height: 1.5;
    color: #ffffff;
    margin: 0;
    max-width: 380px;
  }
  
  .footer-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 8px 0;
    color: #ffffff;
  }
  
  .footer-underline {
    width: 220px; /* match screenshot length */
    height: 2px;
    background-color: #66B33B;
    margin: 6px 0 18px 0;
  }
  
  .footer-links,
  .footer-list-vertical {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column; /* vertical list */
    gap: 12px;
  }
  
  .footer-links li {
    margin-bottom: 0;
    display: flex;
    align-items: center;
  }
  
  .footer-links a {
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    padding: 0;
  }
  
  .footer-icon {
    margin-right: 8px;
    font-size: 14px;
  }
  
  .linkedin-icon {
    width: 120px;
    height: 120px;
  }
  
  .linkedin-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

/* =================================== */
/* BUILT-IN COMPLIANCE CONFIDENCE SECTION */
/* =================================== */
.compliance-section {
  padding: 120px 0 120px;
  background-color: #f2f2f2;
  margin-top: 30px;
}

.compliance-container {
  max-width: var(--container-max-width);
    margin: 50px auto 0;
  padding: 0 var(--container-padding);
}

.compliance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-5xl);
  align-items: center;
  margin-top: 50px;
}

.compliance-image-column {
position: relative;
}

.new-monitor-image {
width: 100%;
    height: auto;
}


.compliance-text-column {
    padding-left: var(--spacing-4xl);
}

.compliance-text-column h2 {
  font-size: var(--font-size-4xl);
  font-weight: bold;
  margin-bottom: var(--spacing-sm);
  white-space: nowrap;
}

.compliance-text-column h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
  color: var(--text-medium);
}

.compliance-text-column p {
  font-size: var(--font-size-base);
  line-height: var(--line-height-loose);
  margin-bottom: var(--spacing-lg);
}

.compliance-note {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--font-size-sm);
  color: var(--text-medium);
}

.compliance-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--compliance-features-margin-top);
}

.feature-box-small {
    background: #f0f0f0;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-sm);
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform var(--transition-fast);
    transition-delay: 0s, 0s;
}

.compliance-section.in-view .feature-box-small {
    opacity: 1;
    transform: translateY(0);
}

.compliance-section.in-view .feature-box-small:nth-child(1) { transition-delay: 1.0s, 0s; }
.compliance-section.in-view .feature-box-small:nth-child(2) { transition-delay: 1.3s, 0s; }
.compliance-section.in-view .feature-box-small:nth-child(3) { transition-delay: 1.6s, 0s; }
.compliance-section.in-view .feature-box-small:nth-child(4) { transition-delay: 1.9s, 0s; }

.compliance-section.in-view .feature-box-small:nth-child(1):hover { transition-delay: 0s, 0s; }
.compliance-section.in-view .feature-box-small:nth-child(2):hover { transition-delay: 0s, 0s; }
.compliance-section.in-view .feature-box-small:nth-child(3):hover { transition-delay: 0s, 0s; }
.compliance-section.in-view .feature-box-small:nth-child(4):hover { transition-delay: 0s, 0s; }

.compliance-section.in-view .feature-box-small:hover {
    transform: translateY(-8px);
}

.feature-box-small img {
  width: 40px;
  height: 40px;
}

.feature-box-small span {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-base);
}
/* =================================== */
/* END COMPLIANCE CONFIDENCE SECTION */
/* =================================== */

.chat-input-wrapper {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.chat-input-wrapper input {
width: 100%;
  padding: var(--spacing-lg) 60px var(--spacing-lg) 25px; /* Added padding-right for button */
  border: 1px solid var(--primary-green);
  border-radius: 35px;
  font-size: var(--font-size-lg);
  outline: none;
}

.chat-input-wrapper .send-button {
position: absolute;
  right: 20px; /* Positioned inside the input */
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
}

/* ===== USERS SECTION ===== */
.users-section {
  padding: var(--spacing-4xl) var(--spacing-lg);
  background-color: #f2f2f2;
  margin-top: 150px;
}

.users-section h2 {
  font-size: var(--font-size-4xl);
  text-align: center;
  margin-bottom: var(--spacing-lg);
  color: var(--text-dark);
}

.users-section > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-3xl);
  font-size: var(--font-size-base);
  line-height: var(--line-height-loose);
  color: var(--text-medium);
}

.users-grid {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
}

.user-card {
  flex: 1;
  min-width: 270px;
  max-width: var(--user-card-width);
  background: #f9f9f9;
  border-radius: var(--border-radius-xl);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  overflow: hidden;
}

.user-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.12);
}

.user-image {
width: 100%;
  height: 180px;
  object-fit: cover;
  border-top-left-radius: var(--border-radius-xl);
  border-top-right-radius: var(--border-radius-xl);
}

.user-content {
  padding: var(--spacing-lg);
display: flex;
align-items: center;
  justify-content: space-between;
  min-height: 100px;
  height: 120px; /* Fixed height to make lines equal */
}

.user-content h3 {
  font-size: var(--font-size-base);
  margin: 0;
  color: var(--text-dark);
  font-weight: 700;
  line-height: var(--line-height-tight);
}

.user-content h3 span {
  font-weight: 400;
  display: block;
  margin-top: var(--spacing-xs);
}

.user-details {
  padding: 0 var(--spacing-lg);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-fast), padding var(--transition-fast);
}

.user-details.expanded {
  padding: var(--spacing-lg);
  max-height: 200px;
  border-top: 1px solid #ddd;
}

.show-all-container {
  text-align: center;
  margin-top: var(--spacing-xl);
}

.show-all-btn {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.show-all-btn img {
  display: block;
  width: 150px;
}

/* ===== BENEFITS SECTION ===== */
.benefits-section {
  padding: 0 0 0px;
  background-color: var(--background-white);
  margin-top: 200px; /* Increased from 150px to push the section down more */
  margin-bottom: -100px;
}

.benefits-container {
max-width: 1100px;
margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.benefits-top {
display: flex;
align-items: center;
  margin-bottom: 0px;
  margin-top: -100px;
}

.benefits-image-container {
position: relative;
width: 35%;
}

.benefits-puzzle-img {
width: 70%;
  border-radius: var(--border-radius-full);
}

.grey-circle-overlay {
position: absolute;
  top: 0;
  left: 0;
width: 60%;
height: 100%;
background-color: rgba(128, 128, 128, 0.5);
  border-radius: var(--border-radius-full);
z-index: -1;
}

.benefits-text-content {
width: 65%;
  padding-left: var(--spacing-4xl);
}

.benefits-text-content h2 {
  font-size: var(--font-size-5xl);
  margin-bottom: var(--spacing-lg);
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.benefits-section.in-view .benefits-text-content h2 {
  opacity: 1;
  transform: translateY(0);
}

.benefits-text-content p {
  font-size: var(--font-size-xl);
  line-height: var(--line-height-loose);
}

.benefits-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  margin-top: 100px; /* Move the main content down */
}

.benefits-column {
display: flex;
flex-direction: column;
  gap: var(--spacing-xl);
}

.benefits-column h3 {
  font-size: var(--font-size-2xl);
  margin: -50px 0 0;
text-align: center;
}

.feature-box {
  padding: var(--spacing-md);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 8px 15px var(--shadow-light);
  transition: transform var(--transition-fast);
  height: var(--feature-box-height);
display: flex;
align-items: center;
}

.feature-box:hover {
transform: translateY(-8px);
}

.feature-box img {
width: 30px;
  margin-right: var(--spacing-md);
flex-shrink: 0;
}

.feature-text {
display: flex;
flex-direction: column;
}

.feature-box h4 {
  font-size: var(--font-size-base);
margin-bottom: 8px;
}

.feature-box p {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
margin: 0;
}

.feature-box--white { background-color: var(--background-white); }
.feature-box--light-grey { background-color: var(--background-light); }
.feature-box--dark-grey { background-color: var(--background-medium); }

/* ===== PRICING SECTION ===== */
.pricing-section {
  padding: var(--spacing-4xl) 0;
  background-color: var(--background-white);
}

.pricing-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  text-align: center;
}

.pricing-section h2 {
  font-size: var(--font-size-3xl);
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
  line-height: var(--line-height-tight);
}

.pricing-subtitle {
  font-size: var(--font-size-base);
  color: var(--text-medium);
  margin-bottom: var(--spacing-xs);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--line-height-relaxed);
}

.pricing-explore {
  font-size: var(--font-size-lg);
  color: var(--text-medium);
  margin-bottom: var(--spacing-xl);
  font-weight: 500;
}

.pricing-plans {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xl);
  flex-wrap: nowrap;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.pricing-plan {
  border-radius: 16px;
  padding: 24px;
  width: 380px;
  height: 650px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.pricing-plan--level1 {
  background: linear-gradient(180deg, #ffffff 0%, #80c080 100%);
}

.pricing-plan--level2 {
  background: linear-gradient(180deg, #a0d0a0 0%, #90c890 100%);
}

.plan-icon {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  margin-top: 16px;
}

.plan-icon img {
  width: 67px;
  height: 67px;
  object-fit: contain;
}

.pricing-plan h3 {
  font-size: 24px;
  font-weight: bold;
  color: #000;
  margin: 0 0 4px 0;
}

.pricing-plan h4 {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0 0 32px 0;
}



.price-section {
  text-align: left;
  width: 100%;
  margin-bottom: 16px;
  position: relative;
}



.price-value {
  font-size: 18px;
  font-weight: bold;
  color: #000;
  margin-bottom: 8px;
}

.price-options {
  font-size: 12px;
  color: #000;
  line-height: 1.4;
}

.price-options div {
  margin-bottom: 2px;
}

.price-options .small-text {
  font-size: 10px;
  color: #666;
  font-style: italic;
  margin-left: 8px;
}

.price-divider {
  width: 80%;
  height: 1px;
  background-color: #ccc;
  position: absolute;
  bottom: -8px;
  left: 0;
}

.pricing-plan--level1 .features {
  margin-top: 10px;
}

.pricing-plan--level1 .price-divider {
  bottom: -15px;
  background-color: #ffffff;
}

.pricing-plan--level2 .price-divider {
  background-color: #ffffff;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  width: 100%;
  flex-grow: 1;
}

.features li {
  font-size: 14px;
  color: #000;
  margin-bottom: 6px;
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}

.features li:before {
  content: "•";
  color: #000;
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 14px;
}

.select-btn {
  background-color: #fff;
  color: #000;
  border: 2px solid #000;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 80%;
  margin-top: auto;
}

.select-btn:hover {
  background-color: #000;
  color: #fff;
}

/* ===== FOOTER ===== */
.footer {
  background-color: #7F7F7F;
  padding: 60px 0;
  margin-top: 100px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.footer-section {
  flex: 1;
}

.footer-logo {
  margin-bottom: 10px;
}

.footer-logo-img {
  height: 80px;
  width: auto;
}

.footer-tagline {
  color: #cccccc;
  font-size: 14px;
  margin: 0 0 15px 0;
  line-height: 1.2;
}

.footer-heading {
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 1px 0;
  line-height: 1.2;
}

.footer-description {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.3;
  margin: 0;
}

.footer-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 10px 0;
}

.footer-underline {
  width: 40px;
  height: 3px;
  background-color: #66B33B;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer-icon {
  margin-right: 8px;
  font-size: 16px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #66B33B;
}

.linkedin-icon {
  width: 93px;
  height: 93px;
  background-color: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
  margin-left: 20px;
  position: relative;
}

.linkedin-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: var(--spacing-5xl) 0 160px;
  margin-top: var(--spacing-3xl);
}

.cta-container {
    max-width: 80%;
    margin: 0 auto;
  background-color: var(--primary-green);
  border-radius: var(--border-radius-2xl);
  padding: var(--spacing-4xl);
    text-align: center;
  color: var(--background-white);
}

.cta-container h2 {
  font-size: var(--font-size-5xl);
    font-weight: bold;
  margin-bottom: var(--spacing-lg);
}

.cta-container p {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-2xl);
}

.cta-button {
    display: inline-block;
    background-color: #808080;
  color: var(--background-white);
  padding: var(--spacing-lg) var(--spacing-2xl);
  font-size: var(--font-size-lg);
    text-decoration: none;
    border-radius: 50px;
  box-shadow: 0 8px 15px var(--shadow-dark);
  transition: transform var(--transition-fast);
}

.cta-button:hover {
    transform: translateY(-5px);
}

/* ===== MODAL ===== */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.5); 
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--background-white);
    padding: var(--spacing-lg);
    border: 1px solid #888;
    width: 90%;
    max-width: 400px;
    border-radius: var(--border-radius-md);
    text-align: center;
    position: relative;
}

.close-button {
    color: #aaa;
    float: right;
  font-size: var(--font-size-3xl);
    font-weight: bold;
  cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
}

#login-form input {
  width: calc(100% - var(--spacing-lg));
  padding: var(--spacing-sm);
  margin: var(--spacing-sm) 0;
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-sm);
}

#login-form button[type="submit"] {
    width: 100%;
  padding: var(--spacing-sm);
  background-color: var(--primary-green);
    color: white;
    border: none;
  border-radius: var(--border-radius-sm);
    cursor: pointer;
  font-size: var(--font-size-base);
}

#login-form button[type="submit"]:hover {
    background-color: #409a4d;
}

#login-password-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    z-index: 10;
    padding: 8px;
    font-size: 16px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

#login-password-toggle:hover {
    color: #333;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

#login-form input[type="password"] {
    padding-right: 50px;
}

.login-error {
    color: #ff0000;
    font-size: 14px;
    margin: 10px 0;
    text-align: center;
    padding: 8px;
    border-radius: 4px;
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    display: none;
}

.divider {
    text-align: center;
  margin: var(--spacing-lg) 0;
  color: var(--text-lighter);
}

.social-login-button {
    width: 100%;
  padding: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-sm);
  background-color: var(--background-white);
    cursor: pointer;
  font-size: var(--font-size-base);
  transition: background-color var(--transition-fast);
}

.social-login-button:hover {
  background-color: var(--background-light);
}

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

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

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  10%, 30% { transform: translate(-50%, 20px); }
  20%, 40% { transform: translate(-50%, 0px); }
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: transparent; }
}

/* ===== PLACEHOLDER ANIMATION ===== */
#chat-input::placeholder {
  white-space: nowrap;
    overflow: hidden;
  border-right: .15em solid transparent;
  animation: typing 3.5s steps(40, end) infinite, blink-caret .75s step-end infinite;
}

/* ===== ANNOTATION STYLES ===== */
.annotation-box {
    position: absolute;
    background-color: #6eaf79;
    color: white;
    padding: 15px 25px;
    border-radius: 35px;
    font-size: 15px;
    line-height: 1.4;
    max-width: 290px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
    z-index: 10;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.compliance-section.in-view .annotation-box {
    opacity: 1;
    transform: translateY(0);
}

.compliance-section.in-view .annotation-top {
    transition-delay: 0.5s;
}

.compliance-section.in-view .annotation-bottom-left {
    transition-delay: 1.0s;
}

.compliance-section.in-view .annotation-bottom-right {
    transition-delay: 1.2s;
}

.annotation-top {
    top: -45px;
    left: 25%;
    transform: translateX(-50%);
    max-width: 270px;
}

.annotation-bottom-left {
    bottom: -60px;
    left: -10px;
}

.annotation-bottom-right {
    bottom: -35px;
    right: -65px;
}

.annotation-line-svg {
    position: absolute;
    pointer-events: none;
}

/* Position the SVG containers to align the lines */
.annotation-line-top {
    top: 30px; /* Position it just below the annotation box */
    left: 44%;
    transform: translateX(-50%);
    width: 2px;
    height: 175px;
}

.annotation-line-bottom-left {
    bottom: 25px;
    left: 100px;
    width: 2px;
    height: 220px;
}

.annotation-line-bottom-right {
    bottom: 25px;
    right: 150px;
    width: 2px;
    height: 170px;
}

.annotation-line-svg circle {
    stroke: white;
    stroke-width: 2px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  :root {
    --hero-section-padding: 40px 0 100px;
    --brain-circles-size: 400px;
    --carousel-slide-width: 280px;
    --user-card-width: 100%;
    --pricing-plan-width: 100%;
    --container-padding: 15px;
  }

  /* Header and Navigation */
  header {
    padding: 15px 10px;
  }

  .logo {
    position: static;
    transform: none;
    margin-bottom: 10px;
  }

  .logo-image {
    width: 120px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  nav li a {
    font-size: 14px;
    padding: 8px 12px;
  }

  /* Hero Section */
  .hero-section {
    padding: var(--hero-section-padding);
    flex-direction: column;
    text-align: center;
    min-height: auto;
  }

  .hero-content {
    max-width: 90%;
    margin-bottom: 30px;
  }

  .hero-title {
    font-size: 36px;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.5;
  }

  .brain-visual {
    width: 100%;
    height: auto;
    position: relative;
    margin-top: 20px;
  }

  .brain-circles-container {
    width: 300px;
    height: 300px;
    margin: 0 auto;
  }

  .brain-circle--grey-1,
  .brain-circle--grey-2 {
    width: 200px;
    height: 200px;
  }

  .brain-circle--green {
    width: 150px;
    height: 150px;
  }

  .brain-circle--icon {
    width: 100px;
    height: 100px;
  }

  /* About Section */
  .about-section {
    padding: 40px 0;
    margin-top: 50px;
  }

  .about-content-inner {
    top: 0;
    padding: 0 15px;
  }

  .about-block {
    min-height: auto;
    margin-bottom: 40px;
  }

  .about-text--top,
  .about-text--bottom {
    position: relative;
    width: 100%;
    left: 0;
    top: 0;
    text-align: center;
    padding: 0;
  }

  .about-image--top,
  .about-image--bottom {
    position: relative;
    width: 100%;
    max-width: 300px;
    left: 0;
    top: 0;
    margin: 20px auto;
  }

  .about-image--top img,
  .about-image--bottom img {
    width: 100%;
    height: auto;
  }

  .about-section h2 {
    font-size: 24px;
  }

  .about-section h3 {
    font-size: 20px;
  }

  .about-section p {
    font-size: 14px;
  }

  /* Getting Started Section */
  .getting-started {
    padding: 20px 15px;
    text-align: center;
  }

  .getting-started h2 {
    font-size: 22px;
  }

  .getting-started p {
    font-size: 14px;
  }

  /* Desktop Simple Chat Section */
  .desktop-simple-chat-section {
    padding: 15px;
  }

  .desktop-simple-chat-container {
    max-width: 100%;
  }

  .desktop-simple-chat-input-wrapper {
    max-width: 100%;
  }

  /* Side Arrow */
  .side-arrow-decoration {
    display: none;
  }

  /* Carousel Section */
  .carousel-section {
    padding: 40px 15px;
    margin-top: 0;
  }

  .carousel-container {
    max-width: 100%;
  }

  .carousel-wrapper {
    max-width: 100%;
  }

  .carousel-slide {
    width: 280px;
    height: 350px;
  }

  /* Compliance Section */
  .compliance-section {
    padding: 40px 15px;
  }

  .compliance-grid {
    flex-direction: column;
  }

  .compliance-image-column {
    width: 100%;
    margin-bottom: 30px;
  }

  .new-monitor-image {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .compliance-text-column {
    width: 100%;
    text-align: center;
  }

  .compliance-features {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .feature-box-small {
    width: calc(50% - 10px);
    min-width: 140px;
  }

  /* Benefits Section */
  .benefits-section {
    padding: 40px 15px;
  }

  .benefits-top {
    flex-direction: column;
    text-align: center;
  }

  .benefits-image-container,
  .benefits-text-content {
    width: 100%;
    padding-left: 0;
  }

  .benefits-column h3 {
    margin: 30px 0 12px;
    font-size: 20px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
    gap: 20px;
  }

  .feature-box {
    width: 100%;
  }

  /* Users Section */
  .users-section {
    padding: 40px 15px;
  }

  .users-section h2 {
    font-size: 24px;
  }

  .users-section p {
    font-size: 14px;
  }

  .users-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .user-card {
    width: 100%;
    max-width: 350px;
  }

  /* Pricing Section */
  .pricing-section {
    padding: 40px 15px;
  }

  .pricing-section h2 {
    font-size: 24px;
  }

  .pricing-subtitle,
  .pricing-explore {
    font-size: 14px;
  }

  .pricing-plans {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .pricing-plan {
    width: 100%;
    max-width: 350px;
  }

  /* CTA Section */
  .cta-section {
    padding: 40px 15px;
  }

  .cta-section h2 {
    font-size: 24px;
  }

  .cta-section p {
    font-size: 14px;
  }

  /* Footer */
  .footer {
    padding: 40px 15px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-col {
    width: 100%;
  }

  /* Login Modal */
  .modal-content {
    width: 90%;
    max-width: 400px;
    padding: 30px 20px;
  }

  /* Step elements */
  .step {
    flex-direction: column;
    text-align: center;
    margin-bottom: 30px;
  }

  .step img {
    margin-bottom: 15px;
  }
}

/* Tablet styles (between mobile and desktop) */
@media (min-width: 769px) and (max-width: 1024px) {
  :root {
    --container-padding: 30px;
    --hero-section-padding: 80px 0 200px;
    --brain-circles-size: 600px;
    --carousel-slide-width: 350px;
  }

  .hero-content {
    max-width: 80%;
  }

  .hero-title {
    font-size: 48px;
  }

  .about-text--top,
  .about-text--bottom {
    width: 45%;
  }

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

  .users-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .pricing-plans {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }

  .pricing-plan {
    width: calc(50% - 10px);
    max-width: 400px;
  }
}

