/* ==========================================================================
   INNOVEL AI WEBINAR — LANDING PAGE STYLES
   Pixel-perfect design matching reference design image
   ========================================================================== */

:root {
  --red: #e51829;
  --red-hover: #cf0e1e;
  --red-dark: #b30010;
  --red-light: #fff0f2;
  --red-border: #ffe8e8;
  --pink-card: #fff8f8;
  --ink: #111827;
  --ink-secondary: #1f2937;
  --muted: #4b5563;
  --muted-light: #64748b;
  --line: #eaedf2;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --shadow-card: 0 12px 36px rgba(16, 28, 43, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.03);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    sans-serif;
  color: var(--ink);
  background-color: #ffffff;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   SITE HEADER
   -------------------------------------------------------------------------- */
.site-header {
  height: 76px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #f1f3f7;
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 42px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-secondary);
}

.nav-links > a:not(.nav-cta) {
  transition: color 0.15s ease;
}

.nav-links > a:not(.nav-cta):hover {
  color: var(--red);
}

.nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(229, 24, 41, 0.25);
  transition:
    background-color 0.15s ease,
    transform 0.15s ease;
}

.nav-cta:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 26px;
  color: var(--ink);
  cursor: pointer;
  padding: 4px;
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
    circle at 65% 45%,
    #ffebed 0%,
    #fffbfc 45%,
    #ffffff 80%
  );
  min-height: 520px;
}

/* Hero Background Graphics */
.hero-bg-graphics {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-contour-svg {
  position: absolute;
  left: -40px;
  top: 0;
  width: 480px;
  height: 520px;
  opacity: 0.65;
}

.hero-cityscape {
  position: absolute;
  bottom: 0;
  left: 28%;
  width: 46%;
  height: 180px;
  background:
    linear-gradient(to top, rgba(255, 235, 238, 0.7) 0%, transparent 100%),
    repeating-linear-gradient(90deg, #ffd9dc 0 2px, transparent 2px 28px);
  opacity: 0.45;
  clip-path: polygon(
    0 80%,
    4% 80%,
    4% 55%,
    8% 55%,
    8% 70%,
    12% 70%,
    12% 38%,
    18% 38%,
    18% 74%,
    24% 74%,
    24% 20%,
    30% 20%,
    30% 65%,
    36% 65%,
    36% 45%,
    42% 45%,
    42% 75%,
    48% 75%,
    48% 30%,
    54% 30%,
    54% 68%,
    60% 68%,
    60% 15%,
    66% 15%,
    66% 58%,
    72% 58%,
    72% 40%,
    78% 40%,
    78% 72%,
    84% 72%,
    84% 25%,
    90% 25%,
    90% 60%,
    96% 60%,
    96% 82%,
    100% 82%,
    100% 100%,
    0 100%
  );
}

.hero-orbit-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 215, 220, 0.6) 0%,
    rgba(255, 235, 238, 0) 70%
  );
  right: 24%;
  top: 10px;
  filter: blur(20px);
}

.hero-right-glow {
  position: absolute;
  width: 320px;
  height: 380px;
  right: 0;
  top: 0;
  background: radial-gradient(
    circle at 100% 30%,
    rgba(255, 225, 230, 0.4) 0%,
    transparent 70%
  );
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr 340px;
  gap: 16px;
  align-items: center;
  min-height: 520px;
  padding-block: 38px 46px;
}

/* Left: Hero Copy */
.hero-copy {
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--red);
  margin-bottom: 12px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(229, 24, 41, 0.25);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(229, 24, 41, 0.25);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(229, 24, 41, 0.12);
  }
}

.hero h1 {
  font-size: clamp(38px, 4.4vw, 54px);
  line-height: 1.04;
  letter-spacing: -2px;
  margin: 0 0 10px;
  font-weight: 800;
  color: var(--ink);
}

.hero-title-red {
  color: var(--red);
}

.hero h2 {
  font-size: clamp(20px, 2.1vw, 25px);
  letter-spacing: -0.6px;
  line-height: 1.2;
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--ink);
}

.hero-description {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 440px;
  margin: 0 0 22px;
}

/* 2x2 Meta Grid */
.event-meta {
  display: grid;
  grid-template-columns: max-content max-content;
  gap: 10px;
  margin-bottom: 24px;
}

.event-meta > div {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 13.5px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.meta-icon {
  color: var(--red);
  flex-shrink: 0;
}

.event-meta b {
  font-weight: 700;
  color: var(--ink);
}

/* Actions */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}

