/**
 * VJInfotech - Front Page Dedicated Styles
 * Version 5 Launch & Interactive Comparison Matrix
 */

/* ==========================================================================
   Hero Section
   ========================================================================== */
.fp-hero {
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.07) 0%, rgba(248, 250, 252, 1) 75%);
  padding: 1.85rem 0 1.65rem;
  overflow: hidden;
  border-bottom: 1px solid var(--vji-border);
}

@media (min-width: 992px) {
  .fp-hero {
    padding: 2.25rem 0 2rem;
  }
}

.fp-hero__bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(226, 232, 240, 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.4) 1px, transparent 1px);
  mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

.fp-hero__container {
  position: relative;
  z-index: 2;
}

.fp-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .fp-hero__grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 2.5rem;
  }
}

.fp-hero__col--text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 992px) {
  .fp-hero__col--text {
    align-items: flex-start;
    text-align: left;
  }
}

.fp-badge-v5 {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.75rem;
  background: #ffffff;
  border: 1px solid rgba(79, 70, 229, 0.25);
  border-radius: var(--vji-radius-full);
  box-shadow: 0 1px 3px rgba(79, 70, 229, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--vji-primary);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fp-badge-v5__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--vji-accent);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: fpPulse 2s infinite;
}

@keyframes fpPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.fp-hero__title {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--vji-text-heading);
  margin: 0 0 0.85rem;
}

@media (min-width: 768px) {
  .fp-hero__title {
    font-size: 1.95rem;
  }
}

@media (min-width: 1200px) {
  .fp-hero__title {
    font-size: 2.12rem;
  }
}

.fp-hero__title-highlight {
  display: block;
  margin-top: 0.15rem;
}

.fp-hero__title-prep {
  color: var(--vji-text-heading);
  font-weight: 800;
  margin-right: 0.35rem;
}

.fp-hero__title-gradient {
  display: inline-block;
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fp-hero__subtitle {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  max-width: 530px;
  margin: 0 0 1.35rem;
}

.fp-hero__cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.fp-hero .vji-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--vji-radius-md);
  transition: all var(--vji-transition-fast);
  line-height: 1.25;
  text-decoration: none;
}

.fp-hero .vji-btn--primary {
  background: var(--vji-primary);
  color: #ffffff;
  border: 1px solid transparent;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(79, 70, 229, 0.2);
}

.fp-hero .vji-btn--primary:hover {
  background: var(--vji-primary-hover);
  color: #ffffff;
  box-shadow: 0 3px 6px rgba(79, 70, 229, 0.25);
  transform: translateY(-1px);
}

.fp-hero .vji-btn--demo {
  background: #ffffff;
  color: var(--vji-primary);
  border: 1px solid #c7d2fe;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.fp-hero .vji-btn--demo:hover {
  background: #f8faff;
  border-color: #a5b4fc;
  color: var(--vji-primary-hover);
  transform: translateY(-1px);
}

.fp-hero .vji-btn--secondary {
  background: #ffffff;
  color: var(--vji-text-heading);
  border: 1px solid #cbd5e1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.fp-hero .vji-btn--secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: var(--vji-primary);
  transform: translateY(-1px);
}

.fp-hero__trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e2e8f0;
  width: 100%;
  max-width: 530px;
}

