/* Fullbor.ai Landing Page - Custom Styles */
/* run on every edit: npx tailwindcss@3 -i css/tailwind-input.css -o css/tailwind.css --minify -c tailwind.config.cjs */

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

/* Hide scrollbar but keep functionality */
body::-webkit-scrollbar {
  width: 6px;
}
body::-webkit-scrollbar-track {
  background: #121313;
}
body::-webkit-scrollbar-thumb {
  background: #353535;
  border-radius: 3px;
}
body::-webkit-scrollbar-thumb:hover {
  background: #646c78;
}

/* Section tag badges */
.section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border: 1px solid #353535;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: #f9f9f9;
  white-space: nowrap;
}

/* CTA Button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 10px;
  border-radius: 50px;
  background: #999;
  color: #141414;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.25);
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
}
.btn-cta:hover {
  background: #aaa;
  transform: translateY(-1px);
}

.btn-outline-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 10px;
  border-radius: 50px;
  background: transparent;
  color: #f9f9f9;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid #999;
  box-shadow: 0 2px 4px rgba(0,0,0,0.25);
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
}
.btn-outline-pill:hover {
  background: rgba(255,255,255,0.05);
  transform: translateY(-1px);
}

/* Hero bottom fade */
.hero-fade-bottom {
  background: linear-gradient(to top, rgba(18, 19, 19, 1) 0%, rgba(18, 19, 19, 0) 100%);
}

/* Section divider */
.section-divider {
  border-top: 1px solid rgba(100,108,120,0.4);
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-in from left */
.fade-in-left {
  opacity: 0;
  transform: translateX(-15px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* Audience icon containers */
.audience-icon {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .audience-icon {
    width: 170px;
    height: 170px;
  }
}
@media (min-width: 1024px) {
  .audience-icon {
    width: 194px;
    height: 195px;
  }
}

/* Analysis card hover */
.analysis-card {
  transition: transform 0.3s ease;
}
.analysis-card:hover {
  transform: translateY(-4px);
}

/* Header blur */
.header-blur {
  background: rgba(19,20,20,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(100,108,120,0.3);
}

/* Hero chart entrance animation */
@keyframes hero-chart-rotate-in {
  0% {
    opacity: 0;
    transform: translateX(180px) rotate(0deg);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
  }
}
.hero-chart-enter {
  opacity: 0;
  animation: hero-chart-rotate-in 2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

/* ═══════════════════════════════════════════ */
/* EMAIL SIGNUP MODAL                         */
/* ═══════════════════════════════════════════ */

.signup-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.signup-overlay.visible {
  opacity: 1;
}
.signup-overlay.hidden {
  display: none;
}

.signup-modal {
  background: #1C2325;
  border: 1px solid rgba(100, 108, 120, 0.4);
  border-radius: 0;
  padding: 32px 36px;
  width: 90%;
  max-width: 460px;
  position: relative;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.signup-overlay.visible .signup-modal {
  transform: translateY(0) scale(1);
}

.signup-bell-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

.signup-close {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 4px;
  transition: color 0.15s;
}
.signup-close:hover {
  color: #fff;
}

.signup-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(100, 108, 120, 0.3);
  border-radius: 4px;
  color: #f9f9f9;
  font-size: 14px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.signup-input::placeholder {
  color: #646c78;
}
.signup-input:focus {
  border-color: rgba(110, 176, 84, 0.6);
}
.signup-input.invalid {
  border-color: #d9534f;
}

.signup-error {
  color: #d9534f;
  font-size: 12px;
  margin-top: 6px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Toggle switch */
.signup-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  background: #353535;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.2s;
}
.signup-toggle.active {
  background: #5a9a42;
}
.signup-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}
.signup-toggle.active .signup-toggle-thumb {
  transform: translateX(20px);
}

/* Submit button */
.signup-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  background: #007FA2;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, opacity 0.2s;
}
.signup-submit-btn:hover {
  background: #006d8c;
  transform: translateY(-1px);
}
.signup-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Spinner */
@keyframes signup-spin {
  to { transform: rotate(360deg); }
}
.signup-spinner {
  animation: signup-spin 0.8s linear infinite;
}

/* Success checkmark */
.signup-success-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #6eb054;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ═══════════════════════════════════════════ */
/* CONTACT / REQUEST A DEMO MODAL             */
/* ═══════════════════════════════════════════ */

.contact-modal {
  background: #1C2325;
  border: 1px solid rgba(100, 108, 120, 0.4);
  border-radius: 0;
  padding: 32px 40px;
  width: 90%;
  max-width: 540px;
  position: relative;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.signup-overlay.visible .contact-modal {
  transform: translateY(0) scale(1);
}

.contact-mail-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

.contact-textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(100, 108, 120, 0.3);
  border-radius: 4px;
  color: #f9f9f9;
  font-size: 14px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  outline: none;
  resize: vertical;
  min-height: 140px;
  transition: border-color 0.2s;
}
.contact-textarea::placeholder {
  color: #646c78;
}
.contact-textarea:focus {
  border-color: rgba(110, 176, 84, 0.6);
}

.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  background: #007FA2;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, opacity 0.2s;
}
.contact-submit-btn:hover {
  background: #006d8c;
  transform: translateY(-1px);
}
.contact-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
