* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #a8d5ba 0%, #b8e6c8 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Shared Header Styles - H2eApps */
.shared-header {
    background: #f5f5f0; /* Light cream/grey */
    color: #2d5a3d;
    padding: 5px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.shared-header .logo-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.shared-header .logo-link {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.shared-header .logo-link:hover {
    opacity: 0.8;
}

.shared-header .logo-image {
    max-width: 350px;
    height: auto;
    display: block;
    background: transparent;
    margin: 0;
}

.shared-header .logo-image.loaded {
    display: block;
}

.shared-header .tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
    color: #2d5a3d;
    margin: 0;
    line-height: 1.2;
    text-align: center;
}

.shared-header .app-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d5a3d;
    margin: 0;
    text-align: center;
}

.shared-header .app-subtitle {
    font-size: 1rem;
    opacity: 0.85;
    font-weight: 400;
    color: #2d5a3d;
    margin: 0;
    text-align: center;
}

/* Legacy support - keep old class names working */
header {
    /* Uses shared-header class */
}

.logo {
    /* Uses logo-container class */
}

.logo-image {
    /* Uses logo-image class from shared styles */
}

.tagline {
    /* Uses tagline class from shared styles */
}

main {
    padding: 60px 40px;
}

.intro {
    text-align: center;
    margin-bottom: 50px;
}

.intro h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
}

.intro p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.app-card {
    background: #f0f5f2;
    border: 2px solid #d4e4d9;
    border-radius: 0;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #a8d5ba;
    background: #e8f0eb;
}

.app-card.coming-soon {
    opacity: 0.7;
    cursor: not-allowed;
}

.app-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.app-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.app-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 0;
    text-align: center;
    flex-grow: 1;
}


.coming-soon-badge {
    display: inline-block;
    background: #ffc107;
    color: #333;
    padding: 6px 12px;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 600;
    position: absolute;
    top: 15px;
    left: 15px;
}

footer {
    background: #f8f9fa;
    padding: 30px;
    text-align: center;
    color: #666;
    border-top: 1px solid #e9ecef;
}

@media (max-width: 768px) {
    .tagline {
        font-size: 1rem;
    }

    main {
        padding: 40px 20px;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .intro h2 {
        font-size: 1.5rem;
    }
}

