/* ============================================================
   VC-PREMIUM-POLISH V12 — Unified design system (all ventures)
   Typography scale · spacing rhythm · focus/a11y · motion · responsiveness
   ============================================================ */

/* ---------- Design tokens (superset) ---------- */
:root {
  --vc-font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --vc-font-serif: 'Playfair Display', Georgia, "Times New Roman", serif;
  --vc-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Fluid type scale (clamp) */
  --vc-fs-xs: clamp(.72rem, .68rem + .2vw, .8rem);
  --vc-fs-sm: clamp(.85rem, .8rem + .25vw, .95rem);
  --vc-fs-base: clamp(.95rem, .9rem + .3vw, 1.0625rem);
  --vc-fs-md: clamp(1.0625rem, 1rem + .4vw, 1.25rem);
  --vc-fs-lg: clamp(1.25rem, 1.1rem + .8vw, 1.625rem);
  --vc-fs-xl: clamp(1.625rem, 1.3rem + 1.6vw, 2.25rem);
  --vc-fs-2xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --vc-fs-3xl: clamp(2.5rem, 1.8rem + 3.5vw, 4rem);

  /* Spacing rhythm (8px base) */
  --vc-sp-0: 0;
  --vc-sp-1: .25rem;
  --vc-sp-2: .5rem;
  --vc-sp-3: .75rem;
  --vc-sp-4: 1rem;
  --vc-sp-5: 1.25rem;
  --vc-sp-6: 1.5rem;
  --vc-sp-8: 2rem;
  --vc-sp-10: 2.5rem;
  --vc-sp-12: 3rem;
  --vc-sp-16: 4rem;
  --vc-sp-20: 5rem;
  --vc-sp-24: 6rem;

  /* Radii */
  --vc-r-sm: .375rem;
  --vc-r-md: .625rem;
  --vc-r-lg: .875rem;
  --vc-r-xl: 1.25rem;
  --vc-r-2xl: 1.75rem;
  --vc-r-pill: 9999px;

  /* Shadows */
  --vc-shadow-sm: 0 1px 2px rgba(0,0,0,.35), 0 1px 3px rgba(0,0,0,.25);
  --vc-shadow-md: 0 4px 12px rgba(0,0,0,.4), 0 2px 6px rgba(0,0,0,.3);
  --vc-shadow-lg: 0 12px 32px rgba(0,0,0,.5), 0 4px 12px rgba(0,0,0,.35);
  --vc-shadow-glow: 0 0 0 1px rgba(34,211,238,.18), 0 8px 28px rgba(34,211,238,.12);
  --vc-shadow-card: 0 8px 24px rgba(0,0,0,.45), 0 0 0 1px rgba(148,163,216,.12);

  /* Container */
  --vc-container: 1280px;
  --vc-gutter: clamp(1rem, 3vw, 2rem);
}

/* ---------- Base typography ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--vc-font-sans);
  font-size: var(--vc-fs-base);
  line-height: 1.62;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--vc-font-serif);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #eef2ff;
  margin: 0 0 var(--vc-sp-4);
  text-wrap: balance;
}
h1 { font-size: var(--vc-fs-3xl); }
h2 { font-size: var(--vc-fs-2xl); }
h3 { font-size: var(--vc-fs-xl); }
h4 { font-size: var(--vc-fs-lg); }
h5 { font-size: var(--vc-fs-md); }
h6 { font-size: var(--vc-fs-base); text-transform: uppercase; letter-spacing: .08em; color: #98a2c0; }
p { margin: 0 0 var(--vc-sp-4); }
p:last-child { margin-bottom: 0; }
a { color: #22d3ee; text-decoration: none; transition: color .2s ease; }
a:hover { color: #67e8f9; }
strong { color: #eef2ff; font-weight: 600; }
small, .small { font-size: var(--vc-fs-xs); color: #98a2c0; }
code, pre { font-family: var(--vc-font-mono); font-size: .9em; }
::selection { background: rgba(34,211,238,.28); color: #eef2ff; }

/* ---------- Container / layout ---------- */
.vc-container, .container, main > .wrap, body > .wrap {
  width: 100%;
  max-width: var(--vc-container);
  margin-inline: auto;
  padding-inline: var(--vc-gutter);
}
section, .section { padding-block: var(--vc-sp-16); }
@media (max-width: 768px) { section, .section { padding-block: var(--vc-sp-10); } }

