@charset "UTF-8";

/* ---------------------------------------------------------
   1. 全域設定
   --------------------------------------------------------- */
:root {
    --ai-primary: #287fc4;
    --ai-primary-dark: #1e5f9c;
    --ai-primary-light: #eaf5ff;
    --ai-secondary: #42bdca;
    --ai-navy: #0f1835;
    --ai-navy-light: #172044;
    --ai-text: #252b36;
    --ai-text-muted: #667085;
    --ai-border: #e4e9f2;
    --ai-bg-light: #f7f9fd;
    --ai-white: #ffffff;
    --ai-shadow-sm: 0 12px 30px rgba(41, 67, 120, 0.08);
    --ai-shadow-md: 0 20px 50px rgba(41, 67, 120, 0.13);
    --ai-radius-sm: 1rem;
    --ai-radius-md: 1.5rem;
    --ai-radius-lg: 2rem;
    --navbar-height: 92px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--navbar-height) + 10px);
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ai-text);
    background: var(--ai-white);
    font-family:
        "Noto Sans TC",
        "Microsoft JhengHei",
        "PingFang TC",
        Arial,
        sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

a,
button {
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(40, 127, 196, 0.38);
    outline-offset: 3px;
}

section {
    scroll-margin-top: 0;
}

.text-green {
    color: var(--ai-primary) !important;
}

.text-gradient {
    color: var(--ai-primary);
    background: linear-gradient(135deg, var(--ai-primary), var(--ai-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rounded-4 {
    border-radius: 1.35rem !important;
}

/* ---------------------------------------------------------
   2. 共用按鈕
   --------------------------------------------------------- */
.btn {
    font-weight: 700;
}

.btn-green {
    border: 1px solid var(--ai-primary);
    color: var(--ai-white);
    background: var(--ai-primary);
}

.btn-green:hover,
.btn-green:focus {
    border-color: var(--ai-primary-dark);
    color: var(--ai-white);
    background: var(--ai-primary-dark);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: var(--ai-primary);
    color: var(--ai-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    border-color: var(--ai-primary);
    color: var(--ai-white);
    background: var(--ai-primary);
    transform: translateY(-2px);
}

/* ---------------------------------------------------------
   3. 固定導覽列
   --------------------------------------------------------- */
#mainNav {
    min-height: var(--navbar-height);
    border-bottom: 1px solid rgba(29, 59, 104, 0.08);
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

#mainNav .container {
    min-height: var(--navbar-height);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-brand img {
    display: block;
    width: auto;
    max-width: 330px;
    height: 58px;
    object-fit: contain;
}

#mainNav .nav-link {
    position: relative;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    color: #5d6471;
    font-weight: 700;
    white-space: nowrap;
}

#mainNav .nav-link::after {
    content: "";
    position: absolute;
    right: 0.75rem;
    bottom: 0.45rem;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--ai-primary);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.2s ease;
}

#mainNav .nav-link:hover,
#mainNav .nav-link:focus {
    color: var(--ai-primary);
}

#mainNav .nav-link:hover::after,
#mainNav .nav-link:focus::after {
    transform: scaleX(1);
}

.navbar-toggler {
    border: 1px solid rgba(40, 127, 196, 0.3);
    color: var(--ai-primary);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(40, 127, 196, 0.18);
}

.navbar-toggler .bi-list {
    font-size: 1.75rem;
}

/* ---------------------------------------------------------
   4. 首頁 Hero
   --------------------------------------------------------- */
