/* DOMAIN CSS */
/* 搜索按钮动画效果 */
.search-btn.searching {
    background: var(--accent--color);
    transform: scale(0.95);
    opacity: 0.8;
}

.search-btn,
.transfer-btn {
    transition: all 0.3s ease;
}

.search-btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.transfer-btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Banner搜索框样式 - 白色块 */
.banner-search-container {
    /* margin-top: 40px; */
    margin-bottom: -34px;
    padding: 0 15px;

}

.banner-search-box {
    background: white;
    padding: 0;
    margin: 0 auto;
    max-width: 1000px;
    width: 1000px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.1);
    position: relative;
    z-index: 10;
}

.domain-con {
    padding: 20px 40px;
    background: var(--secondary--color);
}
.domain-box {
    gap: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    grid-template-columns: 49.457% 48.3%;
}
.domains-price-con ul {
    gap: 10px;
    display: flex;
    align-items: center;
}
.domains-price-con {
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    display: flex;
}
.domains-price-con ul li span {
    font-size: 18px;
    font-weight: 700;
    line-height: 18px;
    margin-left: 15px;
    display: inline-block;
    color: var(--accent--color);
}
.domain-serach-con {
    gap: 10px;
    width: 40%;
    display: flex;
}

/* Banner中的搜索框样式覆盖 */
.banner-search-box .domain-serach-con {
    width: 1000px;
    /* max-width: 600px; */
    margin: 0 auto;
    align-items: center;
    /* background: #f5f7fa; */
    border-radius: 50px;
    padding: 8px;
    /* border: 1px solid #e1e8ed; */
}

.banner-search-box .domain-serach-con input {
    background: transparent;
    border: none;
    flex: 1;
    padding: 12px 20px;
    font-size: 16px;
    color: #333;
    outline: none;
}

.banner-search-box .domain-serach-con input::placeholder {
    color: #8e9aaf;
    font-size: 16px;
}

.banner-search-box .domain-serach-con input:focus {
    background: transparent;
    border: none;
    box-shadow: none;
}

.banner-search-box .domain-search-btns {
    margin: 0;
    gap: 0;
}

.banner-search-box .search-btn {
    background: var(--accent--color);
    border: none;
    color: white;
    padding: 12px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-search-box .search-btn:hover {
    background: #0056b3;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}
.domains-price-con ul li {
    height: 60px;
    display: flex;
    align-items: center;
    border-radius: 10px;
    padding: 17px 15.5px;
    justify-content: center;
    background: var(--secondary--color);
    border: 1px solid rgb(0 123 255 / 20%);
}
.domain-serach-con input {
    width: 69.4%;
    font-size: 16px;
    line-height: 16px;
    padding: 18px 25px 19px 53px;
    border-radius: 10px;
    color: var(--text--color);
    border: 1px solid rgb(0 123 255 / 20%);
    background: var(--secondary--color) url(../images/domain-input-icon.png) no-repeat 2.5% 50.1%;
}
.domain-serach-con input:focus,
.domain-search-btns button:focus {
    outline: none;
}
.domain-serach-con input::placeholder {
    font-size: 16px;
    line-height: 16px;
    color: var(--text--color);
}
.domain-search-btns {
    gap: 10px;
    display: flex;
}
.domain-search-btns button {
    width: 130px;
    height: 60px;
    cursor: pointer;
    font-size: 16px;
    line-height: 16px;
    border-radius: 10px;
    text-align: center;
}
.search-btn {
    border: none;
    color: var(--secondary--color);
    background: var(--accent--color);
}
.search-btn:hover {
    background: var(--primary--color);
}
.transfer-btn {
    background: var(--secondary--color);
    color: var(--primary--color);
    border: 1px solid var(--primary--color);
}
.transfer-btn:hover {
    color: var(--secondary--color);
    background: var(--primary--color);
    border: 1px solid var(--primary--color);
}
.pricing-btn a {
    font-size: 16px;
    line-height: 16px;
    padding: 21px 10px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    border: 1px solid var(--accent--color);
    background: var(--secondary--color);
}
.pricing-btn a:hover {
    color: var(--secondary--color);
    background: var(--accent--color);
}
/* Banner搜索框响应式设计 */
@media only screen and (max-width: 1440px) {
    .banner-search-box {
        padding: 25px;
    }
    
    .banner-search-box .domain-serach-con {
        max-width: 700px;
    }
}

@media only screen and (max-width: 991px) {
    .banner-search-container {
        margin-top: 30px;
        padding: 0 15px;
    }
    
    .banner-search-box {
        padding: 20px;
    }
    
    .banner-search-box .domain-serach-con {
        width: 100%;
        max-width: 500px;
    }
    
    .banner-search-box .search-btn {
        padding: 10px;
        font-size: 15px;
        width: 44px;
        height: 44px;
    }
}

@media only screen and (max-width: 767px) {
    .banner-search-container {
        margin-top: 20px;
    }
    
    .banner-search-box {
        padding: 15px;
        border-radius: 10px;
    }
}

@media only screen and (max-width: 575px) {
    .banner-search-container {
        margin-top: 15px;
        margin-bottom: 20px;
    }
    
    .banner-search-box {
        padding: 15px;
    }
    
    .banner-search-box .domain-serach-con {
        max-width: 100%;
        padding: 6px;
    }
    
    .banner-search-box .domain-serach-con input {
        padding: 10px 15px;
        font-size: 15px;
    }
    
    .banner-search-box .search-btn {
        padding: 8px;
        font-size: 14px;
        width: 40px;
        height: 40px;
    }
}

/* API SHOWCASE CSS */
.api-showcase-con {
    background: #ffffff;
    padding: 40px 0;
}

/* 页面主标题 */
.api-main-header {
    margin-bottom: 30px;
}

.api-main-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 12px;
}

.api-main-header p {
    font-size: 15px;
    color: #718096;
    margin: 0;
}

.view-all-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.view-all-link:hover {
    color: #0056b3;
    text-decoration: none;
}

/* API分类网格 */
.api-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    margin-bottom: 30px;
    background: #f1f3f5;
    border-radius: 8px;
    overflow: hidden;
}

