:root {
  --bg: #030503;
  --panel: rgba(12, 14, 12, 0.88);
  --panel-2: rgba(17, 19, 17, 0.94);
  --border: rgba(255, 255, 255, 0.18);
  --border-soft: rgba(126, 242, 12, 0.22);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.74);
  --soft: rgba(255, 255, 255, 0.52);
  --green: #7cf20c;
  --green-2: #a4ff1a;
  --green-dark: #3c9f00;
  --shadow: 0 24px 80px rgba(124, 242, 12, 0.14);
  --radius: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 75% 15%, rgba(99, 242, 12, 0.22), transparent 30%),
    radial-gradient(circle at 18% 46%, rgba(65, 160, 0, 0.16), transparent 28%),
    linear-gradient(135deg, #010201 0%, #050805 42%, #020302 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(var(--max), calc(100% - 48px));
  margin: 24px auto;
}

.topbar,
.content-card,
.price-card,
.online-card,
.footer {
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(17, 20, 17, .88), rgba(5, 7, 5, .86));
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset;
  backdrop-filter: blur(14px);
}

.topbar {
  min-height: 78px;
  border-radius: var(--radius);
  padding: 8px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.logo-brand {
  flex-shrink: 0;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: clamp(100px, 10vw, 135px);
  height: auto;
  max-height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(124, 242, 12, .22));
}

.footer-logo {
  width: 150px;
  max-height: 86px;
}

.brand-mark {
  width: 58px;
  height: 64px;
  color: var(--green);
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 10px rgba(124, 242, 12, .25));
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand strong {
  display: block;
  font-size: 38px;
  line-height: .88;
  letter-spacing: -1.5px;
}

.brand small {
  display: block;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 8px;
  font-weight: 800;
  font-size: 13px;
  margin-left: 3px;
  margin-top: 8px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 46px;
  font-weight: 700;
  margin-left: auto;
}

.desktop-nav a {
  color: var(--text);
  text-decoration: none;
  opacity: .92;
  padding: 16px 0;
}

.desktop-nav a:first-child {
  color: var(--green);
  border-bottom: 3px solid var(--green);
}

.login-btn,
.primary-link,
.signup-form button {
  background: linear-gradient(135deg, var(--green-2), #62e600);
  color: #071003;
  border: 0;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 0 30px rgba(124, 242, 12, .22);
}

.login-btn {
  border: 1px solid var(--green);
  background: rgba(124, 242, 12, .08);
  color: var(--green);
  padding: 18px 30px;
  border-radius: 8px;
  font-size: 20px;
}

.hero-grid {
  min-height: 700px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 4px 34px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 20px;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--green);
  border-radius: 8px;
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 14px;
  background: rgba(124, 242, 12, .06);
  margin-bottom: 26px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(54px, 7vw, 86px);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: -3px;
  margin-bottom: 24px;
  text-shadow: 0 12px 40px rgba(0, 0, 0, .55);
}

h1 span,
h2 span,
.online-card h3,
.learn-list h3:hover {
  color: var(--green);
}

.lead {
  max-width: 570px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
  margin-bottom: 34px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  max-width: 560px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(5, 7, 5, .52);
  margin-bottom: 36px;
}

.stats article {
  padding: 22px 16px;
  min-height: 118px;
  border-right: 1px solid rgba(255,255,255,.12);
}

.stats article:last-child {
  border-right: 0;
}

.stat-icon {
  display: block;
  color: var(--green);
  font-size: 34px;
  line-height: 1;
  margin-bottom: 14px;
}

.stats small {
  display: block;
  color: var(--soft);
  font-size: 13px;
  margin-bottom: 7px;
}

.stats strong {
  font-size: 17px;
}

.stats strong .stat-nr11 {
  display: inline-grid;
  gap: 2px;
  line-height: 1.08;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
}

.stats strong .stat-nr11 span {
  display: block;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
}



.hero-promo-card {
  position: relative;
  width: min(560px, 100%);
  margin: 28px 0 20px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  align-items: center;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 215, 64, .70);
  background:
    linear-gradient(145deg, rgba(18, 21, 18, .96), rgba(4, 6, 4, .96)),
    radial-gradient(circle at 14% 20%, rgba(255, 220, 70, .34), transparent 34%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.08) inset,
    0 20px 52px rgba(0,0,0,.35),
    0 0 0 0 rgba(255, 215, 64, .18);
  animation: promoCardPulse 1.35s ease-in-out infinite;
}

.hero-promo-card::before {
  content: "";
  position: absolute;
  inset: -45% -25%;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 235, 92, .26) 48%, transparent 62%);
  transform: translateX(-60%);
  animation: promoCardShine 2.2s ease-in-out infinite;
  pointer-events: none;
}

.hero-promo-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 215, 64, .62);
  background: rgba(255, 215, 64, .12);
  color: #ffd43b;
  font-size: 26px;
  box-shadow: inset 0 0 24px rgba(255, 215, 64, .10), 0 0 22px rgba(255, 215, 64, .12);
  animation: promoIconBlink 900ms ease-in-out infinite;
}

.hero-promo-copy {
  position: relative;
  z-index: 1;
}

.hero-promo-copy span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 215, 64, .10);
  color: #ffd43b;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.hero-promo-price {
  color: #ffe45c;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 950;
  line-height: .95;
  letter-spacing: -1.8px;
  text-shadow: 0 0 18px rgba(255, 215, 64, .40), 0 3px 0 rgba(0,0,0,.55);
}

.hero-promo-copy small {
  display: block;
  margin-top: 7px;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  font-weight: 800;
}

