html, body { 
    margin: 0;
    padding: 0;
    width: 100%;
    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; 
}

body {
    font-family: Arial, "LiHei Pro", "黑體-繁", "微軟正黑體", sans-serif;
    font-weight: 600;
    color: #2d3e57;
    line-height: 1.1;
    letter-spacing: 0.2em;
}

.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_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;
}

.cyberhood .pic {
    height: 350px;
    width: auto;
}

.top_title{
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    padding: 0px 50px 20px 50px;
}

.top_header .Cyberhood_pic{
    height: 60px;
    width: auto;
}

.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;
    max-width: 1200px;
}

.bottom{
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 55px 40px 20px 40px;
    background-color: #fafafa;
    font-weight: 500;
    font-size: 14px;
}

.data_box {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.data_section {
    margin-bottom: 40px;
}

.data_title h2 {
    font-size: 30px;
    color: #334155;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

hr {
    border: 0;
    height: 1px;
    background-color: #e2e8f0;
    margin: 20px 0 25px 0;
}

.data_row {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.data_group {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.data_group.full{
    flex: 100%;
}

.data_group label {
    font-size: 18px;
    font-weight: bold;
    color: #4b5563;
    margin-bottom: 8px;
}

.required {
    color: #ef4444;
}

.hint-text {
    font-size: 15px;
    color: #6b7280;
    margin: 5px 0 0 0;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    color: #334155;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.check_section {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.check_section h3 {
    font-size: 18px;
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 15px;
}

.check {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.check label, .check input[type="checkbox"] {
    cursor: pointer;
}

.inline_row {
    margin-bottom: 30px;
}

.inline_row label {
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #4b5563;
    cursor: pointer;
    margin-bottom: 8px;
}

.inline_row label input[type="checkbox"] {
    margin-right: 8px;
}

.other_section {
    margin-bottom: 25px;
}

.other_section .subtitle p {
    font-size: 18px;
    font-weight: bold;
    color: #4b5563;
    margin: 0 0 10px 0;
}

.other_section label {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
    margin-bottom: 10px;
    font-size: 16px;
    color: #4b5563;
    cursor: pointer;
}

.other_section input[type="radio"] {
    margin-right: 6px;
}

.other_section label input[type="text"] {
    width: 200px;
    max-width: 100%;
    margin-left: 8px;
    padding: 6px 12px;
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.captcha-row input[type="text"] {
    width: 150px;
}

.captcha-box {
    background-color: #f1f5f9;
    border: 1px dashed #94a3b8;
    padding: 8px 20px;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 6px;
    color: #334155;
    border-radius: 4px;
}

.captcha-refresh {
    font-size: 16px;
    color: #3b82f6;
    text-decoration: none;
}

.captcha-refresh:hover {
    text-decoration: underline;
}

.btn_section {
    text-align: center; 
    width: 100%;
}

.btn {
    border-radius: 10px;
    border: 1px solid #eff5ff;
    cursor: pointer;
    margin: 0 auto;
    padding: 15px;
    margin-bottom: 30px;
    font-size: 17px;
}

.btn:hover {
    background-color: #dce3ee;
    transform: translateY(-2px);
    transition: transform 0.4s ease;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.15);
}

.btn.apply {
    background-color: #a2c6ff;
}

.btn.apply:hover {
    background-color: #87b5ff;
    transform: translateY(-2px);
    transition: transform 0.4s ease;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.15);
}

.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); 
}

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; 
}

@media (max-width: 768px) {
    main {
        padding: 90px 15px 20px 15px; 
        margin: 0;
    }

    .data_row {
        flex-direction: column;
        gap: 15px;
    }

    .check {
        grid-template-columns: repeat(2, 1fr);
    }

    .inline_row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .inline_row label {
        width: 100%;
        margin-bottom: 8px;
    }
}


@media (max-width: 992px) {
    .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;
    }

    .benefits_grid {
        grid-template-columns: repeat(2, 1fr); 
        font-weight: 400;
    }
    .benefits {
        padding: 40px; 
    }
}

@media screen and (max-width: 850px) {

    .pic {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .top_title, 
    .benefits {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .top_title {
        padding-bottom: 40px;
    }

    .top_title .title {
        font-size: 32px; 
    }
    
    .bigger_text {
        font-size: 24px;
    }

}