/* =========================
   Loading Screen
========================= */
#loadingScreen{
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #050711;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s cubic-bezier(.22,1,.36,1), visibility .6s;
}
#loadingScreen.hide{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
}

/* Spinning rings */
.loader-ring{
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgba(0,229,255,.8);
  border-right-color: rgba(124,58,237,.5);
  animation: loader-spin 1.2s cubic-bezier(.5,.15,.5,.85) infinite;
  position: absolute;
  top: -40px;
  left: 50%;
  margin-left: -40px;
  box-shadow: 0 0 30px rgba(0,229,255,.15);
}
.loader-ring-2{
  width: 60px;
  height: 60px;
  margin-left: -30px;
  top: -30px;
  border-top-color: rgba(0,255,136,.6);
  border-right-color: rgba(0,229,255,.3);
  animation-direction: reverse;
  animation-duration: 1.6s;
  box-shadow: 0 0 20px rgba(0,255,136,.1);
}
@keyframes loader-spin{
  to{ transform: rotate(360deg); }
}

/* Center logo */
.loader-logo{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: url("logo/logo.png") center/cover no-repeat;
  box-shadow: 0 0 40px rgba(124,58,237,.25);
  margin-top: 50px;
  animation: loader-pulse 2s ease-in-out infinite;
}
@keyframes loader-pulse{
  0%, 100%{ transform: scale(1); opacity: .85; }
  50%{ transform: scale(1.08); opacity: 1; }
}

/* Text */
.loader-text{
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 16px;
  letter-spacing: .02em;
}
.loader-name{
  font-weight: 700;
  color: rgba(255,255,255,.9);
  animation: loader-fade-in .8s ease both;
}
.loader-slash{
  color: rgba(255,255,255,.3);
  animation: loader-fade-in .8s ease .2s both;
}
.loader-brand{
  font-weight: 500;
  color: rgba(255,255,255,.5);
  animation: loader-fade-in .8s ease .4s both;
}
@keyframes loader-fade-in{
  from{ opacity: 0; transform: translateY(6px); }
  to{ opacity: 1; transform: translateY(0); }
}