/* ---------- Focus / accessibility ---------- */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid #22d3ee;
  outline-offset: 2px;
  border-radius: var(--vc-r-sm);
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  box-shadow: 0 0 0 3px rgba(34,211,238,.25);
}
/* skip link */
.skip-link {
  position: absolute; left: -9999px; top: var(--vc-sp-2);
  background: #22d3ee; color: #06070d; padding: var(--vc-sp-2) var(--vc-sp-4);
  border-radius: var(--vc-r-md); font-weight: 600; z-index: 9999;
}
.skip-link:focus { left: var(--vc-sp-4); }

/* ---------- Touch targets ---------- */
button, .btn, a.btn, [role="button"] {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--vc-sp-2);
  padding: var(--vc-sp-3) var(--vc-sp-5);
  border-radius: var(--vc-r-md);
  font-weight: 600;
  font-size: var(--vc-fs-sm);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  border: 1px solid transparent;
}
button:active, .btn:active { transform: translateY(1px); }

/* ---------- Cards ---------- */
.card, .glass, .tile, .panel {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(148,163,216,.16);
  border-radius: var(--vc-r-xl);
  padding: var(--vc-sp-6);
  box-shadow: var(--vc-shadow-card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.card:hover, .glass:hover, .tile:hover, .panel:hover {
  transform: translateY(-4px);
  border-color: rgba(34,211,238,.35);
  box-shadow: var(--vc-shadow-lg), 0 0 24px rgba(34,211,238,.1);
}
.card:has(> img), .tile:has(> img) { overflow: hidden; }

/* ---------- Images ---------- */
img {
  max-width: 100%;
  height: auto;
  display: block;
}
img[loading="lazy"] { background: rgba(255,255,255,.04); }
.vc-img-cover { object-fit: cover; width: 100%; height: 100%; }
.vc-aspect-16-9 { aspect-ratio: 16 / 9; }
.vc-aspect-4-3 { aspect-ratio: 4 / 3; }
.vc-aspect-1-1 { aspect-ratio: 1 / 1; }

/* ---------- Forms ---------- */
input, textarea, select {
  width: 100%;
  padding: var(--vc-sp-3) var(--vc-sp-4);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(148,163,216,.22);
  border-radius: var(--vc-r-md);
  color: #eef2ff;
  font-family: var(--vc-font-sans);
  font-size: var(--vc-fs-sm);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
input::placeholder, textarea::placeholder { color: #6b7394; }
input:hover, textarea:hover, select:hover { border-color: rgba(148,163,216,.35); }
input:focus, textarea:focus, select:focus {
  border-color: #22d3ee;
  background: rgba(34,211,238,.05);
  box-shadow: 0 0 0 3px rgba(34,211,238,.18);
}
label { display: block; margin-bottom: var(--vc-sp-2); font-size: var(--vc-fs-xs); color: #98a2c0; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.vc-field-error { border-color: #fb7185 !important; box-shadow: 0 0 0 3px rgba(251,113,133,.18) !important; }
.vc-field-success { border-color: #22d3ee !important; }

/* ---------- Motion ---------- */
@keyframes vc-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes vc-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes vc-scale-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
@keyframes vc-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes vc-pulse-glow {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,211,238,.4); }
  50% { box-shadow: 0 0 0 8px rgba(34,211,238,0); }
}
.vc-animate-fade-up { animation: vc-fade-up .6s cubic-bezier(.2,.8,.2,1) both; }
.vc-animate-fade-in { animation: vc-fade-in .4s ease both; }
.vc-animate-scale-in { animation: vc-scale-in .35s cubic-bezier(.2,.8,.2,1) both; }
.vc-stagger > * { animation: vc-fade-up .6s cubic-bezier(.2,.8,.2,1) both; }
.vc-stagger > *:nth-child(1) { animation-delay: .05s; }
.vc-stagger > *:nth-child(2) { animation-delay: .1s; }
.vc-stagger > *:nth-child(3) { animation-delay: .15s; }
.vc-stagger > *:nth-child(4) { animation-delay: .2s; }
.vc-stagger > *:nth-child(5) { animation-delay: .25s; }
.vc-stagger > *:nth-child(6) { animation-delay: .3s; }

/* Skeleton */
.vc-skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,.05) 25%, rgba(255,255,255,.12) 50%, rgba(255,255,255,.05) 75%);
  background-size: 200% 100%;
  animation: vc-shimmer 1.4s infinite;
  border-radius: var(--vc-r-md);
  min-height: 1em;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,.03); }
