/* Jitware — gedeelde stijl voor de API koppeling silo */

:root {
  --brand-indigo: #4F46E5;
  --brand-violet: #7C3AED;
}

html, body { scroll-behavior: smooth; }

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #111827;
  background: #ffffff;
}

.heading { font-family: Sora, Inter, system-ui, sans-serif; }

.brand-text-gradient {
  background: linear-gradient(270deg, #4f46e5, #00f2ff, #200065, #00b3ff);
  background-size: 800% 800%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradientMove 6s linear infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50% }
  100% { background-position: 100% 50% }
}

.nav-glass {
  background: rgba(255, 255, 255, .7);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, .04);
}

.nav-solid { background: rgba(255, 255, 255, .95); }

.card {
  position: relative;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 1rem;
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 6px rgba(16, 24, 40, .06), 0 20px 40px -20px rgba(16, 24, 40, .30), 0 12px 40px -10px rgba(79, 70, 229, .35);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .25rem .625rem;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: rgba(255, 255, 255, .7);
  backdrop-filter: saturate(180%) blur(6px);
  font-size: .75rem;
  color: #374151;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 9999px;
  font-weight: 600;
  padding: .875rem 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.btn-primary {
  background: linear-gradient(90deg, var(--brand-indigo), var(--brand-violet));
  color: #fff;
  box-shadow: 0 8px 20px -12px rgba(79, 70, 229, .55);
}

.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.05); }

.btn-ghost {
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #374151;
}

.btn-ghost:hover { background: #f9fafb; transform: translateY(-1px); }

.link-underline { position: relative; }

.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--brand-indigo), var(--brand-violet));
  transition: width .25s ease;
}

.link-underline:hover::after { width: 100%; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.revealed { opacity: 1; transform: none; }

details.faq { border: 1px solid #eef0f3; border-radius: .75rem; background: #fff; }
details.faq summary { cursor: pointer; list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq[open] .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform .2s ease; }

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

/* Prijstabel / vergelijkingen */
.silo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}

.silo-table th,
.silo-table td {
  text-align: left;
  padding: .875rem 1rem;
  border-bottom: 1px solid #eef0f3;
  vertical-align: top;
}

.silo-table th {
  font-weight: 600;
  color: #374151;
  background: #f9fafb;
}

.table-scroll { overflow-x: auto; }

/* ROI-rekenmodule */
.calc-input {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: .625rem;
  padding: .625rem .75rem;
  font-size: 1rem;
  color: #111827;
}

.calc-input:focus {
  outline: none;
  border-color: var(--brand-indigo);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, .12);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .brand-text-gradient { animation: none; }
}
