/* Byte57 — CSS
   Accent: #6AB8FF
*/
:root{
  --bg:#05070b;
  --bg2:#070b12;
  --panel:#0b1020;
  --text:#e8eefc;
  --muted:#a9b6d7;
  --muted2:#7f8caf;
  --line: rgba(255,255,255,.08);
  --blue:#6AB8FF;
  --blue2:#2a7bff;
  --shadow: 0 24px 80px rgba(0,0,0,.55);
  --r:18px;
  --max:1160px;
}

*{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 15% 15%, rgba(106,184,255,.10), transparent 60%),
    radial-gradient(900px 600px at 85% 20%, rgba(42,123,255,.10), transparent 55%),
    radial-gradient(800px 600px at 70% 80%, rgba(106,184,255,.06), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit;color:inherit}
img{max-width:100%;display:block}

.ambient{position:fixed;inset:0;pointer-events:none;z-index:-1}
.blob{
  position:absolute;width:520px;height:520px;filter:blur(50px);opacity:.35;
  transform:translate3d(0,0,0);mix-blend-mode:screen
}
.b1{left:-120px;top:-160px;background:radial-gradient(circle at 30% 35%, rgba(106,184,255,.85), rgba(106,184,255,0) 60%)}
.b2{right:-150px;top:-140px;background:radial-gradient(circle at 40% 30%, rgba(42,123,255,.75), rgba(42,123,255,0) 62%)}
.b3{right:10%;bottom:-240px;width:680px;height:680px;background:radial-gradient(circle at 45% 40%, rgba(106,184,255,.55), rgba(106,184,255,0) 65%)}

.noise{
  position:absolute;inset:0;opacity:.09;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='210' height='210'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='210' height='210' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  mix-blend-mode:overlay;
}

/* Layout helpers */
.container{width:min(var(--max), calc(100% - 40px)); margin:0 auto}
.section{padding:86px 0}
.section--tight{padding:56px 0}
.section--alt{padding-top:66px}
.grid-2{display:grid; grid-template-columns: 1.05fr .95fr; gap:22px; align-items:start}

/* Topbar */
.topbar{
  position:sticky; top:0; z-index:50;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:18px 22px; margin:14px auto 0;
  width:min(var(--max), calc(100% - 22px));
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(5,7,11,.55);
  backdrop-filter:blur(14px);
  box-shadow:0 10px 40px rgba(0,0,0,.35);
  transition: background .25s ease, border-color .25s ease;
}
.topbar.is-scrolled{background:rgba(5,7,11,.75); border-color:rgba(106,184,255,.18)}
.brand{display:flex;align-items:center;gap:10px}
.brand__logo{height:30px;width:auto;opacity:.98}

.nav{display:flex;gap:18px;align-items:center}
.nav a{
  font-weight:600;color:var(--muted);
  padding:10px 10px;border-radius:10px;
  transition: color .2s ease, background .2s ease;
}
.nav a:hover{color:var(--text);background:rgba(255,255,255,.04)}
.nav a.active{color:var(--text); background:rgba(106,184,255,.10); border:1px solid rgba(106,184,255,.22)}

.topbar__right{display:flex;gap:10px;align-items:center}

