/* Hoides — premium layer. Loaded after style.css and site.css on every page.
   Glass surfaces, an animated aurora behind everything, a floating navigation pill, spotlight cards and motion.
   Motion is added by motion.js; with JavaScript off or "reduce motion" on, everything is simply visible. */

:root {
  --bg: #07060c;
  --bg-2: rgba(255, 255, 255, .018);
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .065);
  --border: rgba(255, 255, 255, .085);
  --border-strong: rgba(255, 255, 255, .14);
  --text: #f4f2fb;
  --muted: #a39eb4;
  --brand: #bba6ff;
  --brand-2: #8b5cf6;
  --brand-deep: #6d28d9;
  --cyan: #67e8f9;
  --grad: linear-gradient(135deg, #9b6dff 0%, #7c3aed 48%, #5b54e8 100%);
  --grad-text: linear-gradient(100deg, #e9e2ff 0%, #b79cff 30%, #7dd3fc 55%, #b79cff 80%, #e9e2ff 100%);
  --radius: 20px;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --font: "Inter var", "Inter", "Segoe UI Variable Display", "Segoe UI Variable Text", "Segoe UI", -apple-system,
    BlinkMacSystemFont, "SF Pro Display", Roboto, Helvetica, Arial, sans-serif;
}

html { background: var(--bg); }
body { position: relative; isolation: isolate; background: transparent; font-feature-settings: "ss01", "cv11"; overflow-x: clip; }
::selection { background: rgba(139, 92, 246, .45); color: #fff; }

/* aurora: three slow, blurred lights behind the page */
body::before {
  content: ""; position: fixed; inset: -25%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(38% 32% at 18% 12%, rgba(139, 92, 246, .26), transparent 62%),
    radial-gradient(30% 28% at 82% 8%, rgba(99, 102, 241, .18), transparent 62%),
    radial-gradient(34% 34% at 70% 78%, rgba(45, 212, 191, .07), transparent 62%),
    radial-gradient(30% 30% at 12% 85%, rgba(217, 70, 239, .07), transparent 62%);
  filter: blur(24px);
  animation: aurora 26s ease-in-out infinite alternate;
}
@keyframes aurora {
  0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  50% { transform: translate3d(-3%, 2.5%, 0) scale(1.07) rotate(4deg); }
  100% { transform: translate3d(2.5%, -2%, 0) scale(1.02) rotate(-3deg); }
}
/* film grain + a faint grid that fades out below the fold */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.grid-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 0%, #000 30%, transparent 75%); }

/* scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 100; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, #8b5cf6, #67e8f9, #c4b5fd); box-shadow: 0 0 12px rgba(139, 92, 246, .8); pointer-events: none; }

/* type */
h1, h2, h3 { letter-spacing: -.035em; }
h1 { font-weight: 750; line-height: 1.02; }
h2 { font-weight: 700; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; }
.grad { background: var(--grad-text); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 9s linear infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; padding: .45em .95em .45em .75em; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(255, 255, 255, .035); color: #d9ceff; letter-spacing: .14em; font-size: .7rem;
  backdrop-filter: blur(8px); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); }
.center .eyebrow, .section-head.center .eyebrow { margin-left: auto; margin-right: auto; }
.section-head.center { display: flex; flex-direction: column; align-items: center; }
p.lead, .p-hero .lead, .home-hero .lead { color: #b9b4c9; }

/* floating glass navigation */
header.nav { position: sticky; top: 0; z-index: 60; padding: 12px 16px 0; background: transparent; border: 0; backdrop-filter: none; }
.nav .wrap { max-width: 1220px; height: 62px; padding: 0 12px 0 20px; border-radius: 18px; border: 1px solid var(--border);
  background: rgba(12, 10, 20, .55); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: height .35s var(--ease), background .35s ease, box-shadow .35s ease; }
header.nav.scrolled .wrap { height: 54px; background: rgba(12, 10, 20, .78); box-shadow: 0 16px 50px -18px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06); }
.brand { gap: .65em; }
.brand img { width: 28px; height: 28px; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.brand .word { font-weight: 800; font-size: 1rem; letter-spacing: .2em; }
.nav-links { gap: 6px; }
.nav-links a:not(.btn) { position: relative; padding: 8px 12px; border-radius: 10px; color: var(--muted); transition: color .2s ease, background .2s ease; }
.nav-links a:not(.btn):hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-links .btn { margin-left: 6px; }

/* product switcher */
.product-bar { background: transparent; border: 0; }
.product-bar .wrap { justify-content: center; padding-top: 14px; padding-bottom: 4px; }
.product-bar a { border: 1px solid transparent; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s var(--ease); }
.product-bar a:hover { transform: translateY(-1px); background: rgba(255, 255, 255, .045); }
.product-bar a[aria-current="page"] { background: rgba(139, 92, 246, .14); border-color: rgba(187, 166, 255, .35); color: #fff;
  box-shadow: 0 0 24px -8px rgba(139, 92, 246, .8); }
@media (max-width: 860px) { .product-bar .wrap { justify-content: flex-start; } }

/* buttons */
.btn { position: relative; overflow: hidden; isolation: isolate; border-radius: 12px; font-weight: 650; letter-spacing: -.005em;
  transition: transform .25s var(--ease), box-shadow .3s ease, background .3s ease, border-color .3s ease; will-change: transform; }
.btn-primary { background: var(--grad); box-shadow: 0 10px 34px -12px rgba(124, 58, 237, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%);
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%); transition: transform .8s var(--ease); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 16px 44px -12px rgba(124, 58, 237, 1), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--border-strong); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(187, 166, 255, .55); background: rgba(139, 92, 246, .1); }
.btn .arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* glass surfaces with a cursor spotlight (motion.js sets --mx / --my) */
.card, .pcard, .plan, .faq details, table.plain, .req .chip, .doc-toc, table.keys, .bento > a {
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  border: 1px solid var(--border); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.card, .pcard, .plan, .bento > a { position: relative; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  transition: transform .45s var(--ease), border-color .3s ease, box-shadow .45s var(--ease); }
.card::before, .pcard::before, .plan::before, .bento > a::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(167, 139, 250, .16), transparent 42%);
}
.card::after, .pcard::after, .plan::after, .bento > a::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(206, 192, 255, .75), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.card:hover, .pcard:hover, .plan:hover, .bento > a:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .14);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(139, 92, 246, .08); }
.card:hover::before, .pcard:hover::before, .plan:hover::before, .bento > a:hover::before,
.card:hover::after, .pcard:hover::after, .plan:hover::after, .bento > a:hover::after { opacity: 1; }
.card { padding: 28px; }
.card .ico { width: 46px; height: 46px; border-radius: 13px; margin-bottom: 18px; font-size: 1.25rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, .3), rgba(99, 102, 241, .12)); border: 1px solid rgba(187, 166, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 8px 24px -10px rgba(139, 92, 246, .7); transition: transform .5s var(--ease); }
.card:hover .ico { transform: translateY(-2px) rotate(-6deg) scale(1.06); }
.card h3 { font-size: 1.08rem; letter-spacing: -.02em; }

