/* Competitor Monitor + shared use-case funnel */

/* ---- Modal (hidden by default — fixes display:flex overriding [hidden]) ---- */
.uc-modal-overlay[hidden] {
  display: none !important;
}
.uc-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: uc-fade-in 0.2s ease;
}
@keyframes uc-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.uc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
}
.uc-modal-card {
  position: relative;
  z-index: 1;
  background: var(--surface, #fff);
  border-radius: var(--radius-lg, 20px);
  max-width: 440px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-lg, 0 20px 40px rgba(0, 0, 0, 0.15));
}
.uc-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  background: var(--bg, #f8fafc);
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted, #64748b);
}
.uc-modal-close:hover {
  background: var(--border, #e2e8f0);
}
.uc-modal-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.uc-modal-price-amt {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand, #14b8a6);
}
.uc-modal-price-meta {
  font-size: 0.9rem;
  color: var(--text-muted, #64748b);
}
.uc-modal-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text, #1e293b);
}
.uc-modal-sub {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted, #64748b);
  line-height: 1.5;
}
.uc-modal-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius-sm, 10px);
  background: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text, #1e293b);
  cursor: pointer;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.uc-modal-google:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
}
.uc-modal-google svg {
  flex-shrink: 0;
}
.uc-modal-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.1rem 0;
  color: var(--text-light, #94a3b8);
  font-size: 0.8rem;
}
.uc-modal-divider::before,
.uc-modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border, #e2e8f0);
}
.uc-modal-form input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.65rem;
  border: 1px solid var(--border, #cbd5e1);
  border-radius: var(--radius-sm, 10px);
  font-size: 1rem;
  color: var(--text, #1e293b);
  background: #fff;
}
.uc-modal-form input:focus {
  outline: none;
  border-color: var(--brand, #14b8a6);
  box-shadow: 0 0 0 3px var(--brand-glow, rgba(20, 184, 166, 0.25));
}
.uc-modal-form .btn {
  width: 100%;
  margin-top: 0.25rem;
}
.uc-modal-trust {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted, #64748b);
}
.uc-modal-trust li {
  padding: 0.2rem 0 0.2rem 1.25rem;
  position: relative;
}
.uc-modal-trust li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand, #14b8a6);
  font-weight: 700;
}
.uc-modal-trial {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--brand, #14b8a6);
  text-decoration: none;
}
.uc-modal-trial:hover {
  text-decoration: underline;
}

/* ---- Hero (premium landing) ---- */
.uc-hero {
  padding: 2.5rem 1.5rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}
.uc-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .uc-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .uc-hero-mock {
    order: -1;
    max-width: 420px;
    margin: 0 auto;
  }
  .uc-hero-mock.argus-hero-wrap,
  .uc-hero-mock.vesper-hero-wrap {
    max-width: 100%;
  }
}
.uc-hero-copy .page-badge {
  margin-bottom: 1rem;
}
.uc-hero-copy h1 {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--text, #1e293b);
}
.uc-hero-copy .page-intro {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-muted, #64748b);
  margin-bottom: 1.5rem;
}
.uc-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.uc-hero-pills span {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 99px;
  background: var(--brand-light, #f0fdfa);
  color: var(--brand-dark, #0d9488);
  border: 1px solid rgba(20, 184, 166, 0.2);
}
.uc-hero-trust {
  font-size: 0.8rem;
  color: var(--text-muted, #64748b);
  margin-top: 0.75rem;
  line-height: 1.5;
}
.uc-hero-trial {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--brand, #14b8a6);
}
.uc-hero-mock {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0.75rem;
  align-items: start;
}
@media (max-width: 480px) {
  .uc-hero-mock {
    grid-template-columns: 1fr;
  }
}
.uc-mock-phone {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border-radius: 28px;
  padding: 0.65rem;
  box-shadow: var(--shadow-lg);
}
.uc-mock-phone-notch {
  width: 40%;
  height: 4px;
  background: #334155;
  border-radius: 4px;
  margin: 0 auto 0.5rem;
}
.uc-mock-wa {
  background: #0b141a;
  border-radius: 18px;
  padding: 0.75rem;
  min-height: 140px;
}
.uc-mock-wa-header {
  font-size: 0.7rem;
  color: #8696a0;
  margin-bottom: 0.5rem;
}
.uc-mock-wa-bubble {
  background: #005c4b;
  color: #e9edef;
  font-size: 0.72rem;
  line-height: 1.45;
  padding: 0.55rem 0.65rem;
  border-radius: 8px 8px 2px 8px;
  max-width: 95%;
}
.uc-mock-wa-time {
  font-size: 0.6rem;
  color: #8696a0;
  text-align: right;
  margin-top: 0.25rem;
}
.uc-mock-email {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius, 14px);
  padding: 0.85rem;
  box-shadow: var(--shadow);
}
.uc-mock-email-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.uc-mock-email-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border, #f1f5f9);
  font-size: 0.72rem;
}
.uc-mock-email-row:last-child {
  border-bottom: none;
}
.uc-mock-pill-moved {
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: #fef2f2;
  color: #dc2626;
}
.uc-mock-pill-quiet {
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: #f0fdf4;
  color: #16a34a;
}

/* ---- Article sections on use-case landing ---- */
.uc-page-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}
.uc-page-article h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  color: var(--text, #1e293b);
  border-bottom: 1px solid var(--border, #e2e8f0);
  padding-bottom: 0.5rem;
}
.uc-page-article p,
.uc-page-article li {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted, #64748b);
}
.uc-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.uc-steps li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius, 14px);
}
.uc-step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-gradient, linear-gradient(135deg, #14b8a6, #0d9488));
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
}
.uc-pricing-card {
  background: linear-gradient(135deg, var(--dark, #0f172a) 0%, var(--dark3, #1e293b) 100%);
  color: #f8fafc;
  border-radius: var(--radius-lg, 20px);
  padding: 2rem;
  margin: 1.5rem 0;
}
.uc-pricing-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
}
.uc-pricing-amt {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand, #14b8a6);
}
.uc-pricing-card ul {
  margin: 1rem 0 1.5rem;
  padding-left: 1.25rem;
  color: #cbd5e1;
}
.uc-pricing-card .btn-primary {
  background: var(--brand-gradient);
}

/* ---- Sample / report cards ---- */
.uc-sample-card {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius, 14px);
  padding: 1.25rem;
  margin: 1rem 0;
  box-shadow: var(--shadow-sm);
}
.uc-sample-card-head {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.uc-report-row {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border, #f1f5f9);
}
.uc-report-row:last-child {
  border-bottom: none;
}
.uc-status-moved {
  color: #dc2626;
  font-weight: 700;
  font-size: 0.95rem;
}
.uc-status-quiet {
  color: #16a34a;
  font-weight: 700;
  font-size: 0.95rem;
}
.uc-status-error {
  color: #d97706;
  font-weight: 700;
  font-size: 0.95rem;
}
.uc-trust {
  font-size: 0.8rem;
  color: var(--text-muted, #64748b);
}

/* ---- Setup wizard ---- */
.uc-wizard-page {
  min-height: 60vh;
  padding: 2rem 1rem 4rem;
}
.uc-wizard-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius-lg, 20px);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}
.uc-wizard-steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.uc-wizard-step {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--border, #e2e8f0);
}
.uc-wizard-step.is-active {
  background: var(--brand, #14b8a6);
}
.uc-wizard-card h1 {
  font-size: 1.5rem;
  margin: 0 0 0.35rem;
}
.uc-wizard-lead {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.uc-field {
  margin-bottom: 1rem;
}
.uc-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text, #334155);
}
.uc-field input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border, #cbd5e1);
  border-radius: var(--radius-sm, 10px);
  font-size: 1rem;
}
.uc-field input:focus {
  outline: none;
  border-color: var(--brand, #14b8a6);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}
.uc-wizard-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.9rem;
}
.uc-wizard-skip {
  display: block;
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.uc-wa-panel {
  margin: 1.25rem 0;
  padding: 1rem;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius-sm, 10px);
  background: var(--bg, #f8fafc);
}
.uc-wa-panel h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}
.uc-wa-panel code {
  font-size: 0.85em;
  background: #fff;
  padding: 0.1em 0.35em;
  border-radius: 4px;
}
.uc-wa-qr {
  margin: 0.75rem 0;
  text-align: center;
}
.uc-wa-qr img {
  border-radius: 8px;
  border: 1px solid var(--border, #e2e8f0);
}
.uc-wa-status {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.uc-wa-linked {
  color: #0d9488;
  font-weight: 600;
}
.uc-wa-connected {
  padding: 0.75rem 0;
}
.uc-wa-connected p {
  margin: 0 0 0.5rem;
}
.uc-wa-connected .uc-wa-hint {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted, #64748b);
}
.uc-wa-spinner {
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  border: 2px solid #cbd5e1;
  border-top-color: #14b8a6;
  border-radius: 50%;
  animation: uc-spin 0.8s linear infinite;
  vertical-align: middle;
}
@keyframes uc-spin {
  to { transform: rotate(360deg); }
}
@media (max-width: 600px) {
  .uc-wizard-card {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin-bottom: 0;
    min-height: calc(100vh - 4rem);
  }
  .uc-wizard-submit {
    position: sticky;
    bottom: 1rem;
  }
}

/* ---- Welcome ---- */
.uc-welcome-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius-lg, 20px);
  box-shadow: var(--shadow);
}
.uc-welcome-avatar {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  font-size: 2rem;
  line-height: 4rem;
  background: var(--brand-light, #f0fdfa);
  border-radius: 50%;
  border: 2px solid var(--brand, #14b8a6);
}
.uc-welcome-meta {
  display: grid;
  gap: 0.5rem;
  text-align: left;
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--bg, #f8fafc);
  border-radius: var(--radius, 14px);
  font-size: 0.9rem;
}
.uc-cross-sell {
  text-align: left;
  margin-top: 2rem;
}
.uc-cross-sell-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  margin: 0.5rem 0;
  background: var(--bg, #f8fafc);
  border: 1px dashed var(--border, #cbd5e1);
  border-radius: var(--radius-sm, 10px);
  font-size: 0.9rem;
}
.uc-cross-sell-card a {
  color: var(--brand, #14b8a6);
  font-weight: 600;
  white-space: nowrap;
}

/* ---- Buy redirect ---- */
.uc-checkout-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.uc-checkout-box {
  text-align: center;
  max-width: 400px;
}
.uc-checkout-spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--border, #e2e8f0);
  border-top-color: var(--brand, #14b8a6);
  border-radius: 50%;
  animation: uc-spin 0.8s linear infinite;
}
@keyframes uc-spin {
  to { transform: rotate(360deg); }
}
.uc-sample-gallery {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}
.uc-sample-link-card {
  display: block;
  padding: 1.25rem;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius, 14px);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.uc-sample-link-card:hover {
  border-color: var(--brand, #14b8a6);
  box-shadow: var(--shadow);
}
.uc-sample-link-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: var(--text, #1e293b);
}
.uc-sample-link-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---- Inline toast (already-subscribed redirect feedback) ---- */
.uc-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(0.5rem);
  z-index: 10001;
  max-width: min(90vw, 420px);
  padding: 0.75rem 1.25rem;
  background: var(--text, #1e293b);
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: center;
  border-radius: var(--radius, 12px);
  box-shadow: var(--shadow-lg, 0 12px 28px rgba(0, 0, 0, 0.2));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.uc-toast[hidden] {
  display: none !important;
}
.uc-toast.uc-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
