:root {
    --bg-dark: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --primary: #38bdf8;
    --secondary: #818cf8;
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.4;
}

.blob {
    position: absolute;
    border-radius: 50%;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation: move 20s infinite alternate;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -50px;
    left: -50px;
    animation: move 25s infinite alternate-reverse;
}

@keyframes move {
    from { transform: translate(0, 0); }
    to { transform: translate(100px, 100px); }
}

.container {
    max-width: 1000px;
    width: 100%;
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero {
    margin-bottom: 4rem;
}

.logo-stack {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.brand-logo {
    height: 60px;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.3));
}

.divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

.portal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portal-title .light {
    font-weight: 300;
}

.subtitle {
    color: var(--text-dim);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--card-shadow);
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(45, 55, 72, 0.8);
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.2);
}

.icon-wrap {
    width: 80px;
    height: 80px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.card:hover .icon-wrap {
    background: var(--primary);
    color: var(--bg-dark);
    transform: rotate(5deg);
}

.icon-wrap svg {
    width: 40px;
    height: 40px;
}

.card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.action-btn {
    padding: 0.8rem 2rem;
    background: transparent;
    border: 1px solid var(--primary);
    border-radius: 12px;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.card:hover .action-btn {
    background: var(--primary);
    color: var(--bg-dark);
}

.main-footer {
    color: var(--text-dim);
    font-size: 0.9rem;
    padding-bottom: 2rem;
}

@media (max-width: 640px) {
    .access-grid {
        grid-template-columns: 1fr;
    }
    .portal-title {
        font-size: 2rem;
    }
}
