@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700;900&display=swap');
@import 'normalize.css';
@import 'components.css';
@import 'kuse-usecase-7eb67617325e33fc50152bf108.css';

/* =========================================
   Global & Reset
   ========================================= */

* {
  font-family: "Noto Sans TC", sans-serif !important;
}

html {
  scroll-behavior: smooth;
}

:root {
  --kuse-brown: #6A4040;
  --kuse-rose: #D6C1AD;
}

/* =========================================
   Back To Top Button
   ========================================= */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: auto;
  height: auto;
  background-color: transparent;
  border: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  box-shadow: none;
  gap: 0;
}

#backToTop:hover {
  transform: translateY(-5px);
}

.back-to-top-text {
  background-color: var(--kuse-brown);
  background-image: linear-gradient(160deg, #8d5e5e 0%, var(--kuse-brown) 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 5px 15px;
  border-radius: 50px;
  margin-top: 0;
  box-shadow: 0 4px 12px rgba(106, 64, 64, 0.3);
  z-index: 2;
  transform: none;
}

.back-to-top-mascot {
  pointer-events: auto;
  margin-bottom: -15px;
  position: relative;
  z-index: 3;
}

/* =========================================
   Navbar
   ========================================= */
.kuse-nav-bar2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.navbar-grid-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

.navbar-logo-area {
  grid-column: 1;
  justify-self: start;
  min-width: max-content;
  flex-shrink: 0;
}

.navbar-button-area {
  grid-column: 3;
  justify-self: end;
}

.navbar-links-area {
  grid-column: 2;
  justify-self: center;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

/* =========================================
   Sections & Layout
   ========================================= */
#product,
#steps,
#pricing {
  scroll-margin-top: 100px;
}

.section-padding-product {
  padding-top: 120px;
  padding-bottom: 0px;
}

.section-padding-steps {
  padding-top: 120px;
  padding-bottom: 0px;
}

.section-padding-pricing {
  padding-top: 120px;
  padding-bottom: 100px;
}

.section-create-edit .padding-section-large-2 {
  padding-top: 120px;
}

/* =========================================
   Pricing Section
   ========================================= */
.pricing-description-text {
  max-width: 500px;
  margin: 1rem auto 0;
  text-align: center;
}

.pricing-toggle-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 20px;
}

.pricing-toggle-center {
  margin: 0 auto;
}

.school-plan-wrapper {
  justify-self: start;
  padding-left: 160px;
}

.school-plan-inner {
  position: relative;
  display: inline-block;
}

.school-plan-link {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  position: relative;
  z-index: 10;
}

.school-plan-mascot-img {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  margin-bottom: -10px;
  pointer-events: auto;
}

.pricing-period-strikethrough {
  text-decoration: line-through;
  opacity: 0.5;
  margin-left: 8px;
}

.pricing-period-strikethrough-no-margin {
  text-decoration: line-through;
  opacity: 0.5;
}

/* =========================================
   Footer
   ========================================= */
.footer-padding-custom {
  padding-top: 20px;
  padding-bottom: 20px;
}

.footer-content-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-contact-info {
  margin-bottom: 8px;
}

.footer-link-clean {
  text-decoration: none;
  color: inherit;
}

/* =========================================
   Animations
   ========================================= */
@keyframes mascotJump {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

.school-plan-trigger:hover .school-plan-mascot {
  animation: mascotJump 0.5s ease 1;
}

@media screen and (min-width: 992px) {
  .slider-container.show-landscape {
    display: none !important;
  }
}

@media screen and (max-width: 991px) {
  .section-padding-product {
    padding-top: 6rem !important;
    padding-bottom: 0px !important;
  }

  .section-create-edit .padding-section-large-2,
  .section-padding-steps,
  .section-padding-pricing {
    padding-top: 6rem !important;
  }

  .section-padding-pricing {
    padding-bottom: 6rem;
  }
}

/* =========================================
   Chat Input & Typewriter Styles
   ========================================= */
#userInput {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 150%;
  color: #6A4040;
  width: 100%;
  height: 100%;
  padding: 4px;
  margin: 0;
  box-sizing: border-box;
  background-color: transparent;
  border: 1px solid transparent;
  outline: none;
  transition: border-color 0.3s ease;
  resize: none;
  vertical-align: top;
}

