/* ====================== */
/* === GLOBAL STYLES === */
/* ====================== */
:root {
    --primary-color: #4a6bff;
    --secondary-color: #00d4ff;
    --purple: #7b4fff;
    --cyan: #00c8ff;
    --dark-color: #121212;
    --darker-color: #0a0a0a;
    --light-color: rgba(255, 255, 255, 0.9);
    --lighter-color: #ffffff;
    --gray-color: #b0b0b0;
    --dark-gray: #2a2a2a;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --neon-shadow: 0 0 15px rgba(74, 107, 255, 0.5);
    --card-border: 1px solid rgba(255, 255, 255, 0.1);
    --card-bg: rgba(25, 25, 35, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--light-color);
    background-color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ====================== */
/* === BASE CARD STYLES === */
/* ====================== */
.card-transparent {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--card-border);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.card-transparent:hover {
    background: rgba(30, 30, 40, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), var(--neon-shadow);
    transform: translateY(-5px);
}

.card-body {
    padding: 40px;
}

/* ====================== */
/* === TYPOGRAPHY === */
/* ====================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--lighter-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* ====================== */
/* === LAYOUT & SPACING === */
/* ====================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.container {
    padding-left: 15px;
    padding-right: 15px;
}

/* ====================== */
/* === NAV DROPDOWN === */
/* ====================== */
.navbar .nav-item.dropdown {
    position: relative;
}

.navbar .nav-item.dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 14px;
}

.navbar .dropdown-toggle::after {
    margin-left: 0.45rem;
    vertical-align: 0.15rem;
}

.navbar .dropdown-menu {
    margin-top: 0;
    min-width: 220px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(15, 18, 30, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32), var(--neon-shadow);
    top: 100%;
    left: 0;
}

