:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --text-color: #333;
    --light-bg: #ffffff;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    padding-top: 70px;
    animation: loadIn 0.6s ease-out;
}

/* Header Styles */
header {
    background: rgba(7, 7, 7, 0.815);
    padding: 0.4rem 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

@keyframes headerSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.25rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: logoSpin 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

@keyframes logoSpin {
    from {
        transform: rotate(-360deg) scale(0.5);
        opacity: 0;
    }
    to {
        transform: rotate(0) scale(1);
        opacity: 1;
    }
}

.logo:hover {
    transform: translateY(-2px) scale(1.02);
}

.logo img {
    height: 35px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(32, 182, 90, 0.3));
    animation: floatAndGlow 4s ease-in-out infinite;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #20b65a, #00b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(32, 182, 90, 0.2);
    letter-spacing: -0.5px;
}

.logo::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, #20b65a, #00b4fc);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.logo:hover::after {
    opacity: 0.1;
    animation: pulse 2s infinite;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links li {
    opacity: 0;
    animation: navItemSlide 0.5s ease forwards;
}

.nav-links li:nth-child(1) { animation-delay: 0.1s; }
.nav-links li:nth-child(2) { animation-delay: 0.2s; }
.nav-links li:nth-child(3) { animation-delay: 0.3s; }
.nav-links li:nth-child(4) { animation-delay: 0.4s; }
.nav-links li:nth-child(5) { animation-delay: 0.5s; }

@keyframes navItemSlide {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: transparent;
    overflow: hidden;
}

.nav-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.nav-links a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.nav-links .download-link {
    background: linear-gradient(45deg, #20b65a, #00b4fc);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 
        0 4px 15px rgba(32, 182, 90, 0.25),
        0 2px 8px rgba(0, 180, 252, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links .download-link:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(32, 182, 90, 0.3),
        0 4px 12px rgba(0, 180, 252, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    background: linear-gradient(45deg, #00b4fc, #20b65a);
}

/* Mobile Menu Styles */
.mobile-menu {
    display: none;  /* Hidden by default */
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 12px;
    z-index: 1000;
}

@media (max-width: 768px) {
    .mobile-menu {
        display: flex;  /* Show on mobile */
}

.mobile-menu span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #20b65a;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    /* Active state for mobile menu */
.mobile-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px; /* Height of header */
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        padding: 20px;
        flex-direction: column;
        gap: 15px;
    }

    .nav-links.active {
        display: flex;
    }
}

/* Enhanced Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 8rem 2rem 6rem;
    background: linear-gradient(135deg, 
        rgba(32, 182, 90, 0.05),
        rgba(0, 180, 252, 0.05)
    );
    min-height: calc(100vh - 70px);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('pattern.png') repeat;
    opacity: 0.05;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    from { transform: translateX(0) translateY(0); }
    to { transform: translateX(-100px) translateY(-100px); }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #63ce8c, #00b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    line-height: 1.5;
    text-shadow: 0 25px 10px rgba(32, 182, 90, 0.2);
    animation: float 3s ease-in-out infinite;
    background: linear-gradient(100deg, #ff0a7c, #04c9fa,#03aaf8);
    background-size: 150% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 5s linear infinite;
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(3); }
    100% { transform: scale(1); }
}

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

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #444;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.3s backwards;
}

.hero .download-btn {
    background: linear-gradient(45deg, #0ac9c9, #f8030f);
    color: rgb(250, 248, 248);
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 15px rgba(10, 201, 201, 0.5),
        0 0 30px rgba(248, 3, 15, 0.3),
        0 0 45px rgba(245, 221, 6, 0.2);
    animation: glowPulse 2s infinite;
}

/* Glow Animation */
@keyframes glowPulse {
    0% {
        box-shadow: 
            0 0 15px rgba(10, 201, 201, 0.5),
            0 0 30px rgba(248, 3, 15, 0.3),
            0 0 45px rgba(2, 245, 245, 0.2);
    }
    50% {
        box-shadow: 
            0 0 20px rgba(10, 201, 201, 0.7),
            0 0 40px rgba(248, 3, 15, 0.5),
            0 0 60px rgba(10, 201, 201, 0.3);
    }
    100% {
        box-shadow: 
            0 0 15px rgba(10, 201, 201, 0.5),
            0 0 30px rgba(248, 3, 15, 0.3),
            0 0 45px rgba(10, 201, 201, 0.2);
    }
}

/* Shine Effect */
.hero .download-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.8),
        transparent 50%
    );
    transform: rotate(45deg);
    animation: shineEffect 3s infinite;
}

