/* =====================================================
   HOMEPAGE REDESIGN — CSS
   Woonprijs.nl v8.0 Redesign
   ===================================================== */

/* === DESIGN TOKENS === */
:root {
  --hp-navy: #0a1628;
  --hp-navy-light: #0f1d32;
  --hp-blue: #1a3a5c;
  --hp-brand: #1e40af;
  --hp-brand-light: #3b82f6;
  --hp-indigo: #6366f1;
  --hp-white: #ffffff;
  --hp-gray-50: #f8fafc;
  --hp-gray-100: #f1f5f9;
  --hp-gray-200: #e2e8f0;
  --hp-gray-300: #cbd5e1;
  --hp-gray-400: #94a3b8;
  --hp-gray-500: #64748b;
  --hp-gray-600: #475569;
  --hp-gray-700: #334155;
  --hp-gray-800: #1e293b;
  --hp-gray-900: #0f172a;
  --hp-text: #1e293b;
  --hp-text-secondary: #475569;
  --hp-green: #16a34a;
  --hp-radius: 12px;
  --hp-radius-lg: 16px;
  --hp-radius-xl: 24px;
  --hp-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --hp-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --hp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --hp-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --hp-max-width: 1200px;
  --hp-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === MAIN CONTAINER OVERRIDE === */
.container {
  max-width: var(--hp-max-width) !important;
  width: min(var(--hp-max-width), 95vw) !important;
  box-shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(226, 232, 240, 0.7) !important;
}

/* === HEADER RESTYLE === */
.site-header {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: var(--hp-max-width) !important;
  margin: 0 auto;
}

.user-pro-badge {
  white-space: nowrap !important;
  font-size: 8.5px !important;
  letter-spacing: 0.05em !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.auth-btn {
  border-radius: 8px !important;
  padding: 8px 16px !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: var(--hp-transition) !important;
  cursor: pointer !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.25 !important;
}

.auth-btn.auth-btn-ghost {
  background: transparent !important;
  color: #475569 !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
}

.auth-btn.auth-btn-ghost:hover {
  background: rgba(15, 23, 42, 0.06) !important;
  color: #0f172a !important;
  transform: none !important;
}

.auth-btn.auth-btn-primary,
.auth-btn:not(.auth-btn-ghost) {
  background: var(--hp-brand) !important;
  color: white !important;
  border: 1px solid transparent !important;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2) !important;
}

.auth-btn.auth-btn-primary:hover,
.auth-btn:not(.auth-btn-ghost):hover {
  background: #1e3a8a !important;
  transform: translateY(-1px) !important;
}

/* === HERO SECTION === */
.hero-split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3.5rem;
  align-items: center;
  max-width: var(--hp-max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 2.5rem;
  min-height: 520px;
}

.hero-left h1 {
  font-size: clamp(2.1rem, 3.4vw, 2.75rem) !important;
  font-weight: 800 !important;
  line-height: 1.16 !important;
  color: var(--hp-gray-900) !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 1.15rem !important;
  text-align: left !important;
  text-wrap: balance;
}

.hero-left .hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--hp-text-secondary);
  margin-bottom: 1.75rem;
  max-width: 540px;
}

/* Hero Search Bar Wrapper override */
#address-form {
  display: block !important;
  position: relative !important;
  left: 0 !important;
  transform: none !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(203, 213, 225, 0.85) !important;
  border-radius: var(--hp-radius-xl) !important;
  padding: 1.5rem 1.65rem !important;
  margin: 1.5rem 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.09), 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  box-sizing: border-box !important;
}

/* Hero Search Bar */
.hero-search-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0.25rem;
  position: relative;
  width: 100%;
}

.hero-search-container .autocomplete-wrapper {
  width: 100%;
}

.hero-search-container input[type="text"] {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--hp-gray-300) !important;
  border-radius: var(--hp-radius) !important;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: var(--hp-white);
  color: var(--hp-gray-900);
}

.hero-search-container input[type="text"]:focus {
  border-color: var(--hp-brand) !important;
  box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.12) !important;
}

