:root{
  --bg1:#050510;
  --bg2:#0b0830;
  --card:rgba(255,255,255,0.06);
  --card2:rgba(255,255,255,0.04);
  --stroke:rgba(255,255,255,0.10);
  --text:rgba(255,255,255,0.90);
  --muted:rgba(255,255,255,0.72);
  --muted2:rgba(255,255,255,0.62);
  --accent:#7c4dff;
  --accent2:#39d0ff;
  --highlight-yellow:#ffa500;
  --highlight-red:#c084fc;
  --shadow: 0 18px 60px rgba(0,0,0,0.45);
  --radius:18px;
  --max:1100px;
  --pad:22px;
}

*{box-sizing:border-box;}
html,body{height:100%;}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(124,77,255,0.35), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(57,208,255,0.18), transparent 55%),
    radial-gradient(900px 700px at 55% 110%, rgba(124,77,255,0.22), transparent 60%),
    linear-gradient(180deg, var(--bg2), var(--bg1));
  overflow-x:hidden;
}

a{color:inherit; text-decoration:none;}
.container{max-width:var(--max); margin:0 auto; padding:0 var(--pad);}

header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(5,5,16,0.55);
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:8px 0;
}

.brand-section{
  display:flex;
  align-items:flex-end;
  gap:24px;
  flex:1;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}
.brand img{
  height:120px;
  width:auto;
  display:block;
}
.brand-section h1{
  margin:0 0 8px 0;
  font-size:32px;
  line-height:1.2;
  letter-spacing:-0.02em;
}
.navlinks{
  display:flex;
  gap:14px;
  align-items:center;
  color:var(--muted2);
  font-size:14px;
}
.navlinks a{padding:8px 10px; border-radius:10px;}
.navlinks a:hover{background:rgba(255,255,255,0.06); color:var(--text);}

.hero{
  padding:8px 0 24px;
  text-align:center;
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.05);
  border-radius:999px;
  color:var(--muted);
  font-size:13px;
}
.kicker .dot{
  width:8px;height:8px;border-radius:50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 18px rgba(124,77,255,0.55);
}
h1{
  margin:14px 0 8px;
  font-size:44px;
  line-height:1.06;
  letter-spacing:-0.02em;
}
.subhead{
  margin:0 auto;
  max-width:900px;
  color:var(--muted);
  font-size:16px;
  line-height:1.6;
}

.section{
  padding:8px 0 32px 0;
}
.section h2{
  text-align:center;
  margin:0 0 10px;
  font-size:26px;
  letter-spacing:-0.01em;
}
.section .lead{
  text-align:center;
  margin:0 auto 18px;
  max-width:880px;
  color:var(--muted);
  line-height:1.7;
  font-size:15px;
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.04));
  border:1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.carousel{
  margin-top:18px;
  overflow:hidden;
  position:relative;
}

.carousel .viewport{
  display:flex;
  transition: transform 500ms ease;
  will-change: transform;
}
.carousel .slide{
  min-width:100%;
  position:relative;
}
.carousel img{
  width:100%;
  height:auto;
  display:block;
  border-radius: var(--radius);
}
.carousel .controls{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 10px;
  pointer-events:none;
}
.carousel button{
  pointer-events:auto;
  border:none;
  width:42px;height:42px;
  border-radius:12px;
  background:rgba(0,0,0,0.35);
  border:1px solid rgba(255,255,255,0.16);
  color:white;
  cursor:pointer;
  backdrop-filter: blur(8px);
}
.carousel button:hover{background:rgba(0,0,0,0.5);}

.dots{
  display:flex;
  gap:8px;
  justify-content:center;
  padding:12px 0 14px;
}
.dots .dot{
  width:8px;height:8px;border-radius:50%;
  background:rgba(255,255,255,0.22);
  border:1px solid rgba(255,255,255,0.18);
  cursor:pointer;
}
.dots .dot.active{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 18px rgba(124,77,255,0.55);
}

.grid2{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap:16px;
}
@media (max-width: 900px){
  h1{font-size:36px;}
  .grid2{grid-template-columns:1fr;}
}

.textblock{
  padding:18px 18px;
}
.centertext{ text-align:center; }
.bullets{
  margin:10px auto 0;
  max-width:880px;
  text-align:left;
  color:var(--muted);
  line-height:1.7;
}
.bullets ul{
  margin:8px 0 0;
  padding-left:18px;
}
.bullets li{margin:6px 0;}
.badge{
  display:inline-block;
  font-size:12px;
  color:rgba(255,255,255,0.78);
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.06);
  padding:6px 10px;
  border-radius:999px;
}
.neuros-features .badge{
  font-size:18px;
  padding:10px 16px;
}
.figure{
  padding:14px;
}
.figure img{
  width:100%;
  border-radius:14px;
  display:block;
}
.caption{
  text-align:center;
  color:var(--muted2);
  font-size:13px;
  line-height:1.5;
  margin-top:10px;
}