/* Progress bar */
.loader-bar{
  width: 120px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.loader-bar-fill{
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #00e5ff, #7c3aed, #00ff88);
  box-shadow: 0 0 12px rgba(0,229,255,.4);
  animation: loader-progress 1.8s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes loader-progress{
  0%{ width: 0%; }
  30%{ width: 45%; }
  60%{ width: 70%; }
  90%{ width: 92%; }
  100%{ width: 100%; }
}

/* =========================
   Base / Theme
========================= */
:root{
  --bg:#050711;
  --bg2:#070A18;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.08);
  --stroke: rgba(255,255,255,.10);
  --stroke2: rgba(255,255,255,.16);
  --text: rgba(255,255,255,.90);
  --muted: rgba(255,255,255,.66);
  --muted2: rgba(255,255,255,.52);
  --shadow: 0 18px 50px rgba(0,0,0,.55);
  --shadow2: 0 10px 35px rgba(0,0,0,.45);
  --radius: 18px;
  --radius2: 24px;

  /* Neon gradients */
  --g1: linear-gradient(135deg, #00e5ff 0%, #7c3aed 45%, #00ff88 100%);
  --g2: linear-gradient(135deg, rgba(0,229,255,.9) 0%, rgba(124,58,237,.9) 55%, rgba(0,255,136,.9) 100%);
  --gHero: radial-gradient(1200px 800px at 70% 15%, rgba(124,58,237,.30), transparent 55%),
          radial-gradient(900px 650px at 25% 20%, rgba(0,229,255,.22), transparent 60%),
          radial-gradient(900px 650px at 60% 80%, rgba(0,255,136,.14), transparent 60%),
          linear-gradient(180deg, #050711 0%, #070A18 55%, #050711 100%);
  --ring: 0 0 0 1px var(--stroke), 0 0 0 6px rgba(0,229,255,.08);
  --focus: 0 0 0 2px rgba(0,229,255,.85), 0 0 0 8px rgba(0,229,255,.15);

  /* Layout */
  --container: 1160px;
  --sectionPad: clamp(64px, 6vw, 96px);
  --headerH: 72px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "PingFang SC","Hiragino Sans GB","Microsoft YaHei", sans-serif;
  background: radial-gradient(1200px 700px at 50% -10%, rgba(0,229,255,.10), transparent 55%),
              radial-gradient(1000px 650px at 80% 20%, rgba(124,58,237,.12), transparent 55%),
              radial-gradient(1000px 650px at 15% 85%, rgba(0,255,136,.08), transparent 60%),
              linear-gradient(180deg, var(--bg) 0%, var(--bg2) 55%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x:hidden;
}

a{ color: inherit; text-decoration: none; }
img{ max-width:100%; display:block; }

.container{
  width:min(var(--container), calc(100% - 48px));
  margin-inline:auto;
}

/* Skip link for accessibility */
.skip-link{
  position:absolute;
  left:-999px;
  top:8px;
  background:#0b1023;
  color:var(--text);
  padding:10px 12px;
  border-radius:12px;
  box-shadow: var(--shadow2);
  z-index: 9999;
}
.skip-link:focus{
  left: 12px;
  outline: none;
  box-shadow: var(--focus);
}

/* =========================
   Subtle animated grid & particles
========================= */
.bg-grid{
  pointer-events:none;
  position:fixed;
  inset:0;
  background:
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(900px 500px at 50% 15%, black 40%, transparent 75%);
  opacity:.22;
  transform: translateZ(0);
}
.bg-noise{
  pointer-events:none;
  position:fixed;
  inset:-10%;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  opacity:.06;
  mix-blend-mode: overlay;
  transform: translateZ(0);
}
canvas#particles{
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.55;
  filter: drop-shadow(0 0 16px rgba(0,229,255,.08));
}

/* =========================
   Header / Nav
========================= */
header{
  position:sticky;
  top:0;
  z-index: 1000;
  height: var(--headerH);
}
.nav-wrap{
  height: var(--headerH);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  margin-top: 10px;
  background: rgba(10, 12, 28, .45);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
header.scrolled .nav-wrap{
  background: rgba(10, 12, 28, .60);
  border-color: rgba(255,255,255,.14);
  transform: translateY(-2px);
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 190px;
}
.logo{
  width: 34px; height: 34px;
  border-radius: 12px;
  background: url("logo/logo.png") center/cover no-repeat;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 18px 40px rgba(124,58,237,.18);
}
.brand .name{
  font-weight: 680;
  letter-spacing: .2px;
  line-height: 1.1;
  font-size: 14px;
}
.brand .tag{
  font-size: 12px;
  color: var(--muted2);
  margin-top:2px;
}

nav{
  display:flex;
  align-items:center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.nav-link{
  position:relative;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  transition: color .2s ease, background .2s ease;
  outline: none;
}
.nav-link:hover{ color: var(--text); background: rgba(255,255,255,.06); }
.nav-link:focus-visible{ box-shadow: var(--focus); }
.nav-link[aria-current="page"]{
  color: var(--text);
  background: rgba(255,255,255,.07);
}

.actions{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 190px;
  justify-content:flex-end;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-weight: 620;
  font-size: 13px;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  cursor:pointer;
  user-select:none;
  outline:none;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 16px 44px rgba(0,0,0,.28);
}
.btn:active{ transform: translateY(0px) scale(.99); }
.btn:focus-visible{ box-shadow: var(--focus); }

.btn-primary{
  border: 1px solid rgba(255,255,255,.18);
  background: var(--g2);
  color: #061018;
  box-shadow:
    0 18px 50px rgba(0,229,255,.10),
    0 18px 50px rgba(124,58,237,.12),
    0 18px 50px rgba(0,255,136,.08);
}
.btn-primary:hover{
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 22px 70px rgba(0,229,255,.14),
    0 22px 70px rgba(124,58,237,.16),
    0 22px 70px rgba(0,255,136,.10);
}

.icon{
  width: 16px; height: 16px;
  flex: 0 0 16px;
}

/* Mobile nav */
.menu-btn{
  display:none;
  padding: 10px 12px;
}
.mobile-panel{
  display:none;
  margin-top: 10px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(10, 12, 28, .70);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow2);
  overflow:hidden;
}
.mobile-panel a{
  display:block;
  padding: 14px 16px;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,.08);
  transition: background .18s ease, color .18s ease;
  outline:none;
}
.mobile-panel a:first-child{ border-top: none; }
.mobile-panel a:hover{ background: rgba(255,255,255,.06); color: var(--text); }
.mobile-panel a:focus-visible{ box-shadow: var(--focus); }

/* =========================
   Sections
========================= */
main{ position:relative; }
section{
  padding: var(--sectionPad) 0;
  scroll-margin-top: calc(var(--headerH) + 22px);
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 18px;
  margin-bottom: 26px;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--g2);
  box-shadow: 0 0 18px rgba(0,229,255,.25);
}
h2{
  margin: 8px 0 0 0;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.lead{
  margin: 12px 0 0 0;
  color: var(--muted);
  max-width: 64ch;
  font-size: 15px;
}

.grid{
  display:grid;
  gap: 16px;
}
.grid.cols-3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4{ grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 1px 0 rgba(255,255,255,.05) inset;
  position:relative;
  overflow:hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(600px 250px at 20% 10%, rgba(0,229,255,.16), transparent 55%),
              radial-gradient(600px 250px at 80% 20%, rgba(124,58,237,.14), transparent 55%),
              radial-gradient(600px 250px at 50% 90%, rgba(0,255,136,.10), transparent 55%);
  opacity:.0;
  transition: opacity .22s ease;
  pointer-events:none;
}
.card:hover{
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  box-shadow: var(--shadow2);
}
.card:hover::before{ opacity: 1; }

.pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  user-select:none;
}

.muted{ color: var(--muted); }

/* =========================
   Hero
========================= */
.hero{
  min-height: 70svh;
  padding-top: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(28px, 4vw, 56px);
  position:relative;
}
.hero::before{
  content:"";
  position:absolute;
  inset: -1px;
  background: var(--gHero);
  z-index:-2;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(1100px 500px at 50% 10%, rgba(0,229,255,.16), transparent 60%),
    radial-gradient(900px 420px at 55% 15%, rgba(124,58,237,.18), transparent 60%),
    radial-gradient(900px 420px at 45% 85%, rgba(0,255,136,.10), transparent 60%);
  opacity:.9;
}

.hero-layout{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  align-items:center;
}
.hero h1{
  margin: 14px 0 0 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.hero .sub{
  margin: 16px 0 0 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(15px, 1.6vw, 18px);
  max-width: 60ch;
}
.hero-cta{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  margin-top: 22px;
  align-items:center;
}
.btn-ghost{
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.14);
}
.btn-ghost:hover{ background: rgba(255,255,255,.07); }

.trust{
  margin-top: 18px;
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  align-items:center;
  color: var(--muted2);
  font-size: 12px;
}

.hero-panel{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  padding: 18px;
  position:relative;
  overflow:hidden;
}
.hero-panel::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: conic-gradient(from 180deg, rgba(0,229,255,.25), rgba(124,58,237,.18), rgba(0,255,136,.18), rgba(0,229,255,.25));
  opacity:.20;
  filter: blur(22px);
}
.hero-panel-inner{
  position:relative;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(7, 9, 18, .68);
  padding: 16px;
}
.hero-video-frame{
  margin-top: 14px;
  margin-inline: -6px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  overflow: hidden;
  position: relative;
}
.hero-video-embed{
  display:block;
  width:100%;
  min-height: 260px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  border: none;
  background: #03050d;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}
.hero-audio-toggle{
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(6, 10, 22, .72);
  color: rgba(255,255,255,.92);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.hero-audio-toggle:hover{
  transform: translateY(-1px);
  background: rgba(10, 16, 32, .82);
  border-color: rgba(255,255,255,.22);
}
.hero-audio-toggle:focus-visible{
  outline: none;
  box-shadow: var(--focus);
}
.hero-audio-toggle[aria-pressed="true"]{
  background: rgba(0,229,255,.16);
  border-color: rgba(0,229,255,.32);
}
.hero-audio-icon{
  font-size: 13px;
}
.kpi-row{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin-top: 14px;
}
.kpi{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 12px;
  min-height: 86px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.kpi strong{
  font-size: 18px;
  letter-spacing: -0.02em;
}
.kpi span{
  font-size: 12px;
  color: var(--muted2);
}
.spark{
  width: 100%;
  height: 34px;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(0,229,255,.0), rgba(0,229,255,.26), rgba(124,58,237,.18), rgba(0,255,136,.18), rgba(0,229,255,.0));
  mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  opacity:.75;
  position:relative;
  overflow:hidden;
}
.spark::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(20px 20px at 20% 50%, rgba(255,255,255,.55), transparent 60%);
  animation: sweep 2.8s ease-in-out infinite;
  opacity:.6;
}
@keyframes sweep{
  0%{ transform: translateX(-30%); }
  50%{ transform: translateX(120%); }
  100%{ transform: translateX(120%); }
}

/* =========================
   Products image placeholder
========================= */
.product-media{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(220px 120px at 25% 25%, rgba(0,229,255,.18), transparent 60%),
    radial-gradient(220px 120px at 75% 35%, rgba(124,58,237,.18), transparent 60%),
    radial-gradient(220px 120px at 60% 85%, rgba(0,255,136,.12), transparent 60%),
    rgba(255,255,255,.03);
  height: 150px;
  position:relative;
  overflow:hidden;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.product-media::after{
  content:"";
  position:absolute;
  inset:-40%;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.10), transparent 60%);
  transform: rotate(12deg);
  animation: shimmer 3.2s ease-in-out infinite;
  opacity:.65;
}
.product-media-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.product-media-name{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(255,255,255,.9);
}
.product-media-status{
  font-size: 11px;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 3px 8px;
}
.product-media-graph{
  height: 54px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.00)),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: auto, 18px 18px, 18px 18px;
  position: relative;
  overflow: hidden;
}
.product-media-graph::before{
  content:"";
  position:absolute;
  left: 8px;
  right: 8px;
  bottom: 10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00e5ff, #7c3aed, #00ff88);
  box-shadow: 0 0 12px rgba(0,229,255,.35);
}
.product-media-tags{
  display:flex;
  flex-wrap:wrap;
  gap: 6px;
}
.product-media-tags span{
  font-size: 10px;
  color: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.07);
  border-radius: 999px;
  padding: 2px 7px;
}
.product-media.cloud{
  filter: hue-rotate(20deg);
}
.product-media.insight{
  filter: hue-rotate(-10deg);
}
.product-media.shield{
  filter: hue-rotate(70deg);
}
@keyframes shimmer{
  0%{ transform: translateX(-35%) rotate(12deg); }
  40%{ transform: translateX(35%) rotate(12deg); }
  100%{ transform: translateX(35%) rotate(12deg); }
}

