/* ===========================
   ADDA USA - Modern HOA Management Software
   Brand Colors & Variables
   =========================== */

:root {
  /* ADDA Brand Colors */
  --primary-blue: #00AFD8;
  --secondary-purple: #8265E5;
  --accent-green: #CAF648;
  --neutral-base: #F0F4F8;
  --white: #FFFFFF;
  --dark-gray: #1B3A57;
  --medium-gray: #6C757D;
  --light-gray: #E9ECEF;
  
  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  /* Spacing */
  --section-padding: 70px 0; /* increased by 20px top and bottom */
  --container-max-width: 1200px;
  --border-radius: 12px;
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --hover-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition: all 0.3s ease;
}

/* ===========================
   Reset & Base Styles
   =========================== */

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

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--dark-gray);
  overflow-x: hidden;
}

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

/* ===========================
   Typography
   =========================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--dark-gray);
}

.comparison .section-title {
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ===========================
   Buttons
   =========================== */

.btn {
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: var(--transition);
  font-size: 16px;
}

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

.btn-primary:hover {
  background: #0095bd;
  transform: translateY(-2px);
  box-shadow: var(--hover-shadow);
}

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

.btn-secondary:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--primary-blue);
  color: var(--white);
}

.btn-large {
  padding: 14px 28px;
  font-size: 17px;
}

.btn-xlarge {
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 700;
}

/* External link icon spacing */
.external-icon { font-size: 0.85em; margin-left: 6px; opacity: .8; }

/* ===========================
   Navigation
   =========================== */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 0;
  border-bottom: 1px solid var(--light-gray);
}

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

.logo-img {
  height: 40px;
  width: auto;
  transition: var(--transition);
}

.logo-img:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: var(--transition);
}

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

.nav-menu a.active {
  color: var(--primary-blue);
  font-weight: 600;
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-blue);
  cursor: pointer;
}

/* ===========================
   Hero Section
   =========================== */

.hero {
  padding: 80px 0 50px;
  background: linear-gradient(135deg, rgba(5, 130, 206, 0.92) 0%, rgba(130, 101, 229, 0.88) 100%), url('https://page.gensparksite.com/v1/base64_upload/c0e086047bb90c2a1103003d7c4f0414') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  background-attachment: fixed;
  background-position: center bottom;
}

.hero-background {
  position: absolute;
  top: 0;
  right: -10%;
  width: 50%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23CAF648;stop-opacity:0.1" /><stop offset="100%" style="stop-color:%238265E5;stop-opacity:0.1" /></linearGradient></defs><circle cx="500" cy="500" r="400" fill="url(%23grad)"/></svg>') no-repeat center;
  background-size: cover;
  opacity: 0.3;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  background: rgba(10, 25, 40, 0.35);
  padding: 25px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  isolation: isolate; /* ensures blend mode only within this container */
}

.hero-headline {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.1;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-subheadline {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 1.8rem;
  line-height: 1.6;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(0, 0, 0, 0.7);
}

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

/* Hero badges under CTA */
.hero-badges {
  margin-top: 18px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.hero-text .hero-badges {
  justify-content: flex-start;
}

/* Badge image scales by JS to match CTA width */
.badges-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  opacity: 1;
  /* No blend-mode needed since PNG has real transparency */
  filter: none; /* clean edges without boxy shadow */
  background: transparent;
}

@media (max-width: 768px) {
  .hero-badges { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-badges { justify-content: center; }
}

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  padding: 10px 0;
}

.phone-mockup {
  position: relative;
  transform: perspective(1000px) rotateY(-15deg) rotateX(15deg);
  transition: var(--transition);
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup:hover {
  transform: perspective(1000px) rotateY(-10deg) rotateX(10deg) scale(1.02);
}

.app-screenshot {
  width: 420px;
  height: auto;
  max-width: 100%;
  display: block;
  transition: var(--transition);
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.4)) 
          drop-shadow(0 15px 40px rgba(0, 0, 0, 0.25));
  background: transparent;
  object-fit: contain;
}

/* ===========================
   Differentiation Section
   =========================== */

.differentiation {
  padding: var(--section-padding);
  background: var(--white);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.diff-card {
  text-align: center;
  padding: 40px 20px;
  border-radius: var(--border-radius);
  background: var(--white);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border: 1px solid var(--light-gray);
}

.diff-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

.diff-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--white);
}

.diff-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--dark-gray);
}

.diff-card p {
  color: var(--medium-gray);
  font-size: 1rem;
}

/* ===========================
   Features Section
   =========================== */

