/* =========================================================================
   /ai — Webinar registration page styles
   Layout matches /keys. Update content-specific values (colors, copy)
   here as the /ai brand identity is finalized.
   ========================================================================= */

/* Base
----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { font-size: 19px; }

body {
  font-family: europa, "Helvetica Neue", Arial, sans-serif;
  font-size: 19px;
  line-height: 1.5;
  color: #272c35;
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}


/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, #7a9ba5 0%, #5a7882 50%, #3b4f5a 100%);
}

.hero-overlay {
  display: none; /* Not needed — gradient replaces the photo + dark overlay */
}

.hero-inner {
  position: relative;
  z-index: 10;
  max-width: 1152px;
  margin: 0 auto;
  padding: 40px 20px;
}

@media (min-width: 768px) {
  .hero-inner { padding: 64px 40px; }
}
@media (min-width: 1024px) {
  .hero-inner { padding: 80px 40px; }
}


/* Hero: Mobile layout */
.hero-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-mobile { display: none; }
}

.hero-mobile .hero-photo-wrap {
  position: relative;
  margin-bottom: 1.5rem;
}

.hero-mobile .hero-photo-wrap img.host-circle {
  width: 192px;
  height: 192px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.hero-mobile .hero-photo-wrap .badge-free {
  position: absolute;
  bottom: -4px;
  right: -12px;
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}


/* Hero: Desktop layout */
.hero-desktop {
  display: none;
}

@media (min-width: 768px) {
  .hero-desktop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
  }
}

.hero-desktop .hero-content {
  flex: 1;
  max-width: 560px;
  text-align: left;
}

.hero-desktop .hero-photo-wrap {
  position: relative;
  flex-shrink: 0;
}

.hero-desktop .hero-photo-wrap img.host-standing {
  height: 26rem;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 25px 50px rgba(0,0,0,0.25));
}

@media (min-width: 1024px) {
  .hero-desktop .hero-photo-wrap img.host-standing {
    height: 30rem;
  }
}

.hero-desktop .hero-photo-wrap .badge-free {
  position: absolute;
  bottom: 32px;
  right: 0;
  width: 96px;
  height: 96px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

@media (min-width: 1024px) {
  .hero-desktop .hero-photo-wrap .badge-free {
    width: 112px;
    height: 112px;
  }
}


/* Hero: Shared text styles */
.hero h1 {
  font-family: europa, "Helvetica Neue", Arial, sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  margin: 0 0 1rem;
}

@media (min-width: 768px) {
  .hero h1 { font-size: 38px; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 43px; }
}

.hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 19px;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.hero .hero-spots-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0.55rem 0 0;
  font-style: italic;
}

.hero .hero-attribution {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 1.5rem;
}

.hero .hero-attribution em {
  font-style: italic;
}


/* Event badge */
.event-badge {
  display: inline-flex;
  align-items: center;
  background: #e6271a;
  border-radius: 9999px;
  padding: 2px 12px;
  gap: 4px;
  margin-bottom: 1.25rem;
}

