/* Footer Styles */
.site-footer {
  width: 100vw;
  background: #FFD700;
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  border-top: 1px solid #444;
  margin-top: 2rem;
}
.footer-logo {
  height: 2rem;
  width: auto;
  vertical-align: middle;
}
.footer-phone, .footer-email {
  vertical-align: middle;
}
/* Hero Section Styles */
.hero-header {
  width: 100vw;
  height: 30vh;
  background: #222;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: 0;
  padding: 0;
}

.hero-video {
  width: 100vw;
  height: 30vh;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
  display: block;
}
body {
  background: #222222;
  color: #fff;
}

.model-area {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 0 2vw;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 24px;
}

#api-frame {
  display: block;
  width: 100%;
  max-width: 3000px;
  aspect-ratio: 16/9;
  height: auto;
  background: #222;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  margin: 0 auto;
}



.model-ui {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  margin: 0 auto 32px auto;
  padding: 12px 32px 24px 32px;
  background: #141414;
  color: #fff;
  font-size: 1.1rem;
  border-radius: 18px;
  box-sizing: border-box;
  border: 1px solid #fff;
  width: fit-content;
  min-width: 600px;
  max-width: 98vw;
  margin-bottom: 0;
}

.ui-left, .ui-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ui-left-options, .ui-right-options {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.ui-left h3, .ui-right h3, .ui-all-toggle h3 {
  color: #fff;
  margin-bottom: 6px;
  text-align: center;
  font-size: 1.1em;
  font-weight: 600;
  border-bottom: 2px solid #fff2;
  padding-bottom: 4px;
  width: auto;
  margin-left: auto;
  margin-right: auto;
}

.ui-left {
  margin-right: 16px;
}

.ui-right {
  margin-left: 16px;
}

.ui-divider {
  width: 2px;
  height: 40px;
  background: #fff2;
  margin: 24px 24px 0 24px;
  border-radius: 2px;
  align-self: flex-start;
  position: relative;
  top: 24px;
}

.model-ui label {
  color: #fff;
  margin: 0 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.model-ui-title {
  text-align: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  margin-top: 18px;
  margin-bottom: 18px;
}

.hero-overlay-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  max-width: 40vw;
  max-height: 70%;
  pointer-events: none;
  filter: invert(1);
  opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .model-ui {
    flex-direction: column;
    min-width: 0;
    width: 98vw;
    padding: 12px 8px 24px 8px;
    font-size: 1rem;
  }
  .ui-left, .ui-right, .ui-all-toggle {
    margin: 0 0 16px 0;
    width: 100%;
  }
  .ui-divider {
    width: 80vw;
    height: 2px;
    margin: 16px auto;
    top: 0;
  }
  .model-area {
    padding: 0 1vw;
  }
  #api-frame {
    height: 40vw;
    min-height: 220px;
    max-height: 60vh;
    border-radius: 8px;
  }
}
@media (max-width: 600px) {
  .model-ui {
    flex-direction: column;
    max-width: 99vw;
    min-width: 0;
    padding: 2px 1vw 4px 1vw;
    font-size: 0.85rem;
    border-radius: 8px;
    gap: 4px;
  }
  .ui-left, .ui-right, .ui-all-toggle {
    margin: 0 0 4px 0;
    width: 100%;
    min-width: 0;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
  }
  .ui-left-options {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 0;
    text-align: center;
    gap: 10px 16px;
  }
  .ui-right-options {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 0;
    gap: 10px 16px;
    text-align: center;
  }
  .ui-right label {
    min-width: 140px;
    text-align: left;
    margin-bottom: 2px;
  }
  .ui-all-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    margin-top: 0;
  }
  .ui-all-toggle-buttons {
    display: flex;
    flex-direction: row;
    gap: 4px;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 0;
  }
  .ui-all-toggle h3 {
    font-size: 0.85rem;
    margin-bottom: 2px;
    border-bottom: 2px solid #fff2;
    display: inline-block;
    width: auto;
    padding-bottom: 2px;
    margin-top: 0 !important;
  }
  .ui-left h3, .ui-right h3 {
    width: auto;
    text-align: center;
    margin-bottom: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom: 2px solid #fff2;
    display: inline-block;
    padding-bottom: 2px;
    margin-top: 0 !important;
  }
  #toggle-all-on, #toggle-all-off {
    min-width: 40px;
    font-size: 0.7rem;
    margin: 0 1px 1px 1px;
    padding: 2px 4px;
    display: inline-block;
    vertical-align: middle;
  }
  #toggle-all-on {
    margin-right: 2px;
  }
  .model-ui-title {
    font-size: 1rem;
    margin-top: 2px;
    margin-bottom: 2px;
  }
  .model-area {
    padding: 0 0.5vw;
  }
  #api-frame {
    border-radius: 6px;
  }
  .ui-divider {
    width: 95vw !important;
    max-width: 400px !important;
    height: 2px !important;
    margin: 4px auto !important;
    background: #fff2 !important;
    border-radius: 2px !important;
    align-self: center !important;
    position: static !important;
    top: 0 !important;
    display: block !important;
  }
}
@media (max-width: 1440px) {
  .model-ui {
    max-width: 94vw;
    min-width: 0;
    padding: 6px 1vw 12px 1vw;
    font-size: 0.9rem;
    border-radius: 8px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .ui-left, .ui-right, .ui-all-toggle {
    margin: 0 0 6px 0;
    width: auto;
    min-width: 120px;
    flex: 1 1 0;
  }
  .ui-all-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 160px;
  }
  .ui-all-toggle h3 {
    font-size: 1rem;
    margin-bottom: 4px;
  }
  #toggle-all-on, #toggle-all-off {
    display: inline-block;
    min-width: 80px;
    font-size: 0.95rem;
    margin: 0 4px;
    padding: 5px 10px;
    vertical-align: middle;
  }
  .model-ui-title {
    font-size: 1.1rem;
    margin-top: 6px;
    margin-bottom: 6px;
  }
  .model-area {
    padding: 0 0.5vw;
  }
  #api-frame {
    border-radius: 6px;
  }
}
@media (max-width: 1440px) and (min-width: 1024px) {
  .model-ui {
    max-width: 98vw;
    min-width: 0;
    padding: 10px 12px 18px 12px;
    font-size: 0.95rem;
    border-radius: 14px;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 18px;
  }
  .ui-left, .ui-right, .ui-all-toggle {
    margin: 0 0 0 0;
    width: auto;
    min-width: 120px;
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
  .ui-left-options, .ui-right-options {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 0;
  }
  .ui-all-toggle {
    min-width: 120px;
    margin-top: 0;
    align-items: center;
    justify-content: flex-start;
  }
  .ui-all-toggle h3 {
    font-size: 1rem;
    margin-bottom: 6px;
  }
  #toggle-all-on, #toggle-all-off {
    display: inline-block;
    min-width: 60px;
    font-size: 0.85rem;
    margin: 0 2px 2px 2px;
    padding: 4px 8px;
    vertical-align: middle;
  }
  .model-ui-title {
    font-size: 1.3rem;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .model-area {
    padding: 0 1vw;
  }
  #api-frame {
    border-radius: 10px;
  }
}
@media (max-width: 1024px) {
  .model-ui {
    flex-direction: column;
    max-width: 98vw;
    min-width: 0;
    padding: 4px 2vw 8px 2vw;
    font-size: 0.9rem;
    border-radius: 10px;
    gap: 6px;
  }
  .ui-left, .ui-right, .ui-all-toggle {
    margin: 0 0 6px 0;
    width: 100%;
    min-width: 0;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
  }
  .ui-left-options, .ui-right-options {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 0;
  }
  .ui-all-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    margin-top: 0;
  }
  .ui-all-toggle-buttons {
    display: flex;
    flex-direction: row;
    gap: 6px;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 0;
  }
  .ui-all-toggle h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    border-bottom: 2px solid #fff2;
    display: inline-block;
    width: auto;
    padding-bottom: 3px;
    margin-top: 0 !important;
  }
  .ui-left h3, .ui-right h3 {
    width: auto;
    text-align: center;
    margin-bottom: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    border-bottom: 2px solid #fff2;
    display: inline-block;
    padding-bottom: 3px;
    margin-top: 0 !important;
  }
  #toggle-all-on, #toggle-all-off {
    min-width: 50px;
    font-size: 0.8rem;
    margin: 0 2px 2px 2px;
    padding: 3px 6px;
    display: inline-block;
    vertical-align: middle;
  }
  #toggle-all-on {
    margin-right: 4px;
  }
  .model-ui-title {
    font-size: 1.1rem;
    margin-top: 4px;
    margin-bottom: 4px;
  }
  .model-area {
    padding: 0 0.5vw;
  }
  #api-frame {
    border-radius: 8px;
  }
  .ui-divider {
    width: 90vw !important;
    max-width: 900px !important;
    height: 2px !important;
    margin: 8px auto !important;
    background: #fff2 !important;
    border-radius: 2px !important;
    align-self: center !important;
    position: static !important;
    top: 0 !important;
    display: block !important;
  }
}
@media (max-width: 1024px) and (min-width: 768px) {
  .model-ui {
    flex-direction: column;
    max-width: 98vw;
    min-width: 0;
    padding: 4px 2vw 8px 2vw;
    font-size: 0.9rem;
    border-radius: 10px;
    gap: 6px;
  }
  .ui-left, .ui-right, .ui-all-toggle {
    margin: 0 0 6px 0;
    width: 100%;
    min-width: 0;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
  }
  .ui-left-options, .ui-right-options {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 0;
  }
  .ui-all-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    margin-top: 0;
  }
  .ui-all-toggle-buttons {
    display: flex;
    flex-direction: row;
    gap: 6px;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 0;
  }
  .ui-all-toggle h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    border-bottom: 2px solid #fff2;
    display: inline-block;
    width: auto;
    padding-bottom: 3px;
    margin-top: 0 !important;
  }
  .ui-left h3, .ui-right h3 {
    width: auto;
    text-align: center;
    margin-bottom: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    border-bottom: 2px solid #fff2;
    display: inline-block;
    padding-bottom: 3px;
    margin-top: 0 !important;
  }
  #toggle-all-on, #toggle-all-off {
    min-width: 50px;
    font-size: 0.8rem;
    margin: 0 2px 2px 2px;
    padding: 3px 6px;
    display: inline-block;
    vertical-align: middle;
  }
  #toggle-all-on {
    margin-right: 4px;
  }
  .model-ui-title {
    font-size: 1.1rem;
    margin-top: 4px;
    margin-bottom: 4px;
  }
  .model-area {
    padding: 0 0.5vw;
  }
  #api-frame {
    border-radius: 8px;
  }
  .ui-divider {
    width: 90vw !important;
    max-width: 900px !important;
    height: 2px !important;
    margin: 8px auto !important;
    background: #fff2 !important;
    border-radius: 2px !important;
    align-self: center !important;
    position: static !important;
    top: 0 !important;
    display: block !important;
  }
}
@media (max-width: 1024px) {
  .ui-right-options {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 18px;
    width: 100%;
    margin-bottom: 0;
  }
  .ui-right label {
    min-width: unset;
    width: auto;
    margin-bottom: 0;
    text-align: left;
  }
}