/* Blackstone Digital Labs
   Static website — no framework required.
*/
:root {
  --bg: #05070b;
  --bg-soft: #090d14;
  --panel: #0c1119;
  --panel-2: #101722;
  --line: rgba(255,255,255,.10);
  --line-blue: rgba(35,120,255,.30);
  --text: #f4f7fb;
  --muted: #9aa6b7;
  --blue: #1677ff;
  --blue-bright: #3b8cff;
  --max: 1180px;
  --header: 86px;
  --radius: 20px;
  --font-display: "Michroma", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
::selection { background: var(--blue); color: #fff; }

.page-noise {
  position: fixed; inset: 0; pointer-events: none; opacity: .035; z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.section { position: relative; max-width: var(--max); margin: 0 auto; padding: 120px 28px; }
.eyebrow {
  margin: 0 0 20px;
  color: var(--blue-bright);
  font: 500 11px/1.4 var(--font-display);
  letter-spacing: .22em;
}
h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 400; }
h2 { font-size: clamp(28px, 4vw, 48px); line-height: 1.25; letter-spacing: -.03em; }
p { color: var(--muted); }

/* Header */
.site-header {
  height: var(--header);
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px;
  background: rgba(5,7,11,.68);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: .25s ease;
}
.site-header.scrolled { border-color: var(--line); background: rgba(5,7,11,.9); }
.brand { display: flex; align-items: center; width: 210px; }
.brand img { width: 100%; height: auto; display: block; }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.language { position: relative; }
.language-toggle {
  height: 42px; min-width: 64px; padding: 0 12px;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.03);
  cursor: pointer; font-size: 12px; font-weight: 600; letter-spacing: .08em;
}
.chevron { font-size: 15px; opacity: .6; transform: translateY(-1px); }
.language-menu {
  position: absolute; top: calc(100% + 10px); right: 0; width: 150px;
  padding: 7px; border: 1px solid var(--line); border-radius: 14px;
  background: #0b1018; box-shadow: 0 18px 50px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transform: translateY(-5px);
  transition: .2s ease;
}
.language-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.language-menu button {
  width: 100%; padding: 10px 11px; border: 0; border-radius: 9px;
  background: transparent; text-align: left; cursor: pointer; color: var(--muted); font-size: 13px;
}
.language-menu button:hover { background: rgba(255,255,255,.05); color: #fff; }
.menu-toggle {
  width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line);
  border-radius: 50%; background: rgba(255,255,255,.03); cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
}
.menu-toggle span { width: 100%; height: 1px; display: block; background: #fff; transition: .25s; }
.menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.site-nav {
  position: fixed;
  top: calc(var(--header) + 10px);
  right: 28px;
  width: 210px;
  z-index: 60;

  padding: 8px;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 3px;

  background: rgba(11, 16, 24, .97);
  border: 1px solid var(--line);
  border-radius: 14px;

  box-shadow:
    0 20px 60px rgba(0, 0, 0, .5),
    0 0 30px rgba(22, 119, 255, .06);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.98);
  transform-origin: top right;

  transition:
    opacity .2s ease,
    visibility .2s ease,
    transform .2s ease;

  pointer-events: none;
}

.site-nav.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.site-nav a {
  padding: 12px 13px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 13px;
  transition: .2s;
}

.site-nav a:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
  padding-left: 17px;
}