/* sections */
section { padding: 104px 0; }
.sec-alt { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .02) 18%, rgba(255, 255, 255, .02) 82%, transparent); border-color: transparent; }
.section-head { margin-bottom: 56px; }
.center p.sub { color: var(--muted); }
.trust { background: transparent; border-color: transparent; }
.trust .wrap { gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.trust span { padding: .55em 1.05em; border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, .03); backdrop-filter: blur(8px); }
.trust b { color: #9ff3d4; }

/* hero (product pages and the Matte page) */
.p-hero, .hero { padding: 64px 0 96px; overflow: visible; }
.p-hero::before, .hero::before { background: radial-gradient(50% 55% at 50% 0%, rgba(139, 92, 246, .22), transparent 70%); }
.p-hero h1, .hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
.p-logo { width: 68px; height: 68px; border-radius: 18px; animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-glow { position: absolute; left: 0; top: 0; width: 620px; height: 620px; margin: -310px 0 0 -310px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(139, 92, 246, .18), transparent); opacity: 0; transition: opacity .6s ease; }
.hero-glow.on { opacity: 1; }
.p-hero .wrap, .hero .wrap, .home-hero .wrap { position: relative; z-index: 1; }

/* screenshots and mock-ups: perspective frame with a glow (motion.js tilts them) */
.shot, figure.mock .tvframe, .demo-stage { border-radius: 18px; border: 1px solid var(--border-strong);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .02), 0 0 80px -30px rgba(139, 92, 246, .55); }
.shot figcaption, .demo-stage figcaption { background: rgba(10, 9, 16, .85); border-top-color: var(--border); }
.tilt { transform-style: preserve-3d; transition: transform .6s var(--ease); will-change: transform; }
.tilt-wrap { perspective: 1400px; }
.hero-visual, .p-hero figure { position: relative; }
.hero-visual::before, .p-hero .hero-grid > figure::before { content: ""; position: absolute; inset: 10% 6% -6%; z-index: -1; border-radius: 40px;
  background: radial-gradient(60% 60% at 50% 50%, rgba(139, 92, 246, .45), transparent 70%); filter: blur(40px); opacity: .8; }

/* FAQ */
.faq details { border-radius: 16px; padding: 20px 24px; transition: border-color .3s ease, background .3s ease; }
.faq details[open] { border-color: rgba(187, 166, 255, .3); background: linear-gradient(180deg, rgba(139, 92, 246, .08), rgba(255, 255, 255, .015)); }
.faq summary::after { transition: transform .35s var(--ease); }
.faq details[open] summary::after { content: "+"; transform: rotate(45deg); }
.faq details .faq-body { overflow: hidden; }