@media (max-width: 991px) {
  .fp-hero__trust-strip {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .fp-hero__trust-strip {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
}

.fp-hero__metric-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
}

.fp-hero__metric-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   AI Assistant Hero Visual (Background Image)
   ========================================================================== */
.fp-hero__col--visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.fp-hero-ai-bg {
  display: block;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1312 / 1199;
  background-image: url('../images/ai-assistant-hero.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .fp-hero-ai-bg {
    max-width: 560px;
    margin-left: auto;
    margin-right: 0;
  }
}


/* ==========================================================================
   Dedicated Standalone Feature Sections (Separated & Innovative)
   ========================================================================== */
.fp-section {
  padding: 2.25rem 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 992px) {
  .fp-section {
    padding: 2.75rem 0;
  }
}

/* 1. AI Assistant Section (Light Modern Ambiance) */
.fp-section--assistant {
  background: radial-gradient(ellipse 65% 55% at 90% 15%, rgba(99, 102, 241, 0.05) 0%, transparent 100%), #ffffff;
  border-top: 1px solid var(--vji-border);
  border-bottom: 1px solid var(--vji-border);
}

/* 2. AI Mapping Section (Light Slate Surface) */
.fp-section--ai-mapping {
  background: radial-gradient(ellipse 60% 50% at 10% 25%, rgba(147, 51, 234, 0.05) 0%, transparent 100%),
              var(--vji-surface, #f8fafc);
  border-bottom: 1px solid var(--vji-border);
}

/* 3. Smart Mapping Section (Clean White Surface) */
.fp-section--smart-mapping {
  background: radial-gradient(ellipse 60% 50% at 90% 80%, rgba(245, 158, 11, 0.04) 0%, transparent 100%), #ffffff;
  border-bottom: 1px solid var(--vji-border);
}

/* 4. Background Engine with Live Controls Section (Light Slate Surface) */
.fp-section--engine {
  background: radial-gradient(ellipse 60% 50% at 10% 85%, rgba(14, 165, 233, 0.05) 0%, transparent 100%),
              var(--vji-surface, #f8fafc);
  border-bottom: 1px solid var(--vji-border);
}

/* 50/50 Side-by-Side Split Showcase Layout */
.fp-showcase-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 992px) {
  .fp-showcase-split {
    grid-template-columns: 1fr 1.15fr;
    gap: 2.5rem;
  }

  .fp-showcase-split--reverse {
    grid-template-columns: 1.15fr 1fr;
  }

  .fp-showcase-split--reverse .fp-showcase-split__content {
    order: 2;
  }

  .fp-showcase-split--reverse .fp-showcase-split__visual {
    order: 1;
  }
}

.fp-showcase-split__content {
  display: flex;
  flex-direction: column;
}

.fp-showcase-split__visual {
  width: 100%;
}

.fp-showcase-title {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: var(--vji-text-heading);
  margin: 0 0 0.5rem;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .fp-showcase-title {
    font-size: 1.95rem;
  }
}

.fp-showcase-desc {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 1rem;
  max-width: 540px;
}

.fp-feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--vji-radius-full);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
  width: fit-content;
}

