:root {
    /* Color Palette - Slate & Blue Theme */
    --color-bg: #F8FAFC;
    --color-text-primary: #1E293B;
    /* Slate 800 */
    --color-text-secondary: #475569;
    /* Slate 600 */
    --color-accent: #3B82F6;
    /* Blue 500 */
    --color-accent-hover: #2563EB;
    /* Blue 600 */
    --color-card-bg: #FFFFFF;
    --color-border: #E2E8F0;
    /* Slate 200 */

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Spacing & Layout */
    --container-max-width: 1200px;
    --header-height: 80px;
    --card-min-width: 300px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Subtle Background Mesh/Gradient */
.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(96, 165, 250, 0.08), transparent 25%);
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeDown 0.8s ease-out;
}

.logo {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.logo .dot {
    color: var(--color-accent);
}

.tagline {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    font-weight: 400;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(var(--card-min-width), 1fr));
    gap: 2rem;
    padding: 0 1rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Card Component */
.card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(59, 130, 246, 0.3);
}

.card-image-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
    letter-spacing: -0.025em;
}

.card-desc {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.card-action {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-accent);
}

.arrow-icon {
    width: 16px;
    height: 16px;
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.card:hover .arrow-icon {
    transform: translateX(4px);
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem 0;
    color: #94A3B8;
    /* Slate 400 */
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .logo {
        font-size: 2.5rem;
    }

    .container {
        padding: 1rem;
    }

    .card-grid {
        gap: 1.5rem;
    }
}