/* Features Intro Section */
.features-intro {
  padding: 60px 0 50px;
  background: linear-gradient(135deg, 
    rgba(5, 130, 206, 0.92) 0%, 
    rgba(130, 101, 229, 0.85) 100%);
  text-align: center;
  position: relative;
  border-bottom: 1px solid rgba(0, 175, 216, 0.2);
}

.features-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
}

.features-intro .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 15px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.features-intro .section-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 0;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 400;
  position: relative;
  padding: 0 20px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}



/* Features Sections */
.features {
  padding: 30px 0 40px;
  background: var(--neutral-base);
}

/* Add 20px extra space above and below specifically for feature sections */
.features.communication-features,
.features.operations-features,
.features.financial-features {
  padding-top: 50px;  /* 30px + 20px */
  padding-bottom: 60px; /* 40px + 20px */
}

.communication-features {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0fdfa 100%);
  position: relative;
  overflow: hidden;
}

.communication-features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(0, 175, 216, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(130, 101, 229, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(202, 246, 72, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.operations-features {
  background: linear-gradient(135deg, #fafbfc 0%, #f1f3f5 50%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

.operations-features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 80% 50%, rgba(108, 117, 125, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 20% 50%, rgba(52, 168, 83, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(73, 80, 87, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.financial-features {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0fdfa 100%);
  position: relative;
  overflow: hidden;
}

.financial-features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(0, 175, 216, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(130, 101, 229, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(202, 246, 72, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.feature-category-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 35px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature-category-title i {
  color: var(--primary-blue);
  font-size: 1.6rem;
}

.features-layout {
  display: grid;
  grid-template-columns: 1fr 1fr; /* equal columns for equal emphasis */
  gap: 50px;
  align-items: center;
}

.features-layout-reverse {
  grid-template-columns: 1fr 1fr; /* equal columns */
}

.features-left {
  width: 100%;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Standardize text column width across feature sections */
.communication-features .features-left .features-grid,
.financial-features .features-left .features-grid { 
  max-width: 560px; 
  width: 100%;
  margin-right: auto;
}
.operations-features .features-right .features-grid { 
  max-width: 560px; 
  width: 100%;
  margin-left: auto;
}

/* Ensure comparable box height */
.communication-features .feature-item,
.operations-features .feature-item,
.financial-features .feature-item { 
  min-height: 110px; 
}

.feature-item {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border-left: 5px solid var(--primary-blue);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
  border-left-color: var(--accent-green);
}

.feature-icon {
  width: 45px;
  height: 45px;
  background: var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: var(--dark-gray);
}

.operations-icon {
  background: linear-gradient(135deg, var(--secondary-purple), #9b80ff);
  color: var(--white);
}

.financial-icon {
  background: linear-gradient(135deg, var(--primary-blue), #00d4ff);
  color: var(--white);
}

.feature-item h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--dark-gray);
  font-weight: 600;
}

.feature-item p {
  color: var(--medium-gray);
  line-height: 1.5;
  font-size: 0.85rem;
}

/* Screenshot Showcase */
.features-right, .features-left {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-showcase {
  width: 100%;
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.operations-features .screenshot-showcase {
  background: linear-gradient(135deg, rgba(73, 80, 87, 0.03) 0%, rgba(108, 117, 125, 0.05) 100%);
  box-shadow: 0 10px 40px rgba(108, 117, 125, 0.1);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(108, 117, 125, 0.1);
  position: relative;
  overflow: hidden;
}

.operations-features .screenshot-showcase::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(108, 117, 125, 0.05) 0%, transparent 70%);
  animation: pulse 10s ease-in-out infinite;
}

.operations-features .feature-screenshot {
  filter: drop-shadow(0 25px 60px rgba(0, 47, 75, 0.25)) 
          drop-shadow(0 10px 25px rgba(108, 117, 125, 0.15));
  position: relative;
  z-index: 1;
  transform: scale(1.05);
  border-radius: 15px;
}

.communication-features .screenshot-showcase {
  background: linear-gradient(135deg, rgba(0, 47, 75, 0.03) 0%, rgba(0, 175, 216, 0.05) 100%);
  box-shadow: 0 10px 40px rgba(0, 175, 216, 0.1);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(0, 175, 216, 0.1);
  position: relative;
  overflow: hidden;
}

.communication-features .screenshot-showcase::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 175, 216, 0.05) 0%, transparent 70%);
  animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

/* Financial Features Screenshot Showcase - Using Communication blue theme */
.financial-features .screenshot-showcase {
  background: linear-gradient(135deg, rgba(0, 47, 75, 0.03) 0%, rgba(0, 175, 216, 0.05) 100%);
  box-shadow: 0 10px 40px rgba(0, 175, 216, 0.1);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(0, 175, 216, 0.1);
  position: relative;
  overflow: hidden;
}

.financial-features .screenshot-showcase::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 175, 216, 0.05) 0%, transparent 70%);
  animation: pulse 10s ease-in-out infinite;
}

.financial-features .feature-screenshot {
  /* softened and unified below in the Vibrant section override */
  position: relative;
  z-index: 1;
  transform: none;
  border-radius: 16px;
}

.feature-screenshot {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto 20px;
  filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.15));
}

.communication-features .feature-screenshot {
  filter: drop-shadow(0 25px 60px rgba(0, 47, 75, 0.25)) 
          drop-shadow(0 10px 25px rgba(0, 175, 216, 0.15));
  position: relative;
  z-index: 1;
  transform: scale(1.05);
}

.screenshot-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 10px;
}

.screenshot-description {
  font-size: 0.95rem;
  color: var(--medium-gray);
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}

/* ===========================
   Comparison Section
   =========================== */

.comparison {
  padding: var(--section-padding);
  background: linear-gradient(135deg, rgba(27, 58, 87, 0.9) 0%, rgba(0, 175, 216, 0.85) 100%), url('https://page.gensparksite.com/v1/base64_upload/3aa15fe5db03dff106ead1e8191d5781') center/cover no-repeat;
  position: relative;
}

.comparison-table {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.table-header {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  background: rgba(0, 175, 216, 0.9);
  font-weight: 700;
  color: var(--white);
}

.table-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  border-bottom: 1px solid var(--light-gray);
}

.table-row:last-child {
  border-bottom: none;
}

.table-cell {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.feature-column {
  justify-content: flex-start;
  text-align: left;
  font-weight: 600;
  color: var(--dark-gray);
}

.adda-column {
  background: rgba(0, 175, 216, 0.15);
}

.company-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.tag {
  background: var(--accent-green);
  color: var(--dark-gray);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 12px;
}

.check-yes {
  color: #22C55E;
  font-size: 2rem;
  font-weight: 900;
}

.check-no {
  color: #E74C3C;
  font-size: 1.5rem;
}

.check-partial {
  color: #F39C12;
  font-size: 1.5rem;
}

/* ===========================
   Pricing Section
   =========================== */

.pricing {
  padding: var(--section-padding);
  background: var(--neutral-base);
  overflow: visible;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  overflow: visible;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 30px 20px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
  border: 2px solid transparent;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

.pricing-card.featured {
  border-color: var(--primary-blue);
  border-width: 3px;
  box-shadow: 0 6px 25px rgba(0, 175, 216, 0.15);
}

.featured-badge,
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-blue);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 10;
  white-space: nowrap;
}

.pricing-header {
  text-align: center;
  margin-bottom: 20px;
}

.pricing-header h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--dark-gray);
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  margin-bottom: 15px;
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-blue);
}

