/* 全局样式 - 知识产权一站式服务平台 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9fafb;
}

.container {
    max-width: 1200px;
    min-width: 200px;
    margin: 0 auto;
    padding: 0 20px 10px;
}

/* 导航栏样式 */
.navbar {
    background-color: #2563eb;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
}

.logo-container {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    justify-content: flex-end;
}

.brand-name {
    font-size: 18px;
    font-weight: bold;
    color: white;
    margin: 0;
}

.brand-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-menu a:hover {
    opacity: 0.8;
}

/* 服务卡片区域 - 新增样式 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

/* 故事网格布局 - 四栏布局 */
.story-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
    padding: 20px;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: #2563eb;
}

.service-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-tag.hot {
    background: linear-gradient(135deg, #ff4757, #ff3838);
}

.service-tag.new {
    background: linear-gradient(135deg, #2ed573, #1e90ff);
}

.service-tag.promo {
    background: linear-gradient(135deg, #ff9f1a, #ff7f50);
}

.service-icon {
    width: 120px;
    height: 101px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #2563eb;
    transition: all 0.3s ease;
}

.service-icon img {
    width: 100px;
    height: 68px;
    object-fit: contain;
    border-radius: 10px;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #bae6fd, #93c5fd);
}

.service-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.service-card p {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-features {
    text-align: left;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.service-feature {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #475569;
    font-size: 0.9rem;
}

.service-feature::before {
    content: "✓";
    color: #10b981;
    margin-right: 0.5rem;
    font-weight: bold;
}

.service-pricing {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.price-note {
    font-size: 0.8rem;
    color: #64748b;
}

.service-actions {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-size: 0.85rem;
    flex: 1;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: white;
    color: #2563eb;
    border-color: #2563eb;
}

.btn-secondary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: #cccccc;
    color: #2563eb;
    border-color: #e5e7eb;
}

.btn-outline:hover {
    background: #f8fafc;
    color: #2563eb;
    border-color: #2563eb;
}

.service-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #64748b;
}

/* API服务网格布局 - 修改为4列×2行显示 */
.api-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.api-service-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.api-service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #2563eb;
}

.api-service-item h3 {
    color: #2563eb;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.api-service-item p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

/* API服务图标样式 - 确保为圆形120×120像素 */
.api-service-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #2563eb;
    overflow: hidden;
}

.api-service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* 轮播图英雄区域样式 */
.hero {
    position: relative;
    width: 100%;
    margin: 0;
    height: auto;
    min-height: 300px;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 300px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 大屏幕轮播图背景淡化效果 */
@media (min-width: 1201px) {
    .hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: calc((100vw - 1200px) / 2);
        height: 100%;
        background: linear-gradient(to right, rgba(249, 250, 251, 0.9), rgba(249, 250, 251, 0.3));
        z-index: 2;
        pointer-events: none;
    }
    
    .hero::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: calc((100vw - 1200px) / 2);
        height: 100%;
        background: linear-gradient(to left, rgba(249, 250, 251, 0.9), rgba(249, 250, 251, 0.3));
        z-index: 2;
        pointer-events: none;
    }
}

.hero-slide.active {
    opacity: 1;
}

.hero-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: white;
    transform: scale(1.2);
}

/* 轮播图箭头按钮样式 */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 20px;
    color: #2563eb;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-arrow.left {
    left: 20px;
}

.hero-arrow.right {
    right: 20px;
}

/* 移动端箭头按钮适配 */
@media (max-width: 768px) {
    .hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .hero-arrow.left {
        left: 15px;
    }
    
    .hero-arrow.right {
        right: 15px;
    }
}

@media (max-width: 480px) {
    .hero-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .hero-arrow.left {
        left: 10px;
    }
    
    .hero-arrow.right {
        right: 10px;
    }
}

/* 服务区域 */
.services {
    padding: 1rem 0;
}

/* API服务区域特殊样式 - 底部空白减少至10px */
#api.services {
    padding-bottom: 10px;
}

/* 企业荣誉服务区域特殊样式 - 顶部空白减少至10px */
#honor.services {
    padding-top: 10px;
}

/* 支付服务卡片悬停效果 */
.payment-service-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.payment-service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(59, 130, 246, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.payment-service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15), 0 0 0 2px rgba(37, 99, 235, 0.3);
    border-color: #3b82f6;
}

.payment-service-card:hover::before {
    opacity: 1;
}