.features{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:14px;
}
@media (max-width: 780px){
  .features{grid-template-columns:1fr;}
}
.feature{
  padding:16px 16px 14px;
}
.feature h3{
  margin:0 0 8px;
  font-size:16px;
  letter-spacing:-0.01em;
}
.feature p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
  font-size:14px;
}

.contact{
  padding:26px 0 50px;
}
.contact .card{padding:18px;}
.contact h2{margin-bottom:8px;}
.contact .leftline{
  text-align:left; /* per request */
  color:var(--muted);
  margin:0 0 14px;
  line-height:1.6;
}
.email{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.06);
  font-weight:600;
}
.footer{
  padding:18px 0 28px;
  color:rgba(255,255,255,0.50);
  font-size:12px;
  text-align:center;
  border-top:1px solid rgba(255,255,255,0.08);
}

/* Design refinements */
.nav-highlight{
  font-weight:600;
}

.highlight-text{
  font-weight:600;
}

.highlight-red{
  color: var(--highlight-red);
  font-weight:600;
}

.subtitle-red{
  color: var(--highlight-red);
  font-weight:600;
  font-size:0.9em;
}

.neuros-features{
  border: 2px solid var(--highlight-yellow);
  padding:22px 20px;
}
.neuros-features .badge{
  background:rgba(255,255,255,0.08);
  border-color:rgba(255,255,255,0.16);
}
.neuros-features .bullets li{
  color:rgba(255,255,255,0.85);
  font-weight:500;
  margin:14px 0;
  font-size:15px;
}
.neuros-features .bullets strong{
  display:block;
  margin-bottom:8px;
  color:rgba(255,255,255,0.90);
  font-size:15px;
}
.sub-bullets{
  margin:10px 0 0 18px !important;
  padding-left:18px !important;
  font-size:14px;
}
.sub-bullets li{
  margin:6px 0 !important;
  font-weight:normal;
  color:rgba(255,255,255,0.78);
  line-height:1.5;
}

.contact-centered{
  text-align:center !important;
  padding:24px;
}
.contact-centered h2{
  margin:0 0 12px;
  font-size:28px;
}
.contact-cta{
  font-weight:600;
}
.contact-subhead{
  color:var(--muted);
  margin:0 0 18px;
  line-height:1.6;
  font-size:15px;
}
.contact-centered .email{
  margin-top:14px;
}

/* === 改进版轮播组件 === */
/* 轮播容器 - 宽度比图片宽 30% */
.carousel-c {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--pad);
  overflow: hidden;
  border-radius: var(--radius);
}

/* 幻灯片容器 */
.carousel-c .slides-container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* 单个幻灯片 - 固定宽度，不占满容器 */
.carousel-c .slide {
  position: absolute;
  /* 图片宽度 = 容器宽度 / 1.428 ≈ 70% */
  width: 70%;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: left 0.7s ease-in-out, opacity 0.7s ease-in-out, z-index 0s;
  top: 0;
}

.carousel-c img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: rgba(0, 0, 0, 0.2);
}

/* 根据 data-position（当前位置）定义样式 */
/* position0: 在最左边（看不见或边缘可见） */
.carousel-c .slide[data-position="0"] {
  left: 0%;
  z-index: 1;
  opacity: 0.3;
}

/* position1: 在焦点位置（完整显示） */
.carousel-c .slide[data-position="1"] {
  left: 10%;
  z-index: 4;
  opacity: 1;
}

/* position2: 在右边 */
.carousel-c .slide[data-position="2"] {
  left: 20%;
  z-index: 2;
  opacity: 0.4;
}

/* position3: 在最右边 */
.carousel-c .slide[data-position="3"] {
  left: 30%;
  z-index: 1;
  opacity: 0.2;
}

/* 按钮 */
.carousel-c .controls {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none;
  z-index: 10;
}

.carousel-c button {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.35);
  color: white;
  font-size: 24px;
  cursor: pointer;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  transition: all 0.3s;
}

.carousel-c button:hover {
  background: rgba(0,0,0,0.5);
}

/* 指示点 */
.carousel-c ~ .dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 40px;
}

.carousel-c ~ .dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-c ~ .dots .dot.active {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 18px rgba(124,77,255,0.55);
  scale: 1.3;
}
