
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
      line-height: 1.6;
      color: #333;
      overflow-x: hidden;
    }

    /* Navigation */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      background: rgba(255, 255, 255, 0.8);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid #f0f0f0;
      padding: .5rem 2rem;
      animation: slideDown 0.6s ease-out;
    }

    @keyframes slideDown {
      from { transform: translateY(-100%); }
      to { transform: translateY(0); }
    }

    .nav-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-size: 1.5rem;
    }

.logo-icon {
  width: 52px;            /* 调图标大小，这里你可以自己改 28/32/40 都行 */
  height: 52px;
  display: inline-block;
  object-fit: contain;
  animation: wiggle 8s infinite ease-in-out;
  animation-delay: 2s;
}

@keyframes wiggle {
  /* 前 0–20%：正常摇 */
  0%   { transform: rotate(0deg); }
  5%   { transform: rotate(-10deg); }
  10%  { transform: rotate(10deg); }
  15%  { transform: rotate(-10deg); }
  20%  { transform: rotate(0deg); }

  /* 20% ~ 100%：完全静止（休息） */
  100% { transform: rotate(0deg); }
}

    .logo-text {
      background: linear-gradient(to right, #6bc9f2, #ad46ff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .nav-links {
      display: flex;
      gap: 2rem;
      align-items: center;
    }

    .nav-links a {
      color: #666;
      text-decoration: none;
      transition: color 0.3s;
    }

    .nav-links a:hover {
      color: #615fff;
    }

    /* Hero Section */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      background: linear-gradient(to bottom, #eef2ff, white);
      padding: 8rem 2rem 4rem;
      position: relative;
      overflow: hidden;
    }

    .hero-bg-orb {
      position: absolute;
      top: 5rem;
      right: 25%;
      width: 24rem;
      height: 24rem;
      background: linear-gradient(to right, #6bc9f2, #ad46ff);
      border-radius: 50%;
      filter: blur(80px);
      opacity: 0.3;
      animation: pulse 8s infinite;
    }

    @keyframes pulse {
      0%, 100% { transform: scale(1); opacity: 0.3; }
      50% { transform: scale(1.2); opacity: 0.4; }
    }
.floating-dot {
  position: absolute;
  border-radius: 50%;
  background: #6bc9f2;
  opacity: 0;
  animation: dotCycle 5s infinite ease-in-out;
}

@keyframes dotCycle {
  0% { opacity: 0; transform: translateY(0); }
  20% { opacity: 0.6; transform: translateY(-10px); }
  60% { opacity: 0.6; transform: translateY(10px); }
  100% { opacity: 0; transform: translateY(0); }
}


    .hero-container {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
      position: relative;
      z-index: 1;
    }

    .hero-content {
      animation: fadeInUp 0.8s ease-out;
        margin-top: -80px;   /* 内容整体往上移动 */

    }

    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: rgba(255, 255, 255, 0.7);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(107, 201, 242, 0.2);
      border-radius: 999px;
      padding: 0.5rem 1.25rem;
      margin-bottom: 2rem;
      font-size: 0.875rem;
    }

    .pulse-dot {
      width: 0.5rem;
      height: 0.5rem;
      background: linear-gradient(to right, #4f39f6, #615fff);
      border-radius: 50%;
      animation: pulse-dot 2s infinite;
    }

    @keyframes pulse-dot {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.2); }
    }

    h1 {
      font-size: 5.5rem;
      line-height: 1.3;
      margin-bottom: 1.5rem;
            margin-top: 6.5rem;
      white-space: nowrap;

      
    }

    .gradient-text {
      background: linear-gradient(to right, #6bc9f2, #ad46ff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-description {
      font-size: 1.5rem;
      color: #666;
      margin-bottom: 3rem;
      margin-top: 3rem;
      max-width: 36rem;
      white-space: nowrap;
    }

    .cta-buttons {
      display: flex;
      gap: 1rem;
      margin-bottom: 3rem;
    }

    .btn {
      padding: 1rem 2rem;
      border-radius: 999px;
      font-size: 1rem;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      transition: all 0.3s;
      cursor: pointer;
      border: none;
    }

    .btn-primary {
      background: linear-gradient(to right, #4f39f6, #615fff);
      color: white;
      box-shadow: 0 4px 14px rgba(79, 57, 246, 0.3);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(79, 57, 246, 0.4);
    }

    .btn-secondary {
      background: white;
      color: #615fff;
      border: 2px solid rgba(97, 95, 255, 0.2);
    }

    .btn-secondary:hover {
      border-color: rgba(97, 95, 255, 0.4);
    }

    .hero-stats {
      display: flex;
      gap: 2rem;
      font-size: 0.875rem;
      color: #666;
    }

    .hero-stat {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .hero-image {
      display: flex;
      justify-content: center;
      position: relative;
    }

    .pluggy-main {
      width: 680px;
      height: 680px;
      margin-left:3.5rem;
      object-fit: contain;
      filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
      animation: float-pluggy 6s infinite ease-in-out;
    }

    @keyframes float-pluggy {
      0%, 100% { transform: translateY(0) rotate(0deg); }
      25% { transform: translateY(-20px) rotate(5deg); }
      50% { transform: translateY(0) rotate(0deg); }
      75% { transform: translateY(-20px) rotate(-5deg); }
    }

    /* Features Section */
    .features {
      padding: 8rem 2rem;
 background:
    radial-gradient(circle at top left, rgba(107, 201, 242, 0.12), transparent 60%),
    radial-gradient(circle at bottom right, rgba(173, 70, 255, 0.12), transparent 60%),
    #ffffff;
      position: relative;
    }

    .section-header {
      max-width: 42rem;
      margin-bottom: 3rem;
    }

     .section-header2 {
      max-width: 42rem;
      margin-bottom: 5rem;
    }


    h2 {
      font-size: 3.5rem;
      line-height: 1.2;
      margin-bottom: 1.5rem;
    }

    .section-description {
      font-size: 1.25rem;
      color: #666;
      line-height: 1.8;
      white-space: nowrap;
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
    }

    .feature-card {
      background: white;
      border: 1px solid #f0f0f0;
      border-radius: 1.5rem;
      padding: 2.5rem;
      transition: all 0.3s;
    }

    .feature-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }

    .feature-icon {
      width: 3.5rem;
      height: 3.5rem;
      border-radius: 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.5rem;
      transition: transform 0.6s;
    }

    .feature-card:hover .feature-icon {
      transform: rotate(360deg);
    }

    .feature-icon svg {
      width: 1.75rem;
      height: 1.75rem;
      color: white;
    }

    .feature-title {
      font-size: 1.5rem;
      margin-bottom: 1rem;
    }

    .feature-description {
      font-size: 1.125rem;
      color: #666;
      line-height: 1.6;
    }
/* ---- DIY Pluggy Section（外层背景 + 容器）---- */


.section-container {
  max-width: 1200px;
  margin: 0rem auto;

}
    .diy-header {
      text-align: center;
      margin-bottom: 2rem;
    }
 

    .diy-header p {
      font-size: 1.125rem;
      color: #666;
    }

    /* ---- 三个 Pluggy 选项卡 ---- */
    .diy-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2rem;
    }

    .diy-card {
      border-radius: 1.5rem;
      padding: 2.5rem;
      border: 2px solid transparent;
      transition: all 0.4s ease;
      cursor: pointer;
      position: relative;
      overflow: hidden;
    }

    

       .diy-header h3 {
              text-align: center;
      font-size: 2.5rem;
      margin-bottom: 1.5rem;
      background: linear-gradient(135deg, #6bc9f2, #d5a2ff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .diy-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(107, 201, 242, 0.05), rgba(0, 51, 255, 0.05));
      opacity: 0;
      transition: opacity 0.4s;
    }

    .diy-card:hover::before {
      opacity: 1;
    }

    .diy-card:hover {
      transform: translateY(-10px) scale(1.02);
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    }

    .diy-card-1:hover {
      border-color: #b9b7ff;
      box-shadow: 0 20px 50px rgba(107, 201, 242, 0.3);
    }

    .diy-card-2:hover {
      border-color: #b9b7ff;
      box-shadow: 0 20px 50px rgba(107, 201, 242, 0.3);
    }

    .diy-card-3:hover {
      border-color: #b9b7ff;
      box-shadow: 0 20px 50px rgba(107, 201, 242, 0.3);
    }

    .diy-card-inner {
      position: relative;
      z-index: 1;
      text-align: center;
    }

 .diy-icon img {
  width: 220px;   /* 图片大小，想更大就改这里，比如 260px */
  height: 320px;
  object-fit: contain;
}
/* 让 DIY 整块能装下绝对定位的小点点 */
.diy-pluggy-section-main {
  position: relative;
  padding: 0rem 0rem;
  overflow: hidden;
}

/* 点点铺满整个 DIY section，不能挡住点击 */
#diy-dots {
  position: absolute;
  inset: 0;              /* 等价于 top/right/bottom/left 都是 0 */
  pointer-events: none;  /* 不挡鼠标 */
  z-index: 0;
}

/* 把里面真正的内容放在点的上面 */
.diy-pluggy-section-main > .section-container {
  position: relative;
  z-index: 1;
}


    .diy-card:hover .diy-icon {
      transform: scale(1.1) rotate(5deg);
    }

    .diy-icon-gradient {
      animation: rotate-gradient 3s infinite linear;
    }


    .diy-card h4 {
      font-size: 1.5rem;
      margin-bottom: 0.75rem;
      color: #333;
    }

    .diy-card p {
      font-size: 1rem;
      color: #666;
      line-height: 1.6;
      margin-bottom: 1.5rem;
    }

    .diy-badge {
      display: inline-block;
      padding: 0.5rem 1rem;
      background: linear-gradient(135deg, rgba(107, 201, 242, 0.15), rgba(173, 70, 255, 0.15));
      border: 1px solid rgba(107, 201, 242, 0.3);
      border-radius: 999px;
      font-size: 0.875rem;
      font-weight: 500;
      color: #615fff;
    }


    
    /* App Preview Section */
   .app-preview {
  padding: 6rem 6rem;
  background: linear-gradient(to bottom, white, #eef2ff);
  position: relative;
  overflow: hidden;
}

    /* Preview section orbs — mimic HOW IT WORKS style */
.preview-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: pulse 10s infinite;
  opacity: 0.12;
}

/* 右上蓝色大orb（类似 how-orb.orb1）*/
/* Preview 区域延续同一团紫色，从上方接上来 */
.preview-orb.orb2 {
  top: 10rem;      /* 和 how-orb.orb2 的 bottom 对称 */
  left: -rem;     /* x 方向保持一致 */
  width: 30rem;
  height: 40rem;
  background: linear-gradient(to right, #ad46ff, transparent);
  filter: blur(80px);
  opacity: 0.12;
  position: absolute;
  border-radius: 50%;
  animation: pulse 10s infinite;
}

/* 如果还想右边也有一点淡蓝，可以顺手加一个：*/
.preview-orb.orb1 {
  bottom: 12rem;
  right: -2rem;
  width: 26rem;
  height: 38rem;
  background: linear-gradient(to left, #6bc9f2, transparent);
  filter: blur(80px);
  opacity: 0.12;
  position: absolute;
  border-radius: 50%;
  animation: pulse 10s infinite;
}



    .preview-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 3rem;
      margin-bottom: 4rem;
    }
/* 外层容器可以不再用 transform，避免和滚动动画打架 */
.phone-mockup {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* hover 时：手机稍微放大 + 微微上浮 + 阴影更强一点 */
.phone-mockup:hover .phone-frame {
  transform: scale(1.05) translateY(-6px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}



.phone-frame {
  width: 100%;
  max-width: 300px;
  border-radius: 3rem;
  border: 8px solid #1a1a1a;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;

  /* 新增：缩放/位移动画过渡 */
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}


.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 7rem;
  height: 1.25rem;
  background: #1a1a1a;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  z-index: 10;
}


.phone-content {
  width: 100%;
  height: auto;      /* 让高度由图片决定 */
  padding: 0;        /* 不要再塞 padding，不然图片会缩小 */
  display: block;
}

.screen-img {
  display: block;
  width: 100%;       /* 宽度贴满框 */
  height: auto;      /* 高度按原比例自适应 */
  border-radius: 2rem;  /* 让四角更贴近屏幕形状，可按需要调 */
}

/* Figma Section */
.figma-section {

  background: #eef2ff;
   margin-top: -8rem;
}

.figma-section .section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.figma-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.figma-left {
  text-align: left;
}

.figma-section-title {
  font-size: 4.2rem;
  margin-bottom: 5rem;
  white-space: nowrap;
     margin-top: -6rem;
}

.figma-section-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2.5rem;
  max-width: 28rem;
}

/* 大数字 stats 区 */
.figma-stats {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.figma-stat {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.figma-stat-number {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
}

/* --- 动态数字渐变颜色 --- */
.figma-stat-number {
  font-weight: 800;
  line-height: 1;
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease-in-out infinite;
}

/* 三种不同渐变 */
.figma-stat-number.stat-1 {
  background-image: linear-gradient( #ad46ff, #ffb347);
}

.figma-stat-number.stat-2 {
  background-image: linear-gradient( #6bc9f2, #a28202);
}

.figma-stat-number.stat-3 {
  background-image: linear-gradient( #30cfd0, #330867);
}

/* 渐变缓慢流动效果 */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


.figma-stat-text {
  font-size: 1.3rem;
  color: #555;
}

/* 右侧 Figma embed */
.figma-embed-wrapper {
  display: flex;
  justify-content: center;
}

.figma-embed-wrapper iframe {
  width: 480px;
  height: 1060px;
  border: 1px solid #f0f0f0;
  border-radius: 1.5rem;
  background: #fff;
}


    .screen-info h3 {
      font-size: 1.25rem;
      margin-bottom: 0.5rem;
    }

    .screen-info p {
      color: #666;
    }

    /* How It Works Section */
    .how-it-works {
      padding: 8rem;
  background: linear-gradient(to bottom, #eef2ff, white);
      position: relative;
      overflow: hidden;
    }

    .steps-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2rem;
      margin-bottom: 5rem;
    }

 .step-card {
  background: white;
  border: 1px solid #f0f0f0;
  border-radius: 1rem;
  padding: 2rem;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  position: relative;

  /* 起始状态：不可见 + 往左偏 */
  opacity: 0;
  transform: translateX(-40px);
}

/* 进场后的状态 */
.step-card.visible {
  opacity: 1;
  transform: translateX(0);
}

/* hover 可以保留，但不要再改 transform，避免抢动画 */
.step-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}


    .step-number {
      font-size: 4rem;
      background: linear-gradient(to right, #6bc9f2, #ad46ff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 1.5rem;
      font-weight: 700;
    }

    .step-title {
      font-size: 1.25rem;
      margin-bottom: 0.75rem;
    }

    .step-description {
      color: #666;
      line-height: 1.6;
    }



    .pluggy-showcase {
      background: linear-gradient(135deg, #6bc9f2, #ad46ff);
      border-radius: 1.5rem;
      padding: 2rem;
      position: relative;
      overflow: hidden;
    }

    .pluggy-showcase-pattern {
      position: absolute;
      inset: 0;
      opacity: 0.1;
      background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
      background-size: 32px 32px;
    }

    .pluggy-showcase-content {
      position: relative;
      margin-left: 3rem;
      z-index: 1;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10rem;
      align-items: center;
    }

    .pluggy-showcase-text {
      color: white;
    }

    .pluggy-showcase-text h3 {
      font-size: 2.5rem;
      margin-bottom: 1.5rem;
      white-space: nowrap;
    }

    .pluggy-showcase-text p {
      font-size: 1.25rem;
      line-height: 1.8;

      opacity: 0.9;
    }

    .feature-list {
      display: flex;
      flex-direction: column;
      gap: 1rem;
            font-size: 1.25rem;
    }

    .feature-item {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
    }

    .check-icon {
      width: 1.5rem;
      height: 1.5rem;
      background: rgba(255, 255, 255, 0.2);
      border-radius: 50%;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 0.125rem;
    }

    .pluggy-characters {
      display: flex;
      gap: 2rem;
      justify-content: center;
    

    }

    .pluggy-char {
      width: 24.5rem;
      height: 24.5rem;
      object-fit: contain;
      margin-bottom: -1.8rem;
      filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
      animation: float-char 3s infinite ease-in-out;
    }

    .pluggy-char:nth-child(1) {
      animation-delay: 0s;
    }

    .pluggy-char:nth-child(2) {
      animation-delay: 0.5s;
    }

    @keyframes float-char {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-15px); }
    }


/* How it works background orbs */
.how-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: pulse 10s infinite;
  opacity: 0.1;
}

.how-orb.orb1 {
  position: absolute;
  right: -3rem;            /* 稍微往右溢一点，边缘更自然 */
  top: -6rem;              /* 往上顶出一点，光会更连续 */
  width: 30rem;
  height: 30rem;        /* 高度拉长，让它延伸到 preview 区 */
  background: linear-gradient(to left, #6bc9f2, transparent);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: pulse 10s infinite;
  pointer-events: none;
}







    /* CTA Section */
    .cta-section {
      padding: 8rem 2rem;
      background: linear-gradient(to bottom, #eef2ff, white);
      position: relative;
      overflow: hidden;
    }

    .cta-bg-orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(80px);
      animation: pulse 10s infinite;
    }

    .cta-bg-orb:nth-child(1) {
      top: 0;
      right: 0;
      width: 50%;
      height: 100%;
      background: linear-gradient(to left, #6bc9f2, transparent);
      opacity: 0.1;
    }

    .cta-bg-orb:nth-child(2) {
      bottom: 0;
      left: 0;
      width: 24rem;
      height: 24rem;
      background: linear-gradient(to right, #ad46ff, transparent);
      opacity: 0.1;
    }

    .floating-star {
      position: absolute;
      font-size: 1.5rem;
      animation: float-star 3s infinite ease-in-out;
    }

    @keyframes float-star {
      0%, 100% { transform: translateY(0); opacity: 0.2; }
      50% { transform: translateY(-30px); opacity: 0.8; }
    }

    .cta-container {
      max-width: 64rem;
      margin: 0 auto;
      text-align: center;
      position: relative;
      z-index: 1;
    }

    .cta-pluggy {
      width: 20rem;
      height: 20rem;
      margin: 0 auto 1rem;
      object-fit: contain;
      filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
      animation: float-pluggy 6s infinite ease-in-out;
    }



    
    .cta-title {
      font-size: 3.5rem;
      line-height: 1.2;
      margin-bottom: 2rem;
    }

    .cta-description {
      font-size: 1.25rem;
      color: #666;
      margin-bottom: 3rem;
      max-width: 42rem;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.8;
    }

    .cta-features {
      display: flex;
      justify-content: center;
      gap: 2rem;
      font-size: 0.875rem;
      color: #999;
    }

    .cta-feature {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    /* Footer */
    footer {
      background: linear-gradient(to bottom, #eef2ff, white);
      border-top: 1px solid #f0f0f0;
      padding: 1rem 2rem;
    }

    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .footer-brand h3 {
      font-size: 1.5rem;
      background: linear-gradient(to right, #6bc9f2, #ad46ff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 0.25rem;
    }

    .footer-brand p {
      color: #666;
      font-size: 0.875rem;
    }

    .footer-links {
      display: flex;
      gap: 2rem;
      font-size: 0.875rem;
    }

    .footer-links a {
      color: #666;
      text-decoration: none;
      transition: color 0.3s;
    }

    .footer-links a:hover {
      color: #615fff;
    }

    /* 悬浮小图标 */
#chat-icon {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1200;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#chat-icon img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

#chat-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.35);
}

/* 聊天框 */
#chat-box {
  position: fixed;
  right: 24px;
  bottom: 100px;
  width: 320px;
  max-width: 90vw;
  background: #ffffff;
  border-radius: 1.25rem;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.3);
  padding: 1.5rem;
  z-index: 1300;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* 显示状态 */
#chat-box.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#chat-box h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

#chat-box .close-btn {
  position: absolute;
  top: 10px;
  right: 14px;
  cursor: pointer;
  font-size: 1.3rem;
  color: #999;
}

#chat-box .close-btn:hover {
  color: #666;
}

#chat-box form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

#chat-box input,
#chat-box textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  outline: none;
  resize: vertical;
}

#chat-box input:focus,
#chat-box textarea:focus {
  border-color: #615fff;
  box-shadow: 0 0 0 1px rgba(97, 95, 255, 0.4);
}

#chat-box button[type="submit"] {
  margin-top: 0.25rem;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  cursor: pointer;
  background: linear-gradient(to right, #4f39f6, #615fff);
  color: #fff;
  box-shadow: 0 6px 18px rgba(79, 57, 246, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#chat-box button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(79, 57, 246, 0.5);
}