/* =========================
   Contact form
========================= */
form{
  display:grid;
  gap: 12px;
}
label{
  font-size: 13px;
  color: var(--muted);
}
.field{
  display:grid;
  gap: 6px;
}
input, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  color: var(--text);
  outline: none;
  transition: box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
textarea{ min-height: 120px; resize: vertical; }
input::placeholder, textarea::placeholder{ color: rgba(255,255,255,.35); }
input:focus, textarea:focus{
  border-color: rgba(0,229,255,.55);
  box-shadow: var(--focus);
  background: rgba(255,255,255,.05);
}

.form-row{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}

.toast{
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: 340px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(10, 12, 28, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  padding: 12px 12px;
  display:flex;
  gap: 10px;
  align-items:flex-start;
  transform: translateY(12px);
  opacity: 0;
  pointer-events:none;
  transition: transform .22s ease, opacity .22s ease;
  z-index: 2000;
}
.toast.show{
  transform: translateY(0);
  opacity: 1;
  pointer-events:auto;
}
.toast .badge{
  width: 34px; height: 34px;
  border-radius: 12px;
  background: var(--g2);
  box-shadow: 0 10px 30px rgba(0,229,255,.12);
  flex: 0 0 34px;
}
.toast h4{
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
}
.toast p{
  margin: 6px 0 0 0;
  font-size: 12px;
  color: var(--muted);
}
.toast button{
  margin-left:auto;
  border:none;
  background: transparent;
  color: rgba(255,255,255,.72);
  cursor:pointer;
  border-radius: 10px;
  padding: 6px 8px;
  transition: background .18s ease, color .18s ease;
}
.toast button:hover{ background: rgba(255,255,255,.08); color: var(--text); }
.toast button:focus-visible{ box-shadow: var(--focus); outline:none; }

/* =========================
   Footer
========================= */
footer{
  padding: 38px 0 48px;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.12);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items:start;
}
.footer-links{
  display:flex;
  gap: 18px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.footer-links a{
  color: var(--muted);
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease;
  outline:none;
}
.footer-links a:hover{ background: rgba(255,255,255,.06); color: var(--text); }
.footer-links a:focus-visible{ box-shadow: var(--focus); }

.social{
  display:flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap:wrap;
}
.social a{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  outline:none;
}
.social a:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  box-shadow: var(--shadow2);
}
.social a:focus-visible{ box-shadow: var(--focus); }

