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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Main Content */
main {
    flex: 1;
}

/* Banner */
.banner {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.banner-overlay {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 4rem 0;
    animation: fadeInUp 1s ease-out;
}

.banner-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.banner-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease-out 0.4s both;
}

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

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.4s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.feature-card h3 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Content Section */
.content {
    padding: 3rem 0;
}

.content h1 {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    font-weight: bold;
}

.content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: #555;
}

/* App List */
.app-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.app-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.app-item {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.app-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    border-color: #667eea;
}

.app-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.app-item p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.learn-more {
    color: #667eea;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.app-item:hover .learn-more {
    transform: translateX(5px);
}

.store-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.store-links .app-link {
    flex: 0 1 auto;
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
}

.app-link {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.9rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.app-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.app-link.primary {
    margin: 0.5rem;
}

/* App Detail Pages */
.app-detail {
    max-width: 900px;
    margin: 0 auto;
}

.app-header {
    text-align: center;
    margin-bottom: 3rem;
}

.app-header .feature-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out;
}

.app-header h1 {
    font-size: 3rem;
    animation: fadeInUp 0.8s ease-out;
}

.app-description,
.app-features {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

.app-description h2,
.app-features h2 {
    color: #667eea;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.app-description p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.app-features ul {
    list-style: none;
    padding: 0;
}

.app-features li {
    color: #555;
    font-size: 1.1rem;
    line-height: 2;
    padding-left: 1.5rem;
    position: relative;
}

.app-features li::before {
    content: "✓";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.back-link {
    text-align: center;
    margin-top: 3rem;
}

.back-link a {
    color: #667eea;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    display: inline-block;
}

.back-link a:hover {
    background-color: rgba(102, 126, 234, 0.1);
    transform: translateX(-5px);
}

/* Contact Block */
.contact-block {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2.5rem;
    border-radius: 15px;
    margin-top: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-block a {
    color: white;
    font-size: 1.3rem;
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 2rem;
    background-color: rgba(255,255,255,0.2);
    border-radius: 25px;
    display: inline-block;
    transition: all 0.3s ease;
}

.contact-block a:hover {
    background-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 2.5rem 0;
    text-align: center;
    margin-top: auto;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}

footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

footer a:hover {
    background-color: rgba(102, 126, 234, 0.1);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .banner {
        min-height: 400px;
    }

    .banner-title {
        font-size: 2rem;
    }

    .banner-subtitle {
        font-size: 1.1rem;
    }

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

    .app-list,
    .features {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .app-item {
        padding: 2rem;
    }

    .app-header .feature-icon {
        font-size: 3.5rem;
    }

    .app-header h1 {
        font-size: 2rem;
    }

    .app-description,
    .app-features {
        padding: 1.5rem;
    }

    .app-description h2,
    .app-features h2 {
        font-size: 1.5rem;
    }

    .store-links {
        flex-direction: column;
    }

    .store-links .app-link {
        width: 100%;
    }
}
