.ai-landing h1 {
  font-weight: 600;
  font-size: clamp(30px, 5.5vw, 45px);
  color: var(--text-main);
  line-height: 1.3;
}

.ai-landing h2 {
  font-weight: 500;
  letter-spacing: 0.03em;
  font-size: clamp(26px, 5vw, 40px);
  color: var(--text-main);
  line-height: 1.3;
}

.ai-landing h3 {
  font-size: clamp(18px, 2.4vw, 22px);
  letter-spacing: 0.03em;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-main);
}

.ai-landing h6 {
  font-size: 20px;
  letter-spacing: 0.03em;
  line-height: 1.3;
  font-weight: 500;
}

.ai-landing p {
  font-size: 16px;
  letter-spacing: 0.03em;
  line-height: 1.8;
  color: var(--text-secondary);
}

.ai-landing a {
  display: block;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.ai-landing li {
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 1.7;
}

/* 繁中行動版字級：比桌機 16px 放大約 12-19% 到 18px */
@media (max-width: 1200px) {
  .ai-landing p {
    font-size: 18px;
    line-height: 1.75;
  }
  .ai-landing li {
    font-size: 18px;
    line-height: 1.7;
  }
}

.ai-landing section {
  position: relative;
  padding: 90px 50px;
  overflow: hidden;
}

.ai-landing section:nth-of-type(1) {
  /* padding-top: 120px; */
  padding: 0;
}

.ai-landing section .content {
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .ai-landing section {
    padding: 60px 8%;
  }
}

/* ==================== Common CSS (Shared) ==================== */
:root {
  /* 色彩 — JCA 品牌紫 + 金 (與 deploy/index.html 對齊) */
  --primary-color: #1A0A2E;
  --primary: #1A0A2E;
  /* Alias for compatibility */

  --primary-light: #6B2BA8;
  --accent: #4A1A78;
  --accent-blue: #4A1A78;
  --accent-color: #4A1A78;
  /* Alias for compatibility */

  --accent-purple: #6B2BA8;
  --success: #34c759;

  --grid-line: rgba(74, 26, 120, 0.1);

  /* Brand tokens */
  --brand-purple: #4A1A78;
  --brand-purple-light: #6B2BA8;
  --brand-gold: #F5B800;
  --brand-gold-hover: #FFC721;

  --gradient-blue: linear-gradient(135deg, #6B2BA8 0%, #4A1A78 100%);
  --gradient-purple: linear-gradient(135deg, #6B2BA8 0%, #4A1A78 100%);
  --gradient-text: linear-gradient(135deg, #1A0A2E 0%, #3D2A5C 100%);
  --gradient-main: linear-gradient(135deg, #6B2BA8 0%, #4A1A78 100%);

  /* 文字色彩層級 */
  --text-primary: #1A0A2E;
  --text-main: #1A0A2E;

  --text-secondary: rgba(26, 10, 46, 0.62);
  --text-sub: rgba(26, 10, 46, 0.62);

  --text-third: #4A1A78;
  --text-tertiary: rgba(26, 10, 46, 0.45);

  --text-fourth: #4A1A78;

  /* 背景 */
  --bg-main: #F5F0FA;
  --bg-primary: #FAFAFC;
  --bg-base: #FAFAFC;
  --bg-secondary: #F5F0FA;

  --bg-glass: rgba(255, 255, 255, 0.72);
  --bg-glass-strong: rgba(255, 255, 255, 0.9);

  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 30px 60px -10px rgba(74, 26, 120, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.3);

  --btn-gradient: linear-gradient(to right, #A57AD4, #8A54C0);

  /* 圓角 */
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* 陰影 */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* body {
  font-family: var(--font-family);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
} */

/* 標題 */
.ai-landing .title {
  margin-bottom: 50px;
}

.ai-landing .title .subtitle {
  margin-top: 10px;
}

.ai-landing .section-title-en {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-fourth);
  margin-bottom: 12px;
  line-height: 1.3;
  font-family: 'lato', sans-serif;
}

.ai-landing .title.center h1,
.ai-landing .title.center h2,
.ai-landing .title.center .subtitle,
.ai-landing .title.center .section-title-en {
  text-align: center;
}

.ai-landing .title.white h1,
.ai-landing .title.white h2,
.ai-landing .title.white .subtitle,
.ai-landing .title.white .section-title-en {
  color: white;
}

/* 按鈕 */
.ai-landing .cta-group {
  display: flex;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 15px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s;
  position: relative;
}

.ai-landing .btn-text {
  color: var(--text-primary);
  background: transparent;
}

.ai-landing .btn-text:hover {
  color: var(--primary-light);
}

.ai-landing .btn-primary {
  background: var(--accent-color);
  color: white;
  border: none;
}

.ai-landing .btn-primary:hover {
  background: #6B2BA8;
  /* Slightly lighter */
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(74, 26, 120, 0.3);
}

.ai-landing .btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.ai-landing .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.1);
}

.ai-landing .btn-large {
  padding: 12px 65px 12px 50px;
  font-size: 18px;
  border-radius: var(--radius-full);
  /* background: var(--text-main); */
  background: var(--btn-gradient);
  color: white;
  border: none;
}

.ai-landing .btn-outline {
  background: var(--bg-base);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-sub);
  line-height: 1;
}

.ai-landing .btn-outline i {
  color: var(--text-sub);
}

.ai-landing .btn-arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #ffffff;
  border-radius: 50%;
  color: var(--text-main);
  font-weight: bold;
  margin-left: 14px;
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  overflow: hidden;
}

.ai-landing .btn-arrow-circle i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
}

@keyframes arrow-slide {
  0% {
    transform: translate(-50%, -50%);
  }

  50% {
    transform: translate(150%, -50%);
  }

  51% {
    transform: translate(-250%, -50%);
  }

  100% {
    transform: translate(-50%, -50%);
  }
}

@media(hover: hover) {
  .ai-landing .btn-large:hover .btn-arrow-circle i {
    animation: arrow-slide 0.5s ease-in-out;
  }
}

/* iOS 漸層按鈕 (文字按鈕樣式) */
.btn-ios-gradient {
  background: #F5B800;
  color: #1A0A2E;
  border: solid 1px #F5B800;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(245, 184, 0, 0.3);
}

@media(hover: hover) {
  .btn-ios-gradient:hover {
    border: solid 1px #FFC721;
    background: #FFC721;
    color: #1A0A2E;
  }
}

/* === 新版玻璃效果 === */
.ai-landing .glass-box {
  /* 高不透明度的白，像陶瓷一樣，但保留一點點透光 */
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border-radius: 24px;
  padding: 48px 40px;
  border: 1px solid #fff;
  box-shadow:
    0 20px 40px -10px rgba(100, 116, 139, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  transition: transform 0.3s ease;

  position: relative;
}

/* 網格背景 */
.ai-landing .bg-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(#e5e5e5 1px, transparent 1px),
    linear-gradient(90deg, #e5e5e5 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
}

.ai-landing .liquid-wrapper {
  position: fixed;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  top: 0;
  left: 0;
}

.ai-landing .liquid-wrapper .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: float 15s infinite ease-in-out;
}

.ai-landing .liquid-wrapper .blob-1 {
  top: -10%;
  left: -10%;
  width: 70%;
  aspect-ratio: 1;
  background: rgb(180, 140, 220);
  /* 淡紫 */
  animation-delay: 0s;
}

.ai-landing .liquid-wrapper .blob-2 {
  bottom: -10%;
  right: -10%;
  width: 70%;
  aspect-ratio: 1;
  background: rgb(140, 85, 200);
  /* 品牌紫 */
  animation-delay: -5s;
}

.ai-landing .liquid-wrapper .blob-3 {
  bottom: -10%;
  left: 0%;
  width: 50%;
  aspect-ratio: 1;
  background: rgb(245, 206, 120);
  /* 金黃 */
  animation-delay: -8s;
}

.ai-landing .grid_overlay {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.8;
  z-index: 1;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0);
  }

  33% {
    transform: translate(40px, -60px);
  }

  66% {
    transform: translate(-30px, 40px);
  }
}

