:root {
    --primary: #022D50;
    --primary-dark: #011d34;
    --secondary: #3498DB;
    --accent: #FFD006;
    --accent-dark: #e0b600;
    --text-dark: #1e293b;
    --bg-light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.6);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(2, 45, 80, 0.06), 0 4px 6px -2px rgba(2, 45, 80, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(2, 45, 80, 0.1), 0 10px 10px -5px rgba(2, 45, 80, 0.04);
}

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

body {
    font-family: 'Outfit', 'Roboto', sans-serif;
    background-color: #f1f5f9;
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

header {
    width: 100%;
    background-color: var(--primary);
    padding: 18px 20px;
    box-shadow: 0 4px 20px rgba(2, 45, 80, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

.header-logo {
    height: 70px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.03);
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.title-section {
    text-align: center;
    margin-bottom: 60px;
}

.badge-top {
    background-color: rgba(2, 45, 80, 0.08);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(2, 45, 80, 0.15);
}

h1 {
    font-size: 2.0rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.subtitle {
    font-size: 1.15rem;
    color: #475569;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    width: 100%;
    margin-bottom: 40px;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    position: relative;
}

.card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.card-bg-text {
    position: absolute;
    bottom: -15px;
    right: -10px;
    font-size: 6.5rem;
    font-weight: 900;
    color: rgba(2, 45, 80, 0.035);
    user-select: none;
    pointer-events: none;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    transition: all 0.4s ease;
    transform: rotate(-5deg);
}

.card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.9);
}

.card:hover .card-bg-text {
    transform: scale(1.1) rotate(-8deg);
    color: rgba(2, 45, 80, 0.05);
}

.card-blue:hover {
    border-color: rgba(52, 152, 219, 0.4);
    box-shadow: 0 20px 30px -10px rgba(52, 152, 219, 0.15), var(--shadow-md);
}

.card-yellow:hover {
    border-color: rgba(255, 208, 6, 0.5);
    box-shadow: 0 20px 30px -10px rgba(255, 208, 6, 0.2), var(--shadow-md);
}

.card-dark:hover {
    border-color: rgba(2, 45, 80, 0.4);
    box-shadow: 0 20px 30px -10px rgba(2, 45, 80, 0.15), var(--shadow-md);
}

.card-header {
    padding: 35px 35px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 3;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-blue .card-icon {
    background-color: rgba(52, 152, 219, 0.15);
    color: var(--secondary);
}
.card-yellow .card-icon {
    background-color: rgba(255, 208, 6, 0.18);
    color: var(--accent-dark);
}
.card-dark .card-icon {
    background-color: rgba(2, 45, 80, 0.1);
    color: var(--primary);
}

.card-body {
    padding: 0 35px 35px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 3;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.card-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
    font-weight: 400;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.95rem;
    padding-top: 15px;
    border-top: 1px solid rgba(2, 45, 80, 0.05);
}

.card-blue .card-footer {
    color: var(--secondary);
}
.card-yellow .card-footer {
    color: var(--accent-dark);
}
.card-dark .card-footer {
    color: var(--primary);
}

.footer-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid currentColor;
}

.card-blue .footer-arrow {
    background-color: rgba(52, 152, 219, 0.05);
}
.card-yellow .footer-arrow {
    background-color: rgba(255, 208, 6, 0.05);
}
.card-dark .footer-arrow {
    background-color: rgba(2, 45, 80, 0.03);
}

.card:hover .footer-arrow {
    transform: translateX(3px);
}

.card-blue:hover .footer-arrow {
    background-color: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.card-yellow:hover .footer-arrow {
    background-color: var(--accent-dark);
    color: white;
    border-color: var(--accent-dark);
}

.card-dark:hover .footer-arrow {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

footer {
    background-color: var(--primary-dark);
    color: #94a3b8;
    padding: 35px 20px;
    text-align: center;
    font-size: 0.9rem;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
    max-width: 1200px;
    margin: 0 auto;
    font-weight: 500;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
    }
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .header-logo {
        height: 50px;
    }
    main {
        padding: 50px 20px;
    }
}
