* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f5f9;
    color: #111827;
    line-height: 1.65;
}

a {
    color: #0f766e;
    text-decoration: none;
}

.portal-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.portal-topbar {
    background: #242346;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.portal-brand {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.portal-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.portal-nav a {
    color: rgba(255, 255, 255, 0.86);
    font-size: 15px;
}

.portal-login-btn {
    display: inline-block;
    padding: 10px 18px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: #fff !important;
    border-radius: 999px;
    font-weight: 600;
}

.portal-hero {
    padding: 0 0 42px;
    background: #242346;
}

.portal-hero-box {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    background: linear-gradient(135deg, #242346 0%, #2e2b5f 100%);
    color: #ffffff;
    border-radius: 0 0 28px 28px;
    padding: 88px 70px 92px;
}

.portal-hero-box::before {
    content: "";
    position: absolute;
    right: -80px;
    top: 70px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.28) 0%, rgba(139, 92, 246, 0) 70%);
}

.portal-hero-box::after {
    content: "";
    position: absolute;
    left: -40px;
    bottom: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(99, 102, 241, 0) 70%);
}

.portal-hero-badge {
    display: inline-block;
    margin-bottom: 22px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #dbe4ff;
    font-size: 14px;
    font-weight: 600;
}

.portal-hero-box h1 {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 0 24px;
    font-size: 48px;
    line-height: 1.08;
    letter-spacing: -0.8px;
}

.portal-hero-box p {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0;
    font-size: 24px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}

.portal-hero-actions {
    margin-top: 30px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.portal-btn-primary,
.portal-btn-secondary {
    display: inline-block;
    padding: 16px 28px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 600;
}

.portal-btn-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: #fff !important;
}

.portal-btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff !important;
    background: transparent;
}

.portal-section {
    padding: 18px 0 38px;
}

.portal-section h2 {
    margin: 0 0 24px;
    font-size: 38px;
    line-height: 1.15;
    text-align: left;
    color: #1f2340;
}

.portal-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.portal-card {
    background: #ffffff;
    border: 1px solid #d9dde3;
    border-radius: 18px;
    padding: 24px 20px 20px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.portal-card h3 {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    color: #1f2340;
    letter-spacing: -0.2px;
}

.portal-date {
    margin-bottom: 14px;
    color: #7c8599;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 600;
}

.portal-card p {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.75;
    color: #4b5563;
}

.portal-card-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%);
    color: #fff !important;
    font-weight: 600;
}

.portal-section-light {
    background: #f8fafc;
}

.portal-text-box {
    max-width: 920px;
}

.portal-text-box h2 {
    text-align: left;
}

.portal-footer {
    padding: 26px 0;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
    color: #6b7280;
    font-size: 14px;
}

.portal-hero {
    padding: 0 0 42px;
    background: #242346;
}

.portal-hero-box {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #242346 0%, #2e2b5f 60%, #3d348b 100%);
    color: #ffffff;
    border-radius: 0 0 28px 28px;
    padding: 86px 70px 92px;
    min-height: 500px;
}

.portal-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.portal-hero-badge {
    display: inline-block;
    margin-bottom: 22px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #dfe7ff;
    font-size: 14px;
    font-weight: 600;
}

.portal-hero-box h1 {
    margin: 0 0 24px;
    font-size: 52px;
    line-height: 1.08;
    letter-spacing: -0.8px;
    color: #ffffff;
}

.portal-hero-box p {
    margin: 0;
    max-width: 760px;
    font-size: 21px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
}

.portal-hero-actions {
    margin-top: 30px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.portal-btn-primary,
.portal-btn-secondary {
    display: inline-block;
    padding: 16px 28px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 600;
}

.portal-btn-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: #fff !important;
    box-shadow: 0 16px 34px rgba(124, 58, 237, 0.28);
}

.portal-btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff !important;
    background: transparent;
}

.portal-hero-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.portal-hero-deco-1 {
    width: 360px;
    height: 360px;
    top: -80px;
    right: 120px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.32) 0%, rgba(139, 92, 246, 0) 72%);
}

.portal-hero-deco-2 {
    width: 260px;
    height: 260px;
    bottom: -70px;
    left: -30px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.22) 0%, rgba(99, 102, 241, 0) 72%);
}

.portal-hero-deco-3 {
    width: 140px;
    height: 140px;
    right: 260px;
    bottom: 90px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 72%);
}

@media (max-width: 900px) {
    .portal-topbar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .portal-hero-box {
        min-height: auto;
        padding: 54px 28px 58px;
        border-radius: 0 0 22px 22px;
    }

    .portal-hero-box h1 {
        font-size: 38px;
    }

    .portal-hero-box p {
        font-size: 18px;
    }

    .portal-section h2 {
        font-size: 32px;
    }

    .portal-cards {
        grid-template-columns: 1fr;
    }

    .portal-hero-deco-1 {
        width: 240px;
        height: 240px;
        right: -40px;
        top: -30px;
    }

    .portal-hero-deco-2 {
        width: 180px;
        height: 180px;
        left: -40px;
        bottom: -40px;
    }

    .portal-hero-deco-3 {
        width: 90px;
        height: 90px;
        right: 40px;
        bottom: 60px;
    }
}

@media (max-width: 600px) {
    .portal-hero-box {
        padding: 42px 22px 48px;
    }

    .portal-hero-box h1 {
        font-size: 30px;
    }

    .portal-hero-box p {
        font-size: 16px;
    }

    .portal-btn-primary,
    .portal-btn-secondary {
        width: 100%;
        text-align: center;
    }
}