html {
	padding: 0;
	margin: 0;
	min-height: 100%;
	font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background: #ffffff;
}

body{
    padding: 0;
    margin: 0;
    min-height: 100%;
    min-width: 1280px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background: #f6f7f9;
}

body.page_home{
    background:
        radial-gradient(circle at top left, rgba(242, 100, 25, 0.16), transparent 24%),
        radial-gradient(circle at top right, rgba(30, 116, 217, 0.10), transparent 26%),
        linear-gradient(180deg, #fafbfd 0px, #f5f7fa 220px, #f7f8fb 100%);
}

#local_preview_hint{
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 2000;
    padding: var(--space-3) var(--space-5);
    background-color: rgb(255, 244, 214);
    border-bottom: solid 1px rgb(230, 205, 126);
    color: rgb(117, 82, 0);
    font-size: var(--font-size-md);
    text-align: center;
}

#top_index{
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: #ffffff;
    border-bottom: solid 1px rgba(220, 223, 230, 0.88);
    box-shadow: var(--elevation-soft);
    z-index: 100;
}

#index_content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-family-design-sans);
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    height: var(--nav-height);
    width: min(var(--shell-max-width), 100%);
    margin: 0 auto;
    padding: 0 var(--page-gutter);
    box-sizing: border-box;
}
#index_logo{
    display: flex;
    align-items: center;
    flex: 0 0 var(--side-nav-width);
    width: var(--side-nav-width);
    min-width: var(--side-nav-width);
    height: var(--nav-height);
    cursor: pointer;
}
#index_button_bar{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex: 1;
    gap: 4px;
    min-width: 0;
    padding-left: var(--panel-gap);
    box-sizing: border-box;
}
#language{
    height: var(--nav-height);
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    position: relative;
    margin-left: 24px;
}

.lang-switch{
    position: relative;
    display: inline-flex;
}

.lang-trigger{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 8px 7px 10px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #0e1117;
    font-family: var(--font-family-design-sans);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 140ms, border-color 140ms;
}

.lang-trigger:hover{
    background: #f6f7f9;
}

.lang-switch.open .lang-trigger{
    background: #f6f7f9;
    border-color: #dcdfe6;
}

.lang-trigger-icon,
.lang-trigger-chevron{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.lang-trigger-icon svg{
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lang-trigger-label{
    font-family: var(--font-family-accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    min-width: 18px;
    text-align: center;
}

.lang-trigger-chevron svg{
    width: 14px;
    height: 14px;
    stroke: #8b93a3;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 160ms;
}

.lang-switch.open .lang-trigger-chevron svg{
    transform: rotate(180deg);
}

.lang-menu{
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 180px;
    margin: 0;
    padding: 4px;
    list-style: none;
    background: #fff;
    border: 1px solid #dcdfe6;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(14,17,23,0.12), 0 2px 6px rgba(14,17,23,0.06);
    z-index: 50;
}

.lang-switch.open .lang-menu{
    display: block;
}

.lang-option{
    width: 100%;
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: #0e1117;
    font-family: var(--font-family-design-sans);
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    transition: background 120ms;
}

.lang-option:hover{
    background: #f6f7f9;
}

.lang-option-label{
    color: #0e1117;
}

.lang-option-short{
    font-family: var(--font-family-accent);
    font-size: 11px;
    font-weight: 600;
    color: #8b93a3;
    letter-spacing: 0.04em;
    text-align: center;
}

.lang-option.active .lang-option-short{
    color: #d94e0d;
}

.lang-option-check{
    display: none;
    color: #d94e0d;
    line-height: 0;
}

.lang-option-check svg{
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lang-option.active{
    color: #0e1117;
    font-weight: 500;
}

.lang-option.active .lang-option-label{
    color: #d94e0d;
}

.lang-option.active .lang-option-check{
    display: inline-block;
}

.nav_button_slot{
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.nav_button_slot_first{
    margin-left: 0;
}


#logo_lockup{
    display: block;
    width: var(--logo-width);
    height: auto;
}


.have_details{
    height: var(--nav-height);
    width: auto;
    position: relative;
    display: flex;
    align-items: center;
}

.index_button{
    cursor: pointer;
    min-height: 38px;
    padding: 7px 12px;
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-family-design-sans);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
    color: #2a2f3a;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: background var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);
}

.index_button:hover{
    background: #f6f7f9;
    color: #0e1117;
}

.current_page_button{
    background-color: transparent;
    color: var(--color-brand-orange);
    box-shadow: none;
}

.dropdown_trigger::after{
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    transform: translateY(0);
    transform-origin: center;
    transition: transform 160ms var(--ease-standard);
}

.have_details.open > .dropdown_trigger::after{
    transform: rotate(180deg);
}

#buttom_content{
	min-height: calc(100vh - var(--nav-height));
	text-align: center;
	margin: var(--nav-height) 0px 0px 0px;
    background: transparent;
}

#buttom_content iframe{
	border: 0;
	width: 100%;
    display: block;
    background: transparent;
}

#page_base{
    position: relative;
    height: auto;
    background-color: #0e1117;
    border-top: 0;
    overflow: hidden;
}

#page_base::before{
    display: none;
}

#page_base_inner{
    position: relative;
    width: 100%;
    background-color: #0e1117;
    padding: 64px var(--page-gutter) 32px;
    box-sizing: border-box;
}

#page_base_company{
    color: #8d97a8;
}

