/* Scadea theme: page-whitepaper-single.css
   Single whitepaper gated content page. No header/footer styles.
   Loaded only on single-whitepaper.php via scadea_enqueue_assets(). */

/* ============ HERO ============ */
.wps-hero {
  background: linear-gradient(135deg, #0E1D3F 0%, #122348 55%, #1A2E5C 100%);
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.wps-hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 20%, transparent 80%);
  pointer-events: none;
}
.wps-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 88% -5%, rgba(0,149,218,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 55% at -5% 105%, rgba(250,166,26,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.wps-hero .container { position: relative; max-width: 900px; }

/* Breadcrumb */
.wps-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-acc);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.wps-breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.15s; }
.wps-breadcrumb a:hover { color: #fff; }
.wps-breadcrumb span[aria-hidden] { color: rgba(255,255,255,0.25); }
.wps-breadcrumb span:not([aria-hidden]) { color: rgba(255,255,255,0.75); }

/* Meta pills */
.wps-hero__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.wps-type-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--f-acc);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--orange);
  padding: 4px 12px;
  border-radius: 100px;
}
.wps-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--f-acc);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 4px 12px;
  border-radius: 100px;
}
.wps-meta-pill svg { width: 13px; height: 13px; }

/* Title + subtitle */
.wps-hero__title {
  font-family: var(--f-head);
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.wps-hero p { color: rgba(255,255,255,0.82); }
.wps-hero__sub {
  font-family: var(--f-body);
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255,255,255,0.72);
  max-width: 680px;
  line-height: 1.7;
  margin: 0;
}

/* ============ MAIN LAYOUT ============ */
.wps-layout {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(240,224,240,0.55) 0%, transparent 55%),
    radial-gradient(50% 50% at 0% 100%, rgba(221,235,247,0.45) 0%, transparent 60%),
    #F8F6FB;
}
.wps-layout__inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 1100px) { .wps-layout__inner { grid-template-columns: 1fr 420px; gap: 3rem; } }
@media (max-width: 900px)  { .wps-layout__inner { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ============ LEFT COLUMN ============ */
.wps-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Cover */
.wps-cover {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(18,35,72,0.22);
  max-width: 320px;
}
.wps-cover__img { width: 100%; height: auto; display: block; }
.wps-cover__placeholder {
  background: linear-gradient(145deg, #0E1D3F, #1B2E5C);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 200 / 260;
}
.wps-cover__placeholder svg { width: 100%; height: auto; max-width: 200px; }

/* What's inside */
.wps-inside {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}
.wps-inside__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-head);
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 1.25rem;
}
.wps-inside__title svg { width: 22px; height: 22px; flex-shrink: 0; }
.wps-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.wps-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--f-body);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--body);
}
.wps-bullets li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  background: rgba(0,149,218,0.1);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 9l3 3 5-5' stroke='%230095DA' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
}

