:root {
    --primary-color: #4CAF50;
    --secondary-color: #2196F3;
    --accent-color: #FF4081;
    --text-color: #333333;
    --bg-color: #ffffff;
    --gradient-start: #4CAF50;
    --gradient-end: #2196F3;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f8f9fa;
    margin: 0;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}
main, header, footer {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}
.gradient-bg {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
}

header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    margin: 0; /* Remove margin */
    padding: 0; /* Remove padding */
}

header:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

nav {
    max-width: 1200px;
    margin: 0;  /* Remove margin */
    padding: 0.2rem 0;  /* Reduce padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.3s ease;
}

header:hover nav {
    padding: 1.2rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.highlight {
    color: #8a09bd;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
}

.hero {
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cta-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button.primary {
    background: var(--accent-color);
    color: white;
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-image img {
    width: 50%;
    margin: 0 auto;
    display: block;
}

.hero-image img {
    width: 50%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.feature-grid {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
}

.feature-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-card {
    flex: 1;
    text-align: center;
    background: rgb(231, 222, 222);
    border-radius: 12px;
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 468px) {
    .feature-row {
        flex-direction: column;
    }
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.feature-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

.statistics {
    background: rgb(175, 81, 230);
    padding: 4rem 2rem;
    margin: 4rem 0;
    color: white;
}

.stat-item h3 {
    font-size: 3rem;
    color: white;
    margin-bottom: 0.1rem;
    font-weight: 700;
}

.stat-item p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.stat-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.stat-item {
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: 12px;
    background: rgba(224, 216, 216, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    min-width: 250px;
    max-width: 300px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
}

@media (max-width: 768px) {
    /* Header and Navigation Styles */
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 2rem;
        position: relative;
    }
    
    .menu-btn {
        display: none;
        cursor: pointer;
        padding: 10px;
        z-index: 100;
    }
    
    .menu-btn__burger {
        width: 25px;
        height: 3px;
        background: #333;
        position: relative;
        transition: all 0.3s ease-in-out;
    }
    
    .menu-btn__burger::before,
    .menu-btn__burger::after {
        content: '';
        position: absolute;
        width: 25px;
        height: 3px;
        background: #333;
        transition: all 0.3s ease-in-out;
    }
    
    .menu-btn__burger::before {
        transform: translateY(-8px);
    }
    
    .menu-btn__burger::after {
        transform: translateY(8px);
    }
    
    /* Hamburger Animation */
    .menu-btn.open .menu-btn__burger {
        transform: translateX(-50px);
        background: transparent;
    }
    
    .menu-btn.open .menu-btn__burger::before {
        transform: rotate(45deg) translate(35px, -35px);
    }
    
    .menu-btn.open .menu-btn__burger::after {
        transform: rotate(-45deg) translate(35px, 35px);
    }
    
    .nav-menu {
        visibility: hidden; /* Initially hidden */
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        visibility: visible;
    }
    
    .nav-list {
        display: flex;
        gap: 2rem;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .nav-link {
        color: #333;
        text-decoration: none;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .submenu {
        position: absolute;
        top: 100%;
        background: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        border-radius: 8px;
        padding: 0.5rem 0;
        min-width: 200px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
    .nav-item:hover .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .submenu li a {
        padding: 0.75rem 1.5rem;
        display: block;
        color: #333;
        text-decoration: none;
        transition: all 0.3s;
    }
    
    .submenu li a:hover {
        background: #f8f9fa;
        color: #007bff;
        padding-left: 2rem;
    }
    
    /* Mobile Styles */
    @media (max-width: 768px) {
        .menu-btn {
            display: block;
        }
    
        .nav-menu {
            /* Menu Styles */
            .menu-container {
                position: fixed;
                top: 0;
                right: -300px;
                width: 300px;
                height: 100vh;
                background: white;
                box-shadow: -2px 0 10px rgba(0,0,0,0.1);
                transition: transform 0.3s ease;
                z-index: 1000;
                overflow-y: auto;
                visibility: hidden;
                transform: translateX(100%);
            }
            
            .menu-container.active {
                visibility: visible;
                transform: translateX(-300px);
            }
            
            .menu-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 1rem;
                border-bottom: 1px solid #eee;
                position: sticky;
                top: 0;
                background: white;
                z-index: 2;
            }
            
            .menu-header span {
                font-weight: 600;
                font-size: 1.2rem;
            }
            
            .close-menu {
                border: none;
                background: none;
                font-size: 1.5rem;
                cursor: pointer;
                padding: 0.5rem;
            }
            
            .menu-content {
                padding: 1rem;
            }
            
            .menu-overlay {
                visibility: hidden;
                opacity: 0;
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: rgba(0, 0, 0, 0.5);
                z-index: 999;
                transition: opacity 0.3s ease;
            }
            
            .menu-overlay.active {
                visibility: visible;
                opacity: 1;
            }
            
            /* Update existing nav styles */
            .nav-list {
                flex-direction: column;
                gap: 1rem;
            }
            
            .nav-item {
                width: 100%;
            }
            
            .submenu {
                position: static;
                box-shadow: none;
                padding-left: 1rem;
                background: #f8f9fa;
                border-radius: 4px;
                margin-top: 0.5rem;
                display: none;
            }
            
            .nav-item.active .submenu {
                display: block;
            }
        }
    }
    /* Hero section */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        max-width: 80%;
    }

    /* Features section */
    .feature-row {
        flex-direction: column;
    }

    .feature-card {
        margin-bottom: 1rem;
    }

    /* Statistics section */
    .stat-container {
        grid-template-columns: 1fr;
        max-width: 400px;
        padding: 1rem;
    }

    .stat-item {
        min-width: auto;
        height: auto;
        padding: 2rem 1rem;
    }

    /* Screenshot gallery */
    .screenshot-gallery {
        padding: 1rem;
        gap: 1rem;
    }

    .screenshot {
        min-width: 150px;
    }

    /* How it works */
    .steps-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .step:not(:last-child)::after {
        display: none;
    }

    /* Download section */
    .download-options {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    /* Support section */
    .support-content {
        padding: 1rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
}

/* Tablet responsiveness */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        padding: 3rem 2rem;
        gap: 2rem;
    }

    .feature-grid {
        padding: 1rem;
    }

    .feature-row {
        gap: 1rem;
    }

    .stat-container {
        gap: 1rem;
        padding: 1rem;
    }

    .stat-item {
        min-width: 200px;
    }

    .steps-container {
        gap: 2rem;
    }
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Improve text readability on smaller screens */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    h3 {
        font-size: 1.4rem !important;
    }
}

