/* ==============================================================================
 * HEADER BLOCK: "Question Before Making It"
 * ==============================================================================
 * WHAT THIS FILE DOES:
 *   Ultra-premium, luxury modern SaaS styling for the ProAffiliaters Programmatic
 *   SEO Brand Campaign Engine (`/campaigns/[slug]`) and Master Directory (`/campaigns`).
 * 
 * WHY THIS FILE EXISTS:
 *   Elevates the campaign exploration experience into a world-class, high-converting
 *   2026 SaaS aesthetic (matching Stripe, Linear, Apple, and ProAffiliaters' /profit-bot).
 *   Replaces dated utilitarian tables with ambient gradient glows, glassmorphic
 *   floating surfaces, Apple/Linear-style segmented pill switchers, live Telegram
 *   device simulators, and high-impact conversion sidebars.
 * 
 * MAJOR RESPONSIBILITIES:
 *   - Ambient radial glow backdrop orbs for visual depth.
 *   - Luxury brand hero card with 80px emblem container and store pills.
 *   - 6-card floating tracking specifications ribbon.
 *   - macOS/Linear segmented pill tab switcher with fluid active states.
 *   - Modern card-based payout tiers (New user, High AOV, Repeat reorders).
 *   - Interactive Telegram deal simulator with authentic chat bubbles.
 *   - Media compliance visual matrices with emerald checkmark pills.
 *   - High-converting sticky conversion sidebar with 3-step connected roadmap.
 *   - Master directory hero, search capsule, category pills, and 3D hover cards.
 *   - Responsive breakpoints for mobile, tablet, and desktop viewports.
 * 
 * HOW IT FITS INTO THE OVERALL MARKETING WEBSITE:
 *   Loaded in `app/layout.tsx` across the marketing ecosystem.
 * ==============================================================================
 */

/* ==============================================================================
   1. GLOBAL CANVAS & AMBIENT BACKDROP
   ============================================================================== */
.campaign-page-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: #f8fafc;
  color: #0f172a;
  padding-top: 96px; /* Clearance for floating capsule navbar */
  padding-bottom: 96px;
  box-sizing: border-box;
  overflow-x: clip;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Ambient Radial Glow Orbs (Matching /profit-bot and Homepage) */
.campaign-ambient-glow {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
  filter: blur(110px);
  z-index: 0;
  opacity: 0.6;
}

.campaign-glow-1 {
  top: 40px;
  right: -80px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(59, 91, 250, 0.16) 0%, rgba(124, 58, 237, 0.08) 50%, transparent 75%);
}

.campaign-glow-2 {
  top: 640px;
  left: -120px;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(59, 91, 250, 0.06) 60%, transparent 80%);
}

.campaign-glow-3 {
  bottom: 200px;
  right: 8%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, rgba(59, 91, 250, 0.05) 55%, transparent 75%);
}

.campaign-container {
  position: relative;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  z-index: 1;
}

/* Breadcrumbs Navigation */
.campaign-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.campaign-breadcrumbs a {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.campaign-breadcrumbs a:hover {
  color: #3b5bfa;
}

.campaign-breadcrumbs .breadcrumb-sep {
  font-size: 11px;
  color: #cbd5e1;
}

.campaign-breadcrumbs .breadcrumb-current {
  color: #0f172a;
  font-weight: 700;
}

/* ==============================================================================
   2. MAIN 2-COLUMN LUXURY LAYOUT
   ============================================================================== */
.campaign-main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
  margin-bottom: 56px;
}

.campaign-main-col {
  min-width: 0;
}

/* ==============================================================================
   3. LUXURY BRAND HERO CARD
   ============================================================================== */
.campaign-luxury-hero {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 24px;
  padding: clamp(24px, 3.5vw, 36px);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  margin-bottom: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 24px;
}

.campaign-hero-glass-accent {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 91, 250, 0.12) 0%, rgba(124, 58, 237, 0.06) 50%, transparent 75%);
  filter: blur(32px);
  pointer-events: none;
}

.campaign-emblem-box {
  position: relative;
  width: 88px;
  height: 88px;
  min-width: 88px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
  box-sizing: border-box;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
}

.campaign-emblem-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.campaign-emblem-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  color: #3b5bfa;
  background: linear-gradient(135deg, rgba(59, 91, 250, 0.08), rgba(124, 58, 237, 0.12));
}

.campaign-hero-details {
  flex: 1;
  min-width: 0;
}

