/* ============================================================
   CONVERSION.CSS — SignificanTrust conversion layer
   Supplements styles.css without overriding core design
   ============================================================ */

/* ── ANNOUNCEMENT BAR ─────────────────────────────────────── */
.announce-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(90deg, rgba(0,224,255,0.12), rgba(0,224,255,0.06));
  border-bottom: 1px solid rgba(0,224,255,0.2);
  padding: 10px 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  flex-wrap: wrap;
  position: relative;
  z-index: 200;
}
.announce-text { flex: 1; min-width: 0; text-align: center; }
.announce-cta {
  color: var(--cyan, #00e0ff);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(0,224,255,0.4);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  transition: background 0.2s;
}
.announce-cta:hover { background: rgba(0,224,255,0.1); }
.announce-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0 4px;
  font-size: 14px;
  line-height: 1;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}
.announce-close:hover { color: rgba(255,255,255,0.8); }

/* ── HERO ADDITIONS ───────────────────────────────────────── */
.btn-primary--hero {
  font-size: 15px !important;
  padding: 16px 28px !important;
}
.btn-ghost {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  display: inline-block;
  margin-top: 4px;
}
.btn-ghost:hover { color: rgba(255,255,255,0.9); }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}
.hero-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.hero-trust svg {
  width: 12px;
  height: 12px;
  stroke: var(--cyan, #00e0ff);
  flex-shrink: 0;
}

/* ── SOCIAL PROOF BAR ─────────────────────────────────────── */
.proof-bar {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 16px 0;
}
.proof-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter, 32px);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.proof-bar-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
}
.proof-bar-items {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.proof-bar-item {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
}
.proof-bar-sep { color: rgba(255,255,255,0.2); font-size: 12px; }
.proof-bar-ieee { margin-left: auto; }
.proof-bar-ieee-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.proof-bar-ieee-link:hover { color: var(--cyan, #00e0ff); }

/* ── COUNTER CONTEXT LINE ─────────────────────────────────── */
.counter-context {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  font-style: italic;
}

/* ── MID-PAGE CTA CARD ────────────────────────────────────── */
.s-mid-cta {
  padding: 48px 0;
  background: rgba(0,224,255,0.03);
  border-top: 1px solid rgba(0,224,255,0.08);
  border-bottom: 1px solid rgba(0,224,255,0.08);
}
.mid-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: linear-gradient(135deg, rgba(0,224,255,0.06), rgba(0,224,255,0.02));
  border: 1px solid rgba(0,224,255,0.15);
  border-radius: 12px;
  padding: 40px 48px;
  flex-wrap: wrap;
}
.mid-cta-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan, #00e0ff);
  margin: 0 0 8px;
  font-weight: 600;
}
.mid-cta-heading {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -0.5px;
}
.mid-cta-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  margin: 0;
  max-width: 420px;
}
.mid-cta-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.mid-cta-demo {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.mid-cta-demo:hover { color: rgba(255,255,255,0.75); }

/* ── SOLUTION LEARN MORE ──────────────────────────────────── */
.ce-learn-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan, #00e0ff);
  text-decoration: none;
  transition: opacity 0.2s;
}
.ce-learn-more:hover { opacity: 0.75; }