.navbar .dropdown-item {
    color: var(--light-color);
    border-radius: 10px;
    padding: 10px 14px;
    transition: all 0.25s ease;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus,
.navbar .dropdown-item.active {
    color: var(--lighter-color);
    background: rgba(74, 107, 255, 0.18);
}

@media (min-width: 992px) {
    .navbar .nav-item.dropdown > .dropdown-menu {
        display: block !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(0);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .navbar .nav-item.dropdown:hover .dropdown-menu,
    .navbar .nav-item.dropdown.show .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}

/* ====================== */
/* === BUTTONS === */
/* ====================== */
.btn {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 12px 24px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(74, 107, 255, 0.3);
}

.btn-primary:hover {
    background-color: #3a5aed;
    border-color: #3a5aed;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 107, 255, 0.4);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--light-color);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-link:hover {
    color: var(--secondary-color);
}

.btn-link i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.btn-link:hover i {
    transform: translateX(3px);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* ====================== */
/* === BADGES === */
/* ====================== */
.badge {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.badge i {
    margin-right: 5px;
}

.badge.bg-primary {
    background-color: var(--primary-color) !important;
}

.badge.bg-purple {
    background-color: var(--purple) !important;
}

.badge.bg-cyan {
    background-color: var(--cyan) !important;
}

.badge.bg-primary-soft {
    background-color: rgba(74, 107, 255, 0.2) !important;
    color: var(--primary-color);
    border: 1px solid rgba(74, 107, 255, 0.3);
}

.badge.bg-purple-soft {
    background-color: rgba(123, 79, 255, 0.2) !important;
    color: var(--purple);
    border: 1px solid rgba(123, 79, 255, 0.3);
}

.badge.bg-primary-soft:hover,
.badge.bg-purple-soft:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.badge-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* ====================== */
/* === PROGRESS BARS === */
/* ====================== */
.progress-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    height: 8px;
    margin-top: 8px;
    overflow: hidden;
}

.progress-bar {
    background: var(--primary-color);
    height: 100%;
    border-radius: 50px;
    position: relative;
    transition: width 1s ease;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.progress-value {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: white;
}

.progress-label {
    font-size: 0.8rem;
    color: var(--light-color);
    margin-bottom: 5px;
}


/* ====================== */
/* === NAVBAR STYLE === */
/* ====================== */
.navbar {
    padding: 15px 0;
    background-color: rgba(10, 10, 15, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    line-height: 1;
}

.navbar-brand__logo {
    /* 教程页基准 1.5em × 230% = 3.45em */
    height: 3.45em !important;
    width: auto !important;
    max-width: none;
    object-fit: contain;
    display: block;
    flex: 0 0 auto;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

body.page-home .navbar-brand__logo {
    height: 3.45em !important;
    width: auto !important;
}

.navbar-brand span {
    color: #4a6bff;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 10px;
    padding: 8px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-link:hover,
.nav-link:focus {
    color: white;
    background: rgba(74, 107, 255, 0.1);
}

.nav-link.active {
    color: #4a6bff;
    background: rgba(74, 107, 255, 0.1);
}

.dropdown-menu {
    background: rgba(15, 15, 25, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.dropdown-mega-menu {
    width: 700px;
    padding: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.dropdown-mega-menu .row {
    margin: 0;
}

.dropdown-mega-menu .col-md-4 {
    padding: 0 15px;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(255, 255, 255, 0.05);
    color: #4a6bff;
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.05);
    margin: 8px 0;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -10px;
    margin-left: 0;
    display: none;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>.dropdown-item:after {
    content: "+";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    transition: transform 0.3s ease, content 0.3s ease;
}

.dropdown-submenu:hover>.dropdown-item:after {
    content: "-";
    transform: translateY(-50%);
}

.dropdown-submenu.show>.dropdown-item:after {
    content: "-";
    transform: translateY(-50%);
}

.dropdown-header {
    color: #4a6bff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 20px;
    margin-top: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

@media (min-width: 1000px) {
    .dropdown-submenu .dropdown-menu {
        top: 0;
        right: 100%;
        left: auto;
        margin-top: -10px;
        margin-right: 0;
        margin-left: 0;
        border-right: 2px solid rgba(255, 255, 255, 0.1);
        border-left: none;
    }

    .dropdown-submenu:hover>.dropdown-menu {
        display: block;
    }
}

@media (max-width: 991.98px) {
    .navbar-brand {
        font-size: 1.5rem;
    }

    .navbar-brand__logo {


        height: 3.45em !important;


        width: auto;


    }

    body.page-home .navbar-brand__logo {


        height: 3.45em !important;
    width: auto !important;


    }

    .navbar-collapse {
        background: rgba(20, 20, 30, 0.98);
        padding: 15px;
        border-radius: 12px;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        max-height: 70vh;
        overflow-y: auto;
    }

    .navbar-collapse::-webkit-scrollbar {
        width: 5px;
    }

    .navbar-collapse::-webkit-scrollbar-thumb {
        background-color: rgba(255, 255, 255, 0.3);
        border-radius: 10px;
    }

    .dropdown-menu {
        background: rgba(20, 20, 30, 0.98);
        margin-top: 0;
        border-radius: 6px;
    }

    .dropdown-mega-menu {
        width: 100%;
        left: 0;
        transform: none;
    }

    .dropdown-submenu>.dropdown-menu {
        position: static;
        margin-left: 10px;
        border-left: 2px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-submenu-child {
        left: 0 !important;
        right: auto !important;
        margin-left: 0 !important;
    }

    .dropdown-item {
        padding: 6px 15px;
        font-size: 0.8rem;
    }

    .nav-link {
        margin: 3px 0;
        padding: 6px 10px;
        font-size: 0.9rem;
    }

    .dropdown-header {
        font-size: 0.7rem;
        padding: 5px 15px;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand {
        font-size: 1.3rem;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .dropdown-item {
        font-size: 0.75rem;
    }

    .dropdown-mega-menu {
        padding: 15px;
    }

    .dropdown-mega-menu .col-md-4 {
        padding: 0 10px;
    }
}

/* ====================== */
/* === HERO SECTION === */
/* ====================== */
.hero {
    margin-top: 100px;
    margin-bottom: 100px;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    color: var(--light-color);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-image-container {
    position: relative;
    padding-left: 30px;
}

.hero-image {
    width: 100%;
    max-height: 500px;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;

}

.hero-image:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.hero-subtitle i {
    margin-right: 10px;
}

.hero-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--light-color);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-family: 'Space Grotesk', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero {
        padding: 100px 0;
    }
}

@media (max-width: 991.98px) {
    .hero {
        padding: 80px 0;
    }

    .hero-content {
        text-align: center;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-subtitle {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-top: 30px;
    }

    .stat-item {
        min-width: 100px;
        padding: 0 10px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 575.98px) {
    .hero {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-text {
        font-size: 0.9rem;
    }

    .hero-stats {
        gap: 10px;
    }

    .stat-item {
        min-width: 80px;
    }

    .stat-value {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }
}

/* ====================== */
/* === ABOUT SECTION === */
/* ====================== */
.about-columns {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.about-content {
    flex: 1;
    padding-right: 30px;
}

.about-stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-heading {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--lighter-color);
}

.about-text {
    color: var(--gray-color);
    margin-bottom: 25px;
    line-height: 1.7;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--light-color);
}

.highlight-item i {
    font-size: 1.2rem;
}

.stat-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border: var(--card-border);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(74, 107, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--lighter-color);
    font-family: 'Space Grotesk', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-color);
}

@media (max-width: 991.98px) {
    .about-columns {
        flex-direction: column;
        gap: 30px;
    }

    .about-content {
        padding-right: 0;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-heading {
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 20px;
    }
}

/* ====================== */
/* === SERVICES SECTION === */
/* ====================== */
.services-container {
    margin-top: 40px;
}

.services-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding: 10px 5px;
}

.service-card {
    padding: 30px;
    text-align: center;
    background: var(--card-bg);
    border-radius: 12px;
    border: var(--card-border);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(74, 107, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--lighter-color);
}

.service-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-metrics {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.metric {
    text-align: center;
    padding: 0 10px;
}

.metric-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    font-family: 'Space Grotesk', sans-serif;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--gray-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 1199.98px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 991.98px) {
    .service-card {
        padding: 25px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .service-card {
        padding: 20px;
    }

    .service-metrics {
        gap: 10px;
    }
}

@media (max-width: 575.98px) {
    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .metric-value {
        font-size: 1.1rem;
    }

    .metric-label {
        font-size: 0.7rem;
    }
}

/* ====================== */
/* === SOLUTIONS SECTION === */
/* ====================== */
.vertical-tabs-container {
    margin-top: 40px;
}

.vertical-tabs {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 15px;
}

.vertical-tabs .nav-link {
    color: var(--gray-color);
    text-align: left;
    padding: 12px 20px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.vertical-tabs .nav-link i {
    margin-right: 10px;
    font-size: 1.1rem;
}

.vertical-tabs .nav-link.active {
    color: var(--primary-color);
    background: rgba(74, 107, 255, 0.1);
    border-right: 3px solid var(--primary-color);
}

.vertical-tabs .nav-link:hover:not(.active) {
    color: var(--light-color);
    background: rgba(255, 255, 255, 0.05);
}

.tab-content {
    padding-left: 30px;
}

@media (max-width: 991.98px) {
    .vertical-tabs {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-right: 0;
        padding-bottom: 15px;
        margin-bottom: 30px;
        display: flex;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .vertical-tabs .nav-link {
        white-space: nowrap;
        margin-bottom: 0;
        margin-right: 10px;
    }

    .vertical-tabs .nav-link.active {
        border-right: none;
        border-bottom: 3px solid var(--primary-color);
    }

    .tab-content {
        padding-left: 0;
    }
}

.solution-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.solution-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--light-color);
}

.solution-features i {
    position: absolute;
    left: 0;
    top: 3px;
}

/* ====================== */
/* === PRICING SECTION === */
/* ====================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: var(--card-border);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), var(--neon-shadow);
}

.pricing-card.featured {
    border: 1px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(74, 107, 255, 0.3);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--primary-color);
    color: white;
    padding: 5px 30px;
    font-size: 0.8rem;
    font-weight: 500;
    transform: rotate(45deg);
    width: 120px;
    text-align: center;
}

.pricing-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--lighter-color);
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 10px;
}

.price .currency {
    font-size: 1.5rem;
    margin-top: 5px;
    margin-right: 5px;
    color: var(--primary-color);
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--lighter-color);
    font-family: 'Space Grotesk', sans-serif;
}

.price .period {
    align-self: flex-end;
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 5px;
    margin-left: 5px;
}

.price-description {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.pricing-features {
    padding: 30px;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: var(--light-color);
}

.pricing-features i {
    position: absolute;
    left: 0;
    top: 3px;
}

.pricing-footer {
    padding: 0 30px 30px;
}

.pricing-custom {
    margin-top: 60px;
}

.custom-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 40px;
    border: var(--card-border);
    max-width: 700px;
    margin: 0 auto;
}

.custom-card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.custom-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

/* ====================== */
/* === TEAM SECTION === */
/* ====================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background: var(--card-bg);
    border-radius: 12px;
    border: var(--card-border);
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), var(--neon-shadow);
}

.team-photo {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-photo img {
    transform: scale(1.05);
}

.team-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.8);
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.team-card:hover .team-social {
    transform: translateY(0);
}

.team-social a {
    color: var(--light-color);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--lighter-color);
}

.team-position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.team-bio {
    color: var(--gray-color);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 767.98px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .team-photo {
        height: 200px;
    }
}

/* ====================== */
/* === CLIENTS SECTION === */
/* ====================== */
#clients {
    padding: 80px 0;
    position: relative;
    overflow: visible;
}

#clients::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.client-carousel {
    padding: 20px 0;
    margin: -10px 0;
    position: relative;
    z-index: 1;
}

.client-carousel .client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    margin: 10px 8px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 2;
}

.client-carousel .client-logo:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
    z-index: 3;
}

.client-carousel img {
    max-height: 45px;
    width: auto;
    max-width: 100%;
    filter: grayscale(30%) brightness(1.2);
    transition: all 0.4s ease;
    opacity: 0.8;
}

.client-carousel .client-logo:hover img {
    filter: grayscale(0%) brightness(1.3);
    opacity: 1;
    transform: scale(1.1);
}

.slick-slide {
    padding: 0 8px;
    position: relative;
}

.slick-track {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.slick-prev,
.slick-next {
    display: none !important;
}

@media (max-width: 1199.98px) {
    #clients {
        padding: 70px 0;
    }
}

@media (max-width: 991.98px) {
    #clients {
        padding: 60px 0;
    }

    .client-carousel .client-logo {
        height: 80px;
        padding: 12px;
    }

    .client-carousel img {
        max-height: 40px;
    }
}

@media (max-width: 767.98px) {
    #clients {
        padding: 50px 0;
    }

    .client-carousel {
        padding: 15px 0;
    }

    .client-carousel .client-logo {
        height: 70px;
        margin: 8px 5px;
    }

    .client-carousel img {
        max-height: 35px;
    }
}

@media (max-width: 575.98px) {
    #clients {
        padding: 40px 0;
    }

    .client-carousel .client-logo {
        height: 60px;
        padding: 8px;
        margin: 5px;
    }

    .client-carousel img {
        max-height: 30px;
    }

    .client-carousel .client-logo:hover {
        transform: translateY(-3px) scale(1.02);
    }
}

/* ====================== */
/* === TESTIMONIALS SECTION === */
/* ====================== */
#testimonials {
    padding: 100px 0;
    position: relative;
}

#testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
}

.testimonials-carousel {
    margin-top: 40px;
}

.testimonial-item {
    padding: 0 10px;
    outline: none;
}

.testimonial-content {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px;
    height: 100%;
    transition: all 0.4s ease;
    border: var(--card-border);
    position: relative;
    overflow: visible;
    margin-top: 20px;
}

.testimonial-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), var(--neon-shadow);
    z-index: 2;
}

.testimonial-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.testimonial-rating i {
    margin-right: 3px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 30px;
    color: var(--light-color);
    position: relative;
    font-size: 1.1rem;
    line-height: 1.8;
    padding-left: 20px;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    font-family: serif;
    line-height: 1;
}

.testimonial-text::before {
    top: -15px;
    left: -10px;
}

.testimonial-text::after {
    bottom: -40px;
    right: 10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 40px;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.author-info h5 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--lighter-color);
}

.author-info .position {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.slick-dots {
    position: relative;
    bottom: 0;
    margin-top: 50px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
}

.slick-dots li {
    margin: 0 8px;
}

.slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    font-size: 0;
    transition: all 0.3s ease;
}

.slick-dots li.slick-active button {
    background: var(--primary-color);
    transform: scale(1.3);
}

@media (max-width: 991.98px) {
    #testimonials {
        padding: 80px 0;
    }

    .testimonial-content {
        padding: 30px;
    }

    .testimonial-text {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    #testimonials {
        padding: 60px 0;
    }

    .author-avatar {
        width: 60px;
        height: 60px;
    }

    .slick-dots li button {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 575.98px) {
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }

    .author-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .slick-dots {
        margin-top: 40px;
    }
}

/* ====================== */
/* === GALLERY SECTION === */
/* ====================== */
.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
}

