/* SteadyyDev refreshed theme - dark/indigo modern */
:root {
  --bg: #050816;
  --bg-soft: #0b1020;
  --accent: #6366f1;
  --accent-strong: #8b5cf6;
  --accent-soft: rgba(99, 102, 241, 0.14);
  --success: #22c55e;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: rgba(148, 163, 184, 0.22);
  --radius-sm: 0.75rem;
  --radius-lg: 1.4rem;
  --shadow-soft: 0 18px 45px rgba(2, 6, 23, 0.65);
}

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

html, body { margin: 0; padding: 0; }

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(99, 102, 241, 0.14), transparent 40%),
    radial-gradient(circle at 85% 10%, rgba(34, 197, 94, 0.10), transparent 40%),
    radial-gradient(circle at 30% 85%, rgba(56, 189, 248, 0.08), transparent 45%),
    #020617;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.bg-overlay{
  position: fixed;
  inset: -30%;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at top, rgba(148,163,184,0.08), transparent 50%),
    radial-gradient(circle at bottom, rgba(99,102,241,0.10), transparent 55%);
}

/* Layout */
.container{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

main{
  padding: 2.5rem 0 4rem;
}

/* Nav */
.nav-wrap{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: 0.95rem 0;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-img{
  width: 32px;
  height: 32px;
  border-radius: 0.9rem;
  box-shadow: 0 0 0 1px rgba(148,163,184,0.35);
}

.brand-text{ font-size: 0.98rem; }

.nav-toggle{
  display: none;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148,163,184,0.35);
  color: var(--text);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.95rem;
}

.nav-list{
  display: flex;
  align-items: center;
  gap: 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

.nav-list a{
  color: var(--muted);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  transition: color .15s ease, background .15s ease, box-shadow .15s ease;
}

.nav-list a:hover,
.nav-list a.nav-active{
  color: #f8fafc;
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px rgba(99,102,241,0.55);
}

/* Hero */
.hero{
  margin-top: 2.4rem; /* extra ruimte onder nav */
  padding: 2.5rem 2rem;
  border-radius: calc(var(--radius-lg) + 0.3rem);
  background:
    radial-gradient(circle at 0% 0%, rgba(99,102,241,0.18), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(139,92,246,0.16), transparent 55%),
    rgba(15, 23, 42, 0.96);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1.2rem;
}

.badge{
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.78rem;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(148,163,184,0.3);
  width: fit-content;
}

.hero h1{
  font-size: clamp(2.1rem, 3vw + 1.6rem, 3.15rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0.15rem 0 0.4rem;
}

.hero h1 em{
  font-style: normal;
  color: var(--accent);
}

.hero p{
  color: var(--muted);
  max-width: 38rem;
  font-size: 1rem;
  margin: 0 0 0.6rem;
}

.cta-row{
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.6rem;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.68rem 1.25rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
  white-space: nowrap;
}

.btn-primary{
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fbfbff;
  box-shadow: 0 16px 36px rgba(79, 70, 229, 0.55);
}

.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 46px rgba(79, 70, 229, 0.75);
}

.btn-ghost{
  background: rgba(15, 23, 42, 0.75);
  color: var(--muted);
  border-color: rgba(148,163,184,0.35);
}

.btn-ghost:hover{
  color: var(--text);
  border-color: rgba(99,102,241,0.7);
  background: rgba(15, 23, 42, 0.95);
}

/* Sections */
.page-head{
  margin: 2.4rem 0 1.6rem;   /* extra ruimte boven de titel */
}

.page-head h1{
  font-size: 1.95rem;
  letter-spacing: -0.04em;
  margin: 0 0 0.35rem;
}

.page-head p{
  margin: 0;
  color: var(--muted);
  max-width: 34rem;
}

/* Generic cards/grids */
.cards,
.grid-3,
.work-grid,
.pricing,
.about,
.faq{
  display: grid;
  gap: 1.25rem;
  margin-top: 2.6rem;
}

.cards{
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid-3{
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card,
.feature,
.work-card,
.price-card,
.about-card,
.faq details{
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
  box-shadow: 0 14px 28px rgba(2, 6, 23, 0.55);
}

.card h3,
.feature h3,
.work-card h3,
.price-card h3,
.about-card h3{
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}

.card p,
.feature p,
.work-card p,
.price-card p,
.about-card p{
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Strip CTA */
.strip{ margin-top: 3rem; }

.strip-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 1.8rem;
  border-radius: calc(var(--radius-lg) + 0.2rem);
  background:
    linear-gradient(135deg, rgba(99,102,241,0.25), rgba(56,189,248,0.10));
  border: 1px solid rgba(99, 102, 241, 0.55);
  box-shadow: 0 18px 40px rgba(30, 64, 175, 0.45);
}

.strip-inner h2{
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

.strip-inner p{
  margin: 0;
  color: #d1d5db;
  max-width: 26rem;
  font-size: 0.98rem;
}

/* Portfolio */
.work-grid{
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.work-thumb{
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 0.8rem;
  max-height: 180px;
  border: 1px solid rgba(148,163,184,0.2);
}

.work-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Script meta list on scripts page */
.script-meta{
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0.9rem;
  display: grid;
  gap: 0.2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.script-card .script-price{
  margin: 0.1rem 0 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e5e7eb;
}

.script-card .script-tagline{
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.script-card .script-requirements{
  margin: 0.2rem 0 0.8rem;
  font-size: 0.8rem;
  color: var(--muted);
}


/* Pricing */
.pricing{
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.price-card{
  display: flex;
  flex-direction: column;
}

.price-card .price{
  margin: 0.2rem 0 1rem;
  font-size: 1.12rem;
  font-weight: 600;
  color: #f8fafc;
}

.price-card ul{
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* button altijd onderaan */
.price-card .btn{
  margin-top: auto;
  align-self: flex-start;
}

.price-card.hot{
  border-color: rgba(99,102,241,0.9);
  box-shadow: 0 18px 45px rgba(79, 70, 229, 0.7);
  position: relative;
  overflow: visible; /* label mag erboven uitsteken */
}

.price-card.hot::before{
  content: "Meest gekozen";
  position: absolute;
  top: -1.5rem;          /* boven de card */
  left: 1.2rem;
  right: auto;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #c7d2fe;
  border: 1px solid rgba(99,102,241,0.55);
}

/* FAQ */
.faq details{
  padding: 1rem 1.15rem;
}

.faq summary{
  cursor: pointer;
  font-weight: 500;
  list-style: none;
}

.faq summary::-webkit-details-marker{ display: none; }

.faq summary::after{
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 600;
}

.faq details[open] summary::after{
  content: "–";
}

.faq p{
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Footer */
.footer{
  border-top: 1px solid rgba(99,102,241,0.35);
  padding: 2.4rem 0 2.6rem;
  margin-top: 3.6rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-grid{
  display: grid;
  gap: 1.7rem;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
}

.brand-foot{
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.brand-mark{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: conic-gradient(
    from 140deg,
    var(--accent),
    var(--success),
    #06b6d4,
    var(--accent)
  );
  box-shadow: 0 0 0 1px rgba(148,163,184,0.4);
}

.link-list{
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0;
  display: grid;
  gap: 0.3rem;
}

.link-list a{ color: var(--muted); }

.link-list a:hover{ color: var(--text); }

.copy{
  margin-top: 1.6rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 860px){
  .strip-inner{
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px){
  .nav-toggle{ display: inline-flex; }

  .nav-list{
    position: fixed;
    inset: 3.6rem 1.25rem auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148,163,184,0.35);
    border-radius: 1.1rem;
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.85);
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease;
  }

  .nav-list.nav-open{
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-list a{
    padding: 0.55rem 0.9rem;
  }

  .hero{ padding: 2rem 1.5rem; }

  .footer-grid{ grid-template-columns: 1fr; }
}

/* AI Chatbot */
.chat-launcher{
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.4);
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  z-index: 60;
}

.chat-launcher span{
  font-size: 1.35rem;
}

.chat-window{
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 320px;
  max-height: 420px;
  background: rgba(15, 23, 42, 0.98);
  border-radius: 1.1rem;
  border: 1px solid rgba(148,163,184,0.4);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.95);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 70;
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}

.chat-window.open{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.chat-header{
  padding: 0.75rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(31,41,55,0.9);
  background: rgba(15,23,42,0.98);
}

.chat-header-left{
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.chat-avatar{
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: conic-gradient(
    from 140deg,
    var(--accent),
    var(--success),
    #06b6d4,
    var(--accent)
  );
  box-shadow: 0 0 0 1px rgba(148,163,184,0.5);
}

.chat-header-title{
  font-size: 0.9rem;
  font-weight: 600;
}

.chat-header-sub{
  font-size: 0.75rem;
  color: var(--muted);
}

.chat-close{
  border: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
}

.chat-messages{
  flex: 1;
  padding: 0.75rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  overflow-y: auto;
  font-size: 0.85rem;
}

.chat-msg{
  max-width: 90%;
  padding: 0.4rem 0.6rem;
  border-radius: 0.75rem;
}

.chat-msg.user{
  align-self: flex-end;
  background: var(--accent-soft);
}

.chat-msg.bot{
  align-self: flex-start;
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(31,41,55,0.9);
}

.chat-input-row{
  padding: 0.55rem 0.9rem 0.7rem;
  border-top: 1px solid rgba(31,41,55,0.9);
  display: flex;
  gap: 0.45rem;
}

.chat-input-row input{
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(55,65,81,0.9);
  background: rgba(15,23,42,0.95);
  color: var(--text);
  font-size: 0.85rem;
  padding: 0.45rem 0.7rem;
}

.chat-input-row input:focus{
  outline: none;
  border-color: var(--accent);
}

.chat-input-row button{
  border-radius: 999px;
  border: none;
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #f9fafb;
}

/* zorg dat de knop altijd onderaan in script-kaarten staat */
.work-card {
    display: flex;
    flex-direction: column;
}

.work-card .btn {
    margin-top: auto;
    align-self: flex-start;
    /* laat de knop normale breedte houden */
}
.cart-count{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  font-size: 0.7rem;
  margin-left: 0.25rem;
  padding: 0 0.25rem;
  background: var(--accent-soft);
  color: #e5e7eb;
}
.cart-layout{
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.cart-items{
  display: grid;
  gap: 0.8rem;
}

.cart-item{
  background: rgba(15, 23, 42, 0.96);
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: 0.9rem 1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.9rem;
}

.cart-item-main{
  display: flex;
  flex-direction: column;
}

.cart-item-actions{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.cart-item-title{
  font-weight: 600;
}

.cart-item-price{
  color: var(--muted);
}

.cart-summary{
  background: rgba(15,23,42,0.96);
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cart-summary .field{
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.85rem;
}

.cart-summary input,
.cart-summary textarea{
  border-radius: 0.6rem;
  border: 1px solid rgba(55,65,81,0.9);
  background: rgba(15,23,42,0.95);
  color: var(--text);
  padding: 0.45rem 0.6rem;
  font-size: 0.85rem;
}

.cart-summary input:focus,
.cart-summary textarea:focus{
  outline: none;
  border-color: var(--accent);
}

#cartTotal{
  font-weight: 600;
  margin-bottom: 0.4rem;
}

@media (max-width: 860px){
  .cart-layout{
    grid-template-columns: 1fr;
  }
}