.masthead {
    position: relative;
    overflow: visible;
    min-height: auto;
    padding-top: calc(var(--navbar-height) + 1.25rem);
    padding-bottom: 2.75rem;
    background:
        radial-gradient(circle at 88% 12%, rgba(92, 174, 255, 0.11), transparent 26rem),
        linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.masthead .row {
    align-items: center;
}

.masthead h1 {
    color: #23272f;
    letter-spacing: -0.04em;
}

.masthead h1 .text-nowrap {
    white-space: nowrap;
}

.masthead .lead {
    max-width: 620px;
    color: #687386 !important;
    font-size: 1.15rem;
    line-height: 1.9;
}

/* ---------------------------------------------------------
   5. Hero 右側 AI 主視覺
   --------------------------------------------------------- */
.hero-ai-visual {
    position: relative;
    width: 100%;
    height: clamp(570px, 38vw, 620px);
    min-height: 570px;
    margin-top: 0;
    isolation: isolate;
}

/* 往下配置的淺藍背景 */
.hero-ai-visual__panel {
    position: absolute;
    z-index: 0;
    top: 78px;
    right: 0;
    bottom: 10px;
    left: 17%;
    overflow: hidden;
    border-radius: 42px;
    background:
        radial-gradient(circle at 14% 24%, rgba(255, 255, 255, 0.95) 0 5px, transparent 6px),
        radial-gradient(circle at 75% 13%, rgba(255, 255, 255, 0.7) 0 4px, transparent 5px),
        radial-gradient(circle at 89% 35%, rgba(255, 255, 255, 0.55) 0 3px, transparent 4px),
        linear-gradient(145deg, #f0f8ff 0%, #dceeff 54%, #cfe8ff 100%);
    box-shadow: 0 28px 70px rgba(57, 112, 180, 0.14);
}

.hero-ai-visual__panel::before,
.hero-ai-visual__panel::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-ai-visual__panel::before {
    width: 360px;
    height: 360px;
    left: -90px;
    bottom: -120px;
    border: 58px solid rgba(75, 169, 255, 0.16);
}

.hero-ai-visual__panel::after {
    width: 220px;
    height: 220px;
    right: -70px;
    top: -80px;
    background: rgba(255, 255, 255, 0.3);
}

/* 左上使用者 icon */
.hero-ai-avatar {
    position: absolute;
    z-index: 4;
    top: 30px;
    left: 10%;
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: var(--ai-white);
    background: linear-gradient(145deg, #7ee2ff, #36aaf3);
    box-shadow:
        0 15px 35px rgba(63, 165, 232, 0.28),
        0 0 0 9px rgba(255, 255, 255, 0.24);
}

.hero-ai-avatar i {
    font-size: 3rem;
    line-height: 1;
}

/* 自訂機器人圖片 */
.hero-ai-robot {
    position: absolute;
    z-index: 2;
    left: 8%;
    bottom: 10px;
    width: min(52%, 390px);
    transform-origin: center bottom;
}

.hero-ai-robot img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 24px 25px rgba(29, 89, 150, 0.18));
}

/* 對話框 */
.hero-ai-bubble {
    position: absolute;
    z-index: 5;
    width: min(42%, 280px);
    padding: 20px 22px 15px;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(35, 87, 150, 0.14);
    animation: heroBubbleFloat 4.2s ease-in-out infinite;
    will-change: transform;
}

.hero-ai-bubble::after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 30px;
    width: 20px;
    height: 20px;
    border-radius: 3px;
    background: inherit;
    transform: rotate(45deg);
}

.hero-ai-bubble p {
    position: relative;
    z-index: 1;
    margin: 0 0 7px;
    font-size: clamp(1rem, 1.25vw, 1.3rem);
    font-weight: 700;
    line-height: 1.5;
}

.hero-ai-bubble__time {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    font-size: 0.78rem;
}

