header.nav .logo img{
    object-fit: cover; 
    z-index: 0;  
}

.nav{
    background-color: #fff;
    padding: 0 10px !important;
    height: 45px;
}
.nav li a{
    color: #222 !important;
}
.nav li a.active{
    border-bottom: 1px solid #222 !important;
}
header.nav .logo img{
    display: block !important;
}

.sec{
    width: 100vw;
    background-color: #fff;
    padding-bottom: 5px;
}

body, html, #app {
  margin: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(76, 169, 186, 0.3) 0%, rgba(255,255,255,1) 100%);
}

#app {
  position: relative;
  height: 100%;
  font-family: "Montserrat", serif;
}

#webgl-canvas {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  z-index: 1;
}

.app-title{
    font-family: Verdana;
    position: absolute;
    top: 50px;
    left: 8px;
    padding: 15px 20px;
    /* border: 1px solid red; */
    letter-spacing: 2px;
    z-index: 10;
    /* display: flex;
    flex-direction: column;
    align-items: center; */
}

.title-light{
    font-weight: normal;
}

.app-desc{
    font-size: 1em;
    color: #777;
    margin-top: 8px;
}

.app-title .title-neon{
    background-image: linear-gradient(135deg, rgb(67, 203, 255) 0%, rgb(123, 81, 255) 100%);
    background-clip: text;
    color: transparent;
}
#app-chart-1 {
    position: absolute;
    top: calc(50vh - 200px);
    height: 180px;
    width: 300px;
    z-index: 100;
    border-radius: 10px;
    left: calc(50vw - 400px);
    background-color: #fff;
    box-shadow: 0 0 20px rgba(40, 40, 40, 0.15);
    overflow: hidden;
    animation: flyInLeft 0.8s ease-out forwards;
}

#app-chart-2 {
    position: absolute;
    top: calc(50vh + 20px);
    height: 190px;
    width: 320px;
    z-index: 100;
    border-radius: 10px;
    right: calc(50vw - 300px);
    background-color: #fff;
    box-shadow: 0 0 20px rgba(40, 40, 40, 0.15);
    overflow: hidden;
    animation: flyInRight 1s ease-out forwards;
}