.gallery-filter .filter-btn {
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.gallery-filter .filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.gallery-grid {
    margin-bottom: 25px;
}

.gallery-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: 100%;
    margin-bottom: 15px;
}

.gallery-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 20, 0.85);
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.25s ease;
    padding: 15px;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-card:hover img {
    transform: scale(1.03);
}

.gallery-info {
    width: 100%;
    transform: translateY(15px);
    transition: transform 0.25s ease;
}

.gallery-card:hover .gallery-info {
    transform: translateY(0);
}

.gallery-info h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: white;
}

.gallery-info p {
    font-size: 0.8rem;
    color: var(--gray-color);
    margin-bottom: 8px;
    line-height: 1.4;
}

.gallery-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Tablet-specific adjustments (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .gallery-grid .row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .gallery-card img {
        height: 160px;
    }
    
    .gallery-filter {
        gap: 6px;
        margin-bottom: 20px;
    }
    
    .gallery-filter .filter-btn {
        padding: 5px 14px;
        font-size: 0.8rem;
    }
    
    .gallery-overlay {
        padding: 12px;
    }
    
    .gallery-info h4 {
        font-size: 1rem;
    }
    
    .gallery-info p {
        font-size: 0.75rem;
    }
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
    .gallery-grid .row {
        grid-template-columns: 1fr;
    }
    
    .gallery-card img {
        height: 200px;
    }
}

