/*
   promptsite.nl — Homepage styles
   ============================================================ */

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Shared */
.ps-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: .75rem;
}
.ps-h2 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -.02em; color: var(--foreground);
  margin-bottom: 1rem;
}
.ps-lead {
  font-size: 1.05rem; line-height: 1.6;
  color: var(--muted-foreground); max-width: 34rem;
}
.ps-section { padding-block: 5rem; }
.ps-section--alt { background: var(--card); }
@media (max-width: 640px) { .ps-section { padding-block: 3.5rem; } }

/* Buttons */
.ps-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.4rem; border-radius: var(--radius-md);
  font-size: .9rem; font-weight: 600; border: none;
  cursor: pointer; transition: all .2s; text-decoration: none;
}
.ps-btn svg { width: 1rem; height: 1rem; }
.ps-btn--primary { background: var(--primary); color: #fff; }
.ps-btn--primary:hover { background: color-mix(in srgb, var(--primary) 85%, black); transform: translateY(-1px); box-shadow: 0 6px 20px -4px rgba(74,58,255,.3); }
.ps-btn--white { background: #fff; color: var(--foreground); }
.ps-btn--white:hover { background: rgba(255,255,255,.9); transform: translateY(-1px); box-shadow: 0 6px 20px -6px rgba(0,0,0,.2); }
.ps-btn--ghost { background: transparent; color: var(--primary); padding: .5rem 0; }
.ps-btn--ghost:hover { text-decoration: underline; }

/* ============================================================
   1. HERO
   ============================================================ */
.ps-hero {
  padding: 5.5rem 0 0;
  position: relative; overflow: hidden;
}
@media (min-width: 768px) { .ps-hero { padding: 7rem 0 0; } }

.ps-hero__glow {
  position: absolute; pointer-events: none;
  width: 60rem; height: 40rem;
  top: -16rem; left: 50%; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(74,58,255,.06) 0%, rgba(74,58,255,.02) 40%, transparent 70%);
}

.ps-hero__center { text-align: center; max-width: 680px; margin: 0 auto 2.5rem; position: relative; }
.ps-hero__title {
  font-size: clamp(2.5rem, 5.5vw, 3.8rem);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -.035em; color: var(--foreground);
  margin-bottom: 1.25rem;
}
.ps-hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary), #7c6fff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ps-hero__sub {
  font-size: 1.15rem; line-height: 1.55;
  color: var(--muted-foreground);
  max-width: 480px; margin: 0 auto;
}

.ps-hero__prompt-row { max-width: 640px; margin: 0 auto; position: relative; }

/* Prompt box */
.ps-prompt {
  background: var(--background);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px -4px rgba(13,13,43,.05);
  transition: border-color .25s, box-shadow .3s;
}
.ps-prompt:focus-within {
  border-color: color-mix(in srgb, var(--primary) 50%, var(--border));
  box-shadow: 0 8px 32px -8px rgba(74,58,255,.1), 0 0 0 3px rgba(74,58,255,.05);
}
.ps-prompt__field { padding: 1.1rem 1.25rem .5rem; }
.ps-prompt textarea {
  width: 100%; resize: none; border: none; background: transparent;
  font: inherit; font-size: .95rem; line-height: 1.6; color: var(--foreground);
}
.ps-prompt textarea:focus { outline: none; }
.ps-prompt textarea::placeholder { color: color-mix(in srgb, var(--muted-foreground) 45%, transparent); }
.ps-prompt__toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .25rem 1.25rem 1rem; gap: .75rem;
}
.ps-prompt__tools { display: flex; align-items: center; gap: .5rem; }
.ps-prompt__count { font-size: .75rem; color: var(--muted-foreground); }
.ps-prompt__mic { background: none; border: none; padding: .25rem; color: var(--muted-foreground); border-radius: var(--radius-sm); cursor: pointer; }
.ps-prompt__mic:hover { background: var(--accent); color: var(--foreground); }
.ps-prompt__mic svg { width: 1.1rem; height: 1.1rem; }
.ps-prompt__mic[aria-pressed="true"] .ps-prompt__mic-on,
.ps-prompt__mic:not([aria-pressed="true"]) .ps-prompt__mic-off { display: none; }
.ps-prompt__btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1.5rem; border-radius: var(--radius-md);
  font-size: .9rem; font-weight: 600;
  background: var(--primary); color: #fff; border: none; cursor: pointer;
  transition: all .18s ease;
}
.ps-prompt__btn:hover {
  background: color-mix(in srgb, var(--primary) 85%, black);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -4px rgba(74,58,255,.3);
}
.ps-prompt__btn svg { width: 1rem; height: 1rem; }
.ps-prompt__hint { font-size: .8rem; color: var(--muted-foreground); padding: .5rem 1.25rem 0; }

.ps-hero__chips {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .4rem; margin-top: 1rem;
}
.ps-chip {
  background: var(--background); border: 1px solid var(--border);
  border-radius: var(--radius-pill); padding: .3rem .75rem;
  font-size: .78rem; font-weight: 500; color: var(--muted-foreground);
  cursor: pointer; transition: all .15s;
  font-family: inherit; text-decoration: none;
}
.ps-chip:hover { border-color: var(--primary); color: var(--primary); background: var(--accent); }