@keyframes promoCardPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    border-color: rgba(255, 215, 64, .60);
    box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 20px 52px rgba(0,0,0,.35), 0 0 0 0 rgba(255, 215, 64, .18);
  }
  50% {
    transform: translateY(-2px) scale(1.01);
    border-color: rgba(255, 238, 104, .95);
    box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 26px 64px rgba(0,0,0,.45), 0 0 0 8px rgba(255, 215, 64, .07), 0 0 34px rgba(255, 215, 64, .28);
  }
}

@keyframes promoCardShine {
  0% { transform: translateX(-68%); opacity: 0; }
  35% { opacity: 1; }
  70%, 100% { transform: translateX(68%); opacity: 0; }
}

@keyframes promoIconBlink {
  0%, 100% { filter: brightness(1); transform: scale(1); }
  50% { filter: brightness(1.55); transform: scale(1.08); }
}

.price-card {
  width: min(520px, 100%);
  border-radius: 14px;
  padding: 24px;
  background: linear-gradient(145deg, rgba(18, 21, 18, .92), rgba(4, 6, 4, .9));
}

.price-card p {
  color: var(--muted);
  font-size: 16px;
}

.price-card div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 6px 0 22px;
}

.price-card strong {
  color: var(--green);
  font-size: clamp(42px, 5vw, 58px);
  letter-spacing: -2px;
}

.price-card span {
  color: var(--muted);
}

.price-card.price-card-cta-only {
  width: min(360px, 100%);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.price-card.price-card-cta-only .primary-link {
  width: 100%;
}

.primary-link,
.signup-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
}

.primary-link {
  width: min(360px, 100%);
}

.primary-link::before {
  content: "🛒";
  margin-right: 10px;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: none;
  place-items: center;
  overflow: hidden;
}

.glow-ring {
  position: absolute;
  width: 470px;
  height: 360px;
  border: 10px solid rgba(124, 242, 12, .75);
  transform: rotate(30deg) skew(-8deg);
  right: 56px;
  top: 84px;
  clip-path: polygon(50% 0, 100% 24%, 100% 76%, 50% 100%, 0 76%, 0 24%);
  filter: drop-shadow(0 0 26px rgba(124, 242, 12, .45));
}

.hero-visual::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 104px;
  width: 190px;
  height: 170px;
  background-image: radial-gradient(var(--green) 3px, transparent 3px);
  background-size: 28px 28px;
  opacity: .75;
}

.forklift-card {
  position: relative;
  z-index: 2;
  width: min(650px, 100%);
  filter: drop-shadow(0 38px 46px rgba(0,0,0,.65));
}

.forklift {
  width: 100%;
  height: auto;
}

.mobile-training-card {
  display: none;
}

.mobile-training-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-card {
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 12%, rgba(124, 242, 12, .09), transparent 28%),
    linear-gradient(145deg, rgba(11, 13, 11, .94), rgba(5, 6, 5, .96));
}

.learning,
.form-panel {
  padding: clamp(34px, 5vw, 58px);
}

.learning {
  border-right: 1px solid var(--border);
}

.section-rule {
  display: block;
  width: 64px;
  height: 3px;
  background: var(--green);
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.muted {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.learn-list {
  margin-top: 28px;
}

.learn-list article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.learn-list article:last-child {
  border-bottom: 0;
}

.learn-icon,
.online-card span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  color: var(--green);
  font-size: 29px;
  background: rgba(124, 242, 12, .04);
}

.learn-list h3,
.online-card h3 {
  font-size: 19px;
  margin-bottom: 7px;
}

.learn-list p,
.online-card p {
  color: var(--muted);
  line-height: 1.45;
}

.online-card {
  margin-top: 22px;
  border-radius: 12px;
  padding: 22px;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  align-items: center;
}


.online-card.practical-card {
  margin-top: 14px;
  border-color: rgba(255, 221, 64, .28);
  background: linear-gradient(145deg, rgba(255, 196, 0, .08), rgba(124, 242, 12, .045));
}

.online-card.practical-card span {
  color: #ffd43b;
  border-color: rgba(255, 221, 64, .38);
  background: rgba(255, 196, 0, .08);
}

.form-panel {
  background: linear-gradient(145deg, rgba(18, 19, 18, .74), rgba(6, 7, 6, .92));
}

.notice {
  padding: 14px 16px;
  border-radius: 8px;
  margin: 18px 0;
  line-height: 1.4;
  font-weight: 700;
}

.notice.success {
  color: #dfffca;
  border: 1px solid rgba(124,242,12,.45);
  background: rgba(124,242,12,.11);
}

.notice.error {
  color: #ffd8d8;
  border: 1px solid rgba(255,80,80,.45);
  background: rgba(255,80,80,.1);
}

.signup-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.signup-form label:not(.check-row) {
  display: grid;
  gap: 8px;
}

.signup-form label > span:first-child {
  font-weight: 800;
  font-size: 14px;
}

input,
select {
  width: 100%;
  min-height: 56px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(0,0,0,.28);
  color: var(--text);
  padding: 0 18px;
  font: inherit;
  outline: none;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 24px) 25px, calc(100% - 17px) 25px;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
}

input:focus,
select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(124,242,12,.12);
}

.file-field small {
  color: var(--soft);
  font-size: 13px;
  line-height: 1.4;
}

input[type="file"] {
  padding: 14px 16px;
  min-height: auto;
  cursor: pointer;
}

input[type="file"]::file-selector-button {
  margin-right: 14px;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  background: rgba(124, 242, 12, .14);
  color: var(--green);
  font-weight: 900;
  cursor: pointer;
}

