/* ============ GLOBAL SETTINGS ============ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

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

html, body {
    height: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif; /* Premium Tech Font */
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    
    /* Sophisticated Mesh Gradient Background from Reference */
    background: 
        radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(225,39%,30%,1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(339,49%,30%,1) 0, transparent 50%);
    background-color: #0f172a; /* Deep Navy Fallback */
}

/* ============ MAIN WRAPPER ============ */
.wrap {
    width: min(1100px, 96%);
    padding: 50px 40px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px; /* Smooth large corners */
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
}

/* Top Accent Line (Gradient) */
.wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
}

/* ============ HEADER / HERO ============ */
.hero {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 15px;
    letter-spacing: -1px;
    line-height: 1.1;
    
    /* Premium Gradient Text Effect */
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lead {
    font-size: 16px;
    font-weight: 600;
    color: #64748b; /* Muted Slate */
    margin: 0;
}

/* ============ GRID & CARDS ============ */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 22px;
}

.card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 30px 25px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Card Hover Effects */
.card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #8b5cf6;
    background: #fbfbfe;
}

/* Left Accent Line appearing on Hover */
.card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #8b5cf6;
    opacity: 0;
    transition: 0.2s ease;
}

.card:hover::after {
    opacity: 1;
}

/* ============ CARD INTERNALS ============ */
.card-icon {
    font-size: 26px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #2563eb;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.card h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}

.card p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.card-cta {
    margin-top: auto;
    padding-top: 15px;
    color: #3b82f6;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.card:hover .card-cta {
    color: #8b5cf6;
}

/* ============ FOOTER ============ */
.foot {
    margin-top: 40px;
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
}

.foot a {
    color: #0f172a;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.foot a:hover {
    color: #3b82f6;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 520px) {
    .wrap {
        padding: 30px 20px;
    }
    .hero h1 {
        font-size: 32px;
    }
    .card {
        padding: 25px 20px;
    }
}