/* ===== SmartLead WP — Brand Design System ===== */

/* Primary gradient (extracted from banner-design.html) */
.bg-brand-gradient {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 30%, #4338ca 60%, #6366f1 100%);
}

/* Grid overlay pattern */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Accent gradient text */
.text-gradient-accent {
  background: linear-gradient(135deg, #a5f3fc, #67e8f9, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Score Card Component ===== */
.score-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  width: 340px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.1);
  transform: rotate(-2deg);
}

.score-card .card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.score-card .card-title {
  font-size: 14px;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.score-card .card-badge {
  background: #fef3c7;
  color: #d97706;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

.score-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(#ef4444 0deg, #ef4444 324deg, #e5e7eb 324deg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.score-circle-inner {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-number {
  font-size: 40px;
  font-weight: 800;
  color: #ef4444;
  line-height: 1;
}

.score-label-text {
  font-size: 12px;
  font-weight: 700;
  color: #ef4444;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Score factors */
.score-factors {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.factor {
  display: flex;
  align-items: center;
  gap: 12px;
}

.factor-name {
  font-size: 13px;
  color: #6b7280;
  width: 80px;
  font-weight: 500;
}

.factor-bar {
  flex: 1;
  height: 8px;
  background: #f3f4f6;
  border-radius: 4px;
  overflow: hidden;
}

.factor-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease-out;
}

.factor-fill.intent { width: 92%; background: linear-gradient(90deg, #ef4444, #f87171); }
.factor-fill.fit { width: 78%; background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.factor-fill.quality { width: 85%; background: linear-gradient(90deg, #10b981, #34d399); }
.factor-fill.engage { width: 70%; background: linear-gradient(90deg, #6366f1, #818cf8); }

/* Notification card */
.notification-card {
  position: absolute;
  bottom: -20px;
  left: -40px;
  background: white;
  border-radius: 14px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transform: rotate(2deg);
  z-index: 3;
}

.notification-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

.notification-text {
  font-size: 13px;
  color: #374151;
  font-weight: 600;
  white-space: nowrap;
}

.notification-text span {
  color: #ef4444;
  font-weight: 700;
}

/* ===== Score Label Colors ===== */
.label-hot { background: #fef2f2; color: #dc2626; }
.label-warm { background: #fffbeb; color: #d97706; }
.label-neutral { background: #f0fdf4; color: #16a34a; }
.label-cool { background: #eff6ff; color: #2563eb; }
.label-cold { background: #f9fafb; color: #6b7280; }

/* ===== Methodology Factor Bars ===== */
.method-bar {
  height: 12px;
  border-radius: 6px;
  transition: width 1.2s ease-out;
}

.method-bar.intent { background: linear-gradient(90deg, #ef4444, #f87171); }
.method-bar.fit { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.method-bar.quality { background: linear-gradient(90deg, #10b981, #34d399); }
.method-bar.engage { background: linear-gradient(90deg, #6366f1, #818cf8); }

/* ===== Tags ===== */
.form-tag {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
}

/* ===== FAQ Accordion ===== */
.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.faq-question:hover {
  color: #4338ca;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

/* ===== Screenshot Tabs ===== */
.screenshot-tab {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  background: transparent;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  transition: all 0.2s;
}

.screenshot-tab:hover {
  color: #4338ca;
  border-color: #c7d2fe;
}

.screenshot-tab.active {
  background: #4338ca;
  color: white;
  border-color: #4338ca;
}

.screenshot-panel {
  display: none;
}

.screenshot-panel.active {
  display: block;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
  display: none;
}

.mobile-menu.open {
  display: flex;
}

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

/* ===== Pricing Card Highlight ===== */
.pricing-highlight {
  border: 2px solid #4338ca;
  box-shadow: 0 20px 40px rgba(67, 56, 202, 0.15);
  transform: scale(1.05);
}

/* ===== Decorative Background Blurs ===== */
.bg-blur-primary::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -50px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.bg-blur-primary::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: 200px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

/* ===== Responsive Score Card ===== */
@media (max-width: 768px) {
  .score-card {
    width: 280px;
    padding: 24px;
    transform: rotate(0deg);
  }

  .score-circle {
    width: 100px;
    height: 100px;
  }

  .score-circle-inner {
    width: 80px;
    height: 80px;
  }

  .score-number {
    font-size: 32px;
  }

  .notification-card {
    left: 0;
    bottom: -16px;
  }

  .pricing-highlight {
    transform: scale(1);
  }
}

/* ===== Animated Score Counter ===== */
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.score-animated {
  animation: countUp 0.5s ease-out;
}

/* ===== Legal Pages ===== */
.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: #4338ca;
  text-decoration: underline;
}

.legal-content a:hover {
  color: #3730a3;
}

/* ===== Waitlist Form ===== */
.waitlist-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
