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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #12132c;
  color: white;
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 2rem 1rem;
}

.header {
  text-align: center;
  margin-bottom: 3rem;
  margin-top: 6rem;
}

.brand {
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: white;
}

.main-content {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.modules-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  width: 100%;
}

.module {
  background-color: #36374a;
  border-radius: 4px;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid #2a2a3e;
  min-width: 320px;
}

.module-title {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  color: white;
  text-wrap: nowrap;
}

.signin-button {
  display: inline-block;
  background-color: #389ff9;
  color: white;
  text-decoration: none;
  padding: 0.2rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  width: 100%;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.signin-button:hover {
  background-color: #3a8eef;
  box-shadow: 0 2px 10px rgba(74, 158, 255, 0.3);
}

.signin-button:active {
  transform: translateY(0);
}

.footer {
  text-align: center;
  margin-top: 3rem;
}

.copyright {
  color: #8a8a9a;
  font-size: 0.875rem;
  font-weight: 400;
}

@media (max-width: 768px) {
  .container {
    padding: 1.5rem 1rem;
  }

  .module {
    padding: 2rem 1.5rem;
  }

  .brand {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .header {
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1rem 0.75rem;
  }

  .module {
    padding: 1.5rem 1rem;
  }

  .module-title {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
  }

  .signin-button {
    font-size: 0.8rem;
  }

  .brand {
    font-size: 1.75rem;
  }
}

.signin-button:focus {
  outline: 2px solid #4a9eff;
  outline-offset: 2px;
}