/* Language select */
.lang{
  display:flex; align-items:center; gap:10px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  padding:10px 12px;
  border-radius:999px;
}
.lang label{font-weight:800;font-size:12px;color:rgba(232,238,252,.72)}
.lang select{
  border:none;background:transparent;outline:none;
  font-weight:800;
  padding:0 6px;
  cursor:pointer;
}
.lang option{color:#0b1020}

.hamburger{
  display:none;background:transparent;border:1px solid var(--line);
  width:44px;height:40px;border-radius:12px;padding:0;cursor:pointer;
}
.hamburger span{
  display:block;width:18px;height:2px;background:rgba(232,238,252,.9);
  margin:6px auto;border-radius:2px;
}
.mobilemenu{
  position:fixed; left:50%; transform:translateX(-50%);
  top:84px; width:min(var(--max), calc(100% - 22px));
  border:1px solid var(--line); border-radius:22px;
  background:rgba(5,7,11,.88); backdrop-filter:blur(14px);
  padding:14px; display:none; z-index:60;
}
.mobilemenu.open{display:block}
.mobilemenu a{
  display:block;padding:14px 14px;border-radius:14px;font-weight:800;color:var(--text)
}
.mobilemenu a:hover{background:rgba(255,255,255,.05)}

/* Buttons */
.btn{
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  color:var(--text);
  padding:12px 14px;
  border-radius:999px;
  font-weight:800;
  cursor:pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
  display:inline-flex;align-items:center;gap:10px;user-select:none;
}
.btn:active{transform:translateY(1px)}
.btn--ghost:hover{background:rgba(255,255,255,.05); border-color:rgba(255,255,255,.16)}
.btn--primary{
  border-color:rgba(106,184,255,.30);
  background:radial-gradient(120% 120% at 20% 20%, rgba(106,184,255,.26), rgba(106,184,255,.10) 40%, rgba(255,255,255,.03) 70%);
}
.btn--primary:hover{border-color:rgba(106,184,255,.55); background:radial-gradient(120% 120% at 30% 20%, rgba(106,184,255,.34), rgba(106,184,255,.14) 40%, rgba(255,255,255,.03) 75%)}
.btn__icon{opacity:.85}

/* Type */
.kicker{
  margin:0 0 14px; display:inline-flex; align-items:center; gap:10px;
  font-weight:900; letter-spacing:.02em; color:rgba(232,238,252,.92);
}
.kicker::before{
  content:""; width:9px;height:9px;border-radius:99px;background:var(--blue);
  box-shadow:0 0 0 6px rgba(106,184,255,.15);
}
.h1{
  margin:0 0 14px;
  font-size:clamp(34px, 3.8vw, 54px);
  line-height:1.05;
  letter-spacing:-.03em;
}
.h2{
  font-size:clamp(26px, 2.6vw, 36px);
  line-height:1.15;
  letter-spacing:-.03em;
  margin:0 0 10px;
}
.h3{margin:0 0 8px; letter-spacing:-.02em}
.lead{margin:0 0 18px; font-size:16.5px; line-height:1.55; color:rgba(232,238,252,.86); max-width:60ch}
.sub{margin:0; color:rgba(232,238,252,.78); line-height:1.6; max-width:74ch}
.muted{color:rgba(232,238,252,.66); line-height:1.6}
.accent{
  background:linear-gradient(90deg, var(--blue), rgba(232,238,252,.92));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* Hero */
.hero{padding:72px 0 10px}
.hero__grid{
  display:grid; grid-template-columns: 1.12fr .88fr; gap:28px; align-items:center;
}
.hero__actions{display:flex; gap:12px; flex-wrap:wrap; margin:18px 0}
.proof{display:flex; gap:10px; flex-wrap:wrap}
.pill{
  padding:10px 12px; border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.02);
  color:rgba(232,238,252,.85);
  font-weight:800; font-size:13px;
}

/* Panel */
.hero__panel{position:relative}
.panel{
  border:1px solid rgba(106,184,255,.18);
  background:rgba(11,16,32,.55);
  border-radius:22px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.panel__top{
  display:flex; align-items:center; gap:8px;
  padding:12px 14px;
  border-bottom:1px solid rgba(255,255,255,.06);
  background:rgba(255,255,255,.02);
}
.dot{width:10px;height:10px;border-radius:99px;background:rgba(255,255,255,.15)}
.panel__title{margin-left:8px;font-weight:900;letter-spacing:.02em;color:rgba(232,238,252,.78);font-size:13px}
.panel__body{padding:16px}
.metric{
  display:flex; justify-content:space-between; align-items:baseline;
  padding:10px 12px; border:1px solid rgba(255,255,255,.06);
  background:rgba(255,255,255,.02); border-radius:14px; margin-bottom:10px
}
.metric__label{color:rgba(232,238,252,.76); font-weight:800}
.metric__value{font-weight:900; letter-spacing:-.02em}
.terminal{
  margin-top:14px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:14px;
  padding:14px 12px;
  background:rgba(0,0,0,.18);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size:13px; line-height:1.55;
  color:rgba(232,238,252,.88);
}
.terminal__line{white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.t-muted{color:rgba(106,184,255,.95); font-weight:900}
.panel__glow{
  position:absolute; inset:-40px -30px -50px -30px;
  background:radial-gradient(closest-side at 55% 35%, rgba(106,184,255,.24), transparent 65%);
  filter:blur(26px); z-index:-1;
}

/* Marquee */
.marquee{
  width:100%; overflow:hidden;
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
  margin-top:64px;
  background:rgba(255,255,255,.02);
}
.marquee__track{
  display:flex;
  width:max-content;
  will-change:transform;
  animation: marquee 16s linear infinite;
  font-weight:900; letter-spacing:-.02em;
  color:rgba(232,238,252,.75);
}
.marquee__group{
  display:flex;
  align-items:center;
  gap:16px;
  padding:16px 0;
  padding-right:16px;
}
.marquee__track span:nth-child(2n){color:rgba(106,184,255,.80)}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* Cards */
.cards{
  margin-top:26px;
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
}
.card{
  grid-column: span 6;
  border:1px solid rgba(255,255,255,.07);
  border-radius:22px;
  background:rgba(255,255,255,.02);
  padding:18px 18px 16px;
  box-shadow:0 14px 40px rgba(0,0,0,.25);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
  position:relative; overflow:hidden;
}
.card::after{
  content:"";
  position:absolute; inset:-2px;
  background:radial-gradient(600px 200px at 15% 10%, rgba(106,184,255,.16), transparent 55%);
  opacity:0; transition: opacity .22s ease; pointer-events:none;
}
.card:hover{transform:translateY(-2px); border-color:rgba(106,184,255,.22); background:rgba(255,255,255,.03)}
.card:hover::after{opacity:1}
.card__icon{font-size:20px; margin-bottom:10px}
.card p{margin:0 0 10px; color:rgba(232,238,252,.78); line-height:1.55}
.card ul{margin:0; padding-left:18px; color:rgba(232,238,252,.74); line-height:1.7}
.card li{margin:4px 0}

/* Stack + Sidecard */
.stack{margin-top:16px; display:flex; flex-direction:column; gap:10px}
.stack__item{
  border:1px solid rgba(255,255,255,.07);
  border-radius:18px;
  padding:14px 14px;
  background:rgba(255,255,255,.02);
}
.stack__item p{margin:0; color:rgba(232,238,252,.78); line-height:1.6}

.sidecard{
  border:1px solid rgba(106,184,255,.18);
  border-radius:22px;
  padding:18px;
  background:radial-gradient(120% 120% at 20% 20%, rgba(106,184,255,.12), rgba(255,255,255,.02) 55%);
  box-shadow:var(--shadow);
}
.tags{display:flex;flex-wrap:wrap;gap:10px}
.tags span{
  font-weight:900;font-size:13px;
  padding:10px 12px;border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.14);
  color:rgba(232,238,252,.85);
}
.sidecard__cta{margin-top:16px; display:flex; flex-direction:column; gap:12px}

/* Steps */
.steps{
  margin-top:24px;
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
}
.step{
  grid-column: span 3;
  border:1px solid rgba(255,255,255,.07);
  border-radius:22px;
  padding:16px;
  background:rgba(255,255,255,.02);
}
.step__n{
  display:inline-flex; align-items:center; justify-content:center;
  width:44px;height:44px;border-radius:14px;
  border:1px solid rgba(106,184,255,.26);
  background:rgba(106,184,255,.08);
  font-weight:900;color:rgba(232,238,252,.92);
  margin-bottom:10px;
}
.step p{margin:0; color:rgba(232,238,252,.78); line-height:1.6}

/* Logos / collaborations */
.logo-grid{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
}
.logo{
  grid-column: span 3;
  border:1px solid rgba(255,255,255,.07);
  border-radius:18px;
  padding:14px;
  background:rgba(255,255,255,.02);
  min-height:72px;
  display:flex; align-items:center; justify-content:center;
  text-align:center;
  font-weight:900;
  color:rgba(232,238,252,.82);
}
.logo small{display:block; margin-top:6px; font-weight:800; color:rgba(232,238,252,.62)}
.note{
  margin-top:12px;
  font-size:13px;
  color:rgba(232,238,252,.62);
}

/* CTA block */
.cta{
  border:1px solid rgba(106,184,255,.20);
  border-radius:28px;
  padding:26px;
  background:radial-gradient(120% 120% at 20% 10%, rgba(106,184,255,.16), rgba(255,255,255,.02) 55%);
  box-shadow:var(--shadow);
}
.form{margin-top:18px; display:flex; flex-direction:column; gap:12px}
.form__row{display:grid; grid-template-columns: 1fr 1fr; gap:12px}
label span{display:block; font-weight:900; font-size:13px; color:rgba(232,238,252,.76); margin:0 0 8px}
input,textarea{
  width:100%; padding:12px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.18);
  outline:none;
}
input:focus,textarea:focus{border-color:rgba(106,184,255,.35); box-shadow:0 0 0 4px rgba(106,184,255,.12)}
.form__actions{display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-top:6px}

/* Legal pages */
.legal{
  padding:34px 0 0;
}
.legal-card{
  margin-top:18px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:22px;
  background:rgba(255,255,255,.02);
  padding:18px;
}
.legal-card h2{margin:0 0 12px}
.legal-card h3{margin:18px 0 8px}
.legal-card p{margin:0 0 10px; color:rgba(232,238,252,.78); line-height:1.65}
.legal-card pre{
  white-space:pre-wrap;
  margin:0;
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.18);
  color:rgba(232,238,252,.86);
}