.campaign-hero-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.campaign-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.campaign-status-badge .pulsing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseEmerald 2s infinite ease-in-out;
}

@keyframes pulseEmerald {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.campaign-model-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(59, 91, 250, 0.1);
  color: #3b5bfa;
  border: 1px solid rgba(59, 91, 250, 0.2);
}

.campaign-brand-heading {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 8px 0;
}

.campaign-brand-heading .highlight-text {
  background: linear-gradient(135deg, #3b5bfa 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.campaign-store-link-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.campaign-store-link-chip:hover {
  background: rgba(59, 91, 250, 0.1);
  color: #3b5bfa;
}

/* ==============================================================================
   4. 6-CARD FLOATING SPECIFICATIONS RIBBON
   ============================================================================== */
.campaign-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.spec-micro-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.spec-micro-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.08);
}

.spec-icon-box {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.spec-icon-box.blue {
  background: rgba(59, 91, 250, 0.1);
  color: #3b5bfa;
}

.spec-icon-box.emerald {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.spec-icon-box.purple {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
}

.spec-icon-box.amber {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.spec-text-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.spec-caption {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spec-main-val {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spec-devices-row {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #475569;
  font-size: 13px;
}

.spec-devices-row i:hover {
  color: #3b5bfa;
}

/* ==============================================================================
   5. APPLE / LINEAR STYLE SEGMENTED PILL TABS
   ============================================================================== */
.campaign-tabs-wrapper {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 24px;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.06);
  margin-bottom: 36px;
  overflow: hidden;
}

.campaign-segmented-nav {
  padding: 14px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.campaign-segmented-nav::-webkit-scrollbar {
  display: none;
}

.segmented-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.segmented-pill-btn:hover {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.6);
}

.segmented-pill-btn.active {
  color: #3b5bfa;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.segmented-pill-btn.active i {
  color: #3b5bfa;
}

.campaign-tab-pane {
  padding: 32px;
}

.tab-pane-header {
  margin-bottom: 24px;
}

.tab-pane-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.tab-title-accent-bar {
  width: 4px;
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(180deg, #3b5bfa 0%, #7c3aed 100%);
}

.tab-pane-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0;
}

.tab-pane-desc {
  font-size: 13.5px;
  color: #64748b;
  margin: 0 0 24px 0;
  line-height: 1.5;
}

/* ==============================================================================
   6. TAB 1: CUELINKS-INSPIRED STRUCTURED PAYOUT TABLE
   ============================================================================== */
.cuelinks-payout-table {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
}

.cuelinks-table-head {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.th-cell {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.th-cell.payout-col {
  text-align: right;
}

.cuelinks-table-group-header {
  background: #f1f5f9;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 800;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e2e8f0;
  border-top: 1px solid #e2e8f0;
}

.cuelinks-table-group-header:first-of-type {
  border-top: none;
}

.cuelinks-table-group-header i {
  color: #3b5bfa;
  font-size: 12px;
}

.cuelinks-table-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
}

.cuelinks-table-row:last-child {
  border-bottom: none;
}

.cuelinks-table-row:hover {
  background: #f8fafc;
}

.category-col {
  flex: 1;
  min-width: 0;
  padding-right: 16px;
}

.payout-col {
  text-align: right;
  flex-shrink: 0;
}

.row-main-title {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.row-sub-text {
  display: block;
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.4;
}

.payout-rate-pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.payout-rate-pill.emerald {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.payout-rate-pill.purple {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
  border: 1px solid rgba(124, 58, 237, 0.25);
}

.cuelinks-guarantee-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(59, 91, 250, 0.05), rgba(16, 185, 129, 0.05));
  border: 1px solid rgba(59, 91, 250, 0.2);
  border-radius: 16px;
}

.guarantee-badge-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b5bfa 0%, #10b981 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(59, 91, 250, 0.25);
}

.guarantee-content h4 {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 3px 0;
}

.guarantee-content p {
  font-size: 12px;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}

/* ==============================================================================
   7. TAB 2: GENERATE LINK STUDIO
   ============================================================================== */
.generate-studio-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.studio-form-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.studio-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.studio-field-row {
  display: flex;
  gap: 12px;
}

.studio-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
}

.studio-input-wrap {
  position: relative;
}

.input-prefix-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 13px;
  pointer-events: none;
}

.studio-input,
.studio-select {
  width: 100%;
  padding: 11px 14px 11px 38px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 13px;
  color: #0f172a;
  outline: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.studio-input:focus,
.studio-select:focus {
  border-color: #3b5bfa;
  box-shadow: 0 0 0 3px rgba(59, 91, 250, 0.12);
}

.btn-cuelinks-generate-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3b5bfa 0%, #7c3aed 100%);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 18px -4px rgba(59, 91, 250, 0.4);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  margin-top: 4px;
}

.btn-cuelinks-generate-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -4px rgba(59, 91, 250, 0.5);
  color: #ffffff;
}

.studio-info-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.studio-info-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(59, 91, 250, 0.1);
  color: #3b5bfa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.studio-info-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.studio-info-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.studio-social-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.studio-social-pills span {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==============================================================================
   8. TAB 3: MEDIA ALLOWED / DISALLOWED PILLS (CUELINKS FORMAT)
   ============================================================================== */
.compliance-section-block {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;
}

.compliance-block-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.compliance-block-header.allowed {
  color: #059669;
}

.compliance-block-header.disallowed {
  color: #e11d48;
}

.compliance-block-header h4 {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.media-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cuelinks-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.15s ease;
}

.cuelinks-pill.allowed {
  background: rgba(16, 185, 129, 0.08);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.cuelinks-pill.allowed i {
  color: #059669;
  font-size: 13px;
}

.cuelinks-pill.disallowed {
  background: rgba(244, 63, 94, 0.06);
  color: #9f1239;
  border: 1px solid rgba(244, 63, 94, 0.2);
}

.cuelinks-pill.disallowed i {
  color: #e11d48;
  font-size: 12px;
}

.compliance-rules-box {
  margin-top: 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 22px;
}

.rules-box-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px 0;
}

.rules-box-title i {
  color: #d97706;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rule-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.rule-num {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: #3b5bfa;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 800;
}

.rule-item strong {
  font-size: 12.5px;
  color: #0f172a;
  display: block;
  margin-bottom: 2px;
}

.rule-item p {
  font-size: 11.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .generate-studio-grid {
    grid-template-columns: 1fr;
  }
  .studio-field-row {
    flex-direction: column;
  }
  .rules-grid {
    grid-template-columns: 1fr;
  }
}

.payout-tiers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.payout-tier-card {
  position: relative;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: all 0.2s ease;
}

.payout-tier-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06);
}

