/* ═══════════════════════════════════════════════════════════════
   VicOne Product Detail Page — Faithful to vicone.com reference
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset & Container ───────────────────────────────────────── */
.vp-page {
  color: #333;
  font-family: 'Ubuntu', 'Open Sans', sans-serif;
  line-height: 1.6;
}

.vp-page *,
.vp-page *::before,
.vp-page *::after {
  box-sizing: border-box;
}

.vp-page a {
  color: #ff0037;
}

.vp-page a:hover {
  color: #c5001a;
}

.vp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.vp-container-wide {
  max-width: 1500px;
  width: 80%;
}

/* ── Section headers ─────────────────────────────────────────── */
.vp-section {
  padding: 80px 0;
}

.vp-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.vp-section-header h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px;
  color: #212121;
}

.vp-section-header h3.vp-section-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px;
  color: #212121;
}

.vp-section-subtitle {
  font-size: 18px;
  color: #555;
  margin-top: 16px;
}

.vp-divider-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
}

.vp-divider-red {
  width: 60px;
  height: 3px;
  background: #ff0037;
}

/* ═══════════════════════════════════════════════════════════════
   PROBLEMS
   ═══════════════════════════════════════════════════════════════ */
.vp-problems {
  background: #eef2f7;
}

.vp-problems-diagram {
  margin: 0 auto 50px;
  text-align: center;
  max-width: 800px;
}

.vp-problems-diagram img,
.vp-problems-diagram object {
  width: 100%;
  height: auto;
  display: block;
}

.vp-problems-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.vp-problems-grid > .vp-problem-card {
  flex: 1 1 calc((100% - 56px) / 3);
  min-width: 260px;
  max-width: 100%;
}

.vp-problem-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
  transition: transform .2s;
}

.vp-problem-card:hover {
  transform: translateY(-4px);
}

.vp-problem-icon {
  width: 200px;
  max-width: 100%;
  margin: 0 auto 20px;
}

.vp-problem-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.vp-problem-card h3 {
  font-size: 27px;
  font-weight: 800;
  margin-bottom: 10px;
  margin-top: 20px;
  color: #212121;
  white-space: pre-line;
  line-height: 1.3;
}

.vp-problem-card p {
  font-size: 15px;
  line-height: 1.65;
  color: #636363;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════════════════ */
.vp-features {
  background: #fff;
}

.vp-features-list {
  margin-top: 40px;
}

.vp-workflow {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.vp-workflow-reverse {
  flex-direction: row-reverse;
}

.vp-workflow-media {
  flex: 1;
  min-width: 0;
}

.vp-workflow-media img {
  width: 100%;
  display: block;
  border-radius: 6px;
  object-fit: contain;
}

.vp-workflow-text {
  flex: 1;
  min-width: 0;
}

.vp-workflow-text h3 {
  font-size: 24px;
  font-weight: 700;
  color: #212121;
  margin: 0 0 4px;
}

.vp-workflow-text h4 {
  font-size: 22px;
  font-weight: 400;
  color: #555;
  margin: 0 0 16px;
}

.vp-workflow-text p {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  margin: 0;
}

.vp-workflow-text a {
  color: #ff0037;
}

.vp-workflow-text strong {
  color: #212121;
}

.vp-diagram {
  margin: 0 auto 60px;
  text-align: center;
  max-width: 1200px;
}

.vp-diagram img,
.vp-diagram object {
  width: 100%;
  height: auto;
  display: block;
}

/* More Features grid moved to shared-components.css */

/* ═══════════════════════════════════════════════════════════════
   WHY PRODUCT
   ═══════════════════════════════════════════════════════════════ */
.vp-why {
  background: #eef2f7;
  position: relative;
}

.vp-why-grid {
  display: grid;
  gap: 28px;
  margin-bottom: 28px;
}

.vp-why-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.vp-why-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.vp-why-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  transition: transform .2s;
}

.vp-why-card:hover {
  transform: translateY(-4px);
}

.vp-why-card-thumb {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.vp-why-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vp-why-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .7) 0%, transparent 70%);
}

.vp-why-card-title {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  color: #fff;
  font-size: 16px;
  line-height: 1.3;
  z-index: 1;
}

.vp-why-card-title strong {
  font-size: 32px;
  font-weight: 800;
  display: block;
  margin-bottom: 2px;
}

.vp-why-card > p {
  padding: 20px 24px;
  font-size: 15px;
  line-height: 1.65;
  color: #636363;
  margin: 0;
}

.vp-why-card > p strong {
  color: #212121;
}

/* ═══════════════════════════════════════════════════════════════
   COMPARISON TABLE (matches blog table-style)
   ═══════════════════════════════════════════════════════════════ */
.vp-comparison {
  background: #fff;
  padding-top: 20px;
  padding-bottom: 60px;
}

.vp-comparison-table-wrap {
  overflow-x: auto;
}

.vp-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
  border: 3px solid #1a212b;
}

.vp-comparison-table thead tr {
  background: #1a212b;
  color: #fff;
  text-align: center;
}

.vp-comparison-table th {
  padding: 10px;
  font-weight: 700;
  border-right: 0.5px solid #4c596c;
  font-size: 14px;
}

.vp-comparison-table td {
  padding: 10px;
  border-right: 0.5px solid #1a212b;
  border-bottom: 0.5px solid #1a212b;
  color: #444;
  font-size: 14px;
}

.vp-comparison-table tbody tr:nth-child(even) {
  background: #dde5f0;
}

.vp-comparison-table thead tr:nth-child(even) {
  background: #1a212b;
}

.vp-comparison-table td strong {
  color: #ff0037;
}

/* FAQ styles moved to shared-components.css (.shared-faq-*) */

