/* Home Page Styles */
:root {
    --primary-color: #4f46e5;
    --primary-light: #818cf8;
    --primary-dark: #3730a3;
    --secondary-color: #10b981;
    --secondary-light: #34d399;
    --secondary-dark: #059669;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
    --info: #3b82f6;
    --border-radius: 0.375rem;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Global styles */
body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    background-color: var(--gray-50);
    color: var(--gray-800);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6, strong, b {
    font-weight: 300 !important;
    color: var(--gray-800);
}

.home-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
}

.welcome-section {
    text-align: center;
    margin-bottom: 3rem;
}

.welcome-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.welcome-section p {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 800px;
    margin: 0 auto;
}

/* Applications Section */
.applications-section {
    margin-bottom: 3rem;
}

.applications-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--gray-800);
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 0.5rem;
}

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

.application-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.application-card.coming-soon {
    opacity: 0.7;
    background-color: var(--gray-100);
}

.app-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.application-card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.application-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.application-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

.coming-soon-badge {
    background-color: var(--gray-300);
    color: var(--gray-700);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    display: inline-block;
    margin-top: auto;
}

/* Updates Container */
.updates-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.market-updates-section,
.company-updates-section {
    margin-bottom: 2rem;
}

.market-updates-section h2,
.company-updates-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--gray-800);
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 0.5rem;
}

.updates-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.update-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.update-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.update-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.update-header h3 {
    margin: 0;
    font-size: 1.125rem;
    color: var(--gray-800);
}

.update-date {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.update-card p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.update-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.875rem;
}

.update-source {
    color: var(--gray-500);
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

.update-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

.update-badge.product {
    background-color: var(--primary-light);
    color: white;
}

.update-badge.event {
    background-color: var(--warning);
    color: white;
}

.update-badge.case_study {
    background-color: var(--info);
    color: white;
}

/* Footer */
.footer {
    background-color: var(--gray-800);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.logo-image-small {
    height: 30px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    color: var(--gray-400);
    font-size: 0.875rem;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

/* Responsive styles */
@media (max-width: 992px) {
    .home-container {
        padding: 1.5rem;
    }
    
    .welcome-section h1 {
        font-size: 2rem;
    }
    
    .welcome-section p {
        font-size: 1.125rem;
    }
}

@media (max-width: 768px) {
    .home-container {
        padding: 1rem;
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .updates-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}
