:root {
  --cp-bg: #050816;
  --cp-surface: #0b1020;
  --cp-surface-soft: #111827;
  --cp-border: #1f2933;
  --cp-text: #e5e7eb;
  --cp-text-soft: #9ca3af;
  --cp-accent: #f97316;
  --cp-accent-soft: rgba(249, 115, 22, 0.15);
  --cp-qcc: #22c55e;
  --cp-mpc: #ec4899;
  --cp-cg: #38bdf8;
  --cp-ai: #a855f7;
  --cp-radius-lg: 18px;
  --cp-radius-pill: 999px;
  --cp-shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --cp-shell-max: 1120px;
  --cp-transition: 0.18s ease-out;
}

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

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
  color: var(--cp-text);
  min-height: 100vh;
}

/* Layout */

.cp-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.cp-main {
  flex: 1;
}

.cp-shell {
  width: 100%;
  max-width: var(--cp-shell-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.cp-shell-narrow {
  max-width: 720px;
  margin: 0 auto;
}

.cp-main-stack {
  padding-top: 5.25rem;
  padding-bottom: 4.5rem;
}

/* Nav */




.cp-nav-logo {
  width: 32px;
  height: 32px;
  border-radius: 0.9rem;
  background: radial-gradient(circle at 20% 0, #f97316, #ef4444 35%, #7c3aed);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  box-shadow: var(--cp-shadow-soft);
}

.cp-footer-logo {
  width: 28px;
  height: 28px;
  font-size: 0.7rem;
  box-shadow: none;
}






/* Buttons */

.cp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: none;
  font-size: 0.85rem;
  padding: 0.55rem 1.15rem;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--cp-transition), transform var(--cp-transition),
    box-shadow var(--cp-transition), color var(--cp-transition),
    border-color var(--cp-transition);
}

.cp-btn-primary {
  background: linear-gradient(135deg, #f97316, #fb7185);
  color: white;
  box-shadow: var(--cp-shadow-soft);
}

.cp-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.75);
}

.cp-btn-ghost {
  background: transparent;
  color: var(--cp-text-soft);
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.cp-btn-ghost:hover {
  background: rgba(15, 23, 42, 0.85);
  color: var(--cp-text);
}

.cp-btn-full {
  width: 100%;
}

/* Hero */

.cp-hero {
  padding: 2.5rem 0 2rem;
}

.cp-hero-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .cp-hero-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
    align-items: center;
  }
}

.cp-hero-heading {
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  line-height: 1.05;
  margin: 0.35rem 0 0.9rem;
}

.cp-hero-gradient {
  display: inline-block;
  background: linear-gradient(135deg, #f97316, #fb7185, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cp-hero-subtitle {
  margin: 0 0 1.4rem;
  color: var(--cp-text-soft);
  max-width: 32rem;
  font-size: 0.92rem;
}

.cp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.cp-hero-footnote {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--cp-text-soft);
  font-size: 0.78rem;
}

.cp-hero-footnote span:first-child {
  font-size: 0.95rem;
}

/* Badge */

.cp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.7rem;
  color: var(--cp-text-soft);
}

.cp-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #a7f3d0, #22c55e);
}

/* Cards */

.cp-hero-card {
  background: radial-gradient(circle at top left, #111827, #020617 85%);
  border-radius: var(--cp-radius-lg);
  padding: 1.2rem 1.1rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: var(--cp-shadow-soft);
}

.cp-hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.cp-hero-card-title {
  font-size: 0.85rem;
  font-weight: 600;
}

.cp-hero-pill {
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(55, 65, 81, 0.85);
  color: #e5e7eb;
}

.cp-pill-accent {
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(248, 171, 96, 0.6);
  color: #fed7aa;
}

.cp-hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
  font-size: 0.8rem;
}

.cp-hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.cp-hero-list-title {
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.cp-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.cp-dot-qcc {
  background: var(--cp-qcc);
}

.cp-dot-mpc {
  background: var(--cp-mpc);
}

.cp-dot-cg {
  background: var(--cp-cg);
}

.cp-dot-ai {
  background: var(--cp-ai);
}

/* Sections */

.cp-section {
  padding: 2.25rem 0 1.8rem;
}

.cp-section-hero-sm {
  padding-top: 1.4rem;
}

.cp-section-header {
  margin-bottom: 1.5rem;
}

.cp-section-header h1,
.cp-section-header h2 {
  margin: 0 0 0.45rem;
}

.cp-section-header h1 {
  font-size: 1.65rem;
}

.cp-section-header h2 {
  font-size: 1.2rem;
}

.cp-section-header p {
  margin: 0;
  color: var(--cp-text-soft);
  font-size: 0.9rem;
  max-width: 32rem;
}

.cp-section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
}

