/* 加拿大28预测首页 - 全新设计 */

/* 基础变量 */
:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #818cf8;
    --secondary: #06b6d4;
    --accent: #f59e0b;
    --dark: #0f172a;
    --gray-900: #1e293b;
    --gray-700: #334155;
    --gray-500: #64748b;
    --gray-300: #cbd5e1;
    --gray-100: #f1f5f9;
    --white: #ffffff;
}

/* Hero区域 - 深色大气风格 */
.jnd-hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    padding: 100px 0 120px;
    color: #fff;
    text-align: center;
    margin: -20px -20px 0 -20px;
    position: relative;
    overflow: hidden;
}

.jnd-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234f46e5' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.jnd-hero-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.3) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.jnd-hero-section .container {
    position: relative;
    z-index: 2;
}

.jnd-hero-section h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jnd-hero-section .lead {
    font-size: 1.25rem;
    opacity: 0.85;
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.8;
    color: #c7d2fe;
}

.jnd-hero-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.jnd-hero-btns .btn {
    padding: 14px 36px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.jnd-hero-btns .btn-light {
    background: linear-gradient(135deg, #fff 0%, #f1f5f9 100%);
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(255,255,255,0.25);
}

.jnd-hero-btns .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,255,255,0.35);
}

.jnd-hero-btns .btn-outline-light {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    backdrop-filter: blur(10px);
}

.jnd-hero-btns .btn-outline-light:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-3px);
}

/* 统计数据区 */
.jnd-stats-section {
    margin-top: -50px;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

.jnd-stat-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(79, 70, 229, 0.08);
}

.jnd-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.15);
}

.jnd-stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.jnd-stat-label {
    color: var(--gray-500);
    font-size: 0.95rem;
    font-weight: 500;
}

/* 区块标题 */
.jnd-section-title {
    text-align: center;
    margin-bottom: 60px;
}

.jnd-section-title h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.jnd-section-title p {
    color: var(--gray-500);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* 优势卡片 - 玻璃拟态风格 */
.jnd-advantage-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.jnd-advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.jnd-advantage-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(79, 70, 229, 0.15);
    border-color: transparent;
}

.jnd-advantage-card:hover::before {
    transform: scaleX(1);
}

.jnd-advantage-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    font-size: 1.8rem;
    transition: all 0.4s ease;
}

.jnd-advantage-card:hover .jnd-advantage-icon {
    transform: scale(1.1) rotate(5deg);
}

.jnd-advantage-icon-1 { background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; }
.jnd-advantage-icon-2 { background: linear-gradient(135deg, #ec4899, #f43f5e); color: #fff; }
.jnd-advantage-icon-3 { background: linear-gradient(135deg, #06b6d4, #3b82f6); color: #fff; }
.jnd-advantage-icon-4 { background: linear-gradient(135deg, #10b981, #14b8a6); color: #fff; }
.jnd-advantage-icon-5 { background: linear-gradient(135deg, #f59e0b, #ef4444); color: #fff; }
.jnd-advantage-icon-6 { background: linear-gradient(135deg, #8b5cf6, #a855f7); color: #fff; }

.jnd-advantage-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
}

.jnd-advantage-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0;
}

/* 特色功能区 */
.jnd-features-section {
    background: linear-gradient(180deg, var(--gray-100) 0%, #e0e7ff 100%);
    padding: 100px 0;
    margin: 80px -20px 0;
    position: relative;
}

.jnd-features-section .jnd-section-title {
    text-align: left;
    margin-bottom: 40px;
}

.jnd-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
    padding: 24px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid rgba(79, 70, 229, 0.06);
    transition: all 0.3s ease;
}

.jnd-feature-item:hover {
    transform: translateX(8px);
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.12);
    border-color: var(--primary-light);
}

.jnd-feature-item:last-child {
    margin-bottom: 0;
}

.jnd-feature-icon-sm {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-right: 20px;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3);
    transition: all 0.3s ease;
}

.jnd-feature-item:hover .jnd-feature-icon-sm {
    transform: scale(1.1);
}

/* 不同颜色图标 */
.col-lg-6:first-child .jnd-feature-item:nth-child(2) .jnd-feature-icon-sm {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.3);
}

.col-lg-6:first-child .jnd-feature-item:nth-child(3) .jnd-feature-icon-sm {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.3);
}

.col-lg-6:first-child .jnd-feature-item:nth-child(4) .jnd-feature-icon-sm {
    background: linear-gradient(135deg, #10b981, #14b8a6);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.col-lg-6:last-child .jnd-feature-item:nth-child(1) .jnd-feature-icon-sm {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.col-lg-6:last-child .jnd-feature-item:nth-child(2) .jnd-feature-icon-sm {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.col-lg-6:last-child .jnd-feature-item:nth-child(3) .jnd-feature-icon-sm {
    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.3);
}

.jnd-feature-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.jnd-feature-item:hover .jnd-feature-content h4 {
    color: var(--primary);
}

.jnd-feature-content p {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* 响应式 */
@media (max-width: 991px) {
    .jnd-hero-section {
        padding: 70px 20px 90px;
        margin: -20px -15px 0;
    }
    
    .jnd-hero-section h1 {
        font-size: 2.2rem;
    }
    
    .jnd-hero-section .lead {
        font-size: 1.1rem;
    }
    
    .jnd-stat-card {
        margin-bottom: 20px;
    }
    
    .jnd-features-section {
        margin-left: -15px;
        margin-right: -15px;
        padding: 60px 20px;
    }
    
    .jnd-section-title h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .jnd-hero-section {
        padding: 60px 15px 80px;
    }
    
    .jnd-hero-section h1 {
        font-size: 1.8rem;
    }
    
    .jnd-hero-section .lead {
        font-size: 1rem;
    }
    
    .jnd-hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .jnd-hero-btns .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .jnd-section-title {
        margin-bottom: 40px;
    }
    
    .jnd-section-title h2 {
        font-size: 1.5rem;
    }
    
    .jnd-advantage-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    
    .jnd-advantage-icon {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }
    
    .jnd-feature-item {
        padding: 18px;
    }
    
    .jnd-feature-icon-sm {
        width: 46px;
        height: 46px;
        font-size: 1rem;
        margin-right: 14px;
    }
    
    .jnd-feature-content h4 {
        font-size: 1rem;
    }
    
    .jnd-feature-content p {
        font-size: 0.85rem;
    }
    
    .jnd-stat-num {
        font-size: 2rem;
    }
}