@keyframes shineEffect {
    0% {
        transform: rotate(45deg) translateX(-100%) translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: rotate(45deg) translateX(100%) translateY(100%);
        opacity: 0;
    }
}

/* Hover Effect */
.hero .download-btn:hover {
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(45deg, #f8030f, #0ac9c9);
    box-shadow: 
        0 0 25px rgba(10, 201, 201, 0.7),
        0 0 50px rgba(248, 3, 15, 0.5),
        0 0 75px rgba(10, 201, 201, 0.3);
}

/* Active State */
.hero .download-btn:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 
        0 0 15px rgba(10, 201, 201, 0.6),
        0 0 30px rgba(248, 3, 15, 0.4),
        0 0 45px rgba(10, 201, 201, 0.2);
}

.hero-image {
    margin-top: 4rem;
    position: relative;
    animation: imageFloat 1s ease-in-out infinite;
}

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

.hero-image img {
    max-width: 70%;
    height: auto;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 10px 20px rgba(32, 182, 90, 0.1);
    animation: imageIn 1s cubic-bezier(0.4, 0, 0.2, 1) 0.9s backwards;
}

@keyframes imageIn {
    from {
        transform: translateY(50px) scale(0.95);
        opacity: 0;
        filter: blur(10px);
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
        filter: blur(0);
    }
}

/* Responsive Hero */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 1.5rem 4rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero .download-btn {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
        animation: glowPulse 3s infinite;
    }

    @keyframes glowPulse {
        0%, 100% {
            box-shadow: 
                0 0 10px rgba(10, 201, 201, 0.4),
                0 0 20px rgba(248, 3, 15, 0.2);
        }
        50% {
            box-shadow: 
                0 0 15px rgba(10, 201, 201, 0.6),
                0 0 30px rgba(248, 3, 15, 0.3);
        }
    }

    .hero-image {
        margin-top: 3rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero .download-btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Stats Section Redesign */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(32, 182, 90, 0.05), rgba(0, 180, 252, 0.05));
    border-radius: 30px;
    margin: 2rem auto;
    max-width: 1200px;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #20b65a20, #00b4fc20);
    clip-path: circle(0% at 50% 50%);
    transition: all 0.3s ease-out;
}

.stat-box:hover::before {
    clip-path: circle(100% at 50% 50%);
}

.stat-box:hover {
    transform: translateY(-10px) rotateX(10deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stat-box h2 {
    font-size: 3.5rem;
    background: linear-gradient(45deg, #20b65a, #00b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    animation: countUp 2s ease-out forwards;
}

.stat-box h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #20b65a, #00b4fc);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.stat-box:hover h2::after {
    width: 50%;
}

.stat-box p {
    color: #666;
    font-size: 1.2rem;
    font-weight: 500;
    position: relative;
    padding-top: 0.5rem;
}

/* Stats Counter Animation */
.stat-box.animate h2 {
    animation: countUp 9s ease-out forwards, glowText 6s infinite alternate;
}

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

@keyframes glowText {
    from {
        text-shadow: 0 0 10px rgba(32, 182, 90, 0);
    }
    to {
        text-shadow: 0 0 20px rgba(32, 182, 90, 0.3);
    }
}

/* Circular Progress Animation */
.stat-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border: 2px solid #f0f0f0;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.5s ease;
}

.stat-box:hover::after {
    opacity: 1;
    animation: circleExpand 0.5s ease-out infinite;
}

@keyframes circleExpand {
    0% {
        width: 150px;
        height: 150px;
        opacity: 0.5;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(32, 182, 90, 0.1),
        rgba(0, 180, 252, 0.1)
    );
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.feature:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #20b65a;
}

/* Enhanced Footer Styles */
footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(26, 26, 26, 0.95));
    color: #ffffff;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