.fp-feature-badge--accent {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.fp-feature-badge--purple {
  background: #ede9fe;
  color: #5b21b6;
  border: 1px solid #ddd6fe;
}

.fp-feature-badge--primary {
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}

.fp-feature-badge--blue {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.fp-feature-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fp-feature-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.835rem;
  line-height: 1.4;
  color: #475569;
}

.fp-feature-points strong {
  color: var(--vji-text-heading);
  font-weight: 700;
  margin-right: 0.25rem;
}

.fp-feature-point-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.fp-feature-point-icon--success { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.fp-feature-point-icon--accent  { background: #fef3c7; color: #d97706; border: 1px solid #fde68a; }
.fp-feature-point-icon--purple  { background: #ede9fe; color: #7c3aed; border: 1px solid #ddd6fe; }
.fp-feature-point-icon--primary { background: #eef2ff; color: #4f46e5; border: 1px solid #c7d2fe; }
.fp-feature-point-icon--info    { background: #e0f2fe; color: #0284c7; border: 1px solid #bae6fd; }

.fp-feature-action {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Feature Example Column (Rich Visual Mockups) */
.fp-feature-col--example {
  width: 100%;
}

.fp-example-card {
  background: #ffffff;
  border: 1px solid var(--vji-border);
  border-radius: var(--vji-radius-lg, 12px);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.fp-example-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.5rem 0.85rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--vji-border);
  font-size: 0.72rem;
}

.fp-example-dots {
  display: flex;
  gap: 4px;
}

.fp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.fp-dot--red    { background: #ef4444; }
.fp-dot--yellow { background: #f59e0b; }
.fp-dot--green  { background: #10b981; }

.fp-example-tag {
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--vji-text-heading);
  font-family: var(--vji-font-mono, monospace);
}

.fp-example-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
}

.fp-example-status--green  { color: #059669; }
.fp-example-status--purple { color: #7c3aed; }
.fp-example-status--blue   { color: #0284c7; }

.fp-example-body {
  padding: 0.75rem 0.95rem;
}

/* 1. File Info Chip */
.fp-example-file-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--vji-border);
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--vji-text-heading);
}

.fp-example-file-name {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--vji-text-heading);
}

.fp-example-file-name svg {
  color: var(--vji-primary);
}

.fp-example-file-badge {
  font-size: 0.65rem;
  color: #0284c7;
  background: #e0f2fe;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  font-weight: 700;
}

/* Mapping Table / Rows */
.fp-mapping-table {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.fp-mapping-row {
  display: grid;
  grid-template-columns: 1fr auto 1.25fr;
  gap: 0.45rem;
  align-items: center;
  padding: 0.35rem 0.65rem;
  background: #ffffff;
  border: 1px solid var(--vji-border);
  border-radius: 6px;
}

.fp-mapping-row--learned {
  background: #fffbeb;
  border-color: #fde68a;
}

.fp-col-type {
  display: block;
  font-size: 0.58rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--vji-text-muted);
  margin-bottom: 0.1rem;
  letter-spacing: 0.03em;
}

.fp-mapping-row code,
.fp-ai-row code {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0.08rem 0.35rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--vji-text-heading);
  font-family: var(--vji-font-mono, monospace);
  display: inline-block;
}

.fp-mapping-arrow {
  color: var(--vji-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-mapping-arrow--learn {
  color: #d97706;
}

.fp-field-match {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.fp-match-pill {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.08rem 0.35rem;
  border-radius: 4px;
}

.fp-match-pill--success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.fp-match-pill--learned {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  font-weight: 800;
}

.fp-example-footer-callout {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: #ffffff;
  border: 1px solid var(--vji-border);
  border-radius: 6px;
  padding: 0.35rem 0.65rem;
  margin-top: 0.45rem;
  font-size: 0.7rem;
  color: var(--vji-text-muted);
  line-height: 1.4;
}

.fp-callout-icon {
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* 2. Multilingual AI Semantic Rows */
.fp-ai-mapping-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.fp-ai-row {
  display: grid;
  grid-template-columns: 1.15fr auto 1.35fr;
  gap: 0.45rem;
  align-items: center;
  padding: 0.35rem 0.65rem;
  background: #ffffff;
  border: 1px solid var(--vji-border);
  border-radius: 6px;
}

.fp-ai-source {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.fp-lang-pill {
  font-size: 0.58rem;
  font-weight: 800;
  padding: 0.08rem 0.3rem;
  border-radius: 4px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.fp-lang-pill--de  { background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe; }
.fp-lang-pill--fr  { background: #ede9fe; color: #6d28d9; border: 1px solid #ddd6fe; }
.fp-lang-pill--es  { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.fp-lang-pill--unk { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }

.fp-ai-connector {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: #7c3aed;
  white-space: nowrap;
}

.fp-ai-target {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.fp-target-desc {
  font-size: 0.65rem;
  color: var(--vji-text-muted);
  font-weight: 500;
}

.fp-score-badge {
  font-size: 0.6rem;
  font-weight: 800;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 0.05rem 0.25rem;
  border-radius: 4px;
}

/* 3. AI Assistant Console (Light Modern SaaS Style) */
.fp-chat-stream {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.fp-chat-item--user .fp-chat-bubble {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  font-size: 0.78rem;
  color: #334155;
  line-height: 1.45;
  font-style: italic;
}

.fp-chat-item--ai .fp-chat-bubble {
  background: #f5f7ff;
  border: 1px solid #e0e7ff;
  border-left: 3px solid #6366f1;
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  font-size: 0.78rem;
  color: #1e293b;
  line-height: 1.45;
}

.fp-chat-bubble-author {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
}

.fp-chat-item--user .fp-chat-bubble-author strong {
  color: #334155;
}

.fp-chat-item--ai .fp-chat-bubble-author strong {
  color: #1e293b;
}

.fp-avatar {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
}

.fp-avatar--user {
  background: #e2e8f0;
  color: #475569;
}

.fp-avatar--ai {
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  color: #ffffff;
}

.fp-badge-nano {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.05rem 0.35rem;
  border-radius: 4px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  text-transform: uppercase;
  margin-left: auto;
}

.fp-chat-plan {
  margin-top: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.72rem;
  background: #ffffff;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  border: 1px solid #e0e7ff;
}

.fp-chat-plan-item {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  color: #334155;
  line-height: 1.4;
}

.fp-chat-plan-item strong {
  color: #0f172a;
}

.fp-chat-plan-item svg {
  color: #059669;
  flex-shrink: 0;
  margin-top: 2px;
}

.fp-example-chat-actions {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.55rem;
  flex-wrap: wrap;
}

.fp-chat-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: default;
  background: #ffffff;
  color: #475569;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.fp-chat-action-btn--primary {
  background: #4f46e5;
  color: #ffffff;
  border-color: #4f46e5;
}

/* 4. Real Plugin Modal & Live Controls Mockup (Matching WP Import Export UI) */
.fp-modal-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--vji-text-heading);
}

.fp-modal-title strong {
  font-weight: 700;
  color: #0f172a;
}

.fp-plugin-badge-running {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
}

.fp-spinner-dots {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563eb;
  animation: fpPulse 1.5s infinite;
}

/* File Card Inside Modal */
.fp-plugin-file-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.65rem;
}

.fp-plugin-file-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.fp-plugin-file-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #e0e7ff;
  color: #4338ca;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fp-plugin-file-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fp-plugin-file-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fp-plugin-file-meta {
  font-size: 0.65rem;
  color: #64748b;
}

.fp-plugin-file-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.fp-plugin-type-lbl {
  font-size: 0.62rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
}

.fp-plugin-type-val {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1e293b;
}

/* Progress Area */
.fp-plugin-progress-area {
  margin-bottom: 0.65rem;
}

.fp-plugin-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.3rem;
}

.fp-plugin-action-name {
  font-size: 0.76rem;
  font-weight: 600;
  color: #1e293b;
}

.fp-plugin-pct {
  font-size: 0.74rem;
  font-weight: 800;
  color: #2563eb;
  font-family: var(--vji-font-mono, monospace);
}

.fp-plugin-progress-bar {
  height: 8px;
  width: 100%;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.35rem;
}

.fp-plugin-progress-fill {
  height: 100%;
  background: #2563eb;
  border-radius: 999px;
  transition: width 0.3s ease;
}

.fp-plugin-progress-meta {
  font-size: 0.7rem;
  color: #64748b;
}

/* 4 Real Plugin Metric Tiles: Created, Updated, Skipped, Time Elapsed */
.fp-plugin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 480px) {
  .fp-plugin-metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.fp-plugin-tile {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.5rem 0.45rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.fp-plugin-tile-lbl {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.15rem;
}

.fp-plugin-tile-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.fp-plugin-tile-val--time {
  font-size: 0.88rem;
  font-family: var(--vji-font-mono, monospace);
  color: #334155;
}

/* Real Plugin Action Buttons */
.fp-plugin-actions-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px solid #f1f5f9;
}

.fp-plugin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.75rem;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: default;
  transition: all var(--vji-transition-fast);
}

.fp-plugin-btn--bg {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
}

.fp-plugin-btn--pause {
  background: #ffffff;
  border: 1px solid #fbbf24;
  color: #d97706;
}

.fp-plugin-btn--cancel {
  background: #ef4444;
  border: 1px solid #dc2626;
  color: #ffffff;
}

/* ==========================================================================
   Comprehensive Comparison Matrix (Direct from Compare List Image)
   ========================================================================== */
.fp-comparison-section {
  background: #ffffff;
  padding: 5rem 0;
  border-top: 1px solid var(--vji-border);
  border-bottom: 1px solid var(--vji-border);
}

.fp-table-wrapper {
  overflow-x: auto;
  margin-top: 3rem;
  border-radius: var(--vji-radius-xl);
  border: 1px solid var(--vji-border);
  box-shadow: var(--vji-shadow-lg);
  background: #ffffff;
}

.fp-compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  min-width: 820px;
}

.fp-compare-table th,
.fp-compare-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--vji-border-light);
  font-size: 0.9375rem;
}

.fp-compare-table th:first-child,
.fp-compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--vji-text-heading);
  padding-left: 2rem;
  width: 34%;
}

/* Header Columns */
.fp-compare-table thead th {
  background: #f8fafc;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--vji-text-heading);
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 2px solid var(--vji-border);
}

/* Highlight WP Import Export (Featured column) */
.fp-col-highlight {
  background: rgba(79, 70, 229, 0.03);
  position: relative;
}

.fp-col-highlight--header {
  background: #f5f3ff !important;
  color: var(--vji-primary) !important;
  position: relative;
}

.fp-col-highlight-badge {
  display: inline-block;
  background: var(--vji-primary);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: var(--vji-radius-full);
  margin-bottom: 0.4rem;
}

.fp-compare-table tbody tr:hover td {
  background-color: #f8fafc;
}

.fp-compare-table tbody tr:hover td.fp-col-highlight {
  background-color: #ede9fe;
}

/* Special Rows (Price & Updates) */
.fp-row-price td {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--vji-primary);
  background: #f8fafc;
}

.fp-row-price td:first-child {
  font-size: 1rem;
  color: var(--vji-text-heading);
}

.fp-row-updates td {
  font-weight: 700;
  color: var(--vji-primary);
}

/* Check & Cross Badges */
.fp-icon-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
}

.fp-icon-check svg {
  width: 16px;
  height: 16px;
  stroke-width: 3;
}

.fp-icon-cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fef2f2;
  color: #dc2626;
}

