/* ============================================================
   CityGains v3 — Minimal Landing Page
   Inspired by classic info-product VSL style: centered narrow
   column, blue headlines, generous whitespace, single CTA.
   ============================================================ */

:root {
  --bg: #ffffff;
  --ink: #1c2c47;
  --ink-soft: #4a5870;
  --muted: #6f7c93;
  --link: #1f6fb2;
  --link-hover: #154f80;
  --brand: #1f6fb2;
  --brand-2: #2f86d1;
  --brand-dark: #154f80;
  --check: #2ec27e;
  --target: #d94c4c;
  --border: #e6eaf0;
  --shadow: 0 8px 30px rgba(28, 44, 71, 0.08);
  --radius: 8px;
  --shell: 760px;
  --shell-wide: 980px;
  --font-body: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }

img { max-width: 100%; display: block; }

/* Layout shell */
.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 20px;
}

.shell-wide {
  max-width: var(--shell-wide);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   HEADER / BRAND
   ============================================================ */
.brand-bar {
  padding: 36px 20px 12px;
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: 52px;
  width: auto;
}

/* ============================================================
   HEADLINES
   ============================================================ */
.headline-block {
  text-align: center;
  padding: 18px 20px 6px;
}

.headline-block .shell { padding: 0; }

.kicker {
  color: var(--brand);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  margin: 8px 0 22px;
}

.headline {
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.45;
  margin: 0 0 22px;
}

.headline em {
  font-style: normal;
  color: var(--brand);
}

.subline {
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 4px;
  color: var(--ink);
  font-weight: 600;
}

.subline .check {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--check);
  color: #fff;
  font-size: 13px;
  line-height: 18px;
  text-align: center;
  vertical-align: -2px;
  margin-right: 6px;
  font-weight: 800;
}

/* ============================================================
   VSL + SIDE PANEL
   ============================================================ */
.vsl-section {
  padding: 30px 20px 8px;
}

.vsl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
}

.vsl-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0c1c33;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(12, 28, 51, 0.28);
  display: block;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.vsl-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(12, 28, 51, 0.34);
  text-decoration: none;
}

.vsl-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.vsl-thumb:hover .vsl-thumb-img { transform: scale(1.03); }

.vsl-thumb-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.18) 100%);
}

.vsl-play-btn {
  width: 78px;
  height: 56px;
  background: #e53935;
  border-radius: 14px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.vsl-thumb:hover .vsl-play-btn {
  background: #f04540;
  transform: scale(1.06);
}

.vsl-play-btn::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 20px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 5px;
}

/* Side panel */
.discover {
  font-size: 16px;
  line-height: 1.65;
}

.discover-head {
  color: var(--link);
  font-weight: 700;
  font-size: 17px;
  margin: 0 0 18px;
}

.discover-head .icon {
  margin-right: 6px;
  display: inline-block;
}

.discover-head u { text-decoration: underline; }

.secret {
  margin: 0 0 16px;
  color: var(--ink);
}

.secret a {
  color: var(--link);
  text-decoration: underline;
  font-weight: 700;
}

.secret strong { font-weight: 700; }

/* CTA */
.cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  margin: 30px 0 0;
}

.cta-btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 16px 34px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(31, 111, 178, 0.3);
  transition: background 0.15s ease, transform 0.15s ease;
  text-decoration: none;
  letter-spacing: 0.2px;
}

