/* ============================================================
   安徽云端 - 首页（整屏翻页 fullpage 风格）
   S1 飞机打字机 / S2 彩色翻转列 / S3 3D盒子 / S4 客户评价 / S5 品牌点赞
   ============================================================ */

/* ---------- 整屏容器 ---------- */
html.fp-lock, html.fp-lock body { overflow: hidden; height: 100%; }

.super-container {
  position: relative; overflow: hidden;
  height: 100vh; background: #1b1b1b;
}
.fp-section {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  visibility: hidden;
}
.super-container.active-1 .section-1,
.super-container.active-2 .section-2,
.super-container.active-3 .section-3,
.super-container.active-4 .section-4,
.super-container.active-5 .section-5 { visibility: visible; }

.super-container.active-1 .section-1 { z-index: 21; }
.super-container.active-1 .section-2, .super-container.active-2 .section-1 { z-index: 11; }
.super-container.active-2 .section-2 { z-index: 21; }
.super-container.active-2 .section-3, .super-container.active-2 .section-4,
.super-container.active-3 .section-1, .super-container.active-3 .section-2,
.super-container.active-4 .section-1, .super-container.active-4 .section-2,
.super-container.active-4 .section-3, .super-container.active-5 .fp-section { z-index: 11; }
.super-container.active-3 .section-3 { z-index: 21; }
.super-container.active-4 .section-4 { z-index: 21; }
.super-container.active-5 .section-5 { z-index: 21; }

/* 显示字体（拉丁用 Roboto Slab 风格，中文回落系统黑体） */
.fp-display { font-family: 'Roboto Slab', Georgia, 'PingFang SC', 'Microsoft YaHei', serif; }

/* ============================================================
   S1 - 黑色主视觉：飞机 + 打字机
   ============================================================ */
