/* =========================================
   LETI — Bepul vebinar page styles
   Built on top of styles.css + bepul.css + bepul-material.css
   ========================================= */

/* =========================================
   HERO OVERRIDES
   ========================================= */
.wb-hero .lm-offer__title { margin-bottom: 16px; }

/* LIVE tag */
.wb-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.wb-live-tag__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF4D7E;
  box-shadow: 0 0 0 3px rgba(255, 77, 126, 0.3);
  animation: wb-live-pulse 1.6s infinite;
}
@keyframes wb-live-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255, 77, 126, 0.3); }
  50%      { box-shadow: 0 0 0 8px rgba(255, 77, 126, 0); }
}

/* DATE / TIME cards */
.wb-datetime {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.wb-datetime__item {
  padding: 14px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wb-datetime__label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.wb-datetime__item strong {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-top: 2px;
}
.wb-datetime__item small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* COUNTDOWN */
.wb-countdown {
  padding: 16px 18px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.wb-countdown__label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}
.wb-countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  flex: 1;
  min-width: 260px;
}
.wb-countdown__cell {
  text-align: center;
  padding: 10px 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wb-countdown__cell strong {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.wb-countdown__cell small {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* =========================================
   SPEAKER
   ========================================= */
.wb-speaker {
  padding: 100px 0;
  background: var(--bg);
}
.wb-speaker__card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: center;
  padding: 36px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  max-width: 980px;
  margin: 0 auto;
}
.wb-speaker__photo {
  width: 240px;
  height: 240px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.wb-speaker__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 77, 126, 0.4), transparent 60%);
}
.wb-speaker__photo-fallback {
  position: relative;
  z-index: 1;
  font-size: 96px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
}
.wb-speaker__head {
  margin-bottom: 14px;
}
.wb-speaker__head h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.wb-speaker__role {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  padding: 4px 10px;
  background: var(--brand-pale);
  border-radius: var(--radius-full);
}
.wb-speaker__bio {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}
.wb-speaker__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
}
.wb-speaker__fact strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 4px;
}
.wb-speaker__fact small {
  font-size: 12.5px;
  color: var(--text-secondary);
}

/* =========================================
   PROGRAM / AGENDA
   ========================================= */
.wb-program {
  padding: 100px 0;
  background: var(--bg-light);
}
.wb-program__list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.wb-program__list::before {
  content: "";
  position: absolute;
  left: 56px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(139, 15, 62, 0.2) 0 6px,
    transparent 6px 12px
  );
  z-index: 0;
}
.wb-program__item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.wb-program__item:hover {
  border-color: rgba(139, 15, 62, 0.25);
  box-shadow: var(--shadow-sm);
}
.wb-program__item--qa {
  background: linear-gradient(180deg, #fff 0%, var(--brand-pale) 100%);
  border-color: var(--brand);
}
.wb-program__time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  background: var(--brand-pale);
  color: var(--brand);
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  align-self: flex-start;
}
.wb-program__item--qa .wb-program__time {
  background: var(--brand);
  color: #fff;
}
.wb-program__body h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.wb-program__body p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 10px;
}
.wb-program__dur {
  display: inline-block;
  padding: 3px 10px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}
.wb-program__item--qa .wb-program__dur {
  background: #fff;
  border-color: var(--brand);
  color: var(--brand);
}

/* =========================================
   FOR WHOM (bg override for better flow)
   ========================================= */
.wb-for { background: var(--bg); }

/* =========================================
   WHAT YOU GET (dark block)
   ========================================= */
.wb-get {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #1A0A14 0%, var(--brand-dark) 100%);
  color: #fff;
  overflow: hidden;
}
.wb-get::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 77, 126, 0.18), transparent 42%),
    radial-gradient(circle at 5% 95%, rgba(184, 20, 90, 0.22), transparent 45%);
  pointer-events: none;
}
.wb-get .container { position: relative; z-index: 1; }

.wb-get__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.wb-get__card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}
.wb-get__card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}
.wb-get__card--accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--brand-light) 100%);
  border-color: transparent;
}
.wb-get__card--accent:hover {
  background: linear-gradient(135deg, var(--accent) 0%, var(--brand-light) 100%);
  box-shadow: 0 16px 40px rgba(255, 77, 126, 0.35);
}
.wb-get__icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  font-size: 26px;
  margin-bottom: 16px;
}
.wb-get__card--accent .wb-get__icon {
  background: rgba(255, 255, 255, 0.25);
}
.wb-get__card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 8px;
}
.wb-get__card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
}
.wb-get__card--accent p { color: rgba(255, 255, 255, 0.9); }

/* =========================================
   FORM: select field
   ========================================= */
.lm-form__select {
  padding: 14px 16px;
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: var(--font);
  color: var(--text-primary);
  transition: all var(--transition);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'><path d='M4 6l4 4 4-4' stroke='%238B8096' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.lm-form__select:focus {
  outline: none;
  border-color: var(--brand);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(139, 15, 62, 0.08);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .wb-datetime { grid-template-columns: repeat(2, 1fr); }
  .wb-countdown { flex-direction: column; align-items: stretch; }
  .wb-countdown__grid { min-width: 0; }

  .wb-speaker__card { grid-template-columns: 1fr; text-align: center; padding: 28px; }
  .wb-speaker__photo { margin: 0 auto; }
  .wb-speaker__role { margin-bottom: 0; }

  .wb-get__grid { grid-template-columns: repeat(2, 1fr); }

  .wb-program__list::before { left: 40px; }
  .wb-program__item { grid-template-columns: 80px 1fr; gap: 14px; padding: 18px; }
}

@media (max-width: 640px) {
  .wb-datetime { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .wb-datetime__item { padding: 12px 10px; }
  .wb-datetime__item strong { font-size: 16px; }

  .wb-countdown { padding: 14px; gap: 12px; }
  .wb-countdown__cell strong { font-size: 18px; }
  .wb-countdown__grid { gap: 6px; }

  .wb-speaker,
  .wb-program,
  .wb-get,
  .wb-final { padding: 56px 0; }

  .wb-speaker__photo { width: 140px; height: 140px; }
  .wb-speaker__photo-fallback { font-size: 56px; }
  .wb-speaker__head h3 { font-size: 20px; }
  .wb-speaker__facts { grid-template-columns: 1fr; gap: 12px; }

  .wb-program__list::before { display: none; }
  .wb-program__item { grid-template-columns: 1fr; gap: 10px; padding: 16px 18px; }
  .wb-program__time { align-self: flex-start; padding: 6px 14px; }

  .wb-get__grid { grid-template-columns: 1fr; }
  .wb-get__card { padding: 22px 18px; }

  .wb-final h2 { font-size: clamp(22px, 6vw, 28px); }
  .wb-final__cta { width: 100%; justify-content: center; }

  .wb-hero .lm-offer__title { font-size: clamp(26px, 7vw, 34px); line-height: 1.15; }
  .wb-hero .lm-offer__sub { font-size: 15px; }
  .wb-live-tag { font-size: 11px; padding: 5px 12px; }
}

@media (max-width: 420px) {
  .wb-datetime { grid-template-columns: 1fr; }
  .wb-countdown__grid { flex-wrap: wrap; justify-content: center; }
  .wb-hero .lm-offer__title { font-size: 22px; }
}