.tier-info-left {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.tier-badge-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: rgba(59, 91, 250, 0.1);
  color: #3b5bfa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.tier-text h4 {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.tier-text p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

.tier-payout-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.tier-rate-badge {
  font-size: 18px;
  font-weight: 900;
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  padding: 6px 14px;
  border-radius: 10px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.tier-rate-note {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.payout-guarantee-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(59, 91, 250, 0.05), rgba(16, 185, 129, 0.05));
  border: 1px solid rgba(59, 91, 250, 0.18);
  border-radius: 16px;
}

.guarantee-shield-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #3b5bfa, #7c3aed);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 6px 16px rgba(59, 91, 250, 0.3);
}

.guarantee-text h4 {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.guarantee-text p {
  font-size: 12px;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}

/* ==============================================================================
   7. TAB 2: INSTANT LINK GENERATOR & TELEGRAM DEVICE SIMULATOR
   ============================================================================== */
.luxury-link-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

.link-field-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.link-field-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
}

.link-field-input-wrap {
  position: relative;
}

.link-field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 14px;
}

.link-field-control {
  width: 100%;
  padding: 13px 14px 13px 40px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 13px;
  color: #0f172a;
  outline: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.link-field-control:focus {
  border-color: #3b5bfa;
  box-shadow: 0 0 0 4px rgba(59, 91, 250, 0.12);
}

.btn-luxury-convert {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b5bfa 0%, #2b45cf 100%);
  color: #ffffff;
  border: none;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(59, 91, 250, 0.3);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-luxury-convert:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(59, 91, 250, 0.4);
}

/* Telegram Device Simulator */
.telegram-simulator-shell {
  background: #0f172a;
  border-radius: 20px;
  padding: 20px;
  color: #ffffff;
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.35);
  margin-top: 24px;
}

.simulator-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.simulator-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.simulator-traffic-dots {
  display: flex;
  gap: 6px;
}

.traffic-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.telegram-bubble-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.6;
}

.tg-bot-identity {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 8px;
}

.tg-deal-headline {
  font-size: 14px;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 8px;
}

.tg-deal-details {
  color: #cbd5e1;
  font-size: 12px;
}

.tg-link-pill {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: monospace;
  font-weight: 700;
  margin: 6px 0;
  word-break: break-all;
}

