/* JTL Auto page. Builds on style.css (header, footer, buttons). */

.au-display {
  font-family: "Unbounded", "Inter", sans-serif;
  letter-spacing: -0.02em;
}

.au-hero {
  position: relative;
  overflow: hidden;
  background: #05070d;
  color: #ffffff;
  padding: 96px 0 88px;
}

.au-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 90% at 85% 0%, rgba(47, 107, 255, 0.5), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, rgba(37, 99, 235, 0.25), transparent 70%);
  pointer-events: none;
}

.au-hero .container {
  position: relative;
}

.au-hero h1 {
  font-family: "Unbounded", "Inter", sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5.2vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 17ch;
  margin: 0 0 24px;
}

.au-hero p {
  max-width: 52ch;
  margin: 0 0 36px;
  color: #b6c5ea;
  font-size: 19px;
  line-height: 1.7;
}

.au-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-lg {
  padding: 18px 34px;
  font-size: 17px;
}

.au-section {
  padding: 88px 0;
}

.au-section.au-alt {
  background: #f4f6fa;
}

.au-head {
  max-width: 720px;
  margin: 0 0 44px;
}

.au-head h2 {
  font-family: "Unbounded", "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.au-head p {
  margin: 0;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.7;
}

/* What you need */

.au-need {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.au-need div {
  background: #ffffff;
  border: 2px solid #e5e9f0;
  border-radius: 16px;
  padding: 24px;
}

.au-need strong {
  display: block;
  font-size: 19px;
  margin-bottom: 8px;
}

.au-need span {
  color: #4b5563;
  font-size: 16px;
  line-height: 1.6;
}

/* Steps */

.au-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 52px 0;
  border-top: 1px solid #e5e9f0;
}

.au-step:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.au-num {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  font-family: "Unbounded", "Inter", sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 20px;
}

.au-step h3 {
  font-family: "Unbounded", "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.au-step p {
  margin: 0 0 18px;
  max-width: 52ch;
  color: #374151;
  font-size: 18px;
  line-height: 1.75;
}

.au-tip {
  margin: 0 0 22px;
  max-width: 52ch;
  padding: 14px 18px;
  border-left: 4px solid #2563eb;
  border-radius: 0 12px 12px 0;
  background: #eef3ff;
  color: #1e3a8a;
  font-size: 16px;
  line-height: 1.6;
}

.au-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(150deg, #0a1f66, #05070d);
  box-shadow: 0 18px 44px rgba(10, 31, 102, 0.28);
}

.au-video video,
.au-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000000;
}

.au-video-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #b6c5ea;
  font-size: 15px;
  font-weight: 600;
}

.au-play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.au-play::after {
  content: "";
  margin-left: 5px;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #ffffff;
}

/* FAQ */

.au-faq {
  max-width: 820px;
}

.au-faq details {
  border-bottom: 1px solid #d7deea;
}

.au-faq summary {
  position: relative;
  padding: 22px 48px 22px 0;
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.au-faq summary::-webkit-details-marker {
  display: none;
}

.au-faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: 500;
  color: #2563eb;
  transition: transform 0.2s;
}

.au-faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.au-faq summary:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}

.au-faq details p {
  margin: 0 0 24px;
  max-width: 62ch;
  color: #374151;
  font-size: 17px;
  line-height: 1.75;
}

/* Risk notice */

.au-notice {
  max-width: 820px;
  background: #f4f6fa;
  border: 1px solid #e5e9f0;
  border-left: 4px solid #f59e0b;
  border-radius: 14px;
  padding: 24px 28px;
}

.au-notice h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

.au-notice p {
  margin: 0 0 10px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.75;
}

.au-notice p:last-child {
  margin-bottom: 0;
}

/* Closing call to action */

.au-cta {
  background: linear-gradient(150deg, #1b4fe0 0%, #2f6bff 50%, #0a1f66 100%);
  color: #ffffff;
  text-align: center;
  padding: 88px 0;
}

.au-cta h2 {
  font-family: "Unbounded", "Inter", sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.au-cta p {
  margin: 0 auto 32px;
  max-width: 46ch;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.au-cta .au-actions {
  justify-content: center;
}

.btn-white {
  background: #ffffff;
  color: #1b4fe0;
}

.btn-white:hover {
  background: #eef3ff;
  box-shadow: 0 10px 26px rgba(5, 7, 13, 0.3);
}

.btn-ghost-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-ghost-light:hover {
  border-color: #ffffff;
}

.au-sticky { display: none; }

@media (max-width: 900px) {
  .au-need { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .au-step { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 560px) {
  .au-hero { padding: 64px 0 60px; }
  .au-section { padding: 64px 0; }
  .au-need { grid-template-columns: minmax(0, 1fr); }
  .au-actions .btn { width: 100%; }
}

/* Phones: keep the sign-up button pinned to the bottom of the screen */
@media (max-width: 700px) {
  .au-sticky {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    transform: translateY(110%);
    transition: transform 0.3s ease;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(5, 7, 13, 0.94);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .au-sticky.show { transform: translateY(0); }

  .au-sticky .btn { width: 100%; }

  .site-footer { padding-bottom: 96px; }
}

/* Four-step flow: choice buttons, email box, message form */

.au-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 0 0 22px;
}

.au-choice button {
  font: inherit;
  padding: 16px 14px;
  border-radius: 14px;
  border: 2px solid #cbd5e6;
  background: #ffffff;
  color: #111827;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
}

.au-choice button[aria-pressed="true"] {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.au-choice button:focus-visible {
  outline: 3px solid #1e3a8a;
  outline-offset: 2px;
}

.au-panel[hidden] {
  display: none;
}

.au-email {
  max-width: 52ch;
  margin: 0 0 18px;
  padding: 18px 20px;
  border: 2px solid #cbd5e6;
  border-radius: 14px;
  background: #f8fafd;
}

.au-email p {
  margin: 0;
  font-size: 16px;
}

.au-email dl {
  margin: 0 0 16px;
}

.au-email dt {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #4b5563;
}

.au-email dd {
  margin: 2px 0 0;
  font-size: 16px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.au-form {
  display: grid;
  gap: 16px;
  max-width: 460px;
  margin: 0 0 20px;
}

.au-form label,
.au-msg-label {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 700;
}

.au-form input {
  width: 100%;
  padding: 15px 16px;
  border: 2px solid #cbd5e6;
  border-radius: 12px;
  font: inherit;
  font-size: 17px;
}

.au-form input:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 1px;
  border-color: #2563eb;
}

.au-msg {
  display: block;
  width: 100%;
  max-width: 460px;
  min-height: 220px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 2px dashed #cbd5e6;
  border-radius: 12px;
  background: #f8fafd;
  color: #111827;
  font: inherit;
  font-size: 16px;
  line-height: 1.6;
  resize: none;
}

.btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 480px) {
  .au-choice { grid-template-columns: minmax(0, 1fr); }
}

/* Steps without a video, and the "skip down" line */

.au-step--solo {
  grid-template-columns: minmax(0, 1fr);
}

.au-skip {
  margin: 22px 0 0;
  font-size: 17px;
}

.au-skip a {
  color: #2563eb;
  font-weight: 700;
}

.au-existing .au-step {
  border-top: 0;
  padding-top: 0;
}