.hero-search-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: linear-gradient(180deg, #2563eb 0%, #1e40af 100%) !important;
  color: white !important;
  border: 1px solid #1e3a8a !important;
  border-radius: var(--hp-radius) !important;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: var(--hp-transition);
  white-space: nowrap;
  width: 100%;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.hero-search-cta:hover {
  background: linear-gradient(180deg, #1d4ed8 0%, #1e3a8a 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(30, 64, 175, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-search-cta svg {
  flex-shrink: 0;
}

.hero-example-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hp-text-secondary);
  font-size: 0.85rem;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: color 0.2s;
}

.hero-example-link:hover {
  color: var(--hp-brand);
}

.hero-example-link svg {
  width: 14px;
  height: 14px;
}

/* Trust Badges */
.hero-trust-badges {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--hp-gray-700);
  font-weight: 600;
  line-height: 1.3;
}

.trust-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  border-radius: 8px;
  color: var(--hp-green);
  flex-shrink: 0;
}

/* Property Preview Card */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.property-preview-card {
  background: var(--hp-white);
  border-radius: var(--hp-radius-xl);
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  width: 100%;
  max-width: 460px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
}

.property-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 64px -16px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(59, 130, 246, 0.3);
  border-color: var(--hp-brand-light);
}

.property-preview-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-preview-card:hover .property-preview-image {
  transform: scale(1.03);
}

.property-preview-body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.property-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.property-preview-address {
  font-size: 0.875rem;
  color: var(--hp-gray-700);
  font-weight: 600;
}

.property-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #dcfce7;
  color: #15803d;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.property-preview-price {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--hp-gray-900);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.85rem;
  line-height: 1.15;
}

.property-preview-label {
  font-size: 0.75rem;
  color: var(--hp-gray-400);
  margin-bottom: 1rem;
}

.property-preview-label strong {
  color: var(--hp-text-secondary);
}

.property-preview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.15rem;
  align-items: stretch;
}

.preview-stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
  min-width: 0;
  background: var(--hp-gray-50);
  border: 1px solid var(--hp-gray-100);
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
}

.preview-stat-label {
  font-size: 0.65rem;
  color: var(--hp-gray-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.25;
  word-break: break-word;
}

.preview-stat-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--hp-gray-900);
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-stat-value.positive {
  color: #16a34a;
}

.preview-stat-value.negative {
  color: #dc2626;
}

/* Mini chart area */
.property-preview-chart {
  background: var(--hp-gray-50);
  border-radius: var(--hp-radius);
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.property-preview-chart h4 {
  font-size: 0.75rem;
  color: var(--hp-text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.mini-chart-svg {
  width: 100%;
  height: 60px;
}

.property-preview-footnote {
  font-size: 0.65rem;
  color: var(--hp-gray-400);
  text-align: center;
  font-style: italic;
}

/* === VALUE PILLARS === */
.value-pillars {
  max-width: var(--hp-max-width);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
}

.value-pillars-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--hp-gray-900);
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

.value-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.value-pillar-card {
  background: var(--hp-white);
  border: 1px solid var(--hp-gray-200);
  border-radius: var(--hp-radius-lg);
  padding: 2rem;
  transition: var(--hp-transition);
  text-decoration: none;
  color: inherit;
  display: block;
}

.value-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hp-shadow-lg);
  border-color: var(--hp-brand-light);
}

.pillar-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--hp-gray-50);
  border-radius: var(--hp-radius);
  margin-bottom: 0;
  color: var(--hp-brand);
  flex-shrink: 0;
}

.pillar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--hp-gray-900);
  margin: 0 !important;
  line-height: 1.3 !important;
}

.pillar-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--hp-text-secondary);
  margin-bottom: 1rem;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hp-brand);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.value-pillar-card:hover .pillar-link {
  gap: 8px;
}

/* === STATS BAR === */
.stats-bar {
  background: var(--hp-navy);
  padding: 3rem 1.5rem;
}

.stats-bar-inner {
  max-width: var(--hp-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stats-bar-title {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--hp-white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--hp-white);
  letter-spacing: -0.02em;
  transition: transform 0.3s ease;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--hp-gray-400);
  font-weight: 500;
}

/* === HOW IT WORKS === */
.how-it-works {
  max-width: var(--hp-max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
}

.how-it-works-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--hp-gray-900);
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

