:root {
    --primary-color: #4a90e2;
    --secondary-color: #50e3c2;
    --dark-bg: #1a1a1d;
    --medium-bg: #2c2f33;
    --light-text: #f0f0f5;
    --medium-text: #a0a0a5;
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Poppins', sans-serif;
    --transition-fast: 0.2s ease-out;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --box-shadow-subtle: 0 4px 15px rgba(0, 0, 0, 0.1);
    --box-shadow-lifted: 0 8px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --accent-glow: 0 0 15px rgba(var(--rgb-secondary, 80, 227, 194), 0.5);
    --rgb-primary: 74, 144, 226;
    --rgb-secondary: 80, 227, 194;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    background-color: var(--dark-bg);
    color: var(--medium-text);
    line-height: 1.7;
    font-weight: 400;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.home-page {
    padding-top: 0;
}

body.inner-page {
    padding-top: 76px;
}

@media (max-width: 991.98px) {
    body.inner-page {
        padding-top: 68px;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--light-text);
    font-weight: 600;
}

a {
    color: var(--primary-color);
    transition: var(--transition-fast);
}
a:hover, a:focus {
    color: var(--secondary-color);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding: 100px 0;
}

.heading-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}
.heading-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}
.heading-section.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}
.heading-section.text-right h2::after {
    left: auto;
    right: 0;
}
.heading-section .subheading {
    font-size: 0.9rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
}


.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
    transition-delay: var(--delay, 0s);
}
.fade-in {
    opacity: 0;
    transition: opacity 1s var(--transition-smooth);
    transition-delay: var(--delay, 0s);
}
.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}
.reveal-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
[data-reveal-delay], [style*="--delay"] {
    transition-delay: var(--delay, 0s) !important;
}


#ftco-loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
}
#ftco-loader.hidden {
    opacity: 0;
    visibility: hidden;
}
.circular {
    animation: rotate 2s linear infinite;
    height: 50px;
    width: 50px;
}
.path {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    animation: dash 1.5s ease-in-out infinite;
    stroke-linecap: round;
    stroke: var(--primary-color);
}
@keyframes rotate { 100% { transform: rotate(360deg); } }
@keyframes dash {
    0% { stroke-dasharray: 1, 200; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 89, 200; stroke-dashoffset: -35px; }
    100% { stroke-dasharray: 89, 200; stroke-dashoffset: -124px; }
}


.ftco-navbar-light {
    background: transparent !important;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1030;
    padding: 15px 0;
    transition: background-color 0.4s ease-out, padding 0.4s ease-out, box-shadow 0.4s ease-out;
}

.ftco-navbar-light .navbar-brand img {
    transition: transform var(--transition-smooth);
    height: 38px;
    width: auto;
}
.ftco-navbar-light .navbar-brand:hover img {
    transform: scale(1.1) rotate(-5deg);
}

.ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
    font-size: 0.95rem;
    padding: 10px 15px;
    color: var(--light-text);
    font-weight: 500;
    position: relative;
    opacity: 0.8;
    transition: all var(--transition-fast);
}
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover {
    opacity: 1;
    color: var(--secondary-color);
}
.ftco-navbar-light .navbar-nav > .nav-item.active > .nav-link {
    opacity: 1;
    color: var(--secondary-color);
    font-weight: 600;
}
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15px;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-smooth);
}
.ftco-navbar-light .navbar-nav > .nav-item:hover > .nav-link::after,
.ftco-navbar-light .navbar-nav > .nav-item.active > .nav-link::after {
    width: calc(100% - 30px);
}

.ftco-navbar-light .navbar-toggler {
    border: none;
    color: rgba(255, 255, 255, 0.8) !important;
    cursor: pointer;
    padding: 0;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: .1em;
}
.ftco-navbar-light .navbar-toggler:focus {
    outline: none;
}
.ftco-navbar-light .navbar-toggler .oi {
   font-size: 24px;
}

.ftco-navbar-light.scrolled, .ftco-navbar-light.nav-fixed-top {
    position: fixed;
    background: var(--medium-bg) !important;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991.98px) {
    .ftco-navbar-light {
        background: var(--medium-bg) !important;
        position: fixed;
        padding: 10px 0;
    }
    .ftco-navbar-light .navbar-collapse {
        background: var(--medium-bg);
        padding: 15px;
        margin-top: 10px;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow-subtle);
    }
    .ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .ftco-navbar-light .navbar-nav > .nav-item:last-child > .nav-link {
        border-bottom: none;
    }
    .ftco-navbar-light .navbar-nav > .nav-item > .nav-link::after{
        left: 0;
        width: 0;
    }
    .ftco-navbar-light .navbar-nav > .nav-item:hover > .nav-link::after,
    .ftco-navbar-light .navbar-nav > .nav-item.active > .nav-link::after {
        width: 100%;
    }
}


