.hero-visual{
  display:flex;
  justify-content:flex-end;
  overflow:visible;
}

.tech-stage{
  position:relative;
  width:min(100%, 590px);
  min-height:470px;
  padding:14px 8px 0;
  transform:
    perspective(1100px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translate3d(var(--move-x, 0px), var(--move-y, 0px), 0);
  transition:transform .18s ease-out;
  overflow:visible;
}

.tech-stage__glow{
  display:none;
  position:absolute;
  border-radius:50%;
  filter:none;
  pointer-events:none;
}

.tech-stage__glow--one{
  width:260px;
  height:220px;
  right:44px;
  top:70px;
  background:transparent;
}

.tech-stage__glow--two{
  width:170px;
  height:130px;
  left:110px;
  bottom:80px;
  background:transparent;
}

.float-card{
  position:absolute;
  z-index:4;
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:154px;
  padding:14px 16px;
  border-radius:22px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(255,255,255,.85);
  box-shadow:0 18px 40px rgba(0,0,0,.10);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

.float-card__label{
  display:inline-flex;
  width:max-content;
  min-height:26px;
  padding:0 10px;
  align-items:center;
  border-radius:999px;
  background:rgba(219,37,16,.10);
  color:var(--red, #db2510);
  font-size:12px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.float-card__title{
  font-size:16px;
  line-height:1.15;
  font-weight:900;
  color:#131312;
}

.float-card__meta{
  font-size:12px;
  line-height:1.35;
  color:#666;
  font-weight:600;
}

.float-card--seo{
  left: -40px;
    top: 2px;
  transform:rotate(-6deg);
}

.float-card--ads{
      top: 19px;
    right: -40px;
  transform:rotate(6deg);
}

.float-card--dev{
  left:-45px;
  bottom:10px;
  transform:rotate(-5deg);
  max-width:228px;
}

.laptop{
  position:relative;
  z-index:2;
  width:100%;
  max-width:520px;
  margin:78px auto 0;
}

.laptop__screen{
  position:relative;
  width:100%;
  height:320px;
  padding:12px;
  border-radius:26px 26px 18px 18px;
  background:linear-gradient(180deg, #2f3137 0%, #121317 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 28px 70px rgba(0,0,0,.22);
}

.screen-ui{
  position:relative;
  width:100%;
  height:100%;
  overflow:hidden;
  border-radius:18px;
  background:linear-gradient(180deg, #101114 0%, #17181d 100%);
  border:1px solid rgba(255,255,255,.05);
}

.screen-ui::after{
  content:"";
  display:none;
  position:absolute;
  inset:auto 10% 10% auto;
  width:140px;
  height:90px;
  border-radius:28px;
  background:transparent;
  filter:none;
  pointer-events:none;
}

.screen-ui__top{
  display:flex;
  align-items:center;
  gap:12px;
  height:42px;
  padding:0 14px;
  border-bottom:1px solid rgba(255,255,255,.06);
}

.screen-ui__dots{
  display:flex;
  align-items:center;
  gap:6px;
}

.screen-ui__dots span{
  width:8px;
  height:8px;
  border-radius:50%;
  background:rgba(255,255,255,.28);
}

.screen-ui__dots span:first-child{ background:#ff6550; }
.screen-ui__dots span:nth-child(2){ background:#ffcf4c; }
.screen-ui__dots span:nth-child(3){ background:#32cc73; }

.screen-ui__search{
  flex:1;
  min-width:0;
  height:28px;
  display:flex;
  align-items:center;
  padding:0 12px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  color:rgba(255,255,255,.60);
  font-size:12px;
  font-weight:600;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.screen-ui__body{
  display:grid;
  grid-template-columns:54px 1fr;
  height:calc(100% - 42px);
}

.ui-sidebar{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  padding:18px 0;
  border-right:1px solid rgba(255,255,255,.06);
}

.ui-sidebar__item{
  width:22px;
  height:22px;
  border-radius:8px;
  background:rgba(255,255,255,.08);
}

.ui-sidebar__item--active{
  background:linear-gradient(135deg, #ff5b32 0%, #db2510 100%);
  box-shadow:none;
}

.ui-main{
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.ui-stats{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
}

.ui-stat{
  min-height:60px;
  padding:12px;
  border-radius:16px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.05);
}

.ui-stat__name{
  display:block;
  margin-bottom:6px;
  color:rgba(255,255,255,.58);
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.ui-stat__value{
  color:#fff;
  font-size:18px;
  line-height:1;
  font-weight:900;
}

.ui-chart{
  position:relative;
  flex:1;
  min-height:132px;
  border-radius:18px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
  overflow:hidden;
}

.ui-chart__grid{
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size:100% 28px, 58px 100%;
  opacity:.6;
}

.ui-chart__curve{
  position:absolute;
  left:12px;
  right:12px;
  top:10px;
  bottom:38px;
}

.ui-chart__curve svg{
  width:100%;
  height:100%;
}

.ui-chart__curve path{
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.ui-chart__curve--red path{
  stroke:#ff5b32;
  stroke-width:4;
  filter:none;
}

.ui-chart__curve--white path{
  stroke:rgba(255,255,255,.85);
  stroke-width:3;
}

.ui-chart__bars{
  position:absolute;
  left:16px;
  right:16px;
  bottom:14px;
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  align-items:end;
  gap:10px;
}

.ui-chart__bars span{
  display:block;
  border-radius:999px 999px 8px 8px;
  background:linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.05));
}

.ui-chart__bars span:nth-child(1){ height:22px; }
.ui-chart__bars span:nth-child(2){ height:44px; }
.ui-chart__bars span:nth-child(3){
  height:62px;
  background:linear-gradient(180deg, rgba(255,108,78,.88), rgba(219,37,16,.28));
}
.ui-chart__bars span:nth-child(4){ height:34px; }
.ui-chart__bars span:nth-child(5){ height:74px; }

.ui-bottom{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  align-items:center;
}

.ui-code{
  display:grid;
  gap:8px;
}

.ui-code span{
  display:block;
  height:8px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
}

.ui-code span:nth-child(1){ width:88%; }
.ui-code span:nth-child(2){ width:72%; }
.ui-code span:nth-child(3){ width:94%; }
.ui-code span:nth-child(4){ width:55%; }

.ui-tags{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}

.ui-tags span{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(255,255,255,.07);
  color:rgba(255,255,255,.82);
  font-size:11px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.laptop__base{
  width:112%;
  height:18px;
  margin:-1px auto 0;
  transform:translateX(-5.5%);
  border-radius:5px 5px 22px 22px;
  background:linear-gradient(180deg, #a1a4ac 0%, #5d5f65 45%, #303237 100%);
  box-shadow:0 18px 28px rgba(0,0,0,.14);
}

.laptop__shadow{
  width:68%;
  height:20px;
  margin:8px auto 0;
  border-radius:50%;
  background:rgba(0,0,0,.14);
  filter:blur(14px);
}

.metric-badge{
  position:absolute;
  z-index:5;
  display:flex;
  flex-direction:column;
  gap:4px;
  min-height:54px;
  padding:12px 16px;
  border-radius:18px;
  background:rgba(19,19,18,.96);
  color:#fff;
  box-shadow:0 16px 36px rgba(0,0,0,.14);
}

.metric-badge strong{
  font-size:14px;
  line-height:1.2;
  font-weight:900;
}

.metric-badge__kicker{
  font-size:10px;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:rgba(255,255,255,.52);
  font-weight:800;
}

.metric-badge--one{
      right: -50px;
    top: 138px;
}

.metric-badge--two{
  left:-40px;
  top:245px;
}

.metric-badge--three{
  right: 10px;
    bottom: 25px;
  background:var(--red-dark, #a31a0a);
  
}

@media (max-width: 1080px){
  .hero-visual{
    justify-content:center;
  }

  .tech-stage{
    width:min(100%, 640px);
    min-height:520px;
  }

  .laptop{
    max-width:560px;
  }
}

@media (max-width: 767px){
  .hero-visual{
    width:100%;
  }

  .tech-stage{
    width:100%;
    max-width:430px;
    min-height:0;
    padding:78px 0 22px;
    margin:0 auto;
  }

  .tech-stage__glow--one{
    width:190px;
    height:160px;
    right:24px;
    top:76px;
  }

  .tech-stage__glow--two{
    width:130px;
    height:90px;
    left:18px;
    bottom:48px;
  }

  .float-card{
    min-width:0;
    width:calc(50% - 6px);
    max-width:none;
    padding:10px 12px;
    gap:4px;
    border-radius:18px;
  }

  .float-card__label{
    min-height:22px;
    padding:0 8px;
    font-size:10px;
  }

  .float-card__title{
    font-size:13px;
    line-height:1.1;
  }

  .float-card__meta{
    font-size:10px;
    line-height:1.25;
  }

  .float-card--seo{
            left: -16px;
        top: 14px;
    transform:rotate(-4deg);
  }

  .float-card--ads{
  right: -16px;
        top: 12px;
    transform:rotate(4deg);
  }

  .float-card--dev{
    left: 23%;
        bottom: 6px;
    transform:translateX(-50%) rotate(10deg);
    width:min(76%, 270px);
  }

  .laptop{
    max-width:390px;
    margin:0 auto;
  }

  .laptop__screen{
    height:268px;
    padding:10px;
    border-radius:22px 22px 16px 16px;
  }

  .laptop__base{
    width:112%;
    height:14px;
    transform:translateX(-5%);
    border-radius:4px 4px 16px 16px;
  }

  .laptop__shadow{
    width:72%;
    height:16px;
  }

  .screen-ui__top{
    gap:8px;
    padding:0 10px;
    height:36px;
  }

  .screen-ui__search{
    font-size:10px;
    height:24px;
    padding:0 10px;
  }

  .screen-ui__body{
    grid-template-columns:38px 1fr;
    height:calc(100% - 36px);
  }

  .ui-sidebar{
    gap:10px;
    padding:14px 0;
  }

  .ui-sidebar__item{
    width:18px;
    height:18px;
    border-radius:6px;
  }

  .ui-main{
    padding:10px;
    gap:10px;
  }

  .ui-stats{
    gap:6px;
  }

  .ui-stat{
    min-height:46px;
    padding:8px;
    border-radius:12px;
  }

  .ui-stat__name{
    margin-bottom:4px;
    font-size:9px;
  }

  .ui-stat__value{
    font-size:13px;
  }

  .ui-chart{
    min-height:108px;
    border-radius:14px;
  }

  .ui-chart__curve{
    left:8px;
    right:8px;
    top:8px;
    bottom:30px;
  }

  .ui-chart__bars{
    left:10px;
    right:10px;
    bottom:10px;
    gap:6px;
  }

  .ui-chart__bars span:nth-child(1){ height:16px; }
  .ui-chart__bars span:nth-child(2){ height:30px; }
  .ui-chart__bars span:nth-child(3){ height:50px; }
  .ui-chart__bars span:nth-child(4){ height:24px; }
  .ui-chart__bars span:nth-child(5){ height:58px; }

  .ui-bottom{
    grid-template-columns:1fr;
    gap:8px;
  }

  .ui-code{
    gap:6px;
  }

  .ui-code span{
    height:6px;
  }

  .ui-tags{
    justify-content:flex-start;
    gap:6px;
  }

  .ui-tags span{
    min-height:22px;
    padding:0 8px;
    font-size:9px;
  }

  .metric-badge{
    min-height:auto;
    padding:8px 10px;
    border-radius:14px;
  }

  .metric-badge__kicker{
    font-size:10px;
  }

  .metric-badge strong{
    font-size:13px;
  }

  .metric-badge--one{
    right:0;
    top:84px;
  }

  .metric-badge--two{
    display:none;
  }

  .metric-badge--three{
        left: 79%;
        right: auto;
        bottom: 46px;
    transform:translateX(-50%);
    width:max-content;
    max-width:calc(100% - 24px);
    text-align:center;
  }

      .hero-content {
        max-width: none;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-title {
        text-align: left;
    }
    .hero-text {
       text-align: left;
    }
}

@media (max-width: 560px){
  .tech-stage{
    max-width:390px;
    padding:76px 0 18px;
  }

  .laptop{
    max-width:350px;
  }

  .laptop__screen{
    height:252px;
  }

  .float-card--dev{
    width:min(78%, 225px);
  }
}

@media (max-width: 420px){
  .tech-stage{
    max-width:342px;
    padding:72px 0 16px;
  }

  .float-card{
    width:calc(50% - 4px);
    padding:8px 10px;
  }

  .float-card__meta{
    
  }

  .float-card--dev{
    width:min(82%, 170px);
  }

  .laptop{
    max-width:308px;
  }

  .laptop__screen{
    height:226px;
    padding:8px;
  }

  .screen-ui__top{
    gap:6px;
    padding:0 8px;
    height:34px;
  }

  .screen-ui__dots{
    gap:4px;
  }

  .screen-ui__dots span{
    width:6px;
    height:6px;
  }

  .screen-ui__search{
    font-size:9px;
    height:22px;
    padding:0 8px;
  }

  .screen-ui__body{
    grid-template-columns:34px 1fr;
    height:calc(100% - 34px);
  }

  .ui-sidebar__item{
    width:16px;
    height:16px;
  }

  .ui-main{
    padding:8px;
    gap:8px;
  }

  .ui-chart{
    min-height:90px;
  }

  .metric-badge--one{
    top:83px;
  }

  .metric-badge--three{
    bottom:-2px;
  }
}

@media (max-width: 340px){
  .tech-stage{
    max-width:286px;
    padding:68px 0 14px;
  }

  .float-card{
    width:calc(51% - 3px);
    padding:7px 8px;
    border-radius:16px;
  }

  .float-card__label{
    min-height:20px;
    font-size:9px;
  }

  .float-card__title{
    font-size:12px;
  }

  .laptop{
    max-width:258px;
  }

  .laptop__screen{
    height:192px;
  }

  .ui-stat{
    min-height:40px;
    padding:6px;
  }

  .ui-stat__value{
    font-size:11px;
  }

  .ui-tags span{
    font-size:8px;
    min-height:20px;
    padding:0 6px;
  }

  .metric-badge{
    padding:7px 8px;
  }

  .metric-badge strong{
    font-size:10px;
  }
}

.float-card__label,
.float-card__title,
.ui-stat__value,
.metric-badge strong{
  font-weight:700;
  letter-spacing:0;
}

.float-card__meta,
.screen-ui__search,
.ui-stat__name,
.metric-badge span{
  font-weight:600;
  letter-spacing:0;
}
