* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #222;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: url('/static/images/template/background.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #fafafa;
    padding-top: 110px;
}
@media (max-width: 1200px) {
    body {
        background-image: none;
        background-color: #fafafa;
        padding-top: 100px;
        padding-bottom: 10px;
    }
}
@media (max-width: 768px) {
    body {
        padding-top: 100px;
        padding-bottom: 10px;
    }
    footer {
        margin-top: 0;
    }
}
@media (max-width: 480px) {
    body {
        padding-top: 80px;
        padding-bottom: 5px;
    }
}
a {
    text-decoration: none;
    color: inherit;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #eaeaea;
    padding: 12px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(4px);
}
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.header_brand {
    padding: 8px 0;
    margin-right: 20px;
}
.header_brand a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
}
.header_brand img {
    height: 40px;
    width: auto;
}
.header_brand_title_text {
    letter-spacing: -0.5px;
}
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.burger span {
    width: 28px;
    height: 3px;
    background: #222;
    border-radius: 2px;
    transition: 0.3s;
}
.nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.nav a {
    font-weight: 500;
    color: #555;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}
.nav a:hover {
    color: #2DCC9F;
    border-bottom-color: #2DCC9F;
}
.nav a:active {
    color: #1f8f6f;
}
@media (max-width: 768px) {
    .burger {
        display: flex;
    }
    .nav {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        padding: 15px 0;
        border-top: 1px solid #eaeaea;
        margin-top: 10px;
    }
    .nav.open {
        display: flex;
    }
    .header {
        flex-wrap: wrap;
    }
    .header_brand {
        margin-right: 0;
    }
    .nav a {
        padding: 8px 0;
        border-bottom: none;
        border-left: 3px solid transparent;
        padding-left: 10px;
    }
    .nav a:hover {
        border-bottom: none;
        border-left-color: #2DCC9F;
    }
    header {
        padding: 10px 0;
    }
}
@media (max-width: 480px) {
    .header_brand a {
        font-size: 1.2rem;
    }
    .header_brand img {
        height: 32px;
    }
}
main {
    flex: 1;
}
.main {
    padding: 20px 30px;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
}
@media (max-width: 1200px) {
    .main {
        margin: 0 15px;
    }
}
@media (max-width: 768px) {
    .main {
        padding: 15px 15px !important;
        background: rgba(255, 255, 255, 0.98);
        margin: 0 10px;
        border-radius: 12px;
    }
}
@media (max-width: 480px) {
    .main {
        padding: 10px 10px !important;
        margin: 0 5px;
    }
}
.main_scroll {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    display: none;
}
@media (min-width: 1201px) {
    .main_scroll {
        right: calc(50% - 600px + 30px);
    }
}
.main_scroll.visible {
    display: block;
}
.main_scroll_button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #2DCC9F;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(45, 204, 159, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.main_scroll_button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(45, 204, 159, 0.5);
}
.main_scroll_button svg {
    stroke: currentColor;
}
footer {
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid #eaeaea;
    padding: 30px 0;
    margin-top: 40px;
}
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer_brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #666;
}
.footer_brand img {
    height: 30px;
    width: auto;
}
.footer_social {
    display: flex;
    align-items: center;
    gap: 15px;
}
.footer_social a {
    display: inline-block;
    transition: transform 0.2s;
}
.footer_social a:hover {
    transform: scale(1.1);
}
.footer_social img {
    width: 18px;
    height: 18px;
    filter: grayscale(0.2);
    transition: filter 0.2s;
}
.footer_social a:hover img {
    filter: grayscale(0);
}
.btn {
    display: inline-block;
    background: #2DCC9F;
    color: #fff;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
.btn:hover {
    background: #24b38b;
    transform: translateY(-2px);
}
.btn:active {
    transform: translateY(0);
}
.text-muted {
    color: #888;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    .footer {
        gap: 16px;
        margin-top: 0;
    }
}
@media (max-width: 480px) {
    .footer {
        gap: 12px;
        margin-top: 0;
    }
    .footer_social img {
        width: 16px;
        height: 16px;
    }
}
.custom_modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
}
.custom_modal_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.custom_modal_content {
    position: relative;
    background: #fff;
    padding: 30px 35px;
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    text-align: center;
    animation: fadeInUp 0.25s ease;
}
.custom_modal_content p {
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 25px;
}
.custom_modal_buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}
.modal_btn {
    padding: 10px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
.modal_confirm {
    background: #2DCC9F;
    color: #fff;
}
.modal_confirm:hover {
    background: #24b38b;
}
.modal_cancel {
    background: #e74c3c;
    color: #fff;
}
.modal_cancel:hover {
    background: #c0392b;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}