/* Custom animations and styles for IndeCommerce marketing website */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Fade in animation for content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Staggered animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Blog content styling */
.blog-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.blog-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.blog-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}
.blog-content ul, .blog-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}
.blog-content ul li {
    list-style-type: disc;
    margin-bottom: 0.5rem;
}
.blog-content ol li {
    list-style-type: decimal;
    margin-bottom: 0.5rem;
}
.blog-content a {
    color: #3B82F6;
    text-decoration: underline;
}
.blog-content a:hover {
    color: #2563EB;
}
.blog-content strong {
    font-weight: 600;
}
.blog-content img {
    border-radius: 0.75rem;
    margin: 1.5rem 0;
}

/* Pricing toggle */
.pricing-toggle {
    position: relative;
    display: inline-flex;
    background: #e5e7eb;
    border-radius: 100px;
    padding: 4px;
}

.pricing-toggle button {
    position: relative;
    z-index: 1;
    padding: 8px 20px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
}

.pricing-toggle button.active {
    color: white;
}

.pricing-toggle .slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: #3B82F6;
    border-radius: 100px;
    transition: transform 0.3s ease;
}

.pricing-toggle.annual .slider {
    transform: translateX(100%);
}

/* Feature comparison table sticky header */
.comparison-table th {
    position: sticky;
    top: 64px;
    z-index: 10;
}

/* Mobile responsive tweaks */
@media (max-width: 640px) {
    .blog-content h2 {
        font-size: 1.25rem;
    }
    .blog-content h3 {
        font-size: 1.1rem;
    }
}
