.hero-title .w-light,
body {
  font-family: Outfit, sans-serif;
  -webkit-font-smoothing: antialiased
}

.pc img,
.tl,
img {
  display: block
}

.eyebrow-text,
.hero-pill,
.ticker-inner {
  text-transform: uppercase
}

.feat-card,
.hero-right,
.pc {
  position: relative
}

.feat-card,
.hero-stats,
.ticker {
  overflow: hidden
}

.feat-card::before,
.shero::after {
  position: absolute;
  left: 0;
  right: 0
}

.hero-right::before,
.s-klipper::before {
  inset: 0;
  pointer-events: none;
  content: ''
}

.lno,
.ticker {
  user-select: none
}

.app-no,
.mat-temp,
.sbar-val,
.stbl-v,
.term-body,
.term-filename,
.ticker-inner {
  font-family: 'IBM Plex Mono', monospace
}

.header-main,
.navbar {
  background: #fff !important
}

.header-main a,
.navbar a,
header a {
  color: #0b1b2b !important
}

header {
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08)
}

*,
::after,
::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

:root {
  --navy: #0d2461;
  --navy-dark: #081640;
  --navy-mid: #1e3a7a;
  --navy-light: #2d52a0;
  --navy-50: #e8edf8;
  --navy-100: #d1daf1;
  --navy-200: #a8bcde;
  --orange: #f47920;
  --orange-dark: #c85e0a;
  --orange-mid: #e06a12;
  --orange-light: #ff9642;
  --orange-50: #fff4ea;
  --orange-100: #ffe2c0;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --text-primary: #0c1a3a;
  --text-secondary: #44537a;
  --text-muted: #8a96b8;
  --shadow-sm: 0 1px 3px rgba(13, 36, 97, .07), 0 1px 2px rgba(13, 36, 97, .04);
  --shadow-md: 0 4px 16px rgba(13, 36, 97, .10), 0 2px 6px rgba(13, 36, 97, .05);
  --shadow-lg: 0 12px 40px rgba(13, 36, 97, .14), 0 4px 12px rgba(13, 36, 97, .07);
  --shadow-xl: 0 24px 64px rgba(13, 36, 97, .18), 0 6px 20px rgba(13, 36, 97, .09);
  --shadow-orange: 0 8px 28px rgba(244, 121, 32, .35);
  --shadow-navy: 0 8px 28px rgba(13, 36, 97, .32);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 5px
}

html {
  scroll-behavior: smooth
}

body {
  background: var(--white);
  color: var(--text-primary);
  overflow-x: hidden;
    font-display: swap;
}

a {
  text-decoration: none
}

.hero {
  padding-top: 64px;
  min-height: 100vh;
  
  display: grid;
  grid-template-columns: 1fr 1fr
}

.hero-left {
  padding: 80px 60px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--gray-200)
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  font-size: .89rem;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 5px 14px;
  border-radius: 20px;
  width: fit-content;
  margin-bottom: 28px;
}

.hero-pill-dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%
}

.hero-title {
  font-size: clamp(3.2rem, 5.5vw, 6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.008rem;
}

.eyebrow-text.navy,
.hero-title .w-navy {
  color: var(--navy)
}

.eyebrow-text.orange,
.hero-title .w-orange,
.kw {
  color: var(--orange)
}

.hero-title .w-light {
  color: var(--gray-300);
  font-weight: 300
}

.hero-desc {
  margin-top: 26px;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 40px;
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}

.hstat {
  background: var(--white);
  padding: 20px 22px;
  transition: background .18s;
  cursor: default
}

.hstat:hover {
  background: var(--navy-50)
}

.hstat-n {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--navy)
}

.btn-navy,
.btn-orange {
  color: #fff;
  transition: background .18s, box-shadow .18s, transform .14s;
  font-size: .9rem;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600
}

.hero-btns {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}
.hero-sub {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 8px;
}

.btn-orange {
  background: var(--orange);
  box-shadow: var(--shadow-orange);
}

.btn-outline {
  border: 2px solid var(--navy);
}

