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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(to bottom right, #f8fafc, #e2e8f0);
    min-height: 100vh;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 4rem;
}

.title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #1e293b, #475569);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.subtitle {
    color: #64748b;
    font-size: 1.25rem;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Cards */
.card {
    position: relative;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: all 0.3s ease;
    display: block;
}

.card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-0.5rem);
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .gradient-overlay {
    opacity: 0.05;
}

/* Icon wrapper */
.icon-wrapper {
    display: inline-flex;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

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

.icon {
    width: 2rem;
    height: 2rem;
    color: white;
    stroke-width: 2;
}

/* Gradient colors */
.gradient-blue {
    background: linear-gradient(to bottom right, #3b82f6, #06b6d4);
}

.gradient-green {
    background: linear-gradient(to bottom right, #22c55e, #10b981);
}

.gradient-purple {
    background: linear-gradient(to bottom right, #a855f7, #ec4899);
}

.gradient-rose {
    background: linear-gradient(to bottom right, #f43f5e, #f97316);
}

.gradient-amber {
    background: linear-gradient(to bottom right, #f59e0b, #eab308);
}

.gradient-indigo {
    background: linear-gradient(to bottom right, #6366f1, #8b5cf6);
}

/* Card content */
.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1e293b;
    transition: color 0.3s ease;
}

.card:hover .card-title {
    color: #0f172a;
}

.card-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Footer of card */
.card-footer {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #64748b;
    transition: color 0.3s ease;
}

.card:hover .card-footer {
    color: #475569;
}

.arrow {
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.card:hover .arrow {
    transform: translateX(0.5rem);
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 4rem;
    color: #64748b;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .container {
        padding: 2rem 1rem;
    }
}