/* Connecting line */
.how-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: var(--hp-gray-200);
  z-index: 0;
}

.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.how-step-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--hp-white);
  border: 2px solid var(--hp-gray-200);
  border-radius: 50%;
  color: var(--hp-brand);
  transition: var(--hp-transition);
}

.how-step:hover .how-step-circle {
  border-color: var(--hp-brand);
  background: #eff6ff;
}

.how-step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--hp-gray-900);
}

.how-step-desc {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--hp-text-secondary);
  max-width: 200px;
}

/* === POPULAR PRODUCTS === */
.products-section {
  background: var(--hp-gray-50);
  padding: 4rem 1.5rem;
}

.products-inner {
  max-width: var(--hp-max-width);
  margin: 0 auto;
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.products-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--hp-gray-900);
  letter-spacing: -0.01em;
}

.products-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hp-brand);
  text-decoration: none;
  transition: color 0.2s;
}

.products-link:hover {
  color: #1e3a8a;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--hp-white);
  border: 1px solid var(--hp-gray-200);
  border-radius: var(--hp-radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--hp-transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hp-shadow-lg);
}

.product-card-title {
  margin: 0 0 1.25rem 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hp-gray-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-card-title svg {
  color: var(--hp-brand);
  flex-shrink: 0;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  flex: 1;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.85rem;
  color: var(--hp-text-secondary);
  line-height: 1.4;
}

.product-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--hp-green);
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 1rem;
}

.product-price-amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--hp-gray-900);
  letter-spacing: -0.02em;
}

.product-price-suffix {
  font-size: 0.8rem;
  color: var(--hp-gray-400);
}

.product-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  background: var(--hp-brand);
  color: white;
  border: none;
  border-radius: var(--hp-radius);
  font-size: 0.9rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: var(--hp-transition);
  text-decoration: none;
  text-align: center;
}

.product-cta:hover {
  background: #1e3a8a;
  transform: translateY(-1px);
}

/* === GUIDES SECTION (relocated) === */
.homepage-guides-redesign {
  max-width: var(--hp-max-width);
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.guides-redesign-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.guides-redesign-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--hp-gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.guides-redesign-subtitle {
  font-size: 1.05rem;
  color: var(--hp-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.guides-redesign-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.guide-redesign-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--hp-white);
  border-radius: var(--hp-radius-lg);
  border: 1px solid var(--hp-gray-200);
  text-decoration: none;
  transition: var(--hp-transition);
  box-shadow: var(--hp-shadow);
}

.guide-redesign-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hp-shadow-lg);
  border-color: var(--hp-brand-light);
}

.guide-card-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.65rem;
}

.guide-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--hp-gray-900);
  line-height: 1.3;
}

.guide-card-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--hp-text-secondary);
  line-height: 1.5;
  margin-top: 0.15rem;
}

@media (max-width: 991px) {
  .guides-redesign-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .guides-redesign-grid {
    grid-template-columns: 1fr;
  }
}

/* === NEWSLETTER CTA === */
.newsletter-cta {
  background: var(--hp-navy);
  padding: 3.5rem 1.5rem;
}

.newsletter-inner {
  max-width: var(--hp-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.newsletter-text {
  flex: 1;
}

.newsletter-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--hp-white);
  letter-spacing: -0.015em;
  margin-bottom: 0.35rem;
}

.newsletter-subtitle {
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.78);
}

#newsletter-form.newsletter-form {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 480px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

#newsletter-form input[type="email"],
#newsletter-email {
  flex: 1 1 auto !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  padding: 0 16px !important;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  font-size: 0.95rem !important;
  font-family: 'Inter', sans-serif !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  line-height: 48px !important;
}

#newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

#newsletter-form input[type="email"]:focus {
  border-color: rgba(255, 255, 255, 0.65) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1) !important;
}

#newsletter-form button[type="submit"],
#newsletter-submit {
  flex: 0 0 auto !important;
  width: auto !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  background: #ffffff !important;
  color: var(--hp-navy) !important;
  border: 1.5px solid #ffffff !important;
  border-radius: 10px !important;
  font-size: 0.925rem !important;
  font-weight: 700 !important;
  font-family: 'Inter', sans-serif !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
  transition: all 0.2s ease !important;
}