#userInput::placeholder {
  color: rgba(106, 64, 64, 0.6);
}

/* =========================================
   Search Scope Selector
   ========================================= */
.searchScopeContainer {
  position: relative;
  display: inline-block;
  height: 26px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
}

.searchScopeWrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1.8px;
  padding: 2px 8px 2px 2px;
  border-radius: 7.2px;
  background: rgba(106, 64, 64, 0.04);
  cursor: pointer;
  transition: background-color 0.15s ease, opacity 0.15s ease;
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.searchScopeWrapper:hover {
  background: rgba(106, 64, 64, 0.08);
}

.scopeTooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(217, 217, 217, 0.8);
  color: #6A4040;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 10000;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.searchScopeWrapper:hover .scopeTooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.scopeIcon {
  width: 21.6px;
  height: 21.6px;
  opacity: 0.8;
  flex-shrink: 0;
}

#scopeText {
  color: #6A4040;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  font-size: 10.667px;
  font-weight: 400;
  line-height: 150%;
}

.scopeDropdownMenu {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  top: auto;
  left: 0;
  width: 180px;
  flex-direction: column;
  border-radius: 7.2px;
  border: 0.9px solid rgba(106, 64, 64, 0.08);
  background: #FFF;
  box-shadow: 0 0 10.8px rgba(32, 32, 32, 0.08);
  padding: 6px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.2s ease-out;
}

.scopeTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 4px 6px 4px;
}

.scopeTopLeft {
  display: flex;
  align-items: center;
  gap: 4px;
}

.scopeGlobeIcon {
  width: 20px;
  height: 20px;
}

.scopeTopLabel {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  font-size: 10.5px;
  color: #6A4040;
}

.scopeDivider {
  height: 1px;
  background: rgba(106, 64, 64, 0.08);
  margin: 2px 0 4px 0;
}

.scope-switch {
  position: relative;
  display: inline-block;
  width: 26px;
  height: 14px;
  flex-shrink: 0;
}

.scope-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.scope-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(106, 64, 64, 0.25);
  border-radius: 14px;
  transition: 0.2s;
  height: auto !important;
  width: auto !important;
  border: none !important;
  box-shadow: none !important;
}

.scope-slider:before {
  position: absolute;
  content: "";
  height: 10px;
  width: 10px;
  left: 2px;
  bottom: 2px;
  background-color: #fff;
  border-radius: 50%;
  transition: 0.2s;
}

.scope-switch input:checked+.scope-slider {
  background-color: #6A4040;
}

.scope-switch input:checked+.scope-slider:before {
  transform: translateX(12px);
}

.dropdown-item {
  display: flex;
  align-items: center;
  height: 28.8px;
  padding: 3.6px 7.2px;
  border-radius: 7.2px;
  cursor: pointer;
  transition: background-color 0.15s ease, opacity 0.15s ease;
  gap: 7.2px;
  opacity: 0.6;
}

.dropdown-item:hover {
  background-color: rgba(106, 64, 64, 0.06);
  opacity: 1;
}

.dropdown-item.selected {
  opacity: 0.8;
}

.folderIcon {
  width: 18px;
  height: 18px;
}

.text-group {
  display: flex;
  align-items: center;
  flex: 1;
}

.model-name {
  color: #6A4040;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  font-size: 10.8px;
  font-weight: 400;
}

.checkmark {
  width: 14.4px;
  height: 14.4px;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.dropdown-item.selected .checkmark {
  opacity: 1;
}

/* =========================================
   Model Selector
   ========================================= */
.model-selector-container {
  position: relative;
  display: inline-block;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
}

.selecModels {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  height: 28px;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  border: 0.9px solid rgba(106, 64, 64, 0.08);
  width: auto;
  min-width: 80px;
  justify-content: space-between;
}

.selecModels:hover {
  background: #F9F5F5;
}

.trigger-text {
  font-size: 11px;
  color: #6A4040;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.trigger-chevron {
  width: 10px;
  height: 6px;
  flex-shrink: 0;
}

.model-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #D9D9D9;
  border-radius: 6px;
  padding: 8px 12px;
  min-width: 150px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10000;
  text-align: left;
}

