/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Particles Animation */
@keyframes float-up {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 0.7;
    }
    50% {
        transform: translateX(var(--x-movement)) translateY(-50vh);
        opacity: 0.7;
    }
    100% {
        transform: translateX(calc(var(--x-movement) * 2)) translateY(-100vh);
        opacity: 0;
    }
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
}

:root {
    --primary-color: #00c853;
    --secondary-color: #ff4081;
    --dark-color: #2C3E50;
    --light-color: #F5F6FA;
    --text-color: #333;
    --gradient-primary: linear-gradient(135deg, #00c853 0%, #69f0ae 100%);
    --gradient-secondary: linear-gradient(135deg, #ff4081 0%, #ff80ab 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Styles */
.navbar {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo-icon {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: var(--dark-color);
    text-decoration: none;
    padding: 10px 20px;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #fff 0%, var(--light-color) 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #fff;
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--dark-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Screenshots Section */
.screenshots {
    padding: 80px 0;
    background: var(--light-color);
}

.screenshots h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--dark-color);
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 40px;
}

.carousel {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 300%;  /* Makes space for all three groups */
    will-change: transform;
}

.carousel-slide {
    width: calc(100% / 9);  /* Divides space equally among 9 slides (3 visible at a time) */
    flex-shrink: 0;
    padding: 0 10px;  /* Adds spacing between slides */
    opacity: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.carousel-button {
    position: static;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    color: var(--dark-color);
    transition: all 0.3s ease;
    margin: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.carousel-button:hover {
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    transform: scale(1.1);
}

.carousel-button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.carousel-navigation {
    text-align: center;
    margin-top: -25px;
    position: relative;
    z-index: 2;
    padding: 0 0 20px;
    overflow: visible;
}

/* Add screen reader only class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {
    .carousel-container {
        padding: 0 20px;
    }
    
    .carousel-button {
        width: 40px;
        height: 40px;
        font-size: 20px;
        margin: 15px 8px 0;
    }

    .carousel-slide {
        padding: 0 5px;
    }
}

/* Removed carousel dots styles */

/* Download Section */
.download {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #00c853 0%, #69f0ae 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

#download-particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.download .container {
    position: relative;
    z-index: 2;
}

.features-list {
    max-width: 600px;
    margin: 30px auto;
    text-align: left;
}

.features-list p {
    margin: 15px 0;
    font-size: 1.1rem;
}

.features-list i {
    color: #fff;
    margin-right: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px;
    border-radius: 50%;
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.download p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease;
    margin: 10px;
}

.btn i {
    margin-right: 10px;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0,200,83,0.3);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: #fff;
    box-shadow: 0 5px 15px rgba(255,64,129,0.3);
}

.btn:active {
    transform: scale(0.95);
}

/* Footer */
footer {
    padding: 40px 0;
    background: var(--dark-color);
    color: #fff;
}

.footer-content {
    text-align: center;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.privacy-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.privacy-link:hover {
    color: var(--primary-color);
    opacity: 1;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-links .separator {
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}