.app-chart-top{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    /* border: 1px solid red; */
    width: 100%;
    height: 20px;
}
.ap-rr{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.ap-rr i{
    color: cadetblue;
    margin: 0 6px;
}
.ap-rr .ap-nm{
    font-family: monospace;
    font-size: 0.85em;
    color: #666;
}
.ap-dt{
    width: 10px;
    height: 10px;
    border-radius: 100%;
    margin-right: 4px;
}
.ap-dt:nth-child(1){
    background-color: red;
}
.ap-dt:nth-child(2){
    background-color: orange;
}
.ap-dt:nth-child(3){
    background-color: green;
}

.app-chart-main{
    width: 100%;
    height: calc(100% - 20px);
    position: relative;
}

@keyframes flyInLeft {
  0% {
    transform: translateX(-50px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes flyInRight {
  0% {
    transform: translateX(50px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes flyInLeftSm {
  0% {
    transform: translateX(-15px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes flyInRightSm {
  0% {
    transform: translateX(15px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes raiseSm {
  0% {
    transform: translateY(10px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes dropSm {
  0% {
    transform: translateY(-10px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}


#app-below{
    position: absolute;
    bottom: 20px;
}
#app-btn-a{
    font-size: 17px;
    font-family: monospace;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px 16px;
    white-space: nowrap;
    z-index: 100;
}

.ap-btn-lg{
    padding: 12px 30px;
    border-radius: 30px;
    /* border: 1px solid red; */
    margin-left: 5px;
    background: #fff;
    cursor: pointer;
}

.ap-btn-lg + .ap-btn-lg{
    margin-left: 7.5px;
}

.neon-bg{
    color: #fff;
    background: linear-gradient(135deg, rgb(67, 203, 255) 0%, rgb(123, 81, 255) 100%);
    z-index: 100;
    animation: raiseSm 0.75s ease-out forwards;
}

.ap-btn-sd{
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
    z-index: 100;
    animation: raiseSm 1.25s ease-out forwards;
}


#app-usr-a{
    display: flex;
    flex-direction: row;
    align-items: center;
}

#app-usr-b{
    display: flex;
    flex-direction: row;
    align-items: center;
}

#app-usr-b img{
    width: 32.5px;
    height: 32.5px;
    border-radius: 100%;
    object-fit: cover;
}

#app-usr-txt{
    margin-left: 5px;
    font-family: Verdana;
    animation: flyInRight 1s ease-out forwards;
}

#app-usr-b{
    animation: flyInLeft 0.8s ease-out forwards;
}

.c-g{
    color: #777;
}


.sec-title{
    padding: 10px 0;
}

.sec-para{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1.2em;
    text-indent: 0.15em; 
    color: #666;
    padding: 5px;
}

.sec-card{
    margin: 20px;
    width: calc(100% - 40px);
    border-radius: 20px;
    background-color: rgba(20, 100, 135, 0.07);
    /* height: 500px; */
    padding: 15px;
}

.sec-card.sec-card-orange{
  background: radial-gradient(circle at top left, rgba(242, 242, 150, 0.3) 0%, rgba(252,252,252,1) 100%) !important;
}
.sec-card.sec-card-blue{
  background: radial-gradient(circle at top left, rgba(150, 236, 242, 0.3) 0%, rgba(252,252,252,1) 100%) !important;
}
.sec-card.sec-card-red{
  background: radial-gradient(circle at top left, rgba(236, 161, 161, 0.3) 0%, rgba(252,252,252,1) 100%) !important;
}
.sec-card-lightgreen{
  background: radial-gradient(circle at top left, rgba(188, 236, 161, 0.3) 0%, rgba(252,252,252,1) 100%) !important;
}
.sec-card-purple{
  background: radial-gradient(circle at top left, rgba(205, 161, 236, 0.3) 0%, rgba(252,252,252,1) 100%) !important;
}
.sec-card-rose{
  background: radial-gradient(circle at top left, rgba(236, 161, 202, 0.3) 0%, rgba(252,252,252,1) 100%) !important;
}
.sec-card-darkblue{
  background: radial-gradient(circle at top left, rgba(151, 152, 224, 0.3) 0%, rgba(252,252,252,1) 100%) !important;
}

.sc-title{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1.6em;
}

.sc-tag{
    margin-left: 5px;
    padding: 2px 8px;
    font-size: 15px;
    color: #fff;
    border-radius: 15px;
    float: right;
}

.sc-tag::before{
    content: '·';
    font-weight: bold;
}

.sc-hole{
    width: 220px;
    height: 220px;
    margin-top: 20px;
    border-radius: 100%;
    margin-left: calc(50% - 110px);
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}
.sc-desc{
    margin-top: 5px;
    font-family: monospace;
    color: #777;
    text-indent: .85em;
}
.sc-hole img{
    width: 175px;
    height: 175px;
    object-fit: contain;
    border-radius: 100%;
}

.sec-marquee{
    display: flex;
    flex-direction: row;
}
/* === 基础变量（可按需改） === */
:root {
  --slide-h: 100px;      /* 单个条目高度 */
  --slide-w: 200px;      /* 单个条目外宽；与你的 .sec-marquee img 规则匹配 */
}

/* === 无限横向滚动动画：从 0 到 -var(--marquee-dist) === */
@keyframes marquee-x {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(var(--marquee-dist, 0px) * -1)); }
}

/* === 容器 === */
.slider {
  background: #fff;
  /* box-shadow: 0 10px 20px -5px rgba(0,0,0,0.125); */
  height: var(--slide-h);
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* 两端渐隐遮罩 */
.slider::before,
.slider::after {
  content: "";
  position: absolute;
  top: 0;
  height: var(--slide-h);
  width: 50px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%);
}
.slider::before { left: 0; }
.slider::after  { right: 0; transform: rotateZ(180deg); }

/* === 轨道（JS 会注入 --marquee-duration 与 --marquee-dist） === */
.slider .slide-track {
  display: flex;
  will-change: transform;
  animation: marquee-x var(--marquee-duration, 20s) linear infinite;
}

/* === 单项：固定外宽，实现等距滚动 === */
.slider .slide {
  height: var(--slide-h);
  width:  var(--slide-w);
  flex: 0 0 var(--slide-w);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === 你的固定图片规则（确保总外宽≈200px）=== */
/* 外宽计算：160 + (padding x2=16) + (margin左右=22) + (边框x2=2) ≈ 200px */
.slide img{
  width: 160px;
  height: 100px;
  padding: 5px 8px;
  margin: 7px 11px 8px;
  border: 1px solid #eee;
  animation: 0s;    /* 禁止图片自身动画，避免干扰 */
  display: block;   /* 避免行内间隙 */
  object-fit: contain;
  background: transparent;
}

/* 可选：在 hover 时由 JS 切换为 paused，这里提供类名兜底 */
.slider.is-paused .slide-track {
  animation-play-state: paused;
}

.apply-btn{
    width: fit-content;
    margin: 15px auto;
}

/* anim */
.sec.anim .sec-title{
    animation: raiseSm 0.8s ease-out forwards;
}

.sec.anim .sec-card .sc-tag{
    animation: flyInRightSm 0.8s ease-out forwards;
}
.sec.anim .sec-card .sc-title{
    animation: flyInLeftSm 0.8s ease-out forwards;
}
.sec.anim .sec-card .sc-desc{
    animation: dropSm 0.8s ease-out forwards;
}
.sec.anim .sec-card .sc-hole{
    animation: flyInRight 0.8s ease-out forwards;
}
.sec.anim .apply-btn{
    animation: flyInLeft 0.8s ease-out forwards;
}


/* apply */
/* 触发按钮（可按需替换主题色） */
/* 遮罩层 */
.apply-modal{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  display: none;
  align-items: center; justify-content: center;
  padding: 16px;
  z-index: 9999;
}
.apply-modal[aria-hidden="false"]{ display: flex; }

/* 弹窗体 */
.apply-dialog{
  width: 100%;
  max-width: 640px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  padding: 18px 18px 20px;
  position: relative;
  animation: pop-in .18s ease-out;
}
@keyframes pop-in{
  from{ transform: translateY(8px) scale(.98); opacity: 0; }
  to{ transform: translateY(0) scale(1); opacity: 1; }
}

.apply-close{
  position: absolute; right: 10px; top: 10px;
  width: 36px; height: 36px; border-radius: 50%;
  background: #f3f4f6; border: 0; cursor: pointer; font-size: 22px; line-height: 1;
}
.apply-title{ margin: 4px 0 6px; font-size: 20px; font-weight: 700; color: #111827; }
.apply-subtitle{ margin: 0 0 12px; color: #6b7280; font-size: 14px; }

/* 表单栅格：桌面两列，移动一列 */
.apply-grid{
  display: grid; gap: 12px;
  grid-template-columns: 1fr 1fr;
}
.field-full{ grid-column: 1 / -1; }

@media (max-width: 640px){
  .apply-grid{ grid-template-columns: 1fr; }
}

.field label{
  display: inline-block; margin: 6px 0; font-size: 13px; color: #374151;
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="file"],
.field textarea{
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
}
.field textarea{ resize: vertical; }
.field input:focus, .field textarea:focus{
  border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79,70,229,.15);
}

.req{ color: #ef4444; margin-left: 2px; }

.apply-actions{
  display: flex; gap: 10px; justify-content: flex-end; margin-top: 12px;
}
.apply-submit{
  padding: 10px 16px; border: 0; border-radius: 10px;
  background: #4f46e5; color: #fff; font-weight: 600; cursor: pointer;
}
.apply-cancel{
  padding: 10px 16px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; cursor: pointer;
}

.apply-msg{ margin-top: 10px; font-size: 14px; min-height: 1.2em; }
.apply-msg.ok{ color: #16a34a; }
.apply-msg.err{ color: #dc2626; }
/* end of apply */

/* ========== responsive */
@media screen and (max-width: 619px) {
    #app-chart-1{
        top: calc(50vh - 90px);
        height: 100px;
        width: 150px;
        left: 20px;
    }
    #app-chart-2{
        top: calc(50vh + 25px);
        height: 110px;
        width: 160px;
        right: 27.5px;
    }
}