#newsletter-form button[type="submit"]:hover,
#newsletter-submit:hover {
  background: #f1f5f9 !important;
  border-color: #f1f5f9 !important;
  color: var(--hp-navy) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
}

#newsletter-form button[type="submit"]:active,
#newsletter-submit:active {
  transform: translateY(0) scale(0.99) !important;
}

.newsletter-success {
  color: #86efac;
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

/* === FOOTER RESTYLE === */
.site-footer {
  background: var(--hp-navy) !important;
  margin-top: 0 !important;
}

.footer-content {
  max-width: var(--hp-max-width) !important;
  margin: 0 auto !important;
}

.footer-brand-name {
  color: var(--hp-white) !important;
}

.footer-description {
  color: var(--hp-gray-400) !important;
}

.footer-section h4 {
  color: var(--hp-white) !important;
}

.footer-section a {
  color: var(--hp-gray-400) !important;
  transition: color 0.2s !important;
}

.footer-section a:hover {
  color: var(--hp-white) !important;
}

.footer-social-icons {
  display: flex;
  gap: 12px;
  margin-top: 1rem;
}

.footer-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--hp-gray-800);
  border-radius: 8px;
  color: var(--hp-gray-400);
  transition: var(--hp-transition);
}

.footer-social-icons a:hover {
  background: var(--hp-gray-700);
  color: var(--hp-white);
}

/* === RESPONSIVE === */

/* Tablet */
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem 3rem;
    min-height: auto;
  }

  .hero-left h1 {
    font-size: 2rem !important;
    text-align: center !important;
  }

  .hero-left .hero-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-search-container {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-trust-badges {
    justify-content: center;
  }

  .hero-right {
    order: -1;
  }

  .property-preview-card {
    max-width: 400px;
    margin: 0 auto;
  }

  .value-pillars-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .stats-bar-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .how-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .how-steps::before {
    display: none;
  }

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .newsletter-inner {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    max-width: 100%;
    width: 100%;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .hero-split {
    padding: 1.5rem 1rem 2rem;
  }

  .hero-left h1 {
    font-size: 1.6rem !important;
  }

  .hero-search-container {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero-search-container input[type="text"] {
    border-right: 2px solid var(--hp-gray-200);
    border-radius: var(--hp-radius);
  }

  .hero-search-cta {
    border-radius: var(--hp-radius);
    justify-content: center;
  }

  .hero-trust-badges {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }

  .property-preview-card {
    max-width: 100%;
  }

  .property-preview-body {
    padding: 1.1rem 1.25rem 1.25rem;
  }

  .property-preview-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    margin-bottom: 1rem;
    align-items: start;
  }

  .preview-stat {
    gap: 3px;
  }

  .preview-stat-label {
    font-size: 0.63rem;
    letter-spacing: 0.03em;
    min-height: 2.5em;
    line-height: 1.2;
  }

  .preview-stat-value {
    font-size: 0.92rem;
  }

  .stats-bar-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .products-header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  #newsletter-form.newsletter-form {
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }

  #newsletter-form input[type="email"],
  #newsletter-email {
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    padding: 0 14px !important;
    text-align: center !important;
    line-height: 46px !important;
  }

  #newsletter-form button[type="submit"],
  #newsletter-submit {
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
  }
}

/* Small mobile */
@media (max-width: 380px) {
  .hero-left h1 {
    font-size: 1.4rem !important;
  }

  .value-pillars {
    padding: 2.5rem 1rem;
  }

  .products-section {
    padding: 2.5rem 1rem;
  }
}

