:root {
    --primary-color: #4285f4;
    --secondary-color: #34a853;
    --accent-color: #ea4335;
    --text-color: #333;
    --background-color: #f8f9fa;
    --card-background: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Main Content */
main {
    flex: 1;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* App Cards */
.app {
    flex: 1;
    min-width: 320px;
    max-width: 480px;
    background: var(--card-background);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.6s ease;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.app:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.app.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
}

.title {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    min-height: 80px;
}

.title h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-color);
    flex: 1;
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #f8f9fa;
}

.app-badge {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.app-badge.new {
    background-color: var(--accent-color);
}

.app-badge.featured {
    background-color: var(--secondary-color);
}

.app-details {
    text-align: left;
    margin-bottom: 1.5rem;
}

.app-description {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.app-features {
    list-style: none;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.app-features li {
    margin-bottom: 0.5rem;
    color: #666;
}

/* CTA Section */
.cta-section {
    background: var(--card-background);
    padding: 4rem 2rem;
    text-align: center;
    margin: 3rem auto;
    max-width: 1200px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    padding: 1.5rem;
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: #2d2d2d;
    color: white;
    padding: 3rem 2rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Play Store Badge */
.app a img {
    max-width: 200px;
    height: auto;
    transition: transform 0.5s ease;
    margin: 1rem 0;
}

.app a img:hover {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .app {
        padding: 2rem;
        min-width: 280px;
    }
    
    .app-icon {
        width: 64px;
        height: 64px;
    }
    
    .title {
        gap: 1rem;
        min-height: 64px;
    }
    
    .title h2 {
        font-size: 1.3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    main {
        padding: 0 1rem;
        gap: 1rem;
    }
}