/* ==========================================================================
   CURIOVEX HOMEPAGE — 100x VISUAL OVERHAUL (CINEMATIC LUXURY EDITION)
   Inspired by Linear, Raycast, Vercel & Supabase design systems.
   ========================================================================== */

/* --- ROOT TOKENS & PAGE SYSTEM --- */
.cvw-page{
  position: relative;
  overflow: clip !important;
  isolation: isolate;
  --mint: #d4d4d4;
  --mint-light: #ebebeb;
  --mint-glow: rgba(212, 212, 212, 0.45);
  --teal: #bcbcbc;
  --teal-glow: rgba(188, 188, 188, 0.4);
  --violet: #acacac;
  --indigo: #898989;
  --amber: #cdcdcd;
  --rose: #a5a5a5;
  --card-bg: rgba(14, 18, 15, 0.72);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-hover: rgba(212, 212, 212, 0.38);
  --text-main: #fbfbfb;
  --text-sub: #bfbfbf;
  --text-muted: #8f8f8f;
  --cvw-ease: cubic-bezier(0.16, 1, 0.3, 1);
  background: radial-gradient(ellipse at 50% 0%, #141414 0%, #070908 60%, #050605 100%) !important;
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@supports not (overflow: clip){
  .cvw-page{ overflow: visible !important; }
  html, body{ overflow-x: hidden; }
}

.cvw-page > *{
  position: relative;
  z-index: 1;
}

/* Mouse spotlight */
.cvw-page::before{
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(850px circle at var(--mx, 50%) var(--my, 28%), rgba(212, 212, 212, 0.07), transparent 60%);
  transition: opacity 0.4s ease;
}

/* Subtle cinematic film grain */
.cvw-page::after{
  content: '';
  position: fixed;
  inset: -60%;
  z-index: 150;
  pointer-events: none;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: cvx-grain 0.7s steps(5) infinite;
}
@keyframes cvx-grain{
  0%{ transform: translate(0, 0); }
  20%{ transform: translate(-4%, 3%); }
  40%{ transform: translate(3%, -4%); }
  60%{ transform: translate(-3%, 4%); }
  80%{ transform: translate(4%, 2%); }
  100%{ transform: translate(0, 0); }
}

/* --- ATMOSPHERIC AURORA & GRID --- */
.cvx-aurora{
  position: absolute !important;
  inset: 0 0 auto 0;
  height: 1200px;
  z-index: 0 !important;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask: linear-gradient(180deg, #000 60%, transparent 100%);
  mask: linear-gradient(180deg, #000 60%, transparent 100%);
}

.cvx-aurora .cvx-orb{
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.48;
  animation: cvx-drift 22s ease-in-out infinite alternate;
}

.cvx-orb-1{
  width: 720px;
  height: 720px;
  left: -180px;
  top: -200px;
  background: radial-gradient(circle, #999999 0%, #404040 70%, transparent 100%);
}

.cvx-orb-2{
  width: 650px;
  height: 650px;
  right: -160px;
  top: 60px;
  background: radial-gradient(circle, #949494 0%, #282828 70%, transparent 100%);
  opacity: 0.35 !important;
  animation-duration: 26s;
  animation-delay: -8s;
}

.cvx-orb-3{
  width: 580px;
  height: 580px;
  left: 36%;
  top: 300px;
  background: radial-gradient(circle, #a0a0a0 0%, #282828 70%, transparent 100%);
  opacity: 0.32 !important;
  animation-duration: 30s;
  animation-delay: -15s;
}

.cvx-grid-mesh{
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask: radial-gradient(ellipse at 50% 32%, #000 15%, transparent 75%);
  mask: radial-gradient(ellipse at 50% 32%, #000 15%, transparent 75%);
}

.cvx-scanline{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(212, 212, 212, 0.05) 50%, transparent 100%);
  background-size: 100% 8px;
  opacity: 0.4;
}

@keyframes cvx-drift{
  0%{ transform: translate(0, 0) scale(1); }
  50%{ transform: translate(90px, 50px) scale(1.14); }
  100%{ transform: translate(-50px, 110px) scale(0.94); }
}

/* --- HEADER ENHANCEMENTS --- */
.cvw-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 8, 0.78) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  transition: background 0.3s, border-color 0.3s;
}

.cvw-header-inner{
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cvw-logo{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 22px;
  color: #fff;
  transition: transform 0.2s;
}
.cvw-logo:hover{
  transform: translateY(-1px);
}
.cvw-logo-mark{
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
}
.cvw-logo-mark img{
  width: 26px;
  height: 30px;
  filter: drop-shadow(0 2px 8px rgba(212, 212, 212, 0.22));
}
.cvw-logo-text{
  font-size: 21px;
  letter-spacing: -0.035em;
  color: #f3f7f4;
}
.cvw-mint{
  color: var(--mint);
  font-weight: 750;
  text-shadow: 0 0 20px rgba(212, 212, 212, 0.22);
}
.cvw-dot{
  font-style: normal;
  color: var(--mint);
}

.cvw-nav{
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cvw-nav-link{
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: #b5b5b5;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.cvw-nav-link:hover{
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.cvw-nav-explore{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(212, 212, 212, 0.08);
  border: 1px solid rgba(212, 212, 212, 0.2);
  color: var(--mint-light);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.cvw-nav-explore:hover{
  background: rgba(212, 212, 212, 0.16);
  border-color: rgba(212, 212, 212, 0.45);
  transform: translateY(-1px);
}
.cvw-arr-down{
  font-style: normal;
  font-size: 12px;
  transition: transform 0.2s;
}
.cvw-nav-explore:hover .cvw-arr-down{
  transform: translateY(2px);
}

.cvw-header-actions{
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --- BUTTONS --- */
.cvw-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s var(--cvw-ease);
}

.cvw-primary{
  position: relative;
  overflow: hidden;
  color: #111111 !important;
  background: linear-gradient(135deg, #d4d4d4 0%, #b6b6b6 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 10px 30px -8px rgba(212, 212, 212, 0.22),
    0 0 50px -15px rgba(182, 182, 182, 0.22) !important;
}
.cvw-primary:hover{
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 16px 42px -8px rgba(212, 212, 212, 0.22),
    0 0 70px -10px rgba(182, 182, 182, 0.22) !important;
}

/* Animated shimmer sweep across button */
.cvw-glow-btn::after{
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: rotate(25deg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.cvw-glow-btn:hover::after{
  opacity: 1;
  animation: cvx-btn-sweep 0.85s ease-out;
}
@keyframes cvx-btn-sweep{
  0%{ left: -60%; }
  100%{ left: 160%; }
}

.cvw-ghost-btn{
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #eaeaea !important;
  backdrop-filter: blur(12px);
}
.cvw-ghost-btn:hover{
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

.cvw-arr{
  font-style: normal;
  display: inline-block;
  transition: transform 0.2s;
}
.cvw-button:hover .cvw-arr{
  transform: translateX(3px) translateY(-1px);
}

/* --- HERO SECTION --- */
.cvw-hero{
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.25fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
  padding: clamp(28px, 3.8vw, 50px) 0 clamp(20px, 3vw, 36px) !important;
}

.cvw-hero-copy{
  min-width: 0;
  z-index: 2;
}

/* Kicker Badge */
.cvx-kicker-wrap{
  display: inline-flex;
  margin-bottom: 14px;
}
.cvw-kicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(212, 212, 212, 0.06);
  border: 1px solid rgba(212, 212, 212, 0.22);
  color: #f2f2f2;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  box-shadow: 0 0 24px rgba(212, 212, 212, 0.08) inset;
}
.cvw-kicker-pulse{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(212, 212, 212, 0.22);
  animation: cvx-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.cvw-kicker-badge{
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(212, 212, 212, 0.15);
  color: var(--mint);
  font-size: 9.5px;
  font-weight: 700;
}
@keyframes cvx-ping{
  70%, 100%{
    box-shadow: 0 0 0 9px rgba(212, 212, 212, 0);
  }
}

/* Headline */
.cvw-hero h1{
  font-size: clamp(42px, 5.6vw, 80px) !important;
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px !important;
}

.cvw-hero h1 .cvx-ln{
  display: block;
  overflow: hidden;
  padding: 0.04em 0 0.12em;
  margin: -0.04em 0 -0.12em;
}
.cvw-hero h1 .cvx-ln > span{
  display: inline-block;
  transform: translateY(110%) rotate(4deg);
  transform-origin: 0 100%;
  animation: cvx-ln 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.cvw-hero h1 .cvx-ln:nth-child(2) > span{ animation-delay: 0.08s; }
.cvw-hero h1 .cvx-ln:nth-child(3) > span{ animation-delay: 0.16s; }
@keyframes cvx-ln{ to{ transform: none; } }

/* Rotating word */
.cvx-rotor{
  position: relative;
  display: inline-grid;
  vertical-align: bottom;
}
.cvx-word{
  grid-area: 1/1;
  font-style: normal;
  background: linear-gradient(110deg, #d0d0d0 0%, #b6b6b6 45%, #adadad 95%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  opacity: 0;
  transform: translateY(0.45em) rotateX(-60deg);
  filter: blur(8px) drop-shadow(0 0 24px rgba(182, 182, 182, 0.22));
  transition: opacity 0.55s, transform 0.65s cubic-bezier(0.2, 0.9, 0.2, 1.2), filter 0.55s;
  animation: cvx-sheen 6s linear infinite;
  padding-bottom: 0.08em;
}
.cvx-word.is-on{
  opacity: 1;
  transform: none;
  filter: blur(0px) drop-shadow(0 0 26px rgba(182, 182, 182, 0.22));
}
.cvx-word.is-off{
  opacity: 0;
  transform: translateY(-0.45em) rotateX(60deg);
  filter: blur(8px);
}
@keyframes cvx-sheen{ to{ background-position: -200% 0; } }

/* Hero description */
.cvw-hero-sub{
  font-size: clamp(15px, 1.2vw, 18px) !important;
  line-height: 1.6;
  color: #d3d3d3 !important;
  max-width: 34em;
  margin: 0 0 24px !important;
}
.cvw-hero-sub strong{
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(212, 212, 212, 0.4);
  text-underline-offset: 4px;
}

.cvw-hero .cvw-actions{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cvw-hero .cvw-actions .cvw-button{
  min-height: 50px;
  padding: 12px 24px;
  font-size: 14.5px;
  border-radius: 14px;
}

/* Newbie Quickstart Pill */
.cvx-newbie{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid rgba(212, 212, 212, 0.25);
  background: rgba(212, 212, 212, 0.05);
  color: #f2f2f2;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.25s var(--cvw-ease);
}
.cvx-newbie-icon{
  font-size: 15px;
  animation: cvx-wave 2.2s infinite;
}
.cvx-newbie strong{
  color: #fff;
  font-weight: 600;
}
.cvx-newbie-arrow{
  color: var(--mint);
  font-weight: 700;
  transition: transform 0.2s;
}
.cvx-newbie:hover{
  background: rgba(212, 212, 212, 0.12);
  border-color: rgba(212, 212, 212, 0.5);
  transform: translateY(-1px);
}
.cvx-newbie:hover .cvx-newbie-arrow{
  transform: translateX(4px);
}
@keyframes cvx-wave{
  0%, 100%{ transform: rotate(0deg); }
  20%, 60%{ transform: rotate(14deg); }
  40%, 80%{ transform: rotate(-10deg); }
}

/* Proof / Trust Strip */
.cvx-proof{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-size: 12.5px;
  color: #acacac;
}
.cvx-avatars{
  display: flex;
  align-items: center;
}
.cvx-avatars i{
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: -7px;
  border-radius: 50%;
  background: #111713;
  border: 2px solid #080c09;
  font-style: normal;
  font-size: 13.5px;
  box-shadow: 0 0 0 1px rgba(212, 212, 212, 0.22);
  transition: transform 0.2s;
}
.cvx-avatars i:first-child{ margin-left: 0; }
.cvx-avatars:hover i{ transform: translateY(-2px); }
.cvx-proof-text strong{
  color: #f6f6f6;
  font-weight: 600;
}

/* --- 3D HERO STAGE --- */
.cvx-stage{
  position: relative;
  perspective: 1600px;
  --rx: 6deg;
  --ry: -10deg;
  animation: cvx-stage-in 1.4s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes cvx-stage-in{
  from{
    opacity: 0;
    transform: translateY(80px) rotateX(28deg) scale(0.88);
    filter: blur(12px);
  }
  to{
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* macOS Window Frame around demo */
.cvx-stage .cvw-demo{
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #0c100d;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 
    0 40px 120px -25px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(212, 212, 212, 0.2),
    0 0 80px -15px rgba(188, 188, 188, 0.22) !important;
}

/* Conic border shine on stage */
.cvx-stage .cvw-demo::before{
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--a, 0deg), transparent 0 65%, var(--mint) 78%, var(--teal) 88%, var(--violet) 95%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 5;
  animation: cvx-spin 7s linear infinite;
  pointer-events: none;
}
@keyframes cvx-spin{ to{ --a: 360deg; } }

/* Window Titlebar */
.cvw-window-bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(18, 24, 20, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  position: relative;
  z-index: 4;
}
.cvw-window-dots{
  display: flex;
  align-items: center;
  gap: 7px;
}
.cvw-window-dots i{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}
.cvw-dot-red{ background: #999999; box-shadow: 0 0 8px rgba(153, 153, 153, 0.22); }
.cvw-dot-amber{ background: #cdcdcd; box-shadow: 0 0 8px rgba(205, 205, 205, 0.22); }
.cvw-dot-green{ background: #a6a6a6; box-shadow: 0 0 8px rgba(166, 166, 166, 0.22); }

.cvw-window-title{
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: #c1c1c1;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}
.cvw-window-title span{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cvw-live-pulse-dot{
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 6px var(--mint);
  animation: cvx-pulse-soft 2s infinite;
}
@keyframes cvx-pulse-soft{
  0%, 100%{ opacity: 1; }
  50%{ opacity: 0.4; }
}

.cvw-window-tag{
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mint);
  background: rgba(212, 212, 212, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(212, 212, 212, 0.25);
}

.cvw-slides-wrap{
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #090c0a;
}
.cvw-live-slide{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 5s ease-out;
}
.cvw-live-slide.is-on{
  opacity: 1;
  transform: scale(1);
}

/* Glass Floating Badges */
.cvx-float{
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  border-radius: 16px;
  background: rgba(14, 20, 16, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 24px 60px -15px rgba(0, 0, 0, 0.8);
  font-size: 13px;
  color: #ececec;
  white-space: nowrap;
  animation: cvx-bob 6s ease-in-out infinite;
  transition: transform 0.3s, box-shadow 0.3s;
}
.cvx-float:hover{
  transform: translateY(-4px) scale(1.03);
}

.cvx-float-body{
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cvx-float-head{
  display: flex;
  align-items: center;
  gap: 8px;
}
.cvx-float-head strong{
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
}
.cvx-float small{
  color: #aeaeae;
  font-size: 11.5px;
}

.cvx-ico{
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}
.cvx-ico-mint{
  background: linear-gradient(135deg, var(--mint), var(--teal));
  color: #111111;
  box-shadow: 0 4px 16px rgba(212, 212, 212, 0.22);
}
.cvx-ico-fire{
  background: linear-gradient(135deg, #b6b6b6, #838383);
  color: #fff;
  box-shadow: 0 4px 16px rgba(131, 131, 131, 0.22);
}
.cvx-ico-ai{
  background: linear-gradient(135deg, var(--violet), var(--indigo));
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 16px rgba(137, 137, 137, 0.22);
}

.cvx-xp-pill{
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--mint);
  background: rgba(212, 212, 212, 0.15);
  padding: 2px 7px;
  border-radius: 6px;
}
.cvx-streak-pill{
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #b6b6b6;
  background: rgba(182, 182, 182, 0.15);
  padding: 2px 7px;
  border-radius: 6px;
}
.cvx-ai-pill{
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #adadad;
  background: rgba(173, 173, 173, 0.15);
  padding: 2px 7px;
  border-radius: 6px;
}

.cvx-f1{
  left: -38px;
  top: 14%;
  animation-delay: -0.8s;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 24px 60px -15px rgba(0, 0, 0, 0.8),
    0 0 35px -10px rgba(212, 212, 212, 0.22);
}
.cvx-f2{
  right: -24px;
  top: -24px;
  animation-delay: -2.8s;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 24px 60px -15px rgba(0, 0, 0, 0.8),
    0 0 35px -10px rgba(182, 182, 182, 0.22);
}
.cvx-f3{
  right: 4%;
  bottom: -32px;
  animation-delay: -4.4s;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 24px 60px -15px rgba(0, 0, 0, 0.8),
    0 0 35px -10px rgba(172, 172, 172, 0.22);
}

@keyframes cvx-bob{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-12px); }
}

/* Live chip & dots */
.cvw-live-chip{
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(10, 14, 11, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  font-family: var(--mono);
  font-size: 11.5px;
  color: #e8e8e8;
}
.cvw-chip-pulse{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  animation: cvx-pulse-soft 1.8s infinite;
}
.cvw-chip-lbl{
  color: #999999;
  font-size: 10px;
}
#cvw-live-label{
  color: #fff;
  font-weight: 600;
}

.cvw-live-dots{
  position: absolute;
  right: 18px;
  bottom: 22px;
  z-index: 4;
  display: flex;
  gap: 6px;
}
.cvw-live-dots b{
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
  transition: width 0.35s var(--cvw-ease), background 0.35s;
}
.cvw-live-dots b.is-on{
  width: 22px;
  background: var(--mint);
  box-shadow: 0 0 10px rgba(212, 212, 212, 0.22);
}

/* --- STAT STRIP (METRIC COMMAND CENTER) --- */
.cvx-stats-wrap{
  margin-top: 48px;
  margin-bottom: 24px;
}

.cvx-stat-strip{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cvx-stat-card{
  position: relative;
  overflow: hidden;
  padding: 24px 22px;
  border-radius: 18px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  transition: transform 0.3s var(--cvw-ease), border-color 0.3s, box-shadow 0.3s;
}
.cvx-stat-card::before{
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 212, 212, 0.6), transparent);
  opacity: 0.6;
}
.cvx-stat-card::after{
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--sx, 50%) var(--sy, 0%), rgba(212, 212, 212, 0.12), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cvx-stat-card:hover{
  transform: translateY(-4px);
  border-color: var(--card-border-hover);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), 0 0 30px -10px rgba(212, 212, 212, 0.2);
}
.cvx-stat-card:hover::after{
  opacity: 1;
}

.cvx-stat-icon{
  font-size: 24px;
  margin-bottom: 14px;
  display: inline-block;
}

.cvx-stat-top{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.cvx-stat-top strong{
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 30%, #e4e4e4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}
.cvx-stat-tag{
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--mint);
  background: rgba(212, 212, 212, 0.12);
  padding: 3px 7px;
  border-radius: 6px;
  white-space: nowrap;
}

.cvx-stat-label{
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #eaeaea;
  margin-bottom: 4px;
}
.cvx-stat-desc{
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --- WHY CURIOVEX STATEMENT SECTION --- */
.cvx-statement{
  position: relative;
  overflow: hidden;
  padding: 90px 0 80px;
  margin: 20px 0;
}
.cvx-statement-backdrop{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.cvx-stmt-grid{
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 70%);
  mask: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 70%);
}
.cvx-stmt-glow{
  position: absolute;
  width: 800px;
  height: 800px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 212, 212, 0.12) 0%, rgba(188, 188, 188, 0.05) 50%, transparent 75%);
  filter: blur(80px);
}

.cvx-statement-inner{
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
}

.cvx-fill{
  margin: 20px 0 42px;
  font-size: clamp(34px, 5.2vw, 70px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #f1f7f3;
  text-wrap: balance;
}
.cvx-fill .w{
  opacity: 1;
  transition: opacity 0.15s linear;
}
.cvx-fill .w.hl{
  background: linear-gradient(110deg, var(--mint), var(--teal) 50%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(212, 212, 212, 0.22));
}

/* 3 Pillars under statement */
.cvx-pillars{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 10px;
}
.cvx-pillar-card{
  padding: 24px;
  border-radius: 18px;
  background: rgba(14, 20, 16, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  transition: transform 0.3s, border-color 0.3s;
}
.cvx-pillar-card:hover{
  transform: translateY(-4px);
  border-color: rgba(212, 212, 212, 0.3);
}
.cvx-pillar-num{
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--mint);
  margin-bottom: 12px;
}
.cvx-pillar-card h4{
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.cvx-pillar-card p{
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-sub);
}

/* --- TOPIC MARQUEE --- */
.cvx-marquee-section{
  padding: 30px 0 10px;
  position: relative;
  z-index: 2;
}
.cvx-marquee{
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.cvx-track{
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  animation: cvx-scroll 48s linear infinite;
}
.cvx-marquee:hover .cvx-track{
  animation-play-state: paused;
}
@keyframes cvx-scroll{ to{ transform: translateX(-50%); } }

.cvx-chip{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
  color: #dcdcdc;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.25s;
}
.cvx-chip:hover{
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: translateY(-2px);
}
.cvx-chip-dot{
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cvx-chip-sec{ border-color: rgba(212, 212, 212, 0.25); }
.cvx-chip-sec .cvx-chip-dot{ background: var(--mint); box-shadow: 0 0 8px var(--mint); }

.cvx-chip-ai{ border-color: rgba(188, 188, 188, 0.25); }
.cvx-chip-ai .cvx-chip-dot{ background: var(--teal); box-shadow: 0 0 8px var(--teal); }

.cvx-chip-cloud{ border-color: rgba(172, 172, 172, 0.25); }
.cvx-chip-cloud .cvx-chip-dot{ background: var(--violet); box-shadow: 0 0 8px var(--violet); }

.cvx-chip-cert{ border-color: rgba(205, 205, 205, 0.25); }
.cvx-chip-cert .cvx-chip-dot{ background: var(--amber); box-shadow: 0 0 8px var(--amber); }

/* --- BENTO GRID 2.0 --- */
.cvx-bento-wrap{
  padding: 90px 0 40px;
}
.cvw-section-head{
  max-width: 740px;
  margin-bottom: 36px;
}
.cvw-section-head h2{
  font-size: clamp(34px, 4.4vw, 58px) !important;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #fff;
  margin: 14px 0 12px;
}
.cvw-section-head h2 em{
  font-style: normal;
  background: linear-gradient(110deg, var(--mint), var(--teal), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cvx-section-desc{
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.65;
  color: var(--text-sub);
  margin: 0;
}

.cvx-bento{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(360px, auto);
  gap: 20px;
  margin-top: 40px;
}

.cvx-tile{
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 28px 20px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(24, 24, 24, 0.85) 0%, rgba(10, 13, 11, 0.92) 100%);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px);
  text-decoration: none;
  isolation: isolate;
  transition: transform 0.4s var(--cvw-ease), border-color 0.35s, box-shadow 0.35s;
}
.cvx-tile::after{
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(420px circle at var(--tx, 50%) var(--ty, 0%), rgba(212, 212, 212, 0.18), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.cvx-tile:hover{
  transform: translateY(-7px);
  border-color: rgba(212, 212, 212, 0.45);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.9), 0 0 40px -10px rgba(212, 212, 212, 0.22);
}
.cvx-tile:hover::after{
  opacity: 1;
}

.cvx-wide{
  grid-column: span 2;
}

.cvx-tile-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}
.cvx-tile-icon-wrap{
  display: flex;
  align-items: center;
  gap: 10px;
}
.cvx-emoji{
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 20px;
}
.cvx-tile-badge{
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--mint);
  letter-spacing: 0.06em;
}
.cvx-tag-pill{
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  color: #d5d5d5;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cvx-tile-copy{
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
}
.cvx-tile-copy h3{
  font-size: 23px;
  font-weight: 650;
  color: #fff;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.cvx-tile-copy p{
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-sub);
}

/* Framed preview inside tile */
.cvx-tile-visual{
  position: relative;
  z-index: 1;
  margin-top: auto;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 0;
  background: #0a0d0b;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.7);
  transition: transform 0.45s var(--cvw-ease);
}
.cvx-mock-chrome{
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  background: rgba(18, 24, 20, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cvx-mc-dot{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.cvx-mc-bar{
  margin-left: 6px;
  font-family: var(--mono);
  font-size: 9.5px;
  color: #999999;
}

.cvx-tile-visual img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: top left;
  transition: transform 0.6s var(--cvw-ease);
}
.cvx-tile:hover .cvx-tile-visual img{
  transform: scale(1.04);
}

.cvx-tile-footer{
  position: relative;
  z-index: 2;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.cvx-go{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--mint);
  transition: transform 0.2s;
}
.cvx-arr-inline{
  font-style: normal;
  display: inline-block;
  transition: transform 0.2s;
}
.cvx-tile:hover .cvx-go .cvx-arr-inline{
  transform: translateX(4px);
}

/* --- INTERACTIVE TOOLKIT SHOWCASE --- */
.cvw-features{
  padding: 90px 0 70px;
  scroll-margin-top: 24px;
}

/* Tab pills */
.cvw-tabs{
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 4px 16px;
  scrollbar-width: thin;
}
.cvw-tabs button{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #b5b5b5;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.25s;
}
.cvw-tab-icon{
  font-size: 16px;
}
.cvw-tabs button:hover{
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.cvw-tabs button[aria-selected="true"]{
  background: rgba(212, 212, 212, 0.12) !important;
  border-color: rgba(212, 212, 212, 0.45) !important;
  color: #fff !important;
  box-shadow: 0 0 25px rgba(212, 212, 212, 0.2) inset, 0 4px 18px rgba(0, 0, 0, 0.4);
}

/* Feature Panel */
.cvw-feature-panel{
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.3fr);
  gap: 40px;
  align-items: center;
  padding: 36px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(24, 24, 24, 0.88) 0%, rgba(10, 13, 11, 0.94) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(212, 212, 212, 0.15);
  animation: cvw-panel-enter 0.4s var(--cvw-ease) both;
}
@keyframes cvw-panel-enter{
  from{ opacity: 0; transform: translateY(14px); }
  to{ opacity: 1; transform: none; }
}

.cvw-feature-copy h3{
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 16px 0 12px;
}
.cvw-feature-lead{
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-sub);
  margin: 0 0 24px;
}

.cvw-feature-checklist{
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 12px;
}
.cvw-feature-checklist li{
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  color: #eaeaea;
  line-height: 1.5;
}
.cvw-chk-icon{
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(212, 212, 212, 0.15);
  color: var(--mint);
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.cvw-feature-image{
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #090c0a;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  text-decoration: none;
  transition: transform 0.4s var(--cvw-ease), box-shadow 0.4s;
}
.cvw-feature-image:hover{
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 40px -10px rgba(212, 212, 212, 0.22);
}

.cvw-preview-chrome{
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(16, 22, 18, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cvw-pc-dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.cvw-pc-bar{
  margin-left: 6px;
  font-family: var(--mono);
  font-size: 10px;
  color: #a0a0a0;
}
.cvw-pc-badge{
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--mint);
  background: rgba(212, 212, 212, 0.12);
  padding: 2px 7px;
  border-radius: 4px;
}

.cvw-feature-image img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* --- DIRECTORY GRID --- */
.cvw-directory{
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.015);
  padding: 80px 0 90px;
}

.cvw-directory-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cvw-dir-col{
  padding: 26px 22px;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(14px);
  transition: transform 0.3s, border-color 0.3s;
}
.cvw-dir-col:hover{
  transform: translateY(-4px);
  border-color: rgba(212, 212, 212, 0.3);
}

.cvw-dir-header{
  margin-bottom: 18px;
}
.cvw-dir-num{
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--mint);
  margin-bottom: 6px;
}
.cvw-dir-col h3{
  font-size: 16px;
  font-weight: 650;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0;
}

.cvw-dir-links{
  display: flex;
  flex-direction: column;
}
.cvw-dir-links a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: #bdbdbd;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}
.cvw-dir-links a:hover{
  color: #fff;
  padding-left: 4px;
}
.cvw-dir-arrow{
  font-style: normal;
  color: #7e7e7e;
  font-size: 12px;
  transition: color 0.2s, transform 0.2s;
}
.cvw-dir-links a:hover .cvw-dir-arrow{
  color: var(--mint);
  transform: translateX(2px) translateY(-1px);
}

.cvw-chapters{
  margin-top: 24px;
  padding: 18px 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #c5c5c5;
}
.cvw-chapters summary{
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  user-select: none;
}
.cvw-chap-toggle{
  font-family: var(--mono);
  font-size: 16px;
  color: var(--mint);
}
.cvw-chapters ol{
  columns: 3;
  padding-left: 20px;
  margin-top: 18px;
  line-height: 2.1;
}
.cvw-chapters a{
  color: #d6d6d6;
  text-decoration: none;
  transition: color 0.2s;
}
.cvw-chapters a:hover{
  color: #fff;
  text-decoration: underline;
}

/* --- GIANT WATERMARK --- */
.cvx-giant{
  position: relative;
  overflow: hidden;
  margin: 40px 0 -3vw;
  pointer-events: none;
  user-select: none;
}
.cvx-giant-glow{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 100px;
  background: radial-gradient(ellipse, rgba(212, 212, 212, 0.15) 0%, transparent 70%);
  filter: blur(50px);
}
.cvx-giant span{
  display: block;
  font: 800 21vw / 0.8 var(--font);
  letter-spacing: -0.065em;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(251, 251, 251, 0.25) 0%, rgba(212, 212, 212, 0.04) 70%, transparent 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 212, 212, 0.16);
  transform: translate(calc((var(--gp, 0) - 0.5) * -12%), calc((1 - var(--gp, 0)) * 20%));
}

/* --- CLOSING COMMAND CENTER CTA --- */
.cvx-closing{
  position: relative;
  overflow: hidden;
  margin-top: 50px !important;
  margin-bottom: 70px !important;
  padding: clamp(40px, 6vw, 76px) !important;
  border-radius: 32px;
  background: radial-gradient(ellipse at 20% 0%, rgba(121, 121, 121, 0.45) 0%, transparent 60%),
              radial-gradient(ellipse at 85% 100%, rgba(111, 111, 111, 0.35) 0%, transparent 60%),
              #0d130f !important;
  border: 1px solid rgba(212, 212, 212, 0.35) !important;
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.9), 0 0 60px -10px rgba(212, 212, 212, 0.22);
  text-align: center;
}
.cvx-closing-glow{
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(212, 212, 212, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cvx-closing-content{
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}
.cvx-closing h2{
  font-size: clamp(36px, 4.8vw, 64px) !important;
  font-weight: 750;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 16px 0 14px;
}
.cvx-closing p{
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.65;
  color: #d1d1d1;
  margin: 0 0 32px;
}
.cvx-closing .cvw-actions{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.cvx-closing-perks{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #acacac;
}
.cvx-chk{
  font-style: normal;
  color: var(--mint);
  font-weight: 700;
  margin-right: 4px;
}
.cvx-dot-sep{
  color: #636363;
}

/* --- FOOTER ENHANCEMENTS --- */
.cvw-footer{
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #060907 !important;
}
.cvw-foot-main{
  display: grid;
  grid-template-columns: 1.8fr repeat(4, 1fr) !important;
  gap: 32px;
  padding: 60px 0 44px;
}
.cvw-foot-brand{
  padding-right: 20px;
}
.cvw-foot-tagline{
  margin: 14px 0 18px;
  font-size: 13px;
  line-height: 1.65;
  color: #9a9a9a;
}
.cvw-foot-status{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: #b4b4b4;
  background: rgba(255, 255, 255, 0.035);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.cvw-status-live-dot{
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 6px var(--mint);
}

.cvw-foot-main strong{
  display: block;
  font-size: 13.5px;
  font-weight: 650;
  color: #fff;
  margin-bottom: 14px;
}
.cvw-foot-main a{
  display: block;
  font-size: 12.5px;
  line-height: 2.1;
  color: #9d9d9d;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}
.cvw-foot-main a:hover{
  color: #fff;
  transform: translateX(2px);
}
.cvw-foot-policies{
  margin-top: 8px;
}
.cvw-foot-policies a{
  line-height: 1.8;
}

.cvw-foot-bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: #8a8a8a;
}
.cvw-foot-meta{
  display: flex;
  align-items: center;
  gap: 8px;
}
.cvw-sep{
  color: #585858;
}

/* --- REVEAL ANIMATIONS --- */
.cvx-tile, .cvw-section-head, .cvx-stat-card, .cvx-pillar-card{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.cvx-tile.cvx-in, .cvw-section-head.cvx-in, .cvx-stat-card.cvx-in, .cvx-pillar-card.cvx-in{
  opacity: 1;
  transform: none;
}
.cvx-bento .cvx-tile:nth-child(2){ transition-delay: 0.06s; }
.cvx-bento .cvx-tile:nth-child(3){ transition-delay: 0.12s; }
.cvx-bento .cvx-tile:nth-child(4){ transition-delay: 0.18s; }
.cvx-bento .cvx-tile:nth-child(5){ transition-delay: 0.24s; }
.cvx-bento .cvx-tile:nth-child(6){ transition-delay: 0.3s; }

/* Word split in section heads */
.cvx-w{
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.cvx-w > span{
  display: inline-block;
  transform: translateY(108%);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 55ms);
}
.cvw-section-head.cvx-in .cvx-w > span{
  transform: none;
}

/* Scroll Parallax on Hero elements */
.cvw-hero-copy{
  translate: 0 calc(var(--sp, 0) * 100px);
  filter: opacity(calc(1 - var(--sp, 0) * 1.25));
}
.cvx-stage{
  scale: calc(1 + var(--sp, 0) * 0.08);
  translate: 0 calc(var(--sp, 0) * -40px);
}
.cvx-aurora{
  translate: 0 calc(var(--sp, 0) * 160px);
}

/* --- RESPONSIVE ADAPTATIONS --- */
@media(max-width: 1080px){
  .cvw-foot-main{
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .cvw-foot-brand{
    grid-column: span 3;
    padding-right: 0;
    margin-bottom: 12px;
  }
  .cvx-bento{
    grid-template-columns: repeat(2, 1fr);
  }
  .cvx-stat-strip{
    grid-template-columns: repeat(2, 1fr);
  }
  .cvx-pillars{
    grid-template-columns: 1fr;
  }
}

@media(max-width: 860px){
  .cvw-hero{
    display: flex;
    flex-direction: column;
    padding: 40px 0 20px !important;
    gap: 36px;
  }
  .cvw-hero h1{
    font-size: clamp(42px, 11vw, 68px) !important;
  }
  .cvx-stage{
    width: 100%;
    margin-top: 10px;
    --rx: 0deg;
    --ry: 0deg;
  }
  .cvw-feature-panel{
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 28px;
  }
  .cvw-directory-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .cvw-chapters ol{
    columns: 2;
  }
}

@media(max-width: 640px){
  .cvw-wrap{
    width: calc(100% - 32px) !important;
  }
  .cvw-header-inner{
    min-height: 60px;
  }
  .cvw-nav{
    display: none;
  }
  .cvx-bento{
    grid-template-columns: 1fr;
  }
  .cvx-wide{
    grid-column: span 1;
  }
  .cvx-stat-strip{
    grid-template-columns: 1fr;
  }
  .cvw-directory-grid{
    grid-template-columns: 1fr;
  }
  .cvw-chapters ol{
    columns: 1;
  }
  .cvw-foot-main{
    grid-template-columns: 1fr !important;
    gap: 28px;
  }
  .cvw-foot-brand{
    grid-column: span 1;
  }
  .cvw-foot-bar{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cvw-window-bar{
    padding: 8px 12px;
  }
  .cvw-window-title{
    max-width: 135px;
    font-size: 9.5px;
    padding: 2px 7px;
  }
  .cvw-window-tag{
    font-size: 8px;
    padding: 2px 5px;
  }

  /* Hide floating badges on mobile so workspace preview is 100% unblocked */
  .cvx-float{
    display: none !important;
  }

  .cvx-statement{
    height: 100vh;
  }
  .cvx-fill{
    font-size: clamp(28px, 8vw, 42px);
  }
  .cvx-giant span{
    font-size: 23vw;
  }
}

/* Reduced Motion preferences */
@media(prefers-reduced-motion: reduce){
  .cvw-page *{
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
  }
  .cvx-fill .w{
    opacity: 1 !important;
  }
}