.ps-hero__trust {
  display: flex; justify-content: center;
  gap: 1.5rem; margin-top: 1.25rem;
  font-size: .8rem; color: var(--muted-foreground);
  list-style: none; padding: 0;
}
.ps-hero__trust li { display: flex; align-items: center; gap: .3rem; white-space: nowrap; }
.ps-hero__trust svg { width: .8rem; height: .8rem; color: var(--primary); flex: none; }

/* Brand ticker */
.ps-ticker {
  margin-top: 3.5rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  border-top: 1px solid var(--border);
  padding-top: 2rem; padding-bottom: 2rem;
}
.ps-ticker__track {
  display: flex; gap: 1.5rem;
  width: max-content;
  animation: ticker 40s linear infinite;
}
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ps-ticker__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }
.ps-ticker__card {
  display: flex; align-items: center; gap: .6rem;
  padding: .5rem 1rem .5rem .5rem;
  background: var(--background); border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  white-space: nowrap; flex: none;
}
.ps-ticker__mark {
  width: 2rem; height: 2rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: .8rem;
}
.ps-ticker__info { display: flex; flex-direction: column; line-height: 1.2; }
.ps-ticker__info strong { font-size: .82rem; font-weight: 600; color: var(--foreground); }
.ps-ticker__info small { font-size: .7rem; color: var(--muted-foreground); }

/* ============================================================
   2. DARK EDITORIAL — How it works
   ============================================================ */
