/* Hero Section - Animated Gradient Background */
.hero-spark {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #fef2f2 0%, #fef3c7 25%, #fee2e2 50%, #fef9e3 75%, #fff 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}

.hero-spark::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.1) 0%, transparent 50%),
                radial-gradient(circle, rgba(245, 158, 11, 0.08) 50%, transparent 50%);
    animation: rotate 30s linear infinite;
}

.hero-content-spark {
    position: relative;
    z-index: 1;
    max-width: 750px;
    padding: 0 24px;
}

.hero-title-spark {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.6s ease-out;
}

.hero-subtitle-spark {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: #6b7280;
    animation: fadeInUp 0.6s ease-out 0.15s both;
}

.hero-buttons-spark {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* Features Section - Hexagon Cards */
.features-spark {
    padding: 80px 0;
    background: white;
}

.hex-grid-spark {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.hex-card-spark {
    background: linear-gradient(145deg, #fef2f2 0%, #fef3c7 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.hex-card-spark::before {
    content: '';
    position: absolute;
    inset: 3px;
    background: white;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: -1;
}

.hex-card-spark:hover {
    transform: translateY(-8px) rotate(2deg);
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.2);
}

.hex-icon-spark {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.hex-icon-spark img {
    width: 35px;
}

.hex-card-spark h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1f2937;
    position: relative;
    z-index: 1;
}

.hex-card-spark p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Security Section */
.safe-spark {
    padding: 80px 0;
    background: linear-gradient(180deg, #fef3c7 0%, #fef2f2 100%);
}

.safe-content-spark {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.safe-content-spark h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.safe-content-spark > p {
    color: #6b7280;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.trust-badge-spark {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 0.9rem;
    color: #1f2937;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.15);
    margin: 0 0.75rem;
}

.trust-badge-spark img {
    width: 24px;
}

.badge-group-spark {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Use Cases - Rotating Carousel */
.cases-spark {
    padding: 80px 0;
    background: white;
}

.carousel-spark {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track-spark {
    display: flex;
    gap: 2rem;
    animation: scroll 30s linear infinite;
}

.carousel-track-spark:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.case-card-spark {
    flex: 0 0 280px;
    background: linear-gradient(145deg, #fef2f2 0%, #fef3c7 100%);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.08);
}

.case-icon-spark {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.case-icon-spark img {
    width: 32px;
}

.case-card-spark h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.case-card-spark p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* CTA Section */
.action-spark {
    padding: 100px 0;
    background: linear-gradient(135deg, #ef4444 0%, #f59e0b 50%, #dc2626 100%);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.action-spark::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

.action-content-spark {
    position: relative;
    z-index: 1;
}

.action-content-spark h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
}

.action-content-spark p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title-spark {
        font-size: 2.2rem;
    }

    .hero-subtitle-spark {
        font-size: 1rem;
    }

    .hex-grid-spark {
        grid-template-columns: 1fr;
    }

    .hex-card-spark {
        padding: 2rem 1.5rem;
    }

    .carousel-track-spark {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
    }

    .case-card-spark {
        flex: 0 0 240px;
    }

    .action-content-spark h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title-spark {
        font-size: 1.8rem;
    }
}