.btn-orange:hover {
  background: var(--navy);
  box-shadow: var(--shadow-orange);
  transform: translateY(-2px);
  color: white;
}

.btn-navy {
  background: var(--navy)
}

.btn-navy:hover {
  background: var(--navy-mid);
  box-shadow: var(--shadow-navy);
  transform: translateY(-1px)
}

.btn-outline {
  background: 0 0;
  color: var(--navy);
  font-size: .9rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  transition: background .18s, border-color .18s
}

.btn-outline:hover {
  background: var(--navy-50);
  border-color: var(--navy)
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  
}
.hero-right::before {
  position: absolute;
}

.pc {

  width: 100%;
  z-index: 2;
}

.pc img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin-top: 0px;
}

.hero-img {
  image-rendering: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
}




.materials {
  padding: 100px 0;
  background: #fff
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px
}

.material {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 26px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  background: #fff;
  transition: .25s
}

.app-card:nth-child(2n)::before,
.eyebrow-line.orange,
.feat-card.or::before,
.stbl-head-dot.orange,
.ticker {
  background: var(--orange)
}

.material:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .08)
}

.app-card:hover,
.feat-card:hover,
.mat-card:hover {
  box-shadow: var(--shadow-md)
}

.ticker {
  border-top: 2px solid var(--orange-dark);
  border-bottom: 2px solid var(--orange-dark);
  white-space: nowrap
}

.ticker-inner {
  display: inline-block;
  padding: 10px 0;
  animation: 30s linear infinite tickerScroll;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .14em;
  color: #fff
}

@keyframes tickerScroll {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

.ticker-inner span {
  padding: 0 26px
}

.ticker-inner .dim {
  opacity: .5
}

.s {
  padding: 40px 64px
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px
}

.eyebrow-line {
  width: 28px;
  height: 3px;
  border-radius: 3px;
  flex-shrink: 0
}

.app-card:nth-child(odd)::before,
.eyebrow-line.navy,
.feat-card.nb::before,
.stbl-head-dot.navy {
  background: var(--navy)
}

.eyebrow-line.white,
.feat-card,
.s-features {
  background: var(--white)
}

.eyebrow-text {
  font-size: .89rem;
  font-weight: 700;
  letter-spacing: .1em
}

.eyebrow-text.white {
  color: rgba(255, 255, 255, .65)
}

.sec-title {
  font-size: clamp(1.9rem, 2.8vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.08;
  color: var(--text-primary);
  width: 100%;
}

.sec-title.on-dark {
  color: #fff
}

.sec-sub {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.76;
  color: var(--text-secondary);
  
}

.sec-sub.on-dark {
  color: rgba(255, 255, 255, .55)
}

.s-features {
  border-bottom: 1px solid var(--gray-200)
}

.apps-grid,
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px
}

.feat-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s, border-color .25s
}

.feat-card:hover {
  transform: translateY(-3px);
  border-color: var(--gray-300)
}

.s-apps,
.s-specs,
.stbl-head {
  border-bottom: 1px solid var(--gray-200)
}

.s-apps,
.s-materials,
.s-specs {
  border-top: 1px solid var(--gray-200)
}

.stbl-v.orange {
  font-size: 1rem;
  font-weight: 700;
}

.feat-card::before {
  content: '';
  top: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s
}

.feat-card:hover::before {
  transform: scaleX(1)
}

.feat-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px
}

.feat-icon.navy,
.stbl-head.navy {
  background: var(--navy-50);
  color: var(--navy)
}

.feat-icon.orange,
.stbl-head.orange {
  background: var(--orange-50);
  color: var(--orange)
}

.feat-icon svg {
  width: 22px;
  height: 22px
}

.feat-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px
}

.feat-body {
  font-size: .98rem;
  line-height: 1.74;
  color: var(--text-secondary)
}

.s-apps,
.s-specs {
  background: var(--gray-50)
}

.specs-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 44px;
  margin-top: 48px;
  align-items: start
}

.specs-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 18px
}

.mat-card,
.shero {
  position: relative;
  overflow: hidden
}

.shero {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-navy)
}