/* === PREMIUM HERO ADVISORY BANNER === */
.hero-advisory-banner {
  background: rgba(99, 102, 241, 0.03) !important;
  border: 1px solid rgba(99, 102, 241, 0.15) !important;
  padding: 10px 24px !important;
  border-radius: 100px !important;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-advisory-banner:hover {
  transform: translateY(-2px) !important;
  background: rgba(99, 102, 241, 0.05) !important;
  border-color: rgba(99, 102, 241, 0.3) !important;
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.hero-advisory-label {
  background: #1e40af !important;
  color: #ffffff !important;
  padding: 4px 12px !important;
  border-radius: 99px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3) !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.hero-advisory-text {
  font-size: 0.85rem !important;
  color: var(--hp-gray-700) !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em;
}

.hero-advisory-text a {
  color: #4f46e5 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2) !important;
  padding-bottom: 1px;
  transition: all 0.2s ease !important;
}

.hero-advisory-text a:hover {
  color: #312e81 !important;
  border-bottom-color: #4f46e5 !important;
}

@media (max-width: 600px) {
  .hero-advisory-banner {
    border-radius: 20px !important;
    padding: 14px 20px !important;
    text-align: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
}

/* === STATS ADDRESSES TEXT OVERRIDE === */
#addresses-text {
  font-size: 0.85rem !important;
  color: var(--hp-gray-400) !important;
  font-weight: 500 !important;
  opacity: 1 !important;
  letter-spacing: normal !important;
  display: inline-block !important;
}

/* === SUBPAGE ROUTING: HIDE HOME SECTIONS === */
body[data-page="other"] .value-pillars,
body[data-page="other"] .stats-bar,
body[data-page="other"] .how-it-works,
body[data-page="other"] .products-section,
body[data-page="other"] .pricing-section-home,
body[data-page="other"] .reviews-section-home,
body[data-page="other"] .homepage-guides-redesign,
body[data-page="other"] .newsletter-cta,
body[data-page="other"] .trustpilot-home-section {
  display: none !important;
}

/* === SUBPAGE CARD WIDTH CONSISTENCY === */
.info-page .info-card,
.pricing-page {
  max-width: var(--hp-max-width) !important;
  width: min(var(--hp-max-width), 95vw) !important;
}


/* === HOMEPAGE PROFESSIONAL BACKGROUND IMAGE LAYOUT === */
body[data-page="home"] {
  background: var(--hp-gray-50) !important;
}

body[data-page="home"] .container {
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.96) 380px, #ffffff 520px), url('/img/hero-amsterdam.webp') !important;
  background-size: 100% auto !important;
  background-position: top center !important;
  background-repeat: no-repeat !important;
}

@media (max-width: 991px) {
  body[data-page="home"] .container {
    background-size: cover !important;
    background-position: center top !important;
  }
}

/* === HOMEPAGE PRICING SECTION === */
.pricing-section-home {
  background: var(--hp-white);
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--hp-gray-100);
}

.pricing-home-inner {
  max-width: var(--hp-max-width);
  margin: 0 auto;
}

.pricing-home-header {
  text-align: center;
  margin-bottom: 4rem;
}

.pricing-home-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--hp-gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.pricing-home-subtitle {
  font-size: 1.125rem;
  color: var(--hp-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.pricing-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-home-card {
  background: var(--hp-white);
  border: 1px solid var(--hp-gray-200);
  border-radius: var(--hp-radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--hp-transition);
  box-shadow: var(--hp-shadow);
  cursor: pointer;
}

.pricing-home-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hp-shadow-xl);
}

/* Featured / Highlight cards */
.pricing-home-card.popular-highlight {
  border: 2px solid var(--hp-indigo);
  transform: scale(1.02);
  box-shadow: var(--hp-shadow-lg);
}

.pricing-home-card.popular-highlight:hover {
  transform: scale(1.02) translateY(-6px);
  box-shadow: var(--hp-shadow-xl), 0 10px 30px rgba(99, 102, 241, 0.15);
}

.pricing-home-card.plus-highlight {
  border: 2px solid #7c3aed;
}

.pricing-home-card.plus-highlight:hover {
  transform: translateY(-6px);
  box-shadow: var(--hp-shadow-xl), 0 10px 30px rgba(124, 58, 237, 0.12);
}

/* Badges */
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--hp-indigo);
  color: var(--hp-white);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  border-radius: 99px;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.plus-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #7c3aed;
  color: var(--hp-white);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  border-radius: 99px;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
}

/* Header within card */
.pricing-home-card-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--hp-gray-100);
  padding-bottom: 1.5rem;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--hp-gray-900);
  margin-bottom: 0.5rem;
}

.plan-tagline {
  font-size: 0.875rem;
  color: var(--hp-text-secondary);
  line-height: 1.4;
  margin-bottom: 1.5rem;
  min-height: 40px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  color: var(--hp-gray-900);
}