.simulator-bottom-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  color: #94a3b8;
}

.btn-simulator-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-simulator-copy:hover {
  background: #38bdf8;
  color: #0f172a;
  border-color: #38bdf8;
}

/* ==============================================================================
   8. TAB 3: MEDIA COMPLIANCE CHECKLIST
   ============================================================================== */
.luxury-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.luxury-media-card {
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #e2e8f0;
}

.luxury-media-card.allowed {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.04) 0%, rgba(255, 255, 255, 0.9) 100%);
  border-color: rgba(16, 185, 129, 0.25);
}

.luxury-media-card.disallowed {
  background: linear-gradient(180deg, rgba(244, 63, 94, 0.04) 0%, rgba(255, 255, 255, 0.9) 100%);
  border-color: rgba(244, 63, 94, 0.25);
}

.luxury-media-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.luxury-media-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.luxury-media-icon.allowed {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
}

.luxury-media-icon.disallowed {
  background: rgba(244, 63, 94, 0.15);
  color: #e11d48;
}

.luxury-media-header h4 {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.luxury-media-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.luxury-media-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: #334155;
  line-height: 1.45;
}

/* ==============================================================================
   9. TAB 4: IMPORTANT INFO CARDS
   ============================================================================== */
.luxury-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.luxury-info-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  transition: transform 0.2s ease;
}

.luxury-info-card:hover {
  transform: translateY(-2px);
  background: #ffffff;
}

.luxury-info-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.luxury-info-val {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 6px;
}

.luxury-info-desc {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

/* ==============================================================================
   10. TAB 5: ABOUT BRAND BENEFIT PILLARS
   ============================================================================== */
.luxury-about-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.luxury-pillar-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  transition: all 0.2s ease;
}

.luxury-pillar-box:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.06);
}

.pillar-number {
  font-size: 22px;
  font-weight: 900;
  color: #3b5bfa;
  margin-bottom: 8px;
}

.luxury-pillar-box h5 {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.luxury-pillar-box p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* ==============================================================================
   11. ULTRA-CLEAN MODERN SAAS CONVERSION SIDEBAR
   ============================================================================== */
.campaign-sticky-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  height: fit-content;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: none;
  z-index: 20;
}

.campaign-sticky-sidebar::-webkit-scrollbar {
  display: none;
}

.modern-action-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.07), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.modern-action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b5bfa, #7c3aed, #10b981);
}

/* 1. Header / Payout Hero */
.action-card-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.action-rate-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.action-payout-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.action-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.action-pulsing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseBeacon 2s infinite;
}

.action-payout-amount {
  font-size: 30px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.action-payout-subtext {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

/* 2. Sub-Tab Switcher (Apple/Linear Style) */
.action-sub-switcher {
  display: flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
}

.action-switch-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-switch-btn.active {
  color: #3b5bfa;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.action-switch-btn i {
  font-size: 11px;
}

/* View 1: Conversion Flow (3-Step Connected Roadmap in Our Style) */
.sidebar-flow-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  padding-left: 6px;
}

.sidebar-flow-timeline::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, #3b5bfa 0%, #10b981 100%);
  z-index: 1;
}

.flow-step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.flow-step-node {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #3b5bfa;
  color: #3b5bfa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 800;
  box-shadow: 0 0 10px rgba(59, 91, 250, 0.25);
}

.flow-step-node.check {
  border-color: #10b981;
  color: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
}

.flow-step-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.flow-step-title {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
}

.flow-step-text {
  font-size: 10.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

/* View 2: Payment Info List */
.sidebar-payment-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
}

.payment-metric-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #e2e8f0;
}

.payment-metric-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.metric-icon-wrap {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.metric-icon-wrap.blue {
  background: rgba(59, 91, 250, 0.1);
  color: #3b5bfa;
}

.metric-icon-wrap.emerald {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.metric-icon-wrap.purple {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
}

.metric-icon-wrap.amber {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.metric-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.metric-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.04em;
}

.metric-val {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
}

.metric-val.text-emerald {
  color: #059669;
}

/* 3. Primary CTA Wrap */
.action-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-modern-action-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b5bfa 0%, #7c3aed 100%);
  color: #ffffff;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: 0 10px 24px -6px rgba(59, 91, 250, 0.4);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-modern-action-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -6px rgba(59, 91, 250, 0.5);
  color: #ffffff;
}

.action-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
  flex-wrap: wrap;
}

.action-trust-row i {
  color: #059669;
}