.selecModels:hover+.model-tooltip:not(.tooltip-hidden) {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.model-tooltip.tooltip-hidden {
  display: none !important;
  opacity: 0 !important;
}

.tooltip-arrow {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: #D9D9D9;
  z-index: -1;
  border-radius: 1px;
}

.tooltip-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tooltip-label {
  font-size: 8.5px;
  font-weight: 400;
  color: #8F8F8F;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.tooltip-content {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tooltip-icon-masked {
  width: 14px;
  height: 14px;
  background-color: #6A6A6A;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  flex-shrink: 0;
  opacity: 0.7;
}

.tooltip-svg-icon {
  width: 14px;
  height: 14px;
  opacity: 0.7;
  flex-shrink: 0;
  color: #6A6A6A;
}

.tooltip-text {
  font-size: 11px;
  color: #6A6A6A;
  font-weight: 400;
  white-space: nowrap;
}

.model-selector-card {
  background-color: white;
  border-radius: 12px;
  width: 250px;
  max-height: 250px;
  height: auto;
  box-shadow: 0px 4px 20px rgba(32, 32, 32, 0.1);
  border: 1px solid rgba(106, 64, 64, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.dropdown-positioning {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  left: auto;
  z-index: 9999;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.model-selector-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.heading-container {
  padding: 6px 8px 10px 8px;
  display: flex;
  flex-direction: column;
  width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
  margin-top: 8px;
}

.tabs-group {
  background-color: rgba(106, 64, 64, 0.04);
  border: 1px solid rgba(106, 64, 64, 0.08);
  border-radius: 8px;
  padding: 2px;
  display: flex;
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

.tab-button {
  flex: 1;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  background: transparent;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  font-size: 11px;
  color: #6A4040;
  opacity: 0.5;
  font-weight: 400;
}

.tab-button.active {
  background-color: #FFFFFF;
  opacity: 1;
  box-shadow: 0px 1px 3px rgba(106, 64, 64, 0.1);
  border-radius: 6px;
}

.tab-button:hover:not(.active) {
  background-color: rgba(255, 255, 255, 0.5);
  opacity: 0.8;
}

.model-list-container {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  overflow-y: auto;
  position: relative;
  flex-grow: 1;
  padding: 0 8px 8px 8px;
  box-sizing: border-box;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}

.model-list-container::-webkit-scrollbar {
  width: 4px;
}

.model-list-container::-webkit-scrollbar-track {
  background: transparent;
}

.model-list-container::-webkit-scrollbar-thumb {
  background-color: rgba(106, 64, 64, 0.15);
  border-radius: 4px;
}

.models-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  padding-bottom: 12px;
}

.section-label {
  height: 22px;
  padding: 6px 8px 4px 8px;
  display: flex;
  align-items: center;
}

.section-label-text {
  font-size: 9px;
  font-weight: 600;
  color: #CBBBBB;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin: 0;
}

.model-item {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.1s ease;
  width: 100%;
  box-sizing: border-box;
}

.model-item:hover {
  background-color: rgba(106, 64, 64, 0.04);
}

.model-item.selected {
  background-color: rgba(106, 64, 64, 0.04);
}

.model-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-grow: 1;
  min-width: 0;
  opacity: 0.7;
  transition: opacity 0.1s ease;
}

.model-item.selected .model-info {
  opacity: 1;
}

.model-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.model-icon img,
.model-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.model-content {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-grow: 1;
  min-width: 0;
}

.model-name {
  font-size: 10.5px;
  color: #6a4040;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.model-status-container {
  background: rgba(106, 64, 64, 0.06);
  padding: 1px 4px;
  border-radius: 3px;
  display: flex;
  align-items: center;
}

.model-status {
  font-size: 8px;
  font-weight: 500;
  color: rgba(106, 64, 64, 0.5);
  white-space: nowrap;
  line-height: 1.5;
  margin: 0;
}

.check-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.1s ease;
}

.model-item.selected .check-icon {
  opacity: 1;
}

/* =========================================
   Mobile Chat Input
   ========================================= */
.textarea-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

#userInputMobile {
  width: 100%;
  height: 100%;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #6A4040;
  background-color: transparent;
  border: 1px solid transparent;
  outline: none;
  resize: none;
  box-sizing: border-box;
  padding: 4px;
  vertical-align: top;
  transition: border-color .3s ease;
  -webkit-text-size-adjust: 100%;
}

.placeholder-ghost {
  position: absolute;
  left: 4px;
  top: 4px;
  right: 4px;
  pointer-events: none;
  user-select: none;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: rgba(106, 64, 64, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 1;
  transition: opacity .2s ease;
}

.textarea-wrapper.focused .placeholder-ghost,
.textarea-wrapper.has-value .placeholder-ghost {
  opacity: 0;
}

#sendButtonMobile {
  opacity: 0.5;
  transition: opacity .3s ease;
}

#sendButtonMobile.active {
  opacity: 1;
}