.mat-card,
.sbars,
.stbl {
  box-shadow: var(--shadow-sm)
}

.shero::after {
  content: '';
  bottom: 0;
  height: 5px;
  background: var(--orange)
}

.shero-n {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .92;
  color: #fff
}

.sbar-name,
.sbar-val,
.shero-l {
  font-weight: 500
}

.shero-l,
.stbl-head {
  text-transform: uppercase;
  letter-spacing: .09em
}

.shero-n sub {
  font-size: .28em;
  font-weight: 400;
  opacity: .6
}

.shero-l {
  font-size: .7rem;
  opacity: .55;
  color: #fff;
  margin-top: 10px
}

.sbars {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 20px
}

.sbar-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px
}

.sbar-name {
  font-size: .9rem;
  color: var(--text-secondary)
}

.sbar-val {
  font-size: .89rem;
  color: var(--orange)
}

.sbar-track {
  height: 5px;
  background: var(--gray-200);
  border-radius: 5px;
  overflow: hidden
}

.sbar-fill {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--navy) 0, var(--orange) 100%);
}

@keyframes barIn {
  from {
    width: 0 !important
  }
}

.stables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.stbl {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden
}

.stbl-head {
  padding: 13px 20px;
  font-size: .9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px
}

.stbl-k,
.stbl-v {
  font-weight: 500
}

.stbl-head-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0
}

.mat-bar,
.s-klipper::after {
  right: 0;
  height: 4px;
  top: 0;
  left: 0
}

.stbl-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 20px;
  border-bottom: 1px solid var(--gray-100);
  gap: 10px;
  transition: background .15s
}

.stbl-row:last-child {
  border-bottom: none
}

.stbl-row:hover {
  background: var(--gray-50)
}

.stbl-k {
  font-size: .95rem;
  color: var(--text-muted);
  flex-shrink: 0
}

.mat-name,
.stbl-v {
  color: var(--text-primary)
}

.stbl-v {
  font-size: .89rem;
  text-align: right
}

.stbl-v.navy {
  color: var(--navy);
  font-weight: 600
}

.stbl-v.orange {
  color: var(--orange);
  font-weight: 600
}

.s-materials {
  padding: 80px 64px;
  background: #fff;
  border-bottom: 1px solid var(--gray-200)
}

.mat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px
}

.mat-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px;
  transition: .25s
}

.mat-card:hover {
  transform: translateY(-4px)
}

.mat-bar {
  position: absolute;
  background: var(--mc, #ccc);
  border-radius: 4px 4px 0 0
}

.app-card,
.kl-grid,
.s-klipper {
  position: relative
}

.mat-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 12px
}

.mat-full {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 12px
}

.mat-temp {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px
}

.mat-temp.orange {
  color: var(--orange);
  background: var(--orange-50);
  border: 1px solid var(--orange-100)
}

.mat-temp.navy {
  color: var(--navy);
  background: var(--navy-50);
  border: 1px solid var(--navy-100)
}

.mat-desc {
  font-size: .95rem;
  line-height: 1.6;
  color: var(--text-secondary)
}

.s-klipper {
  background: var(--navy);
  overflow: hidden
}

.s-klipper::before {
  position: absolute;
  background-image: radial-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 28px 28px
}

.s-klipper::after {
  content: '';
  position: absolute;
  background: var(--orange)
}

.kl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  margin-top: 48px;
  align-items: start;
  z-index: 2
}

.kl-points {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.kl-pt {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-sm);
  transition: background .2s, border-color .2s
}

.kl-pt:hover {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(244, 121, 32, .45)
}

.kl-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: rgba(244, 121, 32, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange)
}

.kl-icon svg {
  width: 19px;
  height: 19px
}

.kl-pt-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px
}

.kl-pt-desc {
  font-size: .9rem;
  line-height: 1.66;
  color: rgba(255, 255, 255, .5)
}

.kl-term {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xl)
}

.term-topbar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 18px;
  background: #06102a;
  border-bottom: 1px solid rgba(255, 255, 255, .07)
}