/* =========================
   Scroll reveal animations
========================= */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.in{
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1{ transition-delay: .08s; }
.reveal.delay-2{ transition-delay: .16s; }
.reveal.delay-3{ transition-delay: .24s; }

/* =========================
   hibari name treatment
========================= */
.h1-muted{
  color: var(--muted2);
  font-weight: 400;
  font-size: .55em;
  letter-spacing: .02em;
}

/* =========================
   Works section — premium slide-in
========================= */
#products .card{
  --slide-from: 60px;
  opacity: 0;
  transform: translateX(var(--slide-from)) scale(.96);
  transition: opacity .8s cubic-bezier(.22,1,.36,1),
              transform .8s cubic-bezier(.22,1,.36,1),
              border-color .22s ease,
              box-shadow .22s ease,
              background .22s ease;
  will-change: opacity, transform;
}
#products .card.slide-in{
  opacity: 1;
  transform: translateX(0) scale(1);
}
#products .card:nth-child(1){ transition-delay: 0s; }
#products .card:nth-child(2){ transition-delay: .12s; }
#products .card:nth-child(3){ transition-delay: .24s; }
#products .card:nth-child(4){ transition-delay: .36s; }
#products .card:nth-child(5){ transition-delay: .48s; }
#products .card:nth-child(6){ transition-delay: .60s; }

