/* GenLabAI landing — styles.css */
:root{
  --bg0:#070B14;
  --bg1:#0B1022;
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.70);
  --muted2:rgba(255,255,255,.55);
  --green:#2DFF9A;
  --blue:#55B5FF;
  --violet:#B56CFF;
  --shadow:0 18px 60px rgba(0,0,0,.55);
  --r2:26px;
  --max:1120px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background: radial-gradient(1200px 700px at 20% 0%, rgba(76,138,255,.16), transparent 55%),
              radial-gradient(900px 600px at 80% 10%, rgba(181,108,255,.16), transparent 60%),
              radial-gradient(900px 700px at 50% 90%, rgba(45,255,154,.10), transparent 60%),
              linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
.container{width:min(var(--max), calc(100% - 40px)); margin:0 auto}
.muted{color:var(--muted)}
.tiny{font-size:12px; line-height:1.4}
.w100{width:100%}

/* Background */
.bg{position:fixed; inset:0; pointer-events:none; z-index:-2}
.grain{
  position:absolute; inset:-80px;
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="260" height="260"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency=".7" numOctaves="3" stitchTiles="stitch"/></filter><rect width="260" height="260" filter="url(%23n)" opacity=".35"/></svg>');
  mix-blend-mode:overlay; opacity:.22;
}
.glow{position:absolute; width:520px; height:520px; border-radius:50%; filter: blur(40px); opacity:.35}
.glow-a{left:-120px; top:-120px; background: rgba(85,181,255,.38)}
.glow-b{right:-140px; top:120px; background: rgba(45,255,154,.22)}

/* Topbar */
.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(10,14,28,.68), rgba(10,14,28,.30));
  border-bottom:1px solid rgba(255,255,255,.08);
}
.topbar__inner{display:flex; align-items:center; gap:18px; padding:14px 0}
.brand{display:flex; align-items:center; min-width:180px}
.brand__logo{height:44px; width:auto; display:block; filter: drop-shadow(0 12px 30px rgba(0,0,0,.35))}
.nav{display:flex; gap:10px; margin-left:auto; flex-wrap:wrap; justify-content:flex-end}
.nav a{color:var(--muted); font-weight:700; font-size:13px; padding:9px 10px; border-radius:12px}
.nav a:hover{color:var(--text); background: rgba(255,255,255,.06)}
.topbar__cta{display:flex; gap:10px; margin-left:10px}

.burger{
  display:none; margin-left:auto;
  width:44px; height:44px; border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  cursor:pointer;
}
.burger span{display:block; height:2px; width:18px; margin:5px auto; background: rgba(255,255,255,.78); border-radius:2px}
.mobileNav{display:none; padding:10px 20px 18px; border-top:1px solid rgba(255,255,255,.08)}
.mobileNav a{display:block; padding:12px 12px; border-radius:14px; color:var(--muted); font-weight:800}
.mobileNav a:hover{background: rgba(255,255,255,.06); color:var(--text)}
.mobileNav .btn{margin-top:10px}

/* Buttons */
.btn{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:var(--text);
  padding:11px 14px;
  border-radius:16px;
  font-weight:900;
  cursor:pointer;
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{transform: translateY(-1px); border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.08)}
.btn:active{transform: translateY(0)}
.btn--primary{
  border-color: rgba(45,255,154,.35);
  background: linear-gradient(180deg, rgba(45,255,154,.22), rgba(0,211,122,.10));
  box-shadow: 0 18px 55px rgba(0,0,0,.35), 0 0 0 1px rgba(45,255,154,.12) inset;
}
.btn--primary:hover{background: linear-gradient(180deg, rgba(45,255,154,.28), rgba(0,211,122,.14))}
.btn--ghost{background: rgba(255,255,255,.04)}
.btnSmall{padding:9px 12px;border-radius:14px;font-size:13px}

