@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root{
  --bg:#0d0f12;
  --panel:#12151a;
  --panel-2:#171a20;
  --panel-3:#1c2027;
  --text:#f4f6f8;
  --muted:#959da8;
  --muted-2:#6f7782;
  --accent:#2f7df6;
  --accent-2:#1f6ee5;
  --border:#262b33;
  --border-strong:#323842;
  --success:#4fb980;
  --radius:9px;
  --shadow:0 24px 70px rgba(0,0,0,.34);
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
html{scroll-behavior:smooth}
body{
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:clip;
}

.navbar{
  position:fixed;inset:0 0 auto 0;height:62px;
  display:flex;align-items:center;padding:0 max(24px,calc((100vw - 1240px)/2));
  background:rgba(13,15,18,.94);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  z-index:50;border-bottom:1px solid var(--border);
}
.logo{
  color:var(--text);font-weight:650;letter-spacing:-.02em;font-size:1rem;
  display:flex;align-items:center;
}
/* The classes are named after the logo's own colour, the files after their theme: logo-light (vidnexia-dark.svg) is the light logo for
   the dark theme, logo-dark is swapped in by theme-light.css. */
.logo-img{display:block;height:28px;width:auto}
.logo-img.logo-dark{display:none}

.nav-links{margin-left:auto;display:flex;align-items:center;gap:5px;justify-content:flex-end}
.nav-link{
  color:#aeb5bf;text-decoration:none;font-size:.9rem;font-weight:500;
  padding:8px 10px;border-radius:7px;transition:background-color .14s ease,color .14s ease;
}
.nav-link:hover{color:#fff;background:#181b20}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:9px 14px;border-radius:7px;font-size:.9rem;font-weight:600;
  text-decoration:none;transition:background-color .14s ease,border-color .14s ease,color .14s ease;
  border:1px solid transparent;cursor:pointer;font-family:inherit;
}
.btn-outline{border-color:var(--border-strong);color:#e0e4e9;background:#14171b}
.btn-outline:hover{border-color:#464e59;background:#1a1e24;color:#fff}
.btn-ghost{background:#181c22;color:#dbe0e6;border-color:#242a31}
.btn-ghost:hover{background:#20252c;color:#fff}

.hero{
  min-height:100vh;padding:132px 24px 96px;
  display:flex;align-items:center;
}
.hero-shell{
  width:min(1240px,100%);margin:0 auto;display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(620px,1.05fr);
  gap:64px;align-items:center;
}
.hero-content{max-width:600px}
.section-label{
  color:#8d96a2;font-size:.75rem;font-weight:650;text-transform:uppercase;
  letter-spacing:.12em;margin-bottom:18px;
}
.hero h1{
  max-width:680px;font-size:clamp(2.65rem,4.6vw,4.75rem);line-height:1.02;
  letter-spacing:-.055em;font-weight:650;color:var(--text);
}
.tagline{
  margin:26px 0 30px;max-width:520px;color:#aab1bb;
  font-size:1.05rem;line-height:1.7;
}
.cta-row{display:flex;align-items:center;justify-content:flex-start;gap:10px}
.btn-primary{
  position:relative;overflow:hidden;padding:10px 16px;border-radius:7px;
  background:var(--accent);border-color:var(--accent);color:#fff;
}
.btn-primary:hover{background:var(--accent-2);border-color:var(--accent-2)}
.btn-primary:focus-visible,.btn-subtle:focus-visible,.btn-outline:focus-visible,.nav-link:focus-visible{
  outline:3px solid rgba(47,125,246,.22);outline-offset:2px;
}
.btn-subtle{padding:10px 16px;border-radius:7px;background:#171a1f;color:#d7dce2;border:1px solid var(--border-strong)}
.btn-subtle:hover{background:#1e2228;border-color:#454c57;color:#fff}
.orb{display:none}

.product-window{
  border:1px solid #2a3038;background:#101318;border-radius:11px;overflow:hidden;
  box-shadow:var(--shadow);min-width:0;
}
.product-topbar{
  height:48px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;
  padding:0 14px;border-bottom:1px solid var(--border);background:#12151a;
  font-size:.77rem;color:#949ca7;
}
.product-brand{color:#d8dde3;font-weight:600}
.product-project{color:#c6ccd4;font-weight:550}
.product-state{justify-self:end;color:#8f98a4}
.product-body{display:grid;grid-template-columns:118px 1fr;min-height:470px}
.product-sidebar{padding:15px 10px;border-right:1px solid var(--border);background:#0f1216}
.sidebar-label{font-size:.64rem;color:#616a76;text-transform:uppercase;letter-spacing:.12em;padding:6px 9px 9px}
.sidebar-item{font-size:.75rem;color:#7f8894;padding:8px 9px;border-radius:6px;margin-bottom:2px}
.sidebar-item.active{color:#e9edf2;background:#1b2027}
.product-main{padding:18px;display:flex;flex-direction:column;gap:13px;min-width:0}
.project-summary,.render-row{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:11px 13px;border:1px solid var(--border);background:#14181d;border-radius:7px;
}
.project-summary>div:first-child,.render-row>div:first-child{display:flex;flex-direction:column;gap:4px}
.project-summary strong,.render-row strong{font-size:.78rem;font-weight:600;color:#e2e6eb}
.summary-label{font-size:.61rem;text-transform:uppercase;letter-spacing:.1em;color:#69727e}
.summary-meta{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.summary-meta span,.render-pill{
  font-size:.66rem;color:#a8b0ba;background:#1b2026;border:1px solid #292f37;border-radius:5px;padding:5px 7px;
}
.work-modes{display:grid;grid-template-columns:1fr 1.25fr;gap:10px}
.mode-card{border:1px solid var(--border);border-radius:7px;background:#14181d;padding:12px;min-width:0}
.mode-card.selected{border-color:#315a94;background:#151b24}
.mode-head{display:flex;align-items:center;gap:9px}
.mode-icon{
  width:29px;height:29px;border:1px solid #343b45;border-radius:6px;display:flex;align-items:center;justify-content:center;
  font-size:.64rem;font-weight:700;color:#b6bec8;background:#1c2128;flex:0 0 29px;
}
.selected .mode-icon{border-color:#315a94;color:#d7e7ff;background:#182840}
.mode-head>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.mode-head strong{font-size:.75rem;color:#e3e7ec}
.mode-head span:not(.mode-icon){font-size:.62rem;color:#737d89}
.mode-lines{margin-top:18px;display:flex;gap:5px;flex-wrap:wrap}
.mode-lines span{font-size:.61rem;color:#8d96a2;border:1px solid #292f36;background:#191d22;padding:4px 6px;border-radius:4px}
.mode-prompt{font-size:.68rem;color:#b2bac4;line-height:1.45;margin:14px 0 10px;padding:9px 10px;background:#10151c;border:1px solid #26354a;border-radius:5px}
.review-status{font-size:.62rem;color:#9dbce9}
.timeline-preview{border:1px solid var(--border);border-radius:7px;background:#111419;overflow:hidden}
.timeline-head{display:flex;justify-content:space-between;gap:12px;padding:9px 11px;border-bottom:1px solid var(--border);font-size:.63rem;color:#737c87}
.timeline-head span:first-child{color:#bec5cd;font-weight:600}
.timeline-ruler{display:flex;justify-content:space-between;padding:7px 11px 5px 58px;font-size:.54rem;color:#505964}
.timeline-row{display:grid;grid-template-columns:50px 1fr;gap:8px;align-items:center;padding:4px 10px 5px}
.timeline-row:last-child{padding-bottom:10px}
.timeline-row b{font-size:.56rem;font-weight:500;color:#707986}
.track{height:18px;position:relative;background:#0d1014;border-radius:3px;overflow:hidden}
.track i{position:absolute;top:2px;height:14px;border-radius:2px;display:block}
.clip{background:#263c59;border:1px solid #34547c}
.layer{background:#29323f;border:1px solid #3b4859}
.audio{background:#253a33;border:1px solid #376050}
.c1{left:1%;width:21%}.c2{left:23%;width:18%}.c3{left:42%;width:31%}.c4{left:74%;width:25%}
.l1{left:5%;width:18%}.l2{left:31%;width:32%}.l3{left:68%;width:22%}
.a1{left:3%;width:86%}
.render-pill{display:flex;align-items:center;white-space:nowrap}

.features{padding:84px 24px 112px;border-top:1px solid #181c21;background:#0f1115}
.feature{width:min(1040px,100%);margin:0 auto}
.feature-heading{display:grid;grid-template-columns:170px minmax(0,1.2fr) minmax(320px,.8fr);gap:32px;align-items:start;padding-bottom:34px;border-bottom:1px solid var(--border)}
.feature-heading .section-label{margin:5px 0 0}
.feature-heading h2{font-size:clamp(1.7rem,3vw,2.55rem);line-height:1.15;letter-spacing:-.04em;font-weight:600;color:#eef1f4}
.feature-heading>p:last-child{font-size:.94rem;line-height:1.7;color:#9099a5}
.product-facts{display:flex;flex-direction:column}
.fact-row{display:grid;grid-template-columns:170px 1fr;gap:32px;padding:25px 0;border-bottom:1px solid var(--border)}
.fact-name{font-size:.76rem;color:#78818d;font-weight:600}
.fact-row>div{display:grid;grid-template-columns:220px minmax(0,1fr);gap:34px;align-items:start}
.fact-row strong{font-size:.9rem;font-weight:600;color:#dfe4e9}
.fact-row p{font-size:.88rem;line-height:1.6;color:#858e9a}


.product-more{
  display:flex;
  justify-content:flex-end;
  padding-top:18px;
}

.product-more-link{
  display:inline-flex;
  align-items:center;
  color:#9aa4af;
  font-size:.82rem;
  font-weight:550;
  text-decoration:none;
  white-space:nowrap;
  transition:color .14s ease;
}

.product-more-link:hover{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:4px;
}

.site-footer{border-top:1px solid var(--border);padding:26px 24px;text-align:center;color:#656e79;background:#0c0e11;font-size:.78rem}
.site-footer a{color:#8f98a4;text-decoration:none;transition:color .14s ease}
.site-footer a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}

@media (max-width:1050px){
  .hero-shell{grid-template-columns:1fr;gap:50px}.hero-content{max-width:690px}.product-window{max-width:820px;width:100%}
  .feature-heading{grid-template-columns:130px 1fr}.feature-heading>p:last-child{grid-column:2}.fact-row{grid-template-columns:130px 1fr}
}

@media (max-width:760px){
  .navbar{padding:0 18px}.hero{padding:105px 18px 68px}.hero h1{font-size:clamp(2.7rem,14vw,4.6rem)}
  .product-body{grid-template-columns:1fr}.product-sidebar{display:none}.product-main{padding:12px}.work-modes{grid-template-columns:1fr}
  .product-topbar{grid-template-columns:1fr auto}.product-project{display:none}.timeline-head span:last-child{display:none}
  .features{padding:64px 18px 82px}.feature-heading{grid-template-columns:1fr;gap:14px}.feature-heading>p:last-child{grid-column:auto}
  .product-more{justify-content:flex-start;padding-top:16px}
  .feature-heading .section-label{margin:0}.fact-row{grid-template-columns:1fr;gap:10px}.fact-row>div{grid-template-columns:1fr;gap:7px}
}

@media (max-width:600px){
  .nav-link[href="#features"],.btn-ghost[href="/dashboard"]{display:none!important}
  html,body{-webkit-overflow-scrolling:touch;overflow-x:hidden;backface-visibility:hidden;transform:none!important;perspective:1000px}
  body{background:var(--bg);background-attachment:scroll!important}
  .navbar{position:sticky;top:0;z-index:99;height:60px;padding:0 4%;background:rgba(13,15,18,.96);border-bottom:1px solid var(--border);will-change:opacity,transform}
  .logo{font-size:.96rem}.nav-links{gap:2px;transform:none}.nav-link,.btn-ghost,.btn-outline{font-size:.84rem;padding:.58rem .72rem;border-radius:6px}
  .hero{min-height:auto;padding:58px 16px 56px;display:block}.hero-shell{gap:42px}.hero h1{font-size:clamp(2.7rem,15vw,4rem);line-height:.99}.tagline{font-size:.95rem;line-height:1.62;margin:22px 0 26px}
  .cta-row{display:flex;flex-direction:column;gap:9px;width:100%;align-items:stretch}.btn-primary,.btn-subtle{width:100%;padding:11px 14px;font-size:.92rem;border-radius:7px}
  .product-window{border-radius:8px}.product-topbar{height:43px;padding:0 11px}.product-state{font-size:.64rem}.project-summary,.render-row{align-items:flex-start}.summary-meta{max-width:130px}
  .timeline-ruler{padding-left:48px}.timeline-row{grid-template-columns:40px 1fr;padding-left:8px;padding-right:8px}.render-row{flex-direction:column}.render-pill{align-self:flex-start}
  #policy-main{display:none!important}
}

.btn-primary::after{content:none}.btn-primary.shing{background:var(--accent-2);border-color:var(--accent-2)}