/* Hero */
.hero {
  min-height: 100vh; max-width: none; padding: 180px max(28px, calc((100vw - var(--max)) / 2)) 100px;
  display: flex; align-items: center; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  position: absolute; inset: 0;
  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: 72px 72px;
  mask-image: radial-gradient(circle at 50% 45%, black, transparent 70%);
  opacity: .4;
}
.hero::before {
  content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%;
  right: -220px; top: 12%; background: radial-gradient(circle, rgba(0,92,255,.18), transparent 65%);
  filter: blur(10px);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { font-size: clamp(46px, 8vw, 94px); line-height: .98; letter-spacing: -.045em; }
.hero h1 .accent { color: var(--blue); text-shadow: 0 0 50px rgba(22,119,255,.24); }
.hero-text { max-width: 610px; margin: 34px 0 36px; font-size: clamp(16px, 2vw, 19px); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  min-height: 50px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  border-radius: 8px; border: 1px solid var(--line); font-size: 12px; font-weight: 600; letter-spacing: .06em;
  transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
}
.btn span { font-size: 17px; }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 10px 30px rgba(22,119,255,.16); }
.btn-primary:hover { transform: translateY(-2px); background: var(--blue-bright); box-shadow: 0 14px 38px rgba(22,119,255,.28); }
.btn-ghost { background: rgba(255,255,255,.025); color: #e8edf5; }
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.06); }
.hero-mark { position: absolute; right: 7%; top: 50%; width: min(38vw, 460px); aspect-ratio: 1; transform: translateY(-50%); opacity: .75; }
.orbit { position: absolute; inset: 8%; border: 1px solid rgba(22,119,255,.18); border-radius: 50%; }
.orbit-one { transform: rotate(22deg) scaleX(.48); }
.orbit-two { transform: rotate(-40deg) scaleX(.35); }
.orbit-core {
  position: absolute; inset: 38%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.9), rgba(22,119,255,.5) 20%, transparent 65%);
  box-shadow: 0 0 80px rgba(22,119,255,.4);
}
.binary { position: absolute; color: rgba(75,145,255,.5); font: 10px var(--font-display); letter-spacing: .12em; }
.binary-a { top: 13%; left: 12%; }
.binary-b { bottom: 19%; right: 6%; }
.binary-c { top: 49%; right: 2%; }
.scroll-cue { position: absolute; bottom: 30px; left: 50%; width: 1px; height: 48px; background: rgba(255,255,255,.15); }
.scroll-cue span { position: absolute; top: 0; left: 0; width: 1px; height: 16px; background: var(--blue); animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(32px); opacity: 0; } }