.event-badge .event-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.event-badge .event-date {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.event-badge.is-ondemand {
  background: rgba(255,255,255,0.15);
}


/* CTA Button */
.cta-btn {
  display: inline-block;
  background: #f4b02a;
  color: #000;
  font-family: europa, "Helvetica Neue", Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
  padding: 13.6px 40px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.cta-btn:hover {
  background: #e5a324;
  transform: scale(1.02);
}

/* Hide "Optional" labels in Demio popover form */
.Demio-Input-label-optional { display: none !important; }

/* Demio overrides to match CTA style */
.demio-embed-button {
  background: #f4b02a !important;
  border-radius: 9999px !important;
  padding: 13.6px 40px !important;
  min-width: 320px !important;
  white-space: nowrap !important;
}

.demio-embed-button span {
  color: #000 !important;
  font-family: europa, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.registration-submit-button {
  background: #f4b02a !important;
  border-radius: 9999px !important;
}

.registration-submit-button span {
  color: #000 !important;
  letter-spacing: 0 !important;
  font-size: 16px !important;
  text-transform: none !important;
}

/* Left-align Demio buttons in hero desktop, learn, and Why sections */
.hero-desktop .demio-embed-registration,
.section-learn .demio-embed-registration,
.section-why .demio-embed-registration {
  text-align: left !important;
}

.hero-desktop .demio-embed-registration .demio-embed-button,
.section-learn .demio-embed-registration .demio-embed-button,
.section-why .demio-embed-registration .demio-embed-button {
  margin-left: 0 !important;
  margin-right: auto !important;
}


/* =========================================================================
   LOGO BAR (Elfsight)
   ========================================================================= */
.logo-bar {
  background: #e8e4e0;
  padding: 24px 20px;
}

.logo-bar > div {
  max-width: 1152px;
  margin: 0 auto;
}


/* =========================================================================
   WHAT YOU'LL LEARN
   ========================================================================= */
.section-learn {
  background: #fff;
  padding: 64px 20px;
}

@media (min-width: 768px) {
  .section-learn { padding: 96px 40px; }
}

.section-learn .section-inner {
  max-width: 768px;
  margin: 0 auto;
  text-align: left;
}

.section-learn .section-pretitle {
  font-size: 22px;
  color: rgba(39, 44, 53, 0.7);
  margin-bottom: 1rem;
}

.section-learn h2 {
  font-family: europa, "Helvetica Neue", Arial, sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  color: #272c35;
  margin: 0 0 1.5rem;
}

@media (min-width: 768px) {
  .section-learn h2 { font-size: 48px; }
}

.section-learn .section-subtitle {
  font-size: 24px;
  font-weight: 700;
  color: #272c35;
  margin-bottom: 2rem;
}

.section-learn ul {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 640px;
  margin: 0 0 2.5rem;
}

.section-learn ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 19px;
  color: #272c35;
  line-height: 1.6;
}

.section-learn ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%234a5231'/%3E%3Cpath d='M5.5 10.5l3 3 6-6' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.section-learn .section-closer {
  font-size: 16px;
  font-weight: 400;
  color: rgba(39, 44, 53, 0.55);
  margin-bottom: 0.5rem;
}

.section-learn .section-closer-sub {
  font-size: 19px;
  font-weight: 700;
  color: #272c35;
  margin-bottom: 2rem;
}

.section-learn .learn-bonus {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: #eef2e6;
  border-left: 4px solid #4a5231;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  font-size: 17px;
  line-height: 1.6;
  color: #272c35;
  margin: 1.5rem 0 2rem;
  text-align: left;
}

.section-learn .learn-bonus .bonus-icon {
  flex-shrink: 0;
  font-size: 1.6rem;
  line-height: 1.4;
}

.section-learn .spots-note {
  font-size: 16px;
  color: rgba(39, 44, 53, 0.5);
  margin-top: 1rem;
}


/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
.section-testimonials {
  background: #efeeed;
  padding: 64px 16px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .section-testimonials { padding: 96px 32px; }
}

.section-testimonials .section-inner {
  max-width: 768px;
  margin: 0 auto;
  text-align: center;
}

.section-testimonials h2 {
  font-family: europa, "Helvetica Neue", Arial, sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  color: #272c35;
  margin: 0 0 2.5rem;
}

@media (min-width: 768px) {
  .section-testimonials h2 { font-size: 43px; }
}

/* Testimonial card */
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 36px 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  text-align: left;
}

@media (min-width: 768px) {
  .testimonial-card { padding: 48px 48px 40px; }
}

/* Blockquote */
.section-testimonials blockquote {
  font-size: 22px;
  font-style: normal;
  line-height: 1.6;
  color: #272c35;
  border: none;
  padding: 0;
  margin: 0 0 2rem;
}

@media (min-width: 768px) {
  .section-testimonials blockquote { font-size: 24px; }
}

/* Citation block */
.cite-block hr {
  border: none;
  border-top: 1.5px solid rgba(39, 44, 53, 0.15);
  margin: 0 0 1rem;
}

.cite-block {
  text-align: right;
}