.td {
  width: 12px;
  height: 12px;
  border-radius: 50%
}

.td-r {
  background: #ff5f57
}

.td-y {
  background: #ffbd2e
}

.td-g {
  background: #28ca41
}

.term-filename {
  font-size: .78rem;
  color: rgba(255, 255, 255, .27);
  margin-left: 8px
}

.app-body,
.app-em,
.app-no,
.app-title {
  margin-left: 12px
}

.term-body {
  background: #0a1428;
  padding: 24px;
  font-size: .89rem;
  line-height: 2.1
}

.lno {
  color: rgba(255, 255, 255, .17);
  margin-right: 18px
}

.prop {
  color: #93c5fd
}

.val {
  color: #86efac
}

.cmt {
  color: rgba(255, 255, 255, .22)
}

.cur {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--orange);
  vertical-align: text-bottom;
  animation: 1s step-end infinite curBlink
}

@keyframes curBlink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

.app-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .35s, box-shadow .35s
}

.app-card:hover {
  border-color: var(--gray-300);
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, .12)
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  border-radius: 4px 0 0 4px
}

.app-em {
  font-size: 2.6rem;
  display: block;
  margin-bottom: 14px
}

.app-no {
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: .04em
}

.app-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px
}

.app-body {
  font-size: .98rem;
  line-height: 1.72;
  color: var(--text-secondary)
}


@media (max-width:992px) {
  .materials {
    padding: 80px 0
  }

  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px
  }

  .s-materials {
    padding: 70px 40px
  }

  .mat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px
  }

  .mat-card {
    padding: 20px
  }

}

@media (max-width:768px) {
  .hero-left {
    padding: 70px 24px 30px
  }

  .hero-title {
    font-size: clamp(2.6rem, 8vw, 3.6rem)
  }

  .hero-stats {
    grid-template-columns: 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 8px
  }

  .hero-btns {
    flex-direction: column;
    width: 100%
  }

  .hero-btns a {
    width: 100%;
    text-align: center
  }

  .pc {
    max-width: 320px
  }

  .hero-pill {
    white-space: nowrap;
    font-size: .75rem
  }

  .hstat {
    padding: 14px;
    text-align: center
  }

  .hstat-n {
    font-size: .85rem;
    line-height: 1.2
  }

  .materials {
    padding: 70px 0
  }

  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px
  }

  .material {
    padding: 20px;
    font-size: .95rem
  }

  .s-materials {
    padding: 60px 24px
  }

  .mat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px
  }

  .mat-name {
    font-size: 1.2rem
  }

  .mat-desc {
    font-size: .9rem
  }


}

@media (max-width:480px) {

  .mat-grid,
  .materials-grid {
    grid-template-columns: 1fr
  }

  .material {
    padding: 18px;
    font-size: .92rem
  }

  .mat-card {
    padding: 18px
  }

  .mat-name {
    font-size: 1.1rem
  }

  .mat-desc {
    font-size: .88rem
  }


}

@media (max-width:1060px) {
  .nav {
    padding: 0 24px
  }

  .hero-decorlabels,
  .nav-links {
    display: none
  }

  .hero,
  .kl-grid,
  .specs-layout,
  .stables {
    grid-template-columns: 1fr
  }

  .hero-right {
    min-height: max-content;
    margin-left: 30px;

  }

  .hero-left {
    padding: 80px 28px 56px
  }

  .s,
  .s-cta {
    padding: 48px 28px;

  }

  .apps-grid,
  .feat-grid,
  .mat-grid {
    grid-template-columns: 1fr 1fr
  }

  .specs-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap
  }

  .sbars,
  .shero {
    flex: 1 1 220px
  }

  .cta-wrap {
    grid-template-columns: 1fr;
    gap: 36px
  }

  .footer {
    padding: 24px 28px;
    flex-wrap: wrap
  }
}

@media (max-width:600px) {

  .apps-grid,
  .feat-grid,
  .mat-grid {
    grid-template-columns: 1fr
  }

  .hstat-n {
    font-size: .89rem
  }
}