.hero-ai-bubble--welcome {
    top: 64px;
    right: 2%;
    color: var(--ai-white);
    background: linear-gradient(145deg, #57adff, #347de9);
    animation-delay: 0s;
}

.hero-ai-bubble--welcome .hero-ai-bubble__time {
    color: rgba(255, 255, 255, 0.82);
}

.hero-ai-bubble--question {
    top: 45%;
    right: -3%;
    color: #20355f;
    background: rgba(255, 255, 255, 0.96);
    animation-delay: -1.25s;
}

.hero-ai-bubble--question .hero-ai-bubble__time {
    color: #8ca2c1;
}

.hero-ai-bubble--answer {
    right: 0%;
    bottom: 58px;
    color: #ffffff;
    background: linear-gradient(145deg, #57adff, #347de9);
    animation-delay: -2.5s;
}

.hero-ai-bubble--answer .hero-ai-bubble__time {
    color: #ffffff;
}

@keyframes heroBubbleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

/* ---------------------------------------------------------
   6. 共用小標題
   --------------------------------------------------------- */
.ai-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
    color: var(--ai-primary);
    font-size: 0.8rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ai-section-kicker::before {
    content: "";
    width: 2rem;
    height: 2px;
    background: currentColor;
}

/* ---------------------------------------------------------
   7. 導入前挑戰區
   --------------------------------------------------------- */
.ai-reality {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0;
    color: var(--ai-text);
    background:
        radial-gradient(circle at 8% 88%,
            rgba(66, 189, 202, 0.10) 0,
            rgba(66, 189, 202, 0.10) 14rem,
            transparent 14.1rem),
        radial-gradient(circle at 92% 8%,
            rgba(40, 127, 196, 0.09) 0,
            rgba(40, 127, 196, 0.09) 16rem,
            transparent 16.1rem),
        linear-gradient(135deg,
            #eef7ff 0%,
            #f7fbff 52%,
            #edf6ff 100%);
}

.ai-reality::before {
    content: none;
}

.ai-reality::after {
    content: none;
}

.ai-reality__inner {
    position: relative;
    z-index: 1;
}

.ai-reality__heading {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 4rem;
    align-items: end;
    margin-bottom: 3.5rem;
}

.ai-reality__heading h2 {
    margin: 0;
    color: var(--ai-navy-light);
}

.ai-reality__heading p {
    margin: 0;
    color: var(--ai-text-muted);
    line-height: 1.9;
}

.ai-reality__eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--ai-primary);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ai-reality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.ai-reality-card {
    position: relative;
    min-height: 250px;
    padding: 1.6rem;
    border: 1px solid rgba(40, 127, 196, 0.14);
    border-radius: 1.65rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 42px rgba(45, 91, 145, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.ai-reality-card:hover {
    transform: translateY(-6px);
    border-color: rgba(40, 127, 196, 0.3);
    box-shadow: 0 24px 52px rgba(45, 91, 145, 0.13);
}

.ai-reality-card__number {
    display: block;
    margin-bottom: 1.4rem;
    color: rgba(40, 127, 196, 0.2);
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
}

.ai-reality-card__icon {
    display: grid;
    place-items: center;
    width: 3.1rem;
    height: 3.1rem;
    margin-bottom: 1.2rem;
    border-radius: 0.9rem;
    color: var(--ai-white);
    background: linear-gradient(135deg, var(--ai-primary), var(--ai-secondary));
    box-shadow: 0 10px 24px rgba(40, 127, 196, 0.18);
}

.ai-reality-card h3 {
    margin-bottom: 0.8rem;
    color: var(--ai-navy-light);
    font-size: 1.25rem;
    font-weight: 800;
}

.ai-reality-card p {
    margin: 0;
    color: var(--ai-text-muted);
    line-height: 1.8;
}

/* ---------------------------------------------------------
   8. 核心功能區
   --------------------------------------------------------- */
#features {
    position: relative;
    background:
        radial-gradient(circle at 10% 10%, rgba(78, 180, 223, 0.08), transparent 20rem),
        var(--ai-white);
}

#features>.container {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

#features h2 {
    color: var(--ai-navy-light);
}

#features .col>div {
    border: 1px solid var(--ai-border);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

#features .col>div:hover {
    transform: translateY(-7px);
    border-color: rgba(40, 127, 196, 0.25);
    box-shadow: var(--ai-shadow-md) !important;
}

.icon-box {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
}

.icon-feature {
    font-size: 2.3rem;
    line-height: 1;
}

/* ---------------------------------------------------------
   9. AI 與真人分工區
   --------------------------------------------------------- */
.ai-controlled {
    padding: 7rem 0;
    background:
        radial-gradient(circle at 85% 16%, rgba(92, 118, 230, 0.11), transparent 22rem),
        var(--ai-bg-light);
}

.ai-controlled__layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
    gap: 5rem;
    align-items: start;
}

.ai-controlled__summary {
    position: sticky;
    top: calc(var(--navbar-height) + 2rem);
}

.ai-controlled__summary h2 {
    color: var(--ai-navy-light);
}

.ai-controlled__summary p {
    color: var(--ai-text-muted);
    line-height: 1.9;
}

.ai-controlled__quote {
    margin-top: 0.5rem;
    padding: 1.4rem 1.5rem;
    border-left: 4px solid var(--ai-primary);
    border-radius: 0 1rem 1rem 0;
    color: #35405f;
    background: var(--ai-white);
    box-shadow: var(--ai-shadow-sm);
    font-weight: 750;
    line-height: 1.8;
}

.ai-controlled-list {
    display: grid;
    gap: 1.25rem;
}

.ai-controlled-item {
    display: grid;
    grid-template-columns: 5.2rem minmax(0, 1fr);
    gap: 1.35rem;
    padding: 1.65rem;
    border: 1px solid var(--ai-border);
    border-radius: 1.5rem;
    background: var(--ai-white);
    box-shadow: 0 16px 42px rgba(47, 62, 123, 0.07);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.ai-controlled-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--ai-shadow-md);
}