/* 4. Autopilot Deal Forwarding Banner */
.action-autopilot-banner {
  background: rgba(59, 91, 250, 0.04);
  border: 1px dashed rgba(59, 91, 250, 0.25);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.action-autopilot-icon {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 8px;
  background: rgba(59, 91, 250, 0.1);
  color: #3b5bfa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.action-autopilot-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.action-autopilot-title {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
}

.action-autopilot-desc {
  font-size: 11px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

/* ==============================================================================
   12. MASTER DIRECTORY STYLES
   ============================================================================== */
.directory-hero {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 48px auto;
}

.directory-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(59, 91, 250, 0.12), rgba(124, 58, 237, 0.12));
  color: #3b5bfa;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.directory-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 16px 0;
}

.directory-title .highlight {
  background: linear-gradient(135deg, #3b5bfa 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.directory-desc {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: #475569;
  line-height: 1.6;
  margin: 0 0 36px 0;
}

.directory-search-box {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto 24px auto;
}

.directory-search-input {
  width: 100%;
  padding: 18px 24px 18px 52px;
  border-radius: 9999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 15px;
  color: #0f172a;
  outline: none;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.directory-search-input:focus {
  border-color: #3b5bfa;
  box-shadow: 0 12px 36px -4px rgba(59, 91, 250, 0.22);
}

.directory-search-icon {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 18px;
}

.directory-category-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.category-pill-btn {
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: #ffffff;
  color: #475569;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.category-pill-btn:hover,
.category-pill-btn.active {
  background: #3b5bfa;
  color: #ffffff;
  border-color: #3b5bfa;
  box-shadow: 0 6px 16px rgba(59, 91, 250, 0.25);
}

.directory-campaigns-grid,
.directory-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 0;
}

/* Related & Catalog Brand Cards */
.campaign-related-section {
  border-top: 1px solid #e2e8f0;
  padding-top: 48px;
  margin-top: 52px;
  margin-bottom: 48px;
}

.campaign-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.related-brand-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  min-height: 180px;
}

.related-brand-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 91, 250, 0.4);
  box-shadow: 0 16px 36px -6px rgba(59, 91, 250, 0.12);
}

.related-brand-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.related-logo-box {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5px;
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.related-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.related-brand-name {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.related-brand-cat {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.related-brand-payout {
  font-size: 13px;
  font-weight: 700;
  color: #059669;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 5px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-self: flex-start;
  margin: 10px 0 16px 0;
}

.related-brand-link {
  font-size: 13px;
  font-weight: 700;
  color: #3b5bfa;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: gap 0.2s ease;
}

.related-brand-card:hover .related-brand-link {
  gap: 10px;
}

.related-brand-card:hover .related-brand-link i {
  transform: translateX(3px);
  transition: transform 0.2s ease;
}

.directory-pagination-bar,
.directory-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  margin-bottom: 48px;
  padding: 8px 0;
  width: 100%;
}

.btn-page-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.btn-page-nav:hover:not(.disabled) {
  background: #3b5bfa;
  color: #ffffff;
  border-color: #3b5bfa;
  box-shadow: 0 6px 18px rgba(59, 91, 250, 0.28);
  transform: translateY(-1px);
}

.btn-page-nav:active:not(.disabled) {
  transform: translateY(0);
}

.btn-page-nav.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #94a3b8;
  box-shadow: none;
}

.pagination-page-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  letter-spacing: -0.01em;
  user-select: none;
  white-space: nowrap;
}

.pagination-page-indicator strong {
  color: #0f172a;
  font-weight: 800;
  padding: 0 2px;
}

/* ==============================================================================
   13. PRODUCTS & FAQ SECTION STYLES
   ============================================================================== */
.campaign-section {
  margin-bottom: 48px;
}

.campaign-section-head {
  margin-bottom: 24px;
}

.campaign-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(59, 91, 250, 0.1);
  color: #3b5bfa;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.campaign-section-title {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 0 6px 0;
}

.campaign-section-sub {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.campaign-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.campaign-product-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.campaign-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.1);
}

.product-img-wrap {
  position: relative;
  width: 100%;
  height: 170px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.product-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-discount-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  background: #059669;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.product-badge-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  background: #ea580c;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-info-wrap {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category-tag {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 4px;
}

.product-title {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-pricing-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
  margin-top: auto;
}

.product-price {
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
}

.product-original-price {
  font-size: 12px;
  color: #94a3b8;
  text-decoration: line-through;
}

.btn-product-promote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3b5bfa, #2b45cf);
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  transition: all 0.2s ease;
}

