.panel {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.panel-overlay {
  position: absolute;
  inset: 0;
}

.panel-inner {
  position: relative;
  z-index: 1;
  width: min(1140px, calc(100% - 80px));
  margin-inline: auto;
  padding: 120px 0 80px;
}

.hero {
  background-image: url("../images/jageskit-home-bg.webp");
  background-position: 50% 50%;
}

.bg-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 100vh;
  min-width: 100%;
  min-height: 56.25vw;
  border: 0;
  transform: translate(-50%, -50%);
}

.hero .panel-overlay {
  background: #000;
  opacity: 0.5;
}

.hero-copy {
  max-width: 660px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
}

.hero .lede {
  margin-top: 16px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.hero .sub {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.hero .cta-row {
  display: block;
  margin-top: 64px;
}

.testimonials {
  background: var(--navy);
  overflow: hidden;
}

.testimonials .panel-overlay {
  background: #000;
  opacity: 0.62;
  pointer-events: none;
}

#particles,
.tsparticles-canvas-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: auto;
}

.quote-slider {
  position: relative;
  z-index: 1;
  width: min(960px, calc(100% - 80px));
  margin: 0 auto;
  min-height: 280px;
  overflow: hidden;
}

.quote {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  opacity: 0;
  transform: translateX(48px);
  transition: transform 1000ms ease, opacity 1000ms ease;
  pointer-events: none;
}

.quote.is-active {
  position: relative;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.quote.is-exit {
  position: absolute;
  opacity: 0;
  transform: translateX(-48px);
}

.quote p {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.5;
}

.quote .name {
  margin-top: 16px;
  font-size: 24px;
  font-weight: 700;
}

.quote .role {
  font-size: 16px;
  font-weight: 400;
}

.quote-nav {
  position: absolute;
  inset: auto 0 0 auto;
  z-index: 2;
  display: flex;
  gap: 12px;
}

.quote-nav button {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.product-wifi {
  background-image: url("../images/bg-wifi.webp");
}

.product-wifi .panel-overlay {
  background-image: linear-gradient(50deg, #000 25%, #00000047 100%);
  opacity: 0.5;
}

.product-copy {
  max-width: 550px;
}

.product-copy h2 {
  margin: 8px 0 4px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.product-copy p {
  font-size: 18px;
  line-height: 1.5;
}

.product-copy .cta-row {
  margin-top: 16px;
}

.product-camera {
  background-image: url("../images/bg-jages-cam.webp");
  color: var(--dark-text);
  text-align: center;
}

.product-camera .panel-inner {
  width: min(1120px, calc(100% - 80px));
}

.product-camera h2 {
  max-width: 720px;
  margin: 0 auto 24px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.cam-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.cam-card {
  text-align: center;
}

.cam-card img {
  width: 70%;
  margin: 0 auto 8px;
}

.cam-card h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  white-space: pre-line;
}

.product-camera .note {
  margin: 40px 80px 0;
  font-size: 16px;
}

.product-camera .cta-row {
  justify-content: center;
  margin-top: 16px;
}

.product-alarm {
  background-color: var(--alarm-bg);
  background-image: url("../images/jages-alarm-list.webp");
  background-position: 0 0;
  background-size: contain;
  background-repeat: no-repeat;
  color: var(--dark-text);
}

.product-alarm .panel-inner {
  display: flex;
  justify-content: flex-end;
}

.product-alarm .product-copy {
  max-width: 450px;
}

.product-smarthome {
  background-image: url("../images/jageskit-smarthome-bg-video.webp");
  background-position: 50% 50%;
  overflow: hidden;
}

.product-smarthome .panel-overlay {
  background: #000;
  opacity: 0.35;
}

.app-features {
  background: #0d1015;
}

.app-features h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin: 8px 0 24px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-card {
  background: #111b2a;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 24px;
}

.feature-card img {
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.app-carousel {
  position: relative;
  min-height: 100vh;
  background: #0d1015;
  overflow: hidden;
}

.app-track {
  display: flex;
  transition: transform 1500ms ease;
}

.app-slide {
  flex: 0 0 100%;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.app-slide.app-mock {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
}

.app-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.app-dots button {
  width: 20px;
  height: 4px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.app-dots button[aria-current="true"] {
  width: 30px;
  background: #fff;
}

.feature-card p {
  color: #dcdedf;
  font-size: 14px;
  line-height: 1.5;
}

.app-note {
  text-align: center;
  color: #dcdedf;
  margin: 24px 80px 0;
}

.app-features .cta-row {
  justify-content: center;
  margin-top: 16px;
}

.app-mock {
  background-image: url("../images/smartmockups_l2zz34kg.webp");
  background-position: center left;
}

.app-mock .panel-overlay {
  background-image: linear-gradient(80deg, #000 0%, #0000 100%);
  opacity: 0.8;
  mix-blend-mode: multiply;
}

.support {
  background-color: #b6cdff;
  background-image: url("../images/asian-customer-service-operator-woman-with-microphone-headset-working-call-center-contact-office-space-background-beautiful-smiling-face-telemarketing-agent-job-concept.webp");
  background-position: 35% 0;
}

.support .panel-inner {
  max-width: 560px;
  margin-left: min(80px, 6vw);
  padding: 40px;
}

.support h2 {
  color: var(--navy);
  font-size: 32px;
  font-weight: 700;
}

.support .lede {
  color: var(--navy);
  font-size: 24px;
  font-weight: 600;
  margin-top: 8px;
}

.support p {
  color: var(--navy);
  font-size: 16px;
  margin-top: 8px;
}

.prospect {
  min-height: 65vh;
  background-image: url("../images/cctv-security-online-camera-with-house-plan.webp");
  background-position: center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
}

.prospect .panel-overlay {
  background: var(--navy);
  opacity: 0.95;
}

.prospect-grid {
  position: relative;
  z-index: 1;
  width: min(1140px, calc(100% - 80px));
  margin: 40px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.prospect h2 {
  font-size: 32px;
  font-weight: 700;
}

.prospect p {
  font-size: 18px;
  margin-top: 8px;
}

.form-card label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

.form-card input,
.form-card select {
  width: 100%;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid #2a3648;
  border-radius: 4px;
  background: #fff;
  color: #111;
}

.form-card .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-status {
  margin-top: 12px;
  font-size: 14px;
  color: #f3f4f6;
}

.form-status.error {
  color: #ffb4b4;
}

.inner-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.inner-hero .panel-overlay {
  background: #000;
  opacity: 0.45;
}

.page-wifi .inner-hero {
  background-image: url("../images/young-adult-couple-video-chatting-on-laptop-app-application-beautiful-boyfriend-browsing-call-calling_t20_N0KmAN.webp");
}

.page-camera .inner-hero {
  background-image: url("../images/bg-jages-cam.webp");
  color: var(--dark-text);
}

.page-camera .inner-hero .panel-overlay {
  opacity: 0;
}

.page-alarm .inner-hero {
  background-image: url("../images/jages-door-protect.webp");
}

.page-smart .inner-hero {
  background-image: url("../images/jageskit-smarthome-bg-video.webp");
}

.page-careers .inner-hero {
  background-image: url("../images/technician-installing-video-surveillance-equipment-explaining-senior-customer-how-activate-1.webp");
}

.page-contact .inner-hero {
  min-height: 40vh;
  background-image: url("../images/cctv-security-online-camera-with-house-plan.webp");
}

.page-contact .contact-panel {
  min-height: calc(100vh - 80px);
}

.page-contact .contact-form-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 130px));
  margin: 0 auto;
  padding: 64px 0;
}

.page-contact .contact-form-inner h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.page-contact .contact-form-inner > p {
  margin-top: 8px;
  margin-bottom: 28px;
  font-size: 18px;
  font-weight: 400;
}

.page-contact .form-card label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.page-contact .form-card .req {
  color: #f56c6c;
  text-decoration: none;
}

.page-contact .form-card input,
.page-contact .form-card select {
  height: 45px;
  margin-bottom: 0;
  padding: 11px 15px;
  border: 1px solid #dadbdd;
  border-radius: 7px;
  font-size: 16px;
}

.page-contact .contact-row {
  display: grid;
  gap: 15px;
  margin-bottom: 16px;
}

.page-contact .contact-row-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.page-contact .contact-row-2 {
  grid-template-columns: 1fr 1fr;
}

.page-contact .phone-field {
  display: flex;
  align-items: stretch;
  height: 45px;
  border: 1px solid #dadbdd;
  border-radius: 7px;
  background: #fff;
  overflow: hidden;
}

.page-contact .phone-field input {
  height: 100%;
  border: 0;
  border-radius: 0;
  padding-left: 10px;
}

.page-contact .phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-right: 1px solid #dadbdd;
  color: #333;
  font-size: 14px;
  background: #f5f7fa;
}

.page-contact .form-card .btn-submit {
  display: inline-block;
  margin-top: 4px;
  padding: 8px 20px;
  border: 0;
  border-radius: 7px;
  background: #409eff;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
}

.page-contact .form-card .btn-submit:hover,
.page-contact .form-card .btn-submit:focus-visible {
  background: #66b1ff;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.split-media {
  background-size: cover;
  background-position: center;
  min-height: 420px;
}

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
  background: #0d1015;
}

.split-copy.light {
  background: #f4f6f8;
  color: var(--dark-text);
}

.split-copy h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin: 8px 0 12px;
}

.split-copy p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 80px 0;
}

.stat h3 {
  font-size: 22px;
  font-weight: 700;
}

.stat p {
  color: #dcdedf;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: center;
  padding: 48px 0 80px;
}

.logo-row img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.2);
}

.perk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.perk {
  background: #111b2a;
  padding: 28px;
  border-radius: 6px;
}

.media-block img,
.media-block video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-title.xl {
  font-size: 56px;
}

.center-copy {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.lede.center-copy {
  margin-top: 16px;
}

.wifi-life {
  background-image: url("../images/bg-section-wifi-5.webp");
}

.wifi-life h2,
.dark-band h2,
.battery-copy h2 {
  font-size: 32px;
  font-weight: 700;
  max-width: 720px;
}

.dark-band,
.battery-copy {
  background: #0d1015;
}

.dark-band h2.isp-title,
.isp-title {
  max-width: none;
  width: 100%;
  margin-inline: auto;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
}

.compat-note {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
}

.cta-center {
  justify-content: center;
}

.bg-door-cam { background-image: url("../images/jages-door-camera.webp"); }
.bg-package { background-image: url("../images/jages-package-theft.webp"); background-color: #111; }
.bg-detection { background-image: url("../images/DETECTION.webp"); }
.bg-outdoor { background-image: url("../images/outdoor-cam-jage.webp"); }
.bg-detect-out { background-image: url("../images/detect-outdoor-cam.webp"); }
.bg-flares { background-image: url("../images/jages-outdoor-flares.webp"); }
.bg-indoor { background-image: url("../images/jages-indoor.webp"); }
.bg-motion { background-image: url("../images/motion-sensor-jags.webp"); }
.bg-chat { background-image: url("../images/a-young-woman-on-the-couch-video-chatting-her-friends-people-using-technology-real-people-smiling_t20_6Y64Ev.webp"); }
.bg-alarm-product { background-image: url("../images/jages-alarm.webp"); }
.bg-fire { background-image: url("../images/fira-alarm-protect.webp"); }
.bg-doorbell { background-image: url("../images/jages-alarm-doorbell-whole-picture.webp"); }
.bg-flood { background-image: url("../images/jages-flood-detection.webp"); }
.bg-siren { background-image: url("../images/jages-siren-alarm.webp"); }
.bg-electric { background-image: url("../images/electricians-wearing-protective-gloves-when-testing-electrical-wires-amperage.webp"); }
.bg-aircond { background-image: url("../images/smart-aircond.webp"); }
.bg-curtain { background-image: url("../images/curtain.webp"); }

.narrow-lede {
  max-width: 640px;
}

.trust-line {
  margin-top: 24px;
  font-size: 24px;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 40px;
  }

  .quote p {
    font-size: 24px;
  }

  .product-camera h2,
  .product-copy h2,
  .support h2,
  .prospect h2 {
    font-size: 24px;
  }

  .product-camera .note,
  .app-note {
    margin-inline: 0;
  }

  .product-alarm {
    background-position: -240px 0;
  }

  .prospect-grid,
  .split,
  .feature-grid,
  .page-contact .contact-row-3 {
    grid-template-columns: 1fr;
  }

  .page-contact .contact-form-inner {
    width: calc(100% - 40px);
  }

  .support .panel-inner {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .panel-inner,
  .quote-slider,
  .prospect-grid {
    width: calc(100% - 40px);
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero .lede {
    font-size: 16px;
  }

  .hero .sub {
    font-size: 14px;
  }

  .hero .cta-row {
    margin-top: 40px;
  }

  .quote p {
    font-size: 20px;
  }

  .cam-grid,
  .perk-grid,
  .stats,
  .form-card .row,
  .page-contact .contact-row-3,
  .page-contact .contact-row-2 {
    grid-template-columns: 1fr;
  }

  .cam-card img {
    width: 50%;
  }

  .product-alarm {
    background-position: center;
    background-size: cover;
  }

  .product-alarm .panel-inner {
    justify-content: flex-start;
  }

  .support {
    background-image: url("../images/f46a88046215866666e8bcd2730a7ca3.webp");
    background-position: 30% 40%;
  }

  .split-copy {
    padding: 40px 20px;
  }

  .page-camera .inner-hero {
    color: #fff;
  }

  .bg-video iframe {
    width: 100vw;
    height: 177.78vw;
    min-width: 100%;
    min-height: 100%;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -40px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.anim {
  animation-duration: 1.25s;
  animation-fill-mode: both;
}

.anim-fade {
  animation-name: fadeIn;
}

.anim-down {
  animation-name: fadeInDown;
}

.anim-up {
  animation-name: fadeInUp;
}

.anim-d0 {
  animation-delay: 0ms;
}

.anim-d200 {
  animation-delay: 200ms;
}

.anim-d400 {
  animation-delay: 400ms;
}

.anim-d600 {
  animation-delay: 600ms;
}

.reveal {
  opacity: 0;
}

.reveal.is-in.anim-fade {
  animation-name: fadeIn;
}

.reveal.is-in.anim-down {
  animation-name: fadeInDown;
}

.reveal.is-in.anim-up {
  animation-name: fadeInUp;
}

.reveal.is-in {
  animation-duration: 1.25s;
  animation-fill-mode: both;
}

@media (prefers-reduced-motion: reduce) {
  .anim,
  .reveal,
  .reveal.is-in,
  .quote,
  .app-track {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