.payment-service-card .service-image {
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    filter: brightness(1);
}

.payment-service-card:hover .service-image {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #e5e7eb;
}

.section-title {
    text-align: left;
    font-size: 1.8rem;
    margin: 0.5rem 0;
    color: #2563eb;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.service-phone {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 1rem;
    flex-wrap: nowrap;
}

.phone-label {
    color: #666;
    font-weight: 400;
    white-space: nowrap;
    flex-shrink: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.service-phone .phone-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2563eb;
    margin: 0;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.service-phone {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 1rem;
}

.phone-label {
    color: #666;
    font-weight: 400;
}

.service-phone .phone-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2563eb;
    margin: 0;
    cursor: pointer;
}

.service-wrapper {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.service-contact {
    width: 280px;
    flex-shrink: 0;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 2px solid #2563eb;
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background-color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.contact-card h3 {
    color: #2563eb;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.phone-number {
    font-size: 1.4rem;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 1rem;
    cursor: pointer;
}

.contact-desc {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* 公告区域样式 */
.announcements {
    background-color: white;
    padding: 3rem 0;
}

.announcement-list {
    max-width: 800px;
    margin: 0 auto;
}

.announcement-item {
    background-color: #f8fafc;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.announcement-item h4 {
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.announcement-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* 页脚样式 */
.footer {
    background-color: #1e293b;
    color: white;
    height: 150px;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 0;
}

.footer .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 0.5rem;
}

.contact-info {
    margin: 0;
}

.phone {
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    margin-top: 30px;
    margin-bottom: 0.25rem;
}

.contact-info p {
    font-size: 0.85rem;
    color: #9ca3af;
    margin: 0;
}

.copyright {
    border-top: none;
    padding-top: 0;
    color: #ffffff;
    margin: 0;
}

.copyright p {
    font-size: 0.85rem;
    margin: 0;
}

.copyright a {
    color: #60a5fa;
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

/* 大屏幕页面内容区域淡化效果 */
@media (min-width: 1201px) {
    .services::before,
    .announcements::before,
    .footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: calc((100vw - 1200px) / 2);
        height: 100%;
        background: linear-gradient(to right, rgba(249, 250, 251, 0.8), rgba(249, 250, 251, 0));
        z-index: 1;
        pointer-events: none;
    }
    
    .services::after,
    .announcements::after,
    .footer::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: calc((100vw - 1200px) / 2);
        height: 100%;
        background: linear-gradient(to left, rgba(249, 250, 251, 0.8), rgba(249, 250, 251, 0));
        z-index: 1;
        pointer-events: none;
    }
    
    .services,
    .announcements,
    .footer {
        position: relative;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: row;
        gap: 1rem;
        justify-content: space-between;
    }
    
    .logo-container {
        gap: 8px;
    }
    
    .logo-text {
        display: none;
    }
    
    .brand-name {
        font-size: 16px;
    }
    
    .brand-desc {
        font-size: 11px;
    }
    
    .nav-menu {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 0.6rem;
        overflow-x: visible;
        white-space: nowrap;
        max-width: 100%;
    }
    
    .nav-menu li {
        flex: 1;
        flex-shrink: 0;
        min-width: 60px;
    }
    
    .nav-menu a {
        font-size: 0.85rem;
        padding: 0.4rem 0.3rem;
        display: block;
        text-align: center;
        white-space: nowrap;
        overflow: visible;
    }
    
    .hero {
        position: relative;
        width: 100vw;
        height: calc(100vw * 0.56);
        min-height: 280px;
        max-height: 50vh;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        overflow: hidden;
        touch-action: pan-x;
    }
    
    .hero-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0;
        transition: opacity 1s ease-in-out;
    }
    
    .service-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .service-contact {
        width: 100%;
        order: -1;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    /* 知产故事区域特殊样式 - 解决标题和图片遮挡问题 */
    #rights .section-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
        padding-bottom: 0.75rem;
        position: relative;
        z-index: 10;
        background: #f8fafc;
        padding-left: 1rem;
        padding-right: 1rem;
        border-radius: 8px;
        line-height: 1.3;
        white-space: normal;
    }
    
    #rights .service-card {
        margin-top: 1rem;
        position: relative;
        z-index: 5;
    }
    
    #rights .service-card .service-icon {
        margin-top: 1rem;
        margin-bottom: 1.5rem;
        position: relative;
        z-index: 1;
    }
    
    #rights .service-card h3 {
        margin-top: 0.5rem;
        margin-bottom: 1rem;
        font-size: 1.2rem;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 1.8rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .phone {
        font-size: 1.2rem;
    }
    
    .service-actions {
        flex-direction: row;
        gap: 0.25rem;
    }
    
    .btn {
        flex: 1;
        padding: 0.5rem 0.5rem;
        font-size: 0.8rem;
    }
    
    /* API服务网格响应式 - 修改为2列布局 */
    .api-service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin: 1.5rem 0;
    }
    
    /* 故事网格响应式 - 修改为2列布局 */
    .story-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 15px;
    }
    
    .api-service-item {
        padding: 1.25rem;
    }
    
    .api-service-icon {
        width: 100px;
        height: 100px;
        font-size: 1.25rem;
    }
    
    .api-service-item h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        position: relative;
        width: 100vw;
        height: calc(100vw * 0.56);
        min-height: 250px;
        max-height: 45vh;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        overflow: hidden;
        touch-action: pan-x;
    }
    
    .hero-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0;
        transition: opacity 1s ease-in-out;
    }
    
    .services {
        padding: 1rem 0;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .announcement-item {
        padding: 1rem;
    }
    
    .service-icon {
        width: 88px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .service-icon img {
        width: 74px;
        height: 50px;
    }
    
    .phone-label {
        max-width: 100px;
        font-size: 0.8rem;
    }
    
    /* API服务网格响应式 - 修改为1列布局 */
    .api-service-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin: 1rem 0;
    }
    
    /* 故事网格响应式 - 修改为1列布局 */
    .story-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 10px;
    }
    
    .api-service-item {
        padding: 1rem;
    }
    
    .api-service-icon {
        width: 90px;
        height: 90px;
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .api-service-item h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .api-service-item p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

/* 320px宽度移动端优化 */
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }
    
    .services {
        padding: 0.75rem 0;
    }
    
    .section-header {
        margin-bottom: 0.5rem;
        padding-bottom: 0.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .section-title {
        font-size: 1.4rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .service-phone {
        font-size: 0.85rem;
        max-width: 100%;
    }
    
    .phone-label {
        max-width: 60px;
        font-size: 0.75rem;
    }
    
    .service-phone .phone-number {
        font-size: 1rem;
    }
    
    .service-grid {
        gap: 1rem;
    }
    
    .service-card {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .service-tag {
        top: 12px;
        right: 12px;
        padding: 3px 8px;
        font-size: 10px;
    }
    
    .service-icon {
        width: 74px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .service-icon img {
        width: 62px;
        height: 42px;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .service-card p {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .service-features {
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .service-feature {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }
    
    .service-pricing {
        padding: 0.75rem;
        margin-bottom: 1rem;
        border-radius: 8px;
    }
    
    .price {
        font-size: 1.2rem;
        margin-bottom: 0.25rem;
    }
    
    .price-note {
        font-size: 0.75rem;
    }
    
    .service-actions {
        gap: 0.25rem;
        margin-bottom: 1rem;
    }
    
    .btn {
        padding: 0.4rem 0.5rem;
        font-size: 0.75rem;
        border-radius: 4px;
    }
    
    .service-stats {
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .stat-number {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .hero {
        min-height: 200px;
        max-height: 40vh;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .brand-name {
        font-size: 14px;
    }
    
    .brand-desc {
        font-size: 10px;
    }
    
    .nav-menu {
        gap: 0.5rem;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .nav-menu li {
        flex-shrink: 0;
    }
    
    .nav-menu a {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
    
    .announcements {
        padding: 2rem 0;
    }
    
    .announcement-item {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
        border-radius: 6px;
    }
    
    .announcement-item h4 {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }
    
    .announcement-date {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }
    
    .footer {
        height: 150px;
        padding: 0;
        display: flex;
        align-items: center;
    }
    
    .footer .container {
        gap: 0.25rem;
    }
    
    .phone {
        font-size: 1.2rem;
    }
    
    .footer p {
        font-size: 0.85rem;
    }
    
    .copyright {
        padding-top: 1.5rem;
    }
    
    .copyright p {
        font-size: 0.8rem;
    }
    
    /* API服务网格响应式 - 修改为1列布局 */
    .api-service-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin: 1rem 0;
    }
    
    /* 故事网格响应式 - 修改为1列布局 */
    .story-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 10px;
    }
    
    .api-service-item {
        padding: 0.75rem;
        border-radius: 8px;
    }
    
    .api-service-icon {
        width: 80px;
        height: 80px;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .api-service-item h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .api-service-item p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 工具类 */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* 表单样式 */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    color: #374151;
    background-color: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* 弹窗模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    overflow: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 24px;
    color: #666;
    font-weight: bold;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #2563eb;
}

.qr-code {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin: 10px 0 15px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-content p {
    margin: 0;
    color: #666;
    font-size: 1rem;
    font-weight: 500;
}

/* 流程弹窗样式 */
.process-modal .modal-content {
    max-width: 95%;
    max-height: 95%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.process-info {
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.process-info h3 {
    color: #2563eb;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.process-info p {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

.process-image {
    width: 100%;
    height: auto;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: grab;
    touch-action: none;
    user-select: none;
    display: block;
}

.process-image:active {
    cursor: grabbing;
}

.process-image.dragging {
    cursor: grabbing;
}

.image-container {
    flex: 1;
    overflow: auto;
    position: relative;
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f8fafc;
    max-height: calc(80vh - 150px);
    touch-action: pan-y;
    scroll-behavior: smooth;
}

.image-container::-webkit-scrollbar {
    width: 8px;
}

.image-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.image-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.image-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 自定义跳转确认弹窗样式 */
.confirm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.confirm-modal.show {
    display: flex;
}

.confirm-modal .modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    max-width: 90%;
    width: 500px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: confirmModalSlideIn 0.3s ease-out;
}

@keyframes confirmModalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.confirm-modal .modal-title {
    color: #2563eb;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.confirm-modal .modal-description {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.confirm-modal .modal-url {
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin: 1rem 0 1.5rem 0;
    word-break: break-all;
}

.confirm-modal .modal-url a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.confirm-modal .modal-url a:hover {
    text-decoration: underline;
}

.confirm-modal .modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.confirm-modal .btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.confirm-modal .btn-confirm {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
}

.confirm-modal .btn-confirm:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.confirm-modal .btn-cancel {
    background: #f8fafc;
    color: #64748b;
    border: 2px solid #e5e7eb;
}

.confirm-modal .btn-cancel:hover {
    background: #e5e7eb;
    color: #2563eb;
    border-color: #2563eb;
}

/* 移动端弹窗适配 */
@media (max-width: 480px) {
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .qr-code {
        max-width: 180px;
    }
    
    .close-btn {
        font-size: 20px;
        top: 8px;
        right: 12px;
    }
    
    .modal-content p {
        font-size: 0.9rem;
    }
    
    .confirm-modal .modal-content {
        width: 90%;
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .confirm-modal .modal-title {
        font-size: 1.1rem;
    }
    
    .confirm-modal .modal-description {
        font-size: 0.9rem;
    }
    
    .confirm-modal .modal-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .confirm-modal .btn {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 320px) {
    .modal-content {
        padding: 1rem;
        margin: 0.5rem;
    }
    
    .qr-code {
        max-width: 160px;
    }
    
    .close-btn {
        font-size: 18px;
        top: 6px;
        right: 10px;
    }
    
    .modal-content p {
        font-size: 0.85rem;
    }
    
    .confirm-modal .modal-content {
        padding: 1rem;
        margin: 0.5rem;
    }
    
    .confirm-modal .modal-title {
        font-size: 1rem;
    }
    
    .confirm-modal .modal-description {
        font-size: 0.85rem;
    }
}

/* 回到顶部按钮样式增强 */
#backToTop {
    position: fixed !important;
    bottom: 1.5rem !important;
    right: 1.5rem !important;
    width: 3rem !important;
    height: 3rem !important;
    background: linear-gradient(135deg, #2563eb, #1e40af) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    font-size: 1.25rem !important;
    font-weight: bold !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1000 !important;
    backdrop-filter: blur(10px);
}

#backToTop:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a) !important;
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4), 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

#backToTop:active {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
}

/* 移动端回到顶部按钮适配 */
@media (max-width: 768px) {
    #backToTop {
        bottom: 1.25rem !important;
        right: 1.25rem !important;
        width: 2.75rem !important;
        height: 2.75rem !important;
        font-size: 1.1rem !important;
    }
}

@media (max-width: 480px) {
    #backToTop {
        bottom: 1rem !important;
        right: 1rem !important;
        width: 2.5rem !important;
        height: 2.5rem !important;
        font-size: 1rem !important;
    }
}