.btn-product-promote:hover {
  box-shadow: 0 4px 12px rgba(59, 91, 250, 0.3);
}

/* FAQ Accordion */
.campaign-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.campaign-faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.04);
}

.faq-question {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-question i {
  color: #3b5bfa;
  font-size: 14px;
}

.faq-answer {
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
  padding-left: 24px;
}

/* ==============================================================================
   14. RESPONSIVE BREAKPOINTS
   ============================================================================== */
@media (max-width: 1024px) {
  .campaign-main-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .campaign-sticky-sidebar {
    position: static;
  }
  .luxury-media-grid {
    grid-template-columns: 1fr;
  }
  .luxury-link-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .campaign-page-shell {
    padding-top: 80px;
  }
  .campaign-luxury-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .payout-tier-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .tier-payout-right {
    align-items: flex-start;
  }
  .campaign-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .campaign-tab-pane {
    padding: 20px;
  }
}

/* ==============================================================================
   9. PREFERRED CAMPAIGNS CAROUSEL (CUELINKS-INSPIRED TOP MARQUEE)
   ============================================================================== */
.preferred-campaigns-section {
  margin: 32px 0 48px;
  position: relative;
}

.preferred-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.preferred-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.preferred-title-bar {
  width: 4px;
  height: 22px;
  background: #3b5bfa;
  border-radius: 999px;
  display: inline-block;
}

.preferred-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.preferred-emoji {
  display: inline-block;
  font-size: 18px;
}

.preferred-arrows-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.preferred-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.preferred-arrow-btn:hover:not(.disabled) {
  background: #3b5bfa;
  color: #ffffff;
  border-color: #3b5bfa;
  transform: translateY(-1px);
}

.preferred-arrow-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.preferred-carousel-track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.preferred-carousel-track::-webkit-scrollbar {
  display: none;
}

.preferred-brand-card {
  flex: 0 0 260px;
  min-width: 260px;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.preferred-brand-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 91, 250, 0.35);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.09);
}

.preferred-card-emblem-wrap {
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.preferred-card-logo {
  max-width: 130px;
  max-height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.03));
}

.preferred-card-monogram {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #3b5bfa;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preferred-card-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 16px;
  width: 100%;
}