/* =========================================
   Slider Dots
   ========================================= */
.w-slider-dot {
  width: 10px;
  height: 10px;
  background-color: rgba(106, 64, 64, 0.3);
  transition: background-color 0.2s ease, width 0.3s ease, border-color 0.2s ease;
  border-radius: 30px;
}

.w-slider-dot.w-active {
  width: 30px;
  background-color: rgba(106, 64, 64, 1);
}

.w-slider-dot:active {
  border-color: rgba(106, 64, 64, 1);
}

/* =========================================
   Custom Fixes
   ========================================= */
/* Hide the <br> in the main heading on smaller screens for better text flow */
@media screen and (max-width: 767px) {
  .br-desktop {
    display: none;
  }
}

/* =========================================
   Media Queries
   ========================================= */
@media screen and (max-width: 767px) {
  .div-block-30 {
    display: none !important;
  }

  .icon-container {
    display: none !important;
  }

  .navbar3_container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: auto !important;
    padding-left: 20px;
    padding-right: 20px;
  }

  .logo-wrapper,
  .navbar2_button-wrapper {
    grid-column: auto !important;
    justify-self: auto !important;
    width: auto !important;
    display: flex !important;
    align-items: center !important;
  }

  .kuse-nav-bar2 {
    height: auto !important;
    padding: 0 !important;
  }

  .navbar2_logo-link {
    height: 20px !important;
  }

  .buttonkuse2-0.nav-btn {
    padding: 2px 8px !important;
    font-size: 10px !important;
  }

  .kangxuan-logo {
    height: 20px !important;
  }



  .section_header27 {
    padding-top: 80px !important;
  }

  .heading-3 {
    font-size: 24px !important;
    line-height: 1.4 !important;
  }


  .section_pricing .pricing-desc+div {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    align-items: center !important;
  }

  .section_pricing .pricing-desc+div>div:first-child {
    display: none !important;
  }

  .section_pricing .pricing-desc+div>div:last-child {
    padding-left: 0 !important;
  }

  #backToTop {
    bottom: 70px;
    right: 20px;
  }
}

/* =========================================
   Webflow Visibility Fix (Moved from HTML)
   ========================================= */
html.w-mod-js:not(.w-mod-ix3) :is(.folder-item, .img-items.is-1, .hero-wrapper, .img-items.is-2, .img-items.is-3, .img-items.is-6, .img-items.is-5, .img-items.is-4, .navbar_dropdown_list, .full-screen-back-drop) {
  visibility: hidden !important;
}

/* =========================================
   4. Custom Overrides
   ========================================= */
html {
  scroll-behavior: smooth;
}

:root {
  --kuse-brown: #6A4040;
  --kuse-rose: #D6C1AD;
}

/* =========================================
   Back To Top Button
   ========================================= */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: auto;
  height: auto;
  background-color: transparent;
  border: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  box-shadow: none;
  gap: 0;
}

