html, body { /*撐滿*/
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    font-family: Arial, "LiHei Pro", "黑體-繁", "微軟正黑體", sans-serif;
    font-weight: 600;
    color: #2d3e57;
    line-height: 1.1;
    letter-spacing: 0.2em;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; 
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

header {
    position: fixed;  
    top: 0;
    left: 0;     
    width: 100%;      
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    box-sizing: border-box; 
}

main {
    background-color: #f5f9fd;
    padding-top: 80px;
    padding-bottom: 40px;
}

.top_header{
    display:flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    position: relative; /* 為了讓手機版選單可以絕對定位 */
}

.hamburger_bar {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger_bar .bar{
    width: 25px;
    height: 3px;
    background-color: rgb(165, 164, 164);
    transition: all 0.3s ease-in-out;
}

.top_header .Cyberhood_pic{
    height: 60px;
    width: auto;

}

.top_button{
    font-size: 18px;
    cursor: pointer;
    border: none;
    background-color: white;
    font-family: inherit; /* 繼承母體的字 */
}

.dropdown{
    position: relative;
    display: inline-block;
}

.dropdown .arrow{
    display: inline-block;
    transition: transform 0.4s ease;
}

.dropdown_content{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.15);
    border-radius: 6px;
    z-index: 1001;
    overflow: hidden;
    text-align: left;
}

.dropdown_content a {
    color: #2d3e57;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.dropdown_content a:hover {
    background-color: #f1f5f9;
    color: #123092;
}

.dropdown:hover .dropdown_content,
.dropdown.active .dropdown_content {
    display: block;
}

.dropdown:hover .arrow,
.dropdown.active .arrow {
    transform: rotate(180deg); /* 讓 ▼ 變成 ▲ */
}

.breadcrumb {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 30px 10px;
    font-size: 14px;
    color: #7b8798;
    margin: 30px 0px;
}

.breadcrumb a {
    color: #5c6d84;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #123092;
}

.bigger_text{
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    color: #46556b;
}

.title_section{
    padding: 20px 80px 50px;
    background-color: #ffffff;
}

.title_section p{
    text-align: center;
    font-size: 20px;
    font-weight: 500;
}

.top_pic{
    text-align: center;
    padding-bottom: 30px;
}

.inner_btn_section{
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;         
    justify-content: center;
}

.inner_btn{
    cursor: pointer;
    background-color: #ffffff;
    border-radius: 50px; /* 讓兩側完全半圓，更像膠囊 */
    border: 1px solid #e2e8f0; /* 極淡的邊框或乾脆拿掉 */
    color: #64748b; /* 預設文字用質感的次要灰藍色 */
    font-size: 18px; /* 字體稍微縮小一點會更精緻 */
    font-weight: 600;
    padding: 12px 28px; /* 增加左右與上下的呼吸空間 */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04); /* 微弱的基礎陰影 */
    transition: all 0.3s ease;
    white-space: nowrap;
}

.inner_btn:hover {
    transform: translateY(-3px);
    background-color: #f8fafc;
    color: #123092;
    box-shadow: 0 8px 15px rgba(18, 48, 146, 0.08); /* 滑鼠懸停陰影加深 */
}

.inner_btn.active {
    background-color: #123092; /* 使用您標題的深藍色，更有整體感 */
    color: #ffffff;
    border-color: #123092;
    box-shadow: 0 6px 12px rgba(18, 48, 146, 0.25); /* 啟動狀態發光感 */
}

.top_title{
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    padding: 0px 50px 40px 50px;
}


.top_title .title{
    margin: 0;
    font-size: 44px;
    line-height: 1.3;
    font-weight: 700;
    color: #123092;
    letter-spacing: 0.05em;
}

.top_title .small_word{
    margin: 20px 0 30px;
    font-size: 18px;
    line-height: 1.6;
    color: #64748b;
    font-weight: 400;
}

.cloud_computing{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    box-sizing: border-box;
    padding: 10px 50px;
    background-color: #ffffff;
}


.pic{
    border-radius: 20px;
    width: 1024px;
    height: auto;
}

.picture {
    border-radius: 20px;         
    width: 100%;              
    max-width: 800px;           
    height: auto;           
    display: block;             
    margin: 30px auto 15px auto; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); 
}