::placeholder {
  color: rgba(255,255,255,.45);
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.check-row input {
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 3px;
  accent-color: var(--green);
}

.check-row a {
  color: var(--green);
  font-weight: 800;
}

.signup-form button {
  width: 100%;
  font-size: 21px;
  margin-top: 4px;
}

.secure {
  color: var(--muted);
  text-align: center;
  margin-top: 20px;
}

.footer {
  margin-top: 28px;
  border-radius: 14px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
}

.credits-footer {
  min-height: 104px;
}

.dev-credit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dev-credit-text {
  color: var(--soft);
  font-size: 15px;
  letter-spacing: .2px;
}

.devdiary-logo {
  display: block;
  width: min(210px, 58vw);
  height: auto;
  max-height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, .12));
}

.brand.mini .brand-mark {
  width: 44px;
  height: 52px;
}

.brand.mini strong {
  font-size: 28px;
}

.brand.mini small {
  font-size: 10px;
  letter-spacing: 6px;
}

.footer p {
  color: var(--soft);
}

@media (max-width: 980px) {
  .page-shell {
    width: min(100% - 28px, 760px);
    margin: 14px auto;
  }

  .topbar {
    min-height: auto;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    padding: 14px 22px;
  }

  .brand-logo {
    width: 145px;
    max-height: 82px;
  }

  .desktop-nav {
    display: none;
  }

  .login-btn {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 22px;
    min-height: 0;
  }

  .hero-copy {
    padding: 16px 8px;
  }

  h1 {
    font-size: clamp(44px, 14vw, 64px);
  }

  .lead {
    font-size: 18px;
  }

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

  .stats article:nth-child(2) {
    border-right: 0;
  }

  .stats article:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .hero-visual {
    min-height: 330px;
    margin-top: -20px;
  }

  .glow-ring {
    width: 300px;
    height: 230px;
    right: 34px;
    top: 42px;
  }

  .content-card {
    grid-template-columns: 1fr;
  }

  .learning {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .dev-credit {
    gap: 8px 10px;
  }


  .dev-credit-text {
    width: 100%;
    font-size: 14px;
  }

  .devdiary-logo {
    width: min(220px, 72vw);
    max-height: 42px;
  }

  .page-shell {
    width: calc(100% - 18px);
  }

  .topbar {
    border-radius: 16px 16px 0 0;
    border-bottom-color: rgba(255,255,255,.24);
    padding: 12px 16px;
    flex-direction: column;
    gap: 0;
  }

  .brand-logo {
    width: min(155px, 52vw);
    max-height: 86px;
  }

  .desktop-nav {
    display: none;
  }

  .hero-grid {
    background: linear-gradient(180deg, rgba(16, 18, 16, .78), rgba(4, 6, 4, .96));
    border: 1px solid var(--border);
    border-top: 0;
    border-radius: 0 0 16px 16px;
    padding: 24px 18px 18px;
  }

  .hero-copy {
    padding: 0;
  }

  .eyebrow {
    height: 34px;
    padding: 0 13px;
    font-size: 12px;
    margin-bottom: 20px;
  }

  .lead {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 54px);
    letter-spacing: -2px;
    overflow-wrap: anywhere;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
    max-width: 100%;
  }

  .stats article {
    min-width: 0;
    padding: 16px 10px;
  }

  .stats article:nth-child(2) {
    border-right: 0;
  }

  .stats article:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .stat-icon {
    font-size: 26px;
  }

  .stats strong {
    font-size: 14px;
  }

  .stats strong .stat-nr11 {
    font-size: 15px;
    line-height: 1.12;
  }

  .price-card {
    padding: 18px;
  }


  .hero-promo-card {
    grid-template-columns: 48px 1fr;
    gap: 12px;
    margin: 22px 0 18px;
    padding: 15px 14px;
    border-radius: 13px;
  }

  .hero-promo-icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .hero-promo-copy span {
    font-size: 10px;
    letter-spacing: .45px;
    padding: 4px 8px;
  }

  .hero-promo-price {
    font-size: clamp(35px, 11vw, 46px);
  }

  .hero-promo-copy small {
    font-size: 12px;
  }

  .hero-visual {
    display: grid;
    min-height: 0;
    overflow: visible;
    margin-top: 18px;
  }

  .desktop-forklift-card,
  .desktop-forklift-bg,
  .hero-visual::after {
    display: none;
  }

  .mobile-training-card {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(0,0,0,.22);
    box-shadow: 0 20px 50px rgba(0,0,0,.28), 0 0 22px rgba(124,242,12,.10);
  }

  .learning,
  .form-panel {
    padding: 28px 18px;
  }


  .learn-list article,
  .online-card {
    grid-template-columns: 54px 1fr;
    gap: 14px;
  }

  .learn-icon,
  .online-card span {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .signup-form button {
    font-size: 18px;
  }
}


.contract-callout {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(124, 242, 12, .25);
  border-radius: 12px;
  background: rgba(124, 242, 12, .08);
  padding: 14px 16px;
  color: var(--muted);
}

.contract-callout span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(124, 242, 12, .14);
}

.contract-callout p { margin: 0; line-height: 1.45; }

.contract-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.contract-modal.is-open { display: flex; }

.contract-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(10px);
}

.contract-dialog {
  position: relative;
  width: min(860px, 100%);
  max-height: min(92vh, 900px);
  display: grid;
  gap: 18px;
  border: 1px solid rgba(124, 242, 12, .28);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(12,16,12,.98), rgba(2,7,3,.98));
  box-shadow: 0 28px 90px rgba(0,0,0,.65), 0 0 45px rgba(124,242,12,.13);
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.contract-close {
  position: absolute;
  right: 16px;
  top: 14px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.contract-header {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  padding-right: 42px;
}

.contract-header > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(124, 242, 12, .14);
  font-size: 25px;
}