.section-1 { background: #1b1b1b; z-index: 21; }

.section-1 .beta-app-host {
  position: absolute; bottom: 40px; left: 40px; z-index: 5;
  color: #fff;
}

/* 代码编辑器窗口 */
.code-editor {
  width: 560px; max-width: 46vw;
  background: #0d1117; border: 1px solid #2a2f35; border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
  overflow: hidden; text-align: left;
}
.code-editor .editor-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px; background: #161b22; border-bottom: 1px solid #2a2f35;
}
.code-editor .editor-bar i { width: 11px; height: 11px; border-radius: 50%; }
.code-editor .editor-bar i:nth-child(1) { background: #ff5f57; }
.code-editor .editor-bar i:nth-child(2) { background: #febc2e; }
.code-editor .editor-bar i:nth-child(3) { background: #28c840; }
.code-editor .editor-bar span {
  margin-left: 8px; color: #6a737d; font-size: 12px;
  font-family: Consolas, Menlo, monospace;
}
.code-editor .editor-body {
  padding: 16px 18px 20px; min-height: 330px;
  font-family: Consolas, "SFMono-Regular", Menlo, monospace;
  font-size: 14.5px; line-height: 1.75;
}
.code-editor pre {
  display: inline; margin: 0; white-space: pre-wrap; word-break: break-all;
  color: #c9d1d9;
}
/* 语法高亮 */
.code-editor .t-kw  { color: #ff7b72; }
.code-editor .t-var { color: #79c0ff; }
.code-editor .t-fn  { color: #d2a8ff; }
.code-editor .t-str { color: #a5d6a7; }
.code-editor .t-cmt { color: #6a737d; font-style: italic; }
.code-editor .t-num { color: #ffc777; }
.code-editor .t-pun { color: #c9d1d9; }
.code-editor .t-out { color: #7ee0a3; }
/* 块状光标 */
.code-editor .code-cursor {
  display: inline-block; margin-left: 2px; width: 9px; height: 18px;
  background: #79c0ff; vertical-align: -3px;
  animation: cursor-flash .5s linear infinite;
}
.section-1 .beta-app-host.typed-finish .code-cursor { visibility: hidden; animation-play-state: paused; }

@keyframes cursor-flash { 0%, 100% { opacity: 0; } 30% { opacity: 1; } }

/* 飞机 */
.plane-wrapper {
  position: absolute; top: 14%; right: 4%; z-index: 4;
  width: 640px; max-width: 55vw;
  transform: translateX(130vw);
  animation: undulate 8s linear infinite alternate;
}
.super-container.ready .plane-wrapper {
  transform: translateX(0);
  transition: transform 1.1s cubic-bezier(.25, .8, .3, 1);
}
@keyframes undulate {
  0%, 100%, 50% { margin-top: 0; }
  25% { margin-top: -18px; }
  75% { margin-top: 10px; }
}
.plane-wrapper .plane { width: 100%; display: block; filter: invert(1); }
.plane-wrapper .rotate-container {
  position: absolute; top: 51.7%; left: 13.1%;
  width: 27.4%; height: 14.45%;
  transform-origin: center center;
  animation: rotating .25s linear infinite reverse;
}
@keyframes rotating {
  0% { transform: rotate(0) rotateY(-20deg); }
  100% { transform: rotate(-360deg) rotateY(-20deg); }
}
.plane-wrapper .propeller { width: 100%; display: block; filter: invert(1); transform: rotateY(-28deg); }

/* 离场：飞机向左飞出 */
.section-1.animate-out .plane-wrapper {
  animation: plane-out 1.2s ease-out forwards;
}
@keyframes plane-out {
  0% { transform: translateX(0) scale(1); opacity: 1; }
  30% { transform: translateX(120px) scale(.85); }
  100% { transform: translateX(-160vw) scale(1.15); opacity: 1; }
}
.section-1.animate-out .beta-app-host { opacity: 0; transition: opacity .15s; }

.section-1 .record-num {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  z-index: 5; font-size: 13px;
}
.section-1 .record-num a { color: #5a5a5a; }
.section-1 .record-num a:hover { color: #999; }

/* 滚屏提示 */
.scroll-hint {
  position: absolute; bottom: 40px; right: 44px; z-index: 5;
  color: #777; font-size: 12px; letter-spacing: 2px; text-align: center;
}
.scroll-hint .wheel {
  display: block; width: 22px; height: 36px; margin: 0 auto 8px;
  border: 2px solid #777; border-radius: 12px; position: relative;
}
.scroll-hint .wheel::after {
  content: ""; position: absolute; top: 6px; left: 50%; margin-left: -2px;
  width: 4px; height: 8px; border-radius: 2px; background: #ffd200;
  animation: wheel-drop 1.6s ease-in-out infinite;
}
@keyframes wheel-drop {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============================================================
   S2 - 3列翻转 + 彩色功能块
   ============================================================ */
.section-2 { background: #1b1b1b; }
.section-2 .features { display: flex; height: 100vh; }
.section-2 .cols {
  position: relative; flex: 1; overflow: hidden; height: 100%;
  perspective: 2500px;
}
.section-2 .cols .back, .section-2 .cols .front {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  backface-visibility: hidden; transform-style: preserve-3d;
  transition: transform .6s ease;
}
.section-2 .cols .back { background: #ffd200; }
.section-2 .cols .front { transform: rotateY(-180deg); }
.section-2 .cols:nth-child(1) .back, .section-2 .cols:nth-child(1) .front { transition-delay: 0s; }
.section-2 .cols:nth-child(2) .back, .section-2 .cols:nth-child(2) .front { transition-delay: .12s; }
.section-2 .cols:nth-child(3) .back, .section-2 .cols:nth-child(3) .front { transition-delay: .24s; }

.section-2.animate-in .cols .back { transform: rotateY(180deg); }
.section-2.animate-in .cols .front { transform: rotateY(0); }

.section-2 .group {
  position: absolute; left: 0; width: 100%; overflow: hidden;
  transition: height .5s ease; cursor: pointer;
}
.section-2 .group:first-child { top: 0; }
.section-2 .group:last-child { bottom: 0; }
.section-2 .group.expanded { height: 100vh; z-index: 10; }
.section-2 .group.folded { height: 0; z-index: 10; }

.section-2 .group .content-wrapper {
  position: absolute; left: 0; width: 100%; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-align: center;
}
.section-2 .group:first-child .content-wrapper { top: 0; }
.section-2 .group:last-child .content-wrapper { bottom: 0; }

.section-2 .g-inner { padding: 0 12%; }
.section-2 .g-icon { height: 120px; margin-bottom: 40px; display: flex; align-items: center; justify-content: center; }
.section-2 .g-icon svg { width: 110px; height: 110px; }
.section-2 .g-title {
  margin-bottom: 26px; font-weight: 700; font-size: 30px;
  font-family: 'Roboto Slab', Georgia, 'PingFang SC', 'Microsoft YaHei', serif;
}
.section-2 .g-text { font-size: 15px; line-height: 1.9; opacity: .95; }

/* 6 色块 */
.section-2 .cols:nth-child(1) .group:first-child { background: #05abbf; }
.section-2 .cols:nth-child(1) .group:last-child { background: #f8664e; }
.section-2 .cols:nth-child(2) .group:first-child { background: #f2ab13; }
.section-2 .cols:nth-child(2) .group:last-child { background: #5e5ae2; }
.section-2 .cols:nth-child(3) .group:first-child { background: #363b3d; }
.section-2 .cols:nth-child(3) .group:last-child { background: #8eb131; }

/* ============================================================
   S3 - 3D 盒子工具
   ============================================================ */
.section-3 { background: #414859; display: flex; align-items: center; justify-content: center; }
.section-3 .s3-inner { width: 100%; max-width: 1200px; padding: 0 40px; text-align: center; }
.section-3 .s3-title {
  color: #fff; font-weight: 400; font-size: 46px; margin-bottom: 70px;
  font-family: 'Roboto Slab', Georgia, 'PingFang SC', 'Microsoft YaHei', serif;
  transform: translateY(40px); opacity: 0; transition: all .5s ease;
}
.section-3.animate-in .s3-title { transform: none; opacity: 1; }

.section-3 .boxes-container { display: flex; justify-content: space-between; }
.section-3 .cols { perspective: 1200px; text-align: center; }
.section-3 .box-wrapper { display: inline-block; width: 190px; }

.section-3 .tool-desc {
  margin: 0 auto 18px; width: 90%; min-height: 72px;
  color: #fff; font-size: 16px; line-height: 1.7; text-align: left;
  opacity: 0; transform: translateY(40px); transition: all .3s ease;
}
.section-3 .brace {
  overflow: hidden; color: #fff; font-size: 34px; line-height: 1;
  opacity: 0; transform: translateY(26px); transition: all .3s ease;
}
.section-3 .box-wrapper:hover .tool-desc,
.section-3 .box-wrapper:hover .brace { opacity: 1; transform: none; }

/* 3D 盒子本体 */
.section-3 .box {
  position: relative; z-index: 10; display: inline-block;
  width: 130px; height: 130px; margin-top: 90px; margin-left: -70px;
  transform-style: preserve-3d;
  opacity: 0; transform: translateY(-320px) rotateY(-36deg) rotateX(-15deg) rotateZ(10deg);
  transition: all .4s cubic-bezier(.3, .9, .4, 1.1);
}
.section-3.animate-in .box { opacity: 1; transform: rotateY(-40deg) rotateX(-4deg) rotateZ(4deg); }
.section-3 .cols:nth-child(1) .box { transition-delay: .05s; }
.section-3 .cols:nth-child(2) .box { transition-delay: .13s; }
.section-3 .cols:nth-child(3) .box { transition-delay: .21s; }
.section-3 .cols:nth-child(4) .box { transition-delay: .29s; }

.section-3 .box .side {
  position: absolute; width: 130px; height: 130px; box-sizing: border-box;
  border: 1px solid #3f515f; background: #0390a1;
  transform-style: preserve-3d; transition: all .25s;
}
.section-3 .box .front {
  height: 118px; display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.section-3 .box .front svg { width: 56px; height: 56px; }
.section-3 .box .left { right: 100%; height: 118px; transform: rotateY(-90deg); transform-origin: right; }
.section-3 .box .right {
  left: 100%; height: 118px; padding: 14px 0 0 14px;
  color: #414859; background: #fff; border-color: #fff;
  text-align: left; text-transform: uppercase; letter-spacing: 1px;
  font-weight: 700; font-size: 19px; line-height: 1.25;
  transform: rotateY(90deg); transform-origin: left top;
  font-family: 'Roboto Slab', Georgia, serif;
}
.section-3 .box .back { height: 118px; transform: translateZ(-130px); }
.section-3 .box .top {
  top: -130px; left: 0; background: transparent; border: none;
  transform: rotateX(90deg); transform-origin: bottom;
}
.section-3 .box .top .lid-left, .section-3 .box .top .lid-right {
  position: absolute; top: 0; width: 50%; height: 130px;
  background: #0390a1; border: 1px solid #3f515f; box-sizing: border-box;
  transition: all .3s ease;
}
.section-3 .box .top .lid-left { left: 0; transform-origin: left; }
.section-3 .box .top .lid-right { right: 0; transform-origin: right; }
.section-3 .box-wrapper:hover .box .top .lid-left { transform: rotateY(-120deg); }
.section-3 .box-wrapper:hover .box .top .lid-right { transform: rotateY(126deg); }

/* ============================================================
   S4 - 客户评价（点击头像换背景色）
   ============================================================ */
.section-4 {
  background: #3c81df; color: #fff; transition: background-color .8s ease, top .5s ease;
  display: flex; align-items: center; justify-content: center;
}
.section-4.active-c1 { background: #3c81df; }
.section-4.active-c2 { background: #e3a520; }
.section-4.active-c3 { background: #d85245; }
.section-4.active-c4 { background: #11b076; }
.section-4.active-c5 { background: #9e5c42; }

.section-4 .s4-inner { width: 100%; max-width: 1100px; padding: 0 30px; text-align: center; }
.section-4 .s4-title {
  font-weight: 400; font-size: 44px; margin-bottom: 90px;
  font-family: 'Roboto Slab', Georgia, 'PingFang SC', 'Microsoft YaHei', serif;
  transform: translateY(80px); opacity: 0; transition: all .5s ease;
}
.section-4.animate-in .s4-title { transform: none; opacity: 1; }

.section-4 .users-wrapper { position: relative; }
.section-4 .item { display: inline-block; margin: 0 22px; width: 120px; vertical-align: top; }
.section-4 .item .logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 110px; height: 110px; border: 2px solid #fff; border-radius: 50%;
  font-size: 40px; font-weight: 700; color: #fff; cursor: pointer;
  transition: all .3s ease; position: relative;
}
.section-4 .item .logo:hover { transform: scale(1.08); }
.section-4 .item .logo::after {
  content: ""; position: absolute; bottom: -30px; left: 50%; margin-left: -13px;
  border: 13px solid transparent; border-top: 22px solid #fff;
  opacity: 0; transition: opacity .15s;
}
.section-4.active-c1 .item[data-item="c1"] .logo,
.section-4.active-c2 .item[data-item="c2"] .logo,
.section-4.active-c3 .item[data-item="c3"] .logo,
.section-4.active-c4 .item[data-item="c4"] .logo,
.section-4.active-c5 .item[data-item="c5"] .logo { background: #fff; }
.section-4.active-c1 .item[data-item="c1"] .logo { color: #3c81df; }
.section-4.active-c2 .item[data-item="c2"] .logo { color: #e3a520; }
.section-4.active-c3 .item[data-item="c3"] .logo { color: #d85245; }
.section-4.active-c4 .item[data-item="c4"] .logo { color: #11b076; }
.section-4.active-c5 .item[data-item="c5"] .logo { color: #9e5c42; }
.section-4.active-c1 .item[data-item="c1"] .logo::after,
.section-4.active-c2 .item[data-item="c2"] .logo::after,
.section-4.active-c3 .item[data-item="c3"] .logo::after,
.section-4.active-c4 .item[data-item="c4"] .logo::after,
.section-4.active-c5 .item[data-item="c5"] .logo::after { opacity: 1; }

.section-4 .item .words {
  position: absolute; left: 0; right: 0; margin: 60px auto 0; max-width: 760px;
  font-size: 19px; line-height: 2; opacity: 0; transform: translateY(50px);
  pointer-events: none; transition: all .4s ease; padding: 0 20px;
}
.section-4 .item .words .who { display: block; margin-top: 14px; font-size: 14px; opacity: .85; }
.section-4.active-c1 .item[data-item="c1"] .words,
.section-4.active-c2 .item[data-item="c2"] .words,
.section-4.active-c3 .item[data-item="c3"] .words,
.section-4.active-c4 .item[data-item="c4"] .words,
.section-4.active-c5 .item[data-item="c5"] .words { opacity: 1; transform: none; }

/* ============================================================
   S5 - 黄色品牌页：打字 + 点赞笑脸
   ============================================================ */
.section-5 {
  background: #ffd200; transition: top .5s ease;
  display: flex; align-items: center; justify-content: center;
}
.section-4, .section-5 { top: 100%; }
.section-4.animate-in, .section-5.animate-in { top: 0; }

.section-5 .s5-inner { text-align: center; }
.section-5 .brand-animate { margin-bottom: 60px; min-height: 130px; }
.section-5 .brand-text {
  display: inline-block; vertical-align: middle;
  font-weight: 700; font-size: 96px; color: #000; letter-spacing: 6px;
  font-family: 'Roboto Slab', Georgia, 'PingFang SC', 'Microsoft YaHei', serif;
}
.section-5 .brand-cursor {
  display: inline-block; margin-left: 8px; width: 4px; height: 110px;
  background: #000; vertical-align: middle;
  animation: cursor-flash .6s linear infinite;
}
.section-5 .brand-animate.typed-finish .brand-cursor { opacity: 0; animation: none; }

/* 点赞 -> 笑脸 */
.section-5 .thumbsup-wrapper {
  opacity: 0; transform: translateY(60px); transition: all .5s ease;
}
.section-5 .thumbsup-wrapper.appear { opacity: 1; transform: none; }
.section-5 .brace-group { display: inline-flex; align-items: center; cursor: pointer; user-select: none; }
.section-5 .brace-group .b-brace {
  font-size: 72px; font-weight: 300; color: #000; transition: margin .25s;
  font-family: 'Roboto Slab', Georgia, serif;
}
.section-5 .brace-group:hover .b-brace.left { margin-right: 4px; }
.section-5 .brace-group:hover .b-brace.right { margin-left: 4px; }
.section-5 .brace-content {
  position: relative; overflow: hidden; width: 62px; height: 78px;
}
.section-5 .thumb, .section-5 .face {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  transition: all .3s ease;
}
.section-5 .thumb svg { width: 40px; height: 40px; }
.section-5 .face { opacity: 0; transform: translateY(70px); flex-direction: column; }
.section-5 .face .eyes { display: flex; gap: 8px; }
.section-5 .face .eye {
  width: 10px; height: 16px; border-radius: 5px; background: #000;
}
.section-5 .face .mouth {
  width: 26px; height: 13px; margin-top: 6px;
  border: 3px solid #000; border-top: none; border-radius: 0 0 26px 26px;
}
.section-5 .brace-content.face-up .thumb { opacity: 0; transform: translateY(-70px); }
.section-5 .brace-content.face-up .face { opacity: 1; transform: none; }
.section-5 .brace-content.face-up .face .eye.right { animation: blink .6s linear 1 .5s; }
.section-5 .brace-content.face-up .face .mouth { animation: smile .6s linear 1 .5s; }
@keyframes blink { 0%, 100% { transform: none; } 50% { transform: scaleY(.4); } }
@keyframes smile { 0%, 100% { transform: none; } 50% { transform: rotateZ(-14deg) translateX(2px); } }

.section-5 .are-you-like {
  margin-top: 18px; min-height: 24px; font-weight: 700; font-size: 16px;
  letter-spacing: 1px; color: #000;
  font-family: 'Roboto Slab', Georgia, 'PingFang SC', 'Microsoft YaHei', serif;
}

/* ============================================================
   导航配色：深色屏白字 / 浅色屏黑字
   ============================================================ */
.navbar.on-dark .navbar-brand, .navbar.on-dark .navbar-menu li a { color: #fff; }
.navbar.on-dark .navbar-menu .brace, .navbar.on-dark .navbar-menu .comma { color: rgba(255, 255, 255, .55); }
.navbar.on-dark .navbar-menu li a.active { color: #ffd200; }
.navbar.on-dark .navbar-menu li a::after { background: #ffd200; }
.navbar.on-dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.navbar.on-dark .btn-ghost:hover { color: #ffd200; border-color: #ffd200; }
.navbar.on-dark .nav-toggle span { background: #fff; }
.navbar.on-dark.solid { background: rgba(27, 27, 27, .92); box-shadow: none; }

/* ============================================================
   移动端：退化为普通纵向滚动
   ============================================================ */
@media (max-width: 860px) {
  html.fp-lock, html.fp-lock body { overflow: auto; height: auto; }
  .super-container { height: auto; overflow: visible; }
  .fp-section { position: relative; height: auto; min-height: 100vh; visibility: visible !important; top: 0; }
  .section-1 { min-height: 100vh; }
  .plane-wrapper { width: 300px; top: 16%; right: 50%; margin-right: -150px; }
  .code-editor { max-width: calc(100vw - 40px); width: auto; }
  .code-editor .editor-body { font-size: 12px; min-height: 300px; }
  .section-1 .beta-app-host { bottom: 70px; left: 20px; }
  .scroll-hint { display: none; }
  .section-2 .features { flex-direction: column; height: auto; }
  .section-2 .cols { height: auto; perspective: none; }
  .section-2 .cols .back { display: none; }
  .section-2 .cols .front { position: relative; transform: none; }
  .section-2 .group, .section-2 .group.expanded, .section-2 .group.folded {
    position: relative; height: auto; min-height: 320px;
  }
  .section-2 .group .content-wrapper { position: relative; height: auto; padding: 50px 0; }
  .section-2 .g-icon { height: 70px; margin-bottom: 18px; }
  .section-2 .g-icon svg { width: 64px; height: 64px; }
  .section-2 .g-title { font-size: 22px; margin-bottom: 12px; }
  .section-3 { padding: 70px 0; }
  .section-3 .boxes-container { flex-wrap: wrap; gap: 20px; justify-content: center; }
  .section-3 .s3-title { font-size: 28px; margin-bottom: 30px; }
  .section-3 .box { opacity: 1; transform: rotateY(-40deg) rotateX(-4deg) rotateZ(4deg); margin-left: -50px; }
  .section-3 .tool-desc { opacity: 1; transform: none; min-height: 0; }
  .section-3 .brace { opacity: 1; transform: none; }
  .section-4 { padding: 80px 0 40px; }
  .section-4 .s4-title { font-size: 26px; margin-bottom: 40px; transform: none; opacity: 1; }
  .section-4 .item { margin: 0 8px 20px; width: 76px; }
  .section-4 .item .logo { width: 72px; height: 72px; font-size: 26px; }
  .section-4 .item .logo::after { display: none; }
  .section-4 .item .words { position: relative; margin-top: 20px; font-size: 15px; opacity: 1; transform: none; display: none; }
  .section-4.active-c1 .item[data-item="c1"] .words,
  .section-4.active-c2 .item[data-item="c2"] .words,
  .section-4.active-c3 .item[data-item="c3"] .words,
  .section-4.active-c4 .item[data-item="c4"] .words,
  .section-4.active-c5 .item[data-item="c5"] .words { display: block; }
  .section-5 { padding: 90px 0; min-height: 70vh; }
  .section-5 .brand-text { font-size: 44px; }
  .section-5 .brand-cursor { height: 52px; }
  .section-5 .thumbsup-wrapper { opacity: 1; transform: none; }
}