.cite-name {
  font-size: 17px;
  font-weight: 700;
  color: #272c35;
}

.cite-title {
  font-size: 16px;
  font-weight: 400;
  color: rgba(39, 44, 53, 0.6);
  margin-top: 2px;
}

/* Carousel nav row (prev + indicators + next) */
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.section-testimonials .carousel-indicators {
  position: static;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-testimonials .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(39, 44, 53, 0.25);
  border: none;
  opacity: 1;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.section-testimonials .carousel-indicators .active {
  background-color: #4a5231;
  width: 24px;
  border-radius: 4px;
}

.section-testimonials .carousel-control-prev,
.section-testimonials .carousel-control-next {
  position: static;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(39, 44, 53, 0.25);
  background: transparent;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.section-testimonials .carousel-control-prev:hover,
.section-testimonials .carousel-control-next:hover {
  border-color: rgba(39, 44, 53, 0.5);
  opacity: 1;
}

.section-testimonials .carousel-control-prev-icon,
.section-testimonials .carousel-control-next-icon {
  width: 14px;
  height: 14px;
  filter: invert(1);
}


/* =========================================================================
   MEET YOUR HOST
   ========================================================================= */
.section-host {
  background: #e9e7e2;
  padding: 64px 16px;
  color: #fff;
}

@media (min-width: 768px) {
  .section-host { padding: 96px 32px; }
}

.section-host .section-inner {
  max-width: 768px;
  margin: 0 auto;
}

.section-host .host-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .section-host .host-layout {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 2.5rem;
  }
}

.section-host .host-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: none;
}

.section-host h2 {
  font-family: europa, "Helvetica Neue", Arial, sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  color: #272c35;
  margin: 0 0 1rem;
}

@media (min-width: 768px) {
  .section-host h2 { font-size: 38px; }
}

.section-host p {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(39, 44, 53, 0.85);
  margin: 0 0 1rem;
}


/* =========================================================================
   WHY THIS HOUR
   ========================================================================= */
.section-why {
  background: #fff;
  padding: 80px 20px;
}

@media (min-width: 768px) {
  .section-why { padding: 112px 40px; }
}

.section-why .section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-why .why-layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .section-why .why-layout {
    flex-direction: row;
    gap: 4rem;
    align-items: center;
  }
}

.section-why .why-text {
  flex: 1;
  text-align: left;
}

.section-why .why-image {
  flex: 1;
  max-width: 336px;
}

.section-why .why-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.section-why h2 {
  font-family: europa, "Helvetica Neue", Arial, sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  color: #272c35;
  margin: 0 0 1.5rem;
}

@media (min-width: 768px) {
  .section-why h2 { font-size: 48px; }
}

.section-why p {
  font-size: 19px;
  line-height: 1.7;
  color: #272c35;
  margin: 0 0 1.25rem;
}

.section-why .spots-note {
  font-size: 16px;
  font-style: italic;
  color: rgba(39, 44, 53, 0.5);
  margin-top: 0.75rem;
}


/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background: #181616;
  padding: 40px 16px;
  text-align: center;
}

.site-footer .footer-logo {
  margin-bottom: 1.5rem;
}

.site-footer .footer-logo img {
  height: 32px;
  width: auto;
  opacity: 0.85;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.site-footer nav a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 16px;
}

.site-footer nav a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.site-footer .copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 767px) {
  .site-footer { padding-bottom: 80px; }
}


/* =========================================================================
   STICKY MOBILE CTA
   ========================================================================= */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 16px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

@media (min-width: 768px) {
  .sticky-cta { display: none; }
}

/* Hide demio buttons in sections on mobile (sticky handles it) */
@media (max-width: 767px) {
  .hero .demio-embed-registration,
  .section-learn .demio-embed-registration,
  .section-why .demio-embed-registration {
    display: none;
  }
}

/* Demio on-demand/scheduled toggles */
.demio-hide-ondemand .items .item.scheduled { display: none; }
.demio-hide-scheduled .items .item:not(.scheduled) { display: none; }
.demio-hide-scheduled .items .item.running { display: block; }