.contract-header h2 { margin: 0; font-size: clamp(24px, 3vw, 36px); }
.contract-header p { margin: 6px 0 0; color: var(--muted); line-height: 1.45; }

.contract-scroll {
  height: clamp(300px, 46vh, 460px);
  min-height: 300px;
  overflow: auto;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.24);
  color: rgba(255,255,255,.86);
  line-height: 1.65;
}

.contract-scroll h3 { margin-top: 0; color: #fff; font-size: 24px; }
.contract-scroll p { margin: 0 0 16px; }
.contract-scroll strong { color: #fff; }

.contract-signature {
  display: grid;
  gap: 8px;
}

.contract-signature span {
  font-weight: 900;
  color: #fff;
}

.contract-error {
  margin: -8px 0 0;
  color: #ff8888;
  font-weight: 700;
}

.contract-actions {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 12px;
}

.secondary-contract,
.primary-contract {
  min-height: 54px;
  border-radius: 12px;
  font-weight: 900;
  cursor: pointer;
}

.secondary-contract {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #fff;
}

.primary-contract {
  border: 0;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #071006;
  box-shadow: 0 14px 35px rgba(124,242,12,.22);
}

body.contract-open { overflow: hidden; }

@media (max-width: 560px) {
  .contract-modal {
    padding: 8px;
    align-items: stretch;
    justify-content: center;
  }

  .contract-dialog {
    width: 100%;
    max-height: calc(100dvh - 16px);
    padding: 18px;
    border-radius: 18px;
    overflow-y: auto;
    gap: 14px;
  }

  .contract-actions {
    grid-template-columns: 1fr;
    position: sticky;
    bottom: -18px;
    z-index: 4;
    padding: 12px 0 2px;
    background: linear-gradient(180deg, rgba(2,7,3,0), rgba(2,7,3,.98) 26%);
  }


  .contract-scroll {
    height: 38vh;
    min-height: 260px;
    max-height: 380px;
    padding: 16px;
  }

  .contract-header {
    grid-template-columns: 1fr;
    padding-right: 38px;
  }

  .secondary-contract,
  .primary-contract {
    min-height: 58px;
  }
}

.open-contract-button {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(124, 242, 12, .35);
  border-radius: 12px;
  background: rgba(124, 242, 12, .08);
  color: var(--green);
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
}

.open-contract-button:hover {
  background: rgba(124, 242, 12, .14);
}

.open-contract-button.is-signed {
  border-color: rgba(124, 242, 12, .65);
  background: rgba(124, 242, 12, .18);
  color: #b7ff68;
}

@supports not (height: 100dvh) {
  @media (max-width: 560px) {
    .contract-dialog { max-height: calc(100vh - 16px); }
  }
}


.payment-value-hint{
  display:block;
  margin-top:8px;
  color:rgba(255,255,255,.72);
  font-size:13px;
  font-weight:800;
}
.payment-value-hint.has-value{
  color:var(--green);
}


/* Mantém textos curtos como "Conforme NR10/NR11/NR18/NR35" sem quebrar no mobile */
.stats strong.stat-nowrap{
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
  word-break:keep-all;
  overflow-wrap:normal;
  word-spacing:normal;
  max-width:100%;
}

@media (max-width:560px){
  .stats strong.stat-nowrap{
    font-size:clamp(15px,4.2vw,18px);
    letter-spacing:-.2px;
  }
}


/* Página de vídeos e materiais */
.materials-page-shell{
  max-width:1180px;
}
.materials-hero{
  margin:26px 0 24px;
  padding:34px;
  border:1px solid rgba(124,242,12,.2);
  border-radius:28px;
  background:linear-gradient(135deg,rgba(124,242,12,.1),rgba(255,255,255,.025));
  box-shadow:0 24px 70px rgba(0,0,0,.26);
}
.materials-hero h1{
  font-size:clamp(30px,4.8vw,52px);
  line-height:1.04;
  text-transform:uppercase;
  color:#fff;
  margin:14px 0 14px;
}
.materials-hero p{font-size:clamp(17px,2.2vw,22px);line-height:1.55;color:rgba(255,255,255,.82);max-width:760px}
.materials-hero small{display:inline-flex;margin-top:18px;color:var(--green);font-weight:900;background:rgba(124,242,12,.08);border:1px solid rgba(124,242,12,.24);border-radius:999px;padding:10px 14px}
.materials-content-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:22px;margin-bottom:52px}
.materials-panel{border:1px solid rgba(255,255,255,.12);border-radius:26px;background:rgba(255,255,255,.035);padding:24px;box-shadow:0 20px 60px rgba(0,0,0,.22)}
.materials-panel h2{font-size:clamp(24px,3vw,34px);color:#fff;margin-bottom:18px}
.video-list,.pdf-list{display:grid;gap:18px}
.video-card,.pdf-card{border:1px solid rgba(124,242,12,.18);border-radius:20px;background:rgba(0,0,0,.22);padding:18px}
.video-card h3,.pdf-card h3{font-size:19px;color:#fff;margin-bottom:10px}
.video-card p,.pdf-card p{color:rgba(255,255,255,.72);line-height:1.55}
.video-frame{position:relative;aspect-ratio:16/9;border-radius:16px;overflow:hidden;background:#000;margin:12px 0}
.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.empty-video{display:grid;place-items:center;min-height:190px;border:1px dashed rgba(124,242,12,.28);border-radius:16px;color:rgba(255,255,255,.58);font-weight:800;margin:12px 0;background:rgba(124,242,12,.035)}
.pdf-card{display:grid;grid-template-columns:64px 1fr;gap:14px;align-items:start}
.pdf-card>span{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:linear-gradient(135deg,#fff176,#ffd54f);color:#111;font-weight:1000;box-shadow:0 0 24px rgba(255,235,59,.18)}
.pdf-card a{display:inline-flex;margin-top:12px;color:#081004;background:var(--green);text-decoration:none;font-weight:1000;border-radius:999px;padding:11px 14px}
.pdf-card small{display:inline-flex;margin-top:12px;color:rgba(255,255,255,.56);font-weight:800}
@media(max-width:820px){.materials-content-grid{grid-template-columns:1fr}.materials-hero{padding:24px}.materials-panel{padding:18px}.pdf-card{grid-template-columns:1fr}.pdf-card>span{width:54px;height:54px}}


/* Contrato embutido no formulário de Empilhadeira */
.inline-contract-box{
  border:1px solid rgba(124,242,12,.22);
  border-radius:20px;
  background:linear-gradient(145deg,rgba(124,242,12,.075),rgba(255,255,255,.025));
  padding:18px;
  box-shadow:0 18px 45px rgba(0,0,0,.2);
}
.inline-contract-header{
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin-bottom:14px;
}
.inline-contract-header>span{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:rgba(124,242,12,.12);
  border:1px solid rgba(124,242,12,.28);
  flex:0 0 auto;
}
.inline-contract-header h3{
  margin:0 0 6px;
  color:#fff;
  font-size:clamp(19px,2.6vw,25px);
  line-height:1.12;
}
.inline-contract-header p{
  margin:0;
  color:rgba(255,255,255,.68);
  font-size:13px;
  line-height:1.5;
}
.inline-contract-scroll{
  max-height:360px;
  overflow-y:auto;
  padding:16px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  background:rgba(0,0,0,.24);
  color:rgba(255,255,255,.82);
  line-height:1.62;
}
.inline-contract-scroll h2,.inline-contract-scroll h3{
  color:#fff;
  margin:0 0 12px;
}
.inline-contract-scroll p{margin:0 0 14px}
.inline-contract-scroll strong{color:#fff}
@media(max-width:560px){
  .inline-contract-box{padding:14px;border-radius:18px}
  .inline-contract-scroll{max-height:330px;padding:14px}
}


/* Destaque do combo na página Máquinas Pesadas */
.hero-equipment-highlight{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  margin:14px 0 22px;
  padding:12px 18px;
  border:1px solid rgba(124,242,12,.42);
  border-radius:999px;
  background:linear-gradient(135deg,rgba(124,242,12,.16),rgba(124,242,12,.045));
  color:var(--green);
  font-weight:1000;
  letter-spacing:.2px;
  line-height:1.35;
  box-shadow:0 0 28px rgba(124,242,12,.16);
}
@media(max-width:560px){
  .hero-equipment-highlight{
    display:flex;
    width:100%;
    justify-content:center;
    text-align:center;
    border-radius:18px;
    font-size:15px;
    padding:12px 14px;
    margin:12px 0 20px;
  }
}


/* Modalidades NR10 — mobile first */
.course-options-section{
  display:grid;
  gap:14px;
  margin:18px 0 20px;
}
.course-options-heading{
  display:grid;
  gap:5px;
}
.course-options-heading span{
  color:#fff;
  font-size:clamp(20px,5vw,28px);
  font-weight:1000;
  letter-spacing:-.6px;
}
.course-options-heading small{
  color:rgba(255,255,255,.68);
  line-height:1.45;
}
.course-options-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}
.course-option-card{
  position:relative;
  display:grid;
  gap:10px;
  padding:16px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:20px;
  background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(0,0,0,.18));
  cursor:pointer;
  transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease;
}
.course-option-card input{position:absolute;opacity:0;pointer-events:none}
.course-option-card.is-selected{
  border-color:rgba(124,242,12,.68);
  background:linear-gradient(145deg,rgba(124,242,12,.15),rgba(124,242,12,.045));
  box-shadow:0 0 32px rgba(124,242,12,.12), inset 0 1px 0 rgba(255,255,255,.08);
}
.course-option-card.is-selected::after{
  content:'✓';
  position:absolute;
  right:14px;
  top:14px;
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--green);
  color:#071006;
  font-weight:1000;
}
.option-badge{
  width:max-content;
  max-width:calc(100% - 36px);
  padding:6px 10px;
  border-radius:999px;
  background:rgba(124,242,12,.10);
  color:var(--green);
  border:1px solid rgba(124,242,12,.26);
  font-size:11px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.5px;
}
.course-option-card strong{
  color:#fff;
  font-size:20px;
  line-height:1.05;
}
.option-meta{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
}
.option-meta span{color:rgba(255,255,255,.72);font-weight:900}
.option-meta b{color:#ffe96b;font-size:21px;white-space:nowrap}
.course-option-card p{
  margin:0;
  color:rgba(255,255,255,.72);
  font-size:13px;
  line-height:1.42;
}
@media(max-width:620px){
  .course-options-grid{grid-template-columns:1fr}
  .course-option-card{padding:15px;border-radius:18px}
  .course-option-card strong{font-size:19px}
}




/* Campo de tipo de solda */
.welding-type-field small,
.electrician-type-field small{
  display:block;
  margin-top:7px;
  color:rgba(255,255,255,.58);
  font-size:12px;
  line-height:1.35;
}


/* Ajuste específico: card promocional menor na página Soldas */
.page-soldas .hero-promo-card{
  width:min(500px,100%);
  margin:20px 0 16px;
  padding:14px 16px;
  grid-template-columns:48px 1fr;
  gap:12px;
  border-radius:13px;
}
.page-soldas .hero-promo-icon{
  width:44px;
  height:44px;
  font-size:21px;
  border-radius:12px;
}
.page-soldas .hero-promo-copy span{
  margin-bottom:5px;
  padding:4px 8px;
  font-size:10px;
  letter-spacing:.45px;
}
.page-soldas .hero-promo-price{
  font-size:clamp(32px,4.4vw,48px);
  line-height:.92;
  letter-spacing:-1.4px;
}
.page-soldas .hero-promo-copy small{
  margin-top:5px;
  font-size:12px;
}
@media(max-width:620px){
  .page-soldas .hero-promo-card{
    width:100%;
    margin:16px 0 14px;
    padding:12px 13px;
    grid-template-columns:42px 1fr;
    gap:10px;
  }
  .page-soldas .hero-promo-icon{
    width:38px;
    height:38px;
    font-size:19px;
  }
  .page-soldas .hero-promo-copy span{
    font-size:9px;
    padding:3px 7px;
    letter-spacing:.35px;
  }
  .page-soldas .hero-promo-price{
    font-size:clamp(30px,10vw,40px);
  }
  .page-soldas .hero-promo-copy small{
    font-size:11px;
  }
}


/* Ajuste específico: preço grande sem quebrar na página Eletricista */
.page-eletricista .hero-promo-card{
  grid-template-columns:48px minmax(0,1fr);
  gap:12px;
  padding:15px 16px;
}
.page-eletricista .hero-promo-copy{
  min-width:0;
}
.page-eletricista .hero-promo-price{
  white-space:nowrap;
  word-break:keep-all;
  overflow-wrap:normal;
  font-size:clamp(31px,7.8vw,48px);
  letter-spacing:-1.5px;
  line-height:.95;
}
@media(max-width:620px){
  .page-eletricista .hero-promo-card{
    grid-template-columns:40px minmax(0,1fr);
    gap:10px;
    padding:13px 12px;
  }
  .page-eletricista .hero-promo-icon{
    width:38px;
    height:38px;
    font-size:19px;
    border-radius:12px;
  }
  .page-eletricista .hero-promo-copy span{
    font-size:9px;
    padding:3px 7px;
    letter-spacing:.32px;
  }
  .page-eletricista .hero-promo-price{
    font-size:clamp(29px,8.6vw,38px);
    letter-spacing:-1.25px;
  }
  .page-eletricista .hero-promo-copy small{
    font-size:11px;
  }
}


/* Páginas de conteúdo com módulos */
.course-modules-stack{display:grid;gap:22px;margin-top:24px}
.course-module-card{border:1px solid rgba(124,242,12,.18);border-radius:26px;background:linear-gradient(145deg,rgba(255,255,255,.04),rgba(0,0,0,.18));padding:20px;box-shadow:0 20px 70px rgba(0,0,0,.22)}
.module-card-head{display:grid;gap:10px;margin-bottom:18px}.module-card-head>span{width:max-content;padding:7px 12px;border-radius:999px;background:rgba(124,242,12,.12);border:1px solid rgba(124,242,12,.24);color:var(--green);font-weight:950;font-size:12px;text-transform:uppercase;letter-spacing:.7px}.module-card-head h2{margin:0;color:#fff;font-size:clamp(22px,4vw,34px);line-height:1.05}.module-card-head p{margin:6px 0 0;color:rgba(255,255,255,.68);line-height:1.5}.module-content-grid{margin:0}
@media(max-width:760px){.course-module-card{padding:15px;border-radius:22px}.course-modules-stack{gap:16px}.module-content-grid{gap:14px}}


/* Accordion dos módulos - Eletricista Residencial */
.course-module-accordion{
  overflow:hidden;
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.course-module-accordion[open]{
  border-color:rgba(124,242,12,.34);
  box-shadow:0 22px 80px rgba(0,0,0,.28), 0 0 34px rgba(124,242,12,.08);
}
.course-module-accordion .module-card-head{
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:0;
  padding:2px;
  user-select:none;
}
.course-module-accordion .module-card-head::-webkit-details-marker{display:none}
.module-title-wrap{min-width:0}
.module-toggle-icon{
  flex:0 0 auto;
  width:42px;
  height:42px;
  border-radius:14px;
  border:1px solid rgba(124,242,12,.28);
  background:rgba(124,242,12,.08);
  position:relative;
  box-shadow:inset 0 0 18px rgba(124,242,12,.06);
}
.module-toggle-icon::before,
.module-toggle-icon::after{
  content:'';
  position:absolute;
  left:50%;
  top:50%;
  width:15px;
  height:3px;
  border-radius:999px;
  background:var(--green);
  transform:translate(-50%,-50%);
  transition:transform .22s ease, opacity .22s ease;
}
.module-toggle-icon::after{transform:translate(-50%,-50%) rotate(90deg)}
.course-module-accordion[open] .module-toggle-icon::after{opacity:0;transform:translate(-50%,-50%) rotate(0deg)}
.course-module-accordion .module-content-grid{
  margin-top:18px;
  animation:moduleAccordionIn .22s ease both;
}
@keyframes moduleAccordionIn{
  from{opacity:0;transform:translateY(-6px)}
  to{opacity:1;transform:translateY(0)}
}
@media(max-width:760px){
  .course-module-accordion{
    padding:12px;
    border-radius:20px;
  }
  .course-module-accordion .module-card-head{
    padding:2px 0;
  }
  .module-title-wrap h2{
    font-size:20px;
    line-height:1.08;
  }
  .module-title-wrap p{
    font-size:13px;
    line-height:1.38;
  }
  .module-toggle-icon{
    width:38px;
    height:38px;
    border-radius:12px;
  }
  .course-module-accordion:not([open]){
    background:linear-gradient(145deg,rgba(124,242,12,.07),rgba(0,0,0,.18));
  }
  .course-module-accordion .module-content-grid{
    margin-top:14px;
  }
}


/* Página pública de links de materiais */
.links-page-shell{
  max-width:1120px;
}
.links-hero{
  margin:24px 0 24px;
  padding:32px;
  border:1px solid rgba(124,242,12,.18);
  border-radius:28px;
  background:linear-gradient(145deg,rgba(124,242,12,.09),rgba(0,0,0,.20));
  box-shadow:0 24px 90px rgba(0,0,0,.25);
}
.links-hero h1{
  margin:10px 0 10px;
  color:#fff;
  font-size:clamp(32px,6vw,58px);
  line-height:.98;
  letter-spacing:-1.8px;
  text-transform:uppercase;
}
.links-hero p{
  max-width:780px;
  margin:0;
  color:rgba(255,255,255,.72);
  line-height:1.6;
  font-weight:700;
}
.links-list{
  display:grid;
  gap:18px;
  margin-bottom:54px;
}
.material-link-card{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:18px;
  padding:20px;
  border:1px solid rgba(124,242,12,.18);
  border-radius:26px;
  background:linear-gradient(145deg,rgba(255,255,255,.04),rgba(0,0,0,.18));
  box-shadow:0 18px 70px rgba(0,0,0,.22);
}
.material-link-info>span{
  display:inline-flex;
  width:max-content;
  padding:7px 11px;
  border-radius:999px;
  color:var(--green);
  background:rgba(124,242,12,.10);
  border:1px solid rgba(124,242,12,.22);
  font-size:11px;
  font-weight:950;
  letter-spacing:.8px;
  text-transform:uppercase;
}
.material-link-info h2{
  margin:12px 0 8px;
  color:#fff;
  font-size:clamp(22px,4vw,34px);
  line-height:1.05;
}
.material-link-info p{
  margin:0 0 14px;
  color:rgba(255,255,255,.70);
  line-height:1.55;
}
.material-link-info a{
  display:inline-flex;
  max-width:100%;
  color:var(--green);
  font-weight:900;
  word-break:break-all;
  text-decoration:none;
}
.material-link-message{
  display:grid;
  gap:10px;
}
.material-link-message strong{
  color:#fff;
  font-size:15px;
}
.material-link-message textarea{
  width:100%;
  min-height:150px;
  resize:vertical;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  background:rgba(0,0,0,.20);
  color:#fff;
  padding:14px;
  font:700 14px/1.55 Arial,sans-serif;
}
.copy-material-message{
  border:0;
  border-radius:16px;
  padding:15px 18px;
  background:linear-gradient(135deg,var(--green),#62e600);
  color:#071003;
  font-weight:1000;
  cursor:pointer;
  box-shadow:0 0 28px rgba(124,242,12,.18);
}
.copy-toast{
  position:fixed;
  left:50%;
  bottom:26px;
  transform:translate(-50%,20px);
  opacity:0;
  pointer-events:none;
  padding:12px 16px;
  border-radius:999px;
  background:rgba(124,242,12,.95);
  color:#061003;
  font-weight:1000;
  box-shadow:0 16px 42px rgba(0,0,0,.28);
  transition:opacity .18s ease,transform .18s ease;
  z-index:80;
}
.copy-toast.show{
  opacity:1;
  transform:translate(-50%,0);
}
@media(max-width:760px){
  .links-hero{padding:24px;border-radius:24px}
  .material-link-card{grid-template-columns:1fr;padding:16px;border-radius:22px}
  .material-link-message textarea{min-height:170px}
}

/* Prova de alternativas - materiais dos cursos */
.course-quiz-section{
  width:100%;
  margin:32px 0 64px;
  padding:clamp(18px,3vw,32px);
  border:1px solid rgba(124,242,12,.22);
  border-radius:28px;
  background:
    radial-gradient(circle at 100% 0,rgba(124,242,12,.10),transparent 34%),
    linear-gradient(145deg,rgba(12,25,8,.96),rgba(3,9,3,.98));
  box-shadow:0 24px 80px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.04);
  overflow:hidden;
}
.quiz-head{
  max-width:760px;
  margin:0 0 24px;
}
.quiz-head h2{
  margin:12px 0 10px;
  color:#fff;
  font-size:clamp(28px,4.4vw,44px);
  line-height:1.04;
  letter-spacing:-1.2px;
}
.quiz-head p{
  max-width:680px;
  margin:0;
  color:rgba(255,255,255,.70);
  font-size:15px;
  font-weight:700;
  line-height:1.55;
}
.course-quiz-form{
  display:grid;
  gap:18px;
  width:100%;
}
.quiz-question-card{
  width:100%;
  padding:clamp(16px,2.3vw,24px);
  border:1px solid rgba(255,255,255,.11);
  border-radius:22px;
  background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(0,0,0,.16));
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
.quiz-question-title{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  align-items:start;
  gap:13px;
  margin-bottom:18px;
}
.quiz-question-title>span{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border:1px solid rgba(124,242,12,.34);
  border-radius:12px;
  background:rgba(124,242,12,.12);
  color:var(--green);
  font-size:16px;
  font-weight:1000;
}
.quiz-question-title h3{
  min-width:0;
  margin:5px 0 0;
  color:#fff;
  font-size:clamp(17px,2.2vw,20px);
  font-weight:900;
  line-height:1.35;
  letter-spacing:0;
  overflow-wrap:anywhere;
}
.quiz-options{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:11px;
  width:100%;
}
.quiz-option{
  position:relative;
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  align-items:center;
  gap:12px;
  width:100%;
  min-width:0;
  min-height:68px;
  margin:0;
  padding:13px 15px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  background:rgba(255,255,255,.035);
  color:rgba(255,255,255,.86);
  cursor:pointer;
  transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease;
}
.quiz-option:hover{
  transform:translateY(-1px);
  border-color:rgba(124,242,12,.40);
  background:rgba(124,242,12,.065);
}
/* Neutraliza o estilo global dos inputs do formulário. */
.quiz-option input[type="radio"]{
  position:absolute !important;
  width:1px !important;
  min-width:1px !important;
  height:1px !important;
  min-height:1px !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  opacity:0;
  pointer-events:none;
}
.quiz-option-marker{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:12px;
  background:rgba(0,0,0,.22);
  color:rgba(255,255,255,.72);
  font-size:14px;
  font-weight:1000;
  transition:all .16s ease;
}
.quiz-option-text{
  min-width:0;
  color:inherit;
  font-size:15px;
  font-weight:800;
  line-height:1.4;
  letter-spacing:0;
  overflow-wrap:anywhere;
}
.quiz-option:has(input:checked){
  border-color:rgba(124,242,12,.72);
  background:rgba(124,242,12,.10);
  box-shadow:0 0 0 2px rgba(124,242,12,.07);
}
.quiz-option input:checked+.quiz-option-marker{
  border-color:var(--green);
  background:var(--green);
  color:#071003;
  box-shadow:0 0 22px rgba(124,242,12,.22);
}
.quiz-option:focus-within{
  border-color:var(--green);
  box-shadow:0 0 0 3px rgba(124,242,12,.12);
}
.quiz-option.correct-option{
  border-color:rgba(124,242,12,.82);
  background:rgba(124,242,12,.12);
  color:#fff;
}
.quiz-option.correct-option .quiz-option-marker{
  border-color:var(--green);
  background:var(--green);
  color:#071003;
}
.quiz-option.wrong-option{
  border-color:rgba(255,82,82,.72);
  background:rgba(255,82,82,.10);
  color:#fff;
}
.quiz-option.wrong-option .quiz-option-marker{
  border-color:#ff6969;
  background:rgba(255,82,82,.18);
  color:#ffdede;
}
.quiz-question-card.is-correct{
  border-color:rgba(124,242,12,.54);
  box-shadow:inset 4px 0 0 rgba(124,242,12,.80);
}
.quiz-question-card.is-wrong{
  border-color:rgba(255,82,82,.44);
  box-shadow:inset 4px 0 0 rgba(255,82,82,.72);
}
.quiz-explanation{
  display:none;
  margin:15px 0 0;
  padding:12px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.045);
  color:rgba(255,255,255,.74);
  font-size:14px;
  font-weight:700;
  line-height:1.5;
}
.quiz-question-card.is-correct .quiz-explanation,
.quiz-question-card.is-wrong .quiz-explanation{display:block}
.quiz-submit-button{
  width:100%;
  min-height:56px;
  margin-top:2px;
  border:0;
  border-radius:17px;
  padding:15px 20px;
  background:linear-gradient(135deg,#8bff1b,#59df00);
  color:#071003;
  font:900 16px/1 Arial,Helvetica,sans-serif;
  cursor:pointer;
  box-shadow:0 12px 32px rgba(124,242,12,.17);
  transition:transform .17s ease,box-shadow .17s ease,filter .17s ease;
}
.quiz-submit-button:hover{
  transform:translateY(-2px);
  filter:brightness(1.04);
  box-shadow:0 16px 38px rgba(124,242,12,.24);
}
.quiz-result{
  display:none;
  grid-template-columns:1fr;
  gap:7px;
  padding:20px;
  border:1px solid rgba(124,242,12,.30);
  border-radius:20px;
  background:linear-gradient(145deg,rgba(124,242,12,.13),rgba(124,242,12,.055));
  color:#fff;
  text-align:center;
}
.quiz-result.show{display:grid}
.quiz-result strong{color:#fff;font-size:clamp(20px,3vw,25px);line-height:1.2}
.quiz-result span{color:var(--green);font-size:15px;font-weight:1000}
@media(max-width:760px){
  .course-quiz-section{
    margin:22px 0 48px;
    padding:16px;
    border-radius:22px;
  }
  .quiz-head{margin-bottom:18px}
  .quiz-head h2{font-size:29px;letter-spacing:-.7px}
  .quiz-head p{font-size:14px}
  .course-quiz-form{gap:14px}
  .quiz-question-card{padding:15px;border-radius:18px}
  .quiz-question-title{grid-template-columns:34px minmax(0,1fr);gap:11px;margin-bottom:14px}
  .quiz-question-title>span{width:34px;height:34px;border-radius:11px}
  .quiz-question-title h3{margin-top:3px;font-size:16px;line-height:1.35}
  .quiz-options{grid-template-columns:1fr;gap:9px}
  .quiz-option{
    grid-template-columns:34px minmax(0,1fr);
    gap:11px;
    min-height:58px;
    padding:11px 12px;
    border-radius:14px;
  }
  .quiz-option-marker{width:34px;height:34px;border-radius:10px}
  .quiz-option-text{font-size:14px;line-height:1.35}
  .quiz-submit-button{min-height:54px;font-size:15px}
}