.fp-icon-cross svg {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}

/* New in V5 tag for table row */
.fp-table-tag-new {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--vji-radius-full);
  margin-left: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Pricing Cards Section
   ========================================================================== */
.fp-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3.5rem;
}

@media (min-width: 768px) {
  .fp-pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.fp-pricing-card {
  background: var(--vji-surface);
  border: 1px solid var(--vji-border);
  border-radius: var(--vji-radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--vji-transition-normal);
  box-shadow: var(--vji-shadow-sm);
}

.fp-pricing-card--popular {
  border-color: var(--vji-primary);
  box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.12), 0 8px 10px -6px rgba(79, 70, 229, 0.08);
  transform: scale(1.03);
}

.fp-pricing-popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 1rem;
  border-radius: var(--vji-radius-full);
  box-shadow: 0 4px 8px rgba(79, 70, 229, 0.3);
}

.fp-pricing-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--vji-text-heading);
}

.fp-pricing-desc {
  font-size: 0.9rem;
  color: var(--vji-text-muted);
  margin-bottom: 1.75rem;
  min-height: 44px;
}

.fp-pricing-price {
  font-size: 3rem;
  font-weight: 850;
  color: var(--vji-text-heading);
  letter-spacing: -0.04em;
  margin-bottom: 0.25rem;
}

