/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 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 */
.hero {
    text-align: center;
    padding: 60px 0;
    color: white;
}

.logo {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* App grid styles */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 40px 0 80px;
    max-width: 800px;
    margin: 0 auto;
    justify-items: center;
}

.app-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.app-card:hover::before {
    transform: scaleX(1);
}

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

.app-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    transition: transform 0.3s ease;
}

.app-card:hover .app-icon {
    transform: scale(1.1);
}

.app-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2d3748;
}

.app-description {
    color: #718096;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.app-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: #f7fafc;
    color: #4a5568;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.tag.status-live {
    background: #c6f6d5;
    color: #22543d;
    border-color: #9ae6b4;
}

.tag.status-construction {
    background: #fed7d7;
    color: #742a2a;
    border-color: #fc8181;
}

/* Under construction app card styles */
.app-card.under-construction {
    opacity: 0.8;
    position: relative;
}

.app-card.under-construction .app-icon {
    background: linear-gradient(135deg, #a0aec0, #718096);
}

.app-card.under-construction:hover {
    transform: translateY(-4px);
    cursor: not-allowed;
}

.app-card.under-construction::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    pointer-events: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .logo {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .app-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 0 60px;
    }
    
    .app-card {
        padding: 24px;
    }
    
    .hero {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .app-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading animation */
.app-card.loading {
    pointer-events: none;
    opacity: 0.7;
}

.app-card.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Construction notification styles */
.construction-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fed7d7;
    color: #742a2a;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid #fc8181;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 400px;
}

.construction-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-content svg {
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .construction-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100%);
    }
    
    .construction-notification.show {
        transform: translateY(0);
    }
}
