* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-image: url('assets/img/blog.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media (max-width: 768px) {
    body {
        background-size: contain;
    }
}

.status-bar {
    width: 100%;
    height: 60px;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: opacity 0.3s ease;
}

.site-icon {
    width: 170px;
    height: 90px;
    margin-left: 20px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    z-index: 1003;
}

@media (max-width: 767px) {
    .site-icon {
        margin-left: 10px;
    }
}

.menu-icon {
    position: fixed;
    right: 15px;
    top: 15px;
    color: black;
    font-size: 18px;
    cursor: pointer;
    z-index: 1001;
    width: 35px;
    height: 30px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #a6e3e9;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 500px;
    height: 100%;
    background-color: white;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    opacity: 1;
    z-index: 1002;
    transform: translateX(0);
}

@media (max-width: 767px) {
    .sidebar {
        width: 100%;
    }
}

.sidebar-head {
    background-color: #6eb6ff;
    width: 100%;
    height: 60px;
}
.sidebar-head-icon {
    width: 50px;
    height: 50px;
    margin-top: 5px;
    margin-left: 10px;
    border-radius: 25px;
    z-index: 5;
}
.sidebar-line {
    height: 35px;
    width: 100%;
    background-color: #e4f3ff;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 20px;
}
.sidebar-bottom {
    height: 40px;
    width: 100%;
    background-color: #d8e6ff;
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
    border-radius: 5px;
    
}

.button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: 10px;
    padding: 0 10px;
}

.sidebar-button {
    width: calc(50% - 1.5px);
    height: 45px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: black;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    background-color: #d8e6ff;
}

.sidebar-button:hover {
    background-color: #0056b3;
}


.sidebar.close {
    transform: translateX(100%);
    opacity: 0;
}

.close-icon {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 1003;
    cursor: pointer;
}

.close-background {
    font-size: 30px;
    color: black;
    background-color: #ffd3b6;
    width: 35px;
    height: 30px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-image {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-100px);
    animation: slideIn 2s ease forwards;
    margin: 0;
    text-align: center;
    z-index: 1;
    margin-bottom: 40px;
    margin-top: 60px;
}