/* Desktop adjustments */
@media (min-width: 1025px) {
    .gallery-grid .row {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-card img {
        height: 220px;
    }
}

/* ====================== */
/* === CONTACT SECTION === */
/* ====================== */
.contact-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 50px;
    box-shadow: var(--card-shadow);
    border: var(--card-border);
}

.contact-form .form-label {
    color: var(--light-color);
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    padding: 12px 15px;
    border-radius: 6px;
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--light-color);
    box-shadow: 0 0 0 0.25rem rgba(74, 107, 255, 0.25);
}

.contact-info {
    padding-left: 30px;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(74, 107, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-content h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-content p {
    color: var(--gray-color);
    margin-bottom: 0;
}

.contact-social {
    margin-top: 40px;
}

.contact-social h5 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

@media (max-width: 991.98px) {
    .contact-info {
        padding-left: 0;
        padding-top: 40px;
    }
}

@media (max-width: 575.98px) {
    .contact-card {
        padding: 30px;
    }
}

/* ====================== */
/* === BLOG SECTION === */
/* ====================== */
.blog-search {
    margin-bottom: 30px;
}

.search-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    height: 50px;
    border-radius: 6px 0 0 6px;
}

.search-form .btn {
    height: 50px;
    border-radius: 0 6px 6px 0;
}

.blog-grid {
    display: grid;
    gap: 30px;
}

.blog-post-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: var(--card-border);
    transition: all 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.post-thumbnail {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.post-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--gray-color);
}

.post-meta span {
    display: flex;
    align-items: center;
}

.post-meta i {
    margin-right: 5px;
}