.cents {
  font-size: 1.8rem;
  font-weight: 600;
  vertical-align: super;
}

.price-period {
  color: var(--medium-gray);
  font-size: 1rem;
}

.price-custom {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.custom-price {
  flex-direction: column;
  gap: 0;
}

.custom-price .price-period {
  font-size: 0.95rem;
  margin-top: 5px;
}

.pricing-audience {
  text-align: center;
  color: var(--medium-gray);
  font-style: italic;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--light-gray);
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--dark-gray);
}

.pricing-features i {
  color: var(--accent-green);
  font-size: 1.2rem;
}

.pricing-card .btn {
  width: 100%;
  margin-top: 10px;
}

/* Volume Discount Text */
.volume-discount-text {
  text-align: center;
  margin-top: 30px;
  color: var(--medium-gray);
  font-size: 0.95rem;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: nowrap;
}

.volume-discount-text i {
  color: var(--primary-blue);
  margin-right: 8px;
}

.discount-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.discount-link:hover {
  color: var(--secondary-purple);
  text-decoration: underline;
}

/* ===========================
   Communities Carousel (above Testimonials)
   =========================== */
.communities-carousel {
  overflow: hidden;
  position: relative;
  /* Full-bleed edge-to-edge (no left/right margins) */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 40px;
}

.communities-track {
  display: flex;
  gap: 32px; /* decreased spacing as requested */
  align-items: center;
  will-change: transform;
  animation: scroll-communities 90s linear infinite; /* JS overrides duration */
}

.communities-track img {
  width: 300px; /* fixed desktop width */
  height: auto;
  border-radius: 14px; /* soften corners */
  box-shadow: none; /* remove dark border/shadow */
  background: transparent; /* ensure no black bg */
  flex: 0 0 auto; /* prevent flex shrink so they slide fully off/on */
}