.download-options {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.download-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-name {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.download-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.download-button img {
    width: 24px;
    height: 24px;
}
footer {
    background: #1a1a1a;
    color: white;
    padding: 2rem 1rem;  /* Reduced padding */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;  /* Reduced gap */
    padding: 0 1rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;  /* Reduced margin */
    font-size: 1rem;  /* Smaller font size */
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;  /* Reduced margin */
    font-size: 0.9rem;  /* Smaller font size */
}

.footer-section p {
    font-size: 0.9rem;  /* Smaller font size */
}

.social-links {
    display: flex;
    gap: 0.8rem;  /* Reduced gap */
    margin-top: 0.8rem;  /* Reduced margin */
}

.social-links img {
    width: 20px;  /* Smaller icons */
    height: 20px;
}

.footer-section address {
    font-size: 0.9rem;  /* Smaller font size */
    line-height: 1.4;  /* Reduced line height */
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links img {
    width: 24px;
    height: 24px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-links img:hover {
    opacity: 1;
}

.footer-section address {
    color: rgba(255, 255, 255, 0.8);
    font-style: normal;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .cta-group {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .stat-container {
        flex-direction: column;
        text-align: center;
    }

    .download-options {
        flex-direction: column;
        align-items: center;
    }
}

.screenshot-gallery {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.screenshot {
    min-width: 100px;
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.steps-container {
    display: flex;
    gap: 3rem;
    padding: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.step {
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -2rem;
    width: 1rem;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.5;
}

/* Hide scrollbar but keep functionality */
.screenshot-gallery::-webkit-scrollbar,
.steps-container::-webkit-scrollbar {
    display: none;
}

.screenshot-gallery,
.steps-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Add scroll indicators */
.app-preview {
    position: relative;
    padding: 0rem 0;
}

.app-preview::after {
    
    position: absolute;
    right: 2rem;
    top: 50%;
    font-size: 2rem;
    color: var(--primary-color);
    animation: bounce 1s infinite;
    opacity: 0.7;
}

/* How it works section without arrow */
.how-it-works {
    position: relative;
    padding: 4rem 0;
}

/* Remove the arrow for how-it-works section by deleting the ::after pseudo-element */
.how-it-works::after {
    
    position: absolute;
    right: 2rem;
    top: 50%;
    font-size: 2rem;
    color: var(--primary-color);
    animation: bounce 1s infinite;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

/* Add these styles for centered section titles */
.app-preview h2,
.features h2,
.statistics h2,
.download h2,
.how-it-works h2,
.support h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-color);
}

/* Add underline animation for section titles */
.app-preview h2::after,
.features h2::after,
.statistics h2::after,
.download h2::after,
.how-it-works h2::after,
.support h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.support-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

.support-text {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.support-link {
    display: inline-block;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.support-link:hover {
    color: var(--accent-color);
}

.step {
    min-width: 250px;
    scroll-snap-align: start;
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step h3 {
    margin: 1rem 0;
    color: var(--text-color);
    font-size: 1.3rem;
}

.step p {
    color: var(--text-color);
    opacity: 0.8;
    max-width: 200px;
    margin: 0 auto;
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}
.stat-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0.2rem;
    transition: transform 0.3s ease;
}
.stat-item:hover .stat-icon {
    transform: scale(1.1);
}
.app-name {
    text-align: center;
    margin-top: 15px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.installation-guide {
    margin-top: 40px;
    text-align: center;
}

.installation-guide h3 {
    margin-bottom: 20px;
    color: #333;
}

.guide-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.guide-section {
    text-align: left;
    max-width: 300px;
}

.guide-section h4 {
    color: #444;
    margin-bottom: 15px;
}

.guide-section ol {
    padding-left: 20px;
}

.guide-section li {
    margin-bottom: 10px;
    color: #666;
    line-height: 1.4;
}
.update-date {
    font-size: 0.8rem;
    opacity: 0.7;
    display: block;
    margin-top: 0.1rem;
}

.stat-item img.stat-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0rem;
}
.file-size {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    text-align: center;
}

.download-button {
    margin-bottom: 0.5rem;
}

.cta-button {
    font-size: 0.7rem; 
}