.ai-controlled-item__mark {
    display: grid;
    place-items: center;
    width: 5.2rem;
    height: 5.2rem;
    border-radius: 1.25rem;
    color: var(--ai-white);
    background: linear-gradient(145deg, #5369d5, #48b9c9);
    font-size: 1.6rem;
}

.ai-controlled-item__kicker {
    display: inline-block;
    margin-bottom: 0.45rem;
    color: var(--ai-primary);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.09em;
}

.ai-controlled-item h3 {
    margin-bottom: 0.7rem;
    color: var(--ai-navy-light);
    font-size: 1.3rem;
    font-weight: 800;
}

.ai-controlled-item p {
    margin-bottom: 0.9rem;
    color: var(--ai-text-muted);
    line-height: 1.8;
}

.ai-controlled-item ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ai-controlled-item li {
    padding: 0.45rem 0.7rem;
    border-radius: 0.7rem;
    color: #55607a;
    background: #f0f3fa;
    font-size: 0.78rem;
    font-weight: 650;
}

/* ---------------------------------------------------------
   10. 實際應用情境
   --------------------------------------------------------- */
.ai-scenes {
    padding: 7rem 0;
    background: var(--ai-white);
}

.ai-scenes__head {
    max-width: 820px;
    margin: 0 auto 4rem;
    text-align: center;
}

.ai-scenes__head h2 {
    color: var(--ai-navy-light);
}

.ai-scenes__head .ai-section-kicker {
    justify-content: center;
}

.ai-scenes__head p {
    color: var(--ai-text-muted);
    line-height: 1.9;
}

.ai-scene-list {
    display: grid;
    gap: 2rem;
}

.ai-scene {
    display: grid;
    grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.28fr);
    overflow: hidden;
    border: 1px solid var(--ai-border);
    border-radius: 1.8rem;
    background: #f9faff;
    box-shadow: 0 18px 48px rgba(48, 61, 119, 0.07);
}

.ai-scene:nth-child(even) {
    grid-template-columns: minmax(0, 1.28fr) minmax(270px, 0.72fr);
}

.ai-scene:nth-child(even) .ai-scene__visual {
    order: 2;
}

.ai-scene__visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 330px;
    padding: 2rem;
    overflow: hidden;
    color: var(--ai-white);
    background: linear-gradient(145deg, #14204a, #263e7e);
}

.ai-scene__visual::before {
    content: "";
    position: absolute;
    width: 13rem;
    height: 13rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.ai-scene__visual::after {
    content: "";
    position: absolute;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    background: rgba(81, 203, 214, 0.16);
}

.ai-scene__visual-icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 7rem;
    height: 7rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.1);
    font-size: 3rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ai-scene__content {
    padding: 2.5rem 2.75rem;
}

.ai-scene__label {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    color: var(--ai-primary-dark);
    background: var(--ai-primary-light);
    font-size: 0.76rem;
    font-weight: 800;
}

.ai-scene h3 {
    margin-bottom: 0.8rem;
    color: var(--ai-navy-light);
    font-size: 1.6rem;
    font-weight: 850;
}

.ai-scene__intro {
    margin-bottom: 1.4rem;
    color: var(--ai-text-muted);
    line-height: 1.85;
}

.ai-role-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

.ai-role {
    padding: 1rem;
    border: 1px solid var(--ai-border);
    border-radius: 1rem;
    background: var(--ai-white);
}

.ai-role strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #263256;
    font-size: 0.9rem;
}

.ai-role span {
    color: #6b7388;
    font-size: 0.82rem;
    line-height: 1.65;
}

/* ---------------------------------------------------------
   11. FAQ
   --------------------------------------------------------- */
.ai-faq {
    padding: 7rem 0;
    background: var(--ai-bg-light);
}

.ai-faq__layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
    gap: 4.5rem;
    align-items: start;
}

.ai-faq__intro {
    position: sticky;
    top: calc(var(--navbar-height) + 2rem);
}

.ai-faq__intro h2 {
    color: var(--ai-navy-light);
}

.ai-faq__intro p {
    color: var(--ai-text-muted);
    line-height: 1.9;
}

.ai-faq .accordion-item {
    overflow: hidden;
    margin-bottom: 0.9rem;
    border: 1px solid var(--ai-border);
    border-radius: 1rem !important;
    background: var(--ai-white);
}