/* hero */
.ai-landing .section-header {
  /* background: var(--gradient-main); */
  padding-top: 120px;
  padding-bottom: 185px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.ai-landing .section-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(90% 90% at 50% 10%, rgba(107, 43, 168, 0.85) 0%, transparent 100%), radial-gradient(70% 70% at 0% 0%, rgba(245, 184, 0, 0.7) 0%, transparent 100%), radial-gradient(60% 60% at 100% 100%, rgba(74, 26, 120, 0.9) 0%, transparent 100%), radial-gradient(55% 55% at 0% 90%, rgba(245, 184, 0, 0.6) 0%, transparent 100%);
  filter: blur(40px);
}

.ai-landing .section-header .title {
  margin-bottom: 0;
}

.ai-landing .section-header .title .section-title-en {
  color: #fff;
}

.ai-landing .section-header .content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 30px;
}

.ai-landing .section_body {
  margin-top: -120px;
  padding: 0 24px 80px;
  position: relative;
  z-index: 2;
}

/* Cards Container */
.ai-landing .pricing-section .pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  justify-content: center;
}

/* Glass Card */
.ai-landing .pricing-card {
  display: flex;
  flex-direction: column;
  text-align: left;

  padding: 6px;
  box-shadow: 0 20px 40px -10px rgba(100, 116, 139, 0.5);
  border: none;
  position: relative;
}

.ai-landing .pricing-card .glass-box-content {
  /* background: #fff; */
  background: var(--bg-main);

  height: 100%;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ai-landing .pricing-card .price-header {
  background: #fff;
  padding: 40px 30px;
  border-radius: 18px 18px 30px 30px;
}

/* Pro Highlight */
.ai-landing .pricing-card.glass-box.pro {
  padding: 40px 6px 6px;
  background: var(--gradient-main);
}

.ai-landing .pricing-card.glass-box.pro::before {
  content: "RECOMMENDED";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  /* background: linear-gradient(135deg, #bf5af2, #5e5ce6); */
  color: white;
  font-size: 24px;
  font-weight: 700;
  /* padding: 4px 12px; */
  /* border-radius: 20px; */
  /* box-shadow: 0 4px 10px rgba(94, 92, 230, 0.3); */
  letter-spacing: 0.03em;
}

/* .pricing-card.glass-box.pro::before {
  content: "RECOMMENDED";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #bf5af2, #5e5ce6);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(94, 92, 230, 0.3);
  letter-spacing: 0.5px;
} */

.ai-landing .pricing-card .plan-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-third);
  display: flex;
  align-items: center;
}