/* Card */
.card{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  border-radius: var(--r2);
  box-shadow: var(--shadow);
}
.card--glass{
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.04));
  backdrop-filter: blur(10px);
}


/* SVG icons */
.iconSvg{
  width: 40px;
  height: 40px;
  display:block;
}
.iconSvg--sm{
  width: 20px;
  height: 20px;
}
.node__icon{
  width:24px;
  height:24px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.feature__icon,
.integ__icon,
.aIcon{
  display:flex;
  align-items:center;
  justify-content:center;
}
.aIcon .iconSvg--sm,
.integ__icon .iconSvg--sm,
.feature__icon .iconSvg--sm{
  width: 40px;
  height: 40px;
}

/* Hero */
.hero{padding:44px 0 26px}
.hero__grid{display:grid; grid-template-columns: 1.1fr .9fr; gap:22px; align-items:stretch}
.pill{
  display:inline-flex; align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color:var(--muted);
  font-weight:800;
  font-size:13px;
}
h1{margin:14px 0 12px; font-size:44px; letter-spacing:-.03em; line-height:1.05}
.accent{
  background: linear-gradient(90deg, var(--blue), var(--violet), var(--green));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.lead{font-size:16px; line-height:1.6; color:var(--muted)}
.hero__actions{display:flex; gap:10px; margin:18px 0}
.hero__meta{display:grid; grid-template-columns: repeat(3, 1fr); gap:10px; margin-top:8px}
.kpi{border:1px solid rgba(255,255,255,.10); border-radius:18px; padding:12px; background: rgba(0,0,0,.16)}
.kpi__num{font-weight:900; font-size:16px}
.kpi__label{margin-top:4px; color:var(--muted2); font-size:12px; line-height:1.35}

/* Flow card */
.hero__card{min-height:520px}
.card__head{display:flex; align-items:center; justify-content:space-between; padding:16px 16px 0}
.card__title{font-weight:900}
.card__badge{
  font-size:12px; font-weight:900;
  padding:7px 10px; border-radius:999px;
  border:1px solid rgba(45,255,154,.22);
  background: rgba(45,255,154,.10);
}
.flow{padding:14px 16px 16px}
.flow__row{display:flex; gap:10px; margin-top:10px}
.arrow{
  width:44px; display:flex; align-items:center; justify-content:center;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.14);
  color: rgba(255,255,255,.75);
  font-weight:900;
}
.node{
  flex:1;
  padding:12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}
.node__icon{font-size:18px}
.node__title{margin-top:6px; font-weight:900}
.node__desc{margin-top:4px; color:var(--muted2); font-size:12px; line-height:1.35}
.node--cta{border-color: rgba(45,255,154,.22); box-shadow: 0 0 0 1px rgba(45,255,154,.08) inset}
.flow__footer{margin-top:12px}
.ctaLine{
  display:flex; flex-wrap:wrap; gap:10px; align-items:center;
  padding:12px;
  border-radius:18px;
  border:1px solid rgba(45,255,154,.20);
  background: linear-gradient(180deg, rgba(45,255,154,.14), rgba(0,211,122,.06));
}
.ctaLine__label{font-weight:900; font-size:13px}
.ctaLine__pill{
  padding:7px 10px; border-radius:999px;
  background: rgba(0,0,0,.16);
  border:1px solid rgba(255,255,255,.10);
  font-weight:900; font-size:13px;
}
.card__foot{padding:0 16px 16px}

/* Sections */
.section{padding:44px 0}
.section--tight{padding:34px 0}
.section__head{display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom:18px}

/* v9 patch: section descriptions under headings */
.section__head{
  display:block !important;
  margin-bottom: 18px;
}
.section__head h2{
  margin:0;
}
.section__head p{
  margin:8px 0 0 0 !important;
  max-width: 760px !important;
  text-align:left !important;
}

h2{margin:0; font-size:28px; letter-spacing:-.02em}
.section__head p{margin:0; max-width:520px}

.steps{display:grid; grid-template-columns: repeat(4, 1fr); gap:12px}
.step{padding:14px}
.step__n{
  width:34px; height:34px; display:flex; align-items:center; justify-content:center;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  font-weight:900;
}
.step__t{margin-top:10px; font-weight:900}
.step__d{margin-top:6px; color:var(--muted); font-size:13px; line-height:1.45}

.grid3{display:grid; grid-template-columns: repeat(3, 1fr); gap:12px}
.feature{padding:14px}
.feature__icon{font-size:18px}
.feature__t{margin-top:10px; font-weight:900; text-align: center;}
.feature__d{margin-top:6px; color:var(--muted); font-size:13px; line-height:1.45}

/* Examples */
.examples{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.post{padding:16px}
.post__top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.post__tag{font-size:12px;font-weight:900;padding:7px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(0,0,0,.16)}
.post__tag--violet{border-color:rgba(181,108,255,.30);background:rgba(181,108,255,.10)}
.post__tag--green{border-color:rgba(45,255,154,.28);background:rgba(45,255,154,.10)}
.post__meta{color:var(--muted2);font-weight:800;font-size:12px}
.post__title{margin:12px 0 8px;font-size:16px;letter-spacing:-.01em}
.post__text{margin:0;color:var(--muted);line-height:1.6;font-size:13px}
.post__bullets{margin-top:10px;display:grid;gap:6px;color:var(--muted2);font-weight:700;font-size:12px}
.post__cta{margin-top:12px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.post__ctaLabel{font-weight:900;font-size:12px;color:var(--muted2)}
.post__ctaPill{padding:7px 10px;border-radius:999px;background:rgba(0,0,0,.16);border:1px solid rgba(255,255,255,.10);font-weight:900;font-size:12px}

/* Integrations */
.integrations{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.integ{padding:16px}
.integ__icon{font-size:18px}
.integ__t{margin-top:10px;font-weight:900; text-align: center;}
.integ__d{margin-top:6px;color:var(--muted);font-size:13px;line-height:1.6}
.integ__pillRow{margin-top:10px;display:flex;flex-wrap:wrap;gap:8px}
.pillMini{padding:7px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.10);background:rgba(0,0,0,.16);color:rgba(255,255,255,.86);font-weight:900;font-size:12px}
.codeMini{margin-top:10px;padding:12px;border-radius:18px;border:1px solid rgba(255,255,255,.10);background:rgba(0,0,0,.18);overflow:auto}
.codeMini code{color:rgba(255,255,255,.86);font-weight:800;font-size:12px;line-height:1.7}

/* Live demo */
.liveGrid{display:grid;grid-template-columns:1.05fr .95fr;gap:12px;align-items:stretch}
.livePanel,.livePreview{padding:16px}
.liveHead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.liveTitle{font-weight:900}
.liveControls{display:flex;gap:8px}
.liveBadge{padding:7px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.10);background:rgba(0,0,0,.16);font-weight:900;font-size:12px}
.liveList{display:grid;gap:8px;max-height:360px;overflow:auto;padding-right:4px}
.item{padding:12px;border-radius:18px;border:1px solid rgba(255,255,255,.10);background:rgba(0,0,0,.18);cursor:pointer;transition:transform .12s ease,border-color .12s ease,background .12s ease}
.item:hover{transform:translateY(-1px);background:rgba(0,0,0,.22);border-color:rgba(255,255,255,.14)}
.item__top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.item__status{font-weight:900;font-size:12px;color:rgba(45,255,154,.85)}
.item__time{font-weight:800;font-size:12px;color:var(--muted2)}
.item__title{margin-top:6px;font-weight:900;font-size:13px;line-height:1.35}
.item__src{margin-top:6px;color:var(--muted);font-size:12px;line-height:1.4}
.liveFoot{margin-top:10px;font-size:12px}
.previewBody{padding:6px 2px 0}
.previewTitle{font-weight:900;font-size:16px;letter-spacing:-.01em}
.previewText{margin-top:8px;color:var(--muted);line-height:1.6;font-size:13px}
.previewCta{margin-top:12px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.previewCtaLabel{font-weight:900;font-size:12px;color:var(--muted2)}
.previewCtaPill{padding:7px 10px;border-radius:999px;background:rgba(0,0,0,.16);border:1px solid rgba(255,255,255,.10);font-weight:900;font-size:12px}

/* Pricing */
.pricing{display:grid; grid-template-columns: repeat(3, 1fr); gap:12px}
.price{padding:16px}
.price__head{display:flex; align-items:baseline; justify-content:space-between; gap:10px}
.price__name{font-weight:900; font-size:18px}
.price__tag{color:var(--muted2); font-size:12px; font-weight:900}
.price__val{margin:16px 0 8px; display:flex; align-items:baseline; gap:8px}
.price__num{font-size:34px; font-weight:900; letter-spacing:-.03em}
.price__per{color:var(--muted2); font-weight:900}
.list{margin:12px 0 16px; padding:0 0 0 18px; color:var(--muted); font-size:13px; line-height:1.7}
.price--featured{
  border-color: rgba(45,255,154,.26);
  box-shadow: 0 18px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(45,255,154,.10) inset;
  transform: translateY(-6px);
}
.hint{margin-top:10px; color:rgba(45,255,154,.85); font-weight:900; font-size:12px}
.note{margin-top:14px; padding:16px}
.note__title{font-weight:900}
.note__text{margin-top:6px; color:var(--muted); line-height:1.6}

/* FAQ */
.faq{display:grid; gap:12px}
details{padding:14px}
summary{cursor:pointer; font-weight:900; list-style:none}
summary::-webkit-details-marker{display:none}
.faq__a{margin-top:8px; color:var(--muted); line-height:1.6; font-size:13px}

/* Footer */
.footer{
  margin-top:18px;
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:16px;
  border-radius: var(--r2);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
}
.footer__brand{font-weight:900}

/* Modal */
.modal{position:fixed; inset:0; z-index:80}
.modal__backdrop{position:absolute; inset:0; background: rgba(0,0,0,.55); backdrop-filter: blur(6px)}
.modal__panel{
  position:relative;
  width:min(860px, calc(100% - 28px));
  margin: 90px auto 24px;
  padding:16px;
}
.modal__head{display:flex; align-items:flex-start; justify-content:space-between; gap:12px}
.modal__title{font-weight:900; font-size:18px}
.iconBtn{
  width:42px; height:42px; border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:var(--text);
  cursor:pointer;
}
.iconBtn:hover{background: rgba(255,255,255,.08)}
.form{margin-top:12px}
.form__row{display:grid; grid-template-columns: 1fr 1fr; gap:10px}
.field{display:flex; flex-direction:column; gap:6px; margin-top:10px}
.field span{color:var(--muted2); font-weight:900; font-size:12px}
input, textarea{
  width:100%;
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.20);
  color:var(--text);
  outline:none;
}
input:focus, textarea:focus{border-color: rgba(45,255,154,.26); box-shadow: 0 0 0 3px rgba(45,255,154,.10)}
.form__actions{display:flex; gap:10px; margin-top:14px}


/* Analytics section */
.analyticsGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.aCard{padding:16px}
.aTop{display:flex; gap:12px; align-items:flex-start}
.aIcon{
  width:40px;height:40px;border-radius:16px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  font-size:18px;
}
.aTitle{font-weight:900}
.aSub{margin-top:3px; font-size:12px; font-weight:800}
.aBig{margin-top:14px; display:flex; align-items:baseline; gap:10px}
.aNum{font-weight:900; font-size:34px; letter-spacing:-.03em}
.aNote{font-weight:900; font-size:12px}
.aMiniRow{margin-top:12px; display:grid; grid-template-columns: repeat(3,1fr); gap:8px}
.miniStat{
  padding:10px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
}
.miniStat__k{color:var(--muted2); font-weight:900; font-size:11px}
.miniStat__v{margin-top:5px; font-weight:900; font-size:14px}
.aLine{margin-top:12px; font-size:12px; line-height:1.55}

/* Live tabs + metrics */
.liveTabs{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:8px;
}
.tab{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.14);
  color: rgba(255,255,255,.85);
  padding:9px 12px;
  border-radius:14px;
  font-weight:900;
  cursor:pointer;
}
.tab:hover{background: rgba(0,0,0,.18)}
.tab--active{
  border-color: rgba(45,255,154,.22);
  background: rgba(45,255,154,.10);
  color: rgba(255,255,255,.95);
}
.seg{
  margin-left:auto;
  display:flex;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.14);
}
.seg__btn{
  padding:9px 12px;
  border:0;
  background: transparent;
  color: rgba(255,255,255,.80);
  font-weight:900;
  cursor:pointer;
}
.seg__btn--active{
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.95);
}
.panel{display:none; margin-top:10px}
.panel--active{display:block}
.metricsGrid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:8px;
}
.metric{
  padding:12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
}
.metric__k{color:var(--muted2); font-weight:900; font-size:11px}
.metric__v{margin-top:6px; font-weight:900; font-size:18px}
.metric__d{margin-top:4px; color:var(--muted); font-size:12px; line-height:1.4}