.fp-pricing-period {
  font-size: 0.875rem;
  color: var(--vji-accent);
  font-weight: 700;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fp-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-grow: 1;
}

.fp-pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9375rem;
  color: var(--vji-text-body);
}

.fp-pricing-features li svg {
  color: var(--vji-accent);
  flex-shrink: 0;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.fp-faq-accordion {
  max-width: 840px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fp-faq-item {
  background: var(--vji-surface);
  border: 1px solid var(--vji-border);
  border-radius: var(--vji-radius-lg);
  overflow: hidden;
  transition: border-color var(--vji-transition-fast);
}

.fp-faq-item.is-active {
  border-color: var(--vji-primary);
}

.fp-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.75rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--vji-text-heading);
  cursor: pointer;
}

.fp-faq-icon {
  width: 24px;
  height: 24px;
  color: var(--vji-text-muted);
  transition: transform var(--vji-transition-fast);
  flex-shrink: 0;
}

.fp-faq-item.is-active .fp-faq-icon {
  transform: rotate(180deg);
  color: var(--vji-primary);
}

.fp-faq-answer {
  display: none;
  padding: 0 1.75rem 1.5rem;
  font-size: 0.975rem;
  line-height: 1.65;
  color: var(--vji-text-body);
}

.fp-faq-item.is-active .fp-faq-answer {
  display: block;
}

/* ==========================================================================
   Pre-Footer Final CTA Banner (Light Theme)
   ========================================================================== */