.ai-faq .accordion-button {
    padding: 1.25rem 1.4rem;
    color: #253052;
    background: var(--ai-white);
    box-shadow: none;
    font-weight: 800;
    line-height: 1.6;
}

.ai-faq .accordion-button:not(.collapsed) {
    color: var(--ai-primary-dark);
    background: #eef5ff;
}

.ai-faq .accordion-button:focus {
    border-color: transparent;
    box-shadow: 0 0 0 0.25rem rgba(40, 127, 196, 0.14);
}

.ai-faq .accordion-body {
    padding: 0 1.4rem 1.35rem;
    color: var(--ai-text-muted);
    line-height: 1.85;
}

/* ---------------------------------------------------------
   12. 聯絡我們
   --------------------------------------------------------- */
.contact-section {
    position: relative;
    overflow: hidden;
    color: var(--ai-white);
    background:
        radial-gradient(circle at 10% 10%, rgba(123, 225, 228, 0.2), transparent 18rem),
        linear-gradient(120deg, #1b4f88 0%, #287fc4 55%, #2f9fb0 100%);
}

.contact-section>.container {
    position: relative;
    z-index: 1;
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.contact-title,
.contact-text {
    color: var(--ai-white);
}

.contact-text {
    color: rgba(255, 255, 255, 0.82) !important;
}

.contact-section a {
    display: block;
    color: var(--ai-white);
}

.contact-section a:hover,
.contact-section a:focus {
    color: var(--ai-white);
    transform: translateY(-3px);
}

.contact-icon-box {
    margin: 0 auto 1rem;
    color: var(--ai-primary);
    background: var(--ai-white);
    box-shadow: 0 14px 35px rgba(10, 43, 82, 0.2);
}

.contact-icon {
    color: var(--ai-primary);
    -webkit-text-fill-color: initial;
    background: none;
}

.contact-item-title {
    margin-bottom: 0.35rem;
    color: var(--ai-white);
    font-size: 1.1rem;
    font-weight: 800;
}

.contact-item-text {
    color: rgba(255, 255, 255, 0.82);
}

/* ---------------------------------------------------------
   13. Footer
   --------------------------------------------------------- */
footer.bg-black {
    background: #080d1a !important;
}

/* ---------------------------------------------------------
   14. RWD：大型桌機以下
   --------------------------------------------------------- */
@media (max-width: 1399.98px) {
    .navbar-brand img {
        max-width: 285px;
        height: 52px;
    }

    #mainNav .nav-link {
        padding-right: 0.45rem;
        padding-left: 0.45rem;
        font-size: 0.94rem;
    }

    .masthead h1 {
        font-size: clamp(3rem, 4vw, 4rem);
    }

    .hero-ai-visual {
        height: 570px;
        min-height: 570px;
    }

    .hero-ai-visual__panel {
        left: 11%;
    }

    .hero-ai-robot {
        left: 6%;
        width: min(52%, 370px);
    }

    .hero-ai-bubble {
        width: min(43%, 260px);
    }
}

/* ---------------------------------------------------------
   15. RWD：小型桌機／橫向平板
   --------------------------------------------------------- */
@media (max-width: 1199.98px) {
    :root {
        --navbar-height: 82px;
    }

    #mainNav .container {
        padding-right: 1.5rem !important;
        padding-left: 1.5rem !important;
    }

    .navbar-brand img {
        max-width: 240px;
        height: 47px;
    }

    #mainNav .navbar-nav {
        margin-right: 0.75rem !important;
    }

    #mainNav .nav-link {
        margin-right: 0.35rem !important;
        padding-right: 0.3rem;
        padding-left: 0.3rem;
        font-size: 0.88rem;
    }

    .masthead {
        padding-top: calc(var(--navbar-height) + 1rem);
        padding-bottom: 2.5rem;
    }

    .masthead .container {
        padding-right: 1.5rem !important;
        padding-left: 1.5rem !important;
    }

    .masthead h1 {
        font-size: clamp(2.7rem, 4.2vw, 3.4rem);
    }

    .masthead .lead {
        font-size: 1.04rem;
        line-height: 1.8;
    }

    .hero-ai-visual {
        height: 535px;
        min-height: 535px;
    }

    .hero-ai-visual__panel {
        top: 72px;
        left: 7%;
    }

    .hero-ai-robot {
        left: 3%;
        bottom: 10px;
        width: min(51%, 340px);
    }

    .hero-ai-robot img {
        max-height: 410px;
    }

    .hero-ai-bubble {
        width: min(44%, 235px);
        padding: 17px 18px 13px;
        border-radius: 21px;
    }

    .hero-ai-bubble p {
        font-size: 1rem;
    }

    .hero-ai-bubble--welcome {
        top: 56px;
        right: 0;
    }

    .hero-ai-bubble--question {
        top: 42%;
        right: -2%;
    }

    .hero-ai-bubble--answer {
        right: 0;
        bottom: 48px;
    }

    .ai-reality__heading,
    .ai-controlled__layout,
    .ai-faq__layout {
        gap: 3rem;
    }

    .ai-reality-card {
        padding: 1.45rem;
    }

    .ai-controlled__layout {
        grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
    }
}

