/* ==========================================================================
   WebSocialTraffic AI SEO Audit, ROI Calculator & Lead Capture Tools
   File: assets/css/tools.css
   ========================================================================== */

/* ROI Calculator Component */
.wst-roi-section {
  padding: 4.5rem 1.25rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.wst-roi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.wst-roi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .wst-roi-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.wst-slider-control {
  margin-bottom: 1.5rem;
}
.wst-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.wst-slider-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1e293b;
}
.wst-slider-val {
  font-size: 1rem;
  font-weight: 800;
  color: #2563eb;
  font-family: var(--wst-font-mono);
}

.wst-slider {
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  background: #e2e8f0;
  outline: none;
  cursor: pointer;
  accent-color: #2563eb;
}

.wst-roi-result-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 16px;
  padding: 1.75rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wst-roi-number-huge {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: #10b981;
  line-height: 1.1;
  font-family: var(--wst-font-mono);
}

/* AI SEO Audit Scanner Component */
.wst-audit-section {
  padding: 4.5rem 1.25rem;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.wst-audit-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.wst-audit-input-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .wst-audit-input-grid {
    grid-template-columns: 1fr 1fr 1fr auto;
  }
}

.wst-audit-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.875rem;
  color: #0f172a;
}
.wst-audit-input:focus {
  border-color: #2563eb;
  outline: none;
}

.wst-scan-progress-bar {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
  margin: 1.5rem 0;
  display: none;
}
.wst-scan-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2563eb, #10b981);
  transition: width 0.4s ease;
}

/* Lead Capture Contact Form */
.wst-contact-section {
  padding: 4.5rem 1.25rem;
  background: #f8fafc;
}

.wst-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
}

.wst-form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .wst-form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.wst-captcha-widget {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