.ai-landing .pricing-card .icon {
  width: 36px;
  height: 36px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--gradient-main);
  color: white;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-landing .pricing-card .plan-price {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 18px;
}

.ai-landing .pricing-card .plan-period {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-sub);
  margin-left: 6px;
}

.ai-landing .pricing-card .price-body {
  padding: 20px 0 0px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ai-landing .pricing-card .features-list {
  list-style: none;
  /* margin-bottom: 40px; */
  flex-grow: 1;
}

.ai-landing .pricing-card .feature-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  /* margin-bottom: 10px; */
  font-size: 16px;
  color: var(--text-main);
  padding: 12px 35px;
  line-height: 1.3;
}

.ai-landing .pricing-card .feature-item:nth-child(even) {
  background-color: rgba(74, 26, 120, 0.06);
}

.ai-landing .pricing-card .feature-detail {
  color: var(--text-sub);
}

.ai-landing .pricing-card .check-icon {
  color: #fff;
  /* Light blue icon */
  background: var(--text-third);
  /* Dark blue background #5a92d0 */
  font-size: 14px;
  font-weight: 900;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.ai-landing .pricing-card .feature-item.no-check::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 14px;
  width: 14px;
  flex-shrink: 0;
  opacity: 0;
}

@media(hover: hover) {
  .ai-landing .pricing-card .btn-outline:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.2);
  }
}

@media(hover: hover) {
  .ai-landing .pricing-card .btn-filled:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
  }
}

.ai-landing .pricing-card .pro-btn {
  background: linear-gradient(135deg, #6B2BA8, #4A1A78);
  box-shadow: 0 8px 20px rgba(74, 26, 120, 0.3);
}

@media(hover: hover) {
  .ai-landing .pricing-card .pro-btn:hover {
    box-shadow: 0 12px 25px rgba(74, 26, 120, 0.4);
  }
}

/* macOS/iOS 風格工具列 */
.ai-landing .editor-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow:
    0 20px 40px -10px rgba(100, 116, 139, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
  position: relative;
}

.ai-landing .editor-wrap .editor-video {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
}

.ai-landing .editor-wrap .editor-img {
  flex: 1;
  width: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: #fff;
}

/* STEP 3 視窗高度加長配合圖片原比例 (574×866 ≈ 2:3 直式) */
.ai-landing .step:nth-child(3) .editor-wrap {
  height: auto;
}
.ai-landing .step:nth-child(3) .editor-wrap .editor-img {
  flex: none;
  width: 100%;
  height: auto;
  object-fit: fill;
}

.ai-landing .editor-toolbar {
  background: linear-gradient(180deg, #dbe2ec 0%, #c7d0dc 100%);
  height: 28px;
  padding: 0 12px;
  border-bottom: 1px solid #a8b2c1;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}

.ai-landing .editor-dots {
  display: flex;
  gap: 6px;
}

.ai-landing .editor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.ai-landing .editor-dot:nth-child(1) {
  background: #FF5F56;
}

.ai-landing .editor-dot:nth-child(2) {
  background: #FFBD2E;
}

.ai-landing .editor-dot:nth-child(3) {
  background: #27C93F;
}

.ai-landing .editor-title {
  flex: 1;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: rgba(26, 10, 46, 0.6);
}

/* ==================== Responsive Design ==================== */

/* 平板和手機 (768px 以下) */
@media (max-width: 1200px) {
  .ai-landing .title {
    margin-bottom: 40px;
  }

  .ai-landing .section-title-en {
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  .ai-landing .btn-large {
    padding: 14px 60px 14px 40px;
    font-size: 18px;
  }

  .ai-landing .btn-arrow-circle {
    width: 32px;
    height: 32px;
    margin-left: 12px;
    right: 6px;
  }

  .ai-landing .btn-arrow-circle i {
    font-size: 16px;
  }

  .ai-landing .glass-box {
    padding: 32px 24px;
    border-radius: 20px;
  }

  .ai-landing .editor-wrap {
    border-radius: 20px;
  }

  .ai-landing .editor-title {
    font-size: 13px;
  }

  .ai-landing .pricing-section .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .ai-landing .pricing-card {
    padding: 6px;
  }

  .ai-landing .pricing-card .price-header {
    padding: 32px 24px;
  }

  .ai-landing .pricing-card .plan-name {
    font-size: 20px;
  }

  .ai-landing .pricing-card .plan-price {
    font-size: 42px;
  }

  .ai-landing .pricing-card .feature-item {
    font-size: 15px;
    padding: 12px 24px;
  }
}

/* ==================== Pagination 分頁 ==================== */
.ai-landing .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 60px;
  list-style: none;
  flex-wrap: wrap;
}

.ai-landing .pagination .page-item {
  display: inline-flex;
}

.ai-landing .pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ai-landing .pagination .page-link:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 26, 120, 0.15);
  border-color: rgba(74, 26, 120, 0.3);
}

.ai-landing .pagination .page-item.active .page-link {
  background: var(--text-third);
  color: white;
  border-color: var(--text-third);
  box-shadow: 0 4px 12px rgba(74, 26, 120, 0.3);
}

@media(hover: hover) {
  .ai-landing .pagination .page-item.active .page-link:hover {
    background: #6B2BA8;
    border-color: #6B2BA8;
    transform: translateY(-2px);
  }
}

/* 省略號樣式 */
.ai-landing .pagination .page-item:has(.page-link:not([href])) {
  pointer-events: none;
}

.ai-landing .pagination .page-link:not([href]) {
  background: transparent;
  border: none;
  box-shadow: none;
  color: var(--text-sub);
}

/* 前一頁 / 下一頁按鈕 */
.ai-landing .pagination .page-prev,
.ai-landing .pagination .page-next {
  width: 44px;
  min-width: 44px;
  padding: 0;
  font-size: 0;
  /* 隱藏文字 */
}

.ai-landing .pagination .page-prev::before {
  content: '\f053';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 15px;
  /* 恢復圖示大小 */
  margin: 0;
}

.ai-landing .pagination .page-next::after {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 15px;
  /* 恢復圖示大小 */
  margin: 0;
}

/* 響應式設計 */
@media (max-width: 1200px) {
  .ai-landing .pagination {
    margin-top: 40px;
    gap: 6px;
  }

  .ai-landing .pagination .page-link {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
  }

  /* 隱藏 for_pc 類別的項目 */
  .ai-landing .pagination .page-item.for_pc {
    display: none;
  }

  .ai-landing .pagination .page-prev,
  .ai-landing .pagination .page-next {
    width: 40px;
    min-width: 40px;
    padding: 0;
  }
}

/* Header */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  min-height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
}

