/* Conversion funnel: start, qualification, whatsapp, thank-you */

.trojan-funnel-page {
  padding: 2rem 0 4rem;
  min-height: 70vh;
}

.trojan-funnel-card {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.2);
  overflow: hidden;
}

.trojan-funnel-card__head {
  padding: 1.5rem 1.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.trojan-funnel-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
}

.trojan-funnel-card__subtitle {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
}

.trojan-funnel-progress {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.trojan-funnel-progress__bar {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.trojan-funnel-progress__bar.is-active span,
.trojan-funnel-progress__bar.is-done span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  border-radius: inherit;
}

.trojan-funnel-progress__bar.is-done span {
  width: 100%;
}

.trojan-funnel-progress__bar.is-active span {
  width: 60%;
}

.trojan-funnel-body {
  padding: 1.5rem 1.75rem 1.75rem;
}

.trojan-funnel-step {
  display: none;
}

.trojan-funnel-step.is-active {
  display: block;
}

.trojan-funnel-field {
  margin-bottom: 1rem;
}

.trojan-funnel-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: #1e293b;
  font-size: 0.9rem;
}

.trojan-funnel-field input,
.trojan-funnel-field select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-size: 1rem;
  background: #fff;
}

.trojan-funnel-field input:focus,
.trojan-funnel-field select:focus {
  outline: 2px solid rgba(37, 99, 235, 0.35);
  border-color: #2563eb;
}

.trojan-funnel-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.trojan-funnel-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.trojan-funnel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.trojan-funnel-btn--primary {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.25);
}

.trojan-funnel-btn--secondary {
  background: #f1f5f9;
  color: #0f172a;
}

.trojan-funnel-btn--ghost {
  background: transparent;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.trojan-funnel-btn:hover {
  transform: translateY(-1px);
}

.trojan-funnel-message {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  display: none;
}

.trojan-funnel-message.is-error {
  display: block;
  background: #fef2f2;
  color: #b91c1c;
}

.trojan-funnel-message.is-success {
  display: block;
  background: #ecfdf5;
  color: #047857;
}

/* Qualification landing */
.trojan-qual-page {
  padding: 3rem 0 4rem;
}

.trojan-qual-hero {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

.trojan-qual-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 0 0 0.75rem;
  color: #0f172a;
}

.trojan-qual-hero p {
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

.trojan-qual-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.trojan-qual-visual {
  border-radius: 20px;
  background: linear-gradient(145deg, #f8fafc, #e2e8f0);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.trojan-qual-benefits h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.trojan-qual-benefits ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.trojan-qual-benefits li {
  position: relative;
  padding: 0.5rem 1.75rem 0.5rem 0;
  color: #334155;
  line-height: 1.6;
}

.trojan-qual-benefits li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: #16a34a;
  font-weight: 700;
}

.trojan-qual-cta-wrap {
  margin-top: 1.5rem;
}

/* WhatsApp contact page */
.trojan-wa-page .trojan-funnel-card {
  max-width: 480px;
}

.trojan-wa-email-block {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.trojan-wa-email-block a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.trojan-wa-alt-links {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

.trojan-wa-alt-links a {
  color: #2563eb;
  margin: 0 0.35rem;
}

.trojan-phone-prefix {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.trojan-phone-prefix span {
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
}

.trojan-phone-prefix input {
  flex: 1;
}

.trojan-thank-you {
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: 520px;
  margin: 0 auto;
}

.trojan-thank-you__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

@media (max-width: 768px) {
  .trojan-qual-layout {
    grid-template-columns: 1fr;
  }

  .trojan-funnel-row {
    grid-template-columns: 1fr;
  }
}