/* Footer */
.footer{
  padding:34px 0 26px;
  width:min(var(--max), calc(100% - 40px));
  margin:0 auto 30px;
  border-top:1px solid rgba(255,255,255,.06);
}
.footer__inner{display:flex;justify-content:space-between;gap:22px;padding-top:22px}
.footer__logo{height:50px;width:auto;opacity:.95}
.footer__right{display:flex;gap:40px}
.footer__col{display:flex;flex-direction:column;gap:10px}
.footer__title{font-weight:900;color:rgba(232,238,252,.82); margin-bottom:2px}
.footer__col a{color:rgba(232,238,252,.70); font-weight:800}
.footer__col a:hover{color:rgba(232,238,252,.92)}
.footer__bottom{
  margin-top:18px; padding-top:18px;
  border-top:1px solid rgba(255,255,255,.06);
  display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap;
  color:rgba(232,238,252,.72); font-weight:800;
}

/* Reveal */
.reveal{
  opacity:0; transform: translateY(10px);
  transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
}
.reveal.in{opacity:1; transform: translateY(0)}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .marquee__track{animation:none}
  .reveal{opacity:1; transform:none; transition:none}
  .btn{transition:none}
}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{grid-template-columns:1fr; gap:18px}
  .nav{display:none}
  .hamburger{display:block}
  .logo{grid-column: span 6}
  .steps .step{grid-column: span 6}
  .form__row{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr; gap:14px}
  .cards .card{grid-column: span 12}
}
@media (max-width: 560px){
  .topbar{padding:14px 16px}
  .hero{padding-top:56px}
  .steps .step{grid-column: span 12}
  .logo{grid-column: span 12}
}