.header .logo img {
  height: 42px;
  width: auto;
  display: block;
}

.header .nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header .header-left {
  display: flex;
  align-items: center;
  gap: 36px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.header .nav-link {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.header .btn-ios-gradient {
  padding: 10px 22px;
  font-size: 16px;
}

/* 桌機預設只顯示文字 */
.header .btn-ios-gradient .cta-icon {
  display: none;
}

.header .btn-ios-gradient .cta-text {
  display: inline;
}

@media(hover: hover) {
  .header .nav-link:hover {
    color: var(--primary-light);
  }
}

.header .btn-text i {
  margin-right: 6px;
}

/* 導航選單 (桌機時水平,手機時垂直下拉) */
.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* 漢堡選單按鈕 */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ==================== Responsive Design ==================== */

/* 平板和手機 (768px 以下) */
@media (max-width: 1200px) {
  .header-container {
    padding: 10px 16px;
    min-height: 60px;
    align-items: center;
  }

  .logo {
    font-size: 18px;
  }

  .header .logo img {
    height: 36px;
  }

  /* header-nav 在手機版變成下拉選單 */
  .header-nav {
    position: fixed;
    top: 56px;
    /* header 高度約 56px (padding 12px * 2 + logo ~32px) */
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 4px;
    display: block;
    background: #fff;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0 20px;
    overflow: hidden;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);

    /* 動畫相關屬性 */
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.3s ease,
      transform 0.3s ease,
      visibility 0s linear 0.3s;
  }

  .header-nav.active {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.3s ease,
      transform 0.3s ease,
      visibility 0s linear 0s;
  }

  .header-nav .nav-link {
    display: block;
    padding: 16px 16px;
    font-size: 18px;
    transition: background-color 0.2s ease;
    text-align: center;
    border-bottom: solid 1px var(--text-sub);
  }

  .header-nav .nav-link:last-child {
    border-bottom: none;
  }

  /* 確保按鈕顯示 */
  .header .nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  /* 縮小按鈕以適應手機版 */
  .header .btn {
    padding: 6px 12px;
    font-size: 13px;
  }

  /* 手機版 CTA 變成對話框圖示按鈕 */
  .header .btn-ios-gradient {
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header .btn-ios-gradient .cta-icon {
    display: inline-block;
  }

  .header .btn-ios-gradient .cta-text {
    display: none;
  }

  /* 顯示漢堡選單 */
  .hamburger {
    display: flex;
    margin-left: 12px;
  }

  .header .header-left {
    gap: 16px;
  }
}

/* BACK-TO-TOP → common.css */

/* ==================== Footer ==================== */
.footer {
  background: var(--text-main);
  padding: 80px 0 28px;
  color: rgba(255, 255, 255, 0.7);
}

/* Minimal footer (copyright only) */
.footer.footer-minimal {
  padding: 32px 20px;
}

.footer.footer-minimal .content {
  display: block;
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
}

.footer.footer-minimal .footer-copyright {
  margin: 0;
  padding: 0;
  border: none;
  text-align: center;
}

.footer.footer-minimal .footer-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4em 1.4em;
  line-height: 1.5;
  margin-bottom: 0.8em;
}
.footer.footer-minimal .footer-info span {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}
.footer.footer-minimal .footer-info span + span::before {
  content: "|";
  margin-right: 1.4em;
  color: rgba(255, 255, 255, 0.25);
}

.footer-brand-link {
  display: inline;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-brand-link:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

.footer .content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 2fr;
  grid-template-areas:
    "brand   nav"
    "contact nav"
    "copy    copy";
  column-gap: 80px;
  row-gap: 28px;
  align-items: start;
}

/* Brand */
.footer-brand {
  grid-area: brand;
}

.footer-brand .logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.footer .logo img {
  height: 36px;
  width: auto;
}

.footer-brand .brand-name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
  line-height: 1;
}

