/* ═══════════════════════════════════════════════════════════════
   Extolem — AI Strategy Builder  |  Cinematic Dark Edition
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Reset & Base ── */
#ex-strategy-wrap * { box-sizing: border-box; }

#ex-strategy-wrap {
  background: #050508;
  color: #e8e8f0;
  min-height: 100vh;
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  position: relative;
}

/* ── Cinematic Background ── */
#ex-strategy-wrap::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(25,245,195,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 110%, rgba(99,102,241,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 40% 60% at 50% 50%, rgba(25,245,195,0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Animated grid */
#ex-strategy-wrap::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(25,245,195,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25,245,195,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  animation: exst-grid-drift 20s linear infinite;
}

@keyframes exst-grid-drift {
  0%   { transform: translate(0,0); }
  100% { transform: translate(60px,60px); }
}

/* Floating orbs */
.exst-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: exst-orb-float 12s ease-in-out infinite;
}
.exst-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(25,245,195,0.06), transparent 70%);
  top: -100px; left: -150px;
  animation-duration: 14s;
}
.exst-orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.07), transparent 70%);
  bottom: -200px; right: -200px;
  animation-duration: 18s;
  animation-delay: -6s;
}
.exst-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(25,245,195,0.04), transparent 70%);
  top: 50%; left: 60%;
  animation-duration: 10s;
  animation-delay: -3s;
}

@keyframes exst-orb-float {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(30px,-40px) scale(1.05); }
  66%      { transform: translate(-20px,20px) scale(0.97); }
}

/* All content above bg */
.exst-hero,
.exst-form-section,
.exst-loading,
.exst-report { position: relative; z-index: 1; }

/* ── Full-width overrides ── */
body.page-template-page-ai-strategy .site-main,
body.page-template-page-ai-strategy .content-area,
body.page-template-page-ai-strategy #primary,
body.page-template-page-ai-strategy .entry-content,
body.page-template-page-ai-strategy article,
body.page-template-page-ai-strategy .inside-article {
  padding: 0 !important;
}

/* ── Nuclear full-width fix ── */
body.page-template-page-ai-strategy #page,
body.page-template-page-ai-strategy #content,
body.page-template-page-ai-strategy .site-content,
body.page-template-page-ai-strategy .content-area,
body.page-template-page-ai-strategy #primary,
body.page-template-page-ai-strategy .site-main,
body.page-template-page-ai-strategy main,
body.page-template-page-ai-strategy article,
body.page-template-page-ai-strategy .entry-content,
body.page-template-page-ai-strategy .inside-article,
body.page-template-page-ai-strategy .generate-columns-container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
}

body.page-template-page-ai-strategy .generate-sidebar-layout--no-sidebar #content {
  width: 100% !important;
}

body.page-template-page-ai-strategy {
  overflow-x: hidden;
}
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ── HERO ── */
.exst-hero {
  padding: 120px 24px 70px;
  text-align: center;
}
.exst-hero-inner { max-width: 820px; margin: 0 auto; }

.exst-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(25,245,195,0.06);
  border: 1px solid rgba(25,245,195,0.18);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 12px;
  font-weight: 600;
  color: #19f5c3;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 32px;
  animation: exst-fadein .8s ease both;
}

.exst-dot {
  width: 7px; height: 7px;
  background: #19f5c3;
  border-radius: 50%;
  box-shadow: 0 0 10px #19f5c3, 0 0 20px rgba(25,245,195,0.4);
  animation: exst-pulse 2s ease-in-out infinite;
}

@keyframes exst-pulse {
  0%,100% { opacity:1; box-shadow: 0 0 10px #19f5c3, 0 0 20px rgba(25,245,195,0.4); }
  50%      { opacity:.5; box-shadow: 0 0 4px #19f5c3; }
}

.exst-h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0 0 24px;
  word-break: break-word;
  overflow-wrap: break-word;
  animation: exst-fadein-up .9s ease both;
  animation-delay: .1s;
}

.exst-h1-accent {
  color: #19f5c3;
  position: relative;
  display: inline-block;
}

/* Underline sweep on accent */
.exst-h1-accent::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, #19f5c3, rgba(25,245,195,0));
  animation: exst-underline 1.2s ease forwards;
  animation-delay: 1s;
}
@keyframes exst-underline { to { width: 100%; } }

.exst-sub {
  font-size: 18px;
  color: #666;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
  animation: exst-fadein-up .9s ease both;
  animation-delay: .2s;
}

