.hero {
  min-height: 1400px;
  padding-top: 176px;
  text-align: center;
  position: relative;
  isolation: isolate;
}

.hero-video-background,
.hero-video-overlay {
  position: absolute;
  z-index: -2;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-video-background {
  overflow: hidden;
  background: var(--bg);
}

.hero-video-background video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video-overlay {
  z-index: -1;
  background: rgba(246, 247, 251, 0.78);
}

.hero-glow {
  position: absolute;
  width: 620px;
  height: 380px;
  top: -350px;
  left: 50%;
  translate: -50% 0;
  background: rgba(70,121,255,.2);
  filter: blur(110px);
  border-radius: 50%;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy > p:not(.hero-note) {
  width: min(100%, 590px);
  margin: 28px auto 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 17px;
  letter-spacing: -.015em;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.hero-note {
  margin: 15px 0 0 !important;
  color: #000 !important;
  font-size: 10px !important;
}

.hero-visual-row {
  width: min(100vw - 48px, 1360px);
  height: clamp(390px, 36vw, 560px);
  margin: 72px 50% 0;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  isolation: isolate;
}

.hero-visual {
  width: min(72vw, 900px);
  aspect-ratio: 1.32;
  margin: 0;
  position: relative;
  overflow: visible;
  z-index: 2;
}

.hero-visual-secondary {
  width: min(48vw, 610px);
  position: absolute;
  z-index: 1;
  right: max(8px, calc(50% - 640px));
  bottom: -6%;
  opacity: .92;
  transform: rotate(1.8deg);
}

.hero-macbook {
  width: 118%;
  max-width: none;
  height: auto;
  position: absolute;
  top: 49%;
  left: 50%;
  display: block;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 38px 44px rgba(15, 23, 42, .22));
}

.hero-visual-secondary .hero-macbook {
  width: 132%;
  filter: drop-shadow(0 28px 34px rgba(15, 23, 42, .16));
}

.desktop-frame {
  position: relative;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 18px;
  padding: 6px;
  background: linear-gradient(150deg,rgba(255,255,255,.95),rgba(255,255,255,.62) 45%,rgba(230,235,247,.9));
  box-shadow: 0 34px 70px rgba(15,23,42,.18), 0 0 0 1px rgba(255,255,255,.9);
  transition: transform .15s ease-out;
  overflow: hidden;
}

.desktop-wallpaper {
  aspect-ratio: 1.82;
  border-radius: 13px;
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at 32% 33%,#5f5a78 0,transparent 24%), radial-gradient(circle at 68% 67%,#28366a 0,transparent 32%), linear-gradient(135deg,#11151f,#10111d 50%,#1b1630);
}

.wallpaper-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(45px);
}

.orb-one {
  width: 380px;
  height: 230px;
  background: #8d66aa;
  opacity: .4;
  left: 5%;
  top: 12%;
  transform: rotate(-30deg);
}

.orb-two {
  width: 400px;
  height: 300px;
  background: #324fac;
  opacity: .35;
  right: 3%;
  bottom: -15%;
}

.wallpaper-topbar {
  height: 27px;
  position: relative;
  z-index: 2;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8px;
  color: #000;
  background: rgba(255,255,255,.45);
  backdrop-filter: blur(20px);
}

.switcher-window {
  position: absolute;
  z-index: 3;
  width: 43%;
  top: 19%;
  left: 50%;
  translate: -50% 0;
  border-radius: 15px;
  border: 1px solid rgba(15,23,42,.1);
  background: rgba(255,255,255,.76);
  backdrop-filter: blur(35px) saturate(160%);
  box-shadow: 0 30px 70px rgba(15,23,42,.16);
  overflow: hidden;
  text-align: left;
}

.switcher-search {
  height: 54px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #000;
  font-size: 11px;
}

.switcher-search svg {
  width: 15px;
  fill: none;
  stroke: #9ca0ab;
  stroke-width: 1.7;
}

.switcher-search kbd {
  margin-left: auto;
}

.switcher-search kbd, .switcher-footer kbd, .mini-search kbd {
  padding: 3px 5px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 4px;
  color: #000;
  background: rgba(255,255,255,.05);
  box-shadow: inset 0 -1px rgba(0,0,0,.4);
}

.window-list {
  padding: 6px;
}

.window-item {
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 9px;
  gap: 10px;
  border-radius: 8px;
}

.window-item.selected {
  background: linear-gradient(90deg,rgba(125,137,255,.28),rgba(121,104,238,.17));
  box-shadow: inset 0 0 0 1px rgba(166,175,255,.18);
}

.window-name {
  display: grid;
  gap: 2px;
  font-size: 9px;
}

.window-name b {
  font-weight: 550;
}

.window-name small {
  color: #000;
  font-size: 7px;
}

.switcher-footer {
  height: 28px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.07);
  color: #000;
  font-size: 6px;
}

