/**
 * RDAI AI Service - 首页样式
 * 使用Theme基础 + emoji卡片设计
 */

/* ============================================
   Hero Section - 白色背景 + emoji卡片
   ============================================ */

.rdai-hero {
    background: #ffffff;
    padding: 80px 20px 60px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.rdai-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.rdai-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    color: var(--rdai-primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.rdai-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.rdai-hero-subtitle {
    font-size: 20px;
    color: #64748b;
    margin: 0 0 40px 0;
    line-height: 1.6;
}

.rdai-hero-subtitle strong {
    color: var(--rdai-primary);
    font-weight: 600;
}

/* ============================================
   Emoji Cards - 核心卖点卡片
   ============================================ */

.rdai-hero-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 0 40px 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.rdai-emoji-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: #ffffff;
    border-radius: 12px;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.rdai-emoji-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.rdai-emoji-card .emoji {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
}

.rdai-emoji-card .text {
    font-size: 16px;
    color: #475569;
    line-height: 1.5;
}

/* 蓝色卡片 - 专业排版 */
.rdai-card-blue {
    border: 2px solid #3b82f6;
    border-left: 6px solid #3b82f6;
    background: linear-gradient(to right, #eff6ff 0%, #ffffff 100%);
}

/* 绿色卡片 - 安全合规 */
.rdai-card-green {
    border: 2px solid #10b981;
    border-left: 6px solid #10b981;
    background: linear-gradient(to right, #f0fdf4 0%, #ffffff 100%);
}

/* 橙色卡片 - 快速发布 */
.rdai-card-orange {
    border: 2px solid #f59e0b;
    border-left: 6px solid #f59e0b;
    background: linear-gradient(to right, #fffbeb 0%, #ffffff 100%);
}

/* ============================================
   Hero Actions - CTA按钮
   ============================================ */

.rdai-hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.rdai-hero-actions .button {
    min-width: 180px;
}

/* ============================================
   Hero Trust - 信任指标
   ============================================ */

.rdai-hero-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 14px;
}

.rdai-hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rdai-hero-trust i {
    color: var(--rdai-primary);
}

/* ============================================
   Section通用样式
   ============================================ */

.rdai-section-light {
    background: #f8fafc;
    padding: 80px 20px;
}

.rdai-section-white {
    background: #ffffff;
    padding: 80px 20px;
}

.rdai-container {
    max-width: 1200px;
    margin: 0 auto;
}

.rdai-section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 16px 0;
}

.rdai-section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #64748b;
    margin: 0 0 48px 0;
}

.rdai-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

/* ============================================
   服务卡片样式
   ============================================ */

.rdai-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.rdai-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.rdai-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.rdai-card-featured {
    border: 2px solid var(--rdai-secondary);
    position: relative;
}

.rdai-featured-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--rdai-secondary);
    color: white;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.rdai-service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.rdai-service-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
}

.rdai-service-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 12px 0;
}

.rdai-service-desc {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.rdai-service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.rdai-service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    font-size: 14px;
    margin-bottom: 10px;
}

.rdai-service-features i {
    color: var(--rdai-secondary);
    font-size: 14px;
}

.rdai-service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
}

.rdai-service-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.rdai-service-price .price {
    font-size: 32px;
    font-weight: 700;
    color: var(--rdai-primary);
}

.rdai-service-price .unit {
    font-size: 14px;
    color: #64748b;
}

/* ============================================
   CTA区的轻色按钮
   ============================================ */

.rdai-btn-outline-light {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.rdai-btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
}

/* ============================================
   响应式设计
   ============================================ */

@media (max-width: 768px) {
    .rdai-hero-title {
        font-size: 36px;
    }

    .rdai-hero-subtitle {
        font-size: 18px;
    }

    .rdai-emoji-card {
        padding: 16px 20px;
    }

    .rdai-emoji-card .emoji {
        font-size: 28px;
    }

    .rdai-emoji-card .text {
        font-size: 15px;
    }

    .rdai-hero-trust {
        gap: 16px;
        font-size: 13px;
    }

    .rdai-section-title {
        font-size: 28px;
    }

    .rdai-section-subtitle {
        font-size: 16px;
    }

    .rdai-section-light,
    .rdai-section-white {
        padding: 60px 20px;
    }

    .rdai-services-grid {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .rdai-hero {
        padding: 60px 16px 40px;
    }

    .rdai-hero-title {
        font-size: 28px;
    }

    .rdai-hero-subtitle {
        font-size: 16px;
    }

    .rdai-hero-badge {
        font-size: 13px;
        padding: 6px 16px;
    }

    .rdai-emoji-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
    }

    .rdai-emoji-card .emoji {
        font-size: 36px;
    }

    .rdai-emoji-card .text {
        font-size: 14px;
    }

    .rdai-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .rdai-hero-actions .button {
        width: 100%;
        min-width: auto;
    }

    .rdai-hero-trust {
        flex-direction: column;
        gap: 12px;
    }

    .rdai-section-title {
        font-size: 24px;
    }

    .rdai-section-subtitle {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .rdai-section-light,
    .rdai-section-white {
        padding: 48px 16px;
    }

    .rdai-features-grid,
    .rdai-services-grid {
        gap: 20px;
    }

    .rdai-service-card h3 {
        font-size: 20px;
    }

    .rdai-service-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .rdai-service-price .price {
        font-size: 28px;
    }

    .rdai-service-footer {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .rdai-service-footer .button {
        width: 100%;
        text-align: center;
    }
}
