/* Global 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: #1d1d1f;
    background-color: #f5f5f7;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0 40px 0;
    text-align: center;
}

header h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.2em;
    opacity: 0.95;
}

/* Navigation */
nav {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
}

nav li {
    margin: 0;
}

nav a {
    display: block;
    padding: 20px 30px;
    color: #1d1d1f;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

nav a:hover,
nav a.active {
    background-color: #667eea;
    color: white;
}

/* Main Content */
main {
    padding: 40px 0;
    min-height: 60vh;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
}

.hero h2 {
    font-size: 2.5em;
    color: #1d1d1f;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero p {
    font-size: 1.2em;
    color: #6e6e73;
    max-width: 800px;
    margin: 0 auto;
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.app-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

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

/* App Icons */
.app-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 22px;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.app-icon-placeholder {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    color: white;
    font-weight: 700;
}

.app-card h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #1d1d1f;
    font-weight: 600;
}

.app-card p {
    color: #6e6e73;
    margin-bottom: 25px;
    line-height: 1.6;
}

.app-links {
    margin-bottom: 20px;
}

.app-store-button {
    display: inline-block;
    background-color: #000000;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 15px;
    transition: background-color 0.3s;
}

.app-store-button:hover {
    background-color: #333333;
}

.learn-more {
    display: block;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.learn-more:hover {
    color: #764ba2;
}

.privacy-link {
    display: block;
    margin-top: 15px;
    color: #6e6e73;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s;
}

.privacy-link:hover {
    color: #667eea;
}

/* About Section */
.about {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.about h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #1d1d1f;
    font-weight: 600;
}

.about p {
    color: #6e6e73;
    margin-bottom: 15px;
    line-height: 1.8;
}

/* App Detail Pages */
.app-detail {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.app-detail-header {
    text-align: center;
    margin-bottom: 40px;
}

.app-detail h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #1d1d1f;
    font-weight: 600;
}

.app-detail h3 {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #1d1d1f;
    font-weight: 600;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.app-detail ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.app-detail li {
    margin-bottom: 10px;
    color: #6e6e73;
}

.app-detail p {
    color: #6e6e73;
    margin-bottom: 15px;
    line-height: 1.8;
}

.feature-highlight {
    background-color: #e7f3ff;
    border-left: 4px solid #667eea;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.feature-highlight strong {
    color: #1d1d1f;
}

.download-section {
    text-align: center;
    padding: 40px;
    background-color: #f5f5f7;
    border-radius: 12px;
    margin: 40px 0;
}

.download-section h3 {
    border: none;
    margin-top: 0;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: #1d1d1f;
    color: #f5f5f7;
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
}

footer p {
    margin-bottom: 10px;
}

footer a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #764ba2;
}

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

    .tagline {
        font-size: 1em;
    }

    .hero h2 {
        font-size: 1.8em;
    }

    .hero p {
        font-size: 1em;
    }

    nav ul {
        flex-direction: column;
    }

    nav a {
        padding: 15px;
        border-bottom: 1px solid #e5e5e5;
    }

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

    .app-card {
        padding: 30px;
    }

    .about {
        padding: 30px;
    }

    .app-detail {
        padding: 30px;
    }

    .app-detail h2 {
        font-size: 2em;
    }

    .app-detail h3 {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5em;
    }

    .app-icon {
        width: 100px;
        height: 100px;
    }

    .app-icon-placeholder {
        width: 80px;
        height: 80px;
        font-size: 2em;
    }

    .app-card h3 {
        font-size: 1.5em;
    }
}