#backToTop:hover {
  transform: translateY(-5px);
}

.back-to-top-text {
  background-color: var(--kuse-brown);
  background-image: linear-gradient(160deg, #8d5e5e 0%, var(--kuse-brown) 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 5px 15px;
  border-radius: 50px;
  margin-top: 0;
  box-shadow: 0 4px 12px rgba(106, 64, 64, 0.3);
  z-index: 2;
  transform: none;
}

.back-to-top-mascot {
  pointer-events: auto;
  margin-bottom: -15px;
  position: relative;
  z-index: 3;
}

/* =========================================
   Navbar
   ========================================= */
div.kuse-nav-bar2 {
  position: sticky;
  top: 20px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  width: 94%;
  max-width: 1280px;
  margin: 20px auto 0;
  /* Override Webflow's fixed height and use padding for flexible height */
  min-height: auto !important;
  height: auto !important;
  padding: 10px 24px !important;
  background-color: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

/* Hide the extra background layer from the template */
.background {
  display: none !important;
}

.navbar-grid-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 0;
  gap: 20px;
}

.navbar-button-area {
  grid-column: 3;
  justify-self: end;
}

/* --- LOGO SIZING & ALIGNMENT --- */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 28px;
}

.logo-wrapper .navbar2_logo-link {
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.kangxuan-logo,
.code-embed-2 svg {
  height: 100%;
  width: auto;
  object-fit: contain;
}



/* =========================================
   Sections & Layout
   ========================================= */
#product,
#steps,
#pricing {
  scroll-margin-top: 100px;
}

.section-padding-product {
  padding-top: 120px;
  padding-bottom: 100px;
}

.section-padding-steps {
  padding-top: 120px;
  padding-bottom: 100px;
}

.section-padding-pricing {
  padding-top: 120px;
  padding-bottom: 100px;
}

/* =========================================
   Pricing Section
   ========================================= */
.pricing-description-text {
  max-width: 500px;
  margin: 1rem auto 0;
  text-align: center;
}

.pricing-toggle-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 20px;
}

.pricing-toggle-center {
  margin: 0 auto;
}

.school-plan-wrapper {
  justify-self: start;
  padding-left: 120px;
}

.school-plan-inner {
  position: relative;
  display: inline-block;
}

.school-plan-link {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  position: relative;
  z-index: 10;
}

.school-plan-mascot-img {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  margin-bottom: -10px;
  pointer-events: auto;
}

.pricing-period-strikethrough {
  text-decoration: line-through;
  opacity: 0.5;
  margin-left: 8px;
}

.pricing-period-strikethrough-no-margin {
  text-decoration: line-through;
  opacity: 0.5;
}

.pricing-features .feature-item {
  font-size: 14px;
  /* 
    為了解決長文字在容器中不自然換行的問題，
    允許在任意字元間換行。這對中文內容很適用。
  */
  word-break: break-all;
}

/* =========================================
   Footer
   ========================================= */
.footer-padding-custom {
  padding-top: 20px;
  padding-bottom: 20px;
}

.footer-content-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-contact-info {
  margin-bottom: 8px;
}

.footer-link-clean {
  text-decoration: none;
  color: inherit;
}

/* =========================================
   Animations
   ========================================= */
@keyframes mascotJump {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

.school-plan-trigger:hover .school-plan-mascot {
  animation: mascotJump 0.5s ease 1;
}

/* =========================================
   Chat Input & Typewriter Styles
   ========================================= */
#userInput {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 150%;
  color: #6A4040;
  width: 100%;
  height: 100%;
  padding: 4px;
  margin: 0;
  box-sizing: border-box;
  background-color: transparent;
  border: 1px solid transparent;
  outline: none;
  transition: border-color 0.3s ease;
  resize: none;
  vertical-align: top;
}

#userInput::placeholder {
  color: rgba(106, 64, 64, 0.6);
}

/* =========================================
   Search Scope Selector
   ========================================= */
.searchScopeContainer {
  position: relative;
  display: inline-block;
  height: 26px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
}

.searchScopeWrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1.8px;
  padding: 2px 8px 2px 2px;
  border-radius: 7.2px;
  background: rgba(106, 64, 64, 0.04);
  cursor: pointer;
  transition: background-color 0.15s ease, opacity 0.15s ease;
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.searchScopeWrapper:hover {
  background: rgba(106, 64, 64, 0.08);
}

.scopeTooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(217, 217, 217, 0.8);
  color: #6A4040;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 10000;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.searchScopeWrapper:hover .scopeTooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.scopeIcon {
  width: 21.6px;
  height: 21.6px;
  opacity: 0.8;
  flex-shrink: 0;
}

#scopeText {
  color: #6A4040;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  font-size: 10.667px;
  font-weight: 400;
  line-height: 150%;
}

.scopeDropdownMenu {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  top: auto;
  left: 0;
  width: 180px;
  flex-direction: column;
  border-radius: 7.2px;
  border: 0.9px solid rgba(106, 64, 64, 0.08);
  background: #FFF;
  box-shadow: 0 0 10.8px rgba(32, 32, 32, 0.08);
  padding: 6px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.2s ease-out;
}

.scopeTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 4px 6px 4px;
}

.scopeTopLeft {
  display: flex;
  align-items: center;
  gap: 4px;
}

.scopeGlobeIcon {
  width: 20px;
  height: 20px;
}

.scopeTopLabel {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  font-size: 10.5px;
  color: #6A4040;
}

.scopeDivider {
  height: 1px;
  background: rgba(106, 64, 64, 0.08);
  margin: 2px 0 4px 0;
}

.scope-switch {
  position: relative;
  display: inline-block;
  width: 26px;
  height: 14px;
  flex-shrink: 0;
}

.scope-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.scope-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(106, 64, 64, 0.25);
  border-radius: 14px;
  transition: 0.2s;
  height: auto !important;
  width: auto !important;
  border: none !important;
  box-shadow: none !important;
}

.scope-slider:before {
  position: absolute;
  content: "";
  height: 10px;
  width: 10px;
  left: 2px;
  bottom: 2px;
  background-color: #fff;
  border-radius: 50%;
  transition: 0.2s;
}

.scope-switch input:checked+.scope-slider {
  background-color: #6A4040;
}

.scope-switch input:checked+.scope-slider:before {
  transform: translateX(12px);
}

.dropdown-item {
  display: flex;
  align-items: center;
  height: 28.8px;
  padding: 3.6px 7.2px;
  border-radius: 7.2px;
  cursor: pointer;
  transition: background-color 0.15s ease, opacity 0.15s ease;
  gap: 7.2px;
  opacity: 0.6;
}

.dropdown-item:hover {
  background-color: rgba(106, 64, 64, 0.06);
  opacity: 1;
}

.dropdown-item.selected {
  opacity: 0.8;
}

.folderIcon {
  width: 18px;
  height: 18px;
}

.text-group {
  display: flex;
  align-items: center;
  flex: 1;
}

.model-name {
  color: #6A4040;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  font-size: 10.8px;
  font-weight: 400;
}

.checkmark {
  width: 14.4px;
  height: 14.4px;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.dropdown-item.selected .checkmark {
  opacity: 1;
}

/* =========================================
   Model Selector
   ========================================= */
.model-selector-container {
  position: relative;
  display: inline-block;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
}

.selecModels {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  height: 28px;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  border: 0.9px solid rgba(106, 64, 64, 0.08);
  width: auto;
  min-width: 80px;
  justify-content: space-between;
}

.selecModels:hover {
  background: #F9F5F5;
}

.trigger-text {
  font-size: 11px;
  color: #6A4040;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.trigger-chevron {
  width: 10px;
  height: 6px;
  flex-shrink: 0;
}

.model-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #D9D9D9;
  border-radius: 6px;
  padding: 8px 12px;
  min-width: 150px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10000;
  text-align: left;
}

