/* ============================================================
   WEBSITE BUILDER — "the browser"

   The product is a website, so the hero is a website: a browser
   chrome panel that swaps between the two tiers you can buy.
   Static is shown as a clean wireframe; full design is shown with
   graphics and motion switched on. The difference between $300
   and $450 is a thing you look at rather than a bullet list.

   Electric blue over near-black, square-cornered and precise —
   the closest page to the parent brand, because this division is
   Kellstar building the thing Kellstar is made of.
   ============================================================ */

html { background: #05070d; }
main > section:not(.hero) { background: rgba(5, 7, 13, 0.91); }
.foot { background: rgba(5, 7, 13, 0.92); }

/* ---------- hero ---------- */

.wbhero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  min-height: auto;
  padding: clamp(7rem, 12vw, 9rem) var(--pad) clamp(4rem, 8vw, 6rem);
}
.wbhero::before {
  background: radial-gradient(70% 70% at 25% 45%, rgba(93, 140, 255, 0.1), transparent 70%);
}
.wbhero .hero__h1 i { color: var(--accent); }
.wbhero .hero__note { border-top: 1px solid rgba(93, 140, 255, 0.22); padding-top: 1.1rem; }

/* ---------- the browser panel ---------- */

.brow {
  border: 1px solid rgba(93, 140, 255, 0.24);
  border-radius: 8px;
  overflow: hidden;
  background: #080b16;
  width: 100%;
}
.brow__bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 0.9rem;
  background: #0c1122;
  border-bottom: 1px solid rgba(93, 140, 255, 0.18);
}
.brow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); flex: none; }
.brow__url {
  flex: 1;
  margin-left: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  background: #05070d;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--dim);
}

/* Tier switch lives in the browser chrome, so choosing a tier feels like
   loading a different version of the same site. */
.brow__tabs { display: flex; gap: 0.3rem; padding: 0.5rem 0.6rem; background: #0c1122; border-bottom: 1px solid rgba(93, 140, 255, 0.14); }
.brow__tab {
  flex: 1;
  padding: 0.45rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  text-align: center;
  cursor: pointer;
  transition: color 0.3s, background 0.3s, border-color 0.3s;
}
.brow__tab:hover { color: var(--white); }
.brow__tab.is-on { color: var(--accent); border-color: rgba(93, 140, 255, 0.4); background: rgba(93, 140, 255, 0.1); }

.brow__view { position: relative; height: 17rem; }
.brow__page { position: absolute; inset: 0; padding: 1.3rem; opacity: 0; transition: opacity 0.5s; }
.brow__page.is-on { opacity: 1; }

/* --- static: a clean wireframe --- */
.wf { display: grid; gap: 0.6rem; height: 100%; grid-template-rows: auto auto 1fr auto; }
.wf__bar { height: 0.85rem; background: rgba(255, 255, 255, 0.09); border-radius: 2px; }
.wf__bar--sm { width: 42%; }
.wf__bar--md { width: 66%; height: 1.5rem; background: rgba(255, 255, 255, 0.14); }
.wf__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.wf__box { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 3px; }
.wf__cta { width: 7rem; height: 1.7rem; background: rgba(255, 255, 255, 0.16); border-radius: 3px; }

/* --- full design: the same layout with graphics and motion on --- */
.fd { display: grid; gap: 0.6rem; height: 100%; grid-template-rows: auto auto 1fr auto; }
.fd__bar {
  height: 1.6rem; width: 72%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), #b98cff 55%, transparent);
  background-size: 220% 100%;
  animation: fdshine 4.5s ease-in-out infinite;
}
@keyframes fdshine { 0%,100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.fd__sub { height: 0.8rem; width: 48%; background: rgba(255, 255, 255, 0.12); border-radius: 2px; }
.fd__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.fd__card {
  border-radius: 4px;
  border: 1px solid rgba(93, 140, 255, 0.3);
  background: radial-gradient(80% 70% at 50% 0%, rgba(93, 140, 255, 0.22), transparent 70%), #0c1122;
  animation: fdfloat 3.4s ease-in-out infinite;
}
.fd__card:nth-child(2) { animation-delay: 0.3s; }
.fd__card:nth-child(3) { animation-delay: 0.6s; }
@keyframes fdfloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.fd__cta {
  width: 7.5rem; height: 1.9rem;
  border-radius: 3px;
  background: var(--accent);
  box-shadow: 0 8px 26px -8px var(--accent);
}

/* ---------- tier comparison ---------- */

.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; max-width: 60rem; margin: 4rem auto 0; padding: 0 var(--pad); }
.tier {
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(8, 11, 22, 0.8);
}
.tier--full { border-color: rgba(93, 140, 255, 0.4); background: radial-gradient(80% 50% at 50% 0%, rgba(93, 140, 255, 0.09), transparent 65%), rgba(8, 11, 22, 0.85); }
.tier__k { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.tier--full .tier__k { color: var(--accent); }
.tier__price { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1; margin: 0.8rem 0 0.3rem; }
.tier--full .tier__price { color: var(--accent); }
.tier__once { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.tier ul { margin-top: 1.4rem; display: grid; gap: 0.7rem; }
.tier li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; color: var(--mute); }
.tier li svg { width: 0.95rem; height: 0.95rem; flex: none; margin-top: 0.25rem; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tier li.is-off { color: var(--dim); }
.tier li.is-off svg { stroke: var(--dim); }

/* ---------- checkout ---------- */

.cksum { background: radial-gradient(90% 60% at 50% 0%, rgba(93, 140, 255, 0.11), transparent 65%), #080b16; }
.ckpick { background: #080b16; }
.fld input, .fld select, .fld textarea { background: #05070d; }

@media (max-width: 900px) {
  .wbhero { grid-template-columns: 1fr; }
  .brow { margin-top: 2.5rem; }
  .tiers { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .fd__bar, .fd__card { animation: none; }
}
