/* ═══════════════════════════════════════════════════════════════════════
   VividHome — CTA + Newsletter Section
   Split layout with gradient background
   ═══════════════════════════════════════════════════════════════════════ */

.vh-cta {
  position: relative;
  padding: var(--vh-section-py) 0;
  background: linear-gradient(135deg, #1A1715 0%, #2d2420 40%, #3b2f2f 100%);
  overflow: hidden;
}

/* Decorative gradient orb */
.vh-cta::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.vh-cta::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(219, 39, 119, 0.08) 0%, transparent 70%);
  bottom: -150px;
  left: -50px;
  pointer-events: none;
}


/* ── Grid ── */

.vh-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--vh-space-16);
  align-items: center;
  position: relative;
  z-index: 1;
}


/* ── Left: CTA ── */

.vh-cta__title {
  font-family: var(--vh-font-heading);
  font-size: clamp(2.5rem, 5vw, var(--vh-text-6xl));
  font-weight: var(--vh-weight-light);
  line-height: var(--vh-leading-tight);
  letter-spacing: var(--vh-tracking-tighter);
  color: var(--vh-white);
  margin-bottom: var(--vh-space-5);
}

.vh-cta__title em {
  font-style: normal;
  background: var(--vh-gradient-cta);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vh-cta__text {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-md);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--vh-leading-relaxed);
  margin-bottom: var(--vh-space-8);
  max-width: 420px;
}

.vh-cta__buttons {
  display: flex;
  gap: var(--vh-space-4);
  flex-wrap: wrap;
}

/* Large primary button */
.vh-btn--lg {
  padding: var(--vh-space-4) var(--vh-space-8);
  font-size: var(--vh-text-md);
}

/* Glass button for dark backgrounds */
.vh-btn--glass {
  display: inline-flex;
  align-items: center;
  gap: var(--vh-space-2);
  padding: var(--vh-space-3) var(--vh-space-7);
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  font-weight: var(--vh-weight-semibold);
  color: var(--vh-white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--vh-radius-full);
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--vh-duration-base) var(--vh-ease-out);
  cursor: pointer;
}

.vh-btn--glass:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}


/* ── Right: Newsletter card ── */

.vh-cta__nl-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--vh-radius-2xl);
  padding: var(--vh-space-10);
}

.vh-cta__nl-badge {
  display: inline-block;
  font-family: var(--vh-font-body);
  font-size: 0.65rem;
  font-weight: var(--vh-weight-bold);
  letter-spacing: var(--vh-tracking-widest);
  text-transform: uppercase;
  color: var(--vh-magenta);
  background: rgba(219, 39, 119, 0.15);
  padding: var(--vh-space-1) var(--vh-space-3);
  border-radius: var(--vh-radius-full);
  margin-bottom: var(--vh-space-5);
}

.vh-cta__nl-title {
  font-family: var(--vh-font-heading);
  font-size: var(--vh-text-2xl);
  font-weight: var(--vh-weight-regular);
  color: var(--vh-white);
  margin-bottom: var(--vh-space-3);
  letter-spacing: var(--vh-tracking-tight);
}

.vh-cta__nl-text {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: var(--vh-leading-relaxed);
  margin-bottom: var(--vh-space-6);
}

.vh-cta__nl-input-wrap {
  display: flex;
  gap: var(--vh-space-3);
}

.vh-cta__nl-input {
  flex: 1;
  padding: var(--vh-space-3) var(--vh-space-5);
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  color: var(--vh-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--vh-radius-full);
  outline: none;
  transition: border-color var(--vh-duration-fast) var(--vh-ease-out);
}

.vh-cta__nl-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.vh-cta__nl-input:focus {
  border-color: var(--vh-purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.vh-cta__nl-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--vh-space-2);
  padding: var(--vh-space-3) var(--vh-space-6);
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  font-weight: var(--vh-weight-semibold);
  color: var(--vh-white);
  background: var(--vh-gradient-cta);
  border: none;
  border-radius: var(--vh-radius-full);
  cursor: pointer;
  transition: all var(--vh-duration-base) var(--vh-ease-out);
  white-space: nowrap;
}

.vh-cta__nl-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--vh-shadow-brand);
}

.vh-cta__nl-msg {
  margin-top: var(--vh-space-3);
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  text-align: center;
  border-radius: var(--vh-radius-lg);
  padding: var(--vh-space-2) var(--vh-space-4);
}

.vh-cta__nl-msg--success {
  color: #34D399;
  background: rgba(52, 211, 153, 0.1);
}

.vh-cta__nl-msg--error {
  color: #F87171;
  background: rgba(248, 113, 113, 0.1);
}

.vh-cta__nl-gdpr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--vh-space-2);
  margin-top: var(--vh-space-5);
  font-family: var(--vh-font-body);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
}

.vh-cta__nl-gdpr svg {
  flex-shrink: 0;
  stroke: rgba(255, 255, 255, 0.35);
}


/* ── Responsive ── */

@media (max-width: 1023px) {
  .vh-cta__grid {
    grid-template-columns: 1fr;
    gap: var(--vh-space-10);
    text-align: center;
  }

  .vh-cta__text {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .vh-cta__buttons {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .vh-cta__nl-input-wrap {
    flex-direction: column;
  }

  .vh-cta__nl-btn {
    justify-content: center;
  }
}
