﻿/* ==========================================================================
   愛沛富氧舒壓艙 - 官方網站樣式表
   AIPAID OXYGEN CHAMBER - MODERN LUXURY HEALTHCARE DESIGN SYSTEM
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS 變數與設計規範 (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
    /* 核心色彩 (Color Palette) */
    --color-primary: #0284c7;
    --color-dark-navy: #0f172a;
    --color-slate-800: #1e293b;
    --color-slate-700: #334155;
    --color-slate-500: #64748b;
    --color-slate-400: #94a3b8;
    --color-slate-200: #e2e8f0;
    --color-slate-100: #f1f5f9;
    --color-bg-white: #ffffff;

    /* 特殊主題色 */
    --color-taupe-row: #c2b19f;
    --color-light-row: #ece8e4;
    --color-audience-bg: #d1bead;
    --color-audience-card: #6e4b3c;
    --color-accent-orange: #ea580c;

    /* 字體規範 (Typography) */
    --font-main: 'Inter', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* 區塊間距 (Spacing) */
    --spacing-section-lg: 100px;
    --spacing-section-md: 70px;
    --spacing-section-sm: 45px;

    /* 容器最大寬度 */
    --container-max-width: 1200px;
    --container-wide-width: 1440px;

    /* 圓角與陰影 */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 9999px;
    --shadow-subtle: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 10px 25px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 35px rgba(0, 0, 0, 0.12);

    /* 動畫過渡 (Transitions) */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. 重置與基礎全域設定 (Reset & Global Base)
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--color-slate-800);
    background-color: var(--color-bg-white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
}

/* 容器與版面 */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1rem;
}

/* 區塊標題共用樣式 */
.section {
    padding: var(--spacing-section-lg) 0;
    position: relative;
}

.section-title {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: #000000;
    letter-spacing: 2px;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.section-divider {
    width: 280px;
    height: 2.5px;
    background-color: #64748b;
    margin: 0 auto 0.6rem;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 16px;
    color: #64748b;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0 auto 3.5rem;
}

/* 共用按鈕 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.4rem;
    background: #1b4da0;
    color: #ffffff;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 12px rgba(27, 77, 160, 0.25);
    cursor: default;
    border: none;
    outline: none;
    user-select: none;
}

.btn:hover,
.btn:active {
    transform: none !important;
    box-shadow: 0 4px 12px rgba(27, 77, 160, 0.25) !important;
    background: #1b4da0 !important;
    color: #ffffff !important;
}

/* 滾動淡入動畫 (Scroll Reveal) */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 斷行輔助標籤 */
.mobile-br {
    display: none;
}

.mobile-block {
    display: inline;
}

.mobile-break {
    display: none;
}


/* --------------------------------------------------------------------------
   3. 頂部導覽列 (Header & Navigation)
   -------------------------------------------------------------------------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    transition: all var(--transition-normal);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 10px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-slate-700);
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-normal);
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* 漢堡選單按鈕 (Mobile Hamburger) */
.hamburger-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 38px;
    border-radius: var(--radius-sm);
}

.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: var(--color-dark-navy);
    border-radius: 2px;
    transition: all var(--transition-normal);
    margin: 2.5px auto;
}

.hamburger-btn.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
    background-color: var(--color-primary);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
    background-color: var(--color-primary);
}


/* --------------------------------------------------------------------------
   4. Section 01: Hero 頂級品牌主視覺
   -------------------------------------------------------------------------- */
.hero {
    min-height: 100vh;
    background-image: url('../../images/O2relax/bg-livingroom.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 60px;
    overflow: hidden;
    margin-bottom: -5px;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 50px;
    position: relative;
    z-index: 2;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    max-width: 580px;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
    /* 💡 加入此行可整體向上或向下平移： */
    margin-top: -300px;
    /* 負值整體往上，正值整體往下*/
}

.hero-brand {
    margin-bottom: 5.5rem;
    display: flex;
    align-items: center;
    transform: translateY(-50px);
}

.hero-brand img {
    height: 58px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.hero-subtitle {
    font-size: 1.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 3px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 0.6rem;
    letter-spacing: 4px;
}

.hero-en {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 4px;
    margin-bottom: 2.2rem;
    color: rgba(255, 255, 255, 0.92);
}

.hero-image {
    display: none !important;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 980px;
    object-fit: contain;
    filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.4));
}