.btn span {
  margin-left: 8px;
}

.btn-red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(229, 24, 41, 0.25);
}

.btn-red:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: #d1d5db;
  background: var(--white);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: #9ca3af;
  background: #f9fafb;
  transform: translateY(-1px);
}

/* Center: Robot Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  max-height: 470px;
  align-self: end;
  z-index: 1;
}

.hero-robot-img {
  max-height: 460px;
  width: auto;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 15px 30px rgba(229, 24, 41, 0.08));
}

/* Right: Form Card */
.register-card {
  z-index: 3;
  background: var(--white);
  padding: 24px 20px;
  border: 1px solid #eef0f4;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  width: 100%;
  max-width: 340px;
  justify-self: end;
}

.register-card h3 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--ink);
  margin: 0 0 3px;
}

.register-card > p {
  font-size: 13px;
  color: var(--muted-light);
  margin: 0 0 16px;
}

.field {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  margin-bottom: 10px;
  min-height: 48px;
  background: var(--white);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
  cursor: text;
}

.field:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229, 24, 41, 0.08);
}

.field-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  flex-shrink: 0;
}

.field-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.field-label {
  font-size: 11px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.1;
  margin-bottom: 2px;
}

.field input,
.field select {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 13.5px;
  font-weight: 500;
  padding: 0;
  font-family: inherit;
}

.field input::placeholder {
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 400;
}

.select-field {
  cursor: pointer;
}

.select-field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.field-chevron {
  color: #94a3b8;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.submit-btn {
  width: 100%;
  margin-top: 4px;
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px;
}

.form-note {
  display: block;
  text-align: center;
  color: var(--muted-light);
  font-size: 12px;
  margin-top: 11px;
  line-height: 1.4;
}

.form-result {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--red-light);
  border: 1px solid var(--red-border);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.5;
}

.form-result[hidden] {
  display: none;
}

.form-result strong {
  color: var(--red);
  display: block;
  margin-bottom: 4px;
}

.form-result .result-id {
  margin: 2px 0 6px;
  color: var(--ink);
}

.form-result .result-id b {
  letter-spacing: 0.4px;
}

.form-result span {
  display: block;
  color: var(--muted);
}

.submit-btn .spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: -2px;
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   SHARED SECTION STYLES
   -------------------------------------------------------------------------- */
.section {
  padding: 44px 0;
}

.section-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--red);
  text-transform: uppercase;
}

.section-heading {
  text-align: center;
  margin-bottom: 26px;
}

.section-heading h2 {
  font-size: clamp(25px, 2.8vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin: 4px 0 0;
  font-weight: 800;
  color: var(--ink);
}

.text-red {
  color: var(--red);
}

/* --------------------------------------------------------------------------
   WHY THIS WEBINAR MATTERS
   -------------------------------------------------------------------------- */
.why-section {
  padding-top: 48px;
  padding-bottom: 30px;
}

.why-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 34px;
}

.why-intro-copy h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.12;
  letter-spacing: -1px;
  margin: 8px 0 12px;
  font-weight: 800;
  color: var(--ink);
}