.go-btn, .btn-primary-gradient {
    display: inline-block;
    padding: 14px 35px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    box-shadow: var(--box-shadow-subtle);
    border: none;
    cursor: pointer;
}
.go-btn:hover, .btn-primary-gradient:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: var(--box-shadow-lifted);
    color: var(--light-text);
}
.go-btn:active, .btn-primary-gradient:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: var(--box-shadow-subtle);
}

.btn-secondary-outline {
    display: inline-block;
    padding: 10px 25px;
    color: var(--secondary-color) !important;
    border: 2px solid var(--secondary-color);
    background-color: transparent;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}
.btn-secondary-outline:hover {
    background-color: var(--secondary-color);
    color: var(--dark-bg) !important;
    transform: translateY(-2px);
}
.btn-secondary-outline:active {
    transform: translateY(0);
}


.hero-wrap {
    height: 100vh;
    min-height: 750px;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(26, 26, 29, 0.5), rgba(26, 26, 29, 0.8));
    z-index: 1;
}

.hero-wrap .container {
    position: relative;
    z-index: 2;
}

.hero-text {
    color: var(--light-text);
    max-width: 650px;
}
.hero-text .subheading {
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 0.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}
.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}
.hero-text h2 {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--medium-text);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.about-section {
    background-color: var(--medium-bg);
    position: relative;
    padding: 120px 0;
}
.about-section .img {
    min-height: 450px;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-lifted);
    position: relative;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s var(--transition-smooth), transform 1s var(--transition-smooth);
    transition-delay: var(--delay, 0s);
}

.about-content .heading-section {
    margin-bottom: 40px;
}
.about-content .heading-section h2::after {
    left: auto;
    right: 0;
}

.services-wrap {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
    transition-delay: var(--delay, 0s);
}
.services-wrap .icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.services-wrap .icon span {
    color: var(--light-text);
    font-size: 24px;
}
.services-wrap .media-body.order-md-first {
    padding-right: 25px;
    padding-left: 0;
    text-align: right;
}
.services-wrap .icon + .media-body.order-md-first{
    margin-right: 0;
    margin-left: 25px;
}

.services-wrap h3.heading {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--light-text);
}
.services-wrap p {
    font-size: 0.95rem;
    color: var(--medium-text);
    margin-bottom: 0;
}

.services-wrap.reveal-visible {
    opacity: 1;
    transform: translateX(0);
}
.about-section .img.reveal-visible {
    opacity: 1;
    transform: scale(1);
}

.about-content img.img-fluid {
    margin-top: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-subtle);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
    transition-delay: var(--delay, 0s);
}
.about-content img.img-fluid.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}


.services-section {
    padding: 100px 0;
    background-color: var(--dark-bg);
}
.services-section .heading-section {
    text-align: center;
    margin-bottom: 60px;
}
.services-section .heading-section h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.block-6 {
    background: var(--medium-bg);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-subtle);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    opacity: 0;
    transform: translateY(40px);
    transition-property: opacity, transform, box-shadow;
    transition-duration: 0.6s;
    transition-timing-function: var(--transition-smooth);
    transition-delay: var(--delay, 0s);
}
.block-6:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-lifted);
}
.block-6 .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 30px auto;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.2), rgba(80, 227, 194, 0.2));
    border: 1px solid rgba(var(--rgb-primary, 74, 144, 226), 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background var(--transition-smooth);
}
.block-6:hover .icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}
.block-6 .icon span {
    font-size: 30px;
    color: var(--secondary-color);
    transition: color var(--transition-fast);
}
.block-6:hover .icon span {
    color: var(--light-text);
}

.block-6 h3.heading {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--light-text);
}
.block-6 p {
    font-size: 0.9rem;
    color: var(--medium-text);
    flex-grow: 1;
}
.block-6.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}


.counter-section {
    padding: 120px 0;
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    position: relative;
    color: var(--light-text);
    text-align: center;
}
.counter-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(26, 26, 29, 0.8);
    z-index: 1;
}
.counter-section .container {
    position: relative;
    z-index: 2;
}

.counter-section .heading-section {
    margin-bottom: 60px;
}
.counter-section .heading-section .subheading {
    color: rgba(255, 255, 255, 0.7);
}
.counter-section .heading-section h2 {
    color: var(--light-text);
}
.counter-section .heading-section h2::after {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    left: 50%; transform: translateX(-50%);
}

.block-18 {
    padding: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
    transition-delay: var(--delay, 0s);
}
.block-18.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.block-18 .text .number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}
.block-18 .text span {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}


.hero-wrap-2 {
    height: 450px;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    align-items: flex-end;
    padding-bottom: 50px;
    overflow: hidden;
}
.hero-wrap-2 .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    content: '';
    opacity: .7;
    background: var(--dark-bg);
    z-index: 1;
}
.hero-wrap-2 .container {
    position: relative;
    z-index: 2;
}
.hero-wrap-2 .text-bread {
    color: var(--light-text);
}
.hero-wrap-2 .text-bread h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 10px;
    opacity: 0; transform: translateY(20px);
    animation: fadeInUp 0.8s 0.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}