/* Footer Logo Section */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(32, 182, 90, 0.4));
    animation: floatAndGlow 4s ease-in-out infinite;
}

.footer-logo span {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(45deg, #20b65a, #00b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(32, 182, 90, 0.2);
}

/* Footer Sections */
.footer-section {
    animation: fadeIn 0.5s ease forwards;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

.footer-section h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 3px;
    background: linear-gradient(45deg, #20b65a, #00b4fc);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-section:hover h3::after {
    width: 60px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    transform: translateX(-10px);
    opacity: 0;
    animation: slideIn 0.5s ease forwards;
}

.footer-section ul li:nth-child(1) { animation-delay: 0.2s; }
.footer-section ul li:nth-child(2) { animation-delay: 0.3s; }
.footer-section ul li:nth-child(3) { animation-delay: 0.4s; }
.footer-section ul li:nth-child(4) { animation-delay: 0.5s; }
.footer-section ul li:nth-child(5) { animation-delay: 0.6s; }

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffffff;
}

/* Contact Info */
.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.contact-info li i {
    color: #20b65a;
    font-size: 1.2rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #20b65a, #00b4fc);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.2);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
    animation: fadeIn 1s ease-out;
}

/* Responsive Footer */
@media (max-width: 768px) {
    footer {
        padding: 4rem 1.5rem 2rem;
    }

    .footer-content {
        gap: 3rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-info li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        justify-content: center;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }

    .social-link {
        width: 35px;
        height: 35px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 2rem;
        gap: 1.5rem;
    }

    .stat-box h2 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        padding: 1.2rem;
        flex-direction: column;
        gap: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    .nav-links .download-link {
        width: 90%;
        margin: 0.3rem auto;
    }

    .mobile-menu {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        padding: 12px;
        border-radius: 8px;
        z-index: 101;
        position: relative;
    }

    .mobile-menu span {
        width: 24px;
        height: 2px;
        background: #20b65a;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .nav-links {
        padding: 1rem 0;
    }

    .nav-links a {
        display: block;
        padding: 15px 20px;
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }

    .nav-links .download-link {
        padding: 15px 20px;
        margin: 10px auto;
        width: 90%;
    }

    .download-btn {
        padding: 15px 30px;
        min-height: 44px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }

    .download-btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        display: block;
    }
}

@media (max-width: 480px) {
    .download-btn {
        max-width: 250px;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }

    .download-btn:hover {
        transform: scale(1.02);
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .stat-box {
        padding: 1.5rem;
    }

    .stat-box h2 {
        font-size: 2.8rem;
    }
}

/* For devices with hover capability */
@media (hover: hover) {
    .download-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 180, 252, 0.4);
        background: linear-gradient(45deg, #20b65a, #00b4fc);
    }
}