.ps-dark {
  background: var(--foreground); color: #fff;
  padding: 5rem 0;
}
.ps-dark__pitch {
  max-width: 48rem; margin: 0 auto 4rem;
  text-align: center;
}
.ps-dark__statement {
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  line-height: 1.55; font-weight: 500;
  color: rgba(255,255,255,.85);
  margin-bottom: 2rem;
}
.ps-dark__steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.ps-dark__step { text-align: center; }
.ps-dark__step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.2);
  font-size: .9rem; font-weight: 700; color: #fff;
  margin-bottom: 1rem;
}
.ps-dark__step h3 {
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: .4rem;
}
.ps-dark__step p {
  font-size: .88rem; color: rgba(255,255,255,.55);
  line-height: 1.5;
}
@media (max-width: 768px) { .ps-dark__steps { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ============================================================
   3. FEATURES — alternating
   ============================================================ */
.ps-feat { padding-block: 4rem; }
.ps-feat--alt { background: var(--card); }
.ps-feat__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3.5rem; align-items: center;
}
.ps-feat--reverse .ps-feat__inner { direction: rtl; }
.ps-feat--reverse .ps-feat__inner > * { direction: ltr; }
.ps-feat__title {
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 800; line-height: 1.15;
  margin-bottom: .75rem;
}
.ps-feat__text {
  font-size: .95rem; color: var(--muted-foreground);
  line-height: 1.6; margin-bottom: 1.25rem;
}
.ps-feat__list { margin-bottom: 1rem; }
.ps-feat__list li {
  display: flex; align-items: flex-start; gap: .45rem;
  font-size: .88rem; color: var(--muted-foreground);
  margin-bottom: .4rem;
}
.ps-feat__list svg { width: .9rem; height: .9rem; color: var(--primary); flex: none; margin-top: .15rem; }
@media (max-width: 768px) {
  .ps-feat__inner { grid-template-columns: 1fr; gap: 2rem; }
  .ps-feat--reverse .ps-feat__inner { direction: ltr; }
}

/* ============================================================
   4. TRUST
   ============================================================ */
.ps-trust { padding-block: 4rem; text-align: center; }
.ps-trust__quote {
  font-size: clamp(1.25rem, 2.8vw, 1.6rem);
  font-weight: 600; line-height: 1.4;
  max-width: 40rem; margin: 0 auto 3rem;
  color: var(--foreground);
}
.ps-trust__guarantees {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem; max-width: 40rem; margin: 0 auto;
  text-align: left;
}
.ps-trust__item {
  display: flex; gap: .75rem; align-items: flex-start;
}
.ps-trust__item svg { width: 1.1rem; height: 1.1rem; color: var(--primary); flex: none; margin-top: .15rem; }
.ps-trust__item strong { display: block; font-size: .9rem; font-weight: 700; margin-bottom: .15rem; }
.ps-trust__item span { font-size: .82rem; color: var(--muted-foreground); line-height: 1.4; }
@media (max-width: 640px) { .ps-trust__guarantees { grid-template-columns: 1fr; } }

/* ============================================================
   5. PRICING
   ============================================================ */
.ps-pricing { padding-block: 5rem; }
.ps-pricing__head { text-align: center; margin-bottom: 3rem; }
.ps-pricing__head .ps-lead { margin-inline: auto; }
.ps-pricing__toggle { margin-top: 1.5rem; }
.ps-toggle {
  display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: 3px; background: var(--card);
}
.ps-toggle button {
  padding: .5rem 1.25rem; border-radius: var(--radius-pill);
  font-size: .85rem; font-weight: 600;
  background: transparent; border: none; color: var(--muted-foreground);
  cursor: pointer; transition: all .2s;
}
.ps-toggle button.is-active { background: var(--primary); color: #fff; }
.ps-pricing__save {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-left: .75rem; font-size: .8rem; color: var(--green); font-weight: 600;
}
.ps-pricing__save svg { width: .85rem; height: .85rem; }
.ps-plans {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 2rem;
}
@media (max-width: 768px) { .ps-plans { grid-template-columns: 1fr; max-width: 24rem; margin-inline: auto; } }
.ps-plan {
  border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem; background: var(--background);
  display: flex; flex-direction: column; position: relative;
}
.ps-plan--pop { border-color: var(--primary); box-shadow: 0 8px 30px -8px rgba(74,58,255,.15); }
.ps-plan__badge {
  position: absolute; top: -.7rem; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  padding: .25rem .75rem; border-radius: var(--radius-pill);
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .03em; white-space: nowrap;
}
.ps-plan__name { font-size: 1.1rem; font-weight: 700; margin-bottom: .25rem; }
.ps-plan__tag { font-size: .8rem; color: var(--muted-foreground); margin-bottom: 1.25rem; }
.ps-plan__price { margin-bottom: .25rem; }
.ps-plan__amt { font-size: 2.25rem; font-weight: 800; letter-spacing: -.02em; }
.ps-plan__per { font-size: .85rem; color: var(--muted-foreground); }
.ps-plan__billing { font-size: .75rem; color: var(--muted-foreground); margin-bottom: 1.25rem; }
.ps-plan__cta {
  display: block; text-align: center;
  padding: .7rem 1rem; border-radius: var(--radius-md);
  font-size: .9rem; font-weight: 600; margin-bottom: 1.5rem;
  transition: all .2s; text-decoration: none;
}
.ps-plan__cta--pop { background: var(--primary); color: #fff; }
.ps-plan__cta--pop:hover { background: color-mix(in srgb, var(--primary) 85%, black); }
.ps-plan__cta--ghost { border: 1.5px solid var(--border); color: var(--foreground); }
.ps-plan__cta--ghost:hover { border-color: var(--primary); color: var(--primary); }
.ps-plan__features li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .85rem; color: var(--muted-foreground); padding: .3rem 0;
}
.ps-plan__features svg { width: .85rem; height: .85rem; color: var(--green); flex: none; }
.ps-pricing__foot { text-align: center; margin-top: 2rem; font-size: .9rem; color: var(--muted-foreground); }
.ps-pricing__foot a { color: var(--primary); font-weight: 600; }
.ps-pricing__foot a:hover { text-decoration: underline; }

/* ============================================================
   6. FAQ
   ============================================================ */
.ps-faq { padding-block: 5rem; }
.ps-faq__head { text-align: center; margin-bottom: 3rem; }
.ps-faq__list { max-width: 44rem; margin-inline: auto; }
.ps-faq__item { border-bottom: 1px solid var(--border); }
.ps-faq__q {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 1.25rem 0;
  font-size: 1rem; font-weight: 600;
  color: var(--foreground); cursor: pointer; list-style: none;
}
.ps-faq__q::-webkit-details-marker { display: none; }
.ps-faq__q::after { content: "+"; font-size: 1.5rem; font-weight: 300; color: var(--muted-foreground); transition: transform .2s; }
details[open] .ps-faq__q::after { content: "\2212"; }
.ps-faq__a { font-size: .9rem; line-height: 1.65; color: var(--muted-foreground); padding-bottom: 1.25rem; }
.ps-faq__a a { color: var(--primary); font-weight: 500; text-decoration: none; }
.ps-faq__a a:hover { text-decoration: underline; }

/* ============================================================
   7. CTA
   ============================================================ */
.ps-cta {
  padding: 5rem 0;
  background: var(--foreground); color: #fff;
  text-align: center;
}
.ps-cta__inner { max-width: 40rem; margin-inline: auto; }
.ps-cta__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800; line-height: 1.12; margin-bottom: .75rem;
}
.ps-cta__sub {
  font-size: 1rem; line-height: 1.5;
  color: rgba(255,255,255,.6); margin-bottom: 2rem;
}
.ps-cta__prompt .ps-prompt { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.05); }
.ps-cta__prompt .ps-prompt:focus-within { border-color: rgba(255,255,255,.3); box-shadow: 0 0 0 3px rgba(255,255,255,.05); }
.ps-cta__prompt .ps-prompt textarea { color: #fff; }
.ps-cta__prompt .ps-prompt textarea::placeholder { color: rgba(255,255,255,.35); }
.ps-cta__prompt .ps-prompt__count { color: rgba(255,255,255,.3); }
.ps-cta__prompt .ps-prompt__btn { background: #fff; color: var(--foreground); }
.ps-cta__prompt .ps-prompt__btn:hover { background: rgba(255,255,255,.9); }

/* ============================================================
   Niche pages
   ============================================================ */
@media (max-width: 768px) { .ps-hero__visual { order: -1; } }
