/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(-45deg, #000000, #1a1a1a, #000000, #0a0a0a);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow-x: hidden;
}

/* Animated background */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating particles effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.1), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.1), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.1), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.1), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255,255,255,0.1), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: float 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

/* Parallax floating elements */
.parallax-element {
    position: fixed;
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
    animation: parallaxFloat 15s ease-in-out infinite;
}

.parallax-element:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(58, 155, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation-delay: 0s;
}

.parallax-element:nth-child(2) {
    top: 60%;
    right: 15%;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(255, 58, 200, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation-delay: -5s;
}

.parallax-element:nth-child(3) {
    top: 80%;
    left: 20%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(58, 255, 58, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation-delay: -10s;
}

.parallax-element:nth-child(4) {
    top: 30%;
    right: 25%;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(255, 200, 58, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation-delay: -7s;
}

@keyframes parallaxFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) translateX(10px) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-10px) translateX(-15px) scale(0.9);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-30px) translateX(5px) scale(1.05);
        opacity: 0.6;
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

.container {
    max-width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

/* Header styles */
.header {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.6;
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% { filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3)); }
    100% { filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6)); }
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Main content */
.main-content {
    flex: 1;
    padding: 1rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-description {
    text-align: center;
    padding: 0;
    margin-bottom: 0;
    animation: slideInDown 1s ease-out 0.2s both;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0.3rem;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: titlePulse 4s ease-in-out infinite;
    transform: translateZ(0);
    will-change: transform;
}

@keyframes titlePulse {
    0%, 100% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
    50% { text-shadow: 0 0 30px rgba(255, 255, 255, 0.8); }
}

.app-tagline {
    font-size: clamp(0.9rem, 4.5vw, 1.8rem);
    color: #ccc;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    animation: glowText 3s ease-in-out infinite alternate;
}

@keyframes glowText {
    0% { text-shadow: 0 0 10px rgba(204, 204, 204, 0.3); }
    100% { text-shadow: 0 0 20px rgba(204, 204, 204, 0.6); }
}

.features-section {
    padding: 1rem;
    margin-bottom: 2rem;
    margin-top: 0;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    animation: slideInLeft 0.8s ease-out both;
    transform: translateZ(0);
    will-change: transform;
}

.feature-item:nth-child(1) { animation-delay: 0.8s; }
.feature-item:nth-child(2) { animation-delay: 1s; }
.feature-item:nth-child(3) { animation-delay: 1.2s; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.feature-icon {
    font-size: 2rem;
    margin-right: 1rem;
    flex-shrink: 0;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.feature-text {
    color: #fff;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.social-proof {
    padding: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 1.4s both;
}

.happy-users {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.users-count {
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: numberGlow 3s ease-in-out infinite alternate;
}

@keyframes numberGlow {
    0% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
    100% { text-shadow: 0 0 30px rgba(255, 255, 255, 0.8); }
}

.users-text {
    color: #ccc;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    animation: glowText 3s ease-in-out infinite alternate;
}

.testimonials {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial {
    padding: 1.5rem;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    animation: slideInRight 0.8s ease-out both;
}

.testimonial:nth-child(1) { animation-delay: 1.6s; }
.testimonial:nth-child(2) { animation-delay: 1.8s; }

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.testimonial-text {
    color: #fff;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    font-style: italic;
}

.testimonial-author {
    color: #ccc;
    font-size: 0.9rem;
    font-weight: 500;
}

.download-section {
    text-align: center;
    padding: 1rem;
    margin-bottom: 0;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.2s ease;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.download-btn:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6));
}

.store-icon {
    height: 50px;
    width: auto;
    max-width: 150px;
}

.content-section {
    padding: 0;
    margin-bottom: 1rem;
    color: #fff;
    animation: fadeInUp 1s ease-out 0.8s both;
}



.screenshot-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
    position: relative;
    min-height: 400px;
    width: 100%;
}

.screenshot-carousel {
    position: relative;
    width: 300px;
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    transform: translateZ(0);
    will-change: transform;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.screenshot-overlay h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.screenshot-overlay p {
    margin: 0;
    font-size: 1rem;
    opacity: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.running-animation-container {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: 120px;
    z-index: 10;
    animation: runningFloat 3s ease-in-out infinite;
    /* Debug styling */
    border: 2px solid yellow;
    background-color: rgba(255, 255, 0, 0.1);
}

@keyframes runningFloat {
    0%, 100% {
        transform: translateY(-50%) translateX(0px);
    }
    50% {
        transform: translateY(-50%) translateX(-5px);
    }
}

#running-lottie-animation {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
    transition: all 0.3s ease;
}

#running-lottie-animation:hover {
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.6));
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: rgba(44, 62, 80, 0.8);
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: auto;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.footer a {
    color: #fff !important;
    text-decoration: underline !important;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    opacity: 0.8;
    margin: 0 1rem;
}

.footer a:hover {
    color: #fff !important;
    opacity: 1;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

.footer a:visited {
    color: #fff !important;
}

.footer a:active {
    color: #fff !important;
}

/* Mobile-first responsive design */
@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .content-section {
        padding: 2rem;
    }
}

/* Touch-friendly buttons and interactions */
button, .btn {
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    background: #007bff;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-height: 44px; /* Touch-friendly minimum size */
}

button:hover, .btn:hover {
    background: #0056b3;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Radar Chart Section */
.radar-chart-section {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideInUp 1s ease-out;
    animation-delay: 1.4s;
    animation-fill-mode: both;
    transform: translateZ(0);
    will-change: transform;
}

.radar-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.radar-subtitle {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.radar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    position: relative;
}

.radar-container canvas {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.radar-container canvas:hover {
    transform: scale(1.02);
}

.radar-legend {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.legend-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 0 8px currentColor;
    animation: legendGlow 2s ease-in-out infinite alternate;
}

@keyframes legendGlow {
    0% { box-shadow: 0 0 8px currentColor; }
    100% { box-shadow: 0 0 15px currentColor, 0 0 25px currentColor; }
}

.legend-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Responsive adjustments for radar chart */
@media (max-width: 768px) {
    .radar-chart-section {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .radar-title {
        font-size: 1.3rem;
    }
    
    .radar-legend {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .legend-text {
        font-size: 0.8rem;
    }
} 