.hero-action-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    position: relative;
    z-index: 20;
    cursor: default;
}

.hero-see-more {
    font-size: 1.15rem;
    font-weight: 400;
    color: #dcdddd;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    user-select: none;
    line-height: 1;
}

.hero-btn-desktop {
    display: inline-flex;
    position: relative;
    z-index: 20;
}

.hero-btn-mobile {
    display: none !important;
}

.hero-scroll-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: scrollBounce 2s infinite ease-in-out;
    cursor: default;
}

.hero-down-arrow {
    width: 20px;
    height: 20px;
    color: #dcdddd;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.65;
    }

    50% {
        transform: translateY(7px);
        opacity: 1;
    }
}


/* --------------------------------------------------------------------------
   5. Section 02: 雲端意境插頁「以氧為養 煥活新生」
   -------------------------------------------------------------------------- */
.cloud-section {
    height: 60vh;
    min-height: 480px;
    background-image: url('../../images/O2relax/situation-01.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    position: relative;
    margin-top: -5px;
    z-index: 2;
}

.cloud-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.32);
}

.cloud-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.cloud-content h2 {
    font-size: 52px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 4px;
    line-height: 1.35;
    margin-bottom: 1.5rem;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
}

.cloud-content h3 {
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 3px;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cloud-content p {
    font-size: 18.5px;
    font-weight: 400;
    line-height: 2;
    letter-spacing: 1.5px;
    color: #fffff2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}


/* --------------------------------------------------------------------------
   6. Section 03: 缺氧帶來的困擾 (Symptoms of Hypoxia)
   -------------------------------------------------------------------------- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
    margin-top: 3.5rem;
}

.benefit-card {
    text-align: center;
    background: var(--color-bg-white);
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.benefit-img {
    height: 260px;
    overflow: hidden;
    background-color: var(--color-slate-100);
}

.benefit-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.benefit-card:hover .benefit-img img {
    transform: scale(1.06);
}

.benefit-text {
    padding: 2.2rem 1.8rem;
}

.benefit-text h3 {
    font-size: 30px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.benefit-text p {
    font-size: 16px;
    color: #595757;
    line-height: 1.9;
    letter-spacing: 0.5px;
}


/* --------------------------------------------------------------------------
   7. Section 04: 量身打造細胞充能方案 (Resolution)
   -------------------------------------------------------------------------- */
.molecule-section {
    position: relative;
    background-image: url('../../images/O2relax/situation-02.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;

    /* 👈 1.【底圖高度範圍】：隨意調大，文字都不會亂跑 */
    min-height: 1600px;
    height: auto;
    max-height: none;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 0;
    /* 上下內距 */
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
}

.molecule-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* 👈 2. 改為 flex-start，不再把上下硬扯開 */
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.molecule-header {
    text-align: center;
    padding-top: 200px;
    /* 👈 標題距離頂部的距離 */
}

.molecule-features {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 1050px;
    margin-top: 800px;
    margin-bottom: 40px;
}

.molecule-title {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: #000000;
    letter-spacing: 2px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.molecule-divider {
    width: 400px;
    height: 2.5px;
    background-color: #64748b;
    margin: 0 auto 0.6rem;
    border-radius: 2px;
}

.molecule-subtitle {
    font-size: 16px;
    color: #64748b;
    letter-spacing: 1.5px;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0;
}

.molecule-features {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    /* 👈 1. 移除 gap，避免分隔線兩側間距與外邊距不均 */
    width: 100%;
    max-width: 1050px;
    margin-bottom: 90px;
}

.molecule-feature-item {
    flex: 1 1 0;
    /* 👈 2. 嚴格 1:1:1 均分寬度 (flex-basis: 0) */
    min-width: 0;
    /* 👈 3. 防止文字長度不同時撐開不同寬度 */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1.5rem;
    /* 👈 4. 欄位內部留白，文字與直線保持舒適距離 */
}

.molecule-sep {
    width: 1.5px;
    height: 42px;
    background-color: var(--color-slate-400);
    flex-shrink: 0;
    opacity: 0.8;
    position: relative;
    /* 👈 讓 translateX 微調生效 */
}

/* 👈 第一條直線（左邊那條） */
.molecule-sep:nth-of-type(2) {
    transform: translateX(-10px);
    /* 數值為正向右移（例如 +10px），為負向左移（例如 -10px） */
    width: 2px;
    height: 80px;
    /* 也可以單獨調整高度或顏色*/

}

/* 👈 第二條直線（右邊那條） */
.molecule-sep:nth-of-type(4) {
    transform: translateX(15px);
    /* 數值為正向右移（例如 +10px），為負向左移（例如 -10px） */
    width: 2px;
    height: 80px;
    /* 也可以單獨調整高度或顏色*/

}

.feature-title {
    font-size: 30px;
    font-weight: 800;
    color: #000000;
    letter-spacing: 1px;
    margin-bottom: 6px;
    white-space: nowrap;
}

.feature-tag-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.feature-check-icon {
    width: 22px;
    height: 22px;
    color: #595757;
    flex-shrink: 0;
}

.feature-desc {
    font-size: 22px;
    font-weight: 500;
    color: #595757;
    letter-spacing: 1px;
    white-space: nowrap;
}

.molecule-sep {
    width: 1.5px;
    height: 42px;
    background-color: var(--color-slate-400);
    flex-shrink: 0;
    opacity: 0.8;
}


/* --------------------------------------------------------------------------
   8. Section 05: 高階健康管理 (Zigzag 4-Row)
   -------------------------------------------------------------------------- */
.zigzag-section {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    overflow: hidden;
    line-height: 0;
}

.zigzag-row {
    display: flex;
    width: 100%;
    height: 680px;
    gap: 0 !important;
    margin: 0;
    padding: 0;
    border: none;
}

.zigzag-row-reverse {
    flex-direction: row-reverse;
}

.zigzag-text-box,
.zigzag-img-box {
    width: 50%;
    flex: 0 0 50%;
    height: 100%;
    margin: 0;
    box-sizing: border-box;
}

/* 駝灰底色 (Row 1 & 3) */
.zigzag-row-taupe .zigzag-text-box {
    background-color: var(--color-taupe-row);
}

.zigzag-row-taupe .tag-index {
    background-color: #ded5cc;
}

/* 淺灰底色 (Row 2 & 4) */
.zigzag-row-light .zigzag-text-box {
    background-color: var(--color-light-row);
}

.zigzag-row-light .tag-index {
    background-color: #ffffff;
}

.zigzag-text-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3.5rem 2.5rem;
    line-height: 1.5;
}

/* 各圖片焦點位置設定 */
.zigzag-row:nth-child(1) .zigzag-img {
    object-position: center center;
}

.zigzag-row:nth-child(2) .zigzag-img {
    object-position: center center;
}

.zigzag-row:nth-child(3) .zigzag-img {
    object-position: center top;
}

.zigzag-row:nth-child(4) .zigzag-img {
    object-position: center bottom;
}

.zigzag-icon-wrap {
    margin-bottom: 1.5rem;
}

.zigzag-icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
}

.zigzag-title {
    font-size: 30px;
    font-weight: 800;
    color: #000000;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.zigzag-desc {
    font-size: 16px;
    line-height: 1.9;
    color: #595757;
    letter-spacing: 1px;
    margin-bottom: 2.2rem;
    font-weight: 400;
}

/* 雙色標籤膠囊 */
.zigzag-tag-badge {
    display: inline-flex;
    align-items: center;
    box-shadow: var(--shadow-subtle);
    line-height: normal;
    border-radius: 2px;
    overflow: hidden;
}

.tag-label {
    background-color: #000000;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 7px 15px;
    letter-spacing: 1.5px;
}

.tag-index {
    color: #222222;
    font-size: 0.95rem;
    font-weight: 700;
    font-style: italic;
    padding: 6px 16px;
}

.zigzag-img-box {
    position: relative;
    overflow: hidden;
    line-height: 0;
}

.zigzag-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* --------------------------------------------------------------------------
   9. Section 06: 山景意境插頁「隔絕干擾 沉浸純淨」
   -------------------------------------------------------------------------- */
.break-section {
    height: 60vh;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.break-mountain {
    background-image: url('../../images/O2relax/situation-03.jpg');
}

.break-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
}

.break-section .container {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.break-section h2 {
    font-size: 52px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.4;
    letter-spacing: 4px;
    margin-bottom: 1.2rem;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
}

.break-section p {
    font-size: 18.5px;
    font-weight: 400;
    line-height: 2;
    letter-spacing: 1.5px;
    color: #fffff2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}


/* --------------------------------------------------------------------------
   10. Section 07: 應用場景展示 (Product Showcase - 滿版左右交錯排版)
   -------------------------------------------------------------------------- */
.showcase-fullwidth-section {
    width: 100%;
    background-color: #ffffff;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.product-showcase {
    display: flex;
    width: 100%;
    min-height: 520px;
    align-items: stretch;
    margin: 0;
    padding: 0;
    position: relative;
    background-color: #ffffff;
}

.product-showcase:last-child {
    margin-bottom: 0;
}

.product-showcase.reverse {
    flex-direction: row-reverse;
}

/* 文字區塊：佔 50% 寬度 */
.showcase-info {
    width: 50%;
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    background-color: #ffffff;
    z-index: 2;
}

/* 左側文字（圖在右時）朝右對齊適度留白 */
.product-showcase:not(.reverse) .showcase-info {
    justify-content: flex-end;
    padding: 4.5rem 6vw 4.5rem 4vw;
}

/* 右側文字（圖在左時）朝左對齊適度留白 */
.product-showcase.reverse .showcase-info {
    justify-content: flex-start;
    padding: 4.5rem 4vw 4.5rem 6vw;
}

.showcase-info-inner {
    max-width: 480px;
    width: 100%;
}

/* 圖片區塊：佔 50% 寬度，滿版無圓角無陰影 */
.showcase-img {
    width: 50%;
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
    line-height: 0;
}

.showcase-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* 參考圖特色：在圖片與白底文字交界處加入自然的柔化漸層 */
.product-showcase:not(.reverse) .showcase-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 90px;
    height: 100%;
    background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0.5) 40%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.product-showcase.reverse .showcase-img::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 90px;
    height: 100%;
    background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0.5) 40%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.usecase-badge {
    display: inline-block;
    background-color: var(--color-accent-orange);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 4px;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.showcase-title {
    color: #000000;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.3;
    margin-bottom: 0.4rem;
}

.showcase-subtitle {
    color: #595757;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.showcase-info p {
    color: #595757;
    font-size: 16px;
    line-height: 1.95;
    letter-spacing: 0.5px;
}


/* --------------------------------------------------------------------------
   11. Section 08: 四大核心人群痛點解方 (Core Target Audiences)
   -------------------------------------------------------------------------- */
.audience-section {
    background-color: var(--color-audience-bg);
    padding: 6.5rem 0;
}

.audience-section .section-divider {
    width: 400px;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
    margin-top: 3.5rem;
}

.audience-card {
    display: flex;
    background-color: var(--color-audience-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    height: 280px;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.audience-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.audience-card-text {
    flex: 1;
    padding: 1.8rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    color: #ffffff;
    box-sizing: border-box;
}

.card-text-top h4 {
    font-size: 1.65rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
    white-space: nowrap;
}

.card-text-top h4 strong {
    font-weight: 700;
}

.card-text-top .card-tag {
    font-size: 1.35rem;
    color: #e5d7cb;
    letter-spacing: 1.5px;
    margin: 0;
    font-weight: 300;
}

.card-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 85px;
    height: 85px;
    border: 1.5px solid rgba(230, 210, 190, 0.4);
    border-radius: 50%;
    margin-top: 0.4rem;
    flex-shrink: 0;
}

.card-icon {
    width: 85px;
    height: 85px;
    object-fit: contain;
    flex-shrink: 0;
}

.audience-card-img {
    flex: 1;
    height: 100%;
}

.audience-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* --------------------------------------------------------------------------
   12. Section 09: 產品規格詳細裝配 (Specs Fullwidth - 左右編排 淺灰#fffff2)
   -------------------------------------------------------------------------- */
.specs-fullwidth-section {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #ffffff;
}

.specs-header-wrap {
    width: 100%;
    background-color: #fffff2;
}

.specs-section-header {
    padding-top: var(--spacing-section-lg);
    padding-bottom: 1.5rem;
}

.specs-section-header .section-divider {
    width: 280px;
    height: 2.5px;
    background-color: #64748b;
    margin: 0 auto 0.6rem;
}

.spec-block {
    display: flex;
    width: 100%;
    min-height: 540px;
    align-items: stretch;
    margin: 0;
    padding: 0;
    border: none;
}

/* 反向列（左圖 右文） */
.spec-block.spec-block-reverse {
    flex-direction: row-reverse;
}

/* 文字區塊（背景淺灰 #fffff2） */
.spec-text-box {
    width: 50%;
    flex: 0 0 50%;
    background-color: #fffff2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4.5rem 3.5rem;
    box-sizing: border-box;
}


/* ===== 僅在桌機版生效 (螢幕寬度 993px 以上) ===== */
@media (min-width: 993px) {

    /* 👈 Block 1: 艙內裝配（桌機左文區塊）左右位置 */
    .spec-block:nth-of-type(2) .spec-card {
        transform: translateX(140px);
    }

    /* 👈 Block 2: 核心主機裝配（桌機右文區塊）左右位置 */
    .spec-block:nth-of-type(3) .spec-card {
        transform: translateX(-80px);
    }

    /* 👈 Block 3: 艙體係數（桌機左文區塊）左右位置 */
    .spec-block:nth-of-type(4) .spec-card {
        transform: translateX(140px);
    }
}



.spec-card {
    max-width: 480px;
    width: 100%;
    text-align: left;
}

/* 矩形框線標籤 */
.spec-badge {
    display: inline-block;
    border: 1.5px solid #222222;
    padding: 6px 22px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #1a1a1a;
    margin-bottom: 2rem;
    background: transparent;
    border-radius: 2px;
}

/* 規格列表明細 */
.spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-list li {
    font-size: 16px;
    color: #595757;
    line-height: 2.2;
    letter-spacing: 0.8px;
    white-space: normal;
}

.spec-label {
    color: #595757;
    font-weight: 700;
    letter-spacing: 2px;
}

.spec-val {
    color: #595757;
    font-weight: 400;
}

/* 圖片區塊（滿版無邊界） */
.spec-img-box {
    width: 50%;
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
    line-height: 0;
}

.spec-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* 圖片焦點設定 */
.spec-block:nth-child(1) .spec-img {
    object-position: center center;
}

.spec-block:nth-child(2) .spec-img {
    object-position: center center;
}

.spec-block:nth-child(3) .spec-img {
    object-position: center center;
}


/* --------------------------------------------------------------------------
   13. Section 10: 產品規格總覽 (Specifications Overview)
   -------------------------------------------------------------------------- */
.specs-overview-section {
    position: relative;
    background-image: url('../../images/O2relax/spec-bg.jpg');
    background-size: cover;
    background-position: center;
    background-color: var(--color-slate-100);
    padding: 6.5rem 0 4.5rem;
}

.specs-main-title {
    font-family: 'Noto Sans TC', sans-serif;
    color: #000000;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 0.4rem;
}

.specs-title-line {
    width: 320px;
    height: 2.5px;
    background-color: #64748b;
    margin: 0 auto 0.6rem;
    border-radius: 2px;
}

.specs-en-sub {
    color: #64748b;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 3.5rem;
}

.specs-main-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.specs-product-visual {
    flex: 1.1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.specs-main-img {
    width: 100%;
    max-width: 580px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.12));
}

.specs-tables-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.chamber-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--color-slate-800);
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
}

.spec-table {
    display: flex;
    flex-direction: column;
}

.spec-row {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #cbd5e1;
}

.spec-col-label {
    width: 105px;
    color: #595757;
    font-weight: 700;
    letter-spacing: 2px;
    flex-shrink: 0;
    font-size: 16px;
}

.spec-col-val {
    color: #595757;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.specs-disclaimer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    color: var(--color-slate-500);
    font-size: 0.9rem;
    margin-top: 3.5rem;
    padding-top: 1rem;
    letter-spacing: 1px;
}

.disclaimer-icon {
    font-size: 1.1rem;
}


/* --------------------------------------------------------------------------
   14. 頁尾 (Site Footer)
   -------------------------------------------------------------------------- */
.site-footer {
    width: 100%;
    background-color: #000000;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.footer-banner-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-banner-img {
    width: 100%;
    height: auto;
    min-height: 180px;
    display: block;
    object-fit: cover;
}

.footer-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    box-sizing: border-box;
}

.footer-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1.2;
}