/* Responsive */
@media (max-width: 980px){
  .analyticsGrid{grid-template-columns:1fr}

  .hero__grid{grid-template-columns: 1fr}
  h1{font-size:38px}
  .hero__card{min-height:auto}
  .steps{grid-template-columns: repeat(2, 1fr)}
  .grid3{grid-template-columns: repeat(2, 1fr)}
  .examples{grid-template-columns:1fr}
  .integrations{grid-template-columns:1fr}
  .liveGrid{grid-template-columns:1fr}
  .pricing{grid-template-columns: 1fr}
  .price--featured{transform:none}
}
@media (max-width: 720px){
  .nav, .topbar__cta{display:none}
  .burger{display:block}
  .mobileNav{display:block}
  .hero{padding-top:24px}
  h1{font-size:32px}
  .hero__meta{grid-template-columns:1fr}
  .steps{grid-template-columns: 1fr}
  .grid3{grid-template-columns: 1fr}
  .form__row{grid-template-columns: 1fr}
}


/* v6 patch: center SVG icons inside the first flow block cards */
.flow .node{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.flow .node__icon{
  width:100%;
  height:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 0px;
}
.flow .node__icon .iconSvg{
  width:40px;
  height:40px;
  margin:0 auto;
  flex:0 0 auto;
}


/* v8 patch: premium thin neon scrollbar for live demo queue */
.liveList{
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: rgba(181,108,255,.80) rgba(255,255,255,.04);
}

/* WebKit browsers */
.liveList::-webkit-scrollbar{
  width: 6px;
}
.liveList::-webkit-scrollbar-track{
  background: rgba(255,255,255,.025);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.04);
}
.liveList::-webkit-scrollbar-thumb{
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(
    180deg,
    rgba(85,181,255,.78) 0%,
    rgba(181,108,255,.78) 55%,
    rgba(45,255,154,.78) 100%
  );
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04) inset,
    0 0 8px rgba(181,108,255,.12);
}
.liveList::-webkit-scrollbar-thumb:hover{
  background: linear-gradient(
    180deg,
    rgba(85,181,255,.92) 0%,
    rgba(181,108,255,.92) 55%,
    rgba(45,255,154,.92) 100%
  );
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06) inset,
    0 0 10px rgba(181,108,255,.16);
}
.liveList::-webkit-scrollbar-corner{
  background: transparent;
}