/* Services */
.services { border-bottom: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; margin-bottom: 60px; }
.section-heading > p { max-width: 430px; margin: 0; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card {
  min-height: 310px; padding: 28px; position: relative; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.025), transparent 55%); transition: .3s;
}
.service-card:hover { background: linear-gradient(145deg, rgba(22,119,255,.10), transparent 65%); transform: translateY(-3px); }
.service-number { position: absolute; top: 24px; right: 24px; color: #5d6877; font: 10px var(--font-display); }
.service-icon { margin: 30px 0 40px; color: var(--blue); font-size: 28px; }
.service-card h3 { font: 400 16px/1.4 var(--font-display); margin-bottom: 12px; }
.service-card p { margin: 0; font-size: 14px; line-height: 1.7; }

/* Product */
.product { max-width: none; padding-left: max(28px, calc((100vw - var(--max)) / 2)); padding-right: max(28px, calc((100vw - var(--max)) / 2)); }
.product-panel {
  max-width: var(--max); margin: 0 auto; min-height: 610px; padding: 80px;
  position: relative; overflow: hidden; border: 1px solid var(--line-blue); border-radius: var(--radius);
  background: linear-gradient(125deg, #0b111b 0%, #080c13 52%, #091528 100%);
}
.product-glow { position: absolute; width: 520px; height: 520px; right: -130px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(22,119,255,.2), transparent 68%); }
.product-copy { position: relative; z-index: 2; max-width: 560px; }
.product-copy h2 { font-size: clamp(42px, 7vw, 78px); letter-spacing: -.06em; }
.product-copy h2 span { color: var(--blue); }
.product-tagline { margin: 10px 0 24px; color: #dce7f7; font: 12px var(--font-display); letter-spacing: .18em; }
.product-text { max-width: 500px; margin-bottom: 28px; }
.product-note { margin-top: 20px; font-size: 12px; }

.product-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  width: 42%;
  transform: translateY(-50%);
  z-index: 1;
}
.teleraze-logo {
  display: block; width: 68%; max-width: 330px; height: auto;
  margin: 0 auto 20px;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.4));
}
.teleraze-screen {
  position: relative; width: calc(100% - 12px); margin: 0 auto; aspect-ratio: 661 / 628;
  overflow: hidden; border: 1px solid rgba(80,150,255,.35); border-radius: 12px;
  background: #05080b; box-shadow: -30px 30px 90px rgba(0,0,0,.55), 0 0 60px rgba(22,119,255,.12);
  transform: rotateY(-10deg) rotateX(4deg);
}
.teleraze-screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.screen-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.08), transparent 24%, transparent 75%, rgba(22,119,255,.04));
}
/* About */
.about { border-bottom: 1px solid var(--line); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.about-title h2 span { color: var(--blue); }
.about-copy { padding-top: 48px; max-width: 550px; }
.about-copy p { font-size: 16px; margin: 0 0 24px; }

/* Contact */
.contact { padding-bottom: 100px; }
.contact-heading { max-width: 680px; margin-bottom: 60px; }
.contact-heading > p:last-child { max-width: 570px; font-size: 16px; }
.contact-form { padding: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(140deg, rgba(255,255,255,.025), rgba(22,119,255,.025)); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-bottom: 26px; }
.contact-form label { display: block; }
.contact-form label > span { display: block; margin-bottom: 8px; color: #d7dee8; font-size: 12px; font-weight: 600; }
.contact-form input, .contact-form textarea {
  width: 100%; border: 1px solid var(--line); outline: none; border-radius: 8px;
  background: rgba(0,0,0,.22); color: #fff; padding: 13px 14px; transition: .2s;
}
.contact-form input { height: 50px; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: rgba(22,119,255,.65); box-shadow: 0 0 0 3px rgba(22,119,255,.08); }
.form-bottom { display: flex; align-items: center; gap: 18px; margin-top: 24px; }
.form-status { margin: 0; font-size: 13px; }
.form-status.success { color: #86d7a1; }
.form-status.error { color: #ff9b9b; }
.form-privacy { margin: 18px 0 0; font-size: 11px; color: #687588; }
.hp { position: absolute; left: -10000px; opacity: 0; height: 0; overflow: hidden; }

/* Footer */
.site-footer {
  max-width: var(--max); margin: 0 auto; padding: 34px 28px 44px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 30px;
}
.footer-brand { width: 180px; }
.footer-brand img { width: 100%; display: block; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 24px; font-size: 11px; color: #697586; }
.footer-meta a:hover { color: #fff; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .hero-mark { right: -12%; opacity: .45; width: 55vw; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .product-panel { padding: 60px; }
  .product-visual { width: 46%; right: -3%; }
  .about-layout { gap: 50px; }
}
@media (max-width: 700px) {
  :root { --header: 72px; }
  .site-header { padding: 0 16px; }
  .brand { width: 160px; }
  .site-nav {
    top: calc(var(--header) + 10px);
    right: 16px;
    width: min(210px, calc(100vw - 32px));

    padding: 8px;

    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .site-nav a {
    padding: 12px 13px;
    border: 0;
  }
  .hero { min-height: 760px; padding: 145px 20px 80px; }
  .hero h1 { font-size: clamp(40px, 12vw, 68px); }
  .hero-mark { top: 66%; right: -25%; width: 75vw; opacity: .28; }
  .scroll-cue { display: none; }
  .section { padding: 82px 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 260px; }
  .product { padding-left: 20px; padding-right: 20px; }
  .product-panel { padding: 45px 25px; min-height: auto; }
  .product-visual { position: relative; width: 110%; right: auto; top: auto; margin: 45px 0 -15px -5%; transform: none; }
  .teleraze-logo { width: 62%; margin-bottom: 16px; }
  .teleraze-screen { transform: none; }
  .about-layout { grid-template-columns: 1fr; gap: 0; }
  .about-copy { padding-top: 25px; }
  .contact-form { padding: 25px 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px; }
  .form-bottom { align-items: flex-start; flex-direction: column; }
  .site-footer { padding: 28px 20px 36px; flex-direction: column; align-items: flex-start; }
  .footer-meta { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
