/* ================= 系統核心變數 (Light Mode - Apple/Stripe Vibe) ================= */
    :root {
      --bg-body: #fcfcfd;
      --bg-primary: #ffffff;
      --bg-card: rgba(255, 255, 255, 0.6);
      --bg-card-hover: rgba(255, 255, 255, 1);
      --bg-header: rgba(255, 255, 255, 0.75);
      --bg-overlay: rgba(255, 255, 255, 0.85);

      --border-subtle: rgba(0, 0, 0, 0.06);
      --border-hover: rgba(0, 0, 0, 0.12);

      --text-primary: #111111;
      --text-secondary: #555555;
      --text-muted: #888888;

      --brand-primary: #5e43ff;
      --brand-hover: #482ce6;
      --brand-glow: rgba(94, 67, 255, 0.08);

      --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.03), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
      --card-shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 1);

      --footer-bg: #f7f7f9;
      --dropdown-bg: #ffffff;
      --btn-tertiary-bg: rgba(0, 0, 0, 0.03);
      --btn-tertiary-hover: rgba(0, 0, 0, 0.06);

      --hero-title-grad: linear-gradient(180deg, #000000 0%, #333333 100%);
      --img-bg: #f0f0f3;
    }

    /* ================= 系統深色主題變數 (Dark Mode - Vercel/Linear Vibe) ================= */
    html.dark {
      --bg-body: #000000;
      --bg-primary: #000000;
      --bg-card: rgba(255, 255, 255, 0.02);
      --bg-card-hover: rgba(255, 255, 255, 0.05);
      --bg-header: rgba(0, 0, 0, 0.6);
      --bg-overlay: rgba(0, 0, 0, 0.85);

      --border-subtle: rgba(255, 255, 255, 0.08);
      --border-hover: rgba(255, 255, 255, 0.16);

      --text-primary: #ededed;
      --text-secondary: #a1a1a6;
      --text-muted: #666666;

      --brand-primary: #6b52ff;
      --brand-hover: #826cff;
      --brand-glow: rgba(107, 82, 255, 0.15);

      --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
      --card-shadow-hover: 0 16px 64px rgba(0, 0, 0, 0.6);

      --footer-bg: #050505;
      --dropdown-bg: #141414;
      --btn-tertiary-bg: rgba(255, 255, 255, 0.05);
      --btn-tertiary-hover: rgba(255, 255, 255, 0.1);

      --hero-title-grad: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.6) 100%);
      --img-bg: #0d0d11;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html, body {
      background-color: var(--bg-body);
      color: var(--text-primary);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang TC", "Noto Sans TC", sans-serif;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      scroll-behavior: smooth;
      transition: background-color 0.5s ease, color 0.5s ease;
      overflow-x: hidden;
    }
    a { color: inherit; text-decoration: none; }

    /* ================= 背景環境光 (Ambient Glow) ================= */
    .ambient-glow {
      position: absolute;
      top: 0; left: 50%;
      transform: translateX(-50%);
      width: 100%; max-width: 1000px; height: 600px;
      background: radial-gradient(circle, var(--brand-glow) 0%, transparent 70%);
      filter: blur(80px);
      pointer-events: none;
      z-index: 0;
      transition: background 0.5s ease;
    }

    /* ================= 動畫類別 (Scroll Reveal) ================= */
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal.visible { opacity: 1; transform: translateY(0); }
    .delay-100 { transition-delay: 100ms; }
    .delay-200 { transition-delay: 200ms; }
    .delay-300 { transition-delay: 300ms; }

    /* ================= 頂部導覽列 (Glassmorphism) ================= */
    .app-layout { min-height: 100vh; display: flex; flex-direction: column; position: relative; z-index: 1; }
    .header-container { position: sticky; top: 0; z-index: 1000; }
    .header-wrap {
      width: 100%; height: 72px; background: var(--bg-header);
      backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
      border-bottom: 1px solid var(--border-subtle); display: flex; align-items: center; justify-content: center;
      transition: background 0.4s ease, border-color 0.4s ease;
    }
    .header-inner { width: 100%; max-width: 1200px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; }

    .header-left { display: flex; align-items: center; gap: 48px; }
    .brand-logo { display: flex; align-items: center; gap: 12px; cursor: pointer; }
    .brand-logo img { height: 28px; width: auto; display: block; }
    .brand-logo span { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-primary); transition: color 0.3s ease; }

    .nav-desktop { display: flex; align-items: center; gap: 36px; }
    .nav-item { font-size: 14px; font-weight: 500; color: var(--text-secondary); cursor: pointer; transition: color 0.2s ease; padding: 8px 0; letter-spacing: 0.01em; }
    .nav-item:hover, .nav-item.active { color: var(--text-primary); }
    html.dark .nav-item:hover, html.dark .nav-item.active { color: #ffffff; }

    .header-right { display: flex; align-items: center; gap: 16px; position: relative; }

    .theme-btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; color: var(--text-secondary); transition: all 0.2s ease; }
    .theme-btn:hover { background: var(--btn-tertiary-bg); color: var(--text-primary); }
    .theme-btn svg { width: 18px; height: 18px; }
    html:not(.dark) .icon-sun { display: none; }
    html:not(.dark) .icon-moon { display: block; }
    html.dark .icon-sun { display: block; }
    html.dark .icon-moon { display: none; }

    .lang-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--text-secondary); padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: all 0.2s ease; letter-spacing: 0.01em;}
    .lang-btn:hover { color: var(--text-primary); background: var(--btn-tertiary-bg); }

    /* ================= 響應式行動端選單 ================= */
    .mobile-menu-btn { display: none; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; color: var(--text-primary); transition: all 0.2s ease; }
    .mobile-menu-btn svg { width: 24px; height: 24px; }

    .mobile-nav-overlay { position: fixed; top: 72px; left: 0; width: 100%; height: calc(100vh - 72px); background: var(--bg-overlay); backdrop-filter: blur(32px) saturate(180%); -webkit-backdrop-filter: blur(32px) saturate(180%); z-index: 999; display: flex; flex-direction: column; padding: 32px; opacity: 0; pointer-events: none; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); transform: translateY(-10px); }
    .mobile-nav-overlay.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
    .mobile-nav-links { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; border-bottom: 1px solid var(--border-subtle); padding-bottom: 32px; }
    .mobile-nav-link { font-size: 20px; font-weight: 600; color: var(--text-secondary); transition: color 0.2s ease; letter-spacing: -0.01em; }
    .mobile-nav-link:hover, .mobile-nav-link.active { color: var(--text-primary); }

    /* ================= 微互動按鈕 (Micro-interactions) ================= */
    .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-weight: 500; cursor: pointer; transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); border: 1px solid transparent; white-space: nowrap; letter-spacing: -0.01em; outline: none; }
    .btn:active { transform: scale(0.96); }
    .btn.middle { height: 38px; padding: 0 20px; font-size: 14px; }
    .btn.large { height: 52px; padding: 0 32px; font-size: 16px; }
    .btn.primary { background: var(--brand-primary); color: #ffffff; box-shadow: 0 4px 14px rgba(94, 67, 255, 0.25); }
    .btn.primary:hover { background: var(--brand-hover); box-shadow: 0 6px 24px rgba(94, 67, 255, 0.4); transform: translateY(-1px); }
    .btn.primary:active { transform: translateY(0) scale(0.96); }
    .btn.ghost { background: transparent; color: var(--text-primary); border-color: var(--border-subtle); }
    .btn.ghost:hover { background: var(--btn-tertiary-bg); border-color: var(--border-hover); }
    .btn.tertiary { background: var(--btn-tertiary-bg); color: var(--text-primary); border: 1px solid transparent; }
    .btn.tertiary:hover { background: var(--btn-tertiary-hover); border-color: var(--border-subtle); }

    /* ================= SPA 頁面容器 ================= */
    .app-main { flex: 1; display: flex; flex-direction: column; align-items: center; width: 100%; padding-bottom: clamp(60px, 10vw, 120px); position: relative; z-index: 1;}
    .content-wrapper { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
    .page-section { display: none; opacity: 0; transition: opacity 0.4s ease; }
    .page-section.active { display: block; opacity: 1; }

    /* ================= 模組 1: 首頁 (Fluid RWD) ================= */
    .hero-section { padding: clamp(80px, 12vw, 140px) 0 clamp(40px, 8vw, 80px); text-align: center; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1;}
    .hero-title {
      font-size: clamp(40px, 6.5vw, 68px);
      font-weight: 700;
      letter-spacing: -0.035em;
      line-height: 1.15;
      margin-bottom: 24px;
      background: var(--hero-title-grad);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      padding-bottom: 0.15em;
      margin-bottom: -0.1em;
    }
    .hero-subtitle { max-width: 680px; font-size: clamp(16px, 3vw, 19px); line-height: 1.6; color: var(--text-secondary); margin-bottom: 48px; letter-spacing: -0.01em; }
    .hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-bottom: clamp(60px, 10vw, 100px); }

    .hero-video-wrapper { width: 100%; border-radius: 24px; padding: 12px; background: var(--bg-card); border: 1px solid var(--border-subtle); box-shadow: var(--card-shadow); transition: all 0.4s ease; }
    .hero-video-wrapper video { width: 100%; display: block; border-radius: 14px; background: #0d0d11; }

    .section-header { margin: clamp(80px, 12vw, 120px) 0 clamp(40px, 6vw, 60px); text-align: center; }
    .section-title { font-size: clamp(32px, 4vw, 44px); font-weight: 700; letter-spacing: -0.03em; color: var(--text-primary); transition: color 0.3s ease; }
    .section-subtitle { margin-top: 16px; font-size: clamp(16px, 2vw, 18px); color: var(--text-secondary); }

    .feature-list { display: flex; flex-direction: column; gap: clamp(24px, 4vw, 40px); margin-bottom: clamp(60px, 10vw, 120px); }
    .feature-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 64px); background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 32px; padding: clamp(24px, 5vw, 48px); box-shadow: var(--card-shadow); backdrop-filter: blur(12px); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
    .feature-card:hover { border-color: var(--border-hover); box-shadow: var(--card-shadow-hover); transform: translateY(-2px); background: var(--bg-card-hover); }
    .feature-card:nth-child(even) .feature-image { order: 2; }
    .feature-image { width: 100%; aspect-ratio: 1 / 1; border-radius: 24px; overflow: hidden; background: var(--img-bg); border: 1px solid var(--border-subtle); }
    .feature-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
    .feature-card:hover .feature-image img { transform: scale(1.04); }
    .feature-content { display: flex; flex-direction: column; gap: 16px; padding: 0 8px; }
    .feature-title { font-size: clamp(24px, 3vw, 32px); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; color: var(--text-primary); }
    .feature-desc { font-size: 16px; line-height: 1.7; color: var(--text-secondary); }

    .env-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-bottom: clamp(60px, 10vw, 120px); }
    .env-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 32px; padding: clamp(24px, 5vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; box-shadow: var(--card-shadow); backdrop-filter: blur(12px); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
    .env-card:hover { border-color: var(--border-hover); box-shadow: var(--card-shadow-hover); transform: translateY(-2px); background: var(--bg-card-hover); }
    .env-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; margin-bottom: 24px; background: var(--img-bg); border: 1px solid var(--border-subtle); }
    .env-title { font-size: clamp(22px, 3vw, 28px); font-weight: 600; letter-spacing: -0.02em; color: var(--text-primary); margin-bottom: 12px; }
    .env-desc { font-size: 16px; line-height: 1.7; color: var(--text-secondary); }
    .env-actions { display: flex; flex-wrap: wrap; gap: 12px; }

    .cta-section { background: var(--ref-bg); border: 1px solid var(--border-subtle); border-radius: 40px; padding: clamp(60px, 10vw, 100px) clamp(24px, 5vw, 40px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; position: relative; overflow: hidden;}
    .cta-title { font-size: clamp(32px, 5vw, 48px); font-weight: 700; letter-spacing: -0.03em; color: var(--text-primary); position: relative; z-index: 1;}
    .cta-desc { font-size: 18px; color: var(--text-secondary); margin-bottom: 8px; position: relative; z-index: 1;}

    /* ================= 模組 2: 方案定價 ================= */
    .pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; margin-top: 60px; }
    .pricing-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 32px; padding: clamp(32px, 5vw, 48px) clamp(24px, 4vw, 40px); display: flex; flex-direction: column; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: var(--card-shadow); backdrop-filter: blur(12px);}
    .pricing-card:hover { border-color: var(--brand-primary); transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
    .pricing-card.popular { border-color: var(--brand-primary); position: relative; background: var(--bg-card-hover); }
    .pricing-card.popular::before { content: attr(data-badge-text); position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--brand-primary); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 16px; border-radius: 999px; box-shadow: 0 4px 12px rgba(94, 67, 255, 0.3); }
    .price-name { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; color: var(--text-primary); margin-bottom: 12px; }
    .price-value { font-size: clamp(36px, 5vw, 48px); font-weight: 700; letter-spacing: -0.02em; color: var(--text-primary); margin-bottom: 32px; }
    .price-value span { font-size: 16px; color: var(--text-secondary); font-weight: 500; }
    .price-features { list-style: none; margin-bottom: 40px; flex: 1; }
    .price-features li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.5; }
    .price-features li::before { content: "✓"; color: var(--brand-primary); font-weight: bold; font-size: 16px; }

    /* ================= 模組 3: 其他內文共用 ================= */
    .doc-content { max-width: 720px; margin: 0 auto; color: var(--text-secondary); line-height: 1.8; font-size: 16px; }
    .doc-content h2 { color: var(--text-primary); font-size: clamp(22px, 3vw, 26px); margin: 48px 0 20px; font-weight: 600; letter-spacing: -0.01em; }
    .doc-content p { margin-bottom: 20px; }

    .sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; max-width: 800px; margin: 0 auto; padding-top: 20px;}
    .sitemap-card { background: var(--bg-card); padding: clamp(24px, 4vw, 40px); border-radius: 24px; border: 1px solid var(--border-subtle); box-shadow: var(--card-shadow); backdrop-filter: blur(12px); transition: all 0.3s ease;}
    .sitemap-card:hover { box-shadow: var(--card-shadow-hover); border-color: var(--border-hover); background: var(--bg-card-hover);}
    .sitemap-card h3 { color: var(--text-primary); font-size: 19px; margin-bottom: 20px; border-bottom: 1px solid var(--border-subtle); padding-bottom: 12px; font-weight: 600;}
    .sitemap-card ul { list-style: none; }
    .sitemap-card li { margin-bottom: 16px; }
    .sitemap-card a { color: var(--text-secondary); text-decoration: none; transition: color 0.2s; cursor: pointer; font-size: 15px;}
    .sitemap-card a:hover { color: var(--brand-primary); }

    .contact-wrapper { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 64px); max-width: 1000px; margin: 0 auto; padding-top: 20px;}
    .contact-form { background: var(--bg-card); padding: clamp(32px, 5vw, 48px); border-radius: 32px; border: 1px solid var(--border-subtle); box-shadow: var(--card-shadow); backdrop-filter: blur(12px);}
    .form-group { margin-bottom: 24px; }
    .form-group label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 500; color: var(--text-primary); }
    .form-group input, .form-group textarea { width: 100%; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--border-subtle); background: var(--bg-primary); color: var(--text-primary); outline: none; transition: all 0.2s ease; font-family: inherit; font-size: 15px;}
    .form-group input:focus, .form-group textarea:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 3px rgba(94, 67, 255, 0.1); }
    .form-group textarea { resize: vertical; min-height: 140px; }
    .contact-info { display: flex; flex-direction: column; gap: 40px; padding-top: 20px; }
    .info-block h3 { color: var(--text-primary); font-size: 19px; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.01em;}
    .info-block p { color: var(--text-secondary); line-height: 1.7; font-size: 16px; }

    /* ================= 頁尾 ================= */
    .footer { width: 100%; border-top: 1px solid var(--border-subtle); background: var(--footer-bg); padding: clamp(60px, 8vw, 80px) 0 48px; transition: background 0.4s ease; position: relative; z-index: 1;}
    .footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
    .footer-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding-bottom: 64px; border-bottom: 1px solid var(--border-subtle); }
    .footer-col-title { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 24px; letter-spacing: -0.01em;}
    .footer-links { display: flex; flex-direction: column; gap: 16px; }
    .footer-link { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; color: var(--text-secondary); cursor: pointer; transition: color 0.2s ease; }
    .footer-link:hover { color: var(--text-primary); }
    .footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-top: 40px; }
    .footer-brand { display: flex; align-items: center; gap: 12px; }
    .footer-brand img { height: 26px; width: auto; opacity: 0.9; filter: grayscale(100%); transition: filter 0.3s ease;}
    .footer-brand:hover img { filter: grayscale(0%); }
    .footer-meta { display: flex; align-items: center; gap: 24px; font-size: 14px; color: var(--text-muted); }

    /* 多國語系下拉選單 */
    .lang-dropdown-wrapper { position: absolute; top: 54px; right: 0; z-index: 1050; display: none; }
    .lang-dropdown-wrapper.show { display: block; }
    .lang-menu { padding: 8px; list-style: none; background-color: var(--dropdown-bg); border: 1px solid var(--border-subtle); border-radius: 16px; box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12); min-width: 140px; }
    .lang-item { padding: 10px 16px; border-radius: 10px; color: var(--text-primary); font-size: 14px; font-weight: 500; cursor: pointer; transition: background 0.2s ease;}
    .lang-item:hover { background: var(--bg-card-hover); }

    /* ================= 響應式網頁設計 (RWD) ================= */
    @media (max-width: 900px) {
      .nav-desktop { display: none; }
      .header-right .btn.ghost { display: none; }
      .mobile-menu-btn { display: flex; }

      .feature-card { grid-template-columns: 1fr; gap: 32px; padding: 32px;}
      .feature-card:nth-child(even) .feature-image { order: 0; }

      .env-grid { grid-template-columns: 1fr; }
      .contact-wrapper { grid-template-columns: 1fr; }
    }

    @media (max-width: 768px) {
      .footer-nav { grid-template-columns: 1fr 1fr; gap: 32px; }
      .pricing-grid { grid-template-columns: 1fr; }
      .PageButtons--zj4o0Vn7 { flex-direction: column; width: 100%; }
      .PageButtons--zj4o0Vn7 .btn { width: 100%; justify-content: center; }
    }

    @media (max-width: 480px) {
      .footer-nav { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; align-items: flex-start; }
      .header-inner { padding: 0 20px; }
      .content-wrapper { padding: 0 20px; }
    }
