:root {
  --bg: #07080c;
  --bg2: #0e1118;
  --card: #141924;
  --text: #eef1f7;
  --muted: #8b93a7;
  --accent: #6ee0c4;
  --accent2: #7aa2ff;
  --warn: #ffb454;
  --line: rgba(126, 160, 255, 0.18);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --font: "Century Gothic", "Trebuchet MS", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(106, 224, 196, 0.12), transparent 55%),
    radial-gradient(700px 420px at 5% 20%, rgba(122, 162, 255, 0.14), transparent 50%),
    var(--bg);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
.wrap { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }

.demo-banner {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.03em;
  padding: 8px 12px;
  background: #12161f;
  color: #aeb6c9;
  border-bottom: 1px solid var(--line);
}

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.logo {
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--accent);
}
.nav { display: flex; gap: 16px; color: var(--muted); font-size: 14px; }
.nav a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(120deg, var(--accent), #4ec4d9);
  color: #061018;
  font-weight: 750;
  cursor: pointer;
  font: inherit;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  padding: 48px 0 56px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8,10,18,0.92) 0%, rgba(8,10,18,0.72) 50%, rgba(8,10,18,0.5) 100%),
    url("assets/webinar-hero.jpg") center / cover no-repeat;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 36px; }
}

.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: rgba(20, 25, 36, 0.8);
  color: var(--muted);
}
.badge.live {
  color: #062018;
  background: var(--accent);
  border-color: transparent;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5.5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 18px);
  max-width: 36em;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.meta li {
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.meta strong { color: var(--text); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.speaker-card {
  background: linear-gradient(160deg, rgba(122,162,255,0.12), transparent 45%), var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.portrait {
  aspect-ratio: 1;
  border-radius: 18px;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0d121c;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.speaker-card h3 { margin: 0 0 4px; font-size: 20px; }
.speaker-card .role { margin: 0 0 14px; color: var(--muted); font-size: 14px; }

.timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.timer div {
  text-align: center;
  padding: 10px 6px;
  border-radius: 12px;
  background: #0b0f17;
  border: 1px solid var(--line);
}
.timer b {
  display: block;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.timer span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

.section { padding: 56px 0; }
.section.alt { background: color-mix(in srgb, var(--bg2) 80%, transparent); }
.section h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3.4vw, 34px);
}
.section-lead {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 40em;
}

.cards {
  display: grid;
  gap: 14px;
}
@media (min-width: 760px) {
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .cards.two { grid-template-columns: repeat(2, 1fr); }
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); transform: translateY(-2px); }
.card-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 12px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

.program {
  display: grid;
  gap: 12px;
}
.program-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.program-item .n {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(110, 224, 196, 0.12);
  color: var(--accent);
}
.program-item h3 { margin: 0 0 4px; font-size: 17px; }
.program-item p { margin: 0; color: var(--muted); font-size: 14px; }

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.fact {
  padding: 8px 12px;
  border-radius: 999px;
  background: #0b0f17;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.fact strong { color: var(--text); }

.speaker-block {
  display: grid;
  gap: 22px;
  align-items: center;
}
@media (min-width: 800px) {
  .speaker-block { grid-template-columns: 0.8fr 1.2fr; }
}
.speaker-photo {
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #12161f;
  box-shadow: var(--shadow);
}
.speaker-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 8px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

.bonus {
  display: grid;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid color-mix(in srgb, var(--warn) 35%, var(--line));
  background:
    radial-gradient(500px 200px at 100% 0%, rgba(255,180,84,0.14), transparent 55%),
    var(--card);
}
@media (min-width: 800px) {
  .bonus { grid-template-columns: 88px 1fr auto; }
}
.bonus-icon {
  width: 72px;
  height: 72px;
  color: var(--warn);
}
.bonus h3 { margin: 0 0 6px; font-size: 22px; }
.bonus p { margin: 0; color: var(--muted); }

.form-box {
  display: grid;
  gap: 22px;
  padding: 26px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
@media (min-width: 860px) {
  .form-box { grid-template-columns: 1fr 1.05fr; }
}
.form { display: grid; gap: 12px; }
.form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0b0f17;
  color: var(--text);
  font: inherit;
}
.consent {
  display: grid !important;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}
.consent input { width: auto; margin-top: 3px; }
.consent a { color: var(--accent); text-decoration: underline; }
.form-note { margin: 0; font-size: 13px; color: var(--muted); }
.form-note.ok { color: var(--accent); font-weight: 700; }

.final {
  text-align: center;
  padding: 48px 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(122,162,255,0.1), transparent), var(--card);
}
.final h2 { margin: 0 0 10px; }
.final p { margin: 0 0 18px; color: var(--muted); }

.footer {
  padding: 28px 0 100px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}
.footer a { color: var(--accent); }

.float-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  box-shadow: var(--shadow);
  animation: pulseSoft 2.4s ease-in-out infinite;
}
.float-cta[hidden] { display: none; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 6, 10, 0.72);
}
.modal[hidden] { display: none; }
.modal-card {
  width: min(420px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.modal-card h3 { margin: 0 0 8px; }
.modal-card p { margin: 0 0 16px; color: var(--muted); }

@keyframes pulseSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .timer { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .timer b { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-cta { animation: none; }
}
