/* Pranova - Modern Fitness App Landing Page */
/* Red & Black Theme */

:root {
    --primary: #DC2626;
    --red-dark: #991B1B;
    --red-light: #EF4444;
    --accent: #FF6B6B;
    --black: #000000;
    --gray-950: #0a0a0a;
    --gray-900: #111111;
    --gray-800: #1f1f1f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--black);
    color: white;
    overflow-x: hidden;
}

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

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

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--red-light);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

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

/* Gradient Text Animation */
.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--red-light), var(--accent), var(--primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease infinite;
}

/* Button Hover Effects */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

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

/* Card Hover Effects */
.feature-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-10px);
}

/* Glow Effect */
.glow {
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.5),
                0 0 40px rgba(220, 38, 38, 0.3),
                0 0 60px rgba(220, 38, 38, 0.1);
}

/* Text Selection */
::selection {
    background-color: var(--primary);
    color: white;
}

::-moz-selection {
    background-color: var(--primary);
    color: white;
}

/* Loading Animation for Images */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
}

/* Custom Utilities */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.backdrop-blur-strong {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Pricing Card Special Effects */
.pricing-card-popular {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Navigation Blur Effect */
nav {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* FAQ Accordion Animation */
.faq-content {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

/* Hero Section Floating Animation */
.hero-float {
    animation: float 6s ease-in-out infinite;
}

/* Gradient Border Effect */
.gradient-border {
    position: relative;
    border: 2px solid transparent;
    background: linear-gradient(var(--black), var(--black)) padding-box,
                linear-gradient(90deg, var(--primary), var(--red-light)) border-box;
}

/* Link Hover Effect */
a {
    transition: all 0.3s ease;
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

/* Stats Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number {
    animation: countUp 0.5s ease-out;
}

/* CTA Button Pulse */
@keyframes ctaPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(220, 38, 38, 0);
    }
}

.cta-pulse {
    animation: ctaPulse 2s infinite;
}