/* ── Scan line ticker ── */
.exst-ticker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
  overflow: hidden;
  animation: exst-fadein .8s ease both;
  animation-delay: .5s;
}
.exst-ticker-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #444;
  white-space: nowrap;
}
.exst-ticker-item span { color: #19f5c3; font-weight: 700; }

/* ── FORM ── */
.exst-form-section { padding: 0 24px 100px; }

.exst-form-card {
  max-width: 780px;
  margin: 0 auto;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 24px;
  padding: 44px;
  backdrop-filter: blur(20px);
  box-shadow:
    0 0 0 1px rgba(25,245,195,0.04),
    0 40px 80px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.05);
  animation: exst-fadein-up .9s ease both;
  animation-delay: .3s;
  position: relative;
  overflow: hidden;
}

/* Shimmer border on card */
.exst-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(25,245,195,0.4), transparent);
  animation: exst-shimmer 4s ease-in-out infinite;
  animation-delay: 2s;
}
@keyframes exst-shimmer {
  0%   { left: -60%; }
  100% { left: 160%; }
}

.exst-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 28px;
}
@media(max-width:600px){ .exst-form-grid { grid-template-columns: 1fr; } }

.exst-field { display: flex; flex-direction: column; }

.exst-label {
  font-size: 11px;
  font-weight: 600;
  color: #555;
  margin-bottom: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.exst-input {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  color: #f0f0f0;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  padding: 14px 16px;
  outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.exst-input:focus {
  border-color: rgba(25,245,195,0.4);
  background: rgba(25,245,195,0.04);
  box-shadow: 0 0 0 3px rgba(25,245,195,0.06), 0 0 20px rgba(25,245,195,0.05);
}
.exst-input::placeholder { color: #333; }
.exst-select { appearance: none; cursor: pointer; }
.exst-select option { background: #111; }

/* ── CTA Button ── */
.exst-btn {
  width: 100%;
  background: #19f5c3;
  color: #000;
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  padding: 20px 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: -.01em;
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 0 30px rgba(25,245,195,0.2);
}
.exst-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent 50%);
  opacity: 0;
  transition: opacity .2s;
}
.exst-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(25,245,195,0.35), 0 10px 30px rgba(0,0,0,0.3);
}
.exst-btn:hover::before { opacity: 1; }
.exst-btn:active { transform: translateY(0); }

.exst-btn-arrow {
  display: inline-block;
  transition: transform .2s;
}
.exst-btn:hover .exst-btn-arrow { transform: translateX(4px); }

.exst-form-note {
  text-align: center;
  font-size: 13px;
  color: #3a3a3a;
  margin-top: 14px;
}

/* ── LOADING ── */
.exst-loading { padding: 100px 24px; text-align: center; }
.exst-loading-inner { max-width: 500px; margin: 0 auto; }

.exst-spinner-wrap { position: relative; width: 64px; height: 64px; margin: 0 auto 32px; }

.exst-spinner {
  width: 64px; height: 64px;
  border: 2px solid rgba(25,245,195,0.1);
  border-top-color: #19f5c3;
  border-radius: 50%;
  animation: exst-spin .9s linear infinite;
}
.exst-spinner-inner {
  position: absolute;
  top: 10px; left: 10px;
  width: 44px; height: 44px;
  border: 2px solid rgba(25,245,195,0.05);
  border-bottom-color: rgba(25,245,195,0.4);
  border-radius: 50%;
  animation: exst-spin .6s linear infinite reverse;
}

@keyframes exst-spin { to { transform: rotate(360deg); } }

.exst-loading-msg {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 36px;
  letter-spacing: -.02em;
}

.exst-loading-steps { display: flex; flex-direction: column; gap: 10px; text-align: left; }

.exst-step {
  font-size: 14px;
  color: #2a2a2a;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.03);
  transition: all .5s cubic-bezier(.4,0,.2,1);
  display: flex;
  align-items: center;
  gap: 10px;
}
.exst-step--active {
  color: #19f5c3;
  border-color: rgba(25,245,195,0.2);
  background: rgba(25,245,195,0.05);
  box-shadow: 0 0 20px rgba(25,245,195,0.05);
  transform: translateX(6px);
}
.exst-step--done {
  color: #2e2e2e;
  border-color: transparent;
  transform: translateX(0);
}

/* ── REPORT ── */
.exst-report { padding: 0 24px 100px; }
.exst-report-inner { max-width: 780px; margin: 0 auto; }

.exst-report-header {
  text-align: center;
  padding: 60px 0 48px;
  animation: exst-fadein-up .7s ease both;
}

.exst-report-badge {
  display: inline-block;
  background: rgba(25,245,195,0.08);
  border: 1px solid rgba(25,245,195,0.25);
  color: #19f5c3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.exst-report-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px,4vw,46px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -.03em;
}

.exst-report-meta { font-size: 13px; color: #3a3a3a; }

/* ── BLOCKS ── */
.exst-block {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 30px 34px;
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
  position: relative;
  overflow: hidden;
}
.exst-block.exst-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Accent line left border */
.exst-block::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, rgba(25,245,195,0.4), transparent);
  border-radius: 999px;
}