.fp-cta-banner {
  background: linear-gradient(135deg, #f8faff 0%, #eef2ff 50%, #faf5ff 100%);
  border: 1px solid #e0e7ff;
  border-radius: var(--vji-radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.06);
  margin: 1.25rem 0 1rem;
}

.fp-cta-banner h2 {
  color: var(--vji-text-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.35rem;
}

.fp-cta-banner p {
  color: var(--vji-text-muted);
  font-size: 0.95rem;
  max-width: 620px;
  margin: 0 auto 1.35rem;
  line-height: 1.6;
}

.fp-cta-banner .vji-btn {
  padding: 0.65rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.fp-cta-banner .vji-btn--primary {
  background: var(--vji-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.fp-cta-banner .vji-btn--primary:hover {
  background: var(--vji-primary-hover);
  color: #ffffff;
}

.fp-cta-banner .vji-btn--secondary {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--vji-text-heading);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.fp-cta-banner .vji-btn--secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: var(--vji-text-heading);
}

/* ==========================================================================
   Compact Add-on & Compatibility Showcase (High-Density Integration Strip)
   ========================================================================== */
/* ==========================================================================
   Enterprise Ecosystem Compatibility Panel (High-Density List Architecture)
   Logo-free, typography-driven compatibility matrix with minimal footprint.
   ========================================================================== */
.fp-section--ecosystem {
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(79, 70, 229, 0.035) 0%, transparent 100%), #ffffff;
  padding: 1.5rem 0 1.75rem;
  position: relative;
  border-bottom: 1px solid var(--vji-border);
}

@media (min-width: 992px) {
  .fp-section--ecosystem {
    padding: 1.75rem 0 2rem;
  }
}

/* Master Panel Container */
.fp-compat-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem 1.35rem 1rem;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.03), 0 2px 4px -2px rgba(15, 23, 42, 0.02);
}

@media (min-width: 768px) {
  .fp-compat-panel {
    padding: 1.35rem 1.65rem 1.15rem;
  }
}

/* Header Strip Inside Panel */
.fp-compat-header {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .fp-compat-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.fp-compat-header__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.fp-compat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--vji-primary);
  background: var(--vji-primary-light, #eef2ff);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.fp-compat-pill--pro {
  color: #4f46e5;
  background: #eef2ff;
  border-color: rgba(79, 70, 229, 0.25);
}

.fp-compat-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--vji-text-heading);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .fp-compat-title {
    font-size: 1.22rem;
  }
}

.fp-compat-matrix-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--vji-primary);
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.15s ease;
}

.fp-compat-matrix-link:hover {
  background: #eef2ff;
  border-color: rgba(79, 70, 229, 0.3);
  color: var(--vji-primary-hover);
  text-decoration: none;
}

/* 2-Column List Grid */
.fp-compat-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

@media (min-width: 992px) {
  .fp-compat-list-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem 1.25rem;
  }
}

.fp-compat-column {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* Individual Compatibility Row (List Item) - High-Density 3-Cell Grid */
.fp-compat-row {
  display: grid;
  grid-template-columns: 20px 135px 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.52rem 0.85rem;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  transition: all 0.15s ease;
}

.fp-compat-row:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateX(2px);
}

/* Verified Checkmark */
.fp-compat-check {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  justify-self: center;
}

.fp-compat-check--pro {
  background: #eef2ff;
  color: #4f46e5;
  border: 1px solid rgba(79, 70, 229, 0.2);
}

/* Row Name - Strict Fixed Width Column for Razor-Sharp Vertical Alignment */
.fp-compat-row__name {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--vji-text-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

/* Row Specs / Capabilities - Perfectly Aligned Vertical Column */
.fp-compat-row__desc {
  font-size: 0.76rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Responsive: Clean Stack on Mobile (< 640px) */
@media (max-width: 640px) {
  .fp-compat-row {
    grid-template-columns: 20px 1fr;
    grid-template-areas:
      "check name"
      "check desc";
    row-gap: 0.15rem;
    column-gap: 0.6rem;
    padding: 0.48rem 0.65rem;
  }

  .fp-compat-check {
    grid-area: check;
    align-self: center;
  }

  .fp-compat-row__name {
    grid-area: name;
    font-size: 0.84rem;
  }

  .fp-compat-row__desc {
    grid-area: desc;
    font-size: 0.74rem;
  }
}

/* Integrated Micro Ribbon */
.fp-compat-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: #475569;
  padding: 0.55rem 0.85rem;
  background: rgba(79, 70, 229, 0.025);
  border-radius: 8px;
  border: 1px dashed rgba(79, 70, 229, 0.18);
  text-align: center;
  margin-top: 0.5rem;
}

.fp-ecosystem-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--vji-accent, #10b981);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: fpPulse 2s infinite;
  flex-shrink: 0;
}


