/* Variables */
:root {
  --primary: #2050bc;
  --secondary: #96dff6;
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; line-height: 1.6; scroll-behavior: smooth; font-weight: 400; }
.feature-section-title { line-height: 1em; }

/* Anchor offset for sticky header */
html { scroll-padding-top: 100px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Utility */
.container { width: 95%; max-width: 1200px; margin: 0 auto; }
.btn { display: inline-block; padding: 1em 1.5em; border-radius: 12px; cursor: pointer; font-weight: 500; text-align: center; transition: opacity 0.2s ease; }
.btn:hover { opacity: 1.0; }
.btn-primary { background: #2050bc; color: #fff; border: none; }
.btn-primary:hover { background: #1a47a3; transform: translateY(-1px); box-shadow: 0 4px 8px rgba(32, 80, 188, 0.3); }

/* Start Trial Buttons - Larger size */
[id^="start-trial-btn"] {
  padding: 1.2em 2em !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  font-family: 'Montserrat', sans-serif !important;
}

.btn-secondary { background: var(--secondary); color: #2050bc; border: none; }
.btn-outline { background: #fff; border: none; color: #2050bc; box-shadow: 0 4px 8px rgba(0,0,0,0.2); }
.btn-outline:hover { background: #f8f9fa; transform: translateY(-1px); box-shadow: 0 4px 8px rgba(32, 80, 188, 0.2); }
.btn-white { background: #fff; color: var(--primary); border: none; font-size: 1.1rem; font-weight: 500; font-family: 'Montserrat', sans-serif; }
.btn-white:hover { background: #f8f9fa; transform: translateY(-1px); box-shadow: 0 4px 8px rgba(255, 255, 255, 0.3); }
h1,h2,h3,h4 { margin-bottom: 0.75em; font-weight: 700; }

/* Header */
header { background: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 2em 0; width: 100%; max-width: 1200px; margin: 0 auto; }

.mobile-cta { display: none; }
.mobile-phone { display: none; }
.mobile-menu-toggle { display: none; }
.mobile-menu { display: none; }
.mobile-overlay { display: none; }

@media(max-width: 600px) {
  .navbar { padding: 1em 0; width: 95%; }
  .mobile-menu-toggle { display: flex !important; flex-direction: column; justify-content: space-between; align-items: center; width: 30px; height: 20px; cursor: pointer; padding: 2px 0; }
  .mobile-menu-toggle span { width: 25px; height: 3px; background: #2050bc; transition: all 0.3s ease; border-radius: 1px; transform-origin: center; }
  .mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; visibility: hidden; }
  .mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu { display: none; position: fixed; top: 64px; left: 0; right: 0; background: #fff; box-shadow: 0 8px 16px rgba(0,0,0,0.2); z-index: 99; padding: 2em; }
  .mobile-menu.active { display: block; }
  .mobile-overlay { display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.7); z-index: 98; }
  .mobile-overlay.active { display: block; }
  .mobile-menu .nav-links { display: flex; flex-direction: column; gap: 1.5em; margin-bottom: 2em; }
  .mobile-menu .nav-links a { color: #333; font-weight: 500; padding: 0.5em 0; border-bottom: 1px solid #eee; }
  .mobile-menu .nav-links a:last-child { border-bottom: none; }
  .mobile-menu .mobile-cta-buttons { display: flex; flex-direction: column; gap: 1em; }
  .mobile-menu .mobile-cta-buttons .btn { width: 100%; text-align: center; }
  .nav-cta { display: none !important; }
  #hero h1 { line-height: 1em; }
  .feature-section-title { line-height: 1em; }
  #testimonial .container { width: 100%; max-width: 100%; }
  .feature-content { flex-direction: column !important; }
  .feature-content .image { order: -1 !important; }
  .feature, .features { padding: 2em 0 !important; }
  .cta-title { line-height: 1em !important; }
  body { font-size: 0.9rem !important; }
  .pricing-grid { width: 100% !important; display: block !important; }
  .plan { max-width: 100% !important; width: 100% !important; }
  #hero { padding: 4em 0 !important; }
  #comparison .container > div:first-of-type { flex-direction: column !important; }
  #comparison .container > div:first-of-type > div { margin-bottom: 2em; }
}
.nav-links { display: none; gap: 2em; font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: #2050bc; }

@media(min-width: 1024px) {
  .nav-links { display: flex; }
}
.nav-cta { display: none; gap: 1em; align-items: center; }
.nav-phone { display: flex; align-items: center; gap: 0.5em; color: #2050bc; font-weight: 700; font-size: 0.9rem; }
.nav-phone svg { width: 16px; height: 16px; }
.nav-cta .btn { padding: 0.6em 1.2em; font-size: 0.9rem; }

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5em;
  cursor: pointer;
  transition: color 0.3s ease;
}

.dropdown-toggle::after {
  content: '▼';
  font-size: 0.7em;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 300px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 0.5em 0;
  margin-top: 0.5em;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.75em 1.5em;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: #f8f9fa;
  color: var(--primary);
  transform: translateX(5px);
}

/* Mobile dropdown styles */
@media(max-width: 600px) {
  .dropdown {
    position: static;
  }
  
  .dropdown-toggle::after {
    content: '▶';
  }
  
  .dropdown.active .dropdown-toggle::after {
    content: '▼';
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
    margin: 0;
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .dropdown.active .dropdown-menu {
    max-height: 300px;
    padding: 0.5em 0;
  }
  
  .dropdown-menu a {
    padding: 0.5em 1em;
    border-bottom: none;
    color: #666;
    font-size: 0.9em;
  }
  
  .dropdown-menu a:hover {
    background: transparent;
    color: var(--primary);
    transform: none;
  }
  
  /* Mobile styles for flex containers with images and text */
  .solution-section .container > div:first-of-type {
    flex-direction: column !important;
    gap: 2em !important;
  }
  
  .solution-section .container > div:first-of-type > div:first-child {
    order: -1 !important;
  }
  
  .solution-section .container > div:first-of-type > div:last-child {
    text-align: center !important;
  }
  
  .solution-section .container > div:first-of-type h2 {
    text-align: center !important;
  }
  
  /* Mobile styles for audio comparison sections */
  .cta-section .container div[style*="display: flex"] {
    flex-direction: column !important;
    gap: 2em !important;
  }
  
  .cta-section .container div[style*="display: flex"] > div {
    flex: none !important;
    width: 100% !important;
  }
  
  /* Hide demo image on mobile */
  .demo-image {
    display: none !important;
  }
  
  /* Increase gap between pricing plans on mobile */
  .pricing-grid {
    gap: 3em !important;
  }
  
  /* Add margin bottom to pricing plans on mobile */
  .plan {
    margin-bottom: 2em !important;
  }
  
  /* Mobile styles for comparison table */
  .comparison-table {
    font-size: 0.9em !important;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 1em 0.75em !important;
  }
  
  .comparison-table th {
    font-size: 1em !important;
  }
  
  .comparison-table td {
    font-size: 0.85em !important;
    line-height: 1.4 !important;
  }
}

/* Hero */
#hero { 
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)), url('./img/construction.webp');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  color: #fff; 
  padding: 8em 0; 
  text-align: center; 
  position: relative;
}
#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('./img/contractor.webp');
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  z-index: -1;
}
#hero h1 { font-size: 3.5em !important; margin-bottom: 0.75em; }
#hero p { font-size: 1.15em; margin-bottom: 2.5em; opacity: 1; }
.hero-buttons { display: flex; flex-direction: column; gap: 3em; width: 600px; margin: 0 auto; }
.hero-buttons .btn { width: 100%; }

@media(max-width: 600px) {
  .hero-buttons { width: 60%; gap: 2em; }
  .hero-buttons .btn { width: 100%; }
}

.tagline { 
  background: rgba(255, 255, 255, 0.2); 
  border-radius: 20px; 
  padding: 0.5em 1.5em; 
  font-size: 0.9em; 
  font-weight: 500; 
  margin-bottom: 1em; 
  display: inline-block; 
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Why */
#why { padding: 4em 0; text-align: center; }
#why .container { width: 80%; max-width: 1000px; }

/* Steps */
#steps { padding: 6em 0; background: #f9f9f9; }
#steps .container { width: 80%; max-width: 1000px; }

/* Demo */
#demo { padding: 6em 0; background: #fff; }
.demo-container { display: flex; background: #fff; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); overflow: hidden; }
.demo-form { width: 50%; background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); color: #fff; padding: 3em; border-radius: 12px 0 0 12px; }
.demo-image { width: 50%; background: url('./img/signup.webp') center center; background-size: cover; background-repeat: no-repeat; background-position: center; min-height: 400px; border-radius: 0 12px 12px 0; }
.demo-form h2 { color: #fff; margin-bottom: 2em; font-size: 1.3em; }
.form-group { margin-bottom: 1.5em; }
.form-group label { display: block; margin-bottom: 0.5em; font-weight: 500; font-family: 'Montserrat', sans-serif; }
.form-group input { width: 100%; padding: 0.75em; border: none; border-radius: 6px; font-size: 1rem; font-family: 'Montserrat', sans-serif; }

/* Name fields side by side */
.name-fields { display: flex; gap: 1em; }
.name-fields .form-group { flex: 1; }

@media(max-width: 600px) {
  .name-fields { flex-direction: column; }
  .name-fields .form-group { flex: none; }
}

@media(max-width: 600px) {
  .demo-container { flex-direction: column; }
  .demo-form { border-radius: 12px 12px 0 0; width: 100%; }
  .demo-image { border-radius: 0 0 12px 12px; width: 100%; }
}

/* Testimonial */
#testimonial { display: none; }
/* #testimonial { padding: 4em 0; text-align: center; background: #fff; } */
#testimonial .container { width: 90%; max-width: 800px; }
#testimonial blockquote { font-style: italic; margin-bottom: 1em; position: relative; padding: 1em 2em; }
#testimonial blockquote::before { content: '"'; font-size: 4em; position: absolute; top: -10px; left: 10px; color: #ccc; }
#testimonial cite { font-weight: 600; color: #555; }

/* Who It's For */
#who { padding: 6em 0; background: #f9f9f9; }
#who h2 { text-align: center; margin-bottom: 2em; }
.cases-grid { display: grid; grid-template-columns: 1fr; gap: 1.5em; }
.case { background: #fff; border: 1px solid #e0e0e0; padding: 2em; text-align: center; border-radius: 8px; transition: border-color 0.3s ease; }
.case:hover { border: 2px solid #6fa6dd; }
.case-icon { font-size: 2.5em; margin-bottom: 1em; }
.case h3 { margin-bottom: 0.5em; }
.case a { color: var(--primary); font-weight: 500; }

/* Features */
.feature, .features { padding: 6em 0; }
.feature:nth-child(even), .features:nth-child(even) { background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%); }
.feature-content { display: flex; flex-direction: column; gap: 2em; }
.feature .text, .features .text { flex: 1; }
.feature .image, .features .image { flex: 1; background: #e0e0e0; height: 400px; display: flex; align-items: center; justify-content: center; color: #777; border-radius: 8px; }
.feature h2, .features h2 { margin-bottom: 0.75em; line-height: 1.2; }
.feature p, .features p { color: #555; margin-bottom: 1.5em; }
.feature-section-title { 
  text-align: center; 
  font-size: 2.5em; 
  margin-bottom: 2em !important; 
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Benefits */
#benefits { padding: 6em 0; }
#benefits h2 { text-align: center; margin-bottom: 2em; }
.benefits-grid { display: grid; grid-template-columns: 1fr; gap: 2em; }
.benefit { text-align: center; background: #fff; border: 1px solid #e0e0e0; padding: 2em; border-radius: 8px; transition: border-color 0.3s ease; }
.benefit:hover { border: 2px solid #6fa6dd; }
.icon { background: #e0e0e0; width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 1em; display: flex; align-items: center; justify-content: center; color: #777; font-size: 1.5em; }

/* Pricing */
#pricing { padding: 6em 0; background: #f9f9f9; }
#pricing h2 { text-align: center; margin-bottom: 2em; }
#pricing h3 { font-size: 2em; margin-bottom: 0em !important; }
.pricing-grid { display: flex; justify-content: center; gap: 3em; }
.plan { background: #fff; padding: 2.5em; border-radius: 8px; text-align: center; border: 1px solid #e0e0e0; max-width: 500px; }
.plan .price { font-size: 1.75em; margin: 0.75em 0; width: 400px; font-weight: 600; }

@media(max-width: 600px) {
  .plan { max-width: 100%; padding: 2em; }
  .plan .price { width: 100%; }
}
.plan ul { list-style: none; margin: 1.5em 0; }
.plan ul li { margin-bottom: 0.75em; color: #555; }

/* FAQ */
#faq { padding: 6em 0; }
#faq h2 { text-align: center; margin-bottom: 2em; }
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 1em; }
.faq-item { border-bottom: 1px solid #e0e0e0; padding: 1em 0; }
.faq-question { font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question::after { content: '+'; font-size: 1.5em; }
.faq-question.active::after { content: '-'; }
.faq-answer { display: none; margin-top: 0.75em; color: #555; }

/* Pull Quote */
.pull-quote { 
  font-style: italic; 
  font-size: 1.25em; 
  color: #000; 
  text-align: center; 
  margin: 2em 0; 
  padding: 1.5em; 
  background: linear-gradient(135deg, #f8f9fa 0%, #fefefe 100%); 
  border-left: 4px solid var(--primary); 
  border-radius: 8px; 
  position: relative; 
}
.pull-quote::before { 
  content: '"'; 
  font-size: 3em; 
  position: absolute; 
  top: -10px; 
  left: 20px; 
  color: var(--primary); 
  opacity: 0.3; 
}

/* Footer */
footer { padding: 4em 0; background: #000; color: #aaa; text-align: center; font-size: 0.9em; }
footer a { color: #aaa; margin: 0 0.5em; }

/* CTA Section */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); padding: 6em 0; text-align: center; }
.cta-title { color: #fff; font-size: 2.5em; margin-bottom: 0.5em; }
.cta-text { color: #fff; font-size: 1.2em; margin-bottom: 2em; }
.cta-btn { font-size: 1.1em; padding: 0.75em 2em; }

/* Responsive */
@media(min-width:600px) {
  .nav-cta { display: flex; }
  .hero-buttons { flex-direction: row; }
  .cases-grid { grid-template-columns: repeat(2,1fr); }
  .feature-content { flex-direction: row; align-items: center; }
  .benefits-grid { grid-template-columns: repeat(2,1fr); }
  .faq-grid { grid-template-columns: repeat(2,1fr); }
}
@media(min-width:1024px) {
  #hero h1 { font-size: 3em; }
  .cases-grid { grid-template-columns: repeat(3,1fr); }
  .benefits-grid { grid-template-columns: repeat(3,1fr); }
}

/* Additional styles for use case pages */
.use-case-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 6em 0;
  text-align: center;
}

.use-case-hero h1 {
  font-size: 3.5em;
  margin-bottom: 1em;
  line-height: 1.2;
}

.use-case-hero p {
  font-size: 1.3em;
  margin-bottom: 2em;
  opacity: 0.9;
}

.problem-section {
  padding: 6em 0;
  background: #f8f9fa;
}

.problem-section h2 {
  text-align: center;
  margin-bottom: 3em;
  font-size: 2.5em;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2em;
  margin-bottom: 3em;
}

.problem-card {
  background: #fff;
  padding: 2em;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

.problem-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5em;
  font-size: 2em;
  color: #fff;
}

.solution-section {
  padding: 6em 0;
}

.solution-section h2 {
  text-align: center;
  margin-bottom: 3em;
  font-size: 2.5em;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2em;
  margin-bottom: 3em;
}

.solution-card {
  background: #fff;
  padding: 2em;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.solution-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.solution-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5em;
  font-size: 2em;
  color: #fff;
}

.comparison-section {
  padding: 6em 0;
  background: #f8f9fa;
}

.comparison-table {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin: 3em 0;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th {
  background: var(--primary);
  color: #fff;
  padding: 1.5em;
  text-align: center;
  font-weight: 600;
}

.comparison-table td {
  padding: 1.5em;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.comparison-table tr:nth-child(even) {
  background: #f8f9fa;
}

.steps-section {
  padding: 6em 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
  margin: 3em 0;
}

.step-card {
  background: #fff;
  padding: 2em;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  position: relative;
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2em;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1em auto 1.5em;
  font-size: 1.5em;
  color: #fff;
}

@media(max-width: 768px) {
  .use-case-hero h1 {
    font-size: 2.5em;
  }
  
  .problem-grid,
  .solution-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .comparison-table {
    overflow-x: auto;
  }
} 

/* Make solution section paragraph left-aligned on desktop, centered on mobile */
.solution-section .container > div:first-of-type > div:last-child p {
  text-align: left;
}

@media(max-width: 600px) {
  .solution-section .container > div:first-of-type > div:last-child p {
    text-align: center !important;
  }
}

/* Make solution section h2 left-aligned on desktop, centered on mobile */
.solution-section .container > div:first-of-type > div:last-child h2 {
  text-align: left;
  margin-bottom: 1em;
}

@media(max-width: 600px) {
  .solution-section .container > div:first-of-type > div:last-child h2 {
    text-align: center !important;
  }
} 

.feature-content .image {
  box-shadow: 0 8px 32px rgba(32, 80, 188, 0.18), 0 2px 8px rgba(0,0,0,0.10);
} 

/* Hide reCAPTCHA badge */
.grecaptcha-badge {
  visibility: hidden !important;
} 