.site_footer{
    width: min(var(--shell-max-width), 100%);
    margin: 0 auto;
}

.site_footer_top{
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #232935;
}

.site_footer_brand{
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#footer_logo_lockup{
    display: block;
    width: 220px;
    height: auto;
}

#footer_brand_desc{
    margin: 0;
    max-width: 320px;
    font-size: 13px;
    line-height: 1.55;
    color: #8d97a8;
}

.site_footer_col h5{
    margin: 0 0 14px;
    font-family: var(--font-family-accent);
    font-size: 11px;
    line-height: 16px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8d97a8;
}

.site_footer_col a{
    display: block;
    padding: 5px 0;
    color: #d5dbe6;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.45;
    transition: color var(--duration-fast) var(--ease-standard);
}

.site_footer_col a.is_hidden{
    display: none;
}

.site_footer_col a:hover{
    color: #ffffff;
}

.site_footer_bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 24px;
    font-family: var(--font-family-accent);
    font-size: 12px;
    line-height: 1.5;
    color: #8d97a8;
}

.site_footer_links{
    display: flex;
    align-items: center;
    gap: 20px;
}

.site_footer_links span{
    color: #8d97a8;
}

.detail{
    display: none;
    background: #ffffff;
    border: 1px solid #dcdfe6;
    border-radius: var(--radius-lg);
    position: absolute;
    z-index: 1000;
    top: calc(100% + 6px);
    width: var(--dropdown-width);
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0;
    box-shadow: var(--elevation-panel);
    overflow: hidden;
}
.detail ul{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-2);
    margin: 0;
    list-style: none;
    color: var(--color-text);
}
.detail li{
    height: auto;
    text-align: center;
    width: 100%;
    cursor: pointer;
}
.detail li:hover > span{
    background-color: #f6f7f9;
    color: #0e1117;
    transform: translateY(-1px);
}
.detail span{
    min-height: var(--control-height-md);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    cursor: pointer;
    padding: 0 var(--space-3);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: #0e1117;
    border-radius: var(--radius-sm);
    transition: background-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);
}
.detail span:hover{
    background-color: #f6f7f9;
    color: #0e1117;
    transform: translateY(-1px);
}

.have_details.open > .detail{
    display: block;
}

@media (max-width: 1100px) {
    .site_footer_top{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    #page_base_inner{
        padding: 48px 20px 24px;
    }

    .site_footer_top{
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 28px;
    }

    .site_footer_bottom{
        flex-direction: column;
        align-items: flex-start;
    }
}


#index_contact_details{
    width: 235px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
}


#index_contact_details ul{
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    align-items: stretch;
}

#index_contact_details li{
    width: 100%;
    padding: 0;
    cursor: pointer;
}

#index_contact_details li:hover > span{
    background: #f6f7f9;
    box-shadow: inset 0 0 0 1px #dcdfe6;
    color: #0e1117;
    transform: none;
}

#index_contact_details span{
    position: relative;
    box-sizing: border-box;
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 10px 14px 10px 20px;
    text-align: left;
    font-family: var(--font-family-ui);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-snug);
    letter-spacing: 0;
    color: #0e1117;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    box-shadow: none;
}

#index_contact_details span:hover{
    background: #f6f7f9;
    box-shadow: inset 0 0 0 1px #dcdfe6;
    color: #0e1117;
    transform: none;
}

#index_contact_details #index_us::before,
#index_contact_details #index_order::before{
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    width: var(--accent-line-height-md);
    height: 24px;
    border-radius: var(--radius-pill);
    transform: translateY(-50%);
    background: linear-gradient(180deg, rgba(242, 100, 25, 0.96) 0%, rgba(217, 78, 13, 0.88) 100%);
}

#index_contact_details #index_us::after,
#index_contact_details #index_order::after{
    content: attr(data-desc);
    display: block;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 400;
    color: #6b7380;
    white-space: normal;
}

#index_product_details{
    width: 235px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
}


#index_product_details ul{
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    align-items: stretch;
}

#index_product_details li{
    width: 100%;
    padding: 0;
    cursor: pointer;
}

#index_product_details li:hover > span{
    background: #f6f7f9;
    box-shadow: inset 0 0 0 1px #dcdfe6;
    color: #0e1117;
    transform: none;
}

#index_product_details span{
    position: relative;
    box-sizing: border-box;
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 10px 14px 10px 20px;
    text-align: left;
    font-family: var(--font-family-ui);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-snug);
    letter-spacing: 0;
    color: #0e1117;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    box-shadow: none;
}

#index_product_details span:hover{
    background: #f6f7f9;
    box-shadow: inset 0 0 0 1px #dcdfe6;
    color: #0e1117;
    transform: none;
}

#index_product_details #index_encode::before,
#index_product_details #index_decode::before,
#index_product_details #index_other::before{
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    width: var(--accent-line-height-md);
    height: 28px;
    border-radius: var(--radius-pill);
    transform: translateY(-50%);
    background: linear-gradient(180deg, rgba(242, 100, 25, 0.96) 0%, rgba(217, 78, 13, 0.88) 100%);
}

#index_product_details #index_encode::after,
#index_product_details #index_decode::after,
#index_product_details #index_other::after{
    content: attr(data-desc);
    display: block;
    margin-top: 4px;
    font-family: var(--font-family-ui);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    line-height: 1.35;
    letter-spacing: 0;
    color: #5e6675;
}