.cloud_computing p{
    text-align: center;
    font-size: 18px;
    font-weight: 500;
}

.cloud_computing .text_box{
    line-height: 1.8;
}

.accompany{
    padding: 10px 80px 40px;
    line-height: 1.3;
}

.accompany p{
    text-align: center;
    font-size: 18px;
    font-weight: 500;
}

.cyberhood{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    box-sizing: border-box;
    padding: 50px 80px;
}

.cyberhood p{
    text-align: left;
    font-size: 17px;
    font-weight: 500;
}

.cyberhood .pic {
    height: 350px;
    width: auto; 
}

.side_row{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
    padding: 50px 80px;
    background-color: #ffffff;
}

.side_row.reverse{
    flex-direction: row-reverse;
}

.side_row .side_pic{
    width: 100%;
    max-width: 800px; 
    border-radius: 20px;
    height: auto;
}

.side_row .text_box {
    max-width: 650px;
    width: 100%;
    margin: 0;
    line-height: 1.8;
}

.side_row .bigger_text{
    font-size: 26px;
    font-weight: 600;
    color: #46556b;
    margin-bottom: 12px;
}

.side_row p{
    font-size: 17px;
    font-weight: 500;
}

.recognize{
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.recognize p{
    font-size: 16px;
    font-weight: 530;
}

.recognize_section{
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 60px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 30px;
}

.recognize_section1{
    border: 2px solid #123092;
    border-radius: 8px;
    padding: 20px 30px;
    flex: 1;
    background-color: #ffffff;
}

.recognize_section1 p{
    font-weight: 400;
}

.recognize_section2, 
.recognize_section3 {
    border: 2px solid #123092;
    border-radius: 8px;
    padding: 20px 30px;
    flex: 1;
    text-align: center;
    font-weight: 540;
    background-color: #ffffff;
}

.recognize_section1.yellow{
    border: 2px solid #fcc419;
    background-color: #fff9db;
}

.recognize_section1.orange{
    border: 2px solid #ff922b;
    background-color: #fff4e6;
}

.recognize_section1 .bigger_text{
    font-size: 20px;
    font-weight: 600;
}

.icon_pic{
    width: 25px;
    height: auto;
    vertical-align: middle; /* 讓圖片與文字垂直置中。若要絕對底部切齊，可改成 text-bottom */
    margin-right: 8px;
}

.icon_list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    padding-left: 0;
    margin: 0;
    
}
.icon_list li {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #f1f5f9;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 0;
    color: #123092;
}

.support{
    display: flex;
    flex-direction: column;
    border: 2px solid #123092;
    border-radius: 8px;
    margin: 30px auto;
    padding: 15px 30px;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    background-color: #ffffff;
}

.bottom{
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 55px 40px 20px 40px;
    background-color: #fafafa;
    font-weight: 500;
    font-size: 14px;
}

.product{
    padding: 20px 80px 80px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    background-color: #ffffff;
}

.product p{
    text-align: center;
    font-size: 17px;
    font-weight: 500;
}

.product_section{
    display: flex;
    justify-content: center;
    gap: 23px;
    max-width: 1200px;
    margin: 30px auto 0;
}

