html {
    scroll-behavior: smooth;
}

/* 基础样式 - 清新绿风格 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(45deg, #f0fdf4 0%, #ecfdf5 50%, #f0fdf4 100%);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
    color: #064e3b;
    line-height: 1.6;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    background-color: transparent;
    min-height: 100vh;
    position: relative;
}

/* 页面整体装饰 - 漂浮的叶子/粒子效果 */
.container::before,
.container::after {
    content: '🍃';
    position: fixed;
    font-size: 24px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

.container::before {
    top: 20%;
    left: 10%;
    animation: leaf-float-1 20s ease-in-out infinite;
}

.container::after {
    top: 60%;
    right: 15%;
    animation: leaf-float-2 25s ease-in-out infinite;
}

@keyframes leaf-float-1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -50px) rotate(90deg);
    }
    50% {
        transform: translate(-20px, -80px) rotate(180deg);
    }
    75% {
        transform: translate(40px, -40px) rotate(270deg);
    }
}

@keyframes leaf-float-2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(-40px, 60px) rotate(120deg);
    }
    66% {
        transform: translate(30px, 100px) rotate(240deg);
    }
}

/* 头部区域 - 清新绿风格 */
.header {
    text-align: center;
    padding: 40px 20px 30px;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

/* 头部背景动画 - 漂浮的圆圈 */
.header::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -150px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.header::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    bottom: -100px;
    left: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-20px) translateX(10px);
    }
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin: 0 auto 20px;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.title {
    font-size: 28px;
    margin: 15px 0 10px;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 1;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-weight: 400;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 广告横幅 */
.ad-banner-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.ad-banner {
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 8px 0;
    position: relative;
}

.ad-close-btn {
    position: absolute;
    top: -25px;
    right: 10px;
    background-color: rgba(0,0,0,0.6);
    color: #fff;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 22px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    z-index: 1001;
}

.ad-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 图片容器 */
.image-container {
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* 按钮基础样式 - 清新绿风格 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #10b981;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* 微信提示 */
.wxTip {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
}

.wxTip .test {
    display: flex;
    justify-content: flex-end;
    padding: 20px 5%;
}

.wxTip .test img {
    width: 200px;
    height: auto;
    margin-top: 20px;
    margin-right: 20px;
}

/* 主页分类网格 - 移动优先设计 */
.category-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    margin: 0;
    position: relative;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

/* 网格背景装饰 */
.category-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(16, 185, 129, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.category-card {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 2px solid #d1fae5;
    animation: slideInUp 0.5s ease-out backwards;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }
.category-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
    border-color: #10b981;
}

.category-card:active {
    transform: translateY(-2px) scale(0.98);
}

.category-icon {
    height: 100px;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
}

.category-content {
    padding: 20px;
    position: relative;
}

.category-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #064e3b;
    line-height: 1.3;
}

.category-desc {
    font-size: 14px;
    color: #059669;
    line-height: 1.5;
    margin-bottom: 16px;
}

.category-count {
    display: inline-block;
    background-color: #d1fae5;
    color: #059669;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-top: 8px;
    float: left;
    animation: fadeIn 0.8s ease-out 0.3s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.category-card:hover .category-count {
    background-color: #10b981;
    color: white;
    transform: scale(1.05);
}

/* 介绍部分 */
.intro-section {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 253, 244, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

/* 介绍区域装饰粒子 */
.intro-section::before,
.intro-section::after {
    content: '✨';
    position: absolute;
    font-size: 20px;
    opacity: 0.2;
    animation: sparkle 4s ease-in-out infinite;
}

.intro-section::before {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.intro-section::after {
    bottom: 20%;
    right: 15%;
    animation-delay: 2s;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.3) rotate(180deg);
    }
}

.intro-title {
    font-size: 24px;
    color: #064e3b;
    margin-bottom: 12px;
    font-weight: 600;
}

.intro-desc {
    font-size: 16px;
    color: #059669;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 教程列表 - 简约卡片设计 */
.tutorial-list {
    padding: 20px;
    margin: 0;
    position: relative;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

/* 教程列表装饰光效 */
.tutorial-list::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
    animation: light-pulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes light-pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.tutorial-item {
    background-color: white;
    border-radius: 20px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #d1fae5;
}

.tutorial-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
    border-color: #10b981;
}

.tutorial-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background-color: #f0fdf4;
    cursor: pointer;
    border-bottom: 2px solid #d1fae5;
}

.tutorial-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-right: 16px;
    flex-shrink: 0;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.tutorial-item:hover .tutorial-icon {
    animation: wiggle 0.5s ease-in-out;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.tutorial-title {
    font-size: 18px;
    font-weight: 600;
    color: #064e3b;
    flex-grow: 1;
    line-height: 1.3;
}

.tutorial-duration {
    background-color: #10b981;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    animation: fadeIn 0.5s ease-out;
}

.tutorial-item:hover .tutorial-duration {
    animation: pulse-badge 0.6s ease-in-out;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.tutorial-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tutorial-desc {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #059669;
    font-size: 14px;
}

.tutorial-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #10b981;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tutorial-btn:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* 返回按钮 */
.back-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    background-color: #f0fdf4;
    color: #10b981;
    text-decoration: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    margin: 20px;
    transition: all 0.3s ease;
    border: 2px solid #d1fae5;
}

.back-btn:hover {
    background-color: #d1fae5;
    transform: translateY(-2px);
    border-color: #10b981;
}

.back-btn:before {
    content: "←";
    margin-right: 6px;
    font-size: 16px;
}

/* 客服页面样式 */
.service-banner {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    background-size: 200% 200%;
    animation: gradient-wave 10s ease infinite;
    color: white;
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

@keyframes gradient-wave {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 服务横幅装饰波浪 */
.service-banner::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 30px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23ffffff'/%3E%3C/svg%3E") repeat-x;
    background-size: 1200px 30px;
    animation: wave 15s linear infinite;
}

@keyframes wave {
    0% { background-position: 0 0; }
    100% { background-position: 1200px 0; }
}

.service-title {
    font-size: 24px;
    margin: 0;
    font-weight: 600;
    color: white;
}

.service-content {
    background-color: white;
    padding: 30px 20px;
    margin-bottom: 20px;
}

.service-message {
    margin-bottom: 24px;
}

.greeting {
    font-weight: 600;
    margin-bottom: 12px;
    color: #064e3b;
}

.message-text {
    line-height: 1.6;
    color: #059669;
    text-indent: 2em;
}

.service-buttons {
    text-align: center;
    margin: 24px 0;
}

.service-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #10b981;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 8px 0;
}

.service-btn:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.service-contact {
    text-align: center;
    margin-top: 20px;
}

.service-contact p {
    margin: 16px 0;
    line-height: 1.6;
    color: #059669;
}

.phone-number {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 20px 0;
    padding: 16px 24px;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    border-radius: 16px;
    display: inline-block;
    animation: glow 2s ease-in-out infinite;
    position: relative;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.6), 0 0 30px rgba(16, 185, 129, 0.4);
    }
}

.thank-note {
    font-style: italic;
    margin-top: 20px;
    color: #95a5a6;
}

.service-commitment {
    margin: 30px 0;
    padding: 0 20px;
}

.commitment-title {
    text-align: center;
    font-size: 24px;
    color: #064e3b;
    margin-bottom: 24px;
    font-weight: 600;
}

.commitment-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.commitment-item {
    background-color: white;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #d1fae5;
}

.commitment-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
    border-color: #10b981;
}

