@import url('./variables.css');

/* Base styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Landing page specific styles */
.landing-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

.landing-header h1 {
    font-size: 3rem;
    margin: 0 0 1rem 0;
    color: #333;
    font-weight: 300;
}

.landing-header p {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
    max-width: 600px;
}

.demos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    width: 100%;
}

.demo-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.demo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.demo-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.demo-card h2 {
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    color: #333;
}

.demo-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.github-footer {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.github-footer:hover {
    opacity: 1;
}

.github-footer img {
    width: 32px;
    height: 32px;
}

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

    .landing-header p {
        font-size: 1rem;
    }

    .demos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .demo-card {
        padding: 1.5rem;
    }
}