section {
  content-visibility: auto;
  contain-intrinsic-size: 1000px;
}

/* =========================
   GALLERY WRAPPER (SIDE SPACE)
========================= */
.gallery-wrapper {
  position: relative;
  padding: 0 60px;
  /* desktop spacing */
}

/* =========================
   TRACK (SCROLL AREA)
========================= */
.gallery-track {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 10px 0;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

/* =========================
   ROW
========================= */
.gallery-row {
  display: flex;
  gap: 24px;
}

/* =========================
   IMAGES (DESKTOP)
========================= */
.gallery-row img {
  width: 320px;
  height: 360px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s;
}

.gallery-row img:hover {
  transform: scale(1.05);
}

.gallery-row {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
  will-change: transform;
}
/* =========================
   BUTTONS
========================= */
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.gallery-btn.prev {
  left: 10px;
}

.gallery-btn.next {
  right: 10px;
}

.gallery-btn:hover {
  background: var(--orange);
}

.gallery-btn {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* =========================
   TABLET (≤ 992px)
========================= */
@media (max-width: 992px) {

  .gallery-wrapper {
    padding: 0 40px;
  }

  .gallery-row img {
    width: 260px;
    height: 300px;
  }

  .gallery-btn {
    width: 38px;
    height: 38px;
  }
}


/* =========================
   SMALL MOBILE (≤ 480px)
========================= */
@media (max-width: 480px) {

  .gallery-wrapper {
    padding: 0 16px;
  }

  .gallery-row img {
    width: 180px;
    height: 240px;
  }

  /* cleaner UI */
  .gallery-btn {
    display: flex;
  }
}

.feat-card {
  min-height: 220px;
}

.gallery-track {
  align-items: stretch;
  /* instead of center */
}

.gallery-row img {
  height: 300px;
}

.gallery-track {
  scroll-snap-type: x mandatory;
}

.gallery-row img {
  scroll-snap-align: start;
}



@media (max-width: 480px) {

  .gallery-row img {
    height: 100%;
  }

  .gallery-btn.prev {
    left: 8px;
  }

  .gallery-btn.next {
    right: 8px;
  }
}

@media (max-width: 768px) {

  .gallery-wrapper {
    padding: 0 16px;
  }

  .gallery-track {
    overflow: hidden;
    position: relative;
  }

  .gallery-row {
    display: flex;
    gap: 0;
    transition: transform 0.4s ease;
  }

  .gallery-row img {
    width: 100%;
    height: max-content;
    object-fit: cover;
    flex-shrink: 0;
  }

  .gallery-btn {
    width: 34px;
    height: 34px;
    font-size: 18px;
    background: rgba(13, 36, 97, 0.9);
  }

  .gallery-btn.prev {
    left: 10px;
  }

  .gallery-btn.next {
    right: 10px;
  }
}

/* changes for performance */
.s-features,
.s-specs,
.s-materials,
.s-apps {
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

.section-hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.section-visible {
  opacity: 1;
  transform: translateY(0);
}

.ticker {
  content-visibility: auto;
}

.stables {
  content-visibility: auto;
  contain-intrinsic-size: 600px;
}

.hero {
  min-height: 100vh;
  display: grid;
}

.hero-img-mobile {
  display: none;
}

/* ✅ MOBILE FIX */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-right {
    display: none;
    justify-content: center;
  }

  .hero-img-mobile {
    display: block;
    margin: 20px 0;
    text-align: center;
  }

  .hero-img-mobile img {
    width: 100%;
    max-width: 320px;
    height: auto;
  }

  .hero-left {
    padding: 40px 20px;
    text-align: center;
  }

  .hero-img {
    max-width: 320px;
  }
}

.hero-left {
  padding: 80px 40px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
}

.hero-img {
  width: 100%;
  height: auto;
}

.s-features,
.s-specs,
.s-materials,
.s-apps,
.gallery-wrapper {
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

img {
   display: block;
  max-width: 100%;
}
@media (max-width: 768px) {

  .hero-title,
  .hero-desc,
  .hero-stats,
  .hero-btns {
    animation: none !important;
  }

}