html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

main,
section,
.container,
.hero,
.hero-copy,
.hero-visual,
.dashboard-shell,
.dash-body,
.dash-content,
.feature-grid,
.feature-grid > *,
.performance-card,
.contact-grid,
.contact-grid > * {
  min-width: 0;
  max-width: 100%;
}

svg,
img {
  max-width: 100%;
}

.brand-official {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ad7a38;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 2px;
}

.brand-official img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex: 0 0 38px;
}

.brand-official span {
  color: inherit;
}

footer .brand-official {
  color: #d9ae62;
}

.video-section {
  position: relative;
  padding: 110px 0 120px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 12% 15%, rgba(183, 154, 99, 0.16), transparent 31%),
    linear-gradient(135deg, #092f29 0%, #0d3a33 58%, #123f37 100%);
}

.video-section::before {
  content: "AVIRO";
  position: absolute;
  top: 14px;
  left: 4%;
  color: rgba(255, 255, 255, 0.025);
  font: 800 clamp(90px, 17vw, 260px)/1 Arial, sans-serif;
  letter-spacing: 12px;
  pointer-events: none;
}

.video-intro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 52px;
}

.video-intro h2 {
  margin: 14px 0 0;
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.22;
}

.video-intro p {
  margin: 0 0 8px;
  color: #b9cbc6;
  font-size: 17px;
  line-height: 1.95;
}

.video-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.45fr);
  gap: 24px;
  direction: ltr;
}

.video-frame {
  position: relative;
  direction: rtl;
  padding: 12px;
  border: 1px solid rgba(217, 174, 98, 0.42);
  border-radius: 12px;
  background: rgba(3, 20, 17, 0.72);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.34);
}

.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 7px;
  background: #061612;
  object-fit: contain;
}

.video-load {
  position: absolute;
  inset: 12px 12px 38px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 9px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(rgba(4, 24, 20, .32), rgba(4, 24, 20, .72));
  font-family: "Tajawal", sans-serif;
  cursor: pointer;
}

.video-load span { display: grid; place-items: center; width: 66px; height: 66px; padding-right: 3px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; color: #10372f; background: #d9ae62; font-size: 22px; box-shadow: 0 12px 35px rgba(0,0,0,.24); }
.video-load b { font-size: 15px; }
.video-load small { color: #b9cbc6; font: 500 10px Arial, sans-serif; }
.video-load.loading span { animation: videoPulse 1s ease-in-out infinite; }
.video-load.loading b::after { content: "…"; }
.video-load[hidden] { display: none; }
@keyframes videoPulse { 50% { transform: scale(.92); opacity: .7; } }

.video-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4px 1px;
  color: #9eb4af;
  font-size: 11px;
}

.video-meta span { display: flex; align-items: center; gap: 7px; }
.video-meta i { width: 6px; height: 6px; border-radius: 50%; background: #d9ae62; box-shadow: 0 0 0 5px rgba(217,174,98,.1); }
.video-meta em { font: 500 11px Arial, sans-serif; font-style: normal; }

.video-points {
  direction: rtl;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

.video-points > div { position: relative; padding: 25px 27px; border-bottom: 1px solid rgba(255,255,255,.1); }
.video-points > div > span { position: absolute; left: 22px; top: 22px; color: rgba(217,174,98,.62); font: 500 10px Arial, sans-serif; }
.video-points h3 { margin: 0 0 7px; font-size: 16px; }
.video-points p { margin: 0; color: #9fb4af; font-size: 12px; line-height: 1.75; }
.video-points > a { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding: 23px 27px; color: #102b26; background: #d9ae62; font-size: 13px; font-weight: 800; text-decoration: none; }
.video-points > a b { font-size: 18px; }

@media (max-width: 900px) {
  .video-intro,
  .video-stage { grid-template-columns: 1fr; }
  .video-intro { gap: 20px; }
  .video-points { display: grid; grid-template-columns: repeat(3, 1fr); }
  .video-points > div { border-bottom: 0; border-left: 1px solid rgba(255,255,255,.1); }
  .video-points > a { grid-column: 1 / -1; }
}

@media (max-width: 580px) {
  .video-section { padding: 78px 0; }
  .video-points { display: flex; }
  .video-points > div { border-left: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .video-frame { padding: 7px; }
}

.hero-visual,
.dashboard-shell {
  transform-origin: center;
}

@media (max-width: 900px) {
  .dashboard-shell {
    width: 100%;
    transform: none;
  }

  .phone-card {
    right: 0;
  }
}

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

  .phone-card {
    right: 4px;
  }
}
