/* Xpand funnel pages. Brand tokens match xpandautomations.com. */
:root {
  --bg: #07080D;
  --text: #EEF3FA;
  --muted: #9AA4B6;
  --blue: #2F6BFF;
  --btn: #2A63F5;
  --btn-border: #5B8CFF;
  --soft: #C9D6FF;
  --amber: #E5A93A;
  --amber-text: #FFD27A;
  --green: #25A862;
  --line: rgba(238, 243, 250, 0.08);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(60% 520px at 50% 0%, rgba(47, 107, 255, 0.30), rgba(7, 8, 13, 0) 70%),
    linear-gradient(rgba(238, 243, 250, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 243, 250, 0.04) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  line-height: 1.4;
}
a { color: #7FA2FF; }
a:hover { color: #A9C0FF; }

.page { padding: 28px 16px 96px; }
.col { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: stretch; }
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }

.brand { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 600; letter-spacing: 0.01em; }

/* Swap spots: dashed amber means "needs something real before ads run". */
.swap { border: 1px dashed var(--amber); border-radius: 6px; background: rgba(229, 169, 58, 0.04); }
.swap-chip {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--amber-text); border: 1px dashed var(--amber); padding: 3px 8px; border-radius: 3px;
}
.proof-stars { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 5px 12px; }
.proof-stars svg { filter: drop-shadow(0 0 8px rgba(245, 185, 66, 0.5)); }
.proof-stars .swap-chip { border: 0; padding: 0; }

.pill {
  display: inline-flex; background: var(--btn); border: 1px solid var(--btn-border); border-radius: 999px;
  padding: 7px 16px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; box-shadow: 0 10px 32px -10px rgba(47, 107, 255, 0.55);
}
.pill.soft { border-color: rgba(47, 107, 255, 0.55); background: rgba(47, 107, 255, 0.10); color: var(--soft); box-shadow: none; padding: 10px 20px; font-size: 13px; font-weight: 600; }

h1 {
  margin: 0; max-width: 640px; font-family: 'Space Grotesk', sans-serif;
  font-size: 38px; font-weight: 600; line-height: 1.08; letter-spacing: -0.02em;
}
.sub { margin: 0; max-width: 600px; font-size: 17px; line-height: 1.45; color: var(--muted); }

/* Video placeholder */
.video-wrap { width: 100%; max-width: 500px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: 6px; border: 1px solid rgba(238, 243, 250, 0.10);
  background: radial-gradient(70% 90% at 50% 40%, rgba(47, 107, 255, 0.22), rgba(7, 8, 13, 0) 70%), #0B0D16;
  box-shadow: 0 30px 80px -40px rgba(47, 107, 255, 0.6);
  display: flex; align-items: center; justify-content: center;
}
.video i { position: absolute; width: 16px; height: 16px; border: 0 solid var(--blue); }
.video i:nth-child(1) { top: 10px; left: 10px; border-top-width: 2px; border-left-width: 2px; }
.video i:nth-child(2) { top: 10px; right: 10px; border-top-width: 2px; border-right-width: 2px; }
.video i:nth-child(3) { bottom: 10px; left: 10px; border-bottom-width: 2px; border-left-width: 2px; }
.video i:nth-child(4) { bottom: 10px; right: 10px; border-bottom-width: 2px; border-right-width: 2px; }
.play { width: 64px; height: 64px; border-radius: 50%; background: var(--btn); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 40px -8px rgba(47, 107, 255, 0.8); }
.play.small { width: 44px; height: 44px; background: transparent; border: 1px solid rgba(238, 243, 250, 0.5); box-shadow: none; }
.caption { font-size: 13px; color: var(--muted); text-align: center; }

/* Buttons */
.btn {
  min-height: 54px; padding: 0 30px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-size: 17px; font-weight: 600; color: #fff; text-decoration: none;
  background: var(--btn); border: 1px solid var(--btn-border); border-radius: 999px;
  box-shadow: 0 10px 32px -10px rgba(47, 107, 255, 0.55); cursor: pointer;
}
.btn:hover { color: #fff; background: #3A70F7; }
.btn:focus-visible { outline: 3px solid #A9C0FF; outline-offset: 3px; }

/* Sections */
.section { margin-top: 64px; display: flex; flex-direction: column; gap: 22px; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.section-title { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 600; letter-spacing: -0.01em; text-align: center; }
.rule { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(47, 107, 255, 0.7), transparent); }
.logos { margin-top: 64px; padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 14px; color: var(--muted); }

.cards { display: flex; flex-wrap: wrap; gap: 14px; }
.card { flex: 1 1 300px; min-width: 0; background: rgba(238, 243, 250, 0.03); border: 1px solid var(--line); border-radius: 6px; padding: 18px; display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.tick { flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(47, 107, 255, 0.18); border: 1px solid rgba(47, 107, 255, 0.55); display: flex; align-items: center; justify-content: center; }

.steps { display: flex; flex-direction: column; align-items: stretch; }
.step { display: flex; gap: 18px; align-items: center; font-size: 17px; line-height: 1.45; }
.step-num { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(47, 107, 255, 0.55); background: rgba(47, 107, 255, 0.10); display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 600; letter-spacing: 0.08em; color: var(--soft); }
.wire { width: 1px; height: 26px; margin: 0 0 0 26px; background: linear-gradient(var(--blue), rgba(47, 107, 255, 0.15)); }

.proof-cards { display: flex; flex-wrap: wrap; gap: 16px; }
.proof-card { flex: 1 1 200px; min-width: 0; background: rgba(238, 243, 250, 0.03); border: 1px solid var(--line); border-radius: 6px; padding: 18px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--muted); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #2F6BFF, #1B2A5C); }

.cta-panel {
  margin-top: 64px; border: 1px solid rgba(47, 107, 255, 0.40); border-radius: 8px; padding: 40px 24px;
  background: linear-gradient(180deg, rgba(47, 107, 255, 0.14), rgba(47, 107, 255, 0.02)), #0A0C14;
  box-shadow: 0 0 80px -24px rgba(47, 107, 255, 0.7);
  display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center;
}
.cta-panel h2 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; }

.foot { margin-top: 48px; text-align: center; font-size: 13px; color: var(--muted); }
.foot a { color: var(--muted); }

/* Thank-you page */
.connector { width: 1px; height: 36px; margin: 0 auto; background: linear-gradient(var(--blue), rgba(47, 107, 255, 0.15)); }
.connector.up { background: linear-gradient(rgba(47, 107, 255, 0.15), var(--blue)); }
.booked { border: 1px solid rgba(47, 107, 255, 0.40); border-radius: 8px; padding: 26px 24px; background: linear-gradient(180deg, rgba(47, 107, 255, 0.14), rgba(47, 107, 255, 0.02)), #0A0C14; box-shadow: 0 0 80px -24px rgba(47, 107, 255, 0.7); display: flex; align-items: center; justify-content: center; gap: 16px; }
.booked-tick { width: 44px; height: 44px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; animation: xa-pulse 2.2s ease-out infinite; }
.booked-text { font-family: 'Space Grotesk', sans-serif; font-size: 38px; font-weight: 600; letter-spacing: -0.02em; }
@keyframes xa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 168, 98, 0.55); } 100% { box-shadow: 0 0 0 16px rgba(37, 168, 98, 0); } }
@media (prefers-reduced-motion: reduce) { .booked-tick { animation: none; } }
.stack { display: flex; flex-direction: column; gap: 10px; }
.note-box { min-height: 54px; padding: 12px 22px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 16px; font-weight: 600; color: var(--text); background: rgba(238, 243, 250, 0.04); border: 1px solid rgba(238, 243, 250, 0.45); border-radius: 999px; }
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.mini { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.mini .video { background: #0B0D16; box-shadow: none; }
.mini .num { position: absolute; top: 8px; left: 10px; font-family: 'Space Grotesk', sans-serif; font-size: 12px; letter-spacing: 0.1em; color: var(--muted); }
.mini .caption { text-align: left; font-size: 14px; }
.wide { padding: 12px; }

@media (max-width: 520px) {
  .page { padding: 20px 16px 72px; }
  h1 { font-size: 30px; }
  .sub { font-size: 16px; }
  .section-title { font-size: 24px; }
  .cta-panel h2 { font-size: 26px; }
  .booked-text { font-size: 30px; }
  .pill { font-size: 11px; letter-spacing: 0.1em; }
}
