:root {
  --bg-dark: #123c49;
  --bg-dark-2: #175267;
  --accent: #2e95b3;
  --accent-light: #85badb;
  --text-light: #f2f7fa;
  --text-muted: rgba(242, 247, 250, 0.72);
  --bg-cream: #f2f7fa;
  --bg-white: #ffffff;
  --text-dark: #14323d;
  --text-dark-muted: #52707c;
  --border-soft: rgba(242, 247, 250, 0.16);
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.5;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; }

h1, h2, h3 { font-family: var(--font-display); margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(46, 149, 179, 0.55);
}
.btn-primary:hover { background: #24788f; }

.btn-outline {
  border-color: rgba(242, 247, 250, 0.4);
  color: var(--text-light);
}
.btn-outline:hover { border-color: var(--accent-light); color: var(--accent-light); }

.btn-block { width: 100%; }

/* ---------- Shared section bits ---------- */
.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 10px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 18px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 85% 0%, var(--bg-dark-2), var(--bg-dark) 60%);
  color: var(--text-light);
  padding: 72px 0 96px;
  overflow: hidden;
}

.hero-bg-photo {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.16;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

.hero-decor {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 75% 20%, black, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.meta-line {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0 0 20px;
  font-size: 0.9rem;
}
.meta-label {
  color: var(--accent-light);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-right: 6px;
}

.hero-title {
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: 20px;
}
.hero-title-accent {
  display: block;
  color: var(--accent-light);
  font-style: italic;
  font-weight: 500;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: 30px;
}
.hero-sub strong { color: var(--text-light); }

.countdown-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-light);
  margin: 0 0 12px;
}

.countdown {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}
.countdown-unit {
  min-width: 64px;
  text-align: center;
  padding: 12px 6px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}
.countdown-unit span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}
.countdown-unit small {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero .countdown-unit {
  background: var(--bg-white);
  border-color: var(--bg-white);
}
.hero .countdown-unit span { color: var(--text-dark); }
.hero .countdown-unit small { color: var(--text-dark-muted); }

/* ---------- Hero right panel (video + form) ---------- */
.hero-panel {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
  transition: box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-panel:hover {
  box-shadow: 0 16px 32px -14px rgba(0, 0, 0, 0.3);
}

.video-placeholder {
  position: relative;
  background-image: linear-gradient(rgba(14, 53, 66, 0.55), rgba(14, 53, 66, 0.78)), url('assets/video-thumb.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 14px;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}
.video-tag {
  position: absolute;
  top: 12px;
  left: 14px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.video-hint {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px -6px rgba(46, 149, 179, 0.6);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.play-btn:hover { transform: scale(1.08); }
.play-btn:active { transform: scale(0.95); }

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.signup-form[hidden] {
  display: none;
}
.signup-form label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-dark-muted);
  margin-top: 8px;
}
.signup-form input {
  padding: 13px 14px;
  border-radius: 10px;
  border: 1.5px solid #d7e3e8;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--bg-cream);
  transition: border-color 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}
.signup-form input:focus {
  outline: none;
  border-color: var(--accent);
}
.signup-form .btn { margin-top: 16px; }
.form-note {
  font-size: 0.72rem;
  color: var(--text-dark-muted);
  text-align: center;
  margin: 10px 0 0;
}

.signup-success {
  text-align: center;
  padding: 30px 10px;
}
.signup-success h3 { font-size: 1.3rem; margin-bottom: 8px; }
.signup-success p { color: var(--text-dark-muted); margin: 0; }

/* ---------- Benefits ---------- */
.benefits {
  background: var(--bg-cream);
  padding: 96px 0;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 32px;
  row-gap: 48px;
}

.benefit-card {
  border-left: 1px solid #d7e3e8;
  padding-left: 20px;
}
.benefit-num {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}
.benefit-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}
.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-dark-muted);
  line-height: 1.5;
  margin: 0;
}

/* ---------- Schedule ---------- */
.schedule { position: relative; padding: 100px 0; }

.schedule-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
}

.schedule-photo {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 420px;
  pointer-events: none;
}
.schedule-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.schedule-text {
  color: var(--text-dark-muted);
  margin-bottom: 30px;
  max-width: 44ch;
}

.schedule .countdown-unit {
  border-color: #dbe7ec;
  background: var(--bg-cream);
  color: var(--text-dark);
}
.schedule .countdown-unit small { color: var(--text-dark-muted); }
.schedule .countdown-label { color: var(--accent); }

.timeline {
  border-left: 2px solid #dbe7ec;
  padding-left: 34px;
  position: relative;
}

.timeline-head {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 26px;
}
.timeline-head .webinar-time,
.timeline-start { color: var(--accent); }

.timeline-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  margin-bottom: 30px;
  position: relative;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.timeline-time {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.timeline-item h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.timeline-item ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline-item li {
  font-size: 0.88rem;
  color: var(--text-dark-muted);
  padding-left: 16px;
  position: relative;
  margin-bottom: 4px;
}
.timeline-item li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.timeline-end {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  margin-top: 10px;
}

/* ---------- Speaker ---------- */
.speaker {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 100px 0;
  overflow: hidden;
}

.speaker-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 56px;
  align-items: center;
}

.speaker-photo {
  aspect-ratio: 4 / 5;
  transform: perspective(1400px) rotateY(8deg) rotateX(3deg);
  transform-style: preserve-3d;
}
.speaker-photo-frame {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--accent), #123c49 130%);
  box-shadow: 0 30px 60px rgba(9, 26, 32, 0.5);
  transition: box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.speaker-photo:hover .speaker-photo-frame {
  box-shadow: 0 16px 32px rgba(9, 26, 32, 0.35);
}
.speaker-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
}

.speaker-name {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.speaker-role {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}
.speaker-headline {
  color: var(--accent-light);
  font-weight: 600;
  margin-bottom: 16px;
}
.speaker-bio {
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 62ch;
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 26, 31, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.is-open {
  opacity: 1;
}
.modal-overlay[hidden] {
  display: none;
}
.modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--bg-white);
  border-radius: 20px;
  padding: 36px 32px 28px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.5);
  transform: scale(0.94) translateY(10px);
  filter: blur(4px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.is-open .modal-card {
  transform: scale(1) translateY(0);
  filter: blur(0);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--bg-cream);
  color: var(--text-dark-muted);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s cubic-bezier(0.16, 1, 0.3, 1), transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-close:hover { color: var(--text-dark); }
.modal-close:active { transform: scale(0.9); }
.modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  padding-right: 24px;
}
.modal-sub {
  color: var(--text-dark-muted);
  font-size: 0.92rem;
  margin-bottom: 22px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark-2);
  color: var(--text-muted);
  padding: 26px 0;
  font-size: 0.82rem;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid,
  .schedule-grid,
  .speaker-grid {
    grid-template-columns: 1fr;
  }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .speaker-photo { max-width: 320px; margin: 0 auto; }

  /* Absolutely-positioned corner image only reads as intentional in the
     two-column desktop layout; on a stacked single column it overlaps text. */
  .schedule-photo {
    display: none;
  }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .countdown-unit { min-width: 56px; }
  .hero { padding: 56px 0 70px; }
  .benefits, .schedule, .speaker { padding: 64px 0; }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(4px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
