/* Veltrix Studio — main stylesheet (v2, dark premium theme)
   Builds on design-tokens.css. Dark navy base, violet / electric-blue light,
   teal data accent. No external UI libraries.
*/

/* =========================================================
   Legacy dashboard preview (kept for compatibility)
   ========================================================= */
.vx-dashboard-preview {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
}

.vx-dash-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.vx-dash-kpi {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vx-dash-kpi-label {
  font-size: 0.75rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vx-dash-kpi-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-heading);
}

.vx-dash-kpi-delta {
  font-size: 0.75rem;
  color: var(--color-teal);
}

.vx-dash-main {
  flex: 1;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-3);
  min-height: 0;
}

.vx-dash-chart {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
}

.vx-dash-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.vx-dash-filter,
.vx-dash-mini-list {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-2);
}

.vx-dash-footer {
  font-size: 0.75rem;
  color: var(--color-muted);
  text-align: center;
}

@media (max-width: 720px) {
  .vx-dash-kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .vx-dash-main { grid-template-columns: 1fr; }
}

/* =========================================================
   Bridge: design tokens -> semantic names
   ========================================================= */
:root {
  --color-bg: var(--vx-surface-page);
  --color-bg-soft: #080A13;
  --color-surface: rgba(255, 255, 255, 0.035);
  --color-surface-solid: var(--vx-surface-card);
  --color-surface-alt: rgba(255, 255, 255, 0.055);
  --color-field: rgba(4, 6, 12, 0.65);

  --color-text: var(--vx-text-primary);
  --color-muted: var(--vx-text-secondary);
  --color-subtle: var(--vx-text-tertiary);
  --color-subtle-strong: #8E97AC;
  --color-border: var(--vx-border-default);
  --color-border-strong: var(--vx-border-strong);

  --color-heading: #F8F9FF;
  --color-primary: var(--vx-color-accent-500);
  --color-primary-dark: var(--vx-color-accent-700);
  --color-accent: var(--vx-color-accent-400);
  --color-accent-dark: var(--vx-color-accent-600);
  --color-link: #C4B5FD;
  --color-teal: var(--vx-color-teal-400);

  --color-warning: var(--vx-color-warning);
  --color-danger: var(--vx-color-error);
  --color-success: var(--vx-color-success);

  --font-sans: var(--vx-font-body);
  --font-display: var(--vx-font-display);
  --font-mono: var(--vx-font-mono);

  --radius-sm: var(--vx-radius-sm);
  --radius-md: var(--vx-radius-md);
  --radius-lg: var(--vx-radius-lg);
  --radius-xl: var(--vx-radius-xl);

  --shadow-sm: var(--vx-shadow-sm);
  --shadow-md: var(--vx-shadow-md);
  --shadow-lg: var(--vx-shadow-lg);
  --shadow-glow: var(--vx-shadow-violet);

  --space-1: var(--vx-space-1);
  --space-2: var(--vx-space-2);
  --space-3: var(--vx-space-3);
  --space-4: var(--vx-space-4);
  --space-5: var(--vx-space-5);
  --space-6: var(--vx-space-6);
  --space-8: var(--vx-space-8);
  --space-10: var(--vx-space-10);
  --space-12: var(--vx-space-12);
  --space-16: var(--vx-space-16);
  --space-20: var(--vx-space-20);

  --container: var(--vx-container-max);
  --header-height: var(--vx-nav-height);
}

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

html {
  scroll-behavior: smooth;
  background: var(--color-bg);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text);
  background: transparent;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient light behind the whole site */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 620px at 50% -8%, rgba(99, 102, 241, 0.20), transparent 66%),
    radial-gradient(720px 560px at 100% 4%, rgba(139, 92, 246, 0.12), transparent 62%),
    radial-gradient(820px 620px at 0% 18%, rgba(37, 99, 235, 0.10), transparent 64%),
    #05060C;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--vx-duration-fast) var(--vx-ease-standard);
}