/* For touch devices */
@media (hover: none) {
    .nav-links a:hover,
    .download-btn:hover,
    .mobile-menu:hover {
        transform: none;
        box-shadow: none;
    }

    .nav-links a:active,
    .download-btn:active,
    .mobile-menu:active {
        background: rgba(32, 182, 90, 0.1);
        transform: scale(0.98);
    }

    .nav-links {
        -webkit-overflow-scrolling: touch;
        overflow-y: auto;
        max-height: 80vh;
    }
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
    .nav-links,
    .download-btn,
    .mobile-menu {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    body {
        -webkit-text-size-adjust: 100%;
    }
}

/* Add these to prevent unwanted touch behaviors */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Allow text selection in specific elements */
p, h1, h2, h3, h4, h5, h6 {
    -webkit-user-select: text;
    user-select: text;
}

/* Login Modal Styles */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.login-modal.active {
    display: flex;
}

.login-container {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top;
}

@keyframes slideIn {
    from {
        transform: translateY(-100px) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
    color: #20b65a;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-logo {
    width: 60px;
    height: auto;
    margin-bottom: 1rem;
    animation: spinIn 1s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes spinIn {
    from {
        transform: rotate(-180deg) scale(0);
        opacity: 0;
    }
    to {
        transform: rotate(0) scale(1);
        opacity: 1;
    }
}

.login-header h2 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.login-header p {
    color: #666;
    font-size: 0.9rem;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.input-group:nth-child(1) {
    animation-delay: 0.2s;
}

.input-group:nth-child(2) {
    animation-delay: 0.3s;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #20b65a;
}

.input-group input {
    width: 100%;
    padding: 12px 40px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #20b65a;
    box-shadow: 0 0 0 3px rgba(32, 182, 90, 0.1);
}

.input-group input:focus + i {
    transform: translateY(-50%) scale(1.2);
    color: #00b4fc;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.remember-me input[type="checkbox"] {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remember-me input[type="checkbox"]:checked {
    background: linear-gradient(45deg, #20b65a, #00b4fc);
    border-color: transparent;
}

.remember-me input[type="checkbox"]:checked::before {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.forgot-password {
    color: #20b65a;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, #20b65a, #00b4fc);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulseGlow 2s infinite;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(32, 182, 90, 0.3);
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
    font-size: 0.9rem;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.signup-link {
    color: #20b65a;
    text-decoration: none;
    font-weight: 600;
}

.signup-link:hover {
    text-decoration: underline;
}

/* Login Modal Animation Styles */
@keyframes fadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(8px);
    }
}

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

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(32, 182, 90, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(32, 182, 90, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(32, 182, 90, 0);
    }
}

/* Modal exit animation */
.login-modal.closing {
    animation: fadeOut 0.3s ease forwards;
}

.login-modal.closing .login-container {
    animation: slideOut 0.3s ease forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        backdrop-filter: blur(0);
    }
}

@keyframes slideOut {
    to {
        transform: translateY(100px) scale(0.8);
        opacity: 0;
    }
}

/* Add these animation classes to your existing CSS */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.active,
.slide-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.active {
    opacity: 1;
    transform: scale(1);
}

/* Add animation delays for staggered effects */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Add these classes to your existing elements */
.hero h1 { animation: fadeInUp 1s ease; }
.hero p { animation: fadeInUp 1s ease 0.2s backwards; }
.hero .download-btn { animation: fadeInUp 1s ease 0.4s backwards; }
.hero-image { animation: fadeIn 1.5s ease 0.6s backwards; }

/* Enhanced hover effects for nav links */
.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #20b65a, #00b4fc);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    opacity: 0;
}

.nav-links a:hover::before {
    width: 70%;
    opacity: 1;
}

/* Scroll-triggered header animation */
header.scroll-up {
    transform: translateY(0);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.2),
        0 2px 8px rgba(32, 182, 90, 0.1);
    animation: headerSlideDown 0.3s ease-out;
}

header.scroll-down {
    transform: translateY(-100%);
    animation: headerSlideUp 0.3s ease-out;
}

@keyframes headerSlideUp {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100%);
    }
}

/* Mobile nav animation */
.nav-links.active {
    animation: mobileNavSlide 0.3s ease forwards;
}