.selecModels:hover+.model-tooltip:not(.tooltip-hidden) {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.model-tooltip.tooltip-hidden {
  display: none !important;
  opacity: 0 !important;
}

.tooltip-arrow {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: #D9D9D9;
  z-index: -1;
  border-radius: 1px;
}

.tooltip-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tooltip-label {
  font-size: 8.5px;
  font-weight: 400;
  color: #8F8F8F;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.tooltip-content {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tooltip-icon-masked {
  width: 14px;
  height: 14px;
  background-color: #6A6A6A;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  flex-shrink: 0;
  opacity: 0.7;
}

.tooltip-svg-icon {
  width: 14px;
  height: 14px;
  opacity: 0.7;
  flex-shrink: 0;
  color: #6A6A6A;
}

.tooltip-text {
  font-size: 11px;
  color: #6A6A6A;
  font-weight: 400;
  white-space: nowrap;
}

.model-selector-card {
  background-color: white;
  border-radius: 12px;
  width: 250px;
  max-height: 250px;
  height: auto;
  box-shadow: 0px 4px 20px rgba(32, 32, 32, 0.1);
  border: 1px solid rgba(106, 64, 64, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.dropdown-positioning {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  left: auto;
  z-index: 9999;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.model-selector-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.heading-container {
  padding: 6px 8px 10px 8px;
  display: flex;
  flex-direction: column;
  width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
  margin-top: 8px;
}

.tabs-group {
  background-color: rgba(106, 64, 64, 0.04);
  border: 1px solid rgba(106, 64, 64, 0.08);
  border-radius: 8px;
  padding: 2px;
  display: flex;
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

.tab-button {
  flex: 1;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  background: transparent;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  font-size: 11px;
  color: #6A4040;
  opacity: 0.5;
  font-weight: 400;
}

.tab-button.active {
  background-color: #FFFFFF;
  opacity: 1;
  box-shadow: 0px 1px 3px rgba(106, 64, 64, 0.1);
  border-radius: 6px;
}

.tab-button:hover:not(.active) {
  background-color: rgba(255, 255, 255, 0.5);
  opacity: 0.8;
}

.model-list-container {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  overflow-y: auto;
  position: relative;
  flex-grow: 1;
  padding: 0 8px 8px 8px;
  box-sizing: border-box;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}

.model-list-container::-webkit-scrollbar {
  width: 4px;
}

.model-list-container::-webkit-scrollbar-track {
  background: transparent;
}

.model-list-container::-webkit-scrollbar-thumb {
  background-color: rgba(106, 64, 64, 0.15);
  border-radius: 4px;
}

.models-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  padding-bottom: 12px;
}

.section-label {
  height: 22px;
  padding: 6px 8px 4px 8px;
  display: flex;
  align-items: center;
}

.section-label-text {
  font-size: 9px;
  font-weight: 600;
  color: #CBBBBB;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin: 0;
}

.model-item {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.1s ease;
  width: 100%;
  box-sizing: border-box;
}

.model-item:hover {
  background-color: rgba(106, 64, 64, 0.04);
}

.model-item.selected {
  background-color: rgba(106, 64, 64, 0.04);
}

.model-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-grow: 1;
  min-width: 0;
  opacity: 0.7;
  transition: opacity 0.1s ease;
}

.model-item.selected .model-info {
  opacity: 1;
}

.model-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.model-icon img,
.model-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.model-content {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-grow: 1;
  min-width: 0;
}

.model-name {
  font-size: 10.5px;
  color: #6a4040;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.model-status-container {
  background: rgba(106, 64, 64, 0.06);
  padding: 1px 4px;
  border-radius: 3px;
  display: flex;
  align-items: center;
}

.model-status {
  font-size: 8px;
  font-weight: 500;
  color: rgba(106, 64, 64, 0.5);
  white-space: nowrap;
  line-height: 1.5;
  margin: 0;
}

.check-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.1s ease;
}

.model-item.selected .check-icon {
  opacity: 1;
}

/* =========================================
   Mobile Chat Input
   ========================================= */
.textarea-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

#userInputMobile {
  width: 100%;
  height: 100%;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #6A4040;
  background-color: transparent;
  border: 1px solid transparent;
  outline: none;
  resize: none;
  box-sizing: border-box;
  padding: 4px;
  vertical-align: top;
  transition: border-color .3s ease;
  -webkit-text-size-adjust: 100%;
}

.placeholder-ghost {
  position: absolute;
  left: 4px;
  top: 4px;
  right: 4px;
  pointer-events: none;
  user-select: none;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: rgba(106, 64, 64, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 1;
  transition: opacity .2s ease;
}

.textarea-wrapper.focused .placeholder-ghost,
.textarea-wrapper.has-value .placeholder-ghost {
  opacity: 0;
}

#sendButtonMobile {
  opacity: 0.5;
  transition: opacity .3s ease;
}

#sendButtonMobile.active {
  opacity: 1;
}