a:hover {
  color: #fff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--vx-color-accent-400);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgba(139, 92, 246, 0.4);
  color: #fff;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: var(--space-3) var(--space-4);
  background: #fff;
  color: #05060C;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* =========================================================
   Header / navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 6, 12, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--vx-gradient-primary);
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.brand-logo {
  display: block;
  height: 44px;
  width: auto;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-4);
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
}

.nav-toggle:hover {
  border-color: var(--color-border-strong);
  background: rgba(255, 255, 255, 0.09);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav a {
  color: #AEB6C9;
  padding: 0.5rem 0.8rem;
  border-radius: var(--vx-radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--vx-duration-fast) var(--vx-ease-standard),
              background-color var(--vx-duration-fast) var(--vx-ease-standard);
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.6rem 1.15rem !important;
  background: var(--vx-gradient-primary);
  color: #fff !important;
  font-weight: 600 !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 22px -10px rgba(99, 102, 241, 0.9);
}

.nav-cta:hover {
  background: var(--vx-gradient-primary) !important;
  filter: brightness(1.1);
  color: #fff !important;
}

.nav-cta[aria-current="page"] {
  background: var(--vx-gradient-primary) !important;
  color: #fff !important;
}

/* =========================================================
   Layout / sections / type
   ========================================================= */
main {
  min-height: 60vh;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-sm {
  padding: var(--space-10) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.008));
  border-block: 1px solid rgba(255, 255, 255, 0.05);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: #C4B5FD;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vx-color-accent-400);
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.9);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--color-heading);
  line-height: 1.12;
  margin: 0 0 var(--space-4);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h4 {
  font-size: 1rem;
  font-weight: 700;
}

p {
  margin: 0 0 var(--space-4);
}

.lead {
  font-size: 1.075rem;
  color: var(--color-muted);
  max-width: 62ch;
  line-height: 1.7;
}

.grad-text {
  background: var(--vx-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: 6.5rem 0 5rem;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  top: -280px;
  left: 50%;
  width: min(1100px, 130vw);
  height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(124, 58, 237, 0.42), transparent 72%);
  filter: blur(20px);
  pointer-events: none;
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  top: 40px;
  right: -10%;
  width: 620px;
  height: 520px;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.28), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}

.hero--home {
  padding: 3rem 0 1rem;
}

.hero-center {
  max-width: 940px;
  text-align: center;
}

.hero-center .lead,
.hero-center .hero-sub {
  margin-inline: auto;
}

.hero-center .hero-proof {
  max-width: 860px;
  margin-inline: auto;
}

.hero--centered .hero-sub {
  margin-inline: auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.9rem 0.42rem 0.6rem;
  margin-bottom: 1.25rem;
  border-radius: var(--vx-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #C9D0E2;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  backdrop-filter: blur(10px);
}

.hero-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vx-color-teal-400);
  box-shadow: 0 0 0 4px rgba(47, 212, 167, 0.14);
}

.hero-title {
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 6.4vw, 4.9rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.hero-sub {
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  line-height: 1.7;
  color: #A9B1C6;
  max-width: 60ch;
  margin-bottom: 1.25rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: var(--space-12);
  align-items: center;
}

/* =========================================================
   Web design hero visual - page anatomy (web-design.html only)
   Approved build v2. Decorative only: aria-hidden, no text.
   ========================================================= */
.hero-visual {
  min-height: 240px;
  border-radius: var(--vx-radius-2xl);
  background:
    radial-gradient(320px 220px at 12% 0%, rgba(124, 58, 237, 0.16), transparent 70%),
    #0A0D18;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* header hairline */
.hero-visual::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 44px;
  right: var(--space-6);
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.10) 62%, transparent 100%);
  pointer-events: none;
}

/* header dot, vertically centred on the hairline */
.hero-visual::after {
  content: "";
  position: absolute;
  top: 20px;
  left: var(--space-6);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vx-color-accent-500);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.18);
  pointer-events: none;
}