.product_ans{
    border-radius: 12px;
    padding: 40px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 25px rgba(18, 48, 146, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
}

.product1{
    border: 2px solid #fcc419;
    background-color: #fff9db;
}

.product2{
    border: 2px solid #82c91e;
    background-color: #f4fce3;
}

.product3{
    border: 2px solid #ff922b;
    background-color: #fff4e6;
}

.product_ans:hover{
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(18, 48, 146, 0.15);
    cursor: pointer;
}

.product_btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: #123092; 
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px; 
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.product_btn:hover {
    background-color: #1a42c2; 
    transform: scale(1.05); 
}

.cloud_computing,
.title_section,
.accompany,
.recognize_section1, 
.recognize_section2, 
.recognize_section3,
.support,
.product_ans {
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.text_box {
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.8;
}

.title_section p, .accompany p, .product p {
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.8;
}

.dashed_line{
    border: none;
    border-top: 2px dashed #7b8798;
    margin: 15px 0;
    width: 100%;
}

.tab_panel {
    display: none;
}
.tab_panel.active {
    display: block;
}
.inner_btn.active {
    background-color: #2556f7;
    color: #ffffff;
}

.cyberhood-container {
    width: 100%;
    max-width: 900px;
    margin: 50px auto;
    font-family: "Microsoft JhengHei", "PingFang TC", sans-serif;
    color: #333;
}

.cyberhood-box {
    border: 2px solid #333;
    border-radius: 25px;   
    padding: 30px 40px;
    position: relative;
    background-color: #fff;
}

.box-title {
    position: absolute;
    top: -18px;           
    left: 40px;
    background: #fff;
    padding: 0 15px;
    font-size: 24px;
    font-weight: bold;
    color: #111;
    letter-spacing: 1px;
}

.box-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 20px;
}

.box-left {
    flex: 0 0 160px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.book-image {
    width: 120px;
    height: auto;
    display: block;
}

.box-right {
    flex: 1;
    line-height: 1.8;
    font-size: 16px;
}

.box-right p {
    margin: 0 0 20px 0;
    text-align: justify;
}

.first-line {
    color: #8b0000; 
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 5px;
    display: block;
}

.box-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.btn-detail {
    display: inline-block;
    border: 2px solid #dadada;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    background-color: #f7f7f7;
    border-radius: 10px;
    transition: background-color 0.2s ease-in-out;
}

.btn-detail:hover {
    background-color: #e4e4e4; 
}

.fade_up{
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;

}

.fade_up.show{
    opacity: 1;
    transform: translateY(0);
}

.privacy_link {
    color: #2d3e57;
    text-decoration: none;
    transition: color 0.2s ease;
}

.privacy_link:hover {
    color: #123092;
    text-decoration: underline;
}

.modal_section.active .modal_box { 
    transform: translateY(0); 
}


.whitepaper_full_doc {
    max-width: 1000px;
    margin: 0 auto 50px auto;
    border-radius: 12px;
    /*padding: 30px;*/
    text-align: left;
}

.doc_header {
    border-bottom: 2px solid #123092;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.doc_header .doc_chapter {
    font-size: 20px;
    color: #64748b;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.doc_header .doc_title {
    font-size: 36px;
    color: #123092;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.doc_header .doc_subtitle {
    font-size: 20px;
    color: #475569;
    font-style: italic;
    margin: 0;
}

.doc_section {
    margin-bottom: 45px;
}

.doc_section h3 {
    font-size: 24px;
    color: #2d3e57;
    margin-bottom: 15px;
    font-weight: 700;
    border-left: 4px solid #123092;
    padding-left: 15px;
}

.doc_section p {
    font-size: 16px;
    color: #475569;
    line-height: 2;
    margin-bottom: 15px;
    text-align: justify;
    font-weight: 500;
}

.doc_section .caption {
    font-style: italic;
    color: #94a3b8;
    text-align: center;
}

.principles_section {
    background-color: #f8fafc;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.principles_section h3 {
    border-left: none;
    padding-left: 0;
    color: #123092;
    text-align: center;
    margin-bottom: 25px;
}

.principles_list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.principles_list li {
    font-size: 16px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.principles_list li::before {
    content: '▪️';
    color: #123092;
    position: absolute;
    left: 0;
    top: 0;
}

.principles_list li strong {
    color: #123092;
}

a.top_button.single_link,
a.top_button.single_link:visited {
    font-size: 18px;
    cursor: pointer;
    border: none;
    background-color: transparent; 
    font-family: inherit;
    text-decoration: none !important;
    color: #080808; 
    letter-spacing: 0.1em; 
    font-weight: 500;     
    display: inline-block;
    padding: 0px 6px; 
}

.floating_pdf_btn {
    position: fixed;
    right: 40px;         
    top: 80px;          
    width: 70px;          
    height: 70px;      
    background-color: #ffffff;
    border: 2px solid #e2e8f0; 
    color: #123092;      
    border-radius: 50%;   
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); 
    z-index: 1000;      
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    flex-direction: column;
    gap: 2px;
}

.floating_pdf_btn img {
    width: 45%;
    height: auto;      
    object-fit: contain;
    transition: transform 0.3s ease;
}

.pdf_text {
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.floating_pdf_btn:hover {
    transform: translateY(-3px) scale(1.05);
    background-color: #99d1ff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}



@media (max-width: 992px) {
    .floating_pdf_btn {
        right: 20px;
        top: 90px;
        width: 60px;
        height: 60px;
    }

    .floating_pdf_btn .pdf_text {
        font-size: 10px;
    }

    /* 導覽列與漢堡選單 */
    .hamburger_bar {
        display: flex; 
    }

    a.top_button.single_link {
        display: block;
        width: 100%;
        text-align: left;
        padding: 15px 40px;
        border-bottom: 1px solid #f1f5f9 !important;
    }
    
    .bar {
        border-radius: 15px;
    }

    .hamburger_bar:hover {
        background-color: #ffffff; 
    }
    
    .hamburger_bar:hover .bar {
        background-color: #555555;
    }

    .nav_menu {
        display: flex; 
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        padding: 15px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                    opacity 0.30s ease, 
                    visibility 0.35s;
    }

    .nav_menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown {
        width: 100%;
    }
    
    .top_button {
        width: 100%;
        text-align: left;
        padding: 15px 40px;
        border-bottom: 1px solid #f1f5f9;
    }

    .dropdown_content {
        position: static; 
        box-shadow: none;
        background-color: #f8fafc;
    }
    
    .dropdown_content a {
        padding-left: 60px;
    }

    .top_title {
        padding: 0px 20px 40px 20px !important;
        width: 100%;
        box-sizing: border-box;
    }

    .title_section,
    .cloud_computing,
    .accompany,
    .cyberhood,
    .product,
    .recognize,
    .side_row {
        padding: 20px 30px !important;
        box-sizing: border-box;
        width: 100%;
        overflow: hidden; 
    }

    .pic,
    .side_pic,
    .book-image,
    .cyberhood .pic {
        width: calc(100% - 40px) !important; 
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box;
        display: block; 
        margin: 0 auto !important; 
    }

    .inner_btn_section {
        flex-wrap: wrap !important; 
        justify-content: center !important;
    }

    .inner_btn {
        font-size: 16px !important;
        padding: 8px 16px !important;
        white-space: nowrap !important; 
    }

    .cyberhood-container {
        padding: 0 20px !important; 
        box-sizing: border-box !important;
        width: 100% !important;
    }

    .cyberhood-box {
        padding: 30px 20px !important; 
    }

    .box-title {
        left: 20px !important;
    }

    .recognize_section, 
    .product_section,
    .side_row,
    .side_row.reverse,
    .box-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
        width: 100% !important;
    }

    .recognize_section1, 
    .recognize_section2, 
    .recognize_section3, 
    .product_ans,
    .support {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 25px 20px !important; 
        flex: none !important; 
        margin: 0 !important;
    }

    .box-left {
        flex: none !important;
        width: 100%;
        justify-content: center;
    }
    
    .box-right {
        width: 100%;
    }

    /* 防止段落文字破版出框 */
    .recognize_section p,
    .product_ans p,
    .box-right p {
        word-break: break-all; 
    }

    /* 字體大小在手機版適度縮小 */
    .bigger_text, 
    .top_title .title,
    .side_row .bigger_text,
    .box-title,
    .first-line {
        font-size: 26px !important;
    }

    .top_title .small_word,
    .title_section p,
    .cloud_computing p,
    .accompany p,
    .cyberhood p,
    .recognize p,
    .product p,
    .bottom p,
    .side_row p,
    .box-right p {
        font-size: 15px;
    }

    /* 其他按鈕與小元素調整 */
    .product_btn {
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal; 
    }

    .breadcrumb {
        padding: 20px 20px 10px;
        font-size: 12px;
        box-sizing: border-box;
        width: 100%;
    }

    #tab3 > h2,
    #tab3 > .recognize_section {
        padding-left: 30px !important;
        padding-right: 30px !important;
        box-sizing: border-box !important;
    }

    .whitepaper_full_doc {
        padding: 30px 20px !important;
        margin: 0 20px 40px 20px !important;
        width: calc(100% - 40px);
    }
    
    .doc_header .doc_title {
        font-size: 28px !important;
    }
    
    .doc_section h3 {
        font-size: 20px !important;
    }
    
    .doc_section p, .principles_list li {
        font-size: 15px !important;
    }
    
    .principles_section {
        padding: 20px 15px !important;
    }
}