.preferred-card-brand {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preferred-card-category {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.preferred-card-payout-pill {
  width: 100%;
  margin-top: auto;
  background: #1e1b4b;
  color: #f8fafc;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(30, 27, 75, 0.15);
}

.preferred-brand-card:hover .preferred-card-payout-pill {
  background: #3b5bfa;
  box-shadow: 0 4px 14px rgba(59, 91, 250, 0.3);
}

.preferred-dots-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.preferred-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.preferred-dot.active {
  width: 24px;
  background: #3b5bfa;
}

/* ==============================================================================
   10. ALL CAMPAIGNS HEADER & MULTI-FILTER BAR
   ============================================================================== */
.all-campaigns-header-wrap {
  text-align: center;
  margin: 52px 0 24px;
}

.all-campaigns-title {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0;
}

.all-campaigns-accent-line {
  display: block;
  width: 64px;
  height: 4px;
  background: #f59e0b;
  border-radius: 999px;
  margin: 8px auto 0;
}

.directory-filters-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 24px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
}

.directory-search-capsule {
  flex: 1 1 260px;
  min-width: 220px;
  position: relative;
  display: flex;
  align-items: center;
}

.directory-search-capsule .search-icon {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  font-size: 13.5px;
  pointer-events: none;
}

.directory-search-capsule .capsule-input {
  width: 100%;
  height: 42px;
  padding: 0 38px 0 38px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 13.5px;
  font-family: inherit;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}

.directory-search-capsule .capsule-input:focus {
  border-color: #f59e0b;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.clear-search-btn {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 13px;
  padding: 4px;
}

.clear-search-btn:hover {
  color: #0f172a;
}

.directory-select-wrap {
  position: relative;
  flex: 0 1 190px;
  min-width: 160px;
}

.directory-select-input {
  width: 100%;
  height: 42px;
  padding: 0 32px 0 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  color: #1e293b;
  appearance: none;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.directory-select-input:focus {
  border-color: #3b5bfa;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(59, 91, 250, 0.12);
}

.directory-select-wrap .select-caret {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #94a3b8;
  font-size: 11px;
}

.directory-view-toggle {
  display: flex;
  align-items: center;
  gap: 3px;
  background: #f1f5f9;
  padding: 3px;
  border-radius: 10px;
  margin-left: auto;
}

.view-toggle-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
}

.view-toggle-btn.active {
  background: #ffffff;
  color: #3b5bfa;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

/* ==============================================================================
   11. CUELINKS-INSPIRED CAMPAIGNS TABLE / LIST VIEW
   ============================================================================== */
.catalog-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.catalog-status-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-vertical-bar {
  width: 4px;
  height: 18px;
  background: #1e1b4b;
  border-radius: 999px;
  display: inline-block;
}

.catalog-status-title h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.catalog-count-pill {
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  padding: 4px 12px;
  border-radius: 999px;
}

.campaign-table-wrapper {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.campaign-table-header-row {
  display: grid;
  grid-template-columns: 2.2fr 1.3fr 1fr 1.4fr 60px;
  align-items: center;
  background: #1e1b4b;
  color: #f8fafc;
  padding: 14px 24px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.campaign-table-body {
  display: flex;
  flex-direction: column;
}

.campaign-table-row {
  display: grid;
  grid-template-columns: 2.2fr 1.3fr 1fr 1.4fr 60px;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  transition: all 0.2s ease;
}

.campaign-table-row:last-child {
  border-bottom: none;
}

.campaign-table-row:hover {
  background: #f8fafc;
  transform: translateX(2px);
}

.table-col-merchant {
  display: flex;
  align-items: center;
  gap: 14px;
}

.merchant-emblem-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  overflow: hidden;
}

.merchant-emblem-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.merchant-emblem-monogram {
  font-size: 15px;
  font-weight: 800;
  color: #3b5bfa;
}

.merchant-meta-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.merchant-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.merchant-domain-badge {
  font-size: 11.5px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 5px;
}

.category-text-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 3px 9px;
  border-radius: 6px;
}

.model-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.commission-rate-pill {
  display: inline-flex;
  align-items: center;
  font-size: 13.5px;
  font-weight: 700;
  color: #059669;
  background: rgba(16, 185, 129, 0.08);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.table-row-arrow-chip {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f8fafc;
  color: #2563eb;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.2s ease;
  margin-left: auto;
}

.campaign-table-row:hover .table-row-arrow-chip {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* Responsive Table & Modern Mobile Campaign Cards */
@media (max-width: 860px) {
  .campaign-table-header-row {
    display: none;
  }

  .campaign-table-wrapper {
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
  }

  .campaign-table-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .campaign-table-row {
    display: grid !important;
    grid-template-columns: auto auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 8px;
    row-gap: 12px;
    align-items: center;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 0;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  }

  .campaign-table-row:hover,
  .campaign-table-row:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
    background: #ffffff;
  }

  /* Row 1: Left = Merchant info (logo, name, domain) spanning col 1 & 2 */
  .table-col-merchant {
    grid-column: 1 / 3;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
  }

  .merchant-emblem-box {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
  }

  .merchant-meta-wrap {
    min-width: 0;
    flex: 1;
  }

  .merchant-title {
    font-size: 14.5px;
    font-weight: 750;
    color: #0f172a;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }

  .merchant-domain-badge {
    font-size: 11.5px;
    color: #64748b;
    margin-top: 2px;
  }

  /* Row 1: Right = Action arrow button */
  .table-col-action {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-self: end;
  }

  .table-row-arrow-chip {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-left: 0;
    background: #f1f5f9;
    color: #3b82f6;
    border: 1px solid #e2e8f0;
    font-size: 12px;
  }

  .campaign-table-row:hover .table-row-arrow-chip,
  .campaign-table-row:active .table-row-arrow-chip {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: none;
  }

  /* Row 2: Col 1 = Category */
  .table-col-category {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    align-items: center;
    min-width: 0;
  }

  .category-text-badge {
    font-size: 11.5px;
    padding: 3px 8px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    white-space: nowrap;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Row 2: Col 2 = Type (Model Chip) */
  .table-col-type {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
  }

  .model-chip {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
  }

  /* Row 2: Col 3 = Commission Rate (Aligned Right) */
  .table-col-commission {
    grid-column: 3;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-self: end;
  }

  .commission-rate-pill {
    font-size: 12px;
    font-weight: 750;
    padding: 4px 10px;
    border-radius: 7px;
    white-space: nowrap;
  }

  /* Mobile Status Bar Optimization */
  .catalog-status-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 12px 12px 0 0;
  }

  .catalog-status-title h3 {
    font-size: 14.5px;
  }

  .catalog-count-pill {
    font-size: 11.5px;
    padding: 3px 8px;
  }

  /* Mobile Filters Container */
  .directory-filters-container {
    padding: 12px;
    gap: 10px;
  }

  .directory-search-capsule {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .directory-select-wrap {
    flex: 1 1 calc(50% - 6px);
    min-width: 135px;
  }

  .directory-view-toggle {
    margin-left: 0;
  }

  .directory-pagination-bar,
  .directory-pagination {
    gap: 10px;
    margin-top: 28px;
    margin-bottom: 36px;
  }

  .btn-page-nav {
    padding: 8px 16px;
    font-size: 13px;
  }

  .pagination-page-indicator {
    font-size: 12.5px;
    padding: 6px 12px;
  }
}

@media (max-width: 440px) {
  .merchant-title {
    max-width: 170px;
  }
  .category-text-badge {
    max-width: 95px;
  }

  .directory-pagination-bar,
  .directory-pagination {
    gap: 8px;
    margin-top: 24px;
    margin-bottom: 28px;
  }

  .btn-page-nav {
    padding: 7px 12px;
    font-size: 12px;
  }

  .pagination-page-indicator {
    font-size: 11.5px;
    padding: 5px 8px;
  }
}

/* ==============================================================================
   12. INTERACTIVE COMMISSION ESTIMATOR CARD
   ============================================================================== */
.campaign-calc-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
  margin-top: 24px;
}

.campaign-calc-header {
  margin-bottom: 24px;
}

.campaign-calc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #3b5bfa;
  background: rgba(59, 91, 250, 0.08);
  border: 1px solid rgba(59, 91, 250, 0.2);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.campaign-calc-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 0 6px 0;
}

.campaign-calc-title .brand-highlight {
  color: #3b5bfa;
}

.campaign-calc-subtitle {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
}

.campaign-calc-slider-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}

.campaign-calc-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.campaign-calc-val {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  background: #f1f5f9;
  padding: 4px 14px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.campaign-calc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  outline: none;
  margin: 10px 0 14px 0;
  cursor: pointer;
}

.campaign-calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #3b5bfa;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(59, 91, 250, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.campaign-calc-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.campaign-calc-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #3b5bfa;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(59, 91, 250, 0.4);
  cursor: pointer;
}

.campaign-calc-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 600;
  color: #94a3b8;
}

