* {
  box-sizing: border-box;
}

:root {
  --blue-dark: #061b48;
  --blue: #0069e8;
  --blue-strong: #004fc8;
  --text: #15233f;
  --muted: #52617b;
  --border: #c8d1df;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
}

body {
  min-height: 100vh;
  background: url("background.png") center top / cover no-repeat fixed;
}

.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 480px 18px 50px;
}

.portal-card {
  width: min(650px, 100%);
  background: rgba(255, 255, 255, 0.97);
  border-radius: 26px;
  padding: 32px 48px 34px;
  box-shadow:
    0 26px 70px rgba(0, 32, 96, 0.28),
    inset 0 1px 0 rgba(255,255,255,.9);
  border: 1px solid rgba(255, 255, 255, .75);
  backdrop-filter: blur(8px);
}

.wifi-icon {
  width: 62px;
  height: 48px;
  margin: 0 auto 8px;
  position: relative;
}

.arc {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid var(--blue);
  border-left-color: transparent;
  border-right-color: transparent;
  border-bottom: 0;
  border-radius: 80px 80px 0 0;
}

.arc1 {
  width: 62px;
  height: 32px;
  top: 0;
}

.arc2 {
  width: 39px;
  height: 22px;
  top: 15px;
}

.dot {
  width: 11px;
  height: 11px;
  background: var(--blue);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

h1 {
  margin: 0;
  text-align: center;
  font-size: 39px;
  color: var(--blue-dark);
  letter-spacing: -0.6px;
}

.title-line {
  width: 82px;
  height: 4px;
  background: var(--blue);
  border-radius: 999px;
  margin: 15px auto 23px;
}

.subtitle {
  margin: 0 0 28px;
  text-align: center;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.35;
}

form {
  width: 100%;
}

label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #17233f;
}

label small {
  color: var(--muted);
  font-weight: 400;
}

.icon {
  width: 24px;
  display: inline-flex;
  justify-content: center;
  color: var(--blue);
}

input[type="text"] {
  width: 100%;
  height: 50px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 0 18px;
  font-size: 16px;
  color: #17233f;
  outline: none;
  transition: .18s ease;
}

input[type="text"]:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 105, 232, .13);
}

.terms {
  align-items: flex-start;
  gap: 14px;
  margin: 22px 0 24px;
  font-weight: 400;
  line-height: 1.35;
}

.terms input {
  width: 25px;
  height: 25px;
  min-width: 25px;
  accent-color: var(--blue);
}

a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
}

a:hover {
  text-decoration: underline;
}

button {
  width: 100%;
  height: 60px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, #0078ff, #004fc8);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 14px 25px rgba(0, 88, 210, .27);
  transition: .18s ease;
}

button:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

button:active {
  transform: translateY(1px);
}

button span {
  margin-right: 12px;
  font-size: 26px;
}

.lgpd-box {
  width: 92%;
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #30405e;
  font-size: 15px;
  line-height: 1.35;
}

.lgpd-box p {
  margin: 0;
}

.shield {
  font-size: 32px;
}

@media (max-width: 820px) {
  body {
    background-attachment: scroll;
    background-size: auto 100vh;
    background-position: center top;
  }

  .page {
    padding: 360px 14px 34px;
  }

  .portal-card {
    padding: 26px 22px 28px;
    border-radius: 22px;
  }

  h1 {
    font-size: 31px;
  }

  .subtitle {
    font-size: 17px;
  }

  .lgpd-box {
    width: 100%;
    font-size: 14px;
  }
}

@media (max-width: 430px) {
  .page {
    padding-top: 320px;
  }

  .portal-card {
    padding: 24px 18px 26px;
  }

  h1 {
    font-size: 28px;
  }

  input[type="text"],
  button {
    height: 52px;
  }

  button {
    font-size: 19px;
  }
}