/* Header tweaks */
.topbar__right{display:flex;gap:10px;align-items:center;justify-content:flex-end}
.lang{margin-left:0}

/* Projects (more convincing, not logo gallery) */
.projects-grid{
  margin-top:20px;
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
}
.project-card{
  grid-column: span 6;
  border:1px solid rgba(255,255,255,.07);
  border-radius:22px;
  background:rgba(255,255,255,.02);
  padding:18px;
  position:relative;
  overflow:hidden;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
  box-shadow:0 14px 40px rgba(0,0,0,.25);
  transform-style:preserve-3d;
}
.project-card::after{
  content:"";
  position:absolute; inset:-2px;
  background:radial-gradient(700px 260px at 18% 10%, rgba(106,184,255,.18), transparent 60%);
  opacity:0;
  transition: opacity .22s ease;
  pointer-events:none;
}
.project-card:hover{
  transform: translateY(-6px);
  border-color: rgba(106,184,255,.28);
  background: rgba(255,255,255,.03);
  box-shadow:0 22px 70px rgba(0,0,0,.45);
}
.project-card:hover::after{opacity:1}
.project-top{
  display:flex; align-items:flex-start; gap:12px;
}
.project-dot{
  width:10px;height:10px;border-radius:99px;
  background: var(--blue);
  box-shadow:0 0 0 6px rgba(106,184,255,.12);
  margin-top:7px;
}
.project-meta{flex:1}
.project-meta .muted{margin:0}
.project-tag{
  font-weight:900;font-size:12px;letter-spacing:.02em;
  padding:10px 12px;border-radius:999px;
  border:1px solid rgba(106,184,255,.26);
  background:rgba(106,184,255,.08);
  color:rgba(232,238,252,.9);
}
.project-body{margin-top:14px; display:flex; flex-direction:column; gap:10px}
.project-row{
  display:grid;
  grid-template-columns: 90px 1fr;
  gap:12px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.06);
  background:rgba(0,0,0,.14);
  border-radius:16px;
}
.project-k{font-weight:900;color:rgba(232,238,252,.72)}
.project-v{color:rgba(232,238,252,.84); line-height:1.55}
.project-chips{
  display:flex; flex-wrap:wrap; gap:10px; margin-top:2px;
}
.project-chips span{
  font-weight:900; font-size:12px;
  padding:9px 11px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.02);
  color:rgba(232,238,252,.78);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.project-card:hover .project-chips span{
  border-color: rgba(106,184,255,.20);
  background: rgba(106,184,255,.05);
}
@media (max-width: 980px){
  .project-card{grid-column: span 12}
  .project-row{grid-template-columns: 1fr}
}

/* Contact line */
.contactline{
  margin-top:16px;
  display:flex; flex-wrap:wrap; gap:10px;
  align-items:center;
  color:rgba(232,238,252,.74);
  font-weight:800;
}
.contactline__item{
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.02);
  padding:10px 12px;
  border-radius:999px;
}
.contactline__item:hover{border-color:rgba(106,184,255,.28); background:rgba(106,184,255,.05)}
.sep{opacity:.45}