@media (max-width: 800px) {
  .cp-section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Pills */

.cp-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cp-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.65rem;
  border-radius: var(--cp-radius-pill);
  font-size: 0.72rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.9);
  color: var(--cp-text-soft);
}

.cp-pill-soft {
  border-color: rgba(55, 65, 81, 0.9);
}

.cp-pill-qcc {
  border-color: rgba(34, 197, 94, 0.5);
  color: #bbf7d0;
}

.cp-pill-mpc {
  border-color: rgba(236, 72, 153, 0.45);
  color: #f9a8d4;
}

.cp-pill-cg {
  border-color: rgba(56, 189, 248, 0.45);
  color: #bae6fd;
}

.cp-pill-ai {
  border-color: rgba(168, 85, 247, 0.45);
  color: #ddd6fe;
}

/* Grid */

.cp-grid {
  display: grid;
  gap: 1.1rem;
}

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

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

.cp-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Cards */

.cp-card {
  background: radial-gradient(circle at top left, #111827, #020617 85%);
  border-radius: var(--cp-radius-lg);
  padding: 1.05rem 1rem 1.1rem;
  border: 1px solid rgba(31, 41, 55, 0.9);
  box-shadow: var(--cp-shadow-soft);
}

.cp-card-link {
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.cp-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(249, 115, 22, 0.18),
    transparent 55%
  );
  opacity: 0;
  transition: opacity var(--cp-transition);
}

.cp-card-link:hover::after {
  opacity: 1;
}

.cp-card-title {
  margin: 0.45rem 0 0.35rem;
  font-size: 1rem;
}

.cp-card-text {
  margin: 0 0 0.7rem;
  color: var(--cp-text-soft);
  font-size: 0.84rem;
}

.cp-card-list {
  margin: 0;
  padding-left: 1rem;
  color: var(--cp-text-soft);
  font-size: 0.8rem;
}

.cp-card-list li + li {
  margin-top: 0.18rem;
}

.cp-card-list-numbered {
  list-style: decimal;
}

.cp-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
  margin-top: 0.6rem;
  color: #fed7aa;
}

.cp-card-cta::after {
  content: "↗";
  font-size: 0.7rem;
  opacity: 0.85;
}

.cp-card-number {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

/* Highlight section */

.cp-section-highlight {
  background: radial-gradient(circle at top, #111827, #020617 75%);
  border-top: 1px solid rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(15, 23, 42, 0.95);
}

.cp-callout-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.3rem;
}

@media (min-width: 800px) {
  .cp-callout-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.cp-callout-item {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--cp-radius-lg);
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(31, 41, 55, 0.9);
  font-size: 0.84rem;
}

.cp-callout-item h3 {
  margin: 0 0 0.3rem;
  font-size: 0.9rem;
}

/* Clip grids */

.cp-grid-clips .cp-card {
  position: relative;
  padding-top: 0.9rem;
}

.cp-clip-thumb {
  height: 120px;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #1e293b, #020617);
  border: 1px solid rgba(51, 65, 85, 0.9);
  margin-bottom: 0.65rem;
  position: relative;
  overflow: hidden;
}

.cp-clip-thumb::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0 0, rgba(248, 250, 252, 0.12), transparent);
  mix-blend-mode: screen;
}

/* Filters */

.cp-filter-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cp-chip {
  border-radius: 999px;
  border: 1px solid rgba(51, 65, 85, 0.9);
  background: rgba(15, 23, 42, 0.9);
  color: var(--cp-text-soft);
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  cursor: pointer;
  transition: background var(--cp-transition), color var(--cp-transition),
    border-color var(--cp-transition), transform var(--cp-transition);
}

.cp-chip-active,
.cp-chip:hover {
  background: rgba(249, 115, 22, 0.16);
  color: #fed7aa;
  border-color: rgba(249, 115, 22, 0.7);
  transform: translateY(-1px);
}

/* Forms */

.cp-form {
  display: grid;
  gap: 0.75rem;
}

.cp-field-label {
  display: block;
  font-size: 0.8rem;
  color: var(--cp-text-soft);
  margin-bottom: 0.2rem;
}

.cp-input,
.cp-textarea {
  width: 100%;
  border-radius: 0.7rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.95);
  color: var(--cp-text);
  padding: 0.55rem 0.7rem;
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--cp-transition), box-shadow var(--cp-transition),
    background var(--cp-transition);
}

.cp-input:focus,
.cp-textarea:focus {
  border-color: rgba(249, 115, 22, 0.7);
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.4);
  background: rgba(15, 23, 42, 0.98);
}