/* ---------------------------------------------------------
   16. RWD：平板直向
   --------------------------------------------------------- */
@media (max-width: 991.98px) {
    :root {
        --navbar-height: 76px;
    }

    #mainNav,
    #mainNav .container {
        min-height: var(--navbar-height);
    }

    #mainNav .container {
        padding-right: 1.25rem !important;
        padding-left: 1.25rem !important;
    }

    .navbar-brand img {
        max-width: 230px;
        height: 45px;
    }

    #navbarResponsive {
        max-height: calc(100vh - var(--navbar-height));
        margin-top: 0.5rem;
        padding: 0.5rem 0 1rem;
        overflow-y: auto;
        border-top: 1px solid var(--ai-border);
        background: rgba(255, 255, 255, 0.99);
    }

    #mainNav .navbar-nav {
        margin: 0 !important;
    }

    #mainNav .nav-link {
        margin-right: 0 !important;
        padding: 0.72rem 0.4rem;
        font-size: 1rem;
    }

    #mainNav .nav-link::after {
        display: none;
    }

    #mainNav .btn-green {
        display: inline-flex;
        margin-top: 0.35rem;
    }

    .masthead {
        padding-top: calc(var(--navbar-height) + 2.25rem);
        padding-bottom: 3.5rem;
    }

    .masthead .container {
        padding-right: 1.5rem !important;
        padding-left: 1.5rem !important;
    }

    .masthead h1 {
        font-size: clamp(2.8rem, 7vw, 4rem);
    }

    .masthead h1 .text-nowrap {
        white-space: normal;
    }

    .masthead .lead {
        max-width: 700px;
        margin-right: auto;
        margin-left: auto;
    }

    .masthead .d-flex {
        justify-content: center;
    }

    .hero-ai-visual {
        width: min(100%, 720px);
        height: 620px;
        min-height: 620px;
        margin: 1.5rem auto 0;
    }

    .hero-ai-visual__panel {
        top: 90px;
        right: 2%;
        bottom: 12px;
        left: 2%;
    }

    .hero-ai-robot {
        left: 5%;
        bottom: 12px;
        width: min(53%, 380px);
    }

    .hero-ai-robot img {
        max-height: 445px;
    }

    .hero-ai-bubble {
        width: min(42%, 265px);
    }

    .hero-ai-bubble--welcome {
        top: 64px;
        right: 4%;
    }

    .hero-ai-bubble--question {
        top: 37%;
        right: 1%;
    }

    .hero-ai-bubble--answer {
        right: 4%;
        bottom: 52px;
    }

    .ai-reality,
    .ai-controlled,
    .ai-scenes,
    .ai-faq {
        padding: 5rem 0;
    }

    .ai-reality__heading,
    .ai-controlled__layout,
    .ai-faq__layout {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .ai-reality__heading {
        align-items: start;
    }

    .ai-reality-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ai-reality-card:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 0.625rem);
        justify-self: center;
    }

    .ai-controlled__summary,
    .ai-faq__intro {
        position: static;
    }

    .ai-controlled__summary {
        max-width: 760px;
    }

    .ai-controlled-item {
        grid-template-columns: 4.6rem minmax(0, 1fr);
    }

    .ai-controlled-item__mark {
        width: 4.6rem;
        height: 4.6rem;
    }

    .ai-faq__intro {
        max-width: 720px;
    }

    .contact-section .col-lg-8>.d-flex {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}

/* ---------------------------------------------------------
   17. RWD：大型手機／小型平板
   --------------------------------------------------------- */
