/* Home Builder Onboarding */

.tw-home-builder-page .tw-hero--builder {
  background: linear-gradient(165deg, #020208 0%, #000066 40%, #1a2744 75%, #2c3e50 100%);
  overflow: hidden;
}

.tw-home-builder-page .tw-hero--builder .tw-reveal,
.tw-home-builder-page .tw-hero--builder .tw-hero-line,
.tw-home-builder-page .tw-contact-copy .tw-reveal {
  opacity: 1;
  transform: none;
}

.tw-home-builder-page .tw-hero--builder .tw-hero-line {
  animation: tw-builder-line-in 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) backwards;
}

.tw-home-builder-page .tw-hero--builder .tw-hero-line--1 { animation-delay: 0.1s; }
.tw-home-builder-page .tw-hero--builder .tw-hero-line--2 { animation-delay: 0.22s; }
.tw-home-builder-page .tw-hero--builder .tw-hero-line--3 { animation-delay: 0.34s; }

@keyframes tw-builder-line-in {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

.tw-builder-hero-visual {
  position: absolute;
  right: clamp(4%, 8vw, 12%);
  top: 50%;
  transform: translateY(-50%);
  width: min(300px, 34vw);
  height: min(300px, 34vw);
  z-index: 2;
  pointer-events: none;
}

.tw-builder-hero-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(96, 165, 250, 0.45);
  animation: tw-builder-ring-pulse 3.5s ease-in-out infinite;
}

.tw-builder-hero-ring--2 {
  inset: 18%;
  border-color: rgba(148, 163, 184, 0.4);
  animation-delay: 0.9s;
}

.tw-builder-hero-core {
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(96, 165, 250, 0.4), rgba(0, 0, 102, 0.15) 70%);
  box-shadow: 0 0 50px rgba(96, 165, 250, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tw-builder-hero-core svg {
  width: 44%;
  height: 44%;
  color: rgba(255, 255, 255, 0.92);
}

@keyframes tw-builder-ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%      { transform: scale(1.05); opacity: 1; }
}

.tw-builder-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
}

.tw-builder-hero-badge {
  display: inline-flex;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(96, 165, 250, 0.45);
  border-radius: 999px;
}

.tw-home-builder-page .tw-hero--compact.tw-hero--builder {
  min-height: min(76vh, 800px);
  min-height: min(76dvh, 800px);
}

.tw-hb-pricing-box {
  margin: 1.25rem 0 1rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #dbe3ec;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.tw-hb-pricing-box__title {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1e293b;
}

.tw-hb-pricing-box__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tw-hb-pricing-box__list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.95rem;
  color: #334155;
}

.tw-hb-pricing-box__list li:last-child { border-bottom: 0; }

.tw-hb-pricing-box__list strong {
  color: #066aab;
  white-space: nowrap;
}

.tw-hb-hosting-note {
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a5f;
  font-size: 0.92rem;
  line-height: 1.55;
}

.tw-hb-hosting-note__title {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1d4ed8;
}

.tw-hb-hosting-note p:last-child {
  margin: 0;
}

.tw-hb-info-note {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a5f;
  font-size: 0.92rem;
  line-height: 1.55;
}

.tw-hb-info-note__title {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1d4ed8;
}

.tw-hb-info-note p:last-child { margin: 0; }

.tw-home-builder-page .tw-hb-plan-summary,
.tw-home-builder-page .wpforms-container .tw-hb-plan-summary {
  margin: 0 0 1rem;
  padding: 14px 16px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #f8fafc;
  color: #1e293b;
  font-size: 14px;
  line-height: 1.55;
}

.tw-home-builder-page .tw-hb-plan-summary__title {
  margin: 0 0 0.65rem;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.tw-home-builder-page .tw-hb-plan-summary__lead {
  margin: 0 0 12px;
}

.tw-home-builder-page .tw-hb-plan-summary__pricing {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 0 0 14px;
}

.tw-home-builder-page .tw-hb-plan-summary__pricing td {
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
}

.tw-home-builder-page .tw-hb-plan-summary__pricing td:last-child {
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
}

.tw-home-builder-page .tw-hb-price-blue { color: #066aab; }
.tw-home-builder-page .tw-hb-price-green { color: #059669; }
.tw-home-builder-page .tw-hb-price-purple { color: #7c3aed; }

.tw-home-builder-page .tw-hb-plan-summary__section {
  margin: 0 0 12px;
}

.tw-home-builder-page .tw-hb-plan-summary__section h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.tw-home-builder-page .tw-hb-plan-summary__section ul {
  margin: 0;
  padding-left: 1.1rem;
}

.tw-home-builder-page .tw-hb-plan-summary__section li {
  margin-bottom: 0.25rem;
}

.tw-home-builder-page .tw-hb-plan-summary__empty {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.tw-home-builder-page .tw-hb-plan-summary__tag {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tw-home-builder-page .tw-hb-plans-info {
  margin: 0 0 1rem;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  line-height: 1.55;
  color: #334155;
}

.tw-home-builder-page .tw-hb-plans-info h4 {
  margin: 0 0 0.35rem;
  font-size: 14px;
  color: #0f172a;
}

.tw-home-builder-page .tw-hb-plans-info p {
  margin: 0 0 0.75rem;
}

.tw-home-builder-page .tw-hb-plans-info p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .tw-builder-hero-visual { opacity: 0.35; right: -6%; }
}

@media (max-width: 600px) {
  .tw-builder-hero-visual { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .tw-builder-hero-ring,
  .tw-home-builder-page .tw-hero--builder .tw-hero-line { animation: none; }
}