/* ═══════════════════════════════════════════════════════════════
   NEWSLETTER CTA BANNER
   ═══════════════════════════════════════════════════════════════ */
.vp-newsletter-banner {
  min-height: auto;
  padding: 0;
}

.vp-newsletter-banner .pg-hero-content {
  padding: 100px 24px;
}

.vp-newsletter-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 12px;
  color: #fff;
}

.vp-newsletter-desc {
  font-size: 1.05rem;
  opacity: .9;
  margin-bottom: 28px;
}

/* ═══════════════════════════════════════════════════════════════
   THREAT EXPERTISE
   ═══════════════════════════════════════════════════════════════ */
.vp-expertise {
  background: #f5f5f5;
}

.vp-expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.vp-expertise-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  transition: transform .2s;
}

.vp-expertise-card:hover {
  transform: translateY(-4px);
}

.vp-expertise-thumb {
  height: 180px;
  overflow: hidden;
}

.vp-expertise-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vp-expertise-card > p {
  padding: 16px 20px 20px;
  font-size: 15px;
  line-height: 1.55;
  color: #636363;
  margin: 0;
}

.vp-expertise-card a {
  color: #ff0037;
  text-decoration: none;
}

.vp-expertise-card a:hover {
  color: #c5001a;
}

/* ═══════════════════════════════════════════════════════════════
   AWARD / TESTIMONIAL
   ═══════════════════════════════════════════════════════════════ */
.vp-award {
  background: #fff;
}

.vp-award-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.vp-award-image-block {
  flex-shrink: 0;
  text-align: center;
}

.vp-award-image-block img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 6px;
}

.vp-award-image-block h6 {
  font-size: 16px;
  font-weight: 600;
  color: #212121;
  margin: 12px 0 0;
  line-height: 1.3;
}

.vp-award-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}

.vp-award-divider-line {
  width: 2px;
  height: 80px;
  background: #ddd;
}

.vp-award-quote-block {
  flex: 1;
}

.vp-award-quote-block p {
  font-size: 16px;
  line-height: 1.7;
  color: #636363;
  margin: 0;
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════════════
   COLLABORATIONS
   ═══════════════════════════════════════════════════════════════ */
/* Collaborations styles moved to shared-components.css */

/* ═══════════════════════════════════════════════════════════════
   AWARDS (multiple)
   ═══════════════════════════════════════════════════════════════ */
.vp-awards-section {
  background: #fff;
}

.vp-awards-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.vp-awards-card {
  text-align: center;
  text-decoration: none;
  max-width: 220px;
  transition: transform 0.2s;
}

.vp-awards-card:hover {
  transform: translateY(-4px);
}

.vp-awards-card img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 6px;
}

.vp-awards-card p {
  font-size: 14px;
  font-weight: 600;
  color: #212121;
  margin-top: 12px;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIAL
   ═══════════════════════════════════════════════════════════════ */
.vp-testimonial {
  background: #f5f8fc;
}

.vp-testimonial-inner {
  display: flex;
  gap: 40px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.vp-testimonial-photo {
  flex-shrink: 0;
  width: 160px;
}

.vp-testimonial-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.vp-testimonial-person-name {
  font-size: 15px;
  font-weight: 700;
  color: #212121;
  margin: 12px 0 4px;
  text-align: center;
}

.vp-testimonial-person-position {
  font-size: 13px;
  text-align: center;
  color: #636363;
  line-height: 1.4;
  text-wrap: pretty;
}

.vp-testimonial-content blockquote {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  font-style: italic;
  margin: 0 0 20px;
  padding: 0;
  border: none;
}

.vp-testimonial-links {
  font-size: 14px;
  color: #636363;
  margin: 0;
}

.vp-testimonial-links a {
  color: #ff0037;
  font-weight: 600;
}

.vp-testimonial-links a:hover {
  color: #c5001a;
}

/* ═══════════════════════════════════════════════════════════════
   GARTNER MENTION
   ═══════════════════════════════════════════════════════════════ */
.vp-gartner {
  background: #1a212b;
  position: relative;
  overflow: hidden;
}

.vp-gartner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 70% center;
  opacity: 0.3;
}

.vp-gartner .vp-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.vp-gartner-text {
  font-size: 16px;
  line-height: 1.7;
  color: #fff;
  margin: 0 0 24px;
}

.vp-gartner-disclaimer {
  font-size: 10px;
  line-height: 1.6;
  color: rgba(204, 204, 204, 0.28);
  max-width: 600px;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .vp-container-wide {
    width: 90%;
  }

  .vp-expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vp-why-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .vp-section {
    padding: 50px 0;
  }

  .vp-container-wide {
    width: 92%;
  }

  .vp-section-header h2 {
    font-size: 24px;
  }

  .vp-problems-grid {
    gap: 20px;
  }

  .vp-problems-grid > .vp-problem-card {
    flex: 1 1 100%;
  }

  .vp-workflow {
    flex-direction: column !important;
    gap: 24px;
  }

  .vp-more-features-grid {
    flex-direction: column;
    gap: 24px;
  }

  .vp-why-grid-3,
  .vp-why-grid-2 {
    grid-template-columns: 1fr;
  }

  .vp-expertise-grid {
    grid-template-columns: 1fr;
  }

  .vp-award-inner {
    flex-direction: column;
    text-align: center;
  }

  .vp-testimonial-inner {
    flex-direction: column;
    text-align: center;
  }

  .vp-award-divider {
    flex-direction: row;
    width: 100%;
  }

  .vp-award-divider-line {
    width: 80%;
    height: 2px;
  }

  .vp-newsletter-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .vp-problem-card h3 {
    font-size: 22px;
  }

  .vp-why-card-thumb {
    height: 200px;
  }

  .vp-why-card-title strong {
    font-size: 26px;
  }
}