.cp-textarea {
  min-height: 130px;
  resize: vertical;
}

.cp-muted {
  font-size: 0.78rem;
  color: var(--cp-text-soft);
  margin-top: 0.75rem;
}

/* Footer */

.cp-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.95);
  background: radial-gradient(circle at top, #020617, #020617 60%, #000 100%);
  padding: 0.85rem 0.25rem;
}

.cp-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;jum
}

.cp-footer-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cp-footer-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.cp-footer-sub {
  font-size: 0.78rem;
  color: var(--cp-text-soft);
}

.cp-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: 0.8rem;
}

.cp-footer-links a {
  color: var(--cp-text-soft);
  text-decoration: none;
}

.cp-footer-links a:hover {
  color: var(--cp-text);
}

/* Responsive tweaks */

@media (max-width: 700px) {
  .cp-nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .cp-nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
/* ============================= */
/* QCC PREVIEW GALLERY SCROLLER */
/* ============================= */

.qcc-preview-gallery {
  width: 100%;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.qcc-marquee {
  overflow: hidden;
  width: 100%;
}

.qcc-track {
  display: flex;
  gap: 20px;
  white-space: nowrap;
}

.qcc-track img {
  height: 150px;
  width: auto;
  border-radius: 12px;
  object-fit: cover;
  pointer-events: none; /* IMPORTANT — prevents free clicks */
}

/* Row 1 scrolls LEFT */
.marquee-left .qcc-track {
  animation: scrollLeft 25s linear infinite;
}

/* Row 2 scrolls RIGHT */
.marquee-right .qcc-track {
  animation: scrollRight 25s linear infinite;
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
/* === Card grid basics === */

.cp-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.cp-card {
  background: #111827;
  border-radius: 16px;
  padding: 14px 14px 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cp-card-thumb-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.cp-card-thumb {
  width: 100%;
  padding-top: 70%;
  background-color: #1f2937;
  background-size: cover;
  background-position: center;
}

/* MPC placeholder thumb */
.cp-card-thumb--mpc {
  background-image: linear-gradient(135deg, #f97316, #ec4899);
}

.cp-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cp-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
}

.cp-tag {
  background: #374151;
  color: #e5e7eb;
  border-radius: 999px;
  padding: 3px 8px;
}

.cp-tag--outline {
  background: transparent;
  border: 1px solid #4b5563;
}

.cp-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #f9fafb;
}

.cp-card-text {
  font-size: 13px;
  color: #d1d5db;
}

.cp-card-text-meta {
  font-size: 12px;
  color: #9ca3af;
}
/* ===== Floating Logo (corner badge) ===== */
.floating-logo {
  position: fixed;
  top: 60px;
  left: 20px;
  z-index: 9999;
  pointer-events: none; /* doesn't block clicking */
}

  .floating-logo img {
    width: 115px;   /* was ~90 */
    height: auto;
    opacity: 0.95;
    filter: drop-shadow(0 0 6px rgba(0,0,0,0.55));
  }

.cp-nav-inner {
  position: relative;
}
.cp-nav-brand {
  position: relative;
}
.cp-nav-logo-img {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.page-has-floating-logo {
  padding-top: 180px; /* was 140px – bump this higher */
}
/* ================================
   FINAL FLOATING LOGO FIX
   ================================ */

.floating-logo {
  position: fixed;
  top: 30px;          /* perfect distance from browser top */
  left: 30px;         /* perfect distance from left edge */
  z-index: 9999;
  pointer-events: none;  /* prevents blocking clicks */
}

.floating-logo img {
  width: 140px;        /* adjust to preference */
  height: auto;
}

/* Ensures hero content never scrolls behind logo */
.page-has-floating-logo {
  padding-top: 60px !important;
}
.page-content {
  padding-top: 80px; /* prevents overlap with logo */
}

/* FINAL FLOATING LOGO FIX */
.floating-logo {
  position: fixed;
  top: 25px;
  left: 25px;
  z-index: 9999;
  pointer-events: none; /* don't block clicks */
}

.floating-logo img {
  width: 140px;
  height: auto;
}
/* ============================= */
/* FIXED FLOATING PAGE LOGOS     */
/* ============================= */

.floating-logo {
  position: fixed;
  top: 22px;        /* adjust if you want it a bit lower */
  left: 22px;       /* same for left spacing */
  z-index: 9999;    /* stays on top of everything */
  width: 120px;     /* adjust size as needed */
  height: auto;
  pointer-events: none; /* prevents blocking clicks */
}

.floating-logo img {
  width: 100%;
  height: auto;
  display: block;
}


