/* 
   Easy App Landing Page
   Colors:
   - Primary (Yellow): #FFDD00
   - Secondary (Blue): #0056B3
   - Dark: #212529
   - Light: #F8F9FA
*/

/* General Styles */
:root {
    --primary-color: #FFDD00;
    --secondary-color: #0056B3;
    --dark-color: #212529;
    --light-color: #F8F9FA;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #444;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--dark-color);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.btn-outline-light {
    color: white;
    border-color: white;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--secondary-color);
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    margin-top: 20px;
    color: #666;
}

.line {
    width: 70px;
    height: 4px;
    background-color: var(--primary-color);
    margin-bottom: 20px;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 40px;
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 600;
    padding: 15px 12px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link:focus, 
.navbar-nav .nav-link.active {
    color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to right, var(--secondary-color), #003366);
    color: white;
    position: relative;
    padding-top: 120px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-buttons {
    margin-top: 40px;
}

.hero-image {
    position: relative;
    z-index: 3;
}

.hero-image img {
    max-width: 100%;
    filter: drop-shadow(0px 10px 30px rgba(0, 0, 0, 0.3));
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    line-height: 0;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    position: relative;
    z-index: 10;
}

.stats-item {
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stats-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stats-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
}

/* About Section */
.about-text {
    font-size: 16px;
    margin-bottom: 20px;
}

.about-features {
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.about-feature i {
    color: var(--primary-color);
    font-size: 18px;
    margin-right: 15px;
}

/* Features Section */
.feature-box {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-description {
    font-size: 15px;
    color: #666;
    margin-bottom: 0;
}

/* How It Works */
.how-item {
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
}

.how-icon {
    position: relative;
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: white;
    font-size: 40px;
    text-align: center;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.how-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.how-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.how-description {
    font-size: 16px;
    color: #666;
}

/* Testimonials Section */
.testimonial-item {
    padding: 30px;
}

.testimonial-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.testimonial-rating {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.testimonial-message {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-user {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-position {
    font-size: 14px;
    color: #666;
}

/* Download Section */
.download-text {
    font-size: 18px;
    margin-bottom: 30px;
}

.download-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.download-btn {
    display: flex;
    align-items: center;
    background-color: var(--dark-color);
    color: white;
    border-radius: 8px;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

.download-btn i {
    font-size: 36px;
    margin-right: 15px;
}

.download-btn-text span {
    display: block;
    font-size: 12px;
    opacity: 0.8;
}

.download-btn-text strong {
    font-size: 18px;
    font-weight: 600;
}

.download-qr-text {
    font-weight: 600;
    color: var(--dark-color);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-desc {
    margin-bottom: 25px;
    font-size: 15px;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--dark-color);
    background-color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary-color);
}

.footer-widget-title {
    font-size: 20px;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    margin-bottom: 0;
    font-size: 14px;
}

.footer-legal {
    display: flex;
    justify-content: flex-end;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-legal li {
    margin-left: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    line-height: 40px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Responsive */
@media (max-width: 991px) {
    .section-padding {
        padding: 70px 0;
    }
    
    .hero-section {
        padding-top: 100px;
        padding-bottom: 80px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .hero-section {
        padding-top: 90px;
        padding-bottom: 60px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .section-title h2 {
        font-size: 26px;
    }
    
    .stats-number {
        font-size: 32px;
    }
    
    .stats-title {
        font-size: 14px;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .footer-copyright {
        text-align: center;
    }
}
