@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;800&display=swap');

:root {
    --bg: #000000;
    --bg2: #0a0a0a;
    --text: #e6e7eb;
    --muted: #9aa3ab;
    --accent: #e23b3b;
    --card: #0a0a0a;
    --border: #1a1a1a;
    --border-strong: #2a2a2a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #000000;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(226, 59, 59, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 5% 5%, rgba(226, 59, 59, 0.03) 0%, transparent 40%);
    background-attachment: fixed;
    color: var(--text);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top left, rgba(226, 59, 59, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 4rem);
    position: relative;
    z-index: 1;
}

.header {
    margin-bottom: 3rem;
    text-align: left;
}

.logo {
    height: 190px;
    width: auto;
    display: block;
}

.main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 900px;
}

.card {
    background: var(--card);
    border: 1px solid var(--border-strong);
    border-radius: 0.5rem;
    padding: 2.25rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 0.5rem;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent) 0%, transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 
        0 12px 32px rgba(226, 59, 59, 0.25),
        0 0 0 1px rgba(226, 59, 59, 0.1),
        inset 0 0 40px rgba(226, 59, 59, 0.05);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover::after {
    opacity: 1;
}

.card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(226, 59, 59, 0.08);
    border: 1px solid rgba(226, 59, 59, 0.2);
    border-radius: 0.375rem;
    margin-bottom: 1.75rem;
    color: var(--accent);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card-icon {
    background: rgba(226, 59, 59, 0.15);
    border-color: var(--accent);
    transform: scale(1.08);
    box-shadow: 0 0 16px rgba(226, 59, 59, 0.3);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.875rem;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

.card-description {
    font-size: 1rem;
    font-weight: 400;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 1.75rem;
    flex: 1;
}

.card-button {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: 0.375rem;
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    width: fit-content;
    align-self: flex-start;
}

.card:hover .card-button {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    box-shadow: 
        0 6px 20px rgba(226, 59, 59, 0.4),
        0 0 0 1px rgba(226, 59, 59, 0.2);
    transform: translateY(-1px);
}

.footer {
    text-align: left;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.footer p {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--muted);
    letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
    .logo {
        height: 140px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 1.5rem 1rem;
    }

    .container {
        min-height: calc(100vh - 3rem);
    }

    .header {
        margin-bottom: 2.5rem;
    }

    .logo {
        height: 110px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card {
        padding: 1.75rem;
    }

    .footer {
        margin-top: 3rem;
        padding-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 100px;
    }

    .card {
        padding: 1.5rem;
    }

    .card-title {
        font-size: 1.125rem;
    }

    .card-description {
        font-size: 0.9375rem;
    }
}