@media (max-width: 767.98px) {
    :root {
        --navbar-height: 72px;
    }

    html {
        scroll-padding-top: calc(var(--navbar-height) + 8px);
    }

    .navbar-brand img {
        max-width: 205px;
        height: 41px;
    }

    .masthead {
        padding-top: calc(var(--navbar-height) + 1.75rem);
        padding-bottom: 3rem;
    }

    .masthead .container,
    .ai-reality .container,
    #features>.container,
    .ai-controlled .container,
    .ai-faq .container,
    .contact-section .container,
    footer .container {
        padding-right: 1.15rem !important;
        padding-left: 1.15rem !important;
    }

    .masthead h1 {
        font-size: clamp(2.35rem, 9vw, 3.2rem);
        line-height: 1.18 !important;
    }

    .masthead .lead {
        margin-bottom: 2rem !important;
        font-size: 1rem;
        line-height: 1.8;
    }

    .masthead .d-flex .btn {
        width: min(100%, 290px);
        margin-right: 0 !important;
    }

    .hero-ai-visual {
        height: 555px;
        min-height: 555px;
        margin-top: 0.75rem;
    }

    .hero-ai-visual__panel {
        top: 78px;
        right: 0;
        bottom: 12px;
        left: 0;
        border-radius: 30px;
    }

    .hero-ai-robot {
        left: 0;
        bottom: 12px;
        width: 57%;
    }

    .hero-ai-robot img {
        max-height: 380px;
    }

    .hero-ai-bubble {
        width: 47%;
        padding: 14px 15px 11px;
        border-radius: 18px;
    }

    .hero-ai-bubble::after {
        bottom: -6px;
        left: 22px;
        width: 16px;
        height: 16px;
    }

    .hero-ai-bubble p {
        margin-bottom: 5px;
        font-size: 0.92rem;
        line-height: 1.45;
    }

    .hero-ai-bubble__time {
        font-size: 0.7rem;
    }

    .hero-ai-bubble--welcome {
        top: 52px;
        right: 1%;
    }

    .hero-ai-bubble--question {
        top: 35%;
        right: 0;
    }

    .hero-ai-bubble--answer {
        right: 1%;
        bottom: 44px;
    }

    .ai-reality__heading {
        margin-bottom: 2rem;
    }

    .ai-reality__heading h2,
    #features h2,
    .ai-controlled__summary h2,
    .ai-faq__intro h2 {
        font-size: clamp(2rem, 7vw, 2.65rem);
    }

    .ai-reality-grid {
        grid-template-columns: 1fr;
    }

    .ai-reality-card:last-child {
        grid-column: auto;
        width: auto;
    }

    .ai-reality-card {
        min-height: 0;
    }

    #features>.container {
        padding-top: 4.5rem !important;
        padding-bottom: 4.5rem !important;
    }

    #features .row.mb-5 {
        margin-bottom: 2rem !important;
    }

    .ai-controlled-item {
        grid-template-columns: 1fr;
        padding: 1.35rem;
    }

    .ai-controlled-item__mark {
        width: 4rem;
        height: 4rem;
        border-radius: 1rem;
        font-size: 1.35rem;
    }

    .ai-controlled-item ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ai-faq .accordion-button {
        padding: 1.05rem 1.1rem;
        font-size: 0.96rem;
    }

    .ai-faq .accordion-body {
        padding: 0 1.1rem 1.15rem;
    }

    .contact-section>.container {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    .contact-section .col-lg-8>.d-flex {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .contact-section .text-center.mb-3 {
        margin-bottom: 0 !important;
    }

    .contact-section a {
        padding: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 1.2rem;
        background: rgba(255, 255, 255, 0.06);
    }

    .contact-item-text {
        overflow-wrap: anywhere;
    }

    footer {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
}

/* ---------------------------------------------------------
   18. RWD：手機
   --------------------------------------------------------- */
@media (max-width: 575.98px) {

    /* 手機版左側文案區往下 */
    .masthead .col-lg-5 {
        padding-top: 2.5rem;
    }


    :root {
        --navbar-height: 68px;
    }

    #mainNav .container {
        padding-right: 0.85rem !important;
        padding-left: 0.85rem !important;
    }

    .navbar-brand img {
        max-width: 185px;
        height: 38px;
    }

    .navbar-toggler {
        padding: 0.32rem 0.55rem;
    }

    .masthead {
        padding-top: calc(var(--navbar-height) + 1.35rem);
        padding-bottom: 2.75rem;
    }

    .masthead h1 {
        margin-bottom: 1rem !important;
        font-size: clamp(2.15rem, 10.5vw, 2.8rem);
    }

    .hero-ai-visual {
        height: 500px;
        min-height: 500px;
    }

    .hero-ai-visual__panel {
        top: 68px;
        border-radius: 25px;
    }

    .hero-ai-visual__panel::before {
        width: 245px;
        height: 245px;
        left: -92px;
        bottom: -95px;
        border-width: 38px;
    }

    .hero-ai-visual__panel::after {
        width: 155px;
        height: 155px;
        right: -52px;
        top: -55px;
    }

    .hero-ai-robot {
        left: -2%;
        bottom: 12px;
        width: 58%;
    }

    .hero-ai-robot img {
        max-height: 325px;
    }

    .hero-ai-bubble {
        width: 49%;
        padding: 12px 13px 9px;
        border-radius: 16px;
    }

    .hero-ai-bubble p {
        font-size: 0.84rem;
    }

    .hero-ai-bubble--welcome {
        top: 118px;
        right: auto;
        left: 4%;
        width: 45%;
    }

    .hero-ai-bubble--question {
        top: 44%;
        right: 0;
        width: 44%;
    }

    .hero-ai-bubble--answer {
        right: 0;
        bottom: 38px;
        width: 49%;
    }

    .ai-reality,
    .ai-controlled,
    .ai-scenes,
    .ai-faq {
        padding: 4rem 0;
    }

    .ai-reality-card {
        padding: 1.35rem;
        border-radius: 1.25rem;
    }

    .ai-reality-card__number {
        margin-bottom: 1rem;
        font-size: 2rem;
    }

    .ai-reality-card__icon {
        width: 2.85rem;
        height: 2.85rem;
    }

    .ai-controlled-item ul {
        grid-template-columns: 1fr;
    }

    .ai-controlled-item li {
        width: 100%;
    }

    .ai-controlled__quote {
        padding: 1.1rem 1.2rem;
    }

    .contact-title {
        font-size: 1.75rem;
    }

    .contact-text {
        font-size: 1rem !important;
    }

    .contact-icon-box {
        width: 72px;
        height: 72px;
    }

    .contact-icon {
        font-size: 2rem;
    }
}

/* ---------------------------------------------------------
   19. RWD：窄螢幕手機
   --------------------------------------------------------- */
@media (max-width: 389.98px) {

    .masthead .col-lg-5 {
        padding-top: 2rem;
    }


    .navbar-brand img {
        max-width: 158px;
        height: 34px;
    }

    .masthead h1 {
        font-size: 2rem;
    }

    .masthead .lead {
        font-size: 0.94rem;
    }

    .hero-ai-visual {
        height: 465px;
        min-height: 465px;
    }

    .hero-ai-visual__panel {
        top: 62px;
    }

    .hero-ai-robot {
        left: -4%;
        width: 59%;
    }

    .hero-ai-robot img {
        max-height: 295px;
    }

    .hero-ai-bubble {
        width: 50%;
        padding: 10px 11px 8px;
    }

    .hero-ai-bubble p {
        font-size: 0.76rem;
    }

    .hero-ai-bubble__time {
        display: none;
    }

    .hero-ai-bubble--welcome {
        top: 110px;
        right: auto;
        left: 3%;
        width: 46%;
    }

    .hero-ai-bubble--question {
        top: 43%;
        right: -1%;
        width: 44%;
    }

    .hero-ai-bubble--answer {
        right: 0;
        bottom: 32px;
        width: 50%;
    }

    .ai-reality__heading h2,
    #features h2,
    .ai-controlled__summary h2,
    .ai-faq__intro h2 {
        font-size: 1.85rem;
    }

    .ai-section-kicker,
    .ai-reality__eyebrow {
        font-size: 0.7rem;
        letter-spacing: 0.08em;
    }
}

/* ---------------------------------------------------------
   20. 橫向手機
   --------------------------------------------------------- */
@media (max-width: 991.98px) and (orientation: landscape) and (max-height: 575px) {
    #navbarResponsive {
        max-height: calc(100vh - var(--navbar-height));
        overflow-y: auto;
    }
}

/* ---------------------------------------------------------
   21. 觸控裝置
   --------------------------------------------------------- */
@media (hover: none) {

    .ai-reality-card:hover,
    #features .col>div:hover,
    .ai-controlled-item:hover,
    .contact-section a:hover {
        transform: none;
    }
}

/* ---------------------------------------------------------
   22. 減少動畫偏好
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-ai-bubble {
        animation: none;
    }
}