/* Custom Styles for VideoAI Pro */

:root {
    --brand-50: #f0f9ff;
    --brand-100: #e0f2fe;
    --brand-400: #3b82f6;
    --brand-500: #2563eb;
    --brand-600: #1d4ed8;
    --brand-700: #1e40af;
    --brand-800: #1e3a8a;
    --red-400: #f87171;
    --red-500: #ef4444;
    --red-600: #dc2626;
    --red-700: #b91c1c;
}

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

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

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

.animate-pulse-slow {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Blue/Red Gradient Backgrounds */
.hero-bg {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(239, 68, 68, 0.15) 100%);
}

.gradient-blue-red {
    background: linear-gradient(135deg, #3b82f6 0%, #ef4444 100%);
}

.gradient-blue-red-soft {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(239, 68, 68, 0.1) 100%);
}

.gradient-text-blue-red {
    background: linear-gradient(135deg, #3b82f6 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* FAQ Accordion Styles */
.faq-item {
    border: 1px solid rgba(59, 130, 246, 0.2);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(239, 68, 68, 0.05) 100%);
}

.faq-item.active {
    border-color: rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(239, 68, 68, 0.1) 100%);
}

.faq-question {
    transition: all 0.3s ease;
}

.faq-item {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(239, 68, 68, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.3s ease;
    padding: 0;
}

.faq-icon {
    transition: all 0.3s ease;
}

.faq-icon i {
    transition: transform 0.3s ease;
}

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

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

.animate-scroll {
    animation: scroll 30s linear infinite;
}

.animate-scroll-slow {
    animation: scroll-slow 40s linear infinite;
}

/* Orange gradient text */
.gradient-text-orange {
    background: linear-gradient(135deg, #f97316, #ea580c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pink gradient text */
.gradient-text-pink {
    background: linear-gradient(135deg, #ec4899, #be185d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stats Container Animation */
.stats-container {
    position: relative;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.stats-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    animation: rotate 8s linear infinite;
    pointer-events: none;
}

.stats-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(59, 130, 246, 0.05) 0%, 
        rgba(147, 51, 234, 0.05) 33%, 
        rgba(236, 72, 153, 0.05) 66%, 
        rgba(239, 68, 68, 0.05) 100%);
    background-size: 300% 300%;
    animation: gradientShift 6s ease infinite;
    pointer-events: none;
}

/* Stat Item Animations */
.stat-item {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Stat Number Animation */
.stat-number {
    display: inline-block;
    animation: fadeInUp 1s ease-out;
    animation-fill-mode: both;
}

.stat-number.animate-count {
    animation: countUp 2s ease-out, pulse 2s ease-in-out infinite;
}

/* Floating Particles */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 15s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 16s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 14s; }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; animation-duration: 18s; }
.particle:nth-child(5) { left: 50%; animation-delay: 8s; animation-duration: 13s; }
.particle:nth-child(6) { left: 60%; animation-delay: 10s; animation-duration: 15s; }
.particle:nth-child(7) { left: 70%; animation-delay: 12s; animation-duration: 17s; }
.particle:nth-child(8) { left: 80%; animation-delay: 14s; animation-duration: 19s; }
.particle:nth-child(9) { left: 90%; animation-delay: 16s; animation-duration: 11s; }

/* Keyframe Animations */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Glow Effect */
.stat-glow {
    position: relative;
}

.stat-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: glow 3s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: -1;
}

@keyframes glow {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

/* Content Styles Section */
.content-styles-container {
    max-width: 1200px;
    margin: 0 auto;
}

.content-row {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
    .content-row {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 640px) {
    .content-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.content-style-item {
    position: relative;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    backdrop-filter: blur(10px);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeInScale 0.6s ease-out;
    animation-fill-mode: both;
}

.content-style-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(59, 130, 246, 0.05) 0%, 
        rgba(147, 51, 234, 0.05) 25%, 
        rgba(236, 72, 153, 0.05) 50%, 
        rgba(239, 68, 68, 0.05) 75%, 
        rgba(59, 130, 246, 0.05) 100%);
    background-size: 400% 400%;
    animation: gradientWave 8s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.content-style-item:hover::before {
    opacity: 1;
}

.content-style-item:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.content-style-item:nth-child(1) { animation-delay: 0.1s; }
.content-style-item:nth-child(2) { animation-delay: 0.2s; }
.content-style-item:nth-child(3) { animation-delay: 0.3s; }
.content-style-item:nth-child(4) { animation-delay: 0.4s; }
.content-style-item:nth-child(5) { animation-delay: 0.5s; }
.content-style-item:nth-child(6) { animation-delay: 0.6s; }
.content-style-item:nth-child(7) { animation-delay: 0.7s; }
.content-style-item:nth-child(8) { animation-delay: 0.8s; }

.content-icon {
    width: 2rem;
    height: 2rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.content-style-item:hover .content-icon {
    transform: scale(1.2) rotate(5deg);
    color: #60a5fa;
}

.content-style-item span {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.content-style-item:hover span {
    color: #93c5fd;
    transform: scale(1.05);
}

.content-style-item.coming-soon {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.1), rgba(75, 85, 99, 0.1));
    border-color: rgba(156, 163, 175, 0.2);
    opacity: 0.6;
}

.content-style-item.coming-soon .content-icon {
    color: #9ca3af;
}

.content-style-item.coming-soon span {
    color: #9ca3af;
}

.content-style-item.coming-soon:hover {
    transform: none;
    box-shadow: none;
}

.content-style-item.coming-soon:hover .content-icon {
    transform: none;
    color: #9ca3af;
}

.content-style-item.coming-soon:hover span {
    color: #9ca3af;
    transform: none;
}

/* Additional Animations */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes gradientWave {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

/* Staggered row animations */
.content-row:nth-child(1) .content-style-item { animation-delay: 0.1s; }
.content-row:nth-child(2) .content-style-item { animation-delay: 0.3s; }
.content-row:nth-child(3) .content-style-item { animation-delay: 0.5s; }
.content-row:nth-child(4) .content-style-item { animation-delay: 0.7s; }

/* Individual icon color variations */
.content-style-item[data-category="Fun Facts"]:hover .content-icon { color: #60a5fa; }
.content-style-item[data-category="Scary"]:hover .content-icon { color: #ef4444; }
.content-style-item[data-category="Mystery"]:hover .content-icon { color: #8b5cf6; }
.content-style-item[data-category="Bedtime"]:hover .content-icon { color: #6366f1; }
.content-style-item[data-category="Interesting History"]:hover .content-icon { color: #f59e0b; }
.content-style-item[data-category="Urban Legends"]:hover .content-icon { color: #7c3aed; }
.content-style-item[data-category="Motivational"]:hover .content-icon { color: #10b981; }
.content-style-item[data-category="Long Form Jokes"]:hover .content-icon { color: #f97316; }
.content-style-item[data-category="Life Pro Tips"]:hover .content-icon { color: #06b6d4; }
.content-style-item[data-category="Philosophy"]:hover .content-icon { color: #84cc16; }
.content-style-item[data-category="Love"]:hover .content-icon { color: #ec4899; }
.content-style-item[data-category="AITA Stories"]:hover .content-icon { color: #f43f5e; }
.content-style-item[data-category="Storytime"]:hover .content-icon { color: #8b5cf6; }
.content-style-item[data-category="POV"]:hover .content-icon { color: #06b6d4; }
.content-style-item[data-category="Day in the Life"]:hover .content-icon { color: #10b981; }
.content-style-item[data-category="True Crime"]:hover .content-icon { color: #ef4444; }
.content-style-item[data-category="Celebrity Facts"]:hover .content-icon { color: #f59e0b; }
.content-style-item[data-category="Conspiracy Theories"]:hover .content-icon { color: #6b7280; }
.content-style-item[data-category="Money Saving Tips"]:hover .content-icon { color: #10b981; }
.content-style-item[data-category="Fitness Hacks"]:hover .content-icon { color: #f97316; }
.content-style-item[data-category="Psychology Facts"]:hover .content-icon { color: #8b5cf6; }
.content-style-item[data-category="Product Reviews"]:hover .content-icon { color: #f59e0b; }
.content-style-item[data-category="Travel Guides"]:hover .content-icon { color: #06b6d4; }
.content-style-item[data-category="DIY Tutorials"]:hover .content-icon { color: #84cc16; }
.content-style-item[data-category="Cooking Tips"]:hover .content-icon { color: #f97316; }
.content-style-item[data-category="Dating Advice"]:hover .content-icon { color: #ec4899; }
.content-style-item[data-category="Pet Tips"]:hover .content-icon { color: #10b981; }
.content-style-item[data-category="Islamic"]:hover .content-icon { color: #06b6d4; }

/* AI Illustration Animations */
.ai-illustration-container {
    animation: containerFloat 6s ease-in-out infinite;
}

.ai-phone-device {
    transform: rotate(-8deg);
    animation: phoneFloat 4s ease-in-out infinite, phoneRotate 8s ease-in-out infinite;
    transform-origin: center center;
}

.ai-phone-device .absolute {
    animation: elementFloat 3s ease-in-out infinite;
}

.ai-phone-device .absolute:nth-child(1) {
    animation-delay: 0s;
}

.ai-phone-device .absolute:nth-child(2) {
    animation-delay: 0.5s;
}

.ai-phone-device .absolute:nth-child(3) {
    animation-delay: 1s;
}

.ai-phone-device .absolute:nth-child(4) {
    animation-delay: 1.5s;
}

/* Phone device animations */
@keyframes containerFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

@keyframes phoneFloat {
    0%, 100% {
        transform: rotate(-8deg) translateY(0px) translateX(0px);
    }
    25% {
        transform: rotate(-6deg) translateY(-8px) translateX(3px);
    }
    50% {
        transform: rotate(-10deg) translateY(-5px) translateX(-2px);
    }
    75% {
        transform: rotate(-7deg) translateY(-12px) translateX(5px);
    }
}

@keyframes phoneRotate {
    0%, 100% {
        transform: rotate(-8deg) scale(1);
    }
    25% {
        transform: rotate(-5deg) scale(1.02);
    }
    50% {
        transform: rotate(-12deg) scale(0.98);
    }
    75% {
        transform: rotate(-6deg) scale(1.01);
    }
}

@keyframes elementFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.1);
    }
}

/* Smart Pricing Section */
.pricing-card-container {
    max-width: 900px;
    margin: 0 auto;
    perspective: 1000px;
}

.pricing-card {
    position: relative;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(51, 65, 85, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
    animation: cardFloat 6s ease-in-out infinite;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(59, 130, 246, 0.1) 0%, 
        rgba(147, 51, 234, 0.1) 25%, 
        rgba(236, 72, 153, 0.1) 50%, 
        rgba(239, 68, 68, 0.1) 75%, 
        rgba(59, 130, 246, 0.1) 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    opacity: 0.7;
    pointer-events: none;
}

.pricing-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.6);
}

.pricing-header {
    position: relative;
    z-index: 2;
    margin-bottom: 2.5rem;
}

.pricing-amount {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin: 1rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-features {
    position: relative;
    z-index: 2;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(8px);
}

.feature-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #60a5fa;
    margin-right: 1rem;
    flex-shrink: 0;
}

.feature-item span {
    color: #e5e7eb;
    font-weight: 500;
    font-size: 1rem;
}

.pricing-cta {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-button {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
    padding: 1.25rem 2rem;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.cta-text {
    position: relative;
    z-index: 1;
}

.cta-arrow {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(4px);
}

/* Animations */
@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0px) rotateY(0deg);
    }
    50% {
        transform: translateY(-15px) rotateY(2deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-card {
        padding: 2rem;
        margin: 1rem;
    }
    
    .pricing-features .grid {
        grid-template-columns: 1fr;
    }
    
    .cta-button {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
    }
}

/* Pipeline Steps Section */
.pipeline-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pipeline-step {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(51, 65, 85, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pipeline-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(59, 130, 246, 0.05) 0%, 
        rgba(147, 51, 234, 0.05) 25%, 
        rgba(236, 72, 153, 0.05) 50%, 
        rgba(239, 68, 68, 0.05) 75%, 
        rgba(59, 130, 246, 0.05) 100%);
    background-size: 400% 400%;
    animation: gradientShift 10s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.pipeline-step:hover::before {
    opacity: 1;
}

.pipeline-step:hover {
    transform: translateX(10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.step-number {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    animation: numberPulse 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.pipeline-step:hover .step-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1) rotate(5deg);
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.step-content p {
    color: #d1d5db;
    line-height: 1.6;
}

/* Pipeline Arrows */
.pipeline-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
    position: relative;
}

.arrow-line {
    width: 2px;
    height: 3rem;
    background: linear-gradient(180deg, #3b82f6, #8b5cf6, #ec4899);
    border-radius: 2px;
    position: relative;
    animation: arrowFlow 2s ease-in-out infinite;
}

.arrow-line::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    animation: dotMove 2s ease-in-out infinite;
}

.arrow-head {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid #ec4899;
    animation: arrowPulse 2s ease-in-out infinite;
}

/* Animations */
@keyframes numberPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(59, 130, 246, 0.5);
    }
}

@keyframes arrowFlow {
    0%, 100% {
        opacity: 0.6;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

@keyframes dotMove {
    0% {
        top: -5px;
        background: #3b82f6;
    }
    50% {
        top: 50%;
        background: #8b5cf6;
    }
    100% {
        top: calc(100% + 5px);
        background: #ec4899;
    }
}

@keyframes arrowPulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        border-top-color: #ec4899;
    }
    50% {
        transform: translateX(-50%) scale(1.2);
        border-top-color: #f97316;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .pipeline-step {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .pipeline-step:hover {
        transform: translateY(-5px) scale(1.02);
    }
    
    .step-number {
        width: 3rem;
        height: 3rem;
    }
    
    .step-number span {
        font-size: 1.5rem;
    }
    
    .arrow-line {
        height: 2rem;
    }
}

/* Smart Features Layout */
.smart-features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-column {
    position: relative;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(51, 65, 85, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.feature-column:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.feature-column-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-column-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.core-gradient {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

.voice-gradient {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.subtitle-gradient {
    background: linear-gradient(135deg, #ec4899, #be185d);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.3);
}

.feature-column-icon i {
    color: white;
}

.feature-column-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.feature-items-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.feature-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: left 0.5s ease;
}

.feature-chip:hover::before {
    left: 100%;
}

.feature-chip:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateX(4px);
}

.chip-icon {
    width: 0.875rem;
    height: 0.875rem;
    color: #60a5fa;
    flex-shrink: 0;
}

.feature-chip span {
    color: #d1d5db;
    font-size: 0.875rem;
    font-weight: 400;
    flex: 1;
}

.feature-chip:hover span {
    color: #ffffff;
}

/* Feature Badges */
.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid;
    transition: all 0.3s ease;
}

.included-badge {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.1));
    border-color: rgba(34, 197, 94, 0.3);
}

.unlimited-badge {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(14, 165, 233, 0.1));
    border-color: rgba(59, 130, 246, 0.3);
}

.feature-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.included-badge:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(16, 185, 129, 0.15));
    border-color: rgba(34, 197, 94, 0.4);
}

.unlimited-badge:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(14, 165, 233, 0.15));
    border-color: rgba(59, 130, 246, 0.4);
}

.advanced-cta-button {
    position: relative;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    overflow: hidden;
}

.advanced-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.advanced-cta-button:hover::before {
    left: 100%;
}

.advanced-cta-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.4);
}

.cta-button-text {
    position: relative;
    z-index: 1;
}

.cta-button-arrow {
    position: relative;
    z-index: 1;
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.3s ease;
}

.advanced-cta-button:hover .cta-button-arrow {
    transform: translateX(6px);
}

/* Animations */
@keyframes featureGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.3;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .smart-features-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-column {
        padding: 1.25rem;
    }
}

@media (max-width: 768px) {
    .feature-column {
        padding: 1rem;
    }
    
    .feature-column-header {
        gap: 0.5rem;
    }
    
    .feature-column-icon {
        width: 2rem;
        height: 2rem;
    }
    
    .feature-column-title {
        font-size: 1rem;
    }
    
    .feature-chip {
        padding: 0.625rem 0.75rem;
    }
    
    .feature-chip span {
        font-size: 0.8rem;
    }
    
    .feature-badge {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .advanced-cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Pipeline Steps Grid Layout */
.pipeline-steps-grid {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.steps-first-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 4rem;
}

.steps-second-row {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.step-with-arrow {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pipeline-step-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(51, 65, 85, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    width: 300px;
    min-height: 280px;
}

.steps-second-row .pipeline-step-card {
    width: 100%;
    max-width: 800px;
}

.pipeline-step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.pipeline-step-card:hover::before {
    opacity: 1;
}

.pipeline-step-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pipeline-step-number {
    position: absolute;
    top: -0.75rem;
    left: 1.5rem;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    z-index: 2;
}

.pipeline-step-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1rem;
}

.pipeline-step-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #60a5fa;
}

.pipeline-step-card:hover .pipeline-step-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
    border-color: rgba(59, 130, 246, 0.3);
    transform: scale(1.05);
}

.pipeline-step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
}

.pipeline-step-description {
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Arrow Styles */
.horizontal-arrow {
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #3b82f6;
    font-weight: bold;
    animation: arrowPulse 2s ease-in-out infinite;
    z-index: 1;
}

.vertical-arrow-down {
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: #8b5cf6;
    font-weight: bold;
    animation: arrowPulse 2s ease-in-out infinite;
    animation-delay: 0.5s;
    z-index: 1;
}

.curved-arrow-back {
    position: absolute;
    top: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: #ec4899;
    font-weight: bold;
    animation: rotatePulse 3s ease-in-out infinite;
    opacity: 0.7;
    z-index: 1;
}

/* Hide arrows for last items */
.steps-first-row .step-with-arrow:last-child .horizontal-arrow {
    display: none;
}

@keyframes arrowPulse {
    0%, 100% {
        opacity: 0.7;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.1);
    }
}

.vertical-arrow-down {
    animation: arrowPulseVertical 2s ease-in-out infinite;
    animation-delay: 0.5s;
}

@keyframes arrowPulseVertical {
    0%, 100% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
    }
}

@keyframes rotatePulse {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(-50%) rotate(0deg) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-50%) rotate(180deg) scale(1.1);
    }
}

/* Responsive Design for Pipeline */
@media (max-width: 1024px) {
    .steps-first-row {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
    
    .horizontal-arrow,
    .vertical-arrow-down,
    .curved-arrow-back {
        display: none;
    }
    
    .pipeline-step-card {
        width: 350px;
    }
}

@media (max-width: 768px) {
    .pipeline-step-card {
        width: 280px;
        padding: 1.5rem;
        min-height: 250px;
    }
    
    .pipeline-step-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
        top: -0.625rem;
        left: 1.25rem;
    }
    
    .pipeline-step-icon {
        width: 3.5rem;
        height: 3.5rem;
    }
    
    .pipeline-step-title {
        font-size: 1.1rem;
    }
    
    .pipeline-step-description {
        font-size: 0.9rem;
    }
}

/* Smart Contact Section */
.contact-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    position: relative;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(51, 65, 85, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.contact-card-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-icon-wrapper {
    position: relative;
    width: 5rem;
    height: 5rem;
    margin: 0 auto 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.telegram-icon {
    background: linear-gradient(135deg, #0088cc, #005899);
}

.email-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: white;
    z-index: 2;
    position: relative;
}

.icon-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    animation: iconPulse 2s ease-in-out infinite;
}

.whatsapp-pulse {
    background: rgba(37, 211, 102, 0.3);
}

.telegram-pulse {
    background: rgba(0, 136, 204, 0.3);
}

.email-pulse {
    background: rgba(139, 92, 246, 0.3);
}

.contact-content {
    text-align: center;
    flex: 1;
    margin-bottom: 2rem;
}

.contact-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.contact-description {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.feature-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #e5e7eb;
    font-weight: 500;
}

.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    gap: 0.5rem;
}

.whatsapp-button {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.telegram-button {
    background: linear-gradient(135deg, #0088cc, #005899);
    color: white;
}

.email-button {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.contact-button:hover::before {
    left: 100%;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.button-arrow {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

.contact-button:hover .button-arrow {
    transform: translateX(4px);
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #d1d5db;
    font-weight: 500;
}

.trust-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #60a5fa;
}

/* Animations */
@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-cards-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 2rem;
    }
    
    .contact-icon-wrapper {
        width: 4rem;
        height: 4rem;
    }
    
    .contact-icon {
        width: 2rem;
        height: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* AI Service animations */
@keyframes scroll-right {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

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

.animate-scroll-right {
    animation: scroll-right 20s linear infinite;
}

.animate-scroll-left {
    animation: scroll-left 25s linear infinite;
}

/* Single scroll animation for AI services */
@keyframes scroll-single {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll-single {
    animation: scroll-single 30s linear infinite;
}

/* Additional blue/red gradient elements */
.section-title {
    background: linear-gradient(135deg, #3b82f6 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pricing card gradient border */
.pricing-card {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #3b82f6, #ef4444) border-box;
}

.pricing-card {
    border: 2px solid transparent;
    background: linear-gradient(rgb(17 24 39), rgb(17 24 39)) padding-box,
                linear-gradient(135deg, #3b82f6, #ef4444) border-box;
}

/* Custom button styles */
.btn-primary {
    background: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-700) 100%);
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand-800) 100%);
    box-shadow: 0 15px 40px rgba(2, 132, 199, 0.4);
    transform: translateY(-2px);
}

/* Feature cards */
.feature-card {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Screenshot gallery hover effects */
.screenshot-item {
    position: relative;
    overflow: hidden;
}

.screenshot-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(2, 132, 199, 0.8), rgba(16, 185, 129, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.screenshot-item:hover::before {
    opacity: 1;
}

.screenshot-item::after {
    content: '🔍 Click to view';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.screenshot-item:hover::after {
    opacity: 1;
}

/* Pricing card glow effect */
.pricing-card {
    position: relative;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--brand-400), #10b981, var(--brand-600), #8b5cf6);
    border-radius: 24px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card:hover::before {
    opacity: 1;
    animation: pulse 2s infinite;
}

/* Dark mode improvements */
.dark .feature-card {
    background: rgba(31, 41, 55, 0.8);
    border-color: rgba(255, 255, 255, 0.05);
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}

/* Loading states */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.dark .loading-skeleton {
    background: linear-gradient(90deg, #374151 25%, #4b5563 50%, #374151 75%);
    background-size: 200% 100%;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--brand-600);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-700);
}

.dark ::-webkit-scrollbar-track {
    background: #374151;
}

/* Focus states for accessibility */
button:focus,
a:focus {
    outline: 2px solid var(--brand-500);
    outline-offset: 2px;
}

/* Performance optimizations */
.will-change-transform {
    will-change: transform;
}

.backface-hidden {
    backface-visibility: hidden;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* Pricing Section Styles */
.pricing-card-container {
    perspective: 1000px;
}

.pricing-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: visible; /* Important for badge visibility */
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(59, 130, 246, 0.3);
}

.pricing-header {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.pricing-amount {
    margin: 1.5rem 0;
}

.pricing-amount .text-6xl {
    line-height: 1;
}

.pricing-features {
    flex-grow: 1;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    color: #e5e7eb;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
    border-color: rgba(59, 130, 246, 0.2);
}

.feature-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    color: #60a5fa;
    flex-shrink: 0;
}

.pricing-cta {
    margin-top: auto;
}

.cta-button {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.cta-arrow {
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(5px);
}

/* Badge fixes */
.pricing-card-container {
    overflow: visible !important;
}

/* Ensure badges are always visible */
.absolute.-top-4 {
    z-index: 20 !important;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .pricing-card {
        padding: 2rem;
    }
    
    .pricing-amount .text-6xl {
        font-size: 3rem;
    }
}

@media (max-width: 640px) {
    .pricing-amount .text-6xl {
        font-size: 2.5rem;
    }
    
    .feature-item {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
}

/* n8n Automation Section Styles */
.feature-automation-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-automation-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
}

.feature-automation-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

/* Action Buttons */
.automation-action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
}

.automation-action-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.automation-action-button:hover::before {
    left: 100%;
}

.tutorial-button {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.tutorial-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
}

.download-button {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

/* Workflow Visual */
.workflow-node {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    font-weight: 600;
    transition: all 0.3s ease;
}

.workflow-node:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.flow-line {
    height: 2px;
    background: linear-gradient(to right, transparent, #8b5cf6, #ec4899, transparent);
    position: relative;
    margin: 1.5rem 0;
}

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

.flow-line::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: flow 3s linear infinite;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #ec4899;
    margin: 0 auto;
}

/* Stats Card */
.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
}

/* Modal Styles */
#downloadPopup {
    transition: opacity 0.3s ease;
}

#downloadPopup.hidden {
    opacity: 0;
    pointer-events: none;
}

#downloadPopup.show {
    opacity: 1;
    pointer-events: auto;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

#downloadPopup.show #modalContent {
    animation: modalFadeIn 0.3s ease-out;
}

/* Responsive */
@media (max-width: 1024px) {
    .grid.lg\:grid-cols-2 {
        grid-template-columns: 1fr;
    }
}

/* n8n Download Popup Modal Styles */
#downloadPopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#downloadPopup.hidden {
    display: none !important;
}

#downloadPopup.show {
    opacity: 1;
    display: block !important;
}

/* Backdrop */
#downloadPopup > div:first-child {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

/* Modal Content Container */
#downloadPopup > div:last-child {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    pointer-events: none;
}

/* Modal Box */
#modalContent {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #5b2c6f 50%, #1a1a2e 100%);
    border-radius: 1.5rem;
    padding: 2.5rem;
    max-width: 32rem;
    width: 90%;
    border: 2px solid rgba(139, 92, 246, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    pointer-events: auto;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Close Button */
#modalContent > button:first-of-type {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modalContent > button:first-of-type:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Modal Animation */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

#downloadPopup.show #modalContent {
    animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Ensure buttons are clickable */
#modalContent button,
#modalContent a {
    cursor: pointer;
    position: relative;
    z-index: 10;
}

/* Smooth scrolling for modal content */
#modalContent::-webkit-scrollbar {
    width: 6px;
}

#modalContent::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

#modalContent::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.5);
    border-radius: 3px;
}

#modalContent::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.7);
}

/* Mobile responsiveness */
@media (max-width: 640px) {
    #modalContent {
        max-width: 95%;
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    #downloadPopup > div:last-child {
        padding: 0.5rem;
    }
}

