/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

header h1 {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.1rem;
    color: #666;
}

nav {
    padding: 1rem 0;
}

.back-link {
    color: #667eea;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #764ba2;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
    padding-bottom: 3rem;
}

/* Company Info Section */
.company-info {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.company-info h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.company-info p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
}

.contact {
    margin-top: 1.5rem;
}

.contact a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact a:hover {
    color: #764ba2;
}

/* Apps Section */
.apps {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.apps h2 {
    color: #333;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.app-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.app-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.app-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.app-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.app-link {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.app-link:hover {
    background: #764ba2;
}

/* App Detail Page Styles */
.app-detail {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.app-icon-large {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.app-header h1 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.app-subtitle {
    color: #666;
    font-size: 1.2rem;
}

.app-description,
.app-features,
.app-download,
.app-contact {
    margin-bottom: 3rem;
}

.app-description h2,
.app-features h2,
.app-download h2,
.app-contact h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

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

.app-features li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    color: #555;
    border-bottom: 1px solid #eee;
}

.app-features li:last-child {
    border-bottom: none;
}

/* Download Buttons */
.download-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.download-btn.android {
    background: #3DDC84;
    color: white;
}

.download-btn.android:hover {
    background: #2db96d;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(61, 220, 132, 0.4);
}

.download-btn.ios {
    background: #000;
    color: white;
}

.download-btn.ios:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Policy Links */
.app-policies {
    margin-bottom: 3rem;
}

.app-policies h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.policy-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.policy-link {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 2px solid #667eea;
    color: #667eea;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.policy-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

/* Support Links */
.app-support {
    margin-bottom: 3rem;
}

.app-support h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.support-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.support-link {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.support-link:hover {
    background: linear-gradient(135deg, #FF8500 0%, #FFC700 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 165, 0, 0.3);
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

footer p {
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

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

    .company-info,
    .apps,
    .app-detail {
        padding: 1.5rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-btn {
        width: 200px;
        text-align: center;
    }
}