/* pricing (Matte) */
.plan { border-radius: 22px; padding: 32px; }
.plan.featured { border-color: transparent; background: linear-gradient(180deg, rgba(139, 92, 246, .14), rgba(255, 255, 255, .02)); }
.plan.featured > * { position: relative; z-index: 1; }
.plan.featured::after { opacity: 1; padding: 1.5px; animation: spin-border 6s linear infinite;
  background: conic-gradient(from var(--a, 0deg), rgba(196, 181, 253, .9), rgba(99, 102, 241, .2), rgba(103, 232, 249, .8), rgba(99, 102, 241, .2), rgba(196, 181, 253, .9)); }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin-border { to { --a: 360deg; } }
.plan .price { font-size: 3rem; background: linear-gradient(180deg, #fff, #cfc3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* call-to-action band: animated gradient border card */
.cta-band { background: transparent; border: 0; padding: 40px 0 120px; }
.cta-band .wrap { position: relative; max-width: 1100px; padding: 72px 32px; border-radius: 32px; overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 120% at 50% 0%, rgba(139, 92, 246, .28), transparent 60%), rgba(255, 255, 255, .025);
  border: 1px solid var(--border); }
.cta-band .wrap::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1; pointer-events: none;
  background: conic-gradient(from var(--a, 0deg), transparent 0deg, rgba(196, 181, 253, .9) 60deg, transparent 120deg, transparent 240deg, rgba(103, 232, 249, .6) 300deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: spin-border 8s linear infinite; }
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }

/* footer with a large wordmark */
footer { background: transparent; border-top: 1px solid var(--border); padding-top: 64px; position: relative; overflow: hidden; }
footer .brand img { width: 30px; height: 30px; }
footer a { transition: color .2s ease, transform .2s var(--ease); }
footer .cols a:hover { color: var(--text); transform: translateX(3px); }
.giant-mark { display: block; text-align: center; font-weight: 900; letter-spacing: -.02em; line-height: .8; user-select: none;
  font-size: clamp(5rem, 22vw, 20rem); margin: 40px 0 -0.12em; color: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 80%); -webkit-background-clip: text; background-clip: text; }

/* reveal on scroll (classes added by motion.js only) */
.rv { opacity: 0; transform: translate3d(0, 28px, 0); filter: blur(8px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i, 0) * 75ms); }
.rv.in { opacity: 1; transform: none; filter: none; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transform: translate3d(0, 105%, 0); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms + 80ms); }
@keyframes rise { to { transform: none; } }
.fade-up { opacity: 0; animation: fade-up 1s var(--ease) forwards; animation-delay: var(--d, .4s); }
@keyframes fade-up { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }

/* marquee */
.marquee { position: relative; overflow: hidden; padding: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee .track { display: flex; width: max-content; gap: 48px; animation: marquee 46s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; color: #c9c3da; font-size: 1rem; font-weight: 550; }
.marquee span::before { content: "\2726"; color: var(--brand); font-size: .8rem; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* stats */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpis > div { padding: 30px 26px; border-radius: 22px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01)); }
.kpis b { display: block; font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1;
  background: linear-gradient(180deg, #fff 20%, #b9a2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kpis span { display: block; margin-top: 10px; color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) { .kpis { grid-template-columns: repeat(2, 1fr); } }

/* tick lists */
.ticks li::before { content: ""; width: 18px; height: 18px; top: .2em; border-radius: 50%;
  background: rgba(139, 92, 246, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4b5fd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(187, 166, 255, .3); }
.ticks li { padding-left: 2em; }
.limits li::before { box-shadow: 0 0 12px rgba(255, 196, 107, .6); }
.req .chip { border-radius: 999px; }
table.plain { border-radius: 18px; }

/* mock-ups float gently */
figure.mock .tvframe { animation: drift 9s ease-in-out infinite; }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

@media (max-width: 640px) {
  header.nav { padding: 8px 10px 0; }
  .nav .wrap { height: 56px; padding: 0 8px 0 14px; border-radius: 16px; }
  .nav-links a.hide-sm { display: none; }
  section { padding: 76px 0; }
  .cta-band .wrap { margin: 0 16px; padding: 52px 22px; border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  body::before, .grad, .marquee .track, .p-logo, figure.mock .tvframe, .plan.featured::after, .cta-band .wrap::before { animation: none !important; }
  .rv { opacity: 1 !important; transform: none !important; filter: none !important; }
  .split-words .w > span, .fade-up { animation: none !important; transform: none !important; opacity: 1 !important; }
}

/* the nav's own link colour must not dim its call-to-action button */
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; }
.nav-links a.btn-ghost { color: var(--text); }