/* content card */
.hero-visual__sheet {
  position: relative;
  width: 100%;
  height: 132px;
  border-radius: var(--vx-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.20);
  background-color: #1A2030;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0.30)),
    linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)),
    linear-gradient(160deg, #262E42 0%, #1E2536 52%, #1A2030 100%);
  background-repeat: no-repeat;
  background-size: 54% 8px, 38% 8px, 100% 100%;
  background-position: 18px 20px, 18px 38px, 0 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 18px 40px -24px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

/* action pill */
.hero-visual__cta {
  position: absolute;
  left: 18px;
  bottom: 16px;
  width: 88px;
  height: 24px;
  border-radius: var(--vx-radius-pill);
  background: linear-gradient(120deg, var(--vx-color-accent-500), var(--vx-color-blue-600));
  box-shadow: 0 8px 20px -8px rgba(124, 58, 237, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

@media (max-width: 980px) {
  .hero-visual__sheet {
    height: 150px;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.hero-actions--center {
  justify-content: center;
  margin-top: 0;
}

h1 + .lead + .hero-actions + .hero-proof {
  margin-top: 1.5rem;
}

.hero-proof {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  text-align: left;
}

.hero-proof li {
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-proof strong {
  display: block;
  color: #EDEFF7;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

.hero-proof span {
  display: block;
  margin-top: 3px;
  color: var(--color-subtle-strong);
  font-size: 0.82rem;
  line-height: 1.45;
}

.page-hero {
  padding: 5.5rem 0 4rem;
}

.page-hero .lead {
  font-size: 1.1rem;
}

.hero--centered {
  text-align: center;
}

.hero--centered .lead {
  margin-inline: auto;
}

.hero--centered .hero-actions {
  justify-content: center;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.5rem;
  border-radius: var(--vx-radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-body, var(--font-sans));
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--vx-duration-base) var(--vx-ease-standard),
              background-color var(--vx-duration-base) var(--vx-ease-standard),
              border-color var(--vx-duration-base) var(--vx-ease-standard),
              box-shadow var(--vx-duration-base) var(--vx-ease-standard),
              filter var(--vx-duration-base) var(--vx-ease-standard);
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--vx-gradient-primary);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 34px -14px rgba(99, 102, 241, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn-primary:hover {
  color: #fff;
  filter: brightness(1.08);
  box-shadow: 0 20px 44px -14px rgba(124, 58, 237, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.045);
  color: #EAEDF7;
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(167, 139, 250, 0.55);
  color: #fff;
}

.btn-accent {
  background: #fff;
  color: #0A0D18;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px -18px rgba(255, 255, 255, 0.55);
}

.btn-accent:hover {
  background: #EFEBFF;
  color: #0A0D18;
  box-shadow: 0 20px 40px -18px rgba(196, 181, 253, 0.7);
}

/* =========================================================
   Grids, cards, lists
   ========================================================= */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.016));
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: var(--vx-radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  height: 100%;
  transition: transform var(--vx-duration-base) var(--vx-ease-standard),
              border-color var(--vx-duration-base) var(--vx-ease-standard),
              box-shadow var(--vx-duration-base) var(--vx-ease-standard);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 139, 250, 0.32);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(139, 92, 246, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.card > .eyebrow {
  margin-bottom: 0.75rem;
}

.card h3 {
  margin-bottom: var(--space-3);
}

.card p {
  color: var(--color-muted);
  font-size: 0.96rem;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, rgba(139, 92, 246, 0.28), rgba(37, 99, 235, 0.16));
  border: 1px solid rgba(167, 139, 250, 0.28);
  color: #D6C9FF;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 0;
}

.feature-list li {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  color: var(--color-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.feature-list li::before {
  content: "✓";
  color: var(--vx-color-teal-400);
  font-weight: 800;
  flex: 0 0 auto;
  line-height: 1.5;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: var(--vx-radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #CBD2E3;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.badge--accent {
  background: rgba(47, 212, 167, 0.12);
  border-color: rgba(47, 212, 167, 0.3);
  color: #6EE7C6;
}

.badge--muted {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.08);
  color: #9CA5BA;
}

.price {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  text-align: center;
}

.stat {
  padding: 1.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--vx-radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
  background: var(--vx-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat span {
  color: var(--color-subtle-strong);
  font-size: 0.86rem;
  line-height: 1.45;
  display: block;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.steps li {
  counter-increment: step;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: var(--vx-radius-lg);
  padding: var(--space-5) var(--space-5) var(--space-5) 4.5rem;
  position: relative;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: var(--space-5);
  top: var(--space-5);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--vx-gradient-primary);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 8px 20px -8px rgba(99, 102, 241, 0.9);
}

.steps li h3 {
  margin-bottom: 0.35rem;
  font-size: 1.02rem;
}

.steps li p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.steps li h3 + p {
  color: var(--color-muted);
}

.testimonial {
  background: var(--vx-gradient-panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: var(--vx-radius-xl);
  padding: var(--space-8);
}

.testimonial p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
}

.testimonial footer {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 320px at 50% -20%, rgba(139, 92, 246, 0.35), transparent 70%),
    linear-gradient(150deg, rgba(124, 58, 237, 0.20), rgba(37, 99, 235, 0.12) 55%, rgba(8, 10, 18, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--vx-radius-2xl);
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: 0 40px 90px -50px rgba(124, 58, 237, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cta-band h2 {
  color: #fff;
  max-width: 22ch;
  margin-inline: auto;
}

.cta-band p {
  color: rgba(233, 236, 247, 0.72);
  max-width: 60ch;
  margin-inline: auto;
}

.cta-band .hero-actions {
  margin-top: var(--space-6);
}

/* =========================================================
   Forms
   ========================================================= */
.form-grid {
  display: grid;
  gap: var(--space-4);
}

.field {
  display: grid;
  gap: var(--space-2);
}

.field label {
  font-weight: 600;
  color: #CBD2E3;
  font-size: 0.9rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--vx-radius-md);
  font: inherit;
  font-size: 0.95rem;
  background: var(--color-field);
  color: var(--color-text);
  transition: border-color var(--vx-duration-fast) var(--vx-ease-standard),
              box-shadow var(--vx-duration-fast) var(--vx-ease-standard);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--color-subtle);
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(167, 139, 250, 0.65);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23A3ABC2' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.field select option {
  background: #0A0D18;
  color: #E9ECF7;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field small {
  color: var(--color-subtle-strong);
  font-size: 0.82rem;
}

.field label input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
  accent-color: #7C3AED;
}

.field.error input,
.field.error select,
.field.error textarea {
  border-color: rgba(248, 113, 113, 0.8);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
}

.error-text {
  color: #FCA5A5;
  font-size: 0.84rem;
  margin: 0;
}

.success-panel {
  display: none;
  background: rgba(47, 212, 167, 0.1);
  border: 1px solid rgba(47, 212, 167, 0.35);
  color: #A7F3D9;
  border-radius: var(--vx-radius-md);
  padding: var(--space-4);
  font-size: 0.92rem;
  margin-bottom: var(--space-4);
}

.success-panel.is-visible {
  display: block;
}

/* =========================================================
   Filter bar (templates legacy)
   ========================================================= */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: var(--space-6) 0;
}

.filter-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text);
  border-radius: var(--vx-radius-pill);
  padding: 0.5rem 1rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
}

.filter-btn:hover {
  border-color: rgba(167, 139, 250, 0.5);
}

.filter-btn.is-active {
  background: var(--vx-gradient-primary);
  color: #fff;
  border-color: transparent;
}

.template-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.template-preview {
  aspect-ratio: 4 / 3;
  border-radius: var(--vx-radius-md);
  background:
    linear-gradient(150deg, rgba(139, 92, 246, 0.16), rgba(37, 99, 235, 0.08)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 24px);
  border: 1px solid var(--color-border);
  display: grid;
  place-items: center;
  color: var(--color-subtle);
  font-weight: 600;
}

.template-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
}

/* =========================================================
   Section headings / showcases
   ========================================================= */
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.section-heading > div {
  max-width: 660px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 430px;
  margin: 0 0 4px;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.section-heading--center {
  display: block;
  text-align: center;
}

.section-heading--center > div {
  max-width: 720px;
  margin-inline: auto;
}

.section-heading--center > p {
  margin: 1rem auto 0;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(300px, 0.78fr);
  gap: var(--space-8);
  align-items: start;
}

.preview-gallery {
  min-width: 0;
}

.preview-stage {
  position: relative;
  padding: var(--space-3);
  border-radius: var(--vx-radius-2xl);
  background:
    linear-gradient(150deg, rgba(124, 58, 237, 0.32), rgba(37, 99, 235, 0.16) 45%, rgba(9, 11, 20, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.preview-stage > img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--vx-radius-md);
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.preview-badge {
  position: absolute;
  top: var(--space-5);
  left: var(--space-5);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.4rem 0.8rem;
  border-radius: var(--vx-radius-pill);
  background: rgba(7, 9, 16, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #E9ECF7;
  backdrop-filter: blur(10px);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.preview-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vx-color-teal-400);
  box-shadow: 0 0 0 3px rgba(47, 212, 167, 0.18);
}

.preview-stage-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-2) var(--space-2);
  color: rgba(233, 236, 247, 0.78);
  font-size: 0.85rem;
  line-height: 1.5;
}

.preview-stage-footer p {
  margin: 0;
}

.preview-stage-footer a {
  flex: 0 0 auto;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.preview-stage-footer a:hover {
  color: var(--vx-color-accent-400);
}

.preview-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.preview-thumb {
  appearance: none;
  display: block;
  width: 100%;
  padding: var(--space-2);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--vx-radius-md);
  background: rgba(255, 255, 255, 0.035);
  color: var(--color-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--vx-duration-fast) var(--vx-ease-standard),
              box-shadow var(--vx-duration-fast) var(--vx-ease-standard),
              transform var(--vx-duration-fast) var(--vx-ease-standard),
              background-color var(--vx-duration-fast) var(--vx-ease-standard);
}

.preview-thumb:hover {
  border-color: rgba(167, 139, 250, 0.5);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.preview-thumb:focus-visible {
  outline: none;
  box-shadow: var(--vx-focus-ring);
}

.preview-thumb.is-active {
  border-color: rgba(167, 139, 250, 0.65);
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.22);
  background: rgba(139, 92, 246, 0.1);
}

.preview-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-radius: 6px;
  background: #fff;
}

.preview-thumb span {
  display: block;
  margin-top: var(--space-2);
  padding: 0 2px 2px;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.3;
  color: #C3C9D9;
}

.preview-note {
  margin: var(--space-4) 0 0;
  color: var(--color-subtle-strong);
  font-size: 0.82rem;
  line-height: 1.55;
}

.preview-note strong {
  color: #C3C9D9;
}

.product-panel {
  position: sticky;
  top: calc(var(--header-height) + var(--space-4));
  padding: var(--space-6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--vx-radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.product-panel-top {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.product-panel h3 {
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  line-height: 1.2;
  margin-bottom: var(--space-3);
}

.product-panel-intro {
  color: var(--color-muted);
  font-size: 0.94rem;
}

.feature-list--compact {
  margin-top: var(--space-5);
}

.feature-list--compact li {
  color: #CBD2E3;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: var(--space-2);
}

.product-panel-note {
  display: grid;
  gap: 2px;
  margin-top: var(--space-5);
  padding: var(--space-3) var(--space-4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--vx-radius-md);
  background: rgba(4, 6, 12, 0.45);
}

.product-panel-note strong {
  color: #E9ECF7;
  font-size: 0.82rem;
}

.product-panel-note span {
  color: var(--color-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.product-panel-actions {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.fine-print {
  margin: var(--space-4) 0 0;
  color: var(--color-subtle-strong);
  font-size: 0.75rem;
  line-height: 1.55;
}

.feature-grid {
  align-items: stretch;
}

.feature-grid .card {
  display: flex;
  flex-direction: column;
}

.feature-grid .card p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.93rem;
}

/* =========================================================
   Premium note (templates hero)
   ========================================================= */
.premium-note {
  background:
    radial-gradient(420px 260px at 90% 0%, rgba(47, 212, 167, 0.16), transparent 70%),
    linear-gradient(160deg, rgba(124, 58, 237, 0.24), rgba(37, 99, 235, 0.12) 55%, rgba(8, 10, 18, 0.95));
  color: rgba(233, 236, 247, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--vx-radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.premium-note > * {
  position: relative;
  z-index: 1;
}

.premium-note h2 {
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 1.6rem);
  line-height: 1.22;
  margin: var(--space-3) 0;
}

.premium-note p {
  color: rgba(233, 236, 247, 0.74);
  font-size: 0.92rem;
  margin-bottom: var(--space-5);
}

.premium-note .btn {
  width: 100%;
  margin-top: var(--space-2);
}

.spec-list {
  margin: 0 0 var(--space-4);
  display: grid;
  gap: 0;
}

.spec-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-list dt {
  color: rgba(233, 236, 247, 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spec-list dd {
  margin: 0;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: right;
}

/* =========================================================
   Concept mockups
   ========================================================= */
.concept-grid-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--space-6);
  align-items: stretch;
}

.concept-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--vx-radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.concept-preview {
  position: relative;
  min-height: 250px;
  padding: var(--space-6);
  background:
    radial-gradient(380px 240px at 80% 10%, rgba(139, 92, 246, 0.4), transparent 70%),
    linear-gradient(150deg, rgba(37, 99, 235, 0.2), rgba(8, 10, 18, 0.9));
  display: flex;
  align-items: flex-end;
}

.concept-badge {
  position: absolute;
  top: var(--space-5);
  left: var(--space-5);
  padding: 0.32rem 0.72rem;
  border-radius: var(--vx-radius-pill);
  background: rgba(7, 9, 16, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #E9ECF7;
  backdrop-filter: blur(8px);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.concept-sheet {
  width: min(100%, 460px);
  margin: 0 auto;
  padding: var(--space-4);
  border-radius: var(--vx-radius-md);
  background: rgba(10, 13, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.concept-sheet-header,
.concept-sheet-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 6px;
  padding: 5px 0;
}

.concept-sheet-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 6px;
}

.concept-sheet-header span {
  height: 7px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.22);
}

.concept-sheet-row span {
  height: 9px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.07);
}

.concept-sheet-row span:first-child {
  background: rgba(139, 92, 246, 0.35);
}

.concept-chart {
  height: 92px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding-top: var(--space-3);
  margin-top: var(--space-2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.concept-chart span {
  flex: 1;
  min-height: 12px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #A78BFA, #4F46E5);
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.35);
}

.concept-body {
  padding: var(--space-6);
}

.concept-body h3 {
  margin: var(--space-3) 0 var(--space-2);
}

.concept-body p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.93rem;
}

.custom-panel {
  padding: var(--space-8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--vx-radius-xl);
  background:
    radial-gradient(420px 280px at 100% 100%, rgba(37, 99, 235, 0.2), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.custom-panel h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: var(--space-3);
}

.custom-panel p {
  color: var(--color-muted);
  max-width: 48ch;
}

.custom-panel .feature-list {
  margin-bottom: var(--space-6);
}

.custom-panel .btn {
  margin-top: auto;
}

/* =========================================================
   Home: hero preview panel
   ========================================================= */
.preview-section {
  padding-top: 1.25rem;
  padding-bottom: 5.5rem;
}

.preview-duo {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: var(--space-6);
  align-items: stretch;
}

.shot-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: var(--vx-radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(165deg, rgba(139, 92, 246, 0.18), rgba(37, 99, 235, 0.08) 46%, rgba(9, 11, 20, 0.94));
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: border-color var(--vx-duration-base) var(--vx-ease-standard),
              box-shadow var(--vx-duration-base) var(--vx-ease-standard);
}

.shot-card:hover {
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow: 0 40px 80px -40px rgba(99, 102, 241, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.72rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: #A3ABC2;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shot-bar-title {
  margin-left: 0.5rem;
}

.shot-dots {
  display: inline-flex;
  gap: 5px;
}

.shot-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.shot-dots i:first-child {
  background: rgba(248, 113, 113, 0.7);
}

.shot-dots i:nth-child(2) {
  background: rgba(245, 158, 11, 0.7);
}

.shot-dots i:nth-child(3) {
  background: rgba(47, 212, 167, 0.7);
}

.shot-card > img {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
  flex: 0 0 auto;
}

.shot-body {
  padding: var(--space-3);
  display: flex;
  flex: 1 1 auto;
}

.shot-card figcaption {
  margin-top: auto;
  padding: 0.9rem 1.1rem 1.05rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #9CA5BA;
  font-size: 0.8rem;
  line-height: 1.5;
}

.shot-card figcaption strong {
  display: block;
  color: #E9ECF7;
  font-size: 0.83rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.shot-card figcaption a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.shot-card figcaption a:hover {
  color: var(--vx-color-accent-400);
}

.shot-card--static {
  max-width: 960px;
  margin-inline: auto;
}

.shot-card--static:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Miniature website preview (illustrative, CSS only) */
.site-mock {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--vx-radius-md);
  background:
    radial-gradient(320px 200px at 78% 8%, rgba(139, 92, 246, 0.4), transparent 70%),
    radial-gradient(240px 180px at 8% 96%, rgba(37, 99, 235, 0.28), transparent 72%),
    #070A12;
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.sm-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sm-logo {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(140deg, #A78BFA, #3B82F6);
  flex: 0 0 auto;
}

.sm-links {
  display: flex;
  gap: 0.35rem;
  margin-left: auto;
}

.sm-links i {
  display: block;
  width: 20px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.22);
}

.sm-cta {
  width: 34px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(120deg, #7C3AED, #2563EB);
  margin-left: 0.35rem;
}

.sm-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.sm-eyebrow {
  width: 62px;
  height: 5px;
  border-radius: 3px;
  background: rgba(167, 139, 250, 0.75);
  margin-bottom: 0.2rem;
}

.sm-title {
  height: 13px;
  width: 82%;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.86);
}

.sm-title.short {
  width: 58%;
  height: 11px;
  background: linear-gradient(90deg, #C4B5FD, #93C5FD);
}

.sm-sub {
  height: 5px;
  width: 68%;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.18);
  margin-top: 0.25rem;
}

.sm-sub.short {
  width: 44%;
}

.sm-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

.sm-btn {
  width: 52px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(120deg, #7C3AED, #2563EB);
}

.sm-btn.ghost {
  width: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.sm-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-top: auto;
}

.sm-cards span {
  height: 34px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sm-cards span:first-child {
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.3), rgba(255, 255, 255, 0.04));
  border-color: rgba(167, 139, 250, 0.35);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  position: relative;
  background: #04050A;
  color: rgba(233, 236, 247, 0.68);
  padding: var(--space-16) 0 var(--space-8);
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  width: 900px;
  height: 380px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(99, 102, 241, 0.22), transparent 72%);
  pointer-events: none;
}

.site-footer > * {
  position: relative;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
  margin-bottom: var(--space-3);
}

.site-footer h3 {
  font-size: 1.15rem;
}

.site-footer h4 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8E97AC;
}

.site-footer p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 34ch;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-8);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  color: rgba(233, 236, 247, 0.68);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #7A839A;
}

/* =========================================================
   Motion
   ========================================================= */
@keyframes vx-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-center > * {
  animation: vx-rise 0.75s var(--vx-ease-decelerate) both;
}

.hero-center > *:nth-child(1) { animation-delay: 0.02s; }
.hero-center > *:nth-child(2) { animation-delay: 0.08s; }
.hero-center > *:nth-child(3) { animation-delay: 0.16s; }
.hero-center > *:nth-child(4) { animation-delay: 0.24s; }
.hero-center > *:nth-child(5) { animation-delay: 0.32s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1050px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .product-panel {
    position: static;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-3,
  .grid-4,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .preview-duo {
    grid-template-columns: 1fr;
  }

  .site-header .site-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: var(--space-4);
    background: rgba(6, 7, 14, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  }

  .site-header .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border-radius: var(--vx-radius-md);
  }

  .nav-cta {
    margin: 0.4rem 0 0;
    text-align: center;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 900px) {
  .hero-proof {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .hero-proof li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-4);
  }

  .hero-proof span {
    text-align: right;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-4);
  }

  .section-heading > p {
    max-width: 62ch;
  }

  .concept-grid-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .brand-logo {
    height: 38px;
  }

  .container {
    width: min(100% - 2rem, var(--container));
  }

  .section {
    padding: 3.75rem 0;
  }

  .hero,
  .hero--home {
    padding: 4.5rem 0 3rem;
  }

  .page-hero {
    padding: 3.75rem 0 2.5rem;
  }

  .hero-grid,
  .grid-3,
  .grid-4,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(2.15rem, 9vw, 2.9rem);
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-actions--center .btn {
    flex: 0 1 auto;
  }

  .hero-visual {
    min-height: 210px;
    padding: var(--space-5);
  }

  .hero-visual::before {
    left: 36px;
    right: var(--space-5);
  }

  .hero-visual::after {
    left: var(--space-5);
  }

  .hero-visual__sheet {
    height: 116px;
  }

  .steps li {
    padding-left: var(--space-5);
    padding-top: 4.25rem;
  }

  .steps li::before {
    top: var(--space-4);
  }

  .preview-stage {
    padding: var(--space-2);
    border-radius: var(--vx-radius-xl);
  }

  .preview-badge {
    top: var(--space-4);
    left: var(--space-4);
  }

  .preview-stage-footer {
    flex-direction: column;
    padding: var(--space-3) var(--space-2) 0;
  }

  .preview-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .premium-note,
  .custom-panel {
    padding: var(--space-6);
  }

  .concept-preview {
    min-height: 210px;
    padding: var(--space-4);
  }

  .cta-band {
    padding: 2.75rem 1.25rem;
    border-radius: var(--vx-radius-xl);
  }

  .card {
    padding: var(--space-5);
  }

  .stat {
    padding: 1.15rem 1rem;
  }

  .footer-grid {
    gap: var(--space-6);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-2);
  }

  .shot-body {
    padding: var(--space-2);
  }
}

@media (max-width: 420px) {
  .site-mock {
    padding: 0.85rem;
  }

  .sm-links i:nth-child(n + 3) {
    display: none;
  }

  .hero-proof li {
    display: block;
  }

  .hero-proof span {
    text-align: left;
    margin-top: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover,
  .card:hover,
  .preview-thumb:hover {
    transform: none;
  }

  .hero-center > * {
    animation: none;
  }
}


/* =========================================================
   Home showcase section
   ========================================================= */
.showcase-section {
  padding-top: 1.25rem;
  padding-bottom: 3rem;
}

.showcase-duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}

.showcase-card {
  display: flex;
  flex-direction: column;
}

.showcase-card .shot-bar-title {
  text-transform: none;
  letter-spacing: 0.04em;
}

.showcase-card > img {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
  flex: 0 0 auto;
}

.showcase-body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1 1 auto;
}

.showcase-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #E9ECF7;
  margin: 0;
}

.showcase-body p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #9CA5BA;
  margin: 0;
}

.showcase-disclosure {
  font-size: 0.72rem !important;
  color: #7C8599 !important;
  font-style: italic;
  margin-top: 0.15rem !important;
}

.showcase-cta {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 720px) {
  .showcase-duo {
    grid-template-columns: 1fr;
  }
}