.exst-block--losing::before { background: linear-gradient(to bottom, transparent, rgba(239,68,68,0.5), transparent); }
.exst-block--strategy::before { background: linear-gradient(to bottom, transparent, rgba(99,102,241,0.5), transparent); }

.exst-block-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #19f5c3;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.exst-block--losing .exst-block-label { color: #ef4444; }
.exst-block--strategy .exst-block-label { color: #818cf8; }
.exst-block--competitors .exst-block-label { color: #f59e0b; }
.exst-block--pricing .exst-block-label { color: #19f5c3; }

.exst-block-body {
  font-size: 15px;
  color: #999;
  line-height: 1.8;
}

/* ── Competitor grid ── */
.exst-comp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media(max-width:540px){ .exst-comp-grid { grid-template-columns: 1fr; } }

.exst-comp-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color .2s, transform .2s;
}
.exst-comp-item:hover {
  border-color: rgba(245,158,11,0.2);
  transform: translateY(-2px);
}
.exst-comp-name { font-weight: 700; color: #ddd; font-size: 14px; margin-bottom: 6px; }
.exst-comp-stat { font-size: 12px; color: #444; margin-top: 3px; }

/* ── Pricing card ── */
.exst-pricing-card {
  background: rgba(25,245,195,0.03);
  border: 1px solid rgba(25,245,195,0.1);
  border-radius: 16px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.exst-pricing-card::after {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(25,245,195,0.04), transparent 70%);
  pointer-events: none;
}

.exst-pricing-plan {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: -.02em;
}
.exst-pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.exst-pricing-market-label { font-size: 13px; color: #444; }
.exst-pricing-market-price { font-size: 18px; color: #333; text-decoration: line-through; }
.exst-pricing-row--yours { border-bottom: none; padding-top: 16px; }
.exst-pricing-yours-label { font-size: 15px; font-weight: 700; color: #fff; }
.exst-pricing-yours-price {
  font-family: 'Syne', sans-serif;
  font-size: clamp(20px, 5vw, 32px);
  font-weight: 800;
  color: #19f5c3;
  text-shadow: 0 0 30px rgba(25,245,195,0.3);
  white-space: nowrap;
}
.exst-pricing-row--yours {
  flex-wrap: wrap;
  gap: 6px;
  align-items: flex-start;
}
.exst-pricing-row--yours {
  flex-wrap: wrap;
  gap: 6px;
}
.exst-pricing-saving {
  display: inline-block;
  font-size: 13px;
  color: #19f5c3;
  background: rgba(25,245,195,0.08);
  border: 1px solid rgba(25,245,195,0.15);
  border-radius: 8px;
  padding: 6px 14px;
  margin-top: 14px;
}
.exst-pricing-note { font-size: 13px; color: #444; margin-top: 14px; line-height: 1.6; }

/* ── Voucher ── */
.exst-voucher {
  background: linear-gradient(135deg, rgba(25,245,195,0.05), rgba(99,102,241,0.05));
  border: 1px dashed rgba(25,245,195,0.25);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.exst-voucher.exst-visible { opacity: 1; transform: translateY(0); }

/* Corner cuts like a real voucher */
.exst-voucher::before,
.exst-voucher::after {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  background: #050508;
  border-radius: 50%;
  top: 50%; transform: translateY(-50%);
}
.exst-voucher::before { left: -10px; }
.exst-voucher::after  { right: -10px; }

.exst-voucher-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #19f5c3;
  margin-bottom: 12px;
}
.exst-voucher-code {
  font-family: 'Syne', monospace;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: .15em;
  color: #fff;
  text-shadow: 0 0 40px rgba(25,245,195,0.2);
  margin-bottom: 8px;
}
.exst-voucher-note { font-size: 13px; color: #444; }

/* ── Report CTA ── */
.exst-report-cta {
  text-align: center;
  padding: 20px 0 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.exst-report-cta.exst-visible { opacity: 1; transform: translateY(0); }

.exst-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #19f5c3;
  color: #000;
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  padding: 20px 40px;
  border-radius: 14px;
  text-decoration: none;
  letter-spacing: -.01em;
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 0 40px rgba(25,245,195,0.25);
}
.exst-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent 50%);
  opacity: 0;
  transition: opacity .2s;
}
.exst-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 60px rgba(25,245,195,0.4), 0 15px 40px rgba(0,0,0,0.4);
  color: #000;
}
.exst-cta-btn:hover::before { opacity: 1; }
.exst-cta-note { font-size: 13px; color: #333; margin-top: 14px; }

/* ── Keyframes ── */
@keyframes exst-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes exst-fadein-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Particle canvas ── */
#exst-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .4;
}