.footer-title-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 0.6rem;
}

.footer-logo-img {
    height: 44px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
}

.footer-slogan {
    font-size: 2.1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.footer-en-sub {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 3px;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.footer-bottom-bar {
    background-color: #000000;
    padding: 1.8rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-text {
    color: #a0a0a0;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin: 0;
}


/* ==========================================================================
   15. 響應式佈局 (Responsive Breakpoints)
   ========================================================================== */

@media (max-height: 1080px) and (min-width: 993px) {

    /* 💡 1. 調整「整組左側全部（LOGO + 所有文字 + 按鈕）」的位置： */
    .hero-content {
        /* 上下移動：大螢幕預設為 -300px，數值改小或改正值就會整體往下移 */
        margin-top: -50px;
        /* 左右移動（如需整體往右移）： */
        /* transform: translateX(30px); */
    }
}

/* 1920px (1080p) 主視覺產品圖微調 */
@media (max-width: 1920px) {
    .hero-image {
        transform: translate(160px, 12%) scale(1.35);
        transform-origin: center right;
    }
}

/* 1600px 螢幕 */
@media (max-width: 1600px) {
    .hero-image {
        transform: translate(80px, 6%) scale(1.18);
        transform-origin: center right;
    }
}

/* 1440px 螢幕 */
@media (max-width: 1440px) {
    .nav-container {
        padding: 0 30px;
    }

    .hero-image {
        transform: translate(20px, 2%) scale(1.04);
        transform-origin: center right;
    }
}

/* 1200px (標準筆電與 1080p 縮放視窗) */
@media (max-width: 1200px) {
    .hero {
        padding-top: 110px;
        padding-bottom: 40px;
    }

    .hero-container {
        padding: 0 30px;
        gap: 2rem;
    }

    .hero-content {
        max-width: 480px;
        margin-top: -100px;
        /* 👈 收斂大螢幕的 -300px，避免在 1080px 向上衝出螢幕 */
    }

    .hero-brand {
        margin-bottom: 2.5rem;
        /* 👈 縮小與下方標題間距，避免拉太長爆版 */
        transform: translateY(-25px);
    }

    .hero-brand img {
        height: 48px;
    }

    .hero-subtitle {
        font-size: 1.45rem;
    }

    .hero-title {
        font-size: 2.5rem;
        /* 👈 適度縮小大標題，確保單行或兩欄完美容納 */
        letter-spacing: 2px;
    }

    .hero-en {
        font-size: 0.85rem;
        letter-spacing: 2px;
        margin-bottom: 1.5rem;
    }

    .hero-image {
        transform: none;
        max-width: 440px;
    }

    .benefits-grid {
        gap: 1.5rem;
    }
}

/* 992px (平板與小筆電) */
@media (max-width: 992px) {
    .section {
        padding: var(--spacing-section-md) 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-divider,
    .specs-title-line {
        width: 220px;
    }

    .molecule-divider {
        width: 320px;
        max-width: 85%;
    }

    .section-subtitle {
        margin-bottom: 2.5rem;
    }

    /* 導覽列 */
    .nav-container {
        height: 70px;
        padding: 0 20px;
    }

    .logo img {
        height: 50px;
    }

    .hamburger-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: center;
        padding: 2.2rem 0;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform var(--transition-normal), opacity var(--transition-normal);
        z-index: 999;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.15rem;
        font-weight: 600;
        display: block;
        padding: 0.6rem 0;
    }

    .nav-links a::after {
        display: none;
    }

    /* Hero 首頁 */
    .hero {
        padding-top: 160px;
        padding-bottom: 60px;
        height: auto;
        min-height: 100vh;
        margin-bottom: -5px;
        /* 👇 在此處加入/調整以下背景設定： */
        background-size: auto 100%;
        /* 👈 控制底圖縮放比例（可改 120%、100%、或 contain） */
        background-position: center 70%;
        /* 👈 控制底圖對齊焦點（例如 center top、center 20%） */
    }

    .hero-container {
        flex-direction: column;
        align-items: center;
        padding: 0 24px;
        gap: 2rem;
    }

    .hero-content {
        width: 100%;
        max-width: 500px;
        text-align: left;
        margin-top: 300px !important;
        padding-left: 20px;
    }

    .hero-brand {
        margin-bottom: 2rem;
        display: flex;
        justify-content: flex-start;
        transform: none;
    }

    .hero-brand img {
        height: 44px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-en {
        font-size: 0.95rem;
        letter-spacing: 2px;
        margin-bottom: 0;
    }

    .hero-btn-desktop {
        display: none !important;
    }

    .hero-image {
        display: none !important;
    }

    .hero-btn-mobile {
        display: flex !important;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: 0.5rem;
        position: relative;
        z-index: 3;
    }

    /* Section 02 Cloud */
    .cloud-section {
        background-attachment: scroll !important;
        margin-top: -5px;
        z-index: 2;
    }

    /* Section 04 Molecule */
    .molecule-section {
        min-height: 750px;
        height: auto;
        padding: 20px 0;
        background-position: center 0;
        background-size: cover;
    }

    .molecule-container {
        padding-top: 50px;
        /* 👈 數值越大，整體越往下降 */
    }

    .molecule-title {
        font-size: 1.95rem;
    }

    .molecule-features {
        gap: 1.5rem;
        margin-top: 280px;
    }

    .feature-title {
        font-size: 1.15rem;
    }

    .feature-desc {
        font-size: 0.95rem;
    }

    /* Section 05 Zigzag */
    .zigzag-row,
    .zigzag-row-reverse {
        flex-direction: column-reverse;
        height: auto;
    }

    .zigzag-text-box {
        width: 100%;
        flex: none;
        padding: 3.5rem 1.8rem;
        height: auto;
    }

    .zigzag-img-box {
        width: 100%;
        flex: none;
        height: 340px;
    }


    /* Section 07 Product Showcase */
    .product-showcase,
    .product-showcase.reverse {
        flex-direction: column;
        min-height: auto;
        gap: 0;
        margin-bottom: 0;
    }

    .showcase-info,
    .showcase-img {
        width: 100%;
        flex: none;
    }

    .product-showcase:not(.reverse) .showcase-info,
    .product-showcase.reverse .showcase-info {
        padding: 3.5rem 2rem;
        justify-content: center;
    }

    .showcase-info-inner {
        max-width: 540px;
    }

    .showcase-img {
        height: 340px;
        min-height: auto;
    }

    .showcase-img::before {
        display: none !important;
    }

    .showcase-title {
        font-size: 1.95rem;
    }

    /* Section 08 Audience */
    .audience-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    /* Section 09 Specs Fullwidth (手機/平板: 上文 下圖) */
    .specs-section-header {
        padding-top: var(--spacing-section-md);
        padding-bottom: 1rem;
    }

    .spec-block,
    .spec-block.spec-block-reverse {
        flex-direction: column !important;
        width: 100%;
        min-height: auto;
    }

    .spec-text-box,
    .spec-img-box {
        width: 100%;
        flex: none;
    }

    .spec-text-box {
        padding: 3.5rem 1.8rem;
    }

    .spec-card {
        max-width: 100%;
    }

    .spec-img-box {
        height: 320px;
        min-height: auto;
    }

    /* Section 10 Specs Overview */
    .specs-main-grid {
        flex-direction: column-reverse !important;
        gap: 3rem;
    }

    .specs-tables-wrap,
    .specs-product-visual {
        width: 100%;
    }

    .specs-main-img {
        max-width: 100%;
    }

    .specs-disclaimer {
        justify-content: center;
        text-align: center;
    }

    .specs-main-title {
        font-size: 1.95rem;
    }

    .specs-title-line {
        width: 220px;
    }

    .mobile-br {
        display: block;
    }
}

/* 768px (手機直立版) */
@media (max-width: 768px) {
    .section {
        padding: var(--spacing-section-sm) 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .mobile-block {
        display: block;
    }

    .mobile-break {
        display: block;
    }

    .hero {
        background-size: auto 95%;
        /* 稍微放大高度/寬度，增加左右裁切的可滑動空間 */
        background-position: 75% top;
        /* 往左移顯示右側主體 */
    }

    /* Section 02 Cloud */
    .cloud-section {
        background-attachment: scroll !important;
        background-position: center 30%;
        min-height: 420px;
        padding: 3.5rem 1.5rem;
        margin-top: -48px;
        z-index: 2;
    }

    .cloud-content h2 {
        font-size: 2.3rem;
        line-height: 1.35;
    }

    .cloud-content h3 {
        font-size: 1.35rem;
    }

    .cloud-content p {
        font-size: 0.95rem;
        line-height: 1.85;
    }

    /* Section 03 Benefits */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Section 04 Molecule */
    .molecule-section {
        min-height: auto;
        padding: 30px 15px;
        /* 上下內距 */
    }

    .molecule-header {
        padding-top: 10px;
        /* 👈【加入這行】：覆蓋桌機的 200px，大幅減少頂部留白 */
    }

    .molecule-divider {
        width: 390px;
        /* 👈 手機直立版上的專屬長度 */

    }

    .molecule-features {
        flex-direction: column;
        gap: 1.4rem;
        margin-top: 360px;
    }

    .molecule-sep {
        display: none;
    }

    .molecule-feature-item {
        width: 100%;
    }

    /* Section 06 Break Mountain */
    .break-mountain {
        background-attachment: scroll;
        background-position: center top;
        min-height: 420px;
        padding: 3.5rem 1.5rem;
    }

    .break-section h2 {
        font-size: 2.2rem;
        line-height: 1.35;
    }

    .break-section p {
        font-size: 0.95rem;
        line-height: 1.85;
    }

    /* 調整 Section 08 頂部留白 */
    .audience-section {
        padding-top: 120px;
        /* 數值調大（如 80px ~ 120px），標題與上方區塊的空間就會變大 */
        padding-bottom: 50px;
        /* 下方留白 */
    }

    /* Section 08 專屬橫線獨立調整 */
    .audience-section .section-divider {
        width: 240px;
        height: 2px;
        background-color: #64748b;
        margin: 12px auto 14px;
        border-radius: 2px;
    }

    /* Section 09 專屬橫線獨立調整 */
    .specs-section-header .section-divider {
        width: 210px;
        height: 2px;
        background-color: #64748b;
        margin: 10px auto 14px;
        border-radius: 2px;
    }


    /* Footer */
    .footer-title-group {
        gap: 0.6rem;
    }

    .footer-logo-img {
        height: 32px;
    }

    .footer-slogan {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }

    .footer-en-sub {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }

    .footer-bottom-bar {
        padding: 1.2rem 1rem;
    }

    .copyright-text {
        font-size: 0.75rem;
        line-height: 1.6;
    }
}

/* 576px (小型手機) */
@media (max-width: 576px) {
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero-title {
        font-size: 2.15rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .hero-en {
        font-size: 0.8rem;
    }

    /* Section 08 卡片手機優化 */
    .audience-card {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        height: auto !important;
        border-radius: var(--radius-md);
    }

    .audience-card-text {
        width: 100% !important;
        flex: none !important;
        height: auto !important;
        padding: 1.6rem 1.2rem !important;
        gap: 0.8rem;
    }

    .card-text-top h4 {
        font-size: 1.4rem !important;
        margin-bottom: 0.3rem;
    }

    .card-text-top .card-tag {
        font-size: 1.15rem !important;
    }

    .card-icon-wrapper {
        width: 56px !important;
        height: 56px !important;
        margin: 0 !important;
    }

    .card-icon {
        width: 56px !important;
        height: 56px !important;
    }

    .audience-card-img {
        width: 100% !important;
        height: 280px !important;
    }

    .spec-badge {
        font-size: 1.1rem;
        padding: 5px 16px;
    }

    .spec-list li {
        font-size: 0.88rem;
        line-height: 1.95;
    }

    .spec-col-label {
        width: 90px;
        font-size: 0.88rem;
    }

    .spec-col-val {
        font-size: 0.88rem;
    }
}