:root {
    --bg-color: #0a0a0a;
    --card-bg: #171717;
    --text-primary: #ededed;
    --text-secondary: #a1a1aa;
    --accent-color: #ffffff;
    --border-color: #333333;
    --card-hover-shadow: 0 0 30px rgba(255, 255, 255, 0.08);
    /* Subtle white glow */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.02) 0%, transparent 25%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.white-bar {
    width: 100%;
    background-color: #ffffff;
    padding: 0.75rem 0;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 20px -5px rgba(255, 255, 255, 0.1);
    animation: slideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.inner-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
}

.container {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    padding: 0 2rem 4rem 2rem;
    flex: 1;
}

.intro {
    margin-bottom: 3.5rem;
    animation: fadeIn 1s ease-out 0.2s backwards;
}

.logo {
    max-height: 50px;
    width: auto;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover {
    transform: scale(1.05) rotate(-1deg);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    background: linear-gradient(to bottom right, #ffffff 40%, #737373);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.04em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

p.subtitle {
    color: var(--text-secondary);
    font-size: 1.15rem;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 0.5rem;
}

.card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out backwards;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #ffffff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:nth-child(1) {
    animation-delay: 0.1s;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}

.card:nth-child(3) {
    animation-delay: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    background-color: #202020;
    border-color: #525252;
    box-shadow: var(--card-hover-shadow);
}

.card h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    flex-grow: 1;
    font-weight: 400;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.btn:hover {
    background-color: #e5e5e5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn:active {
    transform: scale(0.98);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 2rem;
    }
}

.main-footer {
    width: 100%;
    padding: 1.5rem;
    text-align: center;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    /* Ensures it stays at bottom if content is short */
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.main-footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.main-footer a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.main-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}