.price-currency {
  font-size: 1.85rem;
  font-weight: 700;
  margin-right: 4px;
}

.price-amount {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-period {
  font-size: 0.875rem;
  color: var(--hp-text-secondary);
  margin-left: 6px;
  font-weight: 500;
}

/* Features List */
.plan-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
}

.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: var(--hp-gray-700);
  line-height: 1.4;
}

.plan-features-list li svg {
  flex-shrink: 0;
  color: var(--hp-green);
  margin-top: 2px;
}

.plan-features-list li strong {
  color: var(--hp-gray-900);
}

/* Button CTA */
.plan-cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 24px;
  border-radius: var(--hp-radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--hp-transition);
  box-sizing: border-box;
  cursor: pointer;
}

.plan-cta-btn.outline-btn {
  background: var(--hp-white);
  border: 1px solid var(--hp-gray-300);
  color: var(--hp-gray-700);
}

.plan-cta-btn.outline-btn:hover {
  background: var(--hp-gray-50);
  border-color: var(--hp-gray-400);
  color: var(--hp-gray-900);
}

.plan-cta-btn.primary-btn {
  background: var(--hp-indigo);
  border: 1px solid var(--hp-indigo);
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.plan-cta-btn.primary-btn:hover {
  background: #4f46e5;
  border-color: #4f46e5;
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
}

.plan-cta-btn.purple-btn {
  background: #7c3aed;
  border: 1px solid #7c3aed;
  color: var(--hp-white);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

.plan-cta-btn.purple-btn:hover {
  background: #6d28d9;
  border-color: #6d28d9;
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.25);
}

/* Responsive */
@media (max-width: 991px) {
  .pricing-home-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 450px;
    margin: 0 auto;
  }
  
  .pricing-home-card.popular-highlight {
    transform: none;
  }
  
  .pricing-home-card.popular-highlight:hover {
    transform: translateY(-6px);
  }
}

/* === HOMEPAGE REVIEWS SECTION === */
.reviews-section-home {
  background: var(--hp-gray-50);
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--hp-gray-200);
}

.reviews-home-inner {
  max-width: var(--hp-max-width);
  margin: 0 auto;
  position: relative;
}

.reviews-home-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.reviews-home-header {
  text-align: left;
}

.reviews-home-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--hp-gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.reviews-home-subtitle {
  font-size: 1.125rem;
  color: var(--hp-text-secondary);
  max-width: 600px;
}

.reviews-carousel-controls {
  display: flex;
  gap: 0.75rem;
}

.reviews-control-btn {
  background: var(--hp-white);
  border: 1px solid var(--hp-gray-200);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--hp-gray-700);
  transition: var(--hp-transition);
  box-shadow: var(--hp-shadow);
}

.reviews-control-btn:hover {
  background: var(--hp-gray-50);
  border-color: var(--hp-gray-300);
  color: var(--hp-gray-900);
  transform: translateY(-1px);
}

/* Slider track and scroll snap */
.reviews-slider-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.reviews-slider-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0.25rem 1.5rem 0.25rem;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.reviews-slider-track::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Safari and Chrome */
}

.reviews-home-card {
  flex: 0 0 calc(33.333% - 1rem);
  scroll-snap-align: start;
  background: var(--hp-white);
  border: 1px solid var(--hp-gray-200);
  border-radius: var(--hp-radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--hp-shadow);
  transition: var(--hp-transition);
  box-sizing: border-box;
}

.reviews-home-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hp-shadow-lg);
  border-color: var(--hp-gray-300);
}

/* User Profile Header */
.review-user-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #111827;
}

.review-user-meta {
  display: flex;
  flex-direction: column;
}

.review-user-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--hp-gray-900);
  margin-bottom: 2px;
}

.review-user-stats {
  font-size: 0.825rem;
  color: var(--hp-text-secondary);
}

/* Star Rating and Trustpilot Style Badges */
.review-rating-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.tp-stars-container {
  display: flex;
  gap: 2px;
}

.tp-star-block {
  background: #00b67a;
  color: var(--hp-white);
  font-size: 0.75rem;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.review-redirected-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #00845a;
  font-size: 0.825rem;
  font-weight: 600;
}