/* ── INLINE TRIAL FORM ────────────────────────────────────── */
.trial-inline-form {
  margin: 32px 0;
  max-width: 560px;
}
.trial-form-row {
  display: flex;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0,224,255,0.25);
  background: rgba(255,255,255,0.03);
}
.trial-form-email {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 18px;
  font-size: 14px;
  color: #fff;
  font-family: inherit;
}
.trial-form-email::placeholder { color: rgba(255,255,255,0.3); }
.trial-form-btn {
  border-radius: 0 !important;
  white-space: nowrap;
  font-size: 14px !important;
  padding: 14px 20px !important;
}
.trial-form-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}
.trial-inline-msg {
  margin-top: 10px;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 6px;
  background: rgba(0,224,255,0.08);
  color: var(--cyan, #00e0ff);
  border: 1px solid rgba(0,224,255,0.2);
}

/* ── CERTAINTY AUDIT DUAL CTAS ────────────────────────────── */
.certainty-audit-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

/* ── ROI AUTO-CALC PULSE ──────────────────────────────────── */
.roi-auto-hint {
  font-size: 12px;
  color: rgba(0,224,255,0.6);
  text-align: center;
  margin-top: 8px;
  animation: pulse-hint 2s ease-in-out infinite;
}
@keyframes pulse-hint {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ── PROOF PAGE — POST-PROOF CTA ANIMATION ────────────────── */
.cta-strip {
  animation: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.cta-strip.cta-strip--revealed {
  animation: ctaReveal 0.6s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes ctaReveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── DEMO EXPRESS LANE — PROMINENT ───────────────────────── */
.demo-express-lane {
  background: linear-gradient(135deg, rgba(0,224,255,0.1), rgba(0,224,255,0.04));
  border: 1px solid rgba(0,224,255,0.3);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 16px 0;
  animation: expressReveal 0.4s ease both;
}
@keyframes expressReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.demo-express-lane-text {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin: 0;
  line-height: 1.5;
}
.demo-express-lane-text strong { color: var(--cyan, #00e0ff); }
.demo-express-lane-link {
  color: var(--cyan, #00e0ff);
  font-weight: 700;
  text-decoration: none;
}
.demo-express-lane-link:hover { text-decoration: underline; }

/* ── PRICING — PLAN RECOMMENDATION ESCAPE VALVE ──────────── */
.pricing-help-link {
  display: block;
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.pricing-help-link a {
  color: var(--cyan, #00e0ff);
  text-decoration: none;
  font-weight: 600;
}
.pricing-help-link a:hover { text-decoration: underline; }

/* ── EXIT INTENT OVERLAY ──────────────────────────────────── */
.exit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,12,20,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}
.exit-overlay.is-visible {
  opacity: 1;
  pointer-events: all;
}
.exit-card {
  background: linear-gradient(145deg, rgba(15,22,38,0.98), rgba(8,12,20,0.98));
  border: 1px solid rgba(0,224,255,0.2);
  border-radius: 16px;
  padding: 48px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
  position: relative;
}
.exit-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.3);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}
.exit-close:hover { color: rgba(255,255,255,0.7); }
.exit-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan, #00e0ff);
  font-weight: 700;
  margin-bottom: 16px;
}
.exit-heading {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.exit-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
  line-height: 1.6;
}
.exit-form { display: flex; flex-direction: column; gap: 12px; }
.exit-email {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  color: #fff;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.exit-email:focus { border-color: rgba(0,224,255,0.4); }
.exit-email::placeholder { color: rgba(255,255,255,0.25); }
.exit-submit {
  width: 100%;
  padding: 14px;
  font-size: 15px;
}
.exit-skip {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  transition: color 0.2s;
}
.exit-skip:hover { color: rgba(255,255,255,0.5); }
.exit-success { display: none; }
.exit-success-icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.exit-success-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.exit-success-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

/* ── STICKY BOTTOM CTA BAR (mobile) ──────────────────────── */
.sticky-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: linear-gradient(180deg, transparent 0%, rgba(8,12,20,0.98) 30%);
  padding: 16px 20px 20px;
  text-align: center;
}
.sticky-cta-bar a {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
}
@media (max-width: 640px) {
  .sticky-cta-bar { display: block; }
  body { padding-bottom: 80px; }
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .announce-bar { padding: 10px 40px 10px 16px; font-size: 12px; }
  .announce-close { right: 10px; }
  .mid-cta-card { padding: 28px 24px; flex-direction: column; }
  .mid-cta-right { width: 100%; }
  .mid-cta-right .btn-primary { width: 100%; text-align: center; }
  .proof-bar-inner { gap: 12px; }
  .proof-bar-ieee { margin-left: 0; }
  .trial-form-row { flex-direction: column; border-radius: 8px; }
  .trial-form-email { border-bottom: 1px solid rgba(0,224,255,0.15); border-radius: 8px 8px 0 0; }
  .trial-form-btn { border-radius: 0 0 8px 8px !important; width: 100%; justify-content: center; }
  .hero-trust { gap: 10px; }
  .exit-card { padding: 32px 24px; }
}

/* ── HERO-WHAT: fix horizontal scroll ───────────────────────
   The original styles.css applies white-space:nowrap at 1024px+
   Override it so the text wraps cleanly instead of overflowing */
@media (min-width: 1024px) {
  .hero-what {
    white-space: normal !important;
    font-size: clamp(15px, 1.5vw, 20px) !important;
  }
}
.hero-what-br { display: block; }

/* ── HERO-MICROLINE: smaller, less dominant ──────────────── */
.hero-microline {
  font-size: 10px !important;
  opacity: 0.5;
  letter-spacing: 0.4px;
}

/* ── PROOF BAR: logo slots ───────────────────────────────── */
.proof-bar-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.proof-logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  /* When you add real logos: replace .proof-logo-placeholder with <img> */
}
.proof-logo-slot img {
  height: 22px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.35;
  transition: opacity 0.2s;
}
.proof-logo-slot img:hover { opacity: 0.65; }
/* Placeholder text — remove when real logos added */
.proof-logo-placeholder {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
  border: 1px dashed rgba(255,255,255,0.1);
  padding: 4px 12px;
  border-radius: 4px;
  white-space: nowrap;
}

/* ── THREAT CARDS: footer bullets on one row ─────────────── */
.threat-footer--inline {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  white-space: nowrap;
}
.threat-footer--inline span {
  font-size: 9px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ── IEEE BADGE: lighter, less heavy ────────────────────────
   The current badge is a full dark card — reduce its weight */
.ieee-badge {
  opacity: 0.65;
  transition: opacity 0.2s;
  border-color: rgba(255,255,255,0.08) !important;
  background: transparent !important;
}
.ieee-badge:hover { opacity: 1; }
.ieee-title {
  font-size: 12px !important;
  color: rgba(255,255,255,0.5) !important;
}
.ieee-top { font-size: 11px !important; }
.ieee-doi { font-size: 11px !important; }

/* ── INLINE TRIAL FORM: explain copy ────────────────────────*/
.trial-inline-explain {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin: 0 0 12px;
  line-height: 1.6;
  max-width: 500px;
}

/* ── COMPARISON INTRO TEXT ───────────────────────────────── */
.s-comparison .s-sub-single {
  max-width: 680px;
}

/* ── INLINE TRIAL SUCCESS STATE ─────────────────────────── */
.trial-inline-success {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(0,224,255,0.06);
  border: 1px solid rgba(0,224,255,0.2);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}
.trial-inline-check {
  color: var(--cyan, #00e0ff);
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.proof-scroll-nudge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  margin-top: 16px;
  opacity: 1;
  transition: opacity 0.6s ease;
}
.nudge-fade-out { opacity: 0; }
.nudge-arrow {
  font-size: 18px;
  color: var(--cyan, #00e0ff);
  animation: nudge-bounce 1s ease-in-out infinite;
}
.nudge-text {
  font-size: 12px;
  font-family: var(--mono, monospace);
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@keyframes nudge-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
.btn-pulse-once {
  animation: btn-pulse 1s ease-in-out 2;
}
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,224,255,0); }
  50% { box-shadow: 0 0 0 10px rgba(0,224,255,0.2); }
}
.cta-strip-alt {
  width: 100%;
  text-align: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cta-see-another {
  background: none;
  border: none;
  color: rgba(255,255,255,0.3);
  font-size: 12px;
  font-family: var(--mono, monospace);
}
