/* ============================================================
   Quant Novo, Inc. — corporate page styles
   Extends the shared design system in styles.css
   ============================================================ */

/* ---------- Hero: product stack visual ---------- */
.stack {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: 8px 6px;
}
.pcard {
  position: relative;
  border-radius: var(--radius); padding: 22px 24px;
  border: 1px solid var(--border); background: var(--surface);
  transition: transform .3s var(--ease);
}
.pcard--live {
  background: linear-gradient(165deg, rgba(18,24,40,.95), rgba(11,16,29,.95));
  border-color: var(--border-strong);
  box-shadow: var(--shadow-glow);
  z-index: 3;
}
.pcard--live::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(150deg, rgba(61,220,151,.6), transparent 40%, transparent 60%, rgba(91,140,255,.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.pcard--live:hover { transform: translateY(-4px); }

.pcard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.pcard__logo { display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 10px; background: var(--grad-soft); border: 1px solid var(--border-strong); }
.pcard__status { display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: .72rem; color: var(--text-soft); }
.pcard__name { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  letter-spacing: -.02em; margin-bottom: 4px; }
.pcard__desc { color: var(--text-soft); font-size: .95rem; margin-bottom: 16px; }
.pcard__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.pcard__tags span { font-family: var(--font-mono); font-size: .72rem; color: var(--text-mute);
  background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 999px; padding: 4px 11px; }

.pcard--ghost {
  display: flex; align-items: center; justify-content: center;
  min-height: 64px; border-style: dashed; color: var(--text-mute);
  font-family: var(--font-mono); font-size: .82rem;
  background: rgba(255,255,255,.012);
  margin-inline: 18px; opacity: .9;
}
.pcard--ghost-2 { margin-inline: 36px; opacity: .65; }

.cap-chip {
  position: absolute; font-family: var(--font-mono); font-size: .76rem; font-weight: 600;
  padding: 7px 14px; border-radius: 999px; background: rgba(13,19,34,.94);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  animation: float 5.5s ease-in-out infinite;
}
.cap-chip--a { top: 4%; right: -8px; color: var(--green); }
.cap-chip--b { top: 42%; right: -22px; color: var(--blue); animation-delay: -1.8s; }
.cap-chip--c { bottom: 8%; left: -14px; color: var(--text); animation-delay: -3.4s; }

/* ---------- Focus pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .28s var(--ease), border-color .28s, background .28s;
}
.pillar:hover { transform: translateY(-5px); border-color: var(--border-strong); background: var(--surface-2); }
.pillar__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--grad-soft); border: 1px solid var(--border); color: var(--green);
  margin-bottom: 20px;
}
.pillar h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem;
  letter-spacing: -.01em; margin-bottom: 10px; }
.pillar p { font-size: .94rem; color: var(--text-soft); }

/* ---------- Featured product ---------- */
.product-feature {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 0; align-items: stretch;
  background: linear-gradient(165deg, rgba(18,24,40,.9), rgba(11,16,29,.9));
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow); overflow: hidden; margin-bottom: 20px;
}
.product-feature__media {
  display: grid; place-items: center; padding: 36px;
  background:
    radial-gradient(circle at 30% 20%, rgba(61,220,151,.14), transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(91,140,255,.16), transparent 55%);
  border-right: 1px solid var(--border);
}
.product-feature__body { padding: clamp(28px, 4vw, 44px); }
.product-feature__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.product-feature__logo { display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 11px; background: var(--grad-soft); border: 1px solid var(--border-strong); }
.product-feature__head h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem;
  letter-spacing: -.02em; }
.badge { display: inline-flex; align-items: center; gap: 7px; margin-left: auto;
  font-family: var(--font-mono); font-size: .72rem; color: var(--text-soft);
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; }
.product-feature__tag { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 14px; }
.product-feature__desc { color: var(--text-soft); font-size: 1.02rem; margin-bottom: 20px; max-width: 56ch; }
.product-feature__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.product-feature__tags span { font-family: var(--font-mono); font-size: .74rem; color: var(--text-mute);
  background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; }

/* mini scoreboard inside featured product */
.pf-board {
  width: 100%; max-width: 280px;
  background: rgba(10,14,26,.6); border: 1px solid var(--border-strong);
  border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow);
}
.pf-board__head { display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: .92rem; margin-bottom: 14px; }
.pf-row { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px;
  padding: 8px 0; font-family: var(--font-mono); font-size: .82rem; }
.pf-row > span:first-child { font-family: var(--font-display); font-weight: 700; }
.pf-bar { height: 6px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.pf-bar i { display: block; height: 100%; border-radius: 4px; background: var(--grad); }
.pf-board__score { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--border);
  font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pf-board__score small { display: block; font-family: var(--font-body); font-weight: 500;
  font-size: .68rem; color: var(--text-mute); -webkit-text-fill-color: var(--text-mute);
  text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }

/* ---------- More on the horizon ---------- */
.product-soon {
  display: flex; align-items: center; gap: 20px;
  background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius);
  padding: 26px 30px;
}
.product-soon__icon { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 12px; background: var(--grad-soft); border: 1px solid var(--border); color: var(--green); }
.product-soon h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 4px; }
.product-soon p { color: var(--text-soft); font-size: .96rem; }
.product-soon a { color: var(--green); border-bottom: 1px solid rgba(61,220,151,.4); }
.product-soon a:hover { color: var(--text); }

/* ---------- Approach: 3-up steps ---------- */
.steps--three { grid-template-columns: repeat(3, 1fr); }

/* ---------- Mission ---------- */
.mission {
  max-width: 880px; margin-inline: auto; text-align: center; border: 0;
}
.mission .kicker { display: inline-block; margin-bottom: 24px; }
.mission p {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.28; letter-spacing: -.02em;
  margin-bottom: 22px;
}
.mission cite { font-style: normal; font-family: var(--font-mono); font-size: .9rem; color: var(--text-mute); }

/* ---------- Contact ---------- */
.contact-card {
  position: relative; text-align: center; overflow: hidden;
  max-width: 760px; margin-inline: auto;
  background: linear-gradient(165deg, rgba(18,24,40,.9), rgba(11,16,29,.9));
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow); padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 56px);
}
.contact-card__glow {
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 440px; height: 320px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(91,140,255,.32), transparent 65%); filter: blur(50px);
}
.contact-card .kicker, .contact-card .section__title, .contact-card .section__body { position: relative; }
.contact-card__actions { position: relative; display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: center; margin-top: 30px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .product-feature { grid-template-columns: 1fr; }
  .product-feature__media { border-right: 0; border-bottom: 1px solid var(--border); }
  .steps--three { grid-template-columns: 1fr; }
  .cap-chip--b { right: 4px; }
}

@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .product-soon { flex-direction: column; align-items: flex-start; }
  .contact-card__actions .btn { width: 100%; }
  .cap-chip { display: none; }
}