@media (max-width: 767px) {
    .banner-image {
        margin-bottom: 10px;
        margin-top: 60px;  
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: 2;
}

.banner-breadcrumb {
    position: absolute;
    top: 34%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 140px;
    font-weight: 900;
    z-index: 3;
    animation: colorChange 5s infinite alternate;
}


.banner-text {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 70px;
    font-weight: 900;
    z-index: 3;
    background: linear-gradient(90deg, #ff7e5f, #feb47b, #ffd3b6, #a6e3e9, #91e3f5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: colorChange 5s infinite alternate;
}

@media (max-width: 767px) {
    .banner-text {
        top: 24%;
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
        font-size: 50px;
        font-weight: 700;
        transform: none;
    }
}
.banner-container-1 {
    position: absolute;
    top: 43%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;
    z-index: 3;
    overflow: hidden;
}

.banner-text-1 {
    font-size: 15px;
    font-weight: 700;
    color: white;
    word-wrap: break-word;
    line-height: 1.5;
}

@media (max-width: 767px) {
  .banner-container-1 {
    position: absolute;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;
    z-index: 3;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

.banner-container-2 {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;
    z-index: 3;
    overflow: hidden;
}

.banner-text-2 {
    font-size: 15px;
    font-weight: 700;
    color: white;
    word-wrap: break-word;
    line-height: 1.5;
}

@media (max-width: 767px) {
.banner-container-2 {
    position: absolute;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;
    z-index: 3;
    overflow: hidden;
   }
}

@keyframes colorChange {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

@media (max-width: 767px) {
    .banner-image {
        animation: slideIn 1s ease forwards;
    }
}

.card {
    width: 350px;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    position: relative;
    background-color: #fff;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    background-color: #fafbfc;
}

.card:hover::before {
    opacity: 1;
}

.card:active {
    transform: translateY(-2px) scale(0.99);
    transition: transform 0.1s ease;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 15px;
    margin: 0 auto;
    max-width: 100%;
    transition: padding 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
    .card, .cards-container {
        transition: none !important;
    }
    .card::before {
        display: none;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    animation: fadeIn 0.5s ease forwards;
    animation-delay: calc(var(--animation-order) * 0.1s);
    opacity: 0;
}

@media (max-width: 767px) {
    .card {
        width: calc(100% - 30px);
        margin: 15px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .card {
        width: calc(50% - 30px);
        margin: 15px;
    }
}


.status-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    position: relative; /* 设置相对定位 */
}

.status-label {
    display: inline-block;
    width: 25px;
    height: 16px;
    padding: 0;
    color: white;
    font-size: 9px;
    border-radius: 5px;
    margin-right: 10px;
    text-align: center;
    line-height: 16px;
    white-space: nowrap;
}

.calls-number {
    width: 40px;
    background-color: #f2bbbb;
}

.open-source {
    background-color: #a1de93;
}

.closed-source {
    background-color: #ffa8b8;
}

.free {
    background-color: #a1de93;
}

.paid {
    background-color: #ffa8b8;
}

.charging-method {
    background-color: #87dfd6;
}

.price {
    width: 30px;
    background-color: #d6c8ff;
}

.status-icon {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px; /* 为图标和文字之间添加一些间距 */
    text-align: center;
    line-height: 10px;
    font-size: 8px;
}

.status-normal {
    background-color: green;
}

.status-maintenance {
    background-color: blue;
}

.status-failed {
    background-color: red;
}

.status-banned {
    background-color: black;
}

.status-text {
    font-size: 9px;
    color: black;
}

.status-icon-container {
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
}



.status-icon {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-left: 10px;
    text-align: center;
    line-height: 10px;
    font-size: 8px;
}

.status-normal {
    background-color: green;
}

.status-maintenance {
    background-color: blue;
}

.status-failed {
    background-color: red;
}

.status-banned {
    background-color: black;
}


.banner-image {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-100px);
    animation: slideIn 2s ease forwards;
    margin: 0;
    text-align: center;
    z-index: 1;
    margin-bottom: 40px;
    margin-top: 60px;
}
@media (max-width: 767px) {
    .banner-image {
        margin-bottom: 10px;
        margin-top: 60px;  
    }
}

.card-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateY(-20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    position: relative;
    z-index: 1;
}

.card-image.visible {
    opacity: 1;
    transform: translateY(0);
}

.card-image-text {
    position: absolute;
    bottom: 10px;
    left: 20px;
    color: black;
    font-size: 16px;
    z-index: 2;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid white;
    animation: typing 5s steps(40, end) infinite, 
               blinkCaret 0.75s step-end infinite;
}
@keyframes typing {
    0%, 100% { width: 0; }
    50% { width: 100%; }
}
@keyframes blinkCaret {
    from, to { border-color: transparent; }
    50% { border-color: white; }
}


.breadcrumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  z-index: 2;
  width: 100%;
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.card-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.button-left {
    background-color: #fbafaf;
    border: none;
    width: 150px;
    height: 30px;
    margin-right: 10px;
    border-radius: 5px;
    font-weight: 600;
    color: white;
}

.button-right {
    background-color: #99e1e5;
    border: none;
    width: 150px;
    height: 30px;
    border-radius: 5px;
    font-weight: 600;
    color: white;
}

.banner-numbers {
    position: absolute;
    top: 33%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: rgba(255, 255, 255);
    z-index: 4;
    width: 100%;
}

@media screen and (max-width: 767px) {
    .banner-numbers {
        top: 36%;
    } 
}

.banner-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner-column div:nth-child(2) {
    opacity: 0.5;
}

.vertical-line {
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    height: 30px;
    margin: 0 5px;
}

.banner-buttons {
    position: absolute;
    left: 50%;
    top: 35%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    margin-top: 30px;
}

@media screen and (max-width: 767px) {
    .banner-buttons {
        top: 36%;
    } 
}

.banner-button-small {
    width: 95px;
    height: 37px;
    background-color: #e2e9a6;
    border: none;
    font-size: 14px;
    cursor: pointer;
    margin-right: 10px;
    border-radius: 5px;
    color: #687401d2;
}

.banner-button-large {
    width: 125px;
    height: 37px;
    background-color: #a6e3e9;
    border: none;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    color: #00666dc9;
}
.1 {
    font-size: 10px
}
.custom-hr {
border: none;
height: 1px;
background-color: #ccc;
}



.doubao-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: radial-gradient(circle at 50% 50%, rgba(255, 192, 203, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.doubao-modal.active {
    display: block; /* 激活时显示 */
    opacity: 1;
}

.doubao-modal-content {
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #f5f5f5 100%);
    margin: 10% auto;
    padding: 25px;
    border-radius: 16px;
    width: 70%;
    max-width: 600px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 0 0 2px rgba(255, 192, 203, 0.6),
        0 0 0 6px rgba(173, 216, 230, 0.4);
    transform: translateY(-20px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.doubao-modal.active .doubao-modal-content {
    transform: translateY(0);
}

.doubao-modal-content::before {
    content: "";
    position: absolute;
    top: -15px;
    right: -15px;
    bottom: -15px;
    left: -15px;
    background: linear-gradient(120deg, #ffb6c1, #add8e6);
    z-index: -1;
    border-radius: 20px;
    opacity: 0.5;
    filter: blur(10px);
    animation: doubao-gradientShift 8s ease infinite;
}

@keyframes doubao-gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.doubao-close {
    color: #ffb6c1;
    float: right;
    font-size: 32px;
    font-weight: bold;
    transition: all 0.2s ease;
    position: relative;
    z-index: 10;
}

.doubao-close:hover,
.doubao-close:focus {
    color: #ff69b4;
    transform: rotate(90deg) scale(1.2);
    text-decoration: none;
    cursor: pointer;
}

.doubao-modal-header {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 2px solid #add8e6;
}

.doubao-modal-title {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.doubao-modal-body {
    color: #555;
    line-height: 1.6;
}

.doubao-modal-footer {
    padding-top: 15px;
    margin-top: 15px;
    border-top: 2px solid #add8e6;
    text-align: right;
}

/* 按钮样式 */
.doubao-modal-button {
    padding: 10px 20px;
    margin-left: 10px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffb6c1 0%, #ff69b4 100%);
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
    transition: all 0.3s ease;
}

.doubao-modal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.4);
}

.doubao-modal-button.secondary {
    background: linear-gradient(135deg, #add8e6 0%, #87ceeb 100%);
    box-shadow: 0 4px 15px rgba(135, 206, 235, 0.3);
}

.doubao-modal-button.secondary:hover {
    box-shadow: 0 6px 20px rgba(135, 206, 235, 0.4);
}

/* 装饰元素 */
.doubao-corner-decoration {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.8;
    pointer-events: none;
}

.doubao-corner-decoration.top-left {
    top: -10px;
    left: -10px;
    border-top: 3px solid #ffb6c1;
    border-left: 3px solid #ffb6c1;
}

.doubao-corner-decoration.top-right {
    top: -10px;
    right: -10px;
    border-top: 3px solid #add8e6;
    border-right: 3px solid #add8e6;
}

.doubao-corner-decoration.bottom-left {
    bottom: -10px;
    left: -10px;
    border-bottom: 3px solid #add8e6;
    border-left: 3px solid #add8e6;
}

.doubao-corner-decoration.bottom-right {
    bottom: -10px;
    right: -10px;
    border-bottom: 3px solid #ffb6c1;
    border-right: 3px solid #ffb6c1;
}

/* 粒子效果 */
.doubao-particle {
    position: absolute;
    background-color: rgba(255, 192, 203, 0.6);
    border-radius: 50%;
    pointer-events: none;
    animation: doubao-float 5s infinite ease-in-out;
}

.doubao-particle.blue {
    background-color: rgba(173, 216, 230, 0.6);
}

@keyframes doubao-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* 表单样式增强 */
.doubao-feedback-form label {
    display: block;
    margin: 15px 0 5px;
    color: #555;
    font-weight: 500;
}

.doubao-feedback-form input,
.doubao-feedback-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.doubao-feedback-form input:focus,
.doubao-feedback-form textarea:focus {
    outline: none;
    border-color: #ffb6c1;
    box-shadow: 0 0 0 3px rgba(255, 182, 193, 0.3);
}

.doubao-feedback-form button[type="submit"] {
    margin-top: 20px;
    background: linear-gradient(135deg, #ffb6c1 0%, #ff69b4 100%);
    color: white;
    font-weight: 500;
    border: none;
    border-radius: 20px;
    padding: 12px 25px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
    transition: all 0.3s ease;
}

.doubao-feedback-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.4);
}

.typing-text {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid white;
    animation: typing 5s steps(40, end) infinite, 
               blinkCaret 0.75s step-end infinite;
}

@keyframes typing {
    0%, 100% { width: 0; }
    50% { width: 100%; }
}

@keyframes blinkCaret {
    from, to { border-color: transparent; }
    50% { border-color: white; }
}