.cta-btn:hover {
  background: var(--brand-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.cta-btn[disabled],
.cta-btn.is-locked {
  background: #c2cad8;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}

.cta-btn--outline {
  background: #fff;
  color: var(--brand);
  border: 2px solid var(--brand);
  box-shadow: none;
}

.cta-btn--outline:hover {
  background: var(--brand);
  color: #fff;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  margin-top: 60px;
  padding: 22px 20px 30px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: center;
  margin: 0 0 14px;
}

.footer-links a {
  color: var(--link);
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.footer-links svg {
  width: 12px;
  height: 12px;
  color: var(--muted);
}

.copy {
  margin: 6px 0 4px;
  font-size: 13px;
  color: var(--ink);
}

.disclaimer {
  font-size: 12px;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ============================================================
   FORM / MODAL (used on apply page + opt-in popups)
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 28, 50, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

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

body.modal-open {
  overflow: hidden;
}

.modal-card {
  background: #fff;
  border-radius: 10px;
  max-width: 440px;
  width: 100%;
  padding: 28px 26px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: pop 0.2s ease;
}

@keyframes pop {
  from { transform: translateY(8px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: transparent;
  border: 0;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

.modal-title {
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 20px;
  margin: 0 0 6px;
  text-align: center;
}

.modal-sub {
  text-align: center;
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 14px;
}

.modal-card--calendly {
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px 20px 20px;
}

.calendly-modal-body {
  min-height: 700px;
}

.calendly-modal-body iframe {
  display: block;
  width: 100%;
  min-height: 700px;
  border: 0;
}

.modal-card--calendly .calendly-inline-widget {
  min-width: 0 !important;
  width: 100%;
}

.field {
  display: block;
  margin: 0 0 12px;
}

.input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 111, 178, 0.15);
}

select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%236f7c93' d='M5 8l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 18px; padding-right: 36px; }

textarea.input { resize: vertical; min-height: 90px; }

.form-submit {
  width: 100%;
  margin-top: 4px;
}

.fine { font-size: 12px; color: var(--muted); margin: 10px 0 0; text-align: center; }

.form-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--target);
  font-size: 13px;
  text-align: center;
}

.thank-you-panel {
  padding: 18px 0 8px;
}

/* ============================================================
   VSL PAGE
   ============================================================ */
.vsl-page-wrap {
  padding: 30px 20px 0;
}

.vsl-frame {
  max-width: 880px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.vsl-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.vsl-status {
  text-align: center;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.vsl-status strong { color: var(--ink); }

.hidden { display: none !important; }

/* ============================================================
   APPLY PAGE
   ============================================================ */
.apply-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
  padding: 20px 0 0;
}

.apply-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 22px 8px;
  background: #fff;
  margin: 14px 0 0;
}

.apply-card h3 {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 17px;
}

.apply-card ul {
  margin: 0 0 12px;
  padding-left: 20px;
  color: var(--ink-soft);
}

.apply-card li { margin: 6px 0; }

.fee-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46, 194, 126, 0.12);
  color: #1b8a55;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-top: 6px;
}

.apply-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 22px 22px;
  box-shadow: var(--shadow);
}

.apply-form-card h2 {
  margin: 0 0 4px;
  color: var(--brand-dark);
  font-size: 20px;
}

.apply-form-card p.small {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.calendly-wrap {
  max-width: 880px;
  margin: 24px auto 0;
}

.apply-form-card .calendly-inline-widget {
  min-width: 0 !important;
  width: 100%;
}

/* ============================================================
   CONGRATS PAGE
   ============================================================ */
.congrats-wrap {
  text-align: center;
  padding: 40px 20px 0;
}

.congrats-tick {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(46, 194, 126, 0.12);
  color: var(--check);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}

.congrats-tick svg { width: 42px; height: 42px; }

.congrats-title {
  font-size: 24px;
  color: var(--brand-dark);
  font-weight: 800;
  margin: 0 0 8px;
}

.congrats-lead {
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto 24px;
}

.congrats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 720px;
  margin: 12px auto 0;
  text-align: left;
}

.congrats-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 18px 14px;
}

.congrats-panel h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--brand-dark);
}

.congrats-panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
}

.congrats-panel li { margin: 4px 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 760px) {
  .vsl-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .apply-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .congrats-grid {
    grid-template-columns: 1fr;
  }
  .headline { font-size: 19px; }
  .kicker { font-size: 17px; }
  .footer-links { gap: 18px; }
  .brand-bar { padding-top: 24px; }
  .vsl-thumb-copy { font-size: 16px; }
  .vsl-thumb-copy .small { font-size: 14px; }
}

@media (max-width: 420px) {
  .headline { font-size: 17px; }
  .kicker { font-size: 16px; }
  .subline { font-size: 15px; }
  .cta-btn { font-size: 15px; padding: 14px 22px; }
}