.review-redirected-badge svg {
  color: #00b67a;
}

/* Content */
.review-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.review-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--hp-gray-900);
  line-height: 1.3;
}

.review-card-text {
  font-size: 0.925rem;
  color: var(--hp-gray-700);
  line-height: 1.5;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer Tag bubbles */
.review-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.review-tag {
  background: var(--hp-gray-100);
  color: var(--hp-gray-600);
  font-size: 0.775rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 991px) {
  .reviews-home-header-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .reviews-carousel-controls {
    align-self: flex-end;
  }
  
  .reviews-home-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 640px) {
  .reviews-home-card {
    flex: 0 0 100%;
  }
}


/* === REVIEW STAR RATINGS === */
.review-stars {
  font-size: 0.8rem;
  color: #f59e0b;
  letter-spacing: 1px;
  line-height: 1;
  margin-top: 2px;
}

/* === HOW-IT-WORKS STEP NUMBER BADGES === */
.how-step-circle {
  position: relative;
  flex-direction: column;
  gap: 0.35rem;
}

.how-step-num {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 22px;
  height: 22px;
  background: var(--hp-brand);
  color: white;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(30, 64, 175, 0.3);
  line-height: 1;
  z-index: 2;
  transition: var(--hp-transition);
}

.how-step:hover .how-step-num {
  background: var(--hp-brand-light);
  transform: scale(1.1);
}

/* === VALUE PILLAR CARD ACCENT BORDER === */
.value-pillar-card {
  border-top: 3px solid transparent;
  transition: var(--hp-transition), border-top-color 0.3s ease;
}

.value-pillar-card:hover {
  border-top-color: var(--hp-brand);
}

/* === PRICING PLAN CTA BUTTON (existing classes supplement) === */
.plan-cta-btn {
  margin-top: auto;
  transition: var(--hp-transition);
}

/* === PRICING CARD INNER LAYOUT FIX === */
.pricing-home-card {
  display: flex;
  flex-direction: column;
}

.plan-features-list {
  flex: 1;
}

/* About Page Vimeo Video Container */
.about-video-container {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding-bottom: 38%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .about-video-container {
    padding-bottom: 56.25%; /* Standard 16:9 ratio to make it higher on mobile */
  }
}

/* === PARTNERS DIRECTORY (INFO-PAGE INTEGRATED) === */
.partner-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: #6366f1 !important;
  box-shadow: 0 16px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04) !important;
}

@media (max-width: 640px) {
  .partner-card {
    padding: 1.5rem !important;
  }
}

/* ========================================================
   HALLOWEEN PROMOTION STYLES
   ======================================================== */

/* B2B tenant promo concealment */
html.is-b2b-tenant .halloween-promo-bar,
html.is-b2b-tenant #halloween-promo-bar,
body[data-is-b2b="true"] .halloween-promo-bar,
body[data-is-b2b="true"] #halloween-promo-bar,
body[data-is-b2b="true"] .halloween-badge-card,
body[data-is-b2b="true"] .halloween-card-code-pill {
  display: none !important;
}

.halloween-promo-bar {
  position: relative;
  z-index: 1001;
  background: linear-gradient(90deg, #10061e 0%, #1b0a31 25%, #2a0b42 60%, #160626 100%);
  border-bottom: 1px solid rgba(255, 115, 0, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 120, 0, 0.15) inset;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
}

.halloween-promo-container {
  max-width: var(--hp-max-width);
  margin: 0 auto;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.halloween-promo-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.halloween-badge {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8c00 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 11px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 10px rgba(255, 107, 0, 0.45);
  white-space: nowrap;
}

.halloween-promo-text {
  color: #e2e8f0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
}

.halloween-promo-highlight {
  color: #ffffff;
  font-weight: 700;
}

.halloween-promo-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.halloween-code-chip {
  background: rgba(255, 107, 0, 0.12);
  border: 1px dashed rgba(255, 138, 0, 0.6);
  border-radius: 8px;
  padding: 5px 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  color: #ffffff;
  font-size: 0.825rem;
  outline: none;
}

.halloween-code-chip:hover {
  background: rgba(255, 107, 0, 0.22);
  border-color: #ff9900;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25);
}

.halloween-code-chip:active {
  transform: scale(0.98);
}

.halloween-code-prefix {
  color: #cbd5e1;
  font-size: 0.775rem;
  font-weight: 500;
}

.halloween-code-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 800;
  color: #ffb347;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

.halloween-copy-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.725rem;
  background: rgba(255, 255, 255, 0.14);
  color: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.15s ease;
}

.halloween-code-chip:hover .halloween-copy-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.halloween-claim-btn {
  background: linear-gradient(135deg, #ea580c 0%, #ff7a00 100%);
  color: #ffffff !important;
  font-size: 0.825rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 3px 12px rgba(234, 88, 12, 0.4);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  border: none;
  cursor: pointer;
  line-height: 1.3;
}

.halloween-claim-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(234, 88, 12, 0.55);
  filter: brightness(1.06);
}

.halloween-claim-btn:active {
  transform: scale(0.98);
}

.halloween-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  outline: none;
}