.post-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.post-excerpt {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-tags {
    display: flex;
    gap: 8px;
}

.blog-pagination .page-item .page-link {
    background: var(--card-bg);
    border: var(--card-border);
    color: var(--light-color);
    margin: 0 5px;
    border-radius: 6px !important;
}

.blog-pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.blog-pagination .page-item.disabled .page-link {
    background: rgba(255, 255, 255, 0.05);
    color: var(--gray-color);
}

.blog-sidebar {
    padding-left: 30px;
}

.sidebar-widget {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.latest-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.latest-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.post-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-info h5 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.post-info h5 a {
    color: var(--light-color);
    transition: all 0.3s ease;
}

.post-info h5 a:hover {
    color: var(--primary-color);
}

.post-date {
    font-size: 0.8rem;
    color: var(--gray-color);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list li:last-child {
    margin-bottom: 0;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    color: var(--light-color);
    transition: all 0.3s ease;
}

.category-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.category-list .count {
    background: rgba(74, 107, 255, 0.1);
    color: var(--primary-color);
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 50px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-block;
    background: rgba(74, 107, 255, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    font-size: 0.85rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.newsletter-form .form-group {
    margin-bottom: 15px;
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    height: 45px;
}

@media (max-width: 991.98px) {
    .blog-sidebar {
        padding-left: 0;
        padding-top: 40px;
    }
}

@media (max-width: 767.98px) {
    .post-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .post-tags {
        width: 100%;
        flex-wrap: wrap;
    }
}

/* ====================== */
/* === FOOTER SECTION === */
/* ====================== */
.footer {
    padding: 80px 0 30px;
    background: var(--darker-color);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 107, 255, 0.5), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about {
    max-width: 300px;
}

.footer-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--lighter-color);
    text-decoration: none;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-about p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-links h5 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--lighter-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
    margin-top: 3px;
}

.footer-contact a {
    color: var(--gray-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-newsletter {
    margin-top: 30px;
}

.subscribe-form {
    position: relative;
}

.subscribe-form .input-group {
    display: flex;
    align-items: stretch;
}

.subscribe-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    padding: 12px 15px;
    border-radius: 6px;
    flex-grow: 1;
    height: auto;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.subscribe-form .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--light-color);
    box-shadow: none;
}

.subscribe-form .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--gray-color);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 767.98px) {
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .footer {
        padding: 60px 0 30px;
    }
}

/* ====================== */
/* === PRELOADER === */
/* ====================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    text-align: center;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--gray-color);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.loader-text {
    margin-top: 15px;
    color: var(--light-color);
    font-size: 1.2rem;
    font-family: 'Space Grotesk', sans-serif;
    text-align: center;
}

.loader-text::after {
    content: '...';
    display: inline-block;
    width: 50px;
    animation: blinkDots 1.5s infinite steps(1);
    color: var(--primary-color);
    font-size: 1.5rem;
    vertical-align: bottom;
    margin-left: 5px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes blinkDots {

    0%,
    33% {
        content: '.';
    }

    34%,
    66% {
        content: '..';
    }

    67%,
    100% {
        content: '...';
    }
}

.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ====================== */
/* === SPACE BACKGROUND === */
/* ====================== */
.space-background {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.global-floating-particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.global-particle {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--size);
    height: var(--size);
    border-radius: 999px;
    background: radial-gradient(circle, var(--color) 0%, rgba(255, 255, 255, 0.24) 52%, transparent 100%);
    animation: globalParticleFloat var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
    filter: blur(0.2px);
    opacity: 0.9;
}

@keyframes globalParticleFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(0.9);
        opacity: 0.35;
    }
    25% {
        transform: translate3d(calc(var(--drift-x) * 0.6), calc(var(--drift-y) * -0.6), 0) scale(1.08);
        opacity: 0.62;
    }
    50% {
        transform: translate3d(var(--drift-x), var(--drift-y), 0) scale(1);
        opacity: 0.5;
    }
    75% {
        transform: translate3d(calc(var(--drift-x) * -0.45), calc(var(--drift-y) * 0.5), 0) scale(1.02);
        opacity: 0.58;
    }
}