/* Trust strip */
.wps-trust {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.wps-trust span:first-child {
  font-family: var(--f-acc);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.wps-trust__badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.wps-badge {
  font-family: var(--f-acc);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  background: #fff;
  border: 1.5px solid var(--hairline);
  padding: 5px 12px;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

/* ============ DIFFICULTY PILL VARIANTS ============ */
.diff--beginner     { color: #1a7a4a; background: rgba(98,192,138,0.12); border-color: rgba(98,192,138,0.3); }
.diff--intermediate { color: #b06000; background: rgba(250,166,26,0.12); border-color: rgba(250,166,26,0.3); }
.diff--advanced     { color: #1a5cb0; background: rgba(0,149,218,0.12); border-color: rgba(0,149,218,0.3); }

/* ============ AUTHOR CARD ============ */
.wps-author-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wps-author-card__label {
  font-family: var(--f-acc);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.wps-author-card__name {
  font-family: var(--f-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s;
}
.wps-author-card__name svg { width: 13px; height: 13px; opacity: 0.6; }
.wps-author-card__name:hover { color: var(--blue); }
.wps-author-card__role {
  font-family: var(--f-body);
  font-size: 0.875rem;
  color: var(--body);
}

/* ============ STATS STRIP ============ */
.wps-stats {
  display: flex;
  gap: 0;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.wps-stat {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 1.125rem;
  border-right: 1px solid var(--hairline);
}
.wps-stat:last-child { border-right: 0; }
.wps-stat svg { width: 22px; height: 22px; flex-shrink: 0; }
.wps-stat div { display: flex; flex-direction: column; gap: 1px; }
.wps-stat strong {
  font-family: var(--f-head);
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.wps-stat span {
  font-family: var(--f-acc);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============ TRUST ============ */
.wps-trust {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.wps-trust__label {
  font-family: var(--f-acc);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============ RIGHT COLUMN — GATE CARD ============ */
.wps-right { position: sticky; top: 140px; }

.wps-gate-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 24px;
  box-shadow: 0 20px 56px rgba(18,35,72,0.12);
  overflow: hidden;
}

/* ── FORM (locked) state ── */
.wps-form-header {
  background: linear-gradient(135deg, #0E1D3F 0%, #122348 100%);
  padding: 2rem 2rem 1.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.wps-form-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% -10%, rgba(0,149,218,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.wps-form-header__lock {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
}
.wps-form-header__lock svg { width: 48px; height: 48px; }
.wps-form-header__title {
  font-family: var(--f-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.5rem;
  position: relative;
}
.wps-form-header__sub {
  font-family: var(--f-body);
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
  line-height: 1.6;
  position: relative;
}

.wps-form-body {
  padding: 1.75rem 2rem;
}

/* JetFormBuilder overrides — match theme style */
.wps-form-body .jet-form-builder,
.wps-form-body .jet-form-builder__fields-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.wps-form-body .jet-form-builder__field-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.wps-form-body .jet-form-builder__label,
.wps-form-body label {
  font-family: var(--f-acc) !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  letter-spacing: 0.04em;
}
.wps-form-body .jet-form-builder__field input,
.wps-form-body .jet-form-builder__field select,
.wps-form-body .jet-form-builder__field textarea,
.wps-form-body input[type="text"],
.wps-form-body input[type="email"],
.wps-form-body input[type="tel"],
.wps-form-body select {
  width: 100% !important;
  font-family: var(--f-body) !important;
  font-size: 0.9375rem !important;
  color: var(--ink) !important;
  background: var(--light-gray) !important;
  border: 1.5px solid var(--hairline) !important;
  border-radius: 10px !important;
  padding: 0.75rem 1rem !important;
  outline: none !important;
  transition: border-color 0.15s, background 0.15s !important;
  box-shadow: none !important;
  -webkit-appearance: none;
}
.wps-form-body input:focus,
.wps-form-body select:focus,
.wps-form-body textarea:focus {
  border-color: var(--blue) !important;
  background: #fff !important;
}
.wps-form-body input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  accent-color: var(--blue);
  border-radius: 4px !important;
}
.wps-form-body .jet-form-builder__action-button,
.wps-form-body button[type="submit"],
.wps-form-body input[type="submit"] {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--orange) !important;
  color: var(--navy) !important;
  font-family: var(--f-acc) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  border: 0 !important;
  border-radius: 100px !important;
  padding: 1rem 2rem !important;
  cursor: pointer !important;
  transition: background 0.15s, transform 0.15s !important;
  min-height: 52px !important;
  margin-top: 0.5rem !important;
}
.wps-form-body button[type="submit"]:hover,
.wps-form-body input[type="submit"]:hover {
  background: var(--orange-hover) !important;
  transform: translateY(-1px) !important;
}

/* Perks strip (what you get) */
.wps-form-perks {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1rem 2rem;
  background: rgba(0,149,218,0.04);
  border-bottom: 1px solid var(--hairline);
}
.wps-form-perk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-acc);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
}
.wps-form-perk svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Privacy note */
.wps-form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--f-acc);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0 2rem 1.75rem;
  margin: 0;
  text-align: center;
}
.wps-form-privacy svg { width: 13px; height: 13px; flex-shrink: 0; }

/* Form config notice */
.wps-form-notice {
  font-family: var(--f-body);
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--light-gray);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}

/* ── UNLOCKED state ── */
.wps-unlocked {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
.wps-unlocked__icon svg { width: 64px; height: 64px; }
.wps-unlocked__title {
  font-family: var(--f-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}
.wps-unlocked__msg {
  font-family: var(--f-body);
  font-size: 0.9375rem;
  color: var(--body);
  margin: 0;
  line-height: 1.6;
}
.wps-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  font-family: var(--f-acc);
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  width: 100%;
  justify-content: center;
  transition: background 0.15s, transform 0.15s;
  box-shadow: 0 8px 24px rgba(18,35,72,0.22);
}
.wps-download-btn svg { width: 20px; height: 20px; }
.wps-download-btn:hover { background: var(--navy-2); transform: translateY(-1px); }
.wps-back-link {
  font-family: var(--f-acc);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  transition: color 0.15s;
}
.wps-back-link:hover { color: var(--blue-hover); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .wps-right { position: static; }
  .wps-cover { max-width: 240px; }
}
@media (max-width: 640px) {
  .wps-form-header { padding: 1.5rem; }
  .wps-form-body { padding: 1.25rem; }
  .wps-form-privacy { padding: 0 1.25rem 1.25rem; }
  .wps-unlocked { padding: 2rem 1.5rem; }
}

/*============ JET FORM CUSTOM CSS ============*/
.jet-form-builder__field.phone-field-intl.iti__tel-input {
  padding-left: 48px !important;
}