.campaign-calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.campaign-calc-res-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}

.res-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.res-number {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.res-number.res-emerald {
  color: #059669;
}

.res-note {
  font-size: 11.5px;
  color: #94a3b8;
  margin-top: 2px;
}

.campaign-calc-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-calc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1e1b4b 0%, #3b5bfa 100%);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(59, 91, 250, 0.25);
}

.btn-calc-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 91, 250, 0.35);
}

.campaign-calc-trust {
  font-size: 12px;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 640px) {
  .campaign-calc-card {
    padding: 20px;
  }
  .campaign-calc-results {
    grid-template-columns: 1fr;
  }
  .campaign-calc-action {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-calc-cta {
    justify-content: center;
  }
}

/* ==============================================================================
   13. LOGIN TO GENERATE LINK BANNER
   ============================================================================== */
.link-login-prompt-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(135deg, rgba(59, 91, 250, 0.08) 0%, rgba(30, 27, 75, 0.04) 100%);
  border: 1px solid rgba(59, 91, 250, 0.25);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 22px;
}

.link-login-prompt-banner .prompt-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.link-login-prompt-banner .prompt-left i {
  font-size: 20px;
  color: #3b5bfa;
}

.link-login-prompt-banner .prompt-left strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
  margin-bottom: 2px;
}

.link-login-prompt-banner .prompt-left p {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
}

.btn-prompt-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #3b5bfa;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(59, 91, 250, 0.25);
}

.btn-prompt-login:hover {
  background: #2b47e0;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(59, 91, 250, 0.35);
}

@media (max-width: 640px) {
  .link-login-prompt-banner {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-prompt-login {
    justify-content: center;
  }
}

/* ==============================================================================
 * FOOTER BLOCK: "Answer in the End"
 * ==============================================================================
 * WORKFLOW & DEPENDENCIES:
 *   - Ultra-premium CSS system for `/campaigns` and `/campaigns/[slug]`.
 *   - Uses 'Plus Jakarta Sans' typography, glassmorphic floating surfaces,
 *     and subtle ambient glows to provide a high-end 2026 SaaS aesthetic.
 * ==============================================================================
 */
