/* ========== ANIMATIONS & EFFECTS - WHITE THEME ========== */

/* Particles Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* Animated Gradient Background - WHITE & ORANGE */
body {
    background: linear-gradient(-45deg, #ffffff, #fafafa, #fff5f0, #ffffff);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    position: relative;
}

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

/* Glassmorphism effect for cards - LIGHT THEME */
.feature-card,
.pricing-card {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover,
.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 15px 45px 0 rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.3);
}

/* 3D Flip effect on hover */
.pricing-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.pricing-card:hover {
    transform: rotateY(5deg) translateY(-10px);
}

/* Animated gradient text - ORANGE ACCENT */
.gradient-text {
    background: linear-gradient(45deg, #FF6B35, #FF8755, #FF5722, #FF6B35);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 3s ease infinite;
}

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

/* Hero title animation */
.hero h1 {
    animation: fadeInUp 1s ease-out;
}

.hero p {
    animation: fadeInUp 1.2s ease-out;
}

.hero-buttons {
    animation: fadeInUp 1.4s ease-out;
}

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

/* Floating animation for hero features */
.hero-feature {
    animation: float 3s ease-in-out infinite;
}

.hero-feature:nth-child(1) { animation-delay: 0s; }
.hero-feature:nth-child(2) { animation-delay: 0.5s; }
.hero-feature:nth-child(3) { animation-delay: 1s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Scroll reveal animation */
[data-reveal] {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for features */
.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; }
.feature-card:nth-child(4) { transition-delay: 0.4s; }

/* Button pulse effect - ORANGE */
.btn-primary {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 107, 53, 0.4);
    }
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* Shimmer effect - LIGHT THEME */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 107, 53, 0.1),
        transparent
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* Icon animations */
.hero-feature .icon,
.feature-icon {
    display: inline-block;
    transition: all 0.3s ease;
}

.hero-feature:hover .icon,
.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
    color: #FF5722;
}

/* Slider animations */
.slide {
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading skeleton animation - LIGHT THEME */
.skeleton {
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.05) 25%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.05) 75%
    );
    background-size: 200% 100%;
    animation: skeleton 1.5s ease-in-out infinite;
}

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

/* Text color updates for light background */
body {
    color: #1a1a1a !important;
}

.hero h1,
.section-title {
    color: #1a1a1a !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hero-subtitle,
.section-subtitle,
p {
    color: #4a4a4a !important;
}

/* Header with soft shadow */
.header {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

/* Update sections background - LIGHT THEME */
.screenshots,
.video-section,
.features,
.pricing,
.faq,
.download {
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    margin: 0;
    padding: 100px 0 !important;
    border: none;
}

/* Alternating section backgrounds */
.video-section,
.how-it-works,
.download {
    background: #f8f9fa !important;
}

/* Parallax effect */
.parallax {
    transform: translateZ(0);
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Glow effect on focus - ORANGE */
input:focus,
button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

/* Make everything position relative to allow particles behind */
.container {
    position: relative;
    z-index: 1;
}

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

/* Custom scrollbar - ORANGE ACCENT */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FF6B35, #FF8755);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FF5722, #FF6B35);
}

/* Decorative elements */
.section-decoration {
    position: relative;
}

.section-decoration::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #FF6B35, transparent);
    border-radius: 2px;
}

/* Wave decoration */
@keyframes wave {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-50px); }
}

.wave-decoration {
    position: absolute;
    width: 200%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 100"><path d="M0,50 Q300,0 600,50 T1200,50 L1200,100 L0,100 Z" fill="%23fff5f0"/></svg>') repeat-x;
    animation: wave 10s linear infinite;
    opacity: 0.5;
}

/* Bounce animation for CTAs */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.bounce-on-hover:hover {
    animation: bounce 0.5s ease;
}

/* Glow text effect */
@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(255, 107, 53, 0.2);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 107, 53, 0.4),
                     0 0 30px rgba(255, 87, 34, 0.2);
    }
}

.glow-text {
    animation: textGlow 2s ease-in-out infinite;
}

/* Modern card hover effect */
.modern-card {
    position: relative;
    overflow: hidden;
}

.modern-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FF6B35, #FF8755, #FF5722);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: inherit;
    z-index: -1;
}

.modern-card:hover::after {
    opacity: 1;
}

/* Rotation animation */
@keyframes rotate360 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.rotate-slow {
    animation: rotate360 20s linear infinite;
}

/* Scale in animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scale-in {
    animation: scaleIn 0.5s ease-out;
}

/* Typewriter effect */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

.typewriter {
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #FF6B35;
    animation: typing 3s steps(30, end),
               blink 0.75s step-end infinite;
}