/* =========================================
   Slider Dots
   ========================================= */
.w-slider-dot {
  width: 10px;
  height: 10px;
  background-color: rgba(106, 64, 64, 0.3);
  transition: background-color 0.2s ease, width 0.3s ease, border-color 0.2s ease;
  border-radius: 30px;
}

.w-slider-dot.w-active {
  width: 30px;
  background-color: rgba(106, 64, 64, 1);
}

.w-slider-dot:active {
  border-color: rgba(106, 64, 64, 1);
}

/* =========================================
   Custom Fixes
   ========================================= */
/* Hide the <br> in the main heading on smaller screens for better text flow */
@media screen and (max-width: 767px) {
  .br-desktop {
    display: none;
  }
}

/* Tablet & Mobile Layout (Hide links earlier to prevent overlap) */
@media screen and (max-width: 991px) {

  .div-block-30,
  .navbar-links-area {
    display: none !important;
  }

  .navbar-grid-layout {
    display: flex !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .navbar-button-area {
    margin-left: auto;
    flex-shrink: 0;
  }

  .heading-3 {
    font-size: 42px !important;
    line-height: 1.3 !important;
  }
}

/* =========================================
   Media Queries
   ========================================= */
@media screen and (max-width: 767px) {
  .div-block-30 {
    display: none !important;
  }

  .icon-container {
    display: none !important;
  }

  .navbar3_container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: auto !important;
    padding-left: 20px;
    padding-right: 20px;
  }

  .logo-wrapper,
  .navbar2_button-wrapper {
    grid-column: auto !important;
    justify-self: auto !important;
    width: auto !important;
    display: flex !important;
    align-items: center !important;
  }

  .kuse-nav-bar2 {
    height: auto !important;
    padding: 8px 12px !important;
    width: 96%;
    border-radius: 20px;
  }

  .navbar2_logo-link {
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
  }

  .navbar-grid-layout {
    gap: 4px;
  }

  .navbar-logo-area {
    min-width: 0;
    flex-shrink: 1;
  }

  .logo-wrapper {
    height: 24px !important;
    gap: 4px;
  }

  .logo-wrapper .navbar2_logo-link {
    flex-shrink: 1;
    min-width: 0;
  }

  .kangxuan-logo,
  .code-embed-2 svg {
    max-width: 100%;
  }

  .buttonkuse2-0.nav-btn {
    padding: 6px 10px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .kangxuan-logo {
    height: 100% !important;
    width: auto !important;
  }


  .section_header27 {
    padding-top: 10px !important;
    line-height: 1.4 !important;
  }

  .section_pricing .pricing-desc+div {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    align-items: center !important;
  }

  .section_pricing .pricing-desc+div>div:first-child {
    display: none !important;
  }

  .section_pricing .pricing-desc+div>div:last-child {
    padding-left: 0 !important;
  }

  #backToTop {
    bottom: 70px;
    right: 20px;
  }
}

/* =========================================
   Webflow Visibility Fix (Moved from HTML)
   ========================================= */
html.w-mod-js:not(.w-mod-ix3) :is(.folder-item, .img-items.is-1, .hero-wrapper, .img-items.is-2, .img-items.is-3, .img-items.is-6, .img-items.is-5, .img-items.is-4, .navbar_dropdown_list, .full-screen-back-drop) {
  visibility: hidden !important;
}