/*
 * FlamingoTechs - Homepage Stylesheet (Pure Code Version)
 * 100% Native Semantic Architecture - Zero WordPress/Elementor Residuals
 * Copyright (c) FlamingoTechs. All rights reserved.
 */

:root {
  --brand-purple: #7B61FF;
  --brand-pink: #f9736f;
  --dark-bg-text: #F2F2F7;
  --light-bg-title: #0D0D16;
  --color-dark: #0D0D16;
  --color-text: #4E4E5E;
  --color-bg-light: #FAFAFC;
  --color-bg-dark: #0D0D16;
  --container-max-width: 1280px;
}

html,
body {
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility;
}

/* =========================================
   1. 全局布局与容器规范 (Container & Layout)
   ========================================= */
.ft-site-main {
  width: 100%;
  overflow-x: hidden;
}

/* 统一 1280px 宽度规范：与 Header / Footer / 全案服务页对齐 */
.ft-container {
  width: 100%;
  max-width: var(--container-max-width, 1280px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

@media (max-width: 1360px) {
  .ft-container {
    width: min(92%, var(--container-max-width, 1280px));
  }
}

@media (max-width: 1024px) {
  .ft-container {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 767px) {
  .ft-container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* 标题样式规范 */
.ft-section-header {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.ft-text-center {
  text-align: center;
  align-items: center;
}

/* 白色主题标题（深色背景） */
.ft-section-subtitle-white {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
  color: #FFFFFF;
  margin: 80px 0 0 0;
}

.ft-section-title-white {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  color: #FFFFFF;
  margin: 12px 0 32px 0;
}

/* 深色主题标题（浅色背景） */
.ft-section-subtitle-dark {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
  color: #0D0D16;
  margin: 80px 0 0 0;
}

.ft-section-title-dark {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  color: #0D0D16;
  margin: 12px 0 32px 0;
}

@media (max-width: 1024px) {
  .ft-section-subtitle-white,
  .ft-section-subtitle-dark {
    font-size: 26px;
  }
  .ft-section-title-white,
  .ft-section-title-dark {
    font-size: 38px;
  }
}

@media (max-width: 767px) {
  .ft-section-subtitle-white,
  .ft-section-subtitle-dark {
    font-size: 20px;
    margin-top: 60px;
  }
  .ft-section-title-white,
  .ft-section-title-dark {
    font-size: 30px;
    margin-bottom: 20px;
  }
}

/* 底部 CTA 容器统一规范 (零下边距，防止外边距塌陷) */
.ft-section-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0;
  padding: 0;
}

/* =========================================
   2. 统一按钮体系 (Buttons System)
   ========================================= */
@keyframes barFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.ft-standalone-container {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ft-standalone-btn {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  width: 200px !important;
  height: 54px !important;
  padding: 0 !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  border: none !important;
  color: #ffffff !important;
  white-space: nowrap !important;
  background-image: radial-gradient(circle, var(--brand-pink) 0%, var(--brand-purple) 100%) !important;
  background-size: 200% auto !important;
  background-position: 0% 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  box-shadow: 0 6px 12px rgba(123, 97, 255, 0.15) !important;
}

.ft-standalone-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(123, 97, 255, 0.4) !important;
  animation: barFlow 3s ease-in-out infinite alternate;
}

/* 移动端/触摸屏默认常驻高级温润粉紫流光特效 (无需 Hover 触发) */
@media (max-width: 1024px) {
  .ft-standalone-btn {
    animation: barFlow 6s ease-in-out infinite alternate !important;
  }
}

.ft-html-btn-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none !important;
  box-sizing: border-box;
  width: 200px !important;
  height: 54px !important;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  background: transparent;
  color: var(--brand-purple) !important;
  border: 2px solid var(--brand-purple);
  transition: all 0.3s ease;
  box-shadow: none;
}

.ft-html-btn-secondary:hover {
  background-color: rgba(123, 97, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(123, 97, 255, 0.2);
}

@media (max-width: 768px) {
  .ft-secondary-container,
  .ft-hero-btn-secondary {
    display: none !important;
  }
}

/* =========================================
   3. 核心特效与渐变系统 (Gradients & Effects)
   ========================================= */
.vertical-gradient {
  min-height: 500px;
  background: linear-gradient(
    180deg, 
    #F7F9FF 0%,
    #E1ECFF 50%,
    #C9DCFF 100%
  );
}

.hero-gradient-classic {
  width: 100%;
  min-height: 500px;
  background-color: #F8FAFC;
  background-image: linear-gradient(
    180deg, 
    #A7C0FF 0%,
    #A3D4FF 28%,
    #D0EFFF 65%,
    #F8FAFC 100%
  );
}

.hero-gradient-mesh {
  width: 100%;
  min-height: 500px;
  background-color: #F7F9FF;
  background-image: 
    radial-gradient(circle at 20% 0%, #C9DCFF 0%, transparent 60%),
    radial-gradient(circle at 80% 15%, #EBF8FF 0%, transparent 65%),
    radial-gradient(circle at 50% 50%, #F1FBFF 0%, transparent 75%),
    linear-gradient(180deg, rgba(247, 249, 255, 0) 60%, rgba(247, 249, 255, 0.8) 80%, #F7F9FF 100%);
}

.brand-gradient {
  font-weight: 700;
  background: radial-gradient(
    circle, 
    #f9736f 0%,
    #6a59ff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: textShine 3s ease-in-out infinite alternate;
}

@keyframes textShine {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* =========================================
   4. 首屏 HERO 区域 (.ft-hero-section)
   ========================================= */
.ft-hero-section {
  width: 100%;
  background-color: #FAFAFC;
  min-height: calc(100vh - 90px);
  min-height: calc(100dvh - 90px);
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding-top: 10px;
  padding-bottom: 25px;
}

.ft-hero-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: auto;
}

.ft-hero-content {
  flex: 1;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  transform: translateY(-16px);
}

.hero-subtitle-long {
  font-size: clamp(12.5px, 0.9vw, 13.5px);
  font-weight: 600;
  color: var(--brand-purple, #7B61FF);
  display: inline-block;
  background: rgba(123, 97, 255, 0.08);
  padding: 6px 16px;
  border-radius: 50px;
  white-space: nowrap;
  width: fit-content;
  margin: 12px 0 18px 0;
}

.ft-hero-title {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(2.8rem, 4.2vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: #0D0D16;
  margin: 0 0 8px 0;
  padding: 0;
  white-space: nowrap;
}

.ft-hero-subtitle {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(2.8rem, 4.2vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 36px 0;
  padding: 0;
  white-space: nowrap;
}

.ft-hero-desc {
  width: 90%;
  max-width: 580px;
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  font-weight: 400;
  line-height: 1.68;
  color: #4B5563;
  margin: 0 0 28px 0;
}

.ft-hero-desc strong {
  font-weight: 600;
  color: #111827;
}

.ft-hero-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  margin: 0 0 20px 0;
}

.ft-hero-visual {
  flex: 1;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

/* 移动端专属精炼文案 - 桌面及平板默认隐藏 */
.ft-hero-desc-mobile {
  display: none !important;
}

/* 3D 旋转光泡组件 */
.bulb-animation-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  perspective: 2000px;
  overflow: hidden;
}

.stage-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1 / 1;
  height: auto;
}

#Marketing, #Design, #Technology {
  transform-origin: 50.07% 46.06%;
  transform-box: view-box;
  will-change: transform;
  vector-effect: non-scaling-stroke;
}

#Marketing {
  animation: spinY 40s linear infinite;
}

#Design {
  animation: rotate2D 30s linear infinite;
}

#Technology {
  animation: spinY 20s linear infinite;
}

@keyframes spinY {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

@keyframes rotate2D {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.bulb-animation-container svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

@media (max-width: 1024px) {
  .ft-hero-section {
    min-height: calc(100vh - 80px);
    min-height: calc(100dvh - 80px);
    display: flex;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 25px;
  }
  .ft-hero-content {
    padding: 0;
    transform: none;
  }
  .bulb-animation-container {
    min-height: 480px;
  }
  .stage-container {
    max-width: 480px;
  }
}

@media (max-width: 768px) {
  .hero-subtitle-long .en-content {
    display: none !important;
  }
  .hero-subtitle-long {
    font-size: 0.9rem;
    margin: 30px 0 16px 0;
  }
}

@media (max-width: 767px) {
  .ft-hero-section {
    min-height: calc(100vh - 64px);
    min-height: calc(100dvh - 64px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 25px;
    box-sizing: border-box;
  }

  .ft-hero-section .ft-container {
    width: 100%;
  }

  .ft-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .ft-hero-content {
    display: contents;
  }

  /* 手机端展示精致紧凑的 Eyebrow 胶囊，增强信任感（与英文版保持一致） */
  .hero-subtitle-long {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: clamp(10.5px, 3.1vw, 12.5px) !important;
    font-weight: 550 !important;
    letter-spacing: 0.02em !important;
    padding: 5px 12px !important;
    border-radius: 50px !important;
    margin: 12px auto 14px auto !important;
    text-align: center;
    max-width: 95% !important;
    white-space: nowrap !important;
  }

  .ft-hero-title {
    order: 1;
    text-align: center;
    font-size: clamp(24px, 7.5vw, 34px);
    line-height: 1.22;
    white-space: nowrap !important;
    margin: 0 auto 4px auto;
  }

  .ft-hero-subtitle {
    order: 2;
    text-align: center;
    font-size: clamp(24px, 7.5vw, 34px);
    line-height: 1.22;
    white-space: nowrap !important;
    margin: 0 auto 12px auto;
  }

  /* 手机端居中展示旋转科技发光灯泡 */
  .ft-hero-visual {
    order: 3;
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 4px auto 14px auto;
  }

  .ft-hero-visual .bulb-animation-container {
    min-height: unset !important;
    height: auto !important;
    padding: 0 !important;
    width: min(80vw, 36vh, 340px) !important;
    max-width: 80vw !important;
    margin: 0 auto !important;
    perspective: 1200px;
    overflow: visible;
  }

  .ft-hero-visual .stage-container {
    width: 100% !important;
    max-width: 100% !important;
  }

  .ft-hero-desc-desktop {
    display: none !important;
  }

  .ft-hero-desc-mobile {
    order: 4;
    display: block !important;
    text-align: center;
    width: 100%;
    max-width: 440px;
    margin: 0 auto 16px auto;
    font-size: clamp(11.5px, 3.4vw, 14px);
    line-height: 1.7;
    padding: 0 10px;
    box-sizing: border-box;
    color: #4B5563;
  }

  .ft-hero-actions {
    order: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto 10px auto;
  }
}

/* ==========================================================================
   平板过渡区间 (768px - 1024px)：平衡比例，释放灯泡空间，消除内距并放大视觉效果
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
  .ft-hero-inner {
    align-items: center !important;
    gap: 10px !important;
  }
  .ft-hero-content {
    flex: 1.15 !important;
    width: 55% !important;
    max-width: 55% !important;
  }
  .ft-hero-visual {
    flex: 0.95 !important;
    width: 45% !important;
    max-width: 45% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-right: 15px !important;
  }
  .ft-hero-visual .bulb-animation-container {
    padding: 0 !important;
    min-height: unset !important;
    height: auto !important;
    width: 100% !important;
    max-width: 420px !important;
    overflow: visible !important;
  }
  .ft-hero-visual .stage-container {
    width: 100% !important;
    max-width: 100% !important;
    transform: scale(1.22) !important;
    transform-origin: center center !important;
  }
  .hero-subtitle-long {
    font-size: 12.5px !important;
    padding: 5px 14px !important;
    margin: 8px 0 14px 0 !important;
    font-weight: 550 !important;
  }
  .ft-hero-title {
    font-size: clamp(2.2rem, 3.8vw, 3rem) !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    margin-bottom: 8px !important;
  }
  .ft-hero-subtitle {
    font-size: clamp(2.2rem, 3.8vw, 3rem) !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    margin-bottom: 18px !important;
  }
  .ft-hero-desc {
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    max-width: 480px !important;
    color: #475569 !important;
    margin-bottom: 20px !important;
  }
  .ft-hero-actions {
    margin-bottom: 16px !important;
    gap: 20px !important;
  }
  .ft-hero-btn-secondary {
    display: inline-flex !important;
  }
}

/* ==========================================================================
   方案 A：小平板与大屏设备专区 (iPad Mini 竖屏 / Phablet: 481px ~ 767px)
   解除手机尺寸枷锁，灯泡大解放，字号饱满，恢复双 CTA 按钮
   ========================================================================== */
@media (min-width: 481px) and (max-width: 767px) {
  /* 1. 顶部胶囊标签：更开阔精致 */
  .hero-subtitle-long {
    display: inline-flex !important;
    font-size: 13px !important;
    padding: 6px 18px !important;
    margin: 16px auto 18px auto !important;
    white-space: nowrap !important;
  }

  /* 2. 标题尺寸提升（iPad Mini 744px 上气场饱满，保证单行不折行） */
  .ft-hero-title {
    font-size: clamp(2.1rem, 5.2vw, 2.75rem) !important;
    line-height: 1.16 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 8px !important;
    white-space: nowrap !important;
  }

  .ft-hero-subtitle {
    font-size: clamp(1.85rem, 4.6vw, 2.45rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.015em !important;
    margin-bottom: 16px !important;
    white-space: nowrap !important;
  }

  /* 3. 灯泡尺寸大解放：解除 340px 枷锁，扩大到 440px，丰满充盈 */
  .ft-hero-visual .bulb-animation-container {
    width: min(68vw, 440px) !important;
    max-width: 440px !important;
    margin: 10px auto 22px auto !important;
    padding: 0 !important;
  }

  .ft-hero-visual .stage-container {
    width: 100% !important;
    max-width: 100% !important;
    transform: scale(1.15) !important;
    transform-origin: center center !important;
  }

  /* 4. 移动端正文描述：适度舒展 */
  .ft-hero-desc-mobile {
    font-size: 15px !important;
    max-width: 560px !important;
    line-height: 1.68 !important;
    margin: 14px auto 24px auto !important;
    color: #475569 !important;
  }

  /* 5. 恢复双 CTA 按钮并排居中显示 */
  .ft-hero-actions {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
    margin-bottom: 18px !important;
  }

  .ft-hero-actions .ft-standalone-btn {
    font-size: 15.5px !important;
    min-width: 160px !important;
    height: 48px !important;
    padding: 0 28px !important;
    margin: 0 !important;
  }

  .ft-hero-btn-secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    min-width: 160px !important;
    height: 48px !important;
    padding: 0 26px !important;
    margin: 0 !important;
  }
}

/* =========================================
   5. 核心服务板块 (.ft-service-section)
   ========================================= */
.ft-service-section {
  position: relative;
  width: 100%;
  background-color: #0B0B14;
  background-image:
    radial-gradient(ellipse 70% 340px at 50% 0%, rgba(123, 97, 255, 0.14) 0%, rgba(249, 115, 111, 0.05) 45%, transparent 75%),
    radial-gradient(circle 550px at 90% 70%, rgba(123, 97, 255, 0.06) 0%, transparent 70%),
    linear-gradient(180deg, #090912 0%, #0E0E18 45%, #121222 100%);
  display: flow-root;
  padding-bottom: 70px; /* 紧凑优雅的底部过渡间距 */
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ft-service-section .ft-section-subtitle-white {
  margin-top: 52px;
}

.ft-service-section .ft-section-title-white {
  margin-bottom: 36px;
}

.ft-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 20px);
  margin: 0 0 38px 0;
  width: 100%;
  box-sizing: border-box;
}

.ft-service-card {
  width: 100%;
  min-width: 0;
  background: #FFFFFF;
  border-radius: 22px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 30px 24px 28px 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.ft-service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(123, 97, 255, 0.55);
  box-shadow: 0 22px 45px rgba(123, 97, 255, 0.18);
}

.ft-service-card-icon {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

.ft-service-card-icon svg {
  width: 52px;
  height: 52px;
  display: block;
}

.ft-service-card-title {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
  font-size: clamp(1.35rem, 1.4vw, 1.45rem);
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 12px 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.ft-service-card-desc {
  margin: 0;
  min-height: auto;
}

.ft-service-card-desc p {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #475569;
  margin: 0;
  min-height: 68px;
}

.ft-service-card-divider {
  height: 1px;
  background: linear-gradient(90deg, #E2E8F0 0%, rgba(226, 232, 240, 0.2) 100%);
  margin-top: 18px;
  margin-bottom: 14px;
  border: none;
}

.ft-service-card-deliverables-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #94A3B8;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.ft-service-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.ft-service-card-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 500;
  color: #334155;
  line-height: 1.35;
  white-space: nowrap;
}

.ft-service-card-list .ft-check-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  background: rgba(123, 97, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0;
}

.ft-service-card-list .ft-check-icon svg {
  width: 12px;
  height: 12px;
  fill: #7B61FF;
  transition: fill 0.3s;
}

.ft-service-cta {
  margin: 0;
}

@media (max-width: 1100px) {
  .ft-service-section {
    padding-bottom: 50px;
  }
  .ft-service-section .ft-section-subtitle-white {
    margin-top: 48px;
  }
  .ft-service-section .ft-section-title-white {
    margin-bottom: 24px;
  }
  .ft-service-card-icon {
    margin-bottom: 14px;
  }
  .ft-service-card-icon svg {
    width: 48px;
    height: 48px;
  }
  .ft-service-card-title {
    font-size: 1.25rem;
    margin: 0 0 8px 0;
    white-space: nowrap;
  }
  .ft-service-card-desc,
  .ft-service-card-desc p {
    font-size: 0.86rem;
    line-height: 1.5;
    min-height: 62px;
    margin: 0;
  }
  .ft-service-card-divider {
    margin-top: 16px;
    margin-bottom: 12px;
  }
  .ft-service-card-deliverables-label {
    font-size: 10px;
    margin-bottom: 10px;
  }
  .ft-service-card-list {
    gap: 9px;
  }
  .ft-service-card-list li {
    font-size: 0.84rem;
    line-height: 1.35;
    white-space: nowrap;
  }
  .ft-service-section .ft-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .ft-service-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding: 0 24px !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth !important;
    gap: 20px !important;
    padding: 10px 24px 20px 24px !important;
    margin-left: -24px !important;
    margin-right: -24px !important;
    margin-bottom: 12px !important;
    width: calc(100% + 48px) !important;
    box-sizing: border-box !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  .ft-service-grid::-webkit-scrollbar {
    display: none !important;
  }
  .ft-service-card {
    flex: 0 0 285px !important;
    width: 285px !important;
    min-width: 285px !important;
    max-width: 285px !important;
    scroll-snap-align: start !important;
    padding: 26px 22px 24px 22px !important;
    border-radius: 22px !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06) !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .ft-service-card:last-child {
    margin-right: 24px !important;
  }
  /* 手机与iPad平板端禁用卡片与按钮点击悬浮上浮效果 */
  .ft-service-card,
  .ft-service-card:hover,
  .ft-service-card:focus,
  .ft-service-card:active {
    transform: none !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06) !important;
  }
  .ft-standalone-btn,
  .ft-standalone-btn:hover,
  .ft-standalone-btn:focus,
  .ft-standalone-btn:active,
  .ft-html-btn-secondary,
  .ft-html-btn-secondary:hover,
  .ft-html-btn-secondary:focus,
  .ft-html-btn-secondary:active {
    transform: none !important;
  }
}

@media (hover: none), (pointer: coarse) {
  .ft-service-card,
  .ft-service-card:hover,
  .ft-service-card:focus,
  .ft-service-card:active {
    transform: none !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06) !important;
  }
  .ft-standalone-btn,
  .ft-standalone-btn:hover,
  .ft-standalone-btn:focus,
  .ft-standalone-btn:active,
  .ft-html-btn-secondary,
  .ft-html-btn-secondary:hover,
  .ft-html-btn-secondary:focus,
  .ft-html-btn-secondary:active {
    transform: none !important;
  }
}

@media (max-width: 767px) {
  .ft-service-section {
    padding-bottom: 45px;
  }
  .ft-service-section .ft-section-subtitle-white {
    margin-top: 40px;
  }
  .ft-service-section .ft-section-title-white {
    margin-bottom: 18px;
  }
  .ft-service-section .ft-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .ft-service-grid {
    scroll-padding: 0 16px !important;
    gap: 16px !important;
    padding: 10px 16px 20px 16px !important;
    margin-left: -16px !important;
    margin-right: -16px !important;
    margin-bottom: 8px !important;
    width: calc(100% + 32px) !important;
  }
  .ft-service-card {
    flex: 0 0 clamp(270px, 78vw, 285px) !important;
    width: clamp(270px, 78vw, 285px) !important;
    min-width: clamp(270px, 78vw, 285px) !important;
    max-width: 285px !important;
    padding: 24px 20px 22px 20px !important;
  }
  .ft-service-card-title {
    font-size: 1.2rem !important;
  }
  .ft-service-card:last-child {
    margin-right: 16px !important;
  }
}

/* =========================================
   Apple-Style Mobile Carousel Dots Indicator
   ========================================= */
.ft-carousel-dots {
  display: none;
}
@media (max-width: 1100px) {
  .ft-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 4px auto 36px auto;
    width: 100%;
    z-index: 2;
  }
  .ft-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  }
  .ft-carousel-dot.active {
    width: 24px;
    background: #7B61FF;
  }
}

/* =========================================
   6. 案例展示板块 (.ft-works-section)
   ========================================= */
.ft-works-section {
  width: 100%;
  background-color: #FAFAFC;
  display: flow-root;
  padding-bottom: 90px; /* 确保浅色背景包裹按钮 */
}

.ft-works-section .ft-section-subtitle-dark {
  margin-top: 80px;
}

.ft-works-section .ft-section-title-dark {
  margin-bottom: 60px;
}

.ft-works-section .showcase-wrapper {
  padding-top: 0;
}

.ft-showcase-box {
  width: 100%;
  margin-bottom: 40px;
}

.ft-works-cta {
  margin: 0;
}

@media (min-width: 768px) and (max-width: 1100px) {
  .ft-works-section .ft-section-title-dark {
    margin-bottom: 34px;
  }
}

@media (max-width: 767px) {
  .ft-works-section {
    padding-bottom: 60px;
  }
  .ft-works-section .ft-section-subtitle-dark {
    margin-top: 60px;
  }
  .ft-works-section .ft-section-title-dark {
    margin-bottom: 24px;
  }
  .ft-showcase-box {
    margin-bottom: 32px;
  }
}

/* =========================================
   7. 套餐报价板块 (.ft-plans-section)
   ========================================= */
.ft-plans-section {
  position: relative;
  width: 100%;
  background-color: #0B0B14;
  background-image:
    radial-gradient(ellipse 70% 340px at 50% 0%, rgba(123, 97, 255, 0.14) 0%, rgba(249, 115, 111, 0.05) 45%, transparent 75%),
    radial-gradient(circle 550px at 10% 70%, rgba(123, 97, 255, 0.06) 0%, transparent 70%),
    linear-gradient(180deg, #090912 0%, #0E0E18 45%, #121222 100%);
  display: flow-root;
  padding-bottom: 110px; /* 确保深黑背景完整延伸到下边缘 */
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ft-plans-section .ft-section-subtitle-white {
  margin-top: 80px;
}

.ft-plans-section .ft-section-title-white {
  margin-bottom: 52px;
}

.ft-plans-box {
  width: 100%;
  margin-top: 0;
  margin-bottom: 30px;
}

.ft-plans-section .ft-pricing-wrapper {
  padding-top: 0;
}

.ft-plans-cta {
  margin: 0;
}

@media (min-width: 768px) and (max-width: 1100px) {
  .ft-plans-section {
    padding-bottom: 80px;
  }
  .ft-plans-section .ft-section-title-white {
    margin-bottom: 40px;
  }
  .ft-plans-section .ft-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .ft-showcase-box {
    margin-bottom: 36px;
  }
  .ft-plans-box {
    margin-bottom: 36px;
  }
}

@media (max-width: 767px) {
  .ft-plans-section {
    padding-bottom: 60px;
  }
  .ft-plans-section .ft-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .ft-plans-section .ft-section-subtitle-white {
    margin-top: 60px;
  }
  .ft-plans-section .ft-section-title-white {
    margin-bottom: 38px;
  }
  .ft-showcase-box {
    margin-bottom: 32px;
  }
  .ft-plans-box {
    margin-bottom: 32px;
  }
  .ft-carousel-dots {
    margin: 4px auto 32px auto;
  }
}

/* =========================================
   8. 常见问题手风琴 (.ft-faq-section)
   ========================================= */
.ft-faq-section {
  width: 100%;
  display: flow-root;
  padding-bottom: 90px; /* 确保渐变背景延伸覆盖按钮下方 */
}

.ft-faq-section .ft-section-title-dark {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 32px;
}

.ft-faq-list {
  max-width: 920px;
  margin: 20px auto 60px auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
}

.ft-faq-item {
  background-color: #FAFAFC;
  border-radius: 16px;
  margin-bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.ft-faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1), 0 0 15px rgba(255, 255, 255, 0.03);
  border-color: rgba(0, 0, 0, 0.05);
}

.ft-faq-item[open] {
  box-shadow: 0 0 30px rgba(123, 97, 255, 0.15);
  border: 1px solid rgba(123, 97, 255, 0.3);
}

.ft-faq-item[open]:hover {
  transform: translateY(0);
}

/* 手机与iPad平板端禁用FAQ卡片点击悬浮上浮效果 */
@media (max-width: 1024px), (hover: none) {
  .ft-faq-item:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
  }
  .ft-faq-item[open]:hover {
    transform: none !important;
    box-shadow: 0 0 30px rgba(123, 97, 255, 0.15) !important;
    border-color: rgba(123, 97, 255, 0.3) !important;
  }
}

.ft-faq-summary {
  padding: 20px 25px !important;
  background: transparent !important;
  border: none !important;
  display: flex;
  align-items: center;
  list-style: none;
  cursor: pointer;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.ft-faq-summary::-webkit-details-marker {
  display: none;
}

/* 左侧图标方块 */
.ft-faq-icon-square {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #8662F3, #7B61FF); /* 默认回退渐变，防止未命中规则时图标不可见 */
}

.ft-faq-icon-square svg {
  width: 20px !important;
  height: 20px !important;
  fill: #ffffff;
}

.ft-faq-icon-square .icon-minus { display: none; }
.ft-faq-icon-square .icon-plus { display: block; }

.ft-faq-item[open] .ft-faq-icon-square .icon-minus { display: block; }
.ft-faq-item[open] .ft-faq-icon-square .icon-plus { display: none; }

/* 品牌色彩矩阵渐变 (支持多项扩展) */
.ft-faq-item:nth-child(1) .ft-faq-icon-square { background: linear-gradient(135deg, #F9736F, #E47087); }
.ft-faq-item:nth-child(2) .ft-faq-icon-square { background: linear-gradient(135deg, #E47087, #CF6D9F); }
.ft-faq-item:nth-child(3) .ft-faq-icon-square { background: linear-gradient(135deg, #CF6D9F, #BA6AB7); }
.ft-faq-item:nth-child(4) .ft-faq-icon-square { background: linear-gradient(135deg, #BA6AB7, #A567CF); }
.ft-faq-item:nth-child(5) .ft-faq-icon-square { background: linear-gradient(135deg, #A567CF, #9064E7); }
.ft-faq-item:nth-child(6) .ft-faq-icon-square { background: linear-gradient(135deg, #9064E7, #8662F3); }
.ft-faq-item:nth-child(7) .ft-faq-icon-square { background: linear-gradient(135deg, #8662F3, #7B61FF); }
.ft-faq-item:nth-child(8) .ft-faq-icon-square { background: linear-gradient(135deg, #7B61FF, #6340FF); }
.ft-faq-item:nth-child(9) .ft-faq-icon-square { background: linear-gradient(135deg, #6340FF, #4F28ED); }
.ft-faq-item:nth-child(10) .ft-faq-icon-square { background: linear-gradient(135deg, #4F28ED, #3D1BB5); }
.ft-faq-item:nth-child(11) .ft-faq-icon-square { background: linear-gradient(135deg, #3D1BB5, #2B0E9C); }
.ft-faq-item:nth-child(12) .ft-faq-icon-square { background: linear-gradient(135deg, #F9736F, #7B61FF); }

.ft-faq-question {
  flex-grow: 1;
  color: #4E4E5E;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.4;
  margin: 0;
  text-align: left;
}

/* 内容区域 */
.ft-faq-answer {
  padding: 0 25px 25px 88px !important;
  color: #4E4E5E;
  line-height: 1.6;
  font-size: 1.2rem;
  font-weight: 400;
  border: none !important;
  background-color: #FAFAFC !important;
  text-align: left;
}

.ft-faq-answer p {
  margin: 0;
}

.ft-faq-answer a {
  color: #c36 !important;
  text-decoration: none !important;
  font-weight: 500;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.ft-faq-answer a:hover,
.ft-faq-answer a:focus {
  color: #7B61FF !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.ft-faq-cta {
  margin: 0;
}

@media (min-width: 768px) and (max-width: 1100px) {
  .ft-faq-section .ft-section-title-dark {
    margin-bottom: 14px;
  }
  .ft-faq-list {
    margin: 20px auto 36px auto;
  }
}

@media (max-width: 767px) {
  .ft-faq-section {
    padding-bottom: 60px;
  }
  .ft-faq-section .ft-section-title-dark {
    margin-top: 40px;
    margin-bottom: 20px;
  }
  .ft-faq-list {
    gap: 12px;
    margin: 20px auto 32px auto;
  }
  .ft-faq-item {
    border-radius: 12px;
  }
  .ft-faq-item:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  .ft-faq-item[open]:hover {
    transform: none !important;
  }
  .ft-faq-summary {
    padding: 12px 15px !important;
  }
  .ft-faq-icon-square {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    margin-right: 12px;
  }
  .ft-faq-icon-square svg {
    width: 16px !important;
    height: 16px !important;
  }
  .ft-faq-question {
    font-size: 15px !important;
  }
  .ft-faq-answer {
    padding: 0 20px 20px 20px !important;
    font-size: 0.95rem !important;
  }
}

/* =========================================
   9. 咨询联系板块 (.ft-contact-section)
   ========================================= */
.ft-contact-section {
  width: 100%;
  max-width: 100%;
  background-color: #FAFAFC;
  display: flow-root;
  padding-bottom: 80px;
}

.ft-contact-section .ft-section-subtitle-dark {
  margin-top: 80px;
}

.ft-contact-box {
  width: 100%;
  margin: 0 0 20px 0;
}

@media (min-width: 768px) and (max-width: 1100px) {
  .ft-contact-section .ft-section-title-dark {
    margin-bottom: 34px;
  }
}

@media (max-width: 767px) {
  .ft-contact-section {
    padding-bottom: 40px;
  }
  .ft-contact-section .ft-section-subtitle-dark {
    margin-top: 60px;
  }
}

/* =========================================
   10. Dark Reader 兼容与全局修复
   ========================================= */
[data-darkreader-mode] .ft-standalone-btn,
html[data-darkreader-scheme="dark"] .ft-standalone-btn {
  background-image: radial-gradient(circle, #f9736f 0%, #7B61FF 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  filter: brightness(110%) contrast(110%) !important;
  box-shadow: 0 6px 20px rgba(123, 97, 255, 0.6) !important;
}