@keyframes bodyParticleDriftA {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-10px, -16px, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

@keyframes bodyParticleDriftB {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(12px, 14px, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

/* ====================== */
/* === SECTION RESPONSIVE STYLES === */
/* ====================== */
@media (max-width: 1199.98px) {
    .section {
        padding: 80px 0;
    }

    .card-body {
        padding: 30px;
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .card-body {
        padding: 25px;
    }
}

/* ====================== */
/* === GLOBAL LIGHT THEME === */
/* ====================== */
:root {
    --light-color: rgba(30, 41, 59, 0.95);
    --lighter-color: #0f172a;
    --gray-color: #64748b;
    --card-border: 1px solid rgba(20, 28, 42, 0.14);
    --card-bg: rgba(255, 255, 255, 0.9);
}

html,
body {
    background-color: #ffffff;
}

body {
    color: #334155;
    position: relative;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.navbar,
.hero,
.section,
.footer,
.container,
.preloader {
    position: relative;
    z-index: 1;
}

body::before {
    background-image:
        radial-gradient(circle at 8% 22%, rgba(96, 165, 250, 0.35) 0 4px, transparent 8px),
        radial-gradient(circle at 21% 68%, rgba(129, 140, 248, 0.28) 0 5px, transparent 9px),
        radial-gradient(circle at 33% 42%, rgba(45, 212, 191, 0.24) 0 3px, transparent 8px),
        radial-gradient(circle at 47% 77%, rgba(56, 189, 248, 0.26) 0 4px, transparent 8px),
        radial-gradient(circle at 60% 18%, rgba(168, 85, 247, 0.2) 0 5px, transparent 10px),
        radial-gradient(circle at 72% 58%, rgba(59, 130, 246, 0.24) 0 4px, transparent 9px),
        radial-gradient(circle at 84% 34%, rgba(251, 146, 60, 0.16) 0 4px, transparent 9px),
        radial-gradient(circle at 92% 75%, rgba(14, 165, 233, 0.22) 0 3px, transparent 8px);
    animation: bodyParticleDriftA 26s linear infinite;
}

body::after {
    background-image:
        radial-gradient(circle at 12% 82%, rgba(59, 130, 246, 0.22) 0 3px, transparent 8px),
        radial-gradient(circle at 26% 30%, rgba(99, 102, 241, 0.26) 0 4px, transparent 9px),
        radial-gradient(circle at 39% 62%, rgba(34, 197, 94, 0.16) 0 4px, transparent 8px),
        radial-gradient(circle at 53% 24%, rgba(6, 182, 212, 0.2) 0 3px, transparent 7px),
        radial-gradient(circle at 69% 72%, rgba(139, 92, 246, 0.18) 0 4px, transparent 9px),
        radial-gradient(circle at 81% 48%, rgba(59, 130, 246, 0.24) 0 3px, transparent 8px),
        radial-gradient(circle at 94% 20%, rgba(14, 165, 233, 0.2) 0 4px, transparent 8px);
    animation: bodyParticleDriftB 34s linear infinite;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.navbar-brand {
    color: #111827 !important;
}

.nav-link {
    color: rgba(30, 41, 59, 0.88) !important;
}

.nav-link:hover,
.nav-link:focus {
    color: #0f172a !important;
    background: rgba(59, 130, 246, 0.14);
}

.dropdown-menu,
.navbar .dropdown-menu {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(20, 28, 42, 0.1);
}

.dropdown-item {
    color: #1f2937;
}

.hero-subtitle {
    color: #475569;
}

.hero-text,
.section-subtitle,
p {
    color: #64748b;
}

.card-transparent,
.service-card,
.pricing-card,
.custom-card {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(30, 41, 59, 0.1) !important;
    box-shadow: 0 10px 24px rgba(30, 41, 59, 0.08);
    backdrop-filter: blur(6px);
}

.card-transparent:hover,
.service-card:hover,
.pricing-card:hover {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 14px 30px rgba(30, 41, 59, 0.11);
}

.stat-item,
.metric,
.pricing-features li,
.footer-about p,
.footer-bottom,
.copyright {
    color: #4b5563;
}

.section-title,
.hero-title,
h1,
h2,
h3,
h4 {
    color: #0b1220;
}

.service-icon {
    background: linear-gradient(145deg, #e0ecff, #f0f7ff);
    color: #315efb;
    box-shadow: 0 8px 20px rgba(49, 94, 251, 0.18);
}

.badge.bg-primary-soft {
    background-color: rgba(37, 99, 235, 0.12) !important;
    color: #1e40af;
}

.badge.bg-purple-soft {
    background-color: rgba(139, 92, 246, 0.12) !important;
    color: #6d28d9;
}

.btn-outline-primary {
    border-color: rgba(37, 99, 235, 0.45);
    color: #1e40af;
    background: rgba(37, 99, 235, 0.06);
}

.btn-outline-primary:hover {
    background: rgba(37, 99, 235, 0.14);
    color: #1e3a8a;
}

.social-icon {
    background: rgba(49, 94, 251, 0.1);
    color: #2345c4;
}

.social-icon:hover {
    background: rgba(49, 94, 251, 0.2);
    color: #17317f;
}

.footer {
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.92), rgba(237, 244, 255, 0.95));
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

/* Page-specific compatibility overrides for light theme */
.line-desc,
.pricing-item,
.tool-item,
.tool-card,
.tutorial-card,
.feature-card,
.audience-card,
.tech-stack,
.tech-item,
.step-content {
    background: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid rgba(30, 41, 59, 0.12) !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.country-name,
.tool-group-title,
.tool-item h5,
.tutorial-info h3,
.feature-card h3,
.audience-card h4,
.step-content h4 {
    color: #0f172a !important;
}

.tool-item p,
.tutorial-info p,
.tutorial-views,
.feature-card p,
.audience-card p,
.tech-item p,
.step-content p,
.line-desc,
.total-price {
    color: #475569 !important;
}

.qty-input {
    background: #ffffff !important;
    color: #1f2937 !important;
    border: 1px solid rgba(30, 41, 59, 0.24) !important;
}

.country-wrap img {
    border-color: rgba(30, 41, 59, 0.24) !important;
}

.tutorial-duration {
    background: rgba(15, 23, 42, 0.72) !important;
    color: #ffffff !important;
}

/* ====================== */
/* === UI SYSTEM V2 === */
/* ====================== */
:root {
    --ui-brand-500: #2563eb;
    --ui-brand-600: #1d4ed8;
    --ui-accent-500: #7c3aed;
    --ui-bg-page: #f8fbff;
    --ui-bg-surface: rgba(255, 255, 255, 0.92);
    --ui-bg-elevated: rgba(255, 255, 255, 0.98);
    --ui-text-primary: #0f172a;
    --ui-text-secondary: #334155;
    --ui-text-muted: #64748b;
    --ui-border-subtle: rgba(30, 41, 59, 0.12);
    --ui-border-strong: rgba(30, 58, 138, 0.24);
    --ui-shadow-sm: 0 6px 18px rgba(30, 41, 59, 0.06);
    --ui-shadow-md: 0 10px 24px rgba(30, 41, 59, 0.08);
    --ui-shadow-lg: 0 14px 32px rgba(30, 41, 59, 0.11);
    --ui-radius-sm: 8px;
    --ui-radius-md: 12px;
    --ui-radius-lg: 16px;
    --ui-space-2: 8px;
    --ui-space-3: 12px;
    --ui-space-4: 16px;
    --ui-space-5: 24px;
    --ui-space-6: 32px;
    --ui-motion-fast: 160ms;
    --ui-motion-base: 220ms;
}

html,
body {
    background-color: var(--ui-bg-page);
}

body {
    color: var(--ui-text-secondary);
    font-size: 16px;
    line-height: 1.65;
}

h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title {
    color: var(--ui-text-primary);
    letter-spacing: -0.01em;
}

.section-subtitle,
.hero-text,
p,
.copyright {
    color: var(--ui-text-muted);
}

.section {
    padding: 88px 0;
}

.hero {
    padding: 128px 0 84px;
}

.navbar {
    background: rgba(255, 255, 255, 0.84);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.04);
}

.navbar-brand {
    color: var(--ui-text-primary) !important;
}

.nav-link {
    color: var(--ui-text-secondary) !important;
    border-radius: var(--ui-radius-sm);
    transition: background var(--ui-motion-base) ease, color var(--ui-motion-base) ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--ui-text-primary) !important;
    background: rgba(37, 99, 235, 0.12);
}

.dropdown-menu,
.navbar .dropdown-menu {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--ui-border-subtle);
    box-shadow: var(--ui-shadow-md);
}

.dropdown-item {
    color: var(--ui-text-secondary);
}

.card-transparent,
.service-card,
.pricing-card,
.custom-card,
.tool-item,
.tutorial-card,
.feature-card,
.audience-card,
.tech-stack,
.tech-item,
.step-content,
.pricing-item,
.line-desc {
    background: var(--ui-bg-surface) !important;
    border: 1px solid var(--ui-border-subtle) !important;
    box-shadow: var(--ui-shadow-md);
    border-radius: var(--ui-radius-md);
}

.card-transparent:hover,
.service-card:hover,
.pricing-card:hover,
.tool-item:hover,
.feature-card:hover,
.audience-card:hover {
    background: var(--ui-bg-elevated) !important;
    box-shadow: var(--ui-shadow-lg);
    transform: translateY(-3px);
}

.card-body {
    padding: var(--ui-space-6);
}

.btn {
    border-radius: var(--ui-radius-sm);
    font-weight: 600;
    transition: all var(--ui-motion-base) ease;
}

.btn-primary {
    background-color: var(--ui-brand-500);
    border-color: var(--ui-brand-500);
}

.btn-primary:hover {
    background-color: var(--ui-brand-600);
    border-color: var(--ui-brand-600);
    transform: translateY(-1px);
}

.btn-outline-primary {
    border-color: rgba(37, 99, 235, 0.44);
    color: var(--ui-brand-600);
    background: rgba(37, 99, 235, 0.06);
}

.btn-outline-primary:hover {
    color: #1e3a8a;
    background: rgba(37, 99, 235, 0.14);
}

.badge.bg-primary-soft {
    background-color: rgba(37, 99, 235, 0.12) !important;
    color: var(--ui-brand-600);
}

.badge.bg-purple-soft {
    background-color: rgba(124, 58, 237, 0.12) !important;
    color: #6d28d9;
}

.footer {
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(236, 244, 255, 0.96));
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.footer-about p,
.footer-bottom,
.footer-links a,
.footer-contact li {
    color: var(--ui-text-muted);
}

/* Page-level consistency */
body.page-home .hero { padding: 132px 0 88px; }
body.page-shop .hero,
body.page-tools .hero,
body.page-tutorial .hero,
body.page-video-player .hero,
body.page-traffic .hero,
body.page-account .hero,
body.page-soft-router .hero {
    padding: 128px 0 76px;
}

body.page-shop .hero,
body.page-tools .hero {
    padding-top: 24px;
    padding-bottom: 19px;
}

body.page-shop .section,
body.page-tools .section,
body.page-account .section,
body.page-soft-router .section {
    padding-top: 28px;
    padding-bottom: 64px;
}

/* 商城/工具标题模块：去卡片边框并与背景融合（参考教程页） */
body.page-shop .hero .card-transparent,
body.page-tools .hero .card-transparent,
body.page-account .hero .card-transparent,
body.page-soft-router .hero .card-transparent {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

/* 标题模块上下间距压缩 */
body.page-shop .hero .card-body,
body.page-tools .hero .card-body,
body.page-account .hero .card-body,
body.page-soft-router .hero .card-body {
    padding-top: 8px;
    padding-bottom: 8px;
}

body.page-shop .hero .badge-container,
body.page-tools .hero .badge-container,
body.page-account .hero .badge-container,
body.page-soft-router .hero .badge-container {
    margin-bottom: 0.75rem !important;
}

body.page-shop .hero .hero-title,
body.page-tools .hero .hero-title,
body.page-account .hero .hero-title,
body.page-soft-router .hero .hero-title {
    margin-bottom: 0.5rem !important;
}

body.page-tutorial .floating-particles,
body.page-video-player .floating-particles,
body.page-traffic .floating-particles {
    opacity: 0.5;
}

body.page-line-subpage .container {
    max-width: 980px;
}

body.page-line-subpage .container[style] {
    padding-top: 154px !important;
    padding-bottom: 56px !important;
}

/* ====================== */
/* === UI REFINEMENT V2.1 === */
/* ====================== */
:root {
    --ui-fs-display: clamp(2.1rem, 3vw, 2.8rem);
    --ui-fs-h2: clamp(1.65rem, 2.2vw, 2.1rem);
    --ui-fs-h3: clamp(1.25rem, 1.6vw, 1.45rem);
    --ui-fs-body: 1rem;
    --ui-fs-small: 0.92rem;
}

.ui-surface-card {
    background: var(--ui-bg-surface) !important;
    border: 1px solid var(--ui-border-subtle) !important;
    box-shadow: var(--ui-shadow-md);
    backdrop-filter: blur(6px);
}

.hero-title {
    font-size: var(--ui-fs-display);
    line-height: 1.18;
    background: linear-gradient(120deg, #0f172a 0%, #1d4ed8 56%, #0ea5e9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-title {
    font-size: var(--ui-fs-h2);
    background: linear-gradient(115deg, #1e293b 0%, #2563eb 58%, #0ea5e9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h3,
.service-card h3,
.pricing-card h3,
.tool-item h5,
.tutorial-info h3,
.feature-card h3 {
    font-size: var(--ui-fs-h3);
    color: #1e3a8a;
}

.hero-title .text-primary,
.section-title .text-primary {
    color: #0b78d1 !important;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
}

body,
p,
li,
.hero-text,
.section-subtitle {
    font-size: var(--ui-fs-body);
}

.tutorial-views,
.tool-link-btn,
.footer-bottom,
.copyright {
    font-size: var(--ui-fs-small);
}

.btn,
.badge,
.tool-link-btn {
    letter-spacing: 0.01em;
}

.service-card:hover,
.pricing-card:hover,
.tool-item:hover,
.feature-card:hover,
.audience-card:hover {
    transform: translateY(-2px);
}

body.page-shop .line-tab-btn {
    border-radius: var(--ui-radius-md) var(--ui-radius-md) 0 0;
    transition: all var(--ui-motion-base) ease;
}

body.page-shop .tabs-content {
    border-radius: 0 var(--ui-radius-md) var(--ui-radius-md) var(--ui-radius-md);
    box-shadow: var(--ui-shadow-sm);
}

body.page-tools .tool-link-btn {
    border-radius: var(--ui-radius-sm);
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.12);
}

body.page-tutorial .search-box input {
    border: 1px solid var(--ui-border-subtle);
    background: rgba(255, 255, 255, 0.94);
    color: var(--ui-text-secondary);
}

body.page-tutorial .search-box input::placeholder {
    color: #94a3b8;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ====================== */
/* === AUTH PAGES === */
/* ====================== */
.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 16px 48px;
    position: relative;
    z-index: 5;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #ffffff;
    padding: 30px;
    width: min(460px, 100%);
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    position: relative;
    z-index: 6;
}

.auth-form .flex-column > label {
    color: #151717;
    font-weight: 600;
    margin-bottom: 6px;
}

.auth-input-form {
    border: 1.5px solid #ecedec;
    border-radius: 10px;
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    transition: 0.2s ease-in-out;
}

.auth-input-form:focus-within {
    border: 1.5px solid #2d79f3;
}

.auth-input {
    margin-left: 10px;
    border-radius: 10px;
    border: none;
    width: 100%;
    height: 100%;
    color: #0f172a;
}

.auth-input:focus {
    outline: none;
}

.auth-submit {
    margin: 10px 0 6px;
    background-color: #151717;
    border: none;
    color: white;
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    height: 50px;
    width: 100%;
    cursor: pointer;
}

.auth-submit:hover {
    background-color: #252727;
}

.auth-link-row {
    text-align: center;
    color: #334155;
    font-size: 14px;
}

.auth-link-row a {
    color: #2d79f3;
    text-decoration: none;
    margin: 0 6px;
}

.auth-code-row {
    display: flex;
    gap: 8px;
}

.auth-code-row .auth-input-form {
    flex: 1;
}