.halloween-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

/* Home Page Pricing Card Halloween Enhancements */
.pricing-home-card.plus-highlight.halloween-card-highlight {
  border: 2px solid #ea580c !important;
  box-shadow: 0 8px 30px rgba(234, 88, 12, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pricing-home-card.plus-highlight.halloween-card-highlight:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(234, 88, 12, 0.22), 0 0 0 1px #ff7a00;
}

.halloween-badge-card {
  background: linear-gradient(135deg, #ea580c 0%, #ff7a00 100%) !important;
  color: #ffffff !important;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  border-radius: 99px;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.45);
  white-space: nowrap;
}

.halloween-price-wrap {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}

.price-original {
  font-size: 1.25rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 600;
  margin-right: 8px;
  line-height: 1;
}

.halloween-card-code-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(234, 88, 12, 0.07);
  border: 1px dashed rgba(234, 88, 12, 0.4);
  border-radius: 8px;
  padding: 6px 12px;
  margin-top: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: fit-content;
}

.halloween-card-code-pill:hover {
  background: rgba(234, 88, 12, 0.15);
  border-color: #ea580c;
  transform: translateY(-1px);
}

.halloween-card-code-pill .pill-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
}

.halloween-card-code-pill .pill-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ea580c;
  letter-spacing: 0.04em;
}

.halloween-card-code-pill .pill-copy-badge {
  font-size: 0.75rem;
  color: #ea580c;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #ffffff;
  padding: 2px 7px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.halloween-card-btn {
  background: linear-gradient(135deg, #ea580c 0%, #ff7a00 100%) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 12px 20px !important;
  border-radius: var(--hp-radius) !important;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.35) !important;
  cursor: pointer !important;
  text-align: center;
  margin-top: 1.5rem;
  transition: all 0.2s ease !important;
  display: block;
}

.halloween-card-btn:hover {
  box-shadow: 0 6px 22px rgba(234, 88, 12, 0.5) !important;
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* Pulse highlight animation for banner-to-card navigation */
@keyframes halloweenPulseAnim {
  0% {
    box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.75);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(234, 88, 12, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(234, 88, 12, 0);
  }
}

.halloween-pulse-highlight {
  animation: halloweenPulseAnim 1.6s ease infinite !important;
}

/* Responsive Media Queries */
@media (max-width: 860px) {
  .halloween-promo-container {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 14px;
  }

  .halloween-promo-left {
    justify-content: flex-start;
    position: relative;
    padding-right: 32px;
  }

  .halloween-close-btn {
    position: absolute;
    right: 0;
    top: -2px;
  }

  .halloween-promo-right {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .halloween-code-chip {
    flex: 1;
    justify-content: center;
  }

  .halloween-claim-btn {
    flex-shrink: 0;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .halloween-promo-text {
    font-size: 0.815rem;
  }

  .halloween-badge {
    font-size: 0.7rem;
    padding: 3px 9px;
  }

  .halloween-code-chip {
    padding: 5px 8px;
    font-size: 0.775rem;
  }

  .halloween-code-val {
    font-size: 0.85rem;
  }

  .halloween-claim-btn {
    padding: 6px 10px;
    font-size: 0.775rem;
  }
}
