/* Jodoo 主题样式 */

/* 全局样式 */
body {
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    min-height: 100vh;
}

/* 全局背景装饰 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* 核心卡片样式 */
.jdy-card {
    background: linear-gradient(to bottom right, #FFFFFF 0%, #F9FAFB 100%);
    border: 1px solid rgba(16, 185, 129, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.jdy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
    pointer-events: none;
}

.jdy-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
}

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

/* 标题样式 */
.section-title {
    color: #10B981;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 动画效果 */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 15px rgba(16, 185, 129, 0.3); }
    50% { box-shadow: 0 0 25px rgba(16, 185, 129, 0.5); }
}

.icon-box {
    transition: all 0.3s ease;
}

.icon-box:hover {
    transform: scale(1.08);
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Hero区背景动效 */
@keyframes gradient-shift {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.hero-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: gradient-shift 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-bg-orb-1 {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    top: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    animation-delay: 0s;
}

.hero-bg-orb-2 {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
    bottom: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    animation-delay: 4s;
}

/* 按钮样式 */
.btn-primary {
    background: linear-gradient(to right, #10B981, #059669);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* 表格样式 */
.jdy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.jdy-table th {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #1e293b;
    border-bottom: 2px solid #e2e8f0;
}

.jdy-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}

.jdy-table tr:hover {
    background-color: #f8fafc;
    transition: background-color 0.2s ease;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    .hero-bg-orb-1,
    .hero-bg-orb-2 {
        width: 300px;
        height: 300px;
    }
    
    .jdy-card {
        padding: 1.5rem !important;
    }
}

/* 辅助样式 */
.text-gradient {
    background: linear-gradient(to right, #10B981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

/* 卡片阴影层级 */
.shadow-card {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-card-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* 标签样式 */
.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tag-primary {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.tag-primary:hover {
    background-color: rgba(16, 185, 129, 0.2);
}

/* 进度条样式 */
.progress-bar {
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10B981, #059669);
    border-radius: 9999px;
    transition: width 0.3s ease;
}

/* 导航栏样式增强 */
#navbar {
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* 移动端菜单样式 */
#mobileMenu {
    transition: all 0.3s ease;
}

/* 下拉菜单样式 */
.dropdown-content {
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-content {
    display: block !important;
}

/* 分隔线样式 */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    margin: 2rem 0;
}

/* 页面过渡动画 */
.page-transition {
    animation: fadeIn 0.5s ease-in;
}

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

/* 内容区块样式 */
.content-block {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.content-block:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* 标题区块样式 */
.title-block {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

/* 列表样式增强 */
.enhanced-list {
    list-style: none;
    padding: 0;
}

.enhanced-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.enhanced-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10B981;
    font-weight: bold;
}