.why-intro-copy p {
  max-width: 580px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Attendee Illustration & Doodles */
.thinking-visual {
  position: relative;
  height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.thinking-image {
  height: 185px;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.doodle-bubble {
  position: absolute;
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.doodle-bubble::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 20px;
  width: 8px;
  height: 8px;
  background: var(--white);
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  transform: rotate(45deg);
}

.doodle-top-left {
  top: 14px;
  left: 14%;
}

.doodle-top-right {
  top: 8px;
  right: 22%;
}

.doodle-mid-right {
  top: 70px;
  right: 8%;
}

.doodle-symbol {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.doodle-question {
  top: 38px;
  right: 36%;
  font-size: 28px;
  font-weight: 700;
  color: #94a3b8;
  font-family: cursive, sans-serif;
  transform: rotate(-8deg);
}

.doodle-chart {
  bottom: 24px;
  left: 12%;
}

.doodle-bulb {
  bottom: 12px;
  right: 12%;
}

/* Benefit Grid */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.benefit {
  background: var(--pink-card);
  border: 1px solid var(--red-border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  min-height: 165px;
}

.benefit-icon {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.benefit h3 {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 0 0 5px;
  color: var(--ink);
}

.benefit p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

/* --------------------------------------------------------------------------
   WHAT YOU'LL LEARN
   -------------------------------------------------------------------------- */
.learn-section {
  padding-top: 26px;
  padding-bottom: 32px;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.learn-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  padding: 24px 18px 22px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.round-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 6px 16px rgba(229, 24, 41, 0.25);
}

.learn-card h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 5px;
  color: var(--ink);
}

.learn-card p {
  font-size: 13px;
  color: var(--muted-light);
  line-height: 1.45;
  margin: 0;
  max-width: 220px;
}

/* --------------------------------------------------------------------------
   WEBINAR HIGHLIGHTS / KEY TOPICS
   -------------------------------------------------------------------------- */
.topics-section {
  padding-top: 18px;
  padding-bottom: 36px;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.topic {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 80px;
  box-shadow: var(--shadow-sm);
}

.topic-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
}

.topic-content h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 3px;
  color: var(--ink);
}

.topic-content p {
  font-size: 13px;
  color: var(--muted-light);
  line-height: 1.4;
  margin: 0;
}

/* --------------------------------------------------------------------------
   WHO SHOULD JOIN
   -------------------------------------------------------------------------- */
.audience-section {
  padding-top: 18px;
  padding-bottom: 46px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.audience-card {
  background: var(--pink-card);
  border: 1px solid var(--red-border);
  border-radius: var(--radius-md);
  text-align: center;
  padding: 24px 18px 22px;
  min-height: 170px;
}

.audience-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  margin-bottom: 12px;
}

.audience-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin: 0 0 5px;
  color: var(--ink);
}

.audience-card p {
  font-size: 13px;
  color: var(--muted-light);
  line-height: 1.45;
  margin: 0;
}

.no-experience {
  background: var(--red-light);
  border-radius: 30px;
  padding: 10px 24px;
  width: max-content;
  margin: 22px auto 0;
  color: var(--red);
  font-weight: 700;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(229, 24, 41, 0.05);
}

/* --------------------------------------------------------------------------
   CERTIFICATE SECTION
   -------------------------------------------------------------------------- */
.cert-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 20%, #ffeef0 0%, transparent 42%),
    linear-gradient(180deg, #fff 0%, #fffaf9 100%);
  padding: 56px 0;
}

.cert-wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 48px;
}

.cert-visual {
  position: relative;
}

.cert-frame {
  position: relative;
  background: var(--pink-card);
  border: 1px solid var(--red-border);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-card);
}

.cert-frame img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--red-border);
}

.cert-badge {
  position: absolute;
  top: -14px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 7px 14px;
  border-radius: 30px;
  box-shadow: 0 6px 16px rgba(229, 24, 41, 0.3);
  z-index: 2;
}

.cert-copy h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 6px 0 12px;
  font-weight: 800;
  color: var(--ink);
}

.cert-copy h2 .text-red {
  display: inline-block;
}

.cert-lead {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 22px;
  max-width: 520px;
}

.cert-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.cert-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.cert-point-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(229, 24, 41, 0.22);
}

.cert-point-body h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 0 0 3px;
  color: var(--ink);
}

.cert-point-body p {
  font-size: 13.5px;
  color: var(--muted-light);
  line-height: 1.45;
  margin: 0;
}

.cert-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.cert-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-light);
  border: 1px solid var(--red-border);
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  border-radius: 30px;
  padding: 8px 16px;
}

/* --------------------------------------------------------------------------
   FINAL CTA BANNER
   -------------------------------------------------------------------------- */
.final-cta {
  position: relative;
  background: #bf0819;
  color: var(--white);
  overflow: hidden;
  padding: 42px 0;
}

.cta-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.cta-hands-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
  opacity: 0.95;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(160, 0, 15, 0.94) 0%,
    rgba(185, 5, 22, 0.78) 45%,
    rgba(205, 10, 28, 0.65) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-copy {
  max-width: 480px;
}

.cta-copy h2 {
  font-size: clamp(25px, 3.1vw, 36px);
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--white);
}

.cta-copy h2 strong {
  font-weight: 800;
  font-size: 1.15em;
  display: inline-block;
}

.cta-copy p {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.cta-right-box {
  display: flex;
  align-items: center;
  gap: 32px;
}

.cta-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--white);
}

.cta-details p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  white-space: nowrap;
}

.cta-meta-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-white {
  background: var(--white);
  color: var(--red);
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
}

/* --------------------------------------------------------------------------
   REGISTRATION DIALOG (MODAL REUSE)
   -------------------------------------------------------------------------- */
.registration-modal-open {
  overflow: hidden;
}

.registration-placeholder {
  width: 100%;
  max-width: 340px;
  justify-self: end;
  grid-column: 3;
}