.commitment-icon {
    font-size: 36px;
    margin-bottom: 16px;
    display: inline-block;
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.commitment-item:hover .commitment-icon {
    animation: bounce-icon 0.6s ease-in-out;
}

@keyframes bounce-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.commitment-item h4 {
    font-size: 18px;
    color: #064e3b;
    margin-bottom: 12px;
    font-weight: 600;
}

.commitment-item p {
    font-size: 14px;
    color: #059669;
    line-height: 1.5;
}

/* 客服入口样式 */
.service-entry {
    margin: 16px 20px;
    position: relative;
}

/* 客服入口光晕效果 */
.service-entry::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: halo-pulse 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes halo-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.6;
    }
}

.service-link {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 20px;
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(16, 185, 129, 0.1);
    border: 2px solid #d1fae5;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* 服务链接闪光效果 */
.service-link::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(16, 185, 129, 0.1) 50%, transparent 70%);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.service-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
    border-color: #10b981;
}

.service-icon {
    font-size: 36px;
    margin-right: 20px;
    animation: bounce-gentle 2s ease-in-out infinite;
}

@keyframes bounce-gentle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.service-link:hover .service-icon {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.service-text h3 {
    font-size: 18px;
    color: #064e3b;
    margin: 0 0 6px 0;
    font-weight: 600;
}

.service-text p {
    font-size: 14px;
    color: #059669;
    margin: 0;
    line-height: 1.4;
}

/* 下滑提示 */
.scroll-tip {
    text-align: center;
    margin: 20px 0;
    animation: bounce 2s infinite;
}

.scroll-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.scroll-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 400;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* 点击提示 */
.click-tip {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    opacity: 0.8;
    animation: pulse 2s infinite;
}

.category-card, .service-link {
    position: relative;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

.category-card:hover .click-tip,
.service-link:hover .click-tip {
    background: rgba(0, 0, 0, 0.8);
}

/* 首页按钮 */
.view-btn {
    float: right;
    background-color: #10b981;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 12px;
    margin-top: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: auto;
    min-width: auto;
    max-width: none;
    position: relative;
    overflow: hidden;
}

.view-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.view-btn:hover::before {
    width: 300px;
    height: 300px;
}

.view-btn:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.view-btn:active {
    transform: translateY(0);
}

.category-content {
    flex-direction: column;
    align-items: center;
}

.category-content::after {
    content: '';
    display: table;
    clear: both;
}

/* 客服悬浮按钮 - 清新绿风格 */
.float-customer-service {
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 1000;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background-color: white;
    padding: 12px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15);
    transition: all 0.3s ease;
    border: 2px solid #d1fae5;
    animation: float-button 3s ease-in-out infinite;
}

/* 客服按钮呼吸光环 */
.float-customer-service::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 22px;
    background: linear-gradient(45deg, #10b981, #34d399, #10b981);
    background-size: 200% 200%;
    animation: breathing-ring 3s ease-in-out infinite;
    opacity: 0.3;
    z-index: -1;
}

@keyframes breathing-ring {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

@keyframes float-button {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.float-customer-service:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
    border-color: #10b981;
    animation: none;
}

.float-service-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.float-customer-service:hover .float-service-icon {
    transform: rotate(360deg) scale(1.1);
}

.float-service-text {
    font-size: 11px;
    font-weight: 500;
    color: #064e3b;
    text-align: center;
    margin: 0;
    line-height: 1.2;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .container {
        padding: 0;
    }
    
    .header {
        padding: 30px 16px 24px;
    }
    
    .logo {
        width: 64px;
        height: 64px;
        font-size: 20px;
    }
    
    .title {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 14px;
    }
    
    .category-grid {
        padding: 16px;
        gap: 12px;
    }
    
    .category-content {
        padding: 16px;
    }
    
    .category-title {
        font-size: 18px;
    }
    
    .category-desc {
        font-size: 13px;
    }
    
    .tutorial-list {
        padding: 16px;
    }
    
    .tutorial-header {
        padding: 12px 16px;
    }
    
    .tutorial-content {
        padding: 16px;
    }
    
    .tutorial-title {
        font-size: 16px;
    }
    
    .tutorial-desc {
        font-size: 13px;
    }
    
    .service-content {
        padding: 24px 16px;
    }
    
    .service-commitment {
        padding: 0 16px;
    }
    
    .commitment-item {
        padding: 16px;
    }
    
    .service-entry {
        margin: 12px 16px;
    }
    
    .service-link {
        padding: 16px;
    }
    
    .service-icon {
        font-size: 32px;
        margin-right: 16px;
    }
    
    .float-customer-service {
        right: 16px;
        top: 16px;
        padding: 10px;
    }
    
    .float-service-icon {
        width: 40px;
        height: 40px;
    }
    
    .float-service-text {
        font-size: 10px;
    }
    
    .back-btn {
        margin: 16px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .header {
        padding: 24px 12px 20px;
    }
    
    .category-grid {
        padding: 12px;
        gap: 10px;
    }
    
    .category-content {
        padding: 14px;
    }
    
    .tutorial-list {
        padding: 12px;
    }
    
    .tutorial-header {
        padding: 10px 14px;
    }
    
    .tutorial-content {
        padding: 14px;
    }
    
    .service-content {
        padding: 20px 12px;
    }
    
    .service-commitment {
        padding: 0 12px;
    }
    
    .service-entry {
        margin: 10px 12px;
    }
    
    .service-link {
        padding: 14px;
    }
    
    .float-customer-service {
        right: 12px;
        top: 12px;
        padding: 8px;
    }
    
    .back-btn {
        margin: 12px;
    }
}

/* Cookie提示样式 */
.cookie-notice {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #10b981 0%, #34d399 50%, #10b981 100%);
    background-size: 200% 100%;
    animation: slide-gradient 3s ease infinite;
    color: white;
    padding: 12px 50px 12px 20px;
    z-index: 3000;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes slide-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.cookie-notice-text {
    margin: 0;
}

.cookie-notice-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: white;
    padding: 4px;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cookie-notice-close:hover {
    background: rgba(255, 255, 255, 0.3);
}