:root {
  --bg: #edf2f8;
  --grid: rgba(34, 52, 84, 0.05);
  --text: #17181c;
  --muted: #5b6778;
  --blue: #3f7af0;
  --card: rgba(255, 255, 255, 0.78);
  --border: rgba(33, 40, 52, 0.12);
  --input: rgba(255, 255, 255, 0.7);
  --shadow: 0 30px 80px rgba(37, 62, 108, 0.12);
  --danger: #b42318;
  --success: #067647;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  padding-bottom: 92px;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
}

body::after {
  background:
    radial-gradient(circle at 78% 68%, rgba(93, 155, 255, 0.18), transparent 42%),
    radial-gradient(circle at 32% 18%, rgba(65, 122, 240, 0.08), transparent 36%);
}

.candles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.42;
  overflow: hidden;
}

.candle {
  position: absolute;
  bottom: 10%;
  width: 14px;
  border-radius: 2px;
  background: rgba(91, 196, 148, 0.35);
}

.candle::before,
.candle::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: inherit;
  border-radius: 2px;
}

.candle::before { top: -34px; height: 34px; }
.candle::after { bottom: -34px; height: 34px; }
.candle.red { background: rgba(110, 178, 244, 0.35); }

.topbar {
  position: relative;
  z-index: 1;
  padding: 22px clamp(20px, 4vw, 72px) 0;
  display: flex;
  justify-content: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1d2430;
  font-weight: 700;
  font-size: 1.05rem;
}

.logo-mark {
  /* width: 34px; */
  /* height: 40px; */
  border-radius: 10px;
  /* background: linear-gradient(135deg, #dee7f9, #74a2ff); */
  display: grid;
  padding: 5px;
  place-items: center;
  overflow: hidden;
  /* box-shadow: 0 8px 18px rgba(63, 122, 240, 0.24); */
}

.logo-mark img {
  width: 100%;
  height: 100%;
  max-width: 160px;
  object-fit: cover;
  display: block;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  padding: 38px clamp(20px, 4vw, 72px);
  padding-top: 0;
}

.left { max-width: 860px; }