.registration-placeholder[hidden] {
  display: none;
}

.registration-dialog {
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  width: min(400px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(16, 28, 43, 0.4);
}

.registration-dialog::backdrop {
  background: rgba(16, 28, 43, 0.65);
  backdrop-filter: blur(4px);
}

.registration-dialog .register-card {
  max-width: none;
  padding: 32px 24px 24px;
  box-shadow: none;
  border: 0;
}

.registration-dialog .register-card h3 {
  padding-right: 28px;
}

.registration-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.registration-close:hover {
  background: #fecdd3;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr 0.75fr 320px;
    gap: 14px;
  }
  .hero-robot-img {
    max-height: 400px;
  }
  .cta-inner {
    flex-wrap: wrap;
    gap: 24px;
  }
  .benefit-grid,
  .learn-grid,
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px 24px;
    box-shadow: 0 16px 32px rgba(11, 23, 37, 0.12);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid #eef0f4;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links > a:not(.nav-cta) {
    padding: 12px 6px;
    border-bottom: 1px solid #f8fafc;
  }
  .nav-links .nav-cta {
    text-align: center;
    justify-content: center;
    margin-top: 14px;
  }

  /* Hero stack */
  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding-block: 28px 40px;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero-visual {
    max-height: 340px;
    margin-top: -10px;
    margin-bottom: -10px;
  }
  .hero-robot-img {
    max-height: 320px;
  }
  .register-card {
    max-width: none;
    justify-self: stretch;
  }

  .why-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .thinking-visual {
    height: 170px;
  }
  .thinking-image {
    height: 155px;
  }

  .cta-right-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
  }
  .btn-white {
    width: 100%;
    text-align: center;
  }

  .cert-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 32px);
  }
  /* Reserve space above the attendee for the floating questions. */
  .thinking-visual {
    width: 100%;
    max-width: 360px;
    height: 240px;
    margin-inline: auto;
  }
  .doodle-top-left {
    top: 46px;
    left: -8px;
  }
  .doodle-top-right {
    top: 60px;
    right: 50px;
  }
  .doodle-mid-right {
    top: 130px;
    right: 2px;
  }
  .doodle-question {
    top: 48px;
    left: 32px;
    right: auto;
    line-height: 1;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-visual {
    display: none;
  }
  .event-meta {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    flex: 1;
    min-width: 140px;
  }
  .benefit-grid,
  .learn-grid,
  .audience-grid,
  .topics-grid {
    grid-template-columns: 1fr;
  }
  .no-experience {
    width: 100%;
    border-radius: var(--radius-sm);
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   THANK-YOU PAGE (POST-PAYMENT CONFIRMATION CARD)
   -------------------------------------------------------------------------- */
.ty-page {
  min-height: 100vh;
  margin: 0;
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 75% 28%, #ffdfe1 0, transparent 45%),
    linear-gradient(110deg, #fff 35%, #fff6f6 100%);
}

.ty-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.ty-brand {
  margin-bottom: 22px;
}

.ty-card {
  width: min(460px, 100%);
  background: #fff;
  border: 1px solid #f0e6e7;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(27, 39, 55, 0.16);
  padding: 34px 30px;
  text-align: center;
  animation: tyPop 0.35s ease;
}

@keyframes tyPop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.ty-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 38px;
  font-weight: 800;
  margin: 0 auto 16px;
  background: #fff0f1;
  color: var(--red);
}

.ty-card--success .ty-icon {
  background: #e7f7ee;
  color: #087443;
}

.ty-card--failed .ty-icon {
  background: #fdecef;
  color: var(--red-dark);
}

.ty-card h1 {
  font-size: 24px;
  letter-spacing: -0.6px;
  margin: 0 0 8px;
}

.ty-text {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 18px;
  line-height: 1.55;
}

.ty-details {
  background: #fff6f6;
  border: 1px solid #ffeaec;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 0 0 18px;
  text-align: left;
}

.ty-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  padding: 5px 0;
}

.ty-row span {
  color: var(--muted);
}

.ty-row b {
  color: var(--ink);
  letter-spacing: 0.3px;
}

.ty-note {
  font-size: 12.5px;
  color: var(--muted);
  min-height: 18px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.ty-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.ty-actions .btn {
  min-width: 150px;
}

.ty-card .spinner {
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 3px solid #ffd9dc;
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@media (max-width: 420px) {
  .ty-card {
    padding: 26px 20px;
  }
  .ty-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
  .submit-btn .spinner,
  .live-dot {
    animation: none;
  }
}
