:root {
    --primary-blue: #1890FF;
    --primary-pink: #F14BA9;
    --light-blue: #E6F7FF;
    --light-pink: #FFE6F0;
    --dark-gray: #333333;
    --dark-light: #666;
    --light-gray: #f9f9f9;
    --white: #FFFFFF;
  }
  body {
    background-color: var(--light-gray);
  }

.container {
    margin: 0 auto;
    padding: 0 20px;
}

.nav-scrolled {
    box-shadow: 0 0.375rem 1.5rem 0 rgb(140 152 164 / 13%);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23506690' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

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

.navbar .navbar-nav {
    justify-content: flex-end;
    margin-left: auto;
    align-items: center;
}

.navbar .navbar-nav .nav-link {
    padding: 1rem .75rem;
    /* color: #677788; */
    color: rgb(0, 0, 0);
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.navbar .navbar-nav .nav-link.active {
    color: #377dff;
}

.github-nav-link{
    font-size: 20px;
}

.navbar-collapse {
    margin-left: auto;
}

.navbar-absolute-top-scroller {
    margin-left: auto;
}

.navbar-expand-lg .nav-item:not(:last-child) {
    margin-right: 1rem;
}

.navbar .dropdown-menu {
    border-top: 0.1875rem solid #377dff;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    box-shadow: 0 0.75rem 1rem rgb(189 197 209 / 30%);
    min-width: 15rem;
    animation-duration: 300ms;
    padding-left: 1rem;
    padding-right: 1rem;
}

.navbar .dropdown-menu .dropdown-item {
    color: #677788;
    font-size: 1rem;
    border-radius: 0.3125rem;
    padding: .75rem 1rem;
}

.navbar .dropdown-menu .dropdown-item:hover {
    color: #377dff;
}

.more-solutions .list-group-item {
    border: 0px;
    border-radius: 0.3125rem;
    margin-top: 2px;
    margin-bottom: 2px;
}

.more-solutions .list-group-item:hover {
    background: #e9ecef;
}

.more-solutions .list-group-item a {
    color: #6c757d;
    text-decoration: none;
    width: 100%;
    display: inline-block;
    /*padding: .75rem 1rem;*/
}

.more-solutions .list-group-item:hover a {
    color: #377dff;
}

.more-solutions .list-group-item.in-active {
    background: #e9ecef;
}

.more-solutions .list-group-item.in-active a {
    color: #377dff;
}

@media (max-width: 768px) {
    .carousel-side {
        text-align: center;
    }
}

.mt6em {
    margin-top: 6em;
    /* margin-top: 72px; */
}

.btn-transition {
    transition: all .2s ease-in-out;
}

.feature-item {
    width: 100%;
    display: block;
    font-size: 100px;
    color: #377dff;
}

.feature-item:hover {
    font-size: 120px;
}

.card {
    min-height: 18em;
}

.function-list tr {
    height: 4em;
}

.cursor-pointer {
 cursor: pointer;
}

.bg-home-header {
    background: linear-gradient(135deg, #1890FF, #F14BA9);
    color: white;
    text-align: center;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #1890FF, #F14BA9);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    background-color: #1890FF;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn:hover {
    color: white;
    background-color: #0c7cd5;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: rgba(255,255,255,0.1);
}

/* 特性区域 */
.features {
    padding: 100px 0;
    background-color: var(--light-gray);
}

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

.section-title h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.ft-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}



.ft-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.feature-overview {
    background-color: var(--white);
}

.feature-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border-top: 4px solid #1890FF;
}

.feature-card:nth-child(even) {
    border-top: 4px solid #F14BA9;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-card:nth-child(odd) .feature-icon {
    color: #1890FF;
}

.feature-card:nth-child(even) .feature-icon {
    color: #F14BA9;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.homepage-carousel-caption {
    background-color: rgba(102, 102, 102, 0.31);
    color: black;
    border-radius: 2px;
}

.carousel-item img {
    border-style: solid;
    border-width: 1px;
    border-color: rgba(102, 102, 102, 0.19);
    border-radius: 10px;
}

 /* 行动召唤 */
 .cta {
    background: linear-gradient(135deg, #1890FF, #F14BA9);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* 页脚 */
footer {
    background-color: #222;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

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

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

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #1890FF;
}

.footer-column:nth-child(3) .footer-links a:hover {
    color: #F14BA9;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
}

/* 响应式设计 */
@media (max-width: 768px) {
    
    .hero {
        padding: 150px 0 70px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .demo-content {
        flex-direction: column;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
}

.contact-widget {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-tab {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-pink));
    color: white;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 12px 0 0 12px;
    display: flex;
    align-items: center;
    box-shadow: -4px 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.contact-tab:hover {
    padding-right: 25px;
}

.contact-content {
    position: absolute;
    right: -350px;
    top: 0;
    width: 300px;
    background-color: white;
    border-radius: 12px 0 0 12px;
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.15);
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 20px;
    border-top: 4px solid var(--primary-blue);
}

.contact-content.show {
    right: 0;
}

.contact-content .qr-container {
    display: flex;
    justify-content: center;
    padding: 10px;
    margin: 15px 0;
    background-color: var(--light-gray);
    border-radius: 10px;
    border: 1px dashed #dee2e6;
    position: relative;
    overflow: hidden;
}

.contact-content .qr-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, transparent, rgba(67, 97, 238, 0.1), transparent);
    animation: shimmer 2s infinite;
    z-index: 0;
}

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

.contact-content .qr-container img {
    position: relative;
    z-index: 1;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.contact-content .qr-container img:hover {
    transform: scale(1.03);
}

.contact-content .icon-rotate {
    transition: transform 0.4s ease;
    margin-left: 10px;
}

.contact-content .icon-rotate.rotate {
    transform: rotate(180deg);
}

.contact-content .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
    color: #adb5bd;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background-color: #f8f9fa;
}

.contact-content .close-btn:hover {
    color: white;
    background-color: var(--primary-pink);
    transform: rotate(90deg);
}

.contact-content .contact-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.contact-content .info-text {
    text-align: center;
    color: #6c757d;
    font-size: 14px;
    margin-top: 15px;
}

.contact-content .social-icons {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 15px;
}

.contact-content .social-icons i {
    font-size: 20px;
    color: var(--primary-blue);
    transition: all 0.2s ease;
}

.contact-content .social-icons i:hover {
    color: var(--primary-pink);
    transform: translateY(-3px);
}

.breadcrumb-item > a {
    color: var(--dark-light);
    text-decoration: none;
}
.breadcrumb-item > a:hover {
    color: var(--primary-blue);
}