@keyframes scroll-communities {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsive sizes */
@media (max-width: 1200px) {
  .communities-track img { width: 280px; }
}
@media (max-width: 1024px) {
  .communities-track img { width: 250px; }
}
@media (max-width: 768px) {
  .communities-track img { width: 220px; }
}
@media (max-width: 480px) {
  .communities-track img { width: 190px; }
}

/* ===========================
   Testimonials Section
   =========================== */

.testimonials {
  padding: var(--section-padding);
  background: linear-gradient(135deg, rgba(0, 47, 75, 0.88) 0%, rgba(0, 175, 216, 0.82) 100%), url('https://page.gensparksite.com/v1/base64_upload/a8c458e9e7c52cec5c9abfff336aa94a') center/cover no-repeat;
  background-attachment: fixed;
  position: relative;
}

.testimonials .section-title {
  color: var(--white);
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
  margin-bottom: 3rem;
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto 40px;
  position: relative;
}

.testimonial-slide {
  display: none;
  text-align: center;
  padding: 40px;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 50px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 4rem;
  color: var(--primary-blue);
  font-weight: 700;
  opacity: 0.3;
}

.testimonial-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--dark-gray);
  margin-bottom: 30px;
  font-style: italic;
}

.testimonial-author strong {
  display: block;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 5px;
}

.testimonial-author span {
  color: var(--medium-gray);
  font-size: 0.9rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 60px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active,
.dot:hover {
  background: var(--accent-green);
  border-color: var(--accent-green);
  transform: scale(1.2);
}

.social-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 35px 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.proof-stat {
  text-align: center;
  padding: 10px;
  transition: transform 0.3s ease;
}

.proof-stat:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 175, 216, 0.1);
  white-space: nowrap;
}

.stat-label {
  color: var(--dark-gray);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}



/* ===========================
   Closing CTA Section
   ===========================*/

.closing-cta {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-purple));
  color: var(--white);
}

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

.cta-headline {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: var(--white);
  font-weight: 700;
  letter-spacing: -1px;
}

