/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

/* Scope variables to the widget container wrapper */
{{WRAPPER}} .cn-hero-section {
  --teal:         #5FC2BE;
  --navy:         #1F3F5B;
  --cta:          #00C2A8;
  --cta-dark:     #00a891;
  --off-white:    #F5F7F8;
  --text-muted:   #5a7388;
  --border:       #dce8ef;
  --shadow-card:  0 8px 40px rgba(31,63,91,0.12);
  --gradient:     linear-gradient(135deg,#5FC2BE 0%,#1F3F5B 100%);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
}

{{WRAPPER}} .cn-hero-section *,
{{WRAPPER}} .cn-hero-section *::before,
{{WRAPPER}} .cn-hero-section *::after {
  box-sizing: border-box;
}

{{WRAPPER}} .cn-hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--off-white);
  font-family: var(--font-body);
  color: var(--navy);
}

{{WRAPPER}} .cn-hero-section .cn-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,#edf6f6 0%,#f5f7f8 40%,#e8f4f4 100%);
  z-index: 0;
}

{{WRAPPER}} .cn-hero-section .cn-hero-blob {
  position: absolute;
  right: -10%;
  top: 5%;
  width: 600px;
  height: 600px;
  background: var(--gradient);
  border-radius: 40% 60% 70% 30% / 30% 50% 50% 70%;
  opacity: 0.12;
  animation: cn-blob-drift-33d83be3 8s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes cn-blob-drift-33d83be3 {
  0%,100% { transform: rotate(0deg) scale(1); }
  50%      { transform: rotate(15deg) scale(1.05); }
}

{{WRAPPER}} .cn-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  position: relative;
  z-index: 2;
}

{{WRAPPER}} .cn-hero-content {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 80px 0;
  text-align: center;
}

{{WRAPPER}} .cn-hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

{{WRAPPER}} .cn-hero-eyebrow-line {
  width: 40px;
  height: 2px;
  background: var(--teal);
  flex-shrink: 0;
}

{{WRAPPER}} .cn-hero-eyebrow span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  font-family: var(--font-body);
}

{{WRAPPER}} .cn-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 20px;
}

{{WRAPPER}} .cn-hero-headline em {
  font-style: normal;
  color: var(--teal);
}

{{WRAPPER}} .cn-hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 780px;
  font-family: var(--font-body);
  margin-left: auto;
  margin-right: auto;
}

{{WRAPPER}} .cn-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

{{WRAPPER}} .cn-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cta);
  color: #fff !important;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(0,194,168,0.35);
  line-height: 1;
}

{{WRAPPER}} .cn-btn-primary:hover {
  background: var(--cta-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,194,168,0.45);
  color: #fff !important;
}

{{WRAPPER}} .cn-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--navy) !important;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 50px;
  border: 2px solid var(--navy);
  cursor: pointer;
  text-decoration: none !important;
  transition: all .2s;
  line-height: 1;
}

{{WRAPPER}} .cn-btn-outline:hover {
  background: var(--navy);
  color: #fff !important;
}

{{WRAPPER}} .cn-btn-outline i,
{{WRAPPER}} .cn-btn-outline svg {
  color: var(--navy);
  fill: currentColor;
  transition: color .2s;
}

{{WRAPPER}} .cn-btn-outline:hover i,
{{WRAPPER}} .cn-btn-outline:hover svg {
  color: #ffffff;
}

{{WRAPPER}} .cn-hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  justify-content: center;
}

{{WRAPPER}} .cn-hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

{{WRAPPER}} .cn-hero-stat-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Scroll Reveal */
{{WRAPPER}} .cn-hero-section [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

{{WRAPPER}} .cn-hero-section [data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

{{WRAPPER}} .cn-hero-section [data-reveal-delay="1"] { transition-delay: .1s; }
{{WRAPPER}} .cn-hero-section [data-reveal-delay="2"] { transition-delay: .2s; }
{{WRAPPER}} .cn-hero-section [data-reveal-delay="3"] { transition-delay: .3s; }
{{WRAPPER}} .cn-hero-section [data-reveal-delay="4"] { transition-delay: .4s; }

@media (max-width: 768px) {
  {{WRAPPER}} .cn-hero-content {
    padding: 64px 0 52px;
  }
  {{WRAPPER}} .cn-hero-stats {
    gap: 24px;
  }
  {{WRAPPER}} .cn-hero-desc {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  {{WRAPPER}} .cn-hero-actions {
    flex-direction: column;
    align-items: center;
  }
  {{WRAPPER}} .cn-btn-primary,
  {{WRAPPER}} .cn-btn-outline {
    width: 100%;
    justify-content: center;
  }
  {{WRAPPER}} .cn-hero-stats {
    gap: 20px;
  }
  {{WRAPPER}} .cn-hero-headline {
    font-size: 2.2rem;
  }
}
