/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: white !important;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #f8f9fa !important;
}


.hua-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hua-section h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.hua-section .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hua-btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    border: 2px solid white;
    background: transparent;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hua-btn:hover {
    background: white;
    color: #667eea;
    text-decoration: none;
    transform: translateY(-2px);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #666;
}

/* Apps Section */
.apps-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.app-card {
    background: white;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    overflow: hidden;
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.app-card img {
    height: 250px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.card-body {
    padding: 30px;
}

.card-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.card-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #5a6fd8 0%, #654a91 100%);
}

.download-btn {
    background: #01875f;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.download-btn:hover {
    background: #016548;
    color: white;
    text-decoration: none;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: white;
}

.feature-item {
    text-align: center;
    padding: 30px;
    margin-bottom: 30px;
}

.feature-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

/* Screenshots Gallery */
.screenshots-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.screenshot-item {
    text-align: center;
    margin-bottom: 30px;
}

.screenshot-item img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.screenshot-item img:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: none;
}

/* App Detail Page Styles */
.app-hua {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.app-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.app-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.stars {
    color: #ffc107;
    margin-right: 10px;
}

.rating-text {
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hua-section h1 {
        font-size: 2.5rem;
    }
    
    .hua-section .lead {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .app-title {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* AOS Custom Styles */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Privacy and Terms Pages */
.content-section {
    padding: 80px 0;
    background: white;
}

.content-section h2 {
    color: #333;
    margin-bottom: 30px;
    font-weight: bold;
}

.content-section h3 {
    color: #555;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.content-section p, .content-section li {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-section ul {
    padding-left: 30px;
    margin-bottom: 20px;
}