.api-category {
    background: white;
    padding: 20px;
    transition: background-color 0.2s ease;
    position: relative;
}

.api-category:hover {
    background: #f8f9fa;
}

.api-category.featured {
    background: #f8f9ff;
}

/* 分类头部 */
.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.category-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    margin-right: 12px;
    flex-shrink: 0;
}

.category-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

/* 分类描述 */
.category-description {
    margin-bottom: 15px;
}

.category-description p {
    font-size: 12px;
    color: #718096;
    line-height: 1.4;
    margin: 0;
}

/* 服务链接 */
.category-services {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-link {
    font-size: 13px;
    color: #4a5568;
    text-decoration: none;
    padding: 4px 0;
    transition: all 0.2s ease;
    position: relative;
    display: inline-block;
}

.service-link:hover {
    color: #007bff;
    text-decoration: none;
    padding-left: 8px;
}

.service-link:hover::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -1.5px;
    width: 3px;
    height: 3px;
    background: #007bff;
    border-radius: 50%;
}

/* 会员特权区域 */
.membership-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.membership-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.membership-icon {
    width: 40px;
    height: 40px;
    background: #007bff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    flex-shrink: 0;
}

.membership-info {
    flex: 1;
    min-width: 150px;
}

.membership-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #2d3748;
}

.membership-info p {
    font-size: 13px;
    margin: 0;
    color: #718096;
}

.membership-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #4a5568;
    white-space: nowrap;
}

.feature-item i {
    width: 16px;
    text-align: center;
    color: #007bff;
}

/* AI训练集特色区域 */
.ai-section-container {
    margin: 30px 0;
}

.ai-featured-section {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 12px;
    padding: 30px;
    color: white;
    position: relative;
    overflow: hidden;
    border: 2px solid #e3f2fd;
}

.ai-featured-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.05"/></svg>');
    animation: rotate 60s linear infinite;
    pointer-events: none;
}

.ai-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.ai-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 20px;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.ai-title-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: white;
}