.hero-wrap-2 .text-bread .breadcrumbs {
    font-size: 1rem;
    color: var(--medium-text);
    opacity: 0; transform: translateY(20px);
    animation: fadeInUp 0.8s 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}
.hero-wrap-2 .text-bread .breadcrumbs span {
    opacity: 0.8;
}


.main-content-section h2 {
    margin-top: 0 !important;
    font-size: 2.2rem;
}
.main-content-section p {
    font-size: 1.05rem;
    margin-bottom: 25px;
    color: var(--light-text);
    opacity: 0.9;
}
.main-content-section p a {
    font-weight: 500;
    border-bottom: 1px dashed rgba(var(--rgb-primary), 0.5);
    transition: border-bottom-color var(--transition-fast);
}
.main-content-section p a:hover {
    color: var(--secondary-color);
    border-bottom-color: rgba(var(--rgb-secondary), 0.8);
}


.server-info-box {
    background: var(--medium-bg);
    padding: 30px 35px;
    border-radius: var(--border-radius);
    margin-top: 40px;
    border: 1px solid rgba(var(--rgb-primary), 0.1);
    box-shadow: var(--box-shadow-subtle);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    text-align: center;
}
.server-info-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lifted), var(--accent-glow);
}

.server-info-box h3 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 600;
}

.server-address {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.5rem;
    color: var(--light-text);
    background: rgba(0, 0, 0, 0.2);
    padding: 15px 20px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    user-select: all;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}
.server-address:hover {
    background: rgba(0, 0, 0, 0.3);
}
.server-address::before {
    content: "服务器地址: ";
    font-family: var(--body-font);
    font-size: 0.9rem;
    color: var(--medium-text);
    margin-right: 10px;
    user-select: none;
}

.server-info-box .server-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.85;
    transition: opacity var(--transition-smooth);
}
.server-info-box:hover .server-image img {
    opacity: 1;
}

.download-client-link {
    margin-top: 15px;
    margin-bottom: 5px;
}


.ftco-footer {
    background-color: var(--dark-bg);
    padding: 80px 0 40px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}
.ftco-footer .ftco-footer-widget h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--light-text);
}
.ftco-footer .footer-logo img {
    height: 45px;
    margin-bottom: 20px;
}
.ftco-footer p {
    margin-bottom: 15px;
}
.ftco-footer p small {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.4);
}

.ftco-footer ul.list-unstyled {
    margin: 0;
    padding: 0;
}
.ftco-footer ul.list-unstyled li {
    margin-bottom: 10px;
}
.ftco-footer ul.list-unstyled li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast), transform var(--transition-fast);
    display: inline-block;
}
.ftco-footer ul.list-unstyled li a:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}

.ftco-footer .block-23 ul li,
.ftco-footer .block-23 ul li > a {
    display: table;
    line-height: 1.5;
    margin-bottom: 15px;
}
.ftco-footer .block-23 ul li span {
    display: table-cell;
    vertical-align: top;
    width: 30px;
    color: rgba(255,255,255,.5);
}

.ftco-footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    margin-top: 50px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .hero-text h1 { font-size: 3rem; }
    .hero-text h2 { font-size: 1.1rem; }
    .about-section .img { margin-bottom: 40px; min-height: 300px; }
    .about-content .heading-section { text-align: center; }
    .about-content .heading-section h2::after { left: 50%; right: auto; transform: translateX(-50%); }
    .services-wrap { justify-content: center; text-align: center; flex-direction: column; align-items: center;}
    .services-wrap .icon { margin-right: 0; margin-bottom: 20px; }
    .services-wrap .media-body.order-md-first { padding-right: 0; text-align: center;}
    .services-wrap .icon + .media-body.order-md-first { margin-left: 0; }
    .about-content img.img-fluid { margin-left: auto; margin-right: auto; display: block;}
    .counter-section .heading-section { text-align: center; }
    .ftco-footer { text-align: center; }
    .ftco-footer .ftco-footer-widget { margin-bottom: 40px; }
    .ftco-footer ul.list-unstyled { display: inline-block; }
}

@media (max-width: 767.98px) {
    .section-padding { padding: 60px 0; }
    .hero-wrap { min-height: 600px; }
    .hero-text h1 { font-size: 2.5rem; }
    .heading-section h2 { font-size: 2rem; }
    .block-18 .text .number { font-size: 2.5rem; }
    .counter-section { padding: 80px 0; background-attachment: scroll; }
    .go-btn { padding: 12px 30px; }
    .hero-wrap-2 { height: 350px; padding-bottom: 40px; }
    .hero-wrap-2 .text-bread h1 { font-size: 2rem; }
    .hero-wrap-2 .text-bread .breadcrumbs { font-size: 0.9rem; }
    .main-content-section h2 { font-size: 1.8rem; }
    .main-content-section p { font-size: 1rem; }
    .server-address { font-size: 1.2rem; padding: 10px 15px; }
    .server-address::before { font-size: 0.8rem; }
}