/**
 * 功能清单展示页面样式
 * 
 * 专用于功能清单展示页面模板的样式
 * 
 * @package Developer_Starter
 */

/* ========================================
   Hero 区域
   ======================================== */
.features-showcase-hero {
    position: relative;
    padding: 140px 0 100px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-primary) 0%, #7c3aed 50%, #ec4899 100%);
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 0, 0, 0.2) 0%, transparent 50%);
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.hero-particles span {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-particles span:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.hero-particles span:nth-child(2) {
    left: 30%;
    top: 60%;
    animation-delay: 1s;
    width: 15px;
    height: 15px;
}

.hero-particles span:nth-child(3) {
    left: 50%;
    top: 30%;
    animation-delay: 2s;
}

.hero-particles span:nth-child(4) {
    left: 70%;
    top: 70%;
    animation-delay: 3s;
    width: 8px;
    height: 8px;
}

.hero-particles span:nth-child(5) {
    left: 85%;
    top: 25%;
    animation-delay: 4s;
}

.hero-particles span:nth-child(6) {
    left: 90%;
    top: 55%;
    animation-delay: 5s;
    width: 12px;
    height: 12px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 0 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.35rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-actions .btn-light {
    background: #fff;
    color: var(--color-primary);
}

.hero-actions .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.hero-actions .btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
}

.hero-actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* ========================================
   功能清单主区域增强
   ======================================== */
.features-showcase-main {
    background: #fff;
}

.features-showcase-main .section-title {
    font-size: 2.5rem;
}

/* ========================================
   亮点展示区域
   ======================================== */
.features-showcase-highlights {
    background: #fff;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.highlight-item {
    text-align: center;
    padding: 40px 30px;
    background: #f8fafc;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.highlight-item:hover {
    transform: translateY(-10px);
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    border-radius: 20px;
    color: var(--color-primary);
    transition: all 0.3s;
}

.highlight-item:hover .highlight-icon {
    background: linear-gradient(135deg, var(--color-primary), #7c3aed);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.highlight-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px;
}

.highlight-desc {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   FAQ 增强样式
   ======================================== */
.features-showcase-faq .faq-item {
    transition: all 0.3s;
}

.features-showcase-faq .faq-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.1);
}

.features-showcase-faq .faq-question:hover {
    color: var(--color-primary);
}

/* ========================================
   CTA 增强样式
   ======================================== */
.features-showcase-cta .btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.features-showcase-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

/* ========================================
   暗黑模式
   ======================================== */
html.dark-mode .features-showcase-highlights {
    background: var(--dm-bg, #0f172a);
}

html.dark-mode .highlight-item {
    background: var(--dm-bg-card, #1e293b);
}

html.dark-mode .highlight-item:hover {
    background: var(--dm-bg-card, #1e293b);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

html.dark-mode .highlight-title {
    color: var(--dm-text, #e2e8f0);
}

html.dark-mode .highlight-desc {
    color: var(--dm-text-muted, #94a3b8);
}

html.dark-mode .features-showcase-faq {
    background: var(--dm-bg, #0f172a);
}

html.dark-mode .features-showcase-faq .faq-item {
    background: var(--dm-bg-card, #1e293b);
    border-color: var(--dm-border, #334155);
}

html.dark-mode .features-showcase-faq .faq-question {
    background: var(--dm-bg-card, #1e293b);
    color: var(--dm-text, #e2e8f0);
}

html.dark-mode .features-showcase-faq .faq-answer {
    background: var(--dm-bg-card, #1e293b);
}

/* ========================================
   响应式
   ======================================== */
@media (max-width: 1024px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .features-showcase-hero {
        padding: 100px 0 70px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .highlight-item {
        padding: 30px 24px;
    }

    .features-showcase-main .section-title {
        font-size: 2rem;
    }

    .features-showcase-cta h2 {
        font-size: 1.75rem !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .highlight-icon {
        width: 64px;
        height: 64px;
    }

    .highlight-icon svg {
        width: 32px;
        height: 32px;
    }
}