/* Nav */
.footer-nav {
  grid-area: nav;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 24px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.25s ease;
}

@media (hover: hover) {
  .footer-nav a:hover {
    color: #fff;
  }
}

/* Contact */
.footer-contact {
  grid-area: contact;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-contact i {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 14px;
  flex-shrink: 0;
  transition: background 0.25s ease;
}

@media (hover: hover) {
  .footer-contact a:hover {
    color: #fff;
  }

  .footer-contact a:hover i {
    background: rgba(255, 255, 255, 0.2);
  }
}

/* Copyright */
.footer-copyright {
  grid-area: copy;
  margin-top: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.footer-copyright p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

.footer-legal-divider {
  color: rgba(255, 255, 255, 0.25);
  margin: 0 4px;
}

/* ==================== Responsive ==================== */
@media (max-width: 1200px) {
  .footer {
    padding: 60px 0 24px;
  }

  .footer .content {
    padding: 0 24px;
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav"
      "contact"
      "copy";
    row-gap: 32px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
  }

  .footer-copyright {
    margin-top: 8px;
  }

  .footer-copyright p {
    font-size: 12px;
  }

  .footer-legal-divider {
    display: none;
  }

  .footer-legal {
    display: block;
    margin-top: 6px;
  }
}

/* ==================== Index Page Specific Styles ==================== */

/* Hero Section */
.ai-landing .hero {
  padding: 120px 50px;
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  overflow: visible;
  background: #F5F0FA url('../images/ai-landing/kv_bg.jpg') center center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ai-landing #hero-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.ai-landing #hero-canvas-container canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.ai-landing .hero .hero_wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  align-items: center;
  gap: clamp(32px, 4vw, 60px);
  max-width: 1200px;
  margin: 0 auto;
}

.ai-landing .hero .txt {
  width: 44%;
}

.ai-landing .hero-title-en {
  background-color: #4A1A78;
  color: #fff;
  padding: 5px 16px;
  border-radius: 30px;
  display: inline-block;
}

.ai-landing .hero-title {
  font-size: clamp(40px, 6.2vw, 64px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  color: var(--text-main);
}

.ai-landing .hero-subtitle {
  font-size: clamp(16px, 1.9vw, 18px);
  font-weight: 400;
  max-width: 400px;
  margin: 0 0 44px;
  line-height: 1.85;
  color: rgba(26, 10, 46, 0.65);
}

.ai-landing .hero .img {
  width: 46%;
  position: relative;
  transform: translateX(-10%) scale(1.2);
  transform-origin: center center;
  z-index: 2;
}

/* Hero Gradient Canvas Animation */
@keyframes heroGradientFloat {
  0% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }

  25% {
    transform: translate(-50%, -50%) scale(1.15) rotate(3deg);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.25) rotate(0deg);
  }

  75% {
    transform: translate(-50%, -50%) scale(1.15) rotate(-3deg);
  }

  100% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
}

.ai-landing #hero-gradient-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 650px;
  height: 650px;
  pointer-events: none;
  z-index: 1;
  /* animation: heroGradientFloat 5s linear infinite; */
}

.ai-landing .hero .img .editor-wrap {
  z-index: 2;
}

/* Features Section */
.ai-landing .features {
  margin-top: -80px;
  margin-bottom: 150px;
}

.ai-landing .features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
  gap: 32px;
}

.ai-landing .features .glass-box {
  overflow: hidden;
  padding: 48px 40px 150px;
  width: calc((100% - 64px) / 3);
  flex-basis: 320px;
}

