:root{
  --bg: #f3f5fb;
  --text: #1f2937;
  --blue: #2f6fd6;
  --green: #2f9a63;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 50% 0%, #ffffff 0%, var(--bg) 60%, #eef2ff 100%);
  color: var(--text);
}

a{ text-decoration:none; color:inherit; }

/* MAIN CONTAINER */
.app-shell{
  max-width: 1180px;
  margin: 18px auto;
  padding: 16px 16px 26px;
  border-radius: 30px;
  background: rgba(255,255,255,0.38);
  box-shadow:
    0 18px 55px rgba(17, 24, 39, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.60);
  backdrop-filter: blur(10px);
}

/* TOP BAR */
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 8px 10px 14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

/* LOGO BADGE */
.brand-badge{
  width:42px;
  height:42px;
  border-radius:14px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}

.brand-badge img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.brand-name{
  font-weight:700;
  font-size:24px;
}

.topbar-right{
  display:flex;
  align-items:center;
  gap:16px;
}

.langs{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:500;
  font-size:13px;
  opacity:.9;
}

.sep{ opacity:.35; }

.btn-register{
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--blue) 0%, #1f5cc7 100%);
  color:#fff;
  font-weight:700;
  font-size:14px;
  box-shadow: 0 12px 22px rgba(47,111,214,0.22);
  border: 1px solid rgba(255,255,255,0.35);
}

/* CONTENT */
.content{
  padding: 22px 8px 8px;
}

.content.container{
  max-width: 980px;
}

/* TITLE */
.title{
  text-align:center;
  font-size: 38px;
  margin: 14px 0 26px;
  font-weight:800;
  color:#2b3446;
}

/* ROLE CARD */
.role-card{
  position:relative;
  border-radius:24px;
  overflow:hidden;
  min-height:390px;
  border:2px solid rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.62);
  box-shadow: 0 18px 48px rgba(17,24,39,0.10);
  transition: transform .15s ease, box-shadow .15s ease;
}

.role-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 26px 70px rgba(17,24,39,0.14);
}

.role-card.blue{
  border-color: rgba(47,111,214,0.28);
  background: linear-gradient(
    180deg,
    rgba(47,111,214,0.10) 0%,
    rgba(255,255,255,0.62) 60%
  );
}

.role-card.green{
  border-color: rgba(47,154,99,0.28);
  background: linear-gradient(
    180deg,
    rgba(47,154,99,0.10) 0%,
    rgba(255,255,255,0.62) 60%
  );
}

/* HERO */
.hero{
  height:230px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px 22px 0;
  position:relative;
  overflow:hidden;
}

.hero img{
  margin-top:40px;
  width:300px;
  max-width:100%;
  height:300px;
  object-fit:contain;
  z-index:1;
  filter: drop-shadow(0 16px 24px rgba(17,24,39,0.10));
}

/* BOTTOM */
.card-bottom{
  padding: 0 24px 24px;
  margin-top: -6px;
}

.card-pill{
  width:100%;
  text-align:center;
  padding:16px;
  border-radius:14px;
  font-weight:800;
  font-size:24px;
  color:#fff;
  margin-top:10px;
  box-shadow: 0 16px 26px rgba(17,24,39,0.10);
}

.card-pill.blue{
  background: linear-gradient(180deg, var(--blue) 0%, #245fc8 100%);
}

.card-pill.green{
  background: linear-gradient(180deg, var(--green) 0%, #268553 100%);
}

.card-text{
  margin:12px 0 0;
  font-size:16px;
  line-height:1.35;
  color:#5b6677;
  text-align: center;
}
.role-card-image {
    width: 100%;
    height: 260px;          /* adjust: 240–300px looks best */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.role-card-image img {
    max-width: 85%;
    max-height: 100%;
    object-fit: contain;    /* keeps proportions */
}

/* RESPONSIVE */
@media (max-width: 980px){
  .title{ font-size:32px; }
}

@media (max-width: 576px){
  .app-shell{
    margin:0;
    border-radius:0;
  }
  .card-pill{
    font-size:20px;
  }
  .card-text{
    font-size:15px;
    text-align: center;!important;
  }
  .brand-name{ font-size:20px; }
  .brand-badge{ width:38px; height:38px; }
}