/* 3D tilt glow on hover */
#products .card{
  perspective: 800px;
  transform-style: preserve-3d;
}
#products .card:hover{
  border-color: rgba(0,229,255,.28);
  box-shadow:
    0 24px 60px rgba(0,229,255,.08),
    0 24px 60px rgba(124,58,237,.06),
    inset 0 1px 0 rgba(255,255,255,.08);
}
#products .card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
    rgba(0,229,255,.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
#products .card:hover::after{
  opacity: 1;
}

/* Horizontal scroll marquee for works section */
.works-marquee{
  overflow: hidden;
  margin-top: 18px;
  padding: 8px 0;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.works-marquee-track{
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.works-marquee-track:hover{
  animation-play-state: paused;
}
.works-marquee-item{
  font-size: 13px;
  color: var(--muted2);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.02);
  transition: color .2s ease, border-color .2s ease;
}
.works-marquee-item:hover{
  color: var(--text);
  border-color: rgba(255,255,255,.2);
}
@keyframes marquee{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

/* =========================
   Cinematic Effects
========================= */

/* 1. Cursor glow — follows mouse */
.cursor-glow{
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(0,229,255,.07) 0%, rgba(124,58,237,.04) 30%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity .4s ease;
  opacity: 0;
  mix-blend-mode: screen;
  will-change: left, top;
}
.cursor-glow.active{ opacity: 1; }

/* 2. Section divider beams */
.section-beam{
  position: relative;
  height: 1px;
  margin: 0 auto;
  width: min(var(--container), calc(100% - 48px));
  overflow: visible;
}
.section-beam::before{
  content: "";
  position: absolute;
  inset: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,.4) 20%, rgba(124,58,237,.5) 50%, rgba(0,255,136,.4) 80%, transparent);
  animation: beam-pulse 4s ease-in-out infinite;
}
.section-beam::after{
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 25px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,.06) 20%, rgba(124,58,237,.08) 50%, rgba(0,255,136,.06) 80%, transparent);
  filter: blur(10px);
  animation: beam-pulse 4s ease-in-out infinite;
}
@keyframes beam-pulse{
  0%, 100%{ opacity: .5; transform: scaleX(.92); }
  50%{ opacity: 1; transform: scaleX(1); }
}

/* 3. Hero text cinematic entrance */
.hero h1{
  overflow: hidden;
}
.hero-typewriter{
  display: inline;
  border-right: 2px solid rgba(0,229,255,.8);
  animation: blink-caret .75s step-end infinite;
}
.hero-typewriter.done{
  border-right-color: transparent;
  animation: none;
}
@keyframes blink-caret{
  0%, 100%{ border-right-color: rgba(0,229,255,.8); }
  50%{ border-right-color: transparent; }
}

/* 4. Floating parallax for hero panel — only after reveal completes */
.hero-panel.parallax-ready{
  transition: transform .15s linear;
}