.ai-landing .features .glass-box .feature-icon {
  position: absolute;
  bottom: 36px;
  right: 36px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(74, 26, 120, 0.08);
  border: 1px solid rgba(74, 26, 120, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-purple);
  font-size: 33px;
  z-index: 3;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* 左下角的光暈圓球 */
.ai-landing .features .glass-box::before {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -30%;
  width: 80%;
  padding-top: 35%;
  background: radial-gradient(circle,
      rgba(107, 43, 168, 0.7) 0%,
      rgba(107, 43, 168, 0.4) 40%,
      rgba(107, 43, 168, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(20px);
  opacity: 0.6;
}

/* 右下角的光暈圓球 */
.ai-landing .features .glass-box::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -35%;
  width: 140%;
  padding-top: 35%;
  background: radial-gradient(circle,
      rgba(245, 184, 0, 0.55) 0%,
      rgba(245, 184, 0, 0.3) 40%,
      rgba(245, 184, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(25px);
  opacity: 0.75;
}

.ai-landing .features h3 {
  margin-bottom: 16px;
  color: var(--text-third);
  margin-bottom: 30px;
  position: relative;
}

.ai-landing .features h3::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -40px;
  width: 4px;
  height: calc(100% + 25px);
  background-color: #4A1A78;
}

.ai-landing .features p:not(.section-title-en) {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* How It Works Section */
.ai-landing .how-it-works {
  padding-top: 0;
  overflow: initial;
}

.ai-landing .steps-container {
  display: grid;
  margin: 50px 0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.ai-landing .step {
  /* text-align: center; */
  position: relative;
  border-bottom: solid 1px var(--text-fourth);
  padding: 60px 250px 60px 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.ai-landing .step .step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--btn-gradient);
  color: white;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3); */
}

.ai-landing .step h3 {
  margin-bottom: 10px;
  color: var(--text-primary);
}

.ai-landing .step p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.ai-landing .step .editor-wrap {
  position: absolute;
  top: 50%;
  right: -30px;
  transform: translate(10%, -50%);
  width: 250px;
  height: 300px;
  opacity: 0;
  transition: 0.3s;
}

@media(hover: hover) and (min-width: 1201px) {
  .ai-landing .step:hover .editor-wrap {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

/* Step 預覽提示 */
.ai-landing .step-preview-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(74, 26, 120, 0.06);
  border: 1px solid rgba(74, 26, 120, 0.15);
  font-size: 12px;
  font-weight: 500;
  color: var(--brand-purple);
  letter-spacing: 0.02em;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.ai-landing .step-preview-hint i {
  font-size: 11px;
}

@media(hover: hover) {
  .ai-landing .step:hover .step-preview-hint {
    background: rgba(74, 26, 120, 0.12);
    border-color: rgba(74, 26, 120, 0.3);
  }
}

@media (max-width: 1200px) {
  .ai-landing .step-preview-hint {
    display: none;
  }
}

.ai-landing .closing-message {
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 60px auto 40px;
  max-width: 700px;
  line-height: 1.6;
}

/* Showcase Section */
.ai-landing .showcase-section {
  padding-top: 0;
  padding-bottom: 0;
  height: 65vw;
  max-height: 750px;
  background: var(--bg-main);
}

/* .ai-landing .showcase-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-main);
  opacity: 0.7;
} */

/* .ai-landing .showcase-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -38%;
  width: 180%;
  padding-top: 80%;
  background: radial-gradient(circle,
      rgba(186, 190, 255, 0.9) 0%,
      rgba(186, 190, 255, 0.7) 40%,
      rgba(186, 190, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(20px);
  opacity: 0.5;
  z-index: -1;
} */

/* 右下角的光暈圓球 */
/* .ai-landing .showcase-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -35%;
  width: 140%;
  padding-top: 50%;
  background: radial-gradient(circle,
      rgba(142, 194, 253, 0.7) 0%,
      rgba(142, 194, 253, 0.4) 40%,
      rgba(142, 194, 253, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(25px);
  opacity: 0.5;
  z-index: -1;
} */

/* .ai-landing .showcase-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
} */

.ai-landing .showcase-wrapper {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: center;
}

/* 左側：滾動軌道容器 */
.ai-landing .showcase-columns {
  display: flex;
  gap: 24px;
  flex: 1;
  max-width: 600px;
}

.ai-landing .showcase-text {
  flex: 0 0 450px;
  /* text-align: center; */
}

.ai-landing .showcase-text .glass-box {
  padding: 48px clamp(40px, 7vw, 100px);
  border: none;
}

.ai-landing .showcase-text .section-title-en {
  /* color: #fff; */
}

/* .ai-landing .showcase-text .section-title-en {
  font-size: clamp(22px, 4vw, 50px);
  margin-bottom: 0;
  background: linear-gradient(135deg, #BABEFF 0%, #8EC2FD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(186, 190, 255, 0.3));
} */

.ai-landing .showcase-column {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 65vw;
  max-height: 750px;
}

.ai-landing .showcase-track {
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.ai-landing .showcase-track-up {
  animation: scrollUp 20s linear infinite;
}

.ai-landing .showcase-track-down {
  animation: scrollDown 20s linear infinite;
}

@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

@keyframes scrollDown {
  0% {
    transform: translateY(-50%);
  }

  100% {
    transform: translateY(0);
  }
}

.ai-landing .showcase-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(74, 26, 120, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-top: 28px;
}

/* 瀏覽器視窗工具列底色 */
.ai-landing .showcase-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: linear-gradient(180deg, #dbe2ec 0%, #c7d0dc 100%);
  border-bottom: 1px solid #a8b2c1;
  z-index: 2;
}

/* 紅黃綠三個圓點 (用 box-shadow 一次畫出三個) */
.ai-landing .showcase-item::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF5F56;
  box-shadow:
    14px 0 0 #FFBD2E,
    28px 0 0 #27C93F;
  z-index: 3;
}

.ai-landing .showcase-image {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #F0E8F9 0%, #F8F4FB 100%);
}

.ai-landing .showcase-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.ai-landing .pricing-section {
  /* background: #8EC2FD; */
  /* background: linear-gradient(to bottom, #96c1fd, #BABEFF, rgba(186, 190, 255, 0) 100%); */
  /* background: linear-gradient(to bottom, #8EC2FD 0%, #BABEFF 100%); */
  border-radius: 30px;
  background-color: #fff;
  /* width: 95%; */
}

/* .ai-landing .pricing-section h2 {
  color: #fff;
}

.ai-landing .pricing-section .title p {
  color: #fff;
} */

/* ==================== Responsive Design ==================== */

@media(max-width:980px) {
  .ai-landing .showcase-text {
    flex: 0 0 300px;
  }
}

/* 平板和手機 (768px 以下) */
@media (max-width: 1200px) {
  .ai-landing .hero {
    padding: 120px 20px 60px;
    min-height: auto;
  }

  .ai-landing .hero .hero_wrap {
    flex-direction: column;
    gap: 60px;
    padding: 100px 30px 50px;
  }

  .ai-landing .hero .txt {
    width: 100%;
    text-align: center;
  }

  .ai-landing .hero .img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    transform: none;
    z-index: auto;
  }

  .ai-landing .hero-title {
    font-size: clamp(28px, 8vw, 42px);
  }

  .ai-landing .hero-subtitle {
    font-size: 18px;
    line-height: 1.8;
    max-width: 100%;
    margin: 0 auto 36px;
  }

  .ai-landing #hero-gradient-canvas {
    width: 350px;
    height: 350px;
  }

  .ai-landing .hero .cta-group {
    justify-content: center;
  }

  .ai-landing .features {
    margin-top: -40px;
    margin-bottom: 80px;
  }

  .ai-landing .features-grid {
    flex-direction: column;
    gap: 24px;
  }

  .ai-landing .features .glass-box {
    width: 100%;
    flex-basis: auto;
    padding: 40px 30px 110px;
  }

  .ai-landing .features .glass-box .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 22px;
    bottom: 28px;
    right: 28px;
  }

  .ai-landing .features h3::before {
    left: -30px;
  }

  .ai-landing .how-it-works {
    padding: 60px 20px;
  }

  .ai-landing .steps-container {
    margin: 40px 0;
  }

  .ai-landing .step {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 0;
    gap: 15px;
  }

  .ai-landing .step .step-number {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }

  /* 手機版直接顯示預覽視窗（取代 hover 效果） */
  .ai-landing .step .editor-wrap {
    display: flex;
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    opacity: 1;
    width: 100%;
    max-width: 420px;
    height: 340px;
    margin: 8px auto 0;
    align-self: center;
  }

  /* STEP 3 維持 auto 高度配合長圖 */
  .ai-landing .step:nth-child(3) .editor-wrap {
    height: auto;
  }

  .ai-landing .showcase-section {
    height: auto;
    padding-top: 60px;
  }

  .ai-landing .showcase-wrapper {
    flex-direction: column-reverse;
    gap: 50px;
  }

  .ai-landing .showcase-columns {
    max-width: 100%;
    height: 500px;
    gap: 16px;
  }

  .ai-landing .showcase-column {
    height: 400px;
  }

  .ai-landing .showcase-track {
    gap: 16px;
  }

  .ai-landing .showcase-text {
    flex: none;
    text-align: center;
  }

  .ai-landing .showcase-text .cta-group {
    justify-content: center;
  }


  .ai-landing .pricing-section {
    padding: 60px 20px;
  }

  .ai-landing .pricing-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .ai-landing .pricing-info {
    flex: 1;
    text-align: center;
  }

  .ai-landing .pricing-info .cta-group {
    justify-content: center;
  }

  .ai-landing .pricing-display {
    min-height: 550px;
    width: 100%;
  }

  .ai-landing .pricing-cards-container {
    min-height: 520px;
  }

  .ai-landing .contact {
    width: calc(100% - 40px);
    padding: 60px 20px;
  }
}

/* ==================== 平板直式 (768-1200px portrait) 文字放大 ==================== */
@media (min-width: 768px) and (max-width: 1200px) and (orientation: portrait) {
  .ai-landing p {
    font-size: 22px;
    line-height: 1.8;
  }

  .ai-landing li {
    font-size: 22px;
    line-height: 1.75;
  }

  .ai-landing h2 {
    font-size: clamp(34px, 4.8vw, 48px);
  }

  .ai-landing h3 {
    font-size: clamp(22px, 2.8vw, 28px);
  }

  .ai-landing .section-title-en {
    font-size: 15px;
    letter-spacing: 2.5px;
  }

  .ai-landing .btn-large {
    padding: 16px 72px 16px 48px;
    font-size: 22px;
  }

  .ai-landing .btn-arrow-circle {
    width: 38px;
    height: 38px;
  }

  .ai-landing .btn-arrow-circle i {
    font-size: 20px;
  }

  .ai-landing .hero-title {
    font-size: clamp(44px, 7vw, 60px);
  }

  .ai-landing .hero-subtitle {
    font-size: 22px;
    line-height: 1.85;
  }

  .ai-landing .features .glass-box h3 {
    font-size: 26px;
  }

  .ai-landing .features .glass-box p {
    font-size: 20px;
    line-height: 1.8;
  }

  .ai-landing .features .glass-box .feature-icon {
    width: 76px;
    height: 76px;
    font-size: 28px;
    bottom: 32px;
    right: 32px;
  }

  .ai-landing .step h3 {
    font-size: 26px;
  }

  .ai-landing .step p {
    font-size: 20px;
    line-height: 1.8;
  }

  .ai-landing .step .step-number {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }

  .ai-landing .showcase-text .subtitle {
    font-size: 22px;
  }

  .ai-landing .faq-question {
    font-size: 20px;
    padding: 22px 26px;
  }

  .ai-landing .faq-answer {
    font-size: 18px;
    padding: 0 26px 24px;
    line-height: 1.85;
  }

  .header-nav .nav-link {
    font-size: 22px;
    padding: 20px 16px;
  }
}

/* 小螢幕 (≤480px) 細節調整 */
@media (max-width: 480px) {
  .ai-landing .hero {
    padding: 108px 16px 40px;
  }

  .ai-landing .hero .hero_wrap {
    gap: 40px;
  }

  .ai-landing .features {
    margin-bottom: 60px;
  }

  .ai-landing .features .glass-box {
    padding: 36px 24px 100px;
  }

  .ai-landing .features .glass-box .feature-icon {
    width: 52px;
    height: 52px;
    font-size: 20px;
    bottom: 20px;
    right: 20px;
  }

  .ai-landing .how-it-works {
    padding: 40px 16px;
  }

  .ai-landing .step .step-number {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .ai-landing .showcase-section {
    padding: 40px 16px 60px;
  }

  .ai-landing .showcase-columns {
    height: 440px;
    gap: 12px;
  }

  .ai-landing .showcase-column {
    height: 340px;
  }

  .ai-landing .faq-section {
    border-radius: 20px;
  }

  .ai-landing .faq-list {
    gap: 10px;
  }

  .ai-landing .btn-large {
    padding: 13px 52px 13px 32px;
    font-size: 17px;
  }
}

.ai-landing .pricing-section .content {
  max-width: 1000px;
}

.ai-landing .pricing-wrapper {
  display: flex;
  gap: 60px;
  align-items: center;
}

/* 左側：標題和描述 */
.ai-landing .pricing-info {
  flex: 0 0 48%;
}

/* Segment Control */
.ai-landing .segment-control {
  display: inline-flex;
  background: var(--bg-main);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-radius: 30px;
  padding: 2px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 0.5px solid rgba(0, 0, 0, 0.08);
}

.ai-landing .segment-item {
  position: relative;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(26, 10, 46, 0.5);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 1;
  font-family: inherit;
}

.ai-landing .segment-item.active {
  color: var(--text-main);
}

.ai-landing .segment-indicator {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 30px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  height: calc(100% - 4px);
  top: 2px;
  border: 0.5px solid rgba(255, 255, 255, 0.6);
}

/* 右側：卡片顯示區 */
.ai-landing .pricing-display {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ai-landing .pricing-display .segment-control {
  margin-bottom: 30px;
  align-self: center;
}

/* 卡片容器 */
.ai-landing .pricing-cards-container {
  position: relative;
  min-height: 630px;
  flex: 1;
}

/* 卡片基礎樣式 */
.ai-landing .pricing-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ai-landing .pricing-card.active {
  opacity: 1;
  visibility: visible;
}

/* ==================== FAQ Section ==================== */
.ai-landing .faq-section {
  border-radius: 30px;
  background-color: #fff;
}

.ai-landing .faq-section .content {
  max-width: 1100px;
}

.ai-landing .faq-wrapper {
  display: flex;
  gap: 60px;
  align-items: center;
}

.ai-landing .faq-info {
  flex: 0 0 40%;
}

.ai-landing .faq-info .title {
  margin-bottom: 0;
}

.ai-landing .faq-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ai-landing .faq-item {
  background: rgba(74, 26, 120, 0.03);
  border: 1px solid rgba(74, 26, 120, 0.1);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.ai-landing .faq-item[open] {
  background: #fff;
  border-color: rgba(74, 26, 120, 0.25);
  box-shadow: 0 10px 30px -10px rgba(74, 26, 120, 0.18);
}

.ai-landing .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  line-height: 1.5;
}

.ai-landing .faq-question::-webkit-details-marker,
.ai-landing .faq-question::marker {
  display: none;
  content: '';
}

.ai-landing .faq-question > span:first-child {
  flex: 1;
}

.ai-landing .faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(74, 26, 120, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-purple);
  font-size: 13px;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.ai-landing .faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--brand-purple);
  color: #fff;
}

.ai-landing .faq-answer {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}

@media (max-width: 1200px) {
  .ai-landing .faq-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .ai-landing .faq-info {
    flex: none;
    width: 100%;
    text-align: center;
  }

  .ai-landing .faq-list {
    width: 100%;
  }

  .ai-landing .faq-question {
    padding: 18px 20px;
    font-size: 17px;
  }

  .ai-landing .faq-answer {
    padding: 0 20px 20px;
    font-size: 16px;
    line-height: 1.8;
  }
}

/* Contact Us Section */
.ai-landing .contact {
  text-align: center;
  border-radius: 30px;
  background: linear-gradient(to bottom, #fff 0%, var(--text-fourth));
  background: var(--gradient-main);
  background-color: var(--text-fourth);
  width: calc(100% - 60px);
  margin: 0 auto 30px;
  padding: 80px 24px;
}

.ai-landing .contact .section-title-en {
  color: #fff;
}

.ai-landing .contact .title h2 {
  color: #fff;
}

.ai-landing .contact .title .subtitle {
  color: #fff;
}

.ai-landing .contact .cta-group {
  justify-content: center;
}