.ai-title-content p {
    font-size: 15px;
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

.ai-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.ai-service-item {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.ai-service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ai-service-item:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.ai-service-item:hover::before {
    opacity: 1;
}

.ai-service-item i {
    font-size: 20px;
    margin-bottom: 8px;
    display: block;
}

.ai-service-item span {
    font-size: 13px;
    font-weight: 500;
}

.ai-more-link {
    text-align: center;
    position: relative;
    z-index: 1;
}

.learn-more-btn {
    background: white;
    color: #007bff;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.learn-more-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #0056b3;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

/* 响应式设计 */
@media only screen and (max-width: 1200px) {
    .api-categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .membership-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .membership-features {
        width: 100%;
        justify-content: space-between;
    }
    
    .ai-services-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }
}

@media only screen and (max-width: 768px) {
    .api-showcase-con {
        padding: 30px 0;
    }
    
    .api-main-header {
        margin-bottom: 25px;
    }
    
    .api-main-header h2 {
        font-size: 28px;
    }
    
    .api-main-header p {
        font-size: 14px;
    }
    
    .api-categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        border-radius: 6px;
    }
    
    .api-category {
        padding: 18px;
    }
    
    .category-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
        border-radius: 6px;
        margin-right: 10px;
    }
    
    .category-header {
        margin-bottom: 12px;
    }
    
    .category-header h4 {
        font-size: 15px;
    }
    
    .membership-section {
        padding: 18px;
    }
    
    .membership-content {
        gap: 12px;
    }
    
    .membership-features {
        gap: 15px;
    }
    
    .ai-featured-section {
        padding: 25px;
    }
    
    .ai-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .ai-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .ai-services-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .ai-service-item {
        padding: 15px 10px;
    }
    
    .ai-service-item i {
        font-size: 18px;
    }
    
    .ai-service-item span {
        font-size: 12px;
    }
}

@media only screen and (max-width: 480px) {
    .api-showcase-con {
        padding: 25px 0;
    }
    
    .api-main-header {
        margin-bottom: 20px;
    }
    
    .api-main-header h2 {
        font-size: 24px;
    }
    
    .api-main-header p {
        font-size: 13px;
    }
    
    .api-categories-grid {
        grid-template-columns: 1fr;
        border-radius: 4px;
    }
    
    .api-category {
        padding: 15px;
    }
    
    .category-header {
        margin-bottom: 10px;
    }
    
    .category-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
        margin-right: 8px;
        border-radius: 4px;
    }
    
    .category-header h4 {
        font-size: 14px;
    }
    
    .category-description {
        margin-bottom: 10px;
    }
    
    .category-description p {
        font-size: 11px;
    }
    
    .service-link {
        font-size: 12px;
        padding: 3px 0;
    }
    
    .membership-section {
        padding: 15px;
        margin-top: 15px;
    }
    
    .membership-content {
        gap: 10px;
    }
    
    .membership-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .membership-info h4 {
        font-size: 16px;
    }
    
    .membership-info p {
        font-size: 12px;
    }
    
    .membership-features {
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .feature-item {
        font-size: 11px;
    }
    
    .ai-section-container {
        margin: 20px 0;
    }
    
    .ai-featured-section {
        padding: 20px;
    }
    
    .ai-header {
        margin-bottom: 15px;
    }
    
    .ai-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .ai-title-content h3 {
        font-size: 20px;
    }
    
    .ai-title-content p {
        font-size: 13px;
    }
    
    .ai-services-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .ai-service-item {
        padding: 12px 8px;
    }
    
    .ai-service-item i {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .ai-service-item span {
        font-size: 11px;
    }
    
    .learn-more-btn {
        padding: 10px 25px;
        font-size: 13px;
    }
}

/* DOMAIN CSS */
@media only screen and (max-width: 1880px) {
    .domain-box {
        grid-template-columns: 39% 58.3%;
    }
}
@media only screen and (max-width: 1600px) {
    .domains-price-con ul li {
        padding: 17px 5.5px;
    }
    .pricing-btn a {
        font-size: 14px;
        line-height: 14px;
        padding: 21px 10px;
    }
}
@media only screen and (max-width: 1440px) {
    .domain-box {
        gap: 20px;
        grid-template-columns: 100%;
    }
    .domain-serach-con input {
        width: 89.4%;
    }
    .domains-price-con {
        justify-content: center;
    }
}
@media only screen and (max-width: 1199px) {
    .domain-search-btns button {
        height: 52px;
    }
    .domain-serach-con input {
        padding: 14px 25px 15px 53px;
    }
}
@media only screen and (max-width: 991px) {
    .domains-price-con {
        display: none;
    }
    .domain-con {
        padding: 20px 15px;
    }
    .domain-search-btns button {
        height: 48px;
    }
    .domain-serach-con input {
        padding: 12px 25px 13px 53px;
    }
}
@media only screen and (max-width: 767px) {
    .domain-search-btns button {
        height: 48px;
        width: 100px;
    }
}
@media only screen and (max-width: 575px) {
    .domain-serach-con {
        flex-direction: column;
    }
    .domain-search-btns {
        justify-content: center;
    }
    .domain-search-btns button {
        height: 42px;
        width: 100px;
        font-size: 14px;
        line-height: 14px;
    }
    .domain-serach-con input {
        width: 100%;
        padding: 10px 25px 10px 42px;
    }
}