.cta-subheadline {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.5;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.demo-highlights {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 35px 0;
  flex-wrap: wrap;
  font-size: 1.1rem;
}

.highlight-item {
  color: var(--accent-green);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.separator {
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.4rem;
  line-height: 1;
}



/* CTA button styling enhancements */
.closing-cta .btn-xlarge {
  font-size: 1.2rem;
  padding: 18px 40px;
  background: var(--accent-green);
  color: var(--dark-gray);
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: none;
}

.closing-cta .btn-xlarge:hover {
  background: var(--white);
  color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

/* CTA Responsive Styles */
@media (max-width: 768px) {
  .cta-headline {
    font-size: 2.2rem;
  }
  
  .cta-subheadline {
    font-size: 1.1rem;
  }
  
  .demo-highlights {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .cta-headline {
    font-size: 1.9rem;
  }
  
  .cta-subheadline {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  
  .demo-highlights {
    font-size: 0.95rem;
    gap: 10px;
  }
  
  .separator {
    display: none;
  }
  
  .highlight-item {
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
  }
  
  .closing-cta .btn-xlarge {
    font-size: 1.1rem;
    padding: 15px 25px;
  }
}

.app-logo {
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
}

/* ===========================
   Footer
   =========================== */

.footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  margin-bottom: 15px;
  filter: brightness(1.2);
}

.footer-logo p {
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* CAI partner badge under footer tagline */
.footer-cai-badge {
  display: block;
  height: auto;
  max-width: 340px; /* target: end roughly under the word "software" */
  width: 100%;
  margin: 8px 0 0 0; /* small gap under tagline */
  filter: brightness(1.05) contrast(1.02);
}

/* Adjust size responsively */
@media (max-width: 1024px) {
  .footer-cai-badge { max-width: 300px; }
}
@media (max-width: 768px) {
  .footer-cai-badge { max-width: 260px; }
}
@media (max-width: 480px) {
  .footer-cai-badge { max-width: 220px; }
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  margin-bottom: 20px;
  color: var(--accent-green);
}

.footer-column a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--accent-green);
}

/* Footer badges removed */

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.6;
}

/* ===========================
   Responsive Design
   =========================== */

/* Extra large screens */
@media (min-width: 1400px) {
  .app-screenshot {
    width: 460px;
  }
  
  .hero-visual {
    min-height: 500px;
  }
}

/* Large screens */
@media (min-width: 1200px) and (max-width: 1399px) {
  .app-screenshot {
    width: 440px;
  }
}

@media (max-width: 1024px) {
  /* Reset standardized widths to full on mobile/tablet and center */
  .communication-features .features-left .features-grid,
  .financial-features .features-left .features-grid,
  .operations-features .features-right .features-grid { 
    max-width: 100%;
    margin: 0 auto;
  }

  /* Stack sections in rows for mobile/tablet */
  .features-layout,
  .features-layout-reverse {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  /* Ensure text first, then mockup in all three sections */
  .communication-features .features-left,
  .financial-features .features-left { order: 1; }
  .communication-features .features-right,
  .financial-features .features-right { order: 2; }
  /* Operations section is reversed on desktop; fix order on mobile */
  .operations-features .features-right { order: 1; } /* text first */
  .operations-features .features-left { order: 2; }  /* mockup second */
  
  .feature-category-title {
    font-size: 1.5rem;
  }
  
  .screenshot-showcase {
    padding: 15px;
  }
  
  .social-proof {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 30px 25px;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
  
  .app-screenshot {
    width: 380px;
  }
  
  .hero-headline {
    font-size: 2.3rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .cta-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 700px;
  }
  
  .pricing-card {
    padding: 35px 25px;
  }
}

@media (max-width: 850px) {
  .social-proof {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 25px 20px;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  
  .stat-number {
    font-size: 1.6rem;
  }
  
  .stat-label {
    font-size: 0.7rem;
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .feature-item {
    padding: 15px;
  }
  
  .screenshot-showcase {
    padding: 10px;
  }
  .social-proof {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 25px 20px;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    display: none;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-text {
    padding: 20px;
    background: rgba(10, 25, 40, 0.45);
  }
  
  .hero-headline {
    font-size: 2rem;
  }
  
  .hero-subheadline {
    font-size: 1rem;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .phone-mockup {
    transform: none;
    background: transparent;
  }
  
  .app-screenshot {
    width: 330px;
    max-width: 90%;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .diff-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  

  
  .table-header,
  .table-row {
    grid-template-columns: 2fr 1fr 1fr;
  }
  
  .table-cell {
    padding: 15px 10px;
    font-size: 0.9rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .cta-headline {
    font-size: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .testimonial-content {
    padding: 30px;
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .social-proof {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px 15px;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.7rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .hero {
    padding: 105px 0 40px; /* +15px then +20px extra space above on mobile */
  }
  
  .app-screenshot {
    width: 290px;
    max-width: 85%;
  }
  
  .hero-visual {
    min-height: 300px;
  }
  
  .hero-headline {
    font-size: 1.6rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-large {
    padding: 12px 24px;
    font-size: 15px;
  }
  
  .section-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }
  
  .diff-card,
  .feature-item {
    padding: 30px 20px;
  }
  
  .pricing-card {
    padding: 30px;
  }
  
  .volume-discount-text {
    margin-top: 20px;
    font-size: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .testimonial-content {
    padding: 25px;
  }
  

  
  .cta-headline {
    font-size: 1.6rem;
  }
  
  .btn-xlarge {
    padding: 16px 32px;
    font-size: 18px;
  }
}

/* ===========================
   Feature Sections: Equal 2-column layout + vibrant mockup styling
   =========================== */

/* Equal focus on text and visuals */
.features-layout,
.features-layout-reverse {
  grid-template-columns: 1fr 1fr;
}

/* Remove dull grey containers/shadows; keep images clean */
.communication-features .screenshot-showcase,
.operations-features .screenshot-showcase,
.financial-features .screenshot-showcase {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Remove decorative pseudo backgrounds */
.communication-features .screenshot-showcase::before,
.operations-features .screenshot-showcase::before,
.financial-features .screenshot-showcase::before {
  content: none !important;
}

/* Add subtle, colorful glow instead of dull grey (consistent across all three sections) */
.communication-features .feature-screenshot,
.operations-features .feature-screenshot,
.financial-features .feature-screenshot {
  /* Same dual glow for uniformity */
  filter: drop-shadow(0 24px 48px rgba(5, 130, 206, 0.22))
          drop-shadow(0 10px 24px rgba(130, 101, 229, 0.18));
  border-radius: 16px;
  transform: none !important;
  outline: none;
  border: none;
}

/* Keep alignment tidy */
.features-right, .features-left { align-items: center; }



/* ===========================
   Animations & Interactions
   =========================== */

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

.fade-in {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection styling */
::selection {
  background: var(--accent-green);
  color: var(--dark-gray);
}

/* Focus styles for accessibility */
button:focus,
a:focus {
  outline: 2px solid var(--accent-green);
  outline-offset: 2px;
}