/* Business Email Error Styling */
#business-email-error {
  animation: slideDown 0.3s ease-out;
}

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

/* Ensure error appears above login section */
.source-finder-auth-container {
  position: relative;
}

/* Source Finder Authentication Page Styles - Updated Features */
.source-finder-auth-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* Condensed login section */
.login-section-top {
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 25px;
  border-bottom: 1px solid #ecf0f1;
}

.plans-section h2 {
  text-align: center;
  color: #2c3e50;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 25px;
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.plan-card {
  background: white;
  border: 2px solid #ecf0f1;
  border-radius: 12px;
  padding: 20px 15px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #2157ac;
}

.plan-card.featured {
  border-color: #2157ac;
  transform: scale(1.02);
}

.plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #2157ac;
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-header {
  margin-bottom: 20px;
}

.plan-header h3 {
  color: #2c3e50;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.plan-price {
  font-size: 32px;
  font-weight: 700;
  color: #2157ac;
  margin-bottom: 6px;
  line-height: 1;
}

.plan-price span {
  font-size: 13px;
  color: #666;
  font-weight: 400;
}

.plan-trial {
  color: #27ae60;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase; /* Made ALL CAPS */
  letter-spacing: 0.5px;
}

.plan-billing {
  color: #666;
  font-size: 11px;
  margin-bottom: 6px;
}

.plan-seats {
  color: #666;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 4px;
  text-transform: uppercase; /* Made ALL CAPS */
}

.plan-additional {
  color: #666;
  font-size: 10px;
  font-style: italic;
}

.plan-features {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.search-limit {
  background: #2157ac;
  color: white;
  padding: 6px 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 15px;
  display: inline-block;
}

.search-limit.unlimited {
  background: #27ae60;
}

.plan-features ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  flex: 1;
  text-align: left; /* Changed from right to left */
}

.plan-features li {
  padding: 5px 0;
  color: #555;
  font-size: 14px; /* Bigger text as requested */
  position: relative;
  padding-left: 18px; /* Changed back to left padding for checkmarks */
  line-height: 1.4;
  text-align: left; /* Left-justified text */
}

.plan-features li:before {
  content: "✓";
  position: absolute;
  left: 0; /* Moved checkmark back to left side */
  color: #27ae60;
  font-weight: bold;
  font-size: 12px;
}

.plan-button {
  background: #2157ac;
  color: white !important;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: auto;
  text-decoration: none !important;
  display: inline-block;
  text-align: center;
  box-sizing: border-box;
}

.plan-button:hover {
  background: #1a4a94;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(33, 87, 172, 0.3);
  text-decoration: none !important;
}

/* Condensed login section */
.login-divider {
  margin-bottom: 12px;
}

.login-divider span {
  color: #666;
  font-size: 14px;
  font-weight: 400;
}

.login-button {
  background: transparent;
  color: #2157ac;
  border: 1px solid #2157ac;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.login-button:hover {
  background: rgba(33, 87, 172, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(33, 87, 172, 0.2);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .source-finder-auth-container {
    padding: 15px 10px;
  }
  
  .login-section-top {
    padding-bottom: 15px;
    margin-bottom: 20px;
  }
  
  .plans-section h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 350px;
    margin-bottom: 20px;
  }
  
  .plan-card.featured {
    transform: none;
  }
  
  .plan-card {
    padding: 20px 15px;
    min-height: auto;
  }
  
  .plan-price {
    font-size: 28px;
  }
  
  .plan-header h3 {
    font-size: 16px;
  }
  
  .login-divider span {
    font-size: 13px;
  }
  
  .login-button {
    padding: 6px 16px;
    font-size: 11px;
  }
  
  .plan-features li {
    font-size: 13px; /* Slightly smaller on mobile but still bigger than before */
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .plans-grid {
    gap: 15px;
  }
  
  .plan-card {
    padding: 18px 12px;
    min-height: 380px;
  }
  
  .plan-price {
    font-size: 28px;
  }
  
  .plan-header h3 {
    font-size: 16px;
  }
  
  .plan-features li {
    font-size: 13px; /* Increased from 11px to 13px */
  }
}

/* Enhanced Search Limit Badges */
.search-limit {
  border-radius: 4px;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  margin-bottom: 4px;
  text-align: center;
}

.search-limit.basic {
  background: transparent;
  border: 2px solid #2157ac;
  color: #2157ac;
}

.search-limit.pro {
  background: transparent;
  border: 2px solid #2157ac;
  color: #2157ac;
}

.search-limit.unlimited {
  background: transparent;
  border: 2px solid #27ae60;
  color: #27ae60;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

/* Tooltip Styles */
.tooltip-item {
  position: relative;
  cursor: pointer;
}

.tooltip-icon {
  margin-left: 6px;
  font-size: 12px;
  color: #2157ac;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.tooltip-icon:hover {
  opacity: 1;
}

.tooltip-content {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 2px solid #2157ac;
  border-radius: 8px;
  padding: 16px;
  width: 320px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  color: #2c3e50;
}

.tooltip-content::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #2157ac;
}

.tooltip-content h4 {
  color: #2157ac;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.tooltip-content h5 {
  color: #2c3e50;
  font-size: 12px;
  font-weight: 600;
  margin: 12px 0 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.tooltip-content p {
  margin: 0 0 8px 0;
  color: #555;
}

.tooltip-content ul {
  margin: 6px 0 0 0;
  padding-left: 16px;
}

.tooltip-content li {
  margin: 4px 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.3;
}

.tooltip-content li:before {
  content: "•";
  color: #2157ac;
  font-weight: bold;
  position: absolute;
  margin-left: -12px;
}

.tooltip-content a {
  color: #2157ac;
  text-decoration: underline;
  font-weight: 600;
}

.tooltip-content a:hover {
  color: #1a4a94;
}

/* Show tooltip on hover and click */
.tooltip-item:hover .tooltip-content,
.tooltip-item.tooltip-active .tooltip-content {
  opacity: 1;
  visibility: visible;
}

/* Mobile tooltip adjustments */
@media (max-width: 768px) {
  .tooltip-content {
    width: 280px;
    left: 50%;
    transform: translateX(-50%);
    position: fixed;
    bottom: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    max-height: 70vh;
    overflow-y: auto;
  }
  
  .tooltip-content::after {
    display: none;
  }
  
  /* Close button for mobile */
  .tooltip-content::before {
    content: '✕';
    position: absolute;
    top: 8px;
    right: 12px;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    z-index: 1001;
  }
}
/* Promotional Banner Styles */
.promo-banner {
  background: linear-gradient(135deg, #f9ca24 0%, #f0932b 100%);
  border: 2px solid #f39c12;
  border-radius: 12px;
  padding: 20px;
  margin: 0 auto 30px auto;
  max-width: 800px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.25);
  position: relative;
  overflow: hidden;
  display: none; /* Hidden by default */
  transition: all 0.3s ease;
}

/* Show banner when active */
.promo-banner.promo-banner-active {
  display: block;
  animation: slideInDown 0.5s ease-out;
}

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

/* Add subtle pattern overlay */
.promo-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='m0 40l40-40h-40v40zm40 0v-40h-40l40 40z'/%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.promo-content {
  position: relative;
  z-index: 1;
}

.promo-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.promo-highlight {
  color: #2c3e50;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.promo-offer {
  color: #c0392b;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(192, 57, 43, 0.2);
}

.promo-sub {
  color: #c0392b;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.promo-code {
  color: #2c3e50;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 8px 16px;
  display: inline-block;
  border: 2px dashed #e67e22;
}

.promo-code strong {
  color: #c0392b;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
}

.promo-disclaimer {
  color: #555;
  font-size: 11px;
  font-style: italic;
  line-height: 1.3;
  opacity: 0.9;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .promo-banner {
    margin: 0 15px 25px 15px;
    padding: 16px;
  }
  
  .promo-main {
    flex-direction: column;
    gap: 4px;
  }
  
  .promo-highlight {
    font-size: 14px;
  }
  
  .promo-offer {
    font-size: 20px;
  }
  
  .promo-sub {
    font-size: 12px;
  }
  
  .promo-code {
    font-size: 14px;
  }
  
  .promo-code strong {
    font-size: 16px;
  }
  
  .promo-disclaimer {
    font-size: 10px;
  }
}

/* Hover effect for desktop */
@media (hover: hover) {
  .promo-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.35);
  }
}

/* ========================================
   LANDING PAGE ENHANCEMENTS
   ======================================== */

/* Top Section Navigation Bar */
.section-nav-bar {
  position: fixed;
  top: 100px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 2px solid #ecf0f1;
  z-index: 999;
  opacity: 1;
  visibility: visible;
  box-shadow: none;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.section-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.section-nav-title {
  color: #2b2d30;
  font-size: 18px;
  font-weight: 400;
  font-family: 'PT Serif', serif;
  display: flex;
  align-items: center;
  letter-spacing: 0.5px;
}

.section-nav-items {
  display: flex;
  gap: 0;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 4px;
  border: 1px solid #ecf0f1;
}

.section-nav-item {
  padding: 10px 20px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.section-nav-item:hover {
  background: rgba(33, 87, 172, 0.1);
  color: #2157ac;
  text-decoration: none;
}

.section-nav-item.active {
  background: #2157ac;
  color: white;
  font-weight: 600;
}

/* Back to Top Button */
.back-to-top {
  background: transparent;
  border: 2px solid #2157ac;
  color: #2157ac;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.back-to-top:hover {
  background: #2157ac;
  color: white;
  transform: translateY(-1px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .section-nav-bar {
    top: 80px; /* Adjusted for mobile main nav height */
  }
  
  .section-nav-container {
    flex-direction: column;
    height: auto;
    padding: 12px 15px;
    gap: 12px;
  }
  
  .section-nav-title {
    font-size: 14px;
  }
  
  .section-nav-items {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 3px;
    gap: 0;
  }
  
  .section-nav-item {
    padding: 8px 16px;
    font-size: 13px;
    flex-shrink: 0;
  }
  
  .back-to-top {
    padding: 6px 12px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .section-nav-items {
    padding: 2px;
  }
  
  .section-nav-item {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* Hero Section */
.hero-section {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  margin: 40px 0;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 20px;
  color: #666;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Demo Video Container */
.demo-video-container {
  max-width: 800px;
  margin: 0 auto 40px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.video-placeholder {
  background: #f8f9fa;
  border: 2px dashed #dee2e6;
  padding: 80px 20px;
  text-align: center;
  color: #666;
  border-radius: 12px;
}

.video-play-button {
  width: 80px;
  height: 80px;
  background: #2157ac;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-play-button:hover {
  background: #1a4a94;
  transform: scale(1.1);
}

/* Hero CTA */
.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.cta-primary {
  background: #2157ac;
  color: white;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid #2157ac;
}

.cta-primary:hover {
  background: #1a4a94;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33, 87, 172, 0.3);
  text-decoration: none;
  color: white;
}

.cta-secondary {
  background: transparent;
  color: #2157ac;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid #2157ac;
  transition: all 0.3s ease;
}

.cta-secondary:hover {
  background: rgba(33, 87, 172, 0.1);
  text-decoration: none;
  color: #2157ac;
}

/* Value Section */
.value-section {
  padding: 80px 20px;
  background: white;
  margin: 40px 0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.value-card {
  background: #f8f9fa;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #ecf0f1;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: #2157ac;
}

.value-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.value-card h3 {
  color: #2157ac;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.value-card p {
  color: #666;
  line-height: 1.6;
  font-size: 15px;
}

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

/* Why Section */
.why-section {
  padding: 80px 20px;
  background: #f8f9fa;
  margin: 40px 0;
  border-radius: 12px;
}

.why-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.why-problem,
.why-solution {
  text-align: center;
}

.why-problem h3 {
  color: #e74c3c;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.why-solution h3 {
  color: #27ae60;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.why-content ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.why-problem li {
  padding: 8px 0;
  color: #666;
  position: relative;
  padding-left: 25px;
}

.why-problem li:before {
  content: "❌";
  position: absolute;
  left: 0;
  top: 8px;
}

.why-solution li {
  padding: 8px 0;
  color: #666;
  position: relative;
  padding-left: 25px;
}

.why-solution li:before {
  content: "✅";
  position: absolute;
  left: 0;
  top: 8px;
}

.why-bottom {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.why-bottom blockquote {
  background: white;
  padding: 30px;
  border-radius: 12px;
  border-left: 4px solid #2157ac;
  margin: 0 0 30px 0;
  font-style: italic;
  color: #555;
  line-height: 1.6;
  font-size: 16px;
}

/* Comparison Section */
.comparison-section {
  padding: 80px 20px;
  background: white;
  margin: 40px 0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comparison-table-container {
  overflow-x: auto;
  margin-bottom: 40px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comparison-table th {
  background: #2157ac;
  color: white;
  padding: 20px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 16px;
}

.comparison-table td {
  padding: 16px;
  border-bottom: 1px solid #ecf0f1;
  vertical-align: top;
}

.feature-name {
  font-weight: 600;
  color: #2c3e50;
  background: #f8f9fa;
  width: 25%;
}

.sf-feature {
  color: #27ae60;
  background: #f8fff9;
}

.comp-feature {
  color: #e74c3c;
  background: #fef8f8;
}

.source-finder-col {
  background: #1a4a94 !important;
}

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

/* Final CTA Section */
.final-cta-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #2157ac 0%, #1a4a94 100%);
  color: white;
  text-align: center;
  border-radius: 12px;
  margin: 40px 0;
}

.final-cta-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  color: white;
}

.final-cta-content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  color: white;
}

.final-cta-content .cta-primary {
  background: white;
  color: #2157ac;
  margin-bottom: 30px;
  display: inline-block;
}

.final-cta-content .cta-primary:hover {
  background: #f8f9fa;
  color: #2157ac;
}

.final-cta-benefits {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14px;
  opacity: 0.9;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .progress-nav {
    display: none;
  }
  
  .hero-content h1 {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .cta-primary,
  .cta-secondary {
    padding: 14px 24px;
    font-size: 14px;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .value-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .why-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 12px 8px;
    font-size: 14px;
  }
  
  .final-cta-content h2 {
    font-size: 28px;
  }
  
  .final-cta-benefits {
    flex-direction: column;
    gap: 15px;
  }
}

/* Section Spacing */
section {
  margin-bottom: 0;
}

.source-finder-auth-container > section:last-child {
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  /* Existing mobile styles... */
  
  /* Enhanced scroll positioning for mobile */
  .promo-banner {
    margin-bottom: 15px; /* Reduce spacing on mobile */
  }
  
  .plans-section h2 {
    margin-bottom: 15px; /* Tighter spacing */
    font-size: 24px; /* Smaller heading on mobile */
  }
  
  /* Ensure pricing section header is visible after scroll */
  #pricing-section {
    scroll-margin-top: 10px; /* Adds buffer space at top when scrolled to */
  }
  
  /* Adjust promo banner for mobile readability */
  .promo-banner .promo-content {
    padding: 15px 10px; /* Tighter padding on small screens */
  }
  
  .promo-banner .promo-main {
    flex-direction: column; /* Stack promo elements vertically */
    gap: 5px;
  }
  
  .promo-highlight,
  .promo-offer {
    font-size: 14px; /* Smaller text on mobile */
  }
}

/* Additional mobile-specific scroll behavior */
@media (max-width: 480px) {
  #pricing-section {
    scroll-margin-top: 20px; /* More buffer on very small screens */
  }
  
  .promo-banner .promo-code {
    font-size: 12px; /* Even smaller on tiny screens */
  }
}

/* Simplified Section Headers */
.section-header-simple {
  text-align: center;
  margin-bottom: 40px;
}

.section-main-title {
  font-size: 32px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 16px;
  color: #666;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
  font-weight: 400;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .section-header-simple {
    margin-bottom: 30px;
  }
  
  .section-main-title {
    font-size: 28px;
  }
  
  .section-subtitle {
    font-size: 15px;
  }
}

/* Add spacing between major sections */
.source-finder-auth-container > section {
  margin-bottom: 80px;
}

@media (max-width: 768px) {
  .source-finder-auth-container > section {
    margin-bottom: 60px;
  }
}

/* Fix scroll positioning for all sections */
#pricing-section,
#demo-section,
[id*="section"] {
  scroll-margin-top: 180px; /* Adjust this value based on your navigation height */
}

/* Mobile adjustments */
@media (max-width: 768px) {
  #pricing-section,
  #demo-section,
  [id*="section"] {
    scroll-margin-top: 200px;
  }
}

/* Skip to Plans & Pricing Link */
.skip-to-pricing-container {
  text-align: center;
  margin: 20px 0 30px 0;
  padding: 0 20px;
}

.skip-to-pricing-link {
  color: #2157ac;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: inline-block;
  background: rgba(33, 87, 172, 0.05);
  border: 1px solid rgba(33, 87, 172, 0.2);
}

.skip-to-pricing-link:hover {
  background: rgba(33, 87, 172, 0.1);
  color: #1a4a94;
  transform: translateY(-1px);
  text-decoration: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .skip-to-pricing-container {
    margin: 15px 0 25px 0;
  }
  
  .skip-to-pricing-link {
    font-size: 15px;
    padding: 6px 14px;
  }
}

/* ========================================
   CUSTOMER STORIES SECTION
   ======================================== */

.customer-stories-section {
  padding: 80px 20px;
  background: white;
  margin: 40px 0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.savings-examples-container {
  max-width: 900px;
  margin: 0 auto;
}

.savings-table-wrapper {
  overflow-x: auto;
  margin-bottom: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.savings-examples-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  font-size: 15px;
}

.savings-examples-table th {
  background: #2157ac;
  color: white;
  padding: 18px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.savings-examples-table td {
  padding: 16px;
  border-bottom: 1px solid #ecf0f1;
  vertical-align: middle;
}

.savings-examples-table tbody tr:hover {
  background: #f8f9fa;
  transform: scale(1.005);
  transition: all 0.2s ease;
}

.material-name {
  font-weight: 600;
  color: #2c3e50;
  max-width: 220px;
}

.price-high {
  color: #e74c3c;
  font-weight: 600;
  font-size: 16px;
}

.price-low {
  color: #27ae60;
  font-weight: 600;
  font-size: 16px;
}

.savings-amount {
  color: #2157ac;
  font-weight: 700;
  font-size: 18px;
  background: rgba(33, 87, 172, 0.1);
  border-radius: 6px;
  text-align: center;
}

/* Savings Summary Stats */
.savings-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
  text-align: center;
}

.summary-stat {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 30px 20px;
  border-radius: 12px;
  border: 2px solid #ecf0f1;
  transition: all 0.3s ease;
}

.summary-stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: #2157ac;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: #2157ac;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Savings Callout */
.savings-callout {
  background: linear-gradient(135deg, #e3f2fd 0%, #f3f8ff 100%);
  border: 2px solid #2157ac;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  margin-bottom: 40px;
}

.savings-callout h4 {
  color: #2157ac;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.savings-callout p {
  color: #2c3e50;
  line-height: 1.6;
  margin-bottom: 12px;
  font-size: 15px;
}

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

.customer-stories-cta {
  text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .customer-stories-section {
    padding: 60px 15px;
    margin: 30px 0;
  }
  
  .savings-table-wrapper {
    margin-bottom: 30px;
  }
  
  .savings-examples-table {
    font-size: 13px;
  }
  
  .savings-examples-table th {
    padding: 12px 8px;
    font-size: 12px;
  }
  
  .savings-examples-table td {
    padding: 12px 8px;
  }
  
  .material-name {
    max-width: 140px;
    font-size: 13px;
  }
  
  .price-high,
  .price-low {
    font-size: 14px;
  }
  
  .savings-amount {
    font-size: 16px;
  }
  
  .savings-summary {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .summary-stat {
    padding: 25px 15px;
  }
  
  .stat-number {
    font-size: 28px;
  }
  
  .stat-label {
    font-size: 13px;
  }
  
  .savings-callout {
    padding: 25px 20px;
    margin-bottom: 30px;
  }
  
  .savings-callout h4 {
    font-size: 18px;
    flex-direction: column;
    gap: 4px;
  }
  
  .savings-callout p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .savings-examples-table th,
  .savings-examples-table td {
    padding: 10px 6px;
  }
  
  .material-name {
    max-width: 120px;
    font-size: 12px;
  }
  
  .price-high,
  .price-low,
  .savings-amount {
    font-size: 13px;
  }
  
  .stat-number {
    font-size: 24px;
  }
}

/* ========================================
   MATERIALS SECTION
   ======================================== */

.materials-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  margin: 40px 0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.materials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
  z-index: 0;
}

.materials-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.materials-intro {
  text-align: center;
  margin-bottom: 40px;
}

.materials-intro p {
  font-size: 18px;
  color: #2c3e50;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 50px;
  min-height: 200px;
}

.materials-loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: #666;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #ecf0f1;
  border-top: 3px solid #2157ac;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.materials-loading p {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

.material-item {
  background: white;
  padding: 15px 20px;
  border-radius: 8px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.material-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2157ac 0%, #27ae60 100%);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.material-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border-color: #2157ac;
}

.material-item:hover::before {
  transform: translateX(0);
}

.material-name {
  font-size: 15px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  line-height: 1.3;
}

.materials-footer {
  text-align: center;
  margin-bottom: 40px;
}

.materials-count {
  font-size: 20px;
  font-weight: 700;
  color: #2157ac;
  margin-bottom: 15px;
}

.materials-guarantee {
  font-size: 16px;
  color: #666;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
}

.materials-guarantee strong {
  color: #2157ac;
}

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

.materials-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  background: #fff3cd;
  border: 2px solid #ffeaa7;
  border-radius: 8px;
  color: #856404;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .materials-section {
    padding: 60px 15px;
    margin: 30px 0;
  }
  
  .materials-intro p {
    font-size: 16px;
  }
  
  .materials-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
  }
  
  .material-item {
    padding: 12px 15px;
  }
  
  .material-name {
    font-size: 14px;
  }
  
  .materials-count {
    font-size: 18px;
  }
  
  .materials-guarantee {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .materials-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
  }
  
  .material-item {
    padding: 10px 12px;
  }
  
  .material-name {
    font-size: 13px;
  }
}

/* Enhanced Demo Video Styling */
.demo-video-container video {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.demo-video-container video:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

/* Mobile video responsiveness */
@media (max-width: 768px) {
  .demo-video-container {
    margin: 0 auto 30px auto;
  }
  
  .demo-video-container video {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
}

/* Google Drive iframe styling */
.demo-video-container iframe {
  width: 100%;
  max-width: 800px;
  height: 450px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  margin: 0 auto;
}

.demo-video-container iframe:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

/* Mobile iframe responsiveness */
@media (max-width: 768px) {
  .demo-video-container iframe {
    height: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 480px) {
  .demo-video-container iframe {
    height: 250px;
  }
}

/* Plan Switching Visual Feedback */
.plan-card.switch-mode {
  border-color: #27ae60 !important;
  box-shadow: 0 0 20px rgba(39, 174, 96, 0.3) !important;
}

.plan-card.switch-mode .plan-button {
  background: #27ae60 !important;
  animation: pulse-switch 2s infinite;
}

@keyframes pulse-switch {
  0%, 100% { box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7); }
  50% { box-shadow: 0 0 0 10px rgba(39, 174, 96, 0); }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .plan-card.switch-mode {
    transform: none !important;
  }
}

