/* ============================================================
   VINTRIX — oplossingen.css
   Aanvullende stijlen voor oplossingen.html
   ============================================================ */

/* ---- Hero ---- */
.opl-hero {
  position: relative;
  background:
    radial-gradient(circle at 20% 10%, rgba(104, 5, 242, 0.55) 0%, transparent 50%),
    radial-gradient(circle at 85% 85%, rgba(68, 225, 242, 0.18) 0%, transparent 55%),
    linear-gradient(145deg, var(--color-indigo) 0%, #1A0460 55%, #2A0580 100%);
  color: var(--color-white);
  padding-block: clamp(5rem, 12vw, 9rem);
  overflow: hidden;
}

.opl-hero-content {
  position: relative;
  z-index: 1;
}

.opl-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--color-white);
  margin-block: 1rem 1.25rem;
  line-height: 1.1;
}

.opl-hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.75);
  max-width: 52ch;
  margin: 0;
}

/* Knoppen los van de herotekst (opl-hero-sub heeft geen onder-marge) */
.opl-hero .hero-actions {
  margin-top: 2.25rem;
}

/* ---- Thema-jump navigatie ---- */
.opl-themajump {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--color-border);
  padding: 0.85rem 0;
  position: sticky;
  top: var(--nav-height);
  z-index: 50;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.opl-themajump-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-purple);
  margin: 0 0 0.55rem 0;
}

.opl-themajump-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.opl-themajump-btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-indigo);
  background: rgba(104, 5, 242, 0.06);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.7rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.opl-themajump-btn:hover,
.opl-themajump-btn:focus-visible {
  background: var(--color-purple);
  color: var(--color-white);
  border-color: var(--color-purple);
  transform: translateY(-1px);
}

.opl-themajump-btn .lbl-short { display: none; }
.opl-themajump-btn .lbl-full  { display: inline; }

/* Mobiel: horizontaal scrollbaar i.p.v. wrappen over halve pagina */
@media (max-width: 640px) {
  .opl-themajump {
    padding: 0.65rem 0;
  }

  .opl-themajump-label {
    display: none;
  }

  .opl-themajump-grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
  }

  .opl-themajump-btn {
    font-size: 0.78rem;
    padding: 0.4rem 0.75rem;
  }

  .opl-themajump-btn .lbl-full  { display: none; }
  .opl-themajump-btn .lbl-short { display: inline; }
}

/* ---- Sectie opbouw ---- */
.opl-section {
  background: var(--color-white);
  /* Scroll-offset zodat sticky-nav + thema-bar anchor-doelen niet overlappen */
  scroll-margin-top: calc(var(--nav-height) + 90px);
}

.opl-section--alt {
  background: var(--color-bg-alt);
}

.opl-section-header {
  margin-bottom: 2.5rem;
}

.opl-section-header .section-intro {
  max-width: 60ch;
}

/* ---- Grid met oplossingskaarten ---- */
.opl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

/* ---- Oplossingskaart ---- */
.opl-card {
  position: relative;
  background: linear-gradient(165deg, rgba(68, 225, 242, 0.08) 0%, rgba(104, 5, 242, 0.04) 100%), var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.opl-section--alt .opl-card {
  background: linear-gradient(165deg, rgba(68, 225, 242, 0.08) 0%, rgba(104, 5, 242, 0.04) 100%), var(--color-white);
}

.opl-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--grad-bar);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition);
}

.opl-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover), 0 0 22px rgba(68, 225, 242, 0.28);
  border-color: var(--color-purple);
}

.opl-card:hover::before {
  transform: scaleY(1);
}

.opl-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-purple);
  background: rgba(104, 5, 242, 0.07);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  width: fit-content;
}

.opl-card h3 {
  font-size: 1.05rem;
  color: var(--color-indigo);
  margin: 0;
}

.opl-card p {
  font-size: 0.9rem;
  color: var(--color-text);
  margin: 0;
  line-height: 1.6;
  flex: 1; /* duwt de card-footer naar de onderkant */
}

.opl-card-footer {
  padding-top: 1.25rem;
}

.opl-card-footer .btn {
  font-size: 0.85rem;
  padding: 0.55rem 1.2rem;
}

/* ---- CTA ---- */
.opl-cta-section {
  background:
    radial-gradient(circle at 80% 20%, rgba(68, 225, 242, 0.18) 0%, transparent 55%),
    linear-gradient(145deg, var(--color-indigo) 0%, #2A0580 100%);
  position: relative;
  overflow: hidden;
}

.opl-cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.opl-cta-content .section-label {
  color: var(--color-cyan);
}

.opl-cta-content .section-heading {
  color: var(--color-white);
  margin: 0;
}

.opl-cta-content p {
  color: rgba(255,255,255,0.75);
  max-width: 48ch;
}

.opl-cta-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ---- Verdienmodel pillars ---- */
.section-model {
  position: relative;
  background: var(--color-bg-alt);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section-model .section-label {
  color: var(--color-purple);
}

.section-model .section-heading {
  color: var(--color-indigo);
  margin-block: 0.5rem 2.5rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.model-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem 2.5rem;
}

.model-pillar {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--color-cyan);
}

.model-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-purple);
  letter-spacing: 0.05em;
  line-height: 1;
}

.model-pillar strong {
  font-size: 0.95rem;
  color: var(--color-indigo);
}

.model-pillar p {
  font-size: 0.85rem;
  color: var(--color-text, #555);
  margin: 0;
  line-height: 1.55;
}

/* ---- AI badge ---- */
.opl-badge-ai {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-cyan);
  background: linear-gradient(135deg, rgba(68, 225, 242, 0.12), rgba(104, 5, 242, 0.1));
  border: 1px solid rgba(68, 225, 242, 0.25);
  border-radius: var(--radius-sm, 4px);
  padding: 0.2rem 0.55rem;
  white-space: nowrap;
}

/* Pixel robot icon via SVG data URI */
.opl-badge-ai::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' style='image-rendering:pixelated'%3E%3Crect x='3' y='0' width='2' height='1' fill='%2344E1F2'/%3E%3Crect x='1' y='1' width='6' height='1' fill='%2344E1F2'/%3E%3Crect x='1' y='2' width='6' height='3' fill='%2344E1F2'/%3E%3Crect x='2' y='3' width='1' height='1' fill='%23110273'/%3E%3Crect x='5' y='3' width='1' height='1' fill='%23110273'/%3E%3Crect x='3' y='4' width='2' height='1' fill='%23110273'/%3E%3Crect x='1' y='5' width='6' height='1' fill='%2344E1F2'/%3E%3Crect x='1' y='6' width='2' height='1' fill='%2344E1F2'/%3E%3Crect x='5' y='6' width='2' height='1' fill='%2344E1F2'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Badge in card-footer: rechts uitlijnen */
.opl-badge-ai--footer {
  margin-left: auto;
}

.opl-card-footer {
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ---- CTA buttons row ---- */
.opl-cta-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.opl-cta-buttons .btn-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  background: transparent;
}

.opl-cta-buttons .btn-secondary:hover {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
  background: rgba(68, 225, 242, 0.08);
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .opl-grid {
    grid-template-columns: 1fr;
  }
}