/* 5. Rotating gradient border on cards (all sections) */
.card{
  --border-angle: 0deg;
  position: relative;
}
.card::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: inherit;
  background: conic-gradient(from var(--border-angle), transparent 40%, rgba(0,229,255,.25) 50%, rgba(124,58,237,.2) 60%, transparent 70%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
  z-index: -1;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
}
.card:hover::before{
  opacity: 1;
  animation: rotate-border 3s linear infinite;
}
@keyframes rotate-border{
  to{ --border-angle: 360deg; }
}
@property --border-angle{
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* 6. Smooth section parallax depth */
.parallax-section{
  will-change: transform;
  transition: transform .05s linear;
}

/* 7. Glowing text for hero name */
.hero h1{
  text-shadow: 0 0 80px rgba(0,229,255,.15), 0 0 40px rgba(124,58,237,.1);
}

/* 8. Scroll progress bar */
.scroll-progress{
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--g1);
  z-index: 9999;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .15s linear;
  box-shadow: 0 0 12px rgba(0,229,255,.4);
}

/* 9. Staggered stat counter animation */
@keyframes count-up{
  from{ opacity: 0; transform: translateY(16px) scale(.9); filter: blur(4px); }
  to{ opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.stat-animate{
  animation: count-up .8s cubic-bezier(.22,1,.36,1) both;
}

/* 10. Ambient floating orbs behind hero */
.ambient-orb{
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0;
  animation: orb-float 12s ease-in-out infinite;
  z-index: -1;
}
.ambient-orb:nth-child(1){
  width: 400px; height: 400px;
  background: rgba(0,229,255,.12);
  top: 10%; left: 15%;
  animation-delay: 0s;
}
.ambient-orb:nth-child(2){
  width: 350px; height: 350px;
  background: rgba(124,58,237,.14);
  top: 30%; right: 10%;
  animation-delay: -4s;
}
.ambient-orb:nth-child(3){
  width: 300px; height: 300px;
  background: rgba(0,255,136,.10);
  bottom: 15%; left: 40%;
  animation-delay: -8s;
}
@keyframes orb-float{
  0%, 100%{ opacity: .3; transform: translate(0, 0) scale(1); }
  25%{ opacity: .5; transform: translate(30px, -20px) scale(1.1); }
  50%{ opacity: .35; transform: translate(-20px, 15px) scale(.95); }
  75%{ opacity: .55; transform: translate(15px, 25px) scale(1.05); }
}

/* =========================
   Responsive
========================= */
@media (max-width: 980px){
  .hero-layout{ grid-template-columns: 1fr; }
  .brand{ min-width: unset; }
  .actions{ min-width: unset; }
  nav{ display:none; }
  .menu-btn{ display:inline-flex; }
  .mobile-panel{ display:block; }
  .kpi-row{ grid-template-columns: repeat(3, minmax(0,1fr)); }
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-links{ justify-content:flex-start; }
}
@media (max-width: 720px){
  .grid.cols-4{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid.cols-3{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .hero-video-frame{ margin-inline: -4px; }
  .hero-video-embed{
    min-height: 190px;
    aspect-ratio: 16 / 11;
  }
  .hero-audio-toggle{
    right: 10px;
    bottom: 10px;
    padding: 8px 10px;
    font-size: 11px;
  }

  header{
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 12px;
  }
  .nav-wrap{
    height: auto;
    border-radius: 0 0 18px 18px;
    margin-top: 0;
    padding: 10px 16px;
    justify-content: center;
    background: rgba(8, 10, 24, .82);
    border: none;
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 8px 32px rgba(0,0,0,.4);
  }
  header.scrolled .nav-wrap{
    background: rgba(8, 10, 24, .92);
    border-bottom-color: rgba(255,255,255,.12);
    transform: none;
  }
  .actions{ display: none; }
  .mobile-panel{ display: none !important; }
  .brand{
    gap: 10px;
    min-width: unset;
  }
  .logo{
    width: 32px; height: 32px;
    border-radius: 10px;
    box-shadow: 0 0 0 1px rgba(255,255,255,.10), 0 0 20px rgba(124,58,237,.22);
  }
  .brand .name{ font-size: 14px; }
  .brand .tag{ font-size: 11px; }

  /* offset content below fixed header */
  main{ padding-top: 56px; }
  section{ scroll-margin-top: 72px; }
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .reveal, .reveal.in{ transition: none; transform:none; opacity:1; }
  .spark::after, .product-media::after{ animation: none; }
  #products .card{ opacity:1; transform:none; transition:none; }
  .works-marquee-track{ animation: none; }
  .cursor-glow{ display: none; }
  .ambient-orb{ animation: none; opacity: .3; }
  .section-beam::before, .section-beam::after{ animation: none; }
  .card:hover::before{ animation: none; }
  .stat-animate{ animation: none; opacity: 1; transform: none; filter: none; }
  .scroll-progress{ display: none; }
}