::-webkit-scrollbar-thumb { background: rgba(148,163,216,.25); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: rgba(34,211,238,.4); }

/* ---------- Print ---------- */
@media print {
  body::before, .aurora, .vcw-widget, .cookie-banner { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
  .card, .glass { box-shadow: none; border: 1px solid #ccc; }
}

/* ---------- Utility ---------- */
.vc-text-gradient {
  background: linear-gradient(120deg, #22d3ee, #a78bfa, #f5c542);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.vc-glass-strong { background: rgba(255,255,255,.07); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.vc-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(148,163,216,.25), transparent); border: 0; margin: var(--vc-sp-8) 0; }
.vc-badge-pill {
  display: inline-flex; align-items: center; gap: var(--vc-sp-2);
  padding: var(--vc-sp-1) var(--vc-sp-3);
  background: rgba(34,211,238,.12); color: #22d3ee;
  border: 1px solid rgba(34,211,238,.3);
  border-radius: var(--vc-r-pill);
  font-size: var(--vc-fs-xs); font-weight: 600; letter-spacing: .04em;
}
.vc-empty { text-align: center; padding: var(--vc-sp-16) var(--vc-sp-4); color: #98a2c0; }
.vc-empty i { font-size: 2.5rem; color: #22d3ee; margin-bottom: var(--vc-sp-4); display: block; }

/* ---------- Mobile responsiveness ---------- */
@media (max-width: 640px) {
  :root { --vc-gutter: 1rem; }
  h1 { font-size: var(--vc-fs-2xl); }
  h2 { font-size: var(--vc-fs-xl); }
  .card, .glass, .tile, .panel { padding: var(--vc-sp-4); border-radius: var(--vc-r-lg); }
  button, .btn, a.btn { min-height: 48px; padding: var(--vc-sp-3) var(--vc-sp-4); }
}
@media (max-width: 480px) {
  :root { --vc-gutter: .875rem; }
}

/* ---------- High-DPI / retina ---------- */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  img { image-rendering: -webkit-optimize-contrast; }
}
"

/* ============================================================
   VC-PREMIUM-POLISH V12b — Nav, Hero, Footer, Section polish
   ============================================================ */

/* ---------- Header / Nav (glass + scroll) ---------- */
header, .site-header, #header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6,7,13,.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(148,163,216,.12);
  transition: background .3s ease, border-color .3s ease, padding .3s ease;
}
header.scrolled, .site-header.scrolled, #header.scrolled {
  background: rgba(6,7,13,.92);
  border-bottom-color: rgba(34,211,238,.18);
  padding-block: .5rem;
}
nav, .nav, .navbar {
  display: flex; align-items: center; gap: var(--vc-sp-6);
}
nav a, .nav a, .navbar a {
  position: relative;
  color: #98a2c0;
  font-weight: 500;
  font-size: var(--vc-fs-sm);
  padding: var(--vc-sp-2) var(--vc-sp-1);
  transition: color .2s ease;
}
nav a:hover, .nav a:hover, .navbar a:hover { color: #eef2ff; }
nav a::after, .nav a::after {
  content: ''; position: absolute; left: 50%; bottom: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, #22d3ee, #a78bfa);
  transform: translateX(-50%); transition: width .25s ease;
  border-radius: 1px;
}
nav a:hover::after, .nav a:hover::after { width: 100%; }
.brand, .logo-text { display: flex; align-items: center; gap: var(--vc-sp-3); }
.brand b, .brand-txt b { font-family: var(--vc-font-serif); font-size: 1.1rem; letter-spacing: .04em; }

/* ---------- Hero ---------- */
.hero, #home.hero, section.hero {
  position: relative;
  padding-block: clamp(4rem, 10vw, 8rem);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(34,211,238,.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(196,181,253,.15), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(232,184,114,.1), transparent 60%);
  pointer-events: none;
}
.hero h1, .hero-title {
  font-size: var(--vc-fs-3xl);
  line-height: 1.05;
  margin-bottom: var(--vc-sp-6);
}
.hero .grad, .hero .gradient-text {
  background: linear-gradient(120deg, #22d3ee 0%, #a78bfa 50%, #f5c542 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 200%;
  animation: vc-gradient-shift 6s ease infinite;
}
@keyframes vc-gradient-shift {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero .lead, .hero p.lead {
  font-size: var(--vc-fs-md);
  color: #98a2c0;
  max-width: 62ch;
  line-height: 1.6;
}
.hero-actions, .hero-cta {
  display: flex; flex-wrap: wrap; gap: var(--vc-sp-4);
  margin-block: var(--vc-sp-8);
}
.hero-visual, .hero-image {
  position: relative;
  border-radius: var(--vc-r-2xl);
  overflow: hidden;
  box-shadow: var(--vc-shadow-lg), 0 0 60px rgba(34,211,238,.15);
}
.hero-visual img { width: 100%; height: auto; display: block; }
.hero-trust, .trust-badges {
  display: flex; flex-wrap: wrap; gap: var(--vc-sp-4) var(--vc-sp-6);
  margin-top: var(--vc-sp-8);
  font-size: var(--vc-fs-xs); color: #98a2c0;
}
.hero-trust span, .trust-badges span {
  display: inline-flex; align-items: center; gap: var(--vc-sp-2);
}
.hero-trust i, .trust-badges i { color: #22d3ee; }

/* ---------- Section rhythm ---------- */
section { position: relative; }
section > .wrap, section > .container { position: relative; z-index: 1; }
.section-title, .sec-title {
  font-size: var(--vc-fs-xl); margin-bottom: var(--vc-sp-2);
}
.section-sub, .sec-sub {
  color: #98a2c0; font-size: var(--vc-fs-base); max-width: 60ch; margin-bottom: var(--vc-sp-10);
}

/* ---------- Footer ---------- */
footer, .site-footer {
  background: linear-gradient(180deg, transparent, rgba(6,7,13,.8));
  border-top: 1px solid rgba(148,163,216,.12);
  padding-block: var(--vc-sp-16) var(--vc-sp-8);
  margin-top: var(--vc-sp-20);
}
footer h5, .site-footer h5 {
  font-family: var(--vc-font-sans); font-size: var(--vc-fs-xs);
  text-transform: uppercase; letter-spacing: .12em; color: #22d3ee;
  margin-bottom: var(--vc-sp-4); font-weight: 700;
}
footer ul, .site-footer ul { list-style: none; padding: 0; margin: 0; }
footer li, .site-footer li { margin-bottom: var(--vc-sp-2); font-size: var(--vc-fs-sm); color: #98a2c0; }
footer a, .site-footer a { color: #98a2c0; transition: color .2s ease; }
footer a:hover, .site-footer a:hover { color: #22d3ee; }
.foot-grid, .footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--vc-sp-8) var(--vc-sp-10);
}
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.05); border: 1px solid rgba(148,163,216,.18);
  color: #98a2c0; transition: all .25s ease;
}
.socials a:hover { background: rgba(34,211,238,.15); border-color: rgba(34,211,238,.4); color: #22d3ee; transform: translateY(-2px); }
.legal { text-align: center; padding-top: var(--vc-sp-8); border-top: 1px solid rgba(148,163,216,.1); margin-top: var(--vc-sp-8); font-size: var(--vc-fs-xs); color: #6b7394; }

/* ---------- Mobile nav ---------- */
@media (max-width: 768px) {
  nav, .nav, .navbar { gap: var(--vc-sp-3); }
  .hero-actions, .hero-cta { flex-direction: column; }
  .hero-actions .btn, .hero-cta .btn { width: 100%; }
  .foot-grid, .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--vc-sp-6); }
}
@media (max-width: 480px) {
  .foot-grid, .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero .grad { animation: none; }
}
"
/* ---------- FIX: gradient words inside .grad headings (vc-motion splits
   headings into .vc-word spans; inside .grad they inherit text-fill:transparent
   but get no gradient background -> invisible. Hand each word its own
   inherited gradient and keep .grad words static (matches ventures).) ---------- */
.grad .vc-word{background-image:inherit;background-size:inherit;
  -webkit-background-clip:text!important;background-clip:text!important;
  -webkit-text-fill-color:transparent!important;color:transparent!important;
  animation:none!important;transform:none!important;opacity:1!important}