.dock {
  height: 45px;
  padding: 5px 8px;
  position: absolute;
  bottom: 8px;
  left: 50%;
  translate: -50%;
  display: flex;
  gap: 5px;
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 11px;
  background: rgba(230,230,240,.14);
  backdrop-filter: blur(15px);
}

.dock i {
  width: 31px;
  height: 31px;
  border-radius: 8px;
  background: linear-gradient(145deg,#57cbff,#275dde);
}

.dock i:nth-child(2) {
  background: linear-gradient(145deg,#845cf6,#ec5d86);
}

.dock i:nth-child(3) {
  background:linear-gradient(145deg,#313540,#0c0d10)
}

.dock i:nth-child(4) {
  background:linear-gradient(145deg,#ff866a,#7f54e8)
}

.dock i:nth-child(5) {
  background:linear-gradient(145deg,#fff,#9d9fa5)
}

.dock i:nth-child(6) {
  background:linear-gradient(145deg,#ffd968,#e57e2f)
}

.floating-chip {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border: 1px solid rgba(15,23,42,.1);
  border-radius: 12px;
  color: #000;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 15px 35px rgba(15,23,42,.12);
  font-size: 9px;
}

.floating-chip kbd {
  color: #111827;
  padding: 5px 7px;
  border-radius: 6px;
  background: rgba(15,23,42,.05);
  box-shadow: inset 0 -1px 0 rgba(15,23,42,.12);
}

.chip-shortcut {
  left: -4%;
  top: 25%;
}

.chip-speed {
  right: -3%;
  bottom: 18%;
  display: grid;
  grid-template-columns: auto auto;
  text-align: left;
}

.chip-speed span:last-child {
  grid-column: 2;
  font-size: 7px;
}

.chip-speed b {
  color: #111827;
}

.switcher-window.actual-switcher {
  width:52%;
  top:14%;
  padding:10px;
  overflow:hidden;
  border-color:rgba(15,23,42,.1);
  border-radius:18px;
  background:rgba(255,255,255,.72);
}

.actual-switcher .switcher-search {
  height:46px;
  margin-bottom:8px;
  border:1px solid rgba(15,23,42,.1);
  border-radius:22px;
  background:rgba(246,248,252,.9);
}

.actual-switcher .switcher-search span {
  color:#000;
  font-weight:550;
}

.actual-switcher .window-list {
  display:grid;
  gap:6px;
  padding:0;
}

.actual-switcher .window-item {
  height:45px;
  padding:0 10px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:11px;
  background:rgba(255,255,255,.86);
}

.actual-switcher .window-item.selected {
  border-color:#078cf3;
  background:linear-gradient(90deg,#0877d3,#0668ba);
  box-shadow:0 7px 18px rgba(0,88,190,.22);
}

.actual-switcher .window-name {
  min-width:0;
  flex:1;
}

.actual-switcher .window-name b {
  display:block;
  overflow:hidden;
  color:#111827;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.actual-switcher .window-name b em {
  margin-left:4px;
  color:#000;
  font-style:normal;
  font-weight:550;
}

.actual-switcher .selected .window-name b em {
  color:#fff;
}

.actual-switcher .window-name small {
  color:#000;
}

.actual-switcher .selected .window-name small {
  color:#fff;
}

.placeholder-content.app-window-real {
  width:min(72%,680px);
  padding:12px;
  border-color:rgba(15,23,42,.1);
  border-radius:22px;
  background:rgba(255,255,255,.76);
}

.app-window-real .placeholder-search {
  height:54px;
  margin-bottom:14px;
  border-color:rgba(15,23,42,.1);
  border-radius:27px;
  background:rgba(246,248,252,.9);
  font-size:13px;
}

.app-window-real .placeholder-row {
  height:66px;
  margin-top:9px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:14px;
  background:rgba(255,255,255,.86);
}

.app-window-real .placeholder-row.chosen {
  border-color:#078cf3;
  background:linear-gradient(90deg,#0878d7,#0869bb);
  box-shadow:0 10px 25px rgba(0,84,185,.25);
}

.app-window-real .app-icon {
  width:40px;
  height:40px;
  border-radius:11px;
}

.app-window-real .placeholder-row > span:last-child {
  min-width:0;
  display:grid;
  flex:1;
  gap:5px;
}

.app-window-real .placeholder-row b {
  display:block;
  overflow:hidden;
  color:#111827;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.app-window-real .placeholder-row b em {
  margin-left:7px;
  color:#000;
  font-style:normal;
  font-weight:550;
}

.app-window-real .placeholder-row.chosen b em {
  color:#fff;
}

.app-window-real .placeholder-row small {
  margin:0;
  color:#000;
}

.app-window-real .placeholder-row.chosen small {
  color:#fff;
}

.hero-copy {
  translate:0 var(--hero-copy-shift,0);
}

.hero-visual {
  translate:0 var(--hero-visual-shift,0);
}

.floating-chip {
  animation:slow-float 5.8s ease-in-out infinite alternate;
}

.chip-speed {
  animation-delay:-2.4s;
}