@keyframes mobileNavSlide {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Add Hardware Acceleration Fix */
header,
.nav-links,
.login-modal {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Optional: Improve Performance for Animations */
.fade-in,
.slide-in-left,
.slide-in-right,
.scale-in {
    will-change: transform, opacity;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Add smooth scrolling to the whole page */
html {
    scroll-behavior: smooth;
}

/* Add loading animation */
@keyframes loadIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add these media queries for mobile optimization */
@media (max-width: 768px) {
    .feature:hover {
        transform: none;
    }
    
    .stat-box:hover {
        transform: none;
    }
    
    /* Optimize animations for mobile */
    .fade-in {
        transition: all 0.4s ease-out;
    }
    
    .hero-content h1 {
        animation: shimmer 8s linear infinite;
    }
}

/* Image Animation Styles */
.hero-image img,
.logo img,
.footer-logo img {
    animation: floatAndGlow 4s ease-in-out infinite;
}

/* Different timing for different images */
.logo img {
    animation-duration: 3s;
    animation-delay: 0.2s;
}

.footer-logo img {
    animation-duration: 3.5s;
    animation-delay: 0.4s;
}

/* Main Float and Glow Animation */
@keyframes floatAndGlow {
    0% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 5px 15px rgba(32, 182, 90, 0.2));
    }
    50% {
        transform: translateY(-10px) scale(1.02);
        filter: drop-shadow(0 15px 25px rgba(32, 182, 90, 0.4));
    }
    100% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 5px 15px rgba(32, 182, 90, 0.2));
    }
}

/* Mobile Optimization */
@media (max-width: 768px) {
    @keyframes floatAndGlow {
        0% {
            transform: translateY(0) scale(1);
            filter: drop-shadow(0 3px 10px rgba(32, 182, 90, 0.2));
        }
        50% {
            transform: translateY(-5px) scale(1.01);
            filter: drop-shadow(0 8px 15px rgba(32, 182, 90, 0.3));
        }
        100% {
            transform: translateY(0) scale(1);
            filter: drop-shadow(0 3px 10px rgba(32, 182, 90, 0.2));
        }
    }
}

/* Reduce motion if user prefers */
@media (prefers-reduced-motion: reduce) {
    .hero-image img,
    .logo img,
    .footer-logo img {
        animation: none;
        transform: none;
    }
}

/* Auto-typing Animation Styles */
.auto-type-container {
    min-height: 100px;
    margin: 2rem auto 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.15),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    max-width: 850px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.auto-type {
    font-size: 1.7rem;
    text-align: center;
    white-space: pre-wrap;
    color: #000;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cursor {
    display: inline-block;
    width: 4px;
    height: 1.7em;
    background: linear-gradient(to bottom, #000, #333);
    margin-left: 8px;
    animation: blink 0.7s infinite, float 3s ease-in-out infinite;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

/* Animated background effect */
.auto-type-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 10, 124, 0.1),
        rgba(4, 201, 250, 0.1),
        transparent 70%
    );
    animation: rotate 15s linear infinite;
}

/* Hover effects */
.auto-type-container:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.2),
        inset 0 0 40px rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.98);
}

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

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

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

/* Mobile Optimization */
@media (max-width: 768px) {
    .auto-type-container {
        min-height: 130px;
        margin: 1.5rem 15px 2.5rem;
        padding: 1.8rem;
        border-radius: 25px;
    }

    .auto-type {
        font-size: 1.3rem;
        line-height: 1.6;
    }

    .cursor {
        height: 1.4em;
        width: 3px;
    }
} 


.footer-bottom {
    text-align: center; /* Centers the text */
    background-color: #222; /* Dark background */
    color: #fff; /* White text */
    padding: 10px 10px;
    font-size: 14px;
}

.footer-bottom a {
    color: #4db8ff; /* Light blue link color */
    text-decoration: none; /* Removes underline */
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
}

.footer-bottom a::after {
    content: ""; /* Empty content */
    position: absolute;
    left: 0;
    bottom: -2px; /* Adjusts line position */
    width: 100%;
    height: 2px;
    background-color: transparent; /* Initially no underline */
    transition: background-color 0.3s ease;
}

.footer-bottom a:hover::after {
    background-color: #ffcc00; /* Underline appears on hover */
}