h1 {
  margin: 0 0 20px;
  font-size: clamp(2.5rem, 4.9vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.blue { color: var(--blue); }

.sub {
  margin: 0;
  max-width: 840px;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.5;
  color: #232935;
}

.stats-wrap { margin-top: 46px; }
.stats-title { margin: 0 0 22px; font-size: 1.06rem; font-weight: 700; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 22px;
  align-items: stretch;
  max-width: 760px;
}

.stat {
  padding-right: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 108px;
}
.stat:not(:last-child) { border-right: 2px solid rgba(63, 122, 240, 0.9); }

.stat strong {
  display: flex;
  align-items: center;
  color: var(--blue);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  margin-bottom: 10px;
  min-height: 42px;
}

.stat span {
  color: #26303c;
  font-size: 0.95rem;
  line-height: 1.35;
  display: block;
  max-width: 210px;
}

.benefits {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: #1d2430;
  font-weight: 600;
}

.benefits li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.benefits li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 700;
}

.card {
  width: min(100%, 620px);
  justify-self: center;
  background: var(--card);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 30px 38px 28px;
}

.card h2 {
  margin: 6px 0 18px;
  text-align: center;
  font-size: clamp(1.6rem, 2.1vw, 2.25rem);
  line-height: 1.2;
  font-weight: 500;
}

.divider {
  height: 1px;
  background: rgba(32, 36, 45, 0.16);
  margin: 0 auto 18px;
  width: 54%;
}

.micro-note {
  margin: -4px 0 14px;
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
}

form { display: grid; gap: 14px; }
.field { display: grid; gap: 8px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

label {
  font-size: 1rem;
  font-weight: 500;
  color: #20242d;
}

input {
  width: 100%;
  height: 48px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--input);
  padding: 0 16px;
  font-size: 0.98rem;
  color: #20242d;
  outline: none;
}

.hidden { display: none !important; }

.inline-input-wrap {
  position: relative;
}

.inline-input-wrap input {
  padding-right: 118px;
}

.otp-btn {
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(63, 122, 240, 0.2);
  background: rgba(63, 122, 240, 0.1);
  color: #245bcb;
  padding: 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.inside-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.otp-btn:hover:not(:disabled) { background: rgba(63, 122, 240, 0.14); }
.otp-btn:disabled { opacity: 0.65; cursor: not-allowed; }

.otp-message {
  margin: 0;
  min-height: 18px;
  font-size: 0.85rem;
  color: #245bcb;
}

.otp-message.error { color: var(--danger); }
.otp-message.success { color: var(--success); }

input::placeholder { color: #8b94a3; }

input:focus {
  border-color: rgba(63, 122, 240, 0.7);
  box-shadow: 0 0 0 3px rgba(63, 122, 240, 0.14);
}

.submit {
  margin-top: 6px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #2b2b2f, #2f2f34);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(35, 37, 44, 0.2);
}

.submit:disabled { opacity: 0.7; cursor: wait; }
.submit:hover:not(:disabled) { filter: brightness(1.04); }

.form-message {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  border-radius: 14px;
  padding: 10px 12px;
  display: none;
}

.form-message.error {
  display: block;
  color: var(--danger);
  background: rgba(180, 35, 24, 0.08);
  border: 1px solid rgba(180, 35, 24, 0.15);
}

.form-message.success {
  display: block;
  color: var(--success);
  background: rgba(6, 118, 71, 0.08);
  border: 1px solid rgba(6, 118, 71, 0.15);
}

.agree {
  margin-top: 8px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  color: #677285;
  font-size: 0.88rem;
  line-height: 1.45;
}

.agree input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--blue);
}

.agree a {
  color: #4e596d;
  font-weight: 700;
  text-decoration: none;
}

.agree a:hover { text-decoration: underline; }

.webinar-cta {
  position: fixed;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  background: #173a84;
  color: #fff;
  padding: 14px clamp(16px, 3vw, 36px);
  display: grid;
  grid-template-columns: 1.2fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.webinar-copy { text-align: center; line-height: 1.2; }
.webinar-copy .title { color: #ffc928; font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; }
.webinar-copy .date { font-weight: 700; font-size: 1rem; }

.countdown { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.time-box {
  min-width: 72px;
  border: 2px solid #ffd11a;
  border-radius: 999px;
  padding: 6px 8px 5px;
  text-align: center;
  background: rgba(255,255,255,0.02);
}

.time-box .num { display: block; font-size: 1.05rem; font-weight: 800; margin-bottom: 4px; }
.time-box .lbl { display: block; font-size: 0.62rem; font-weight: 700; color: #ffd11a; }

.cta-btn {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: min(100%, 520px);
  min-height: 60px;
  background: #f4c55f;
  color: #000;
  text-decoration: none;
  border-radius: 7px;
  font-weight: 800;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  padding: 8px 20px;
  text-align: center;
}

.cta-btn .strike {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

@media (max-width: 1120px) {
  .page {
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: start;
    padding-top: 24px;
  }

  .card { width: 100%; max-width: 720px; }

  .webinar-cta {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .cta-btn { justify-self: stretch; width: 100%; }
}

@media (max-width: 700px) {
  body { padding-bottom: 166px; }
  h1 { font-size: 2.2rem; text-align: center; }
  .left { text-align: center; }
  .sub { text-align: center; max-width: 360px; margin-inline: auto; }
  .stats-title { text-align: center; }
  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
  }
  .stat {
    padding: 0 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 88px;
  }
  .stat strong {
    font-size: 1.45rem;
    margin-bottom: 8px;
    min-height: 24px;
    display: flex;
    align-items: center;
  }
  .stat span {
    font-size: 0.78rem;
    line-height: 1.35;
    display: block;
    max-width: 100%;
  }
  .stat:not(:last-child) { border-right: 2px solid rgba(63, 122, 240, 0.9); }
  .row { grid-template-columns: 1fr; gap: 14px; }
  .inline-input-wrap input { padding-right: 106px; }
  .otp-btn { font-size: 0.78rem; padding: 0 8px; }
  .card { padding: 22px 18px 20px; border-radius: 20px; }
  .card h2 { font-size: 1.45rem; }
  .divider { width: 68%; }
  .benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; justify-items: center; }
  .benefits li { justify-content: center; font-size: 0.75rem; gap: 8px; }
  .webinar-cta { padding: 14px 12px 12px; gap: 10px; box-shadow: 0 -10px 30px rgba(8, 18, 44, 0.22); }
  .webinar-copy .title { font-size: 1.05rem; margin-bottom: 4px; }
  .webinar-copy .date { font-size: 0.92rem; }
  .countdown { gap: 7px; }
  .time-box { min-width: 64px; padding: 5px 6px 4px; }
  .time-box .num { font-size: 0.92rem; margin-bottom: 3px; }
  .time-box .lbl { font-size: 0.56rem; }
  .cta-btn { min-height: 50px; font-size: